We are excited to announce our new API Documentation.
Protected
A list of the instance types that Amazon EMR supports. You can filter the list by Amazon Web Services Region and Amazon EMR release.
Use a bare-bones client and the command you need to make an API call.
import { EMRClient, ListSupportedInstanceTypesCommand } from "@aws-sdk/client-emr"; // ES Modules import// const { EMRClient, ListSupportedInstanceTypesCommand } = require("@aws-sdk/client-emr"); // CommonJS importconst client = new EMRClient(config);const input = { // ListSupportedInstanceTypesInput ReleaseLabel: "STRING_VALUE", // required Marker: "STRING_VALUE",};const command = new ListSupportedInstanceTypesCommand(input);const response = await client.send(command);// { // ListSupportedInstanceTypesOutput// SupportedInstanceTypes: [ // SupportedInstanceTypesList// { // SupportedInstanceType// Type: "STRING_VALUE",// MemoryGB: Number("float"),// StorageGB: Number("int"),// VCPU: Number("int"),// Is64BitsOnly: true || false,// InstanceFamilyId: "STRING_VALUE",// EbsOptimizedAvailable: true || false,// EbsOptimizedByDefault: true || false,// NumberOfDisks: Number("int"),// EbsStorageOnly: true || false,// Architecture: "STRING_VALUE",// },// ],// Marker: "STRING_VALUE",// };
ListSupportedInstanceTypesCommandInput
ListSupportedInstanceTypesCommandOutput
input
response
config
InternalServerException (server fault)
This exception occurs when there is an internal failure in the Amazon EMR service.
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
EMRServiceException
Base exception class for all service exceptions from EMR service.
Readonly
Static
A list of the instance types that Amazon EMR supports. You can filter the list by Amazon Web Services Region and Amazon EMR release.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListSupportedInstanceTypesCommandInput
Returns
ListSupportedInstanceTypesCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
This exception occurs when there is an internal failure in the Amazon EMR service.
Throws
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
Throws
EMRServiceException
Base exception class for all service exceptions from EMR service.