Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for ListInstances.
This operation returns paginated results.
- listInstances :: Text -> ListInstances
- data ListInstances
- liInstanceGroupTypes :: Lens' ListInstances [InstanceGroupType]
- liMarker :: Lens' ListInstances (Maybe Text)
- liInstanceGroupId :: Lens' ListInstances (Maybe Text)
- liClusterId :: Lens' ListInstances Text
- listInstancesResponse :: Int -> ListInstancesResponse
- data ListInstancesResponse
- lirsInstances :: Lens' ListInstancesResponse [Instance]
- lirsMarker :: Lens' ListInstancesResponse (Maybe Text)
- lirsStatus :: Lens' ListInstancesResponse Int
Creating a Request
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:
data ListInstances Source
This input determines which instances to list.
See: listInstances
smart constructor.
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
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:
data ListInstancesResponse Source
This output contains the list of instances.
See: listInstancesResponse
smart constructor.
Response Lenses
lirsInstances :: Lens' ListInstancesResponse [Instance] Source
The list of instances for the cluster and given filters.
lirsMarker :: Lens' ListInstancesResponse (Maybe Text) Source
The pagination token that indicates the next set of results to retrieve.
lirsStatus :: Lens' ListInstancesResponse Int Source
The response status code.