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 all available details about the instance groups in a cluster.
See: AWS API Reference for ListInstanceGroups.
This operation returns paginated results.
- listInstanceGroups :: Text -> ListInstanceGroups
- data ListInstanceGroups
- ligMarker :: Lens' ListInstanceGroups (Maybe Text)
- ligClusterId :: Lens' ListInstanceGroups Text
- listInstanceGroupsResponse :: Int -> ListInstanceGroupsResponse
- data ListInstanceGroupsResponse
- ligrsMarker :: Lens' ListInstanceGroupsResponse (Maybe Text)
- ligrsInstanceGroups :: Lens' ListInstanceGroupsResponse [InstanceGroup]
- ligrsStatus :: Lens' ListInstanceGroupsResponse Int
Creating a Request
Creates a value of ListInstanceGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListInstanceGroups Source
This input determines which instance groups to retrieve.
See: listInstanceGroups
smart constructor.
Request Lenses
ligMarker :: Lens' ListInstanceGroups (Maybe Text) Source
The pagination token that indicates the next set of results to retrieve.
ligClusterId :: Lens' ListInstanceGroups Text Source
The identifier of the cluster for which to list the instance groups.
Destructuring the Response
listInstanceGroupsResponse Source
Creates a value of ListInstanceGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListInstanceGroupsResponse Source
This input determines which instance groups to retrieve.
See: listInstanceGroupsResponse
smart constructor.
Response Lenses
ligrsMarker :: Lens' ListInstanceGroupsResponse (Maybe Text) Source
The pagination token that indicates the next set of results to retrieve.
ligrsInstanceGroups :: Lens' ListInstanceGroupsResponse [InstanceGroup] Source
The list of instance groups for the cluster and given filters.
ligrsStatus :: Lens' ListInstanceGroupsResponse Int Source
The response status code.