v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465378349.0 KB

Provides information for all active Amazon EC2 instances and Amazon EC2 instances terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.

post/#X-Amz-Target=ElasticMapReduce.ListInstances

Headers

X-Amz-Target'ElasticMapReduce.ListInstances' required

Request body

ClusterIdstring required

The identifier of the cluster for which to list the instances.

InstanceGroupIdstring

The identifier of the instance group for which to list the instances.

InstanceGroupTypesInstanceGroupType[]

The type of instance group for which to list the instances.

InstanceFleetIdstring

The unique identifier of the instance fleet.

InstanceFleetType'MASTER' | 'CORE' | 'TASK'

The node type of the instance fleet. For example MASTER, CORE, or TASK.

InstanceStatesInstanceState[]

A list of instance states that will filter the instances returned with this request.

Markerstring

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

Response

Success

Markerstring

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