Amazon EMR

2023/06/21 - Amazon EMR - 1 new api methods

Changes  This release introduces a new Amazon EMR EPI called ListSupportedInstanceTypes that returns a list of all instance types supported by a given EMR release.

ListSupportedInstanceTypes (new) Link ΒΆ

A list of the instance types that Amazon EMR supports. You can filter the list by Amazon Web Services Region and Amazon EMR release.

See also: AWS API Documentation

Request Syntax

client.list_supported_instance_types(
    ReleaseLabel='string',
    Marker='string'
)
type ReleaseLabel

string

param ReleaseLabel

[REQUIRED]

The Amazon EMR release label determines the versions of open-source application packages that Amazon EMR has installed on the cluster. Release labels are in the format emr-x.x.x , where x.x.x is an Amazon EMR release number such as emr-6.10.0 . For more information about Amazon EMR releases and their included application versions and features, see the Amazon EMR Release Guide .

type Marker

string

param Marker

The pagination token that marks the next set of results to retrieve.

rtype

dict

returns

Response Syntax

{
    'SupportedInstanceTypes': [
        {
            'Type': 'string',
            'MemoryGB': ...,
            'StorageGB': 123,
            'VCPU': 123,
            'Is64BitsOnly': True|False,
            'InstanceFamilyId': 'string',
            'EbsOptimizedAvailable': True|False,
            'EbsOptimizedByDefault': True|False,
            'NumberOfDisks': 123,
            'EbsStorageOnly': True|False,
            'Architecture': 'string'
        },
    ],
    'Marker': 'string'
}

Response Structure

  • (dict) --

    • SupportedInstanceTypes (list) --

      The list of instance types that the release specified in ListSupportedInstanceTypesInput$ReleaseLabel supports, filtered by Amazon Web Services Region.

      • (dict) --

        An instance type that the specified Amazon EMR release supports.

        • Type (string) --

          The Amazon EC2 instance type, for example m5.xlarge , of the SupportedInstanceType .

        • MemoryGB (float) --

          The amount of memory that is available to Amazon EMR from the SupportedInstanceType . The kernel and hypervisor software consume some memory, so this value might be lower than the overall memory for the instance type.

        • StorageGB (integer) --

          StorageGB represents the storage capacity of the SupportedInstanceType . This value is 0 for Amazon EBS-only instance types.

        • VCPU (integer) --

          The number of vCPUs available for the SupportedInstanceType .

        • Is64BitsOnly (boolean) --

          Indicates whether the SupportedInstanceType only supports 64-bit architecture.

        • InstanceFamilyId (string) --

          The Amazon EC2 family and generation for the SupportedInstanceType .

        • EbsOptimizedAvailable (boolean) --

          Indicates whether the SupportedInstanceType supports Amazon EBS optimization.

        • EbsOptimizedByDefault (boolean) --

          Indicates whether the SupportedInstanceType uses Amazon EBS optimization by default.

        • NumberOfDisks (integer) --

          Number of disks for the SupportedInstanceType . This value is 0 for Amazon EBS-only instance types.

        • EbsStorageOnly (boolean) --

          Indicates whether the SupportedInstanceType only supports Amazon EBS.

        • Architecture (string) --

          The CPU architecture, for example X86_64 or AARCH64 .

    • Marker (string) --

      The pagination token that marks the next set of results to retrieve.