paws.analytics (version 0.1.0)

emr_list_instances: Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000

Description

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.

Usage

emr_list_instances(ClusterId, InstanceGroupId, InstanceGroupTypes,
  InstanceFleetId, InstanceFleetType, InstanceStates, Marker)

Arguments

ClusterId

[required] The identifier of the cluster for which to list the instances.

InstanceGroupId

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

InstanceGroupTypes

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

InstanceFleetId

The unique identifier of the instance fleet.

InstanceFleetType

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

InstanceStates

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

Marker

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

Request syntax

svc$list_instances(
  ClusterId = "string",
  InstanceGroupId = "string",
  InstanceGroupTypes = list(
    "MASTER"|"CORE"|"TASK"
  ),
  InstanceFleetId = "string",
  InstanceFleetType = "MASTER"|"CORE"|"TASK",
  InstanceStates = list(
    "AWAITING_FULFILLMENT"|"PROVISIONING"|"BOOTSTRAPPING"|"RUNNING"|"TERMINATED"
  ),
  Marker = "string"
)