v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1453313285.5 KB

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

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

Query parameters

Markerstring

Pagination token

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.