amazonka-emr-1.4.0: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.ListInstances

Contents

Description

Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.

This operation returns paginated results.

Synopsis

Creating a Request

listInstances Source

Creates a value of ListInstances with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

liInstanceGroupTypes :: Lens' ListInstances [InstanceGroupType] Source

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

liMarker :: Lens' ListInstances (Maybe Text) Source

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

liInstanceGroupId :: Lens' ListInstances (Maybe Text) Source

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

liClusterId :: Lens' ListInstances Text Source

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

Destructuring the Response

listInstancesResponse Source

Creates a value of ListInstancesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lirsMarker :: Lens' ListInstancesResponse (Maybe Text) Source

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

lirsInstances :: Lens' ListInstancesResponse [Instance] Source

The list of instances for the cluster and given filters.