Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListSupportedInstanceTypesCommandProtected

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.

import { EMRClient, ListSupportedInstanceTypesCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, ListSupportedInstanceTypesCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const 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",
// };

Param

ListSupportedInstanceTypesCommandInput

Returns

ListSupportedInstanceTypesCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods