EMR / Client / list_supported_instance_types

list_supported_instance_types#

EMR.Client.list_supported_instance_types(**kwargs)#

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

response = client.list_supported_instance_types(
    ReleaseLabel='string',
    Marker='string'
)
Parameters:
  • ReleaseLabel (string) –

    [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 .

  • Marker (string) – The pagination token that marks the next set of results to retrieve.

Return type:

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.

Exceptions

  • EMR.Client.exceptions.InternalServerException

  • EMR.Client.exceptions.InvalidRequestException