| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.ListInstanceGroups
Description
Provides all available details about the instance groups in a cluster.
This operation returns paginated results.
Synopsis
- data ListInstanceGroups = ListInstanceGroups' {}
- newListInstanceGroups :: Text -> ListInstanceGroups
- listInstanceGroups_marker :: Lens' ListInstanceGroups (Maybe Text)
- listInstanceGroups_clusterId :: Lens' ListInstanceGroups Text
- data ListInstanceGroupsResponse = ListInstanceGroupsResponse' {
- instanceGroups :: Maybe [InstanceGroup]
- marker :: Maybe Text
- httpStatus :: Int
- newListInstanceGroupsResponse :: Int -> ListInstanceGroupsResponse
- listInstanceGroupsResponse_instanceGroups :: Lens' ListInstanceGroupsResponse (Maybe [InstanceGroup])
- listInstanceGroupsResponse_marker :: Lens' ListInstanceGroupsResponse (Maybe Text)
- listInstanceGroupsResponse_httpStatus :: Lens' ListInstanceGroupsResponse Int
Creating a Request
data ListInstanceGroups Source #
This input determines which instance groups to retrieve.
See: newListInstanceGroups smart constructor.
Constructors
| ListInstanceGroups' | |
Instances
newListInstanceGroups Source #
Arguments
| :: Text | |
| -> ListInstanceGroups |
Create a value of ListInstanceGroups with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListInstanceGroups, listInstanceGroups_marker - The pagination token that indicates the next set of results to retrieve.
$sel:clusterId:ListInstanceGroups', listInstanceGroups_clusterId - The identifier of the cluster for which to list the instance groups.
Request Lenses
listInstanceGroups_marker :: Lens' ListInstanceGroups (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInstanceGroups_clusterId :: Lens' ListInstanceGroups Text Source #
The identifier of the cluster for which to list the instance groups.
Destructuring the Response
data ListInstanceGroupsResponse Source #
This input determines which instance groups to retrieve.
See: newListInstanceGroupsResponse smart constructor.
Constructors
| ListInstanceGroupsResponse' | |
Fields
| |
Instances
newListInstanceGroupsResponse Source #
Create a value of ListInstanceGroupsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListInstanceGroupsResponse, listInstanceGroupsResponse_instanceGroups - The list of instance groups for the cluster and given filters.
ListInstanceGroups, listInstanceGroupsResponse_marker - The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListInstanceGroupsResponse', listInstanceGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listInstanceGroupsResponse_instanceGroups :: Lens' ListInstanceGroupsResponse (Maybe [InstanceGroup]) Source #
The list of instance groups for the cluster and given filters.
listInstanceGroupsResponse_marker :: Lens' ListInstanceGroupsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInstanceGroupsResponse_httpStatus :: Lens' ListInstanceGroupsResponse Int Source #
The response's http status code.