ListSupportedInstanceTypes - Amazon EMR

ListSupportedInstanceTypes

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

Request Syntax

{ "Marker": "string", "ReleaseLabel": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Marker

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

Type: String

Required: No

ReleaseLabel

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: String

Required: Yes

Response Syntax

{ "Marker": "string", "SupportedInstanceTypes": [ { "Architecture": "string", "EbsOptimizedAvailable": boolean, "EbsOptimizedByDefault": boolean, "EbsStorageOnly": boolean, "InstanceFamilyId": "string", "Is64BitsOnly": boolean, "MemoryGB": number, "NumberOfDisks": number, "StorageGB": number, "Type": "string", "VCPU": number } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Marker

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

Type: String

SupportedInstanceTypes

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

Type: Array of SupportedInstanceType objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

This exception occurs when there is an internal failure in the Amazon EMR service.

HTTP Status Code: 500

InvalidRequestException

This exception occurs when there is something wrong with user input.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: