Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- marker :: Maybe Text
- instanceGroups :: Maybe [InstanceGroup]
- httpStatus :: Int
- newListInstanceGroupsResponse :: Int -> ListInstanceGroupsResponse
- listInstanceGroupsResponse_marker :: Lens' ListInstanceGroupsResponse (Maybe Text)
- listInstanceGroupsResponse_instanceGroups :: Lens' ListInstanceGroupsResponse (Maybe [InstanceGroup])
- listInstanceGroupsResponse_httpStatus :: Lens' ListInstanceGroupsResponse Int
Creating a Request
data ListInstanceGroups Source #
This input determines which instance groups to retrieve.
See: newListInstanceGroups
smart constructor.
Instances
newListInstanceGroups Source #
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:
$sel:marker: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.
ListInstanceGroupsResponse' | |
|
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:
$sel:marker:ListInstanceGroups'
, listInstanceGroupsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:instanceGroups:ListInstanceGroupsResponse'
, listInstanceGroupsResponse_instanceGroups
- The list of instance groups for the cluster and given filters.
$sel:httpStatus:ListInstanceGroupsResponse'
, listInstanceGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceGroupsResponse_marker :: Lens' ListInstanceGroupsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInstanceGroupsResponse_instanceGroups :: Lens' ListInstanceGroupsResponse (Maybe [InstanceGroup]) Source #
The list of instance groups for the cluster and given filters.
listInstanceGroupsResponse_httpStatus :: Lens' ListInstanceGroupsResponse Int Source #
The response's http status code.