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 |
Lists all available details about the instance fleets in a cluster.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
This operation returns paginated results.
Synopsis
- data ListInstanceFleets = ListInstanceFleets' {}
- newListInstanceFleets :: Text -> ListInstanceFleets
- listInstanceFleets_marker :: Lens' ListInstanceFleets (Maybe Text)
- listInstanceFleets_clusterId :: Lens' ListInstanceFleets Text
- data ListInstanceFleetsResponse = ListInstanceFleetsResponse' {
- instanceFleets :: Maybe [InstanceFleet]
- marker :: Maybe Text
- httpStatus :: Int
- newListInstanceFleetsResponse :: Int -> ListInstanceFleetsResponse
- listInstanceFleetsResponse_instanceFleets :: Lens' ListInstanceFleetsResponse (Maybe [InstanceFleet])
- listInstanceFleetsResponse_marker :: Lens' ListInstanceFleetsResponse (Maybe Text)
- listInstanceFleetsResponse_httpStatus :: Lens' ListInstanceFleetsResponse Int
Creating a Request
data ListInstanceFleets Source #
See: newListInstanceFleets
smart constructor.
Instances
newListInstanceFleets Source #
Create a value of ListInstanceFleets
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:ListInstanceFleets'
, listInstanceFleets_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusterId:ListInstanceFleets'
, listInstanceFleets_clusterId
- The unique identifier of the cluster.
Request Lenses
listInstanceFleets_marker :: Lens' ListInstanceFleets (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInstanceFleets_clusterId :: Lens' ListInstanceFleets Text Source #
The unique identifier of the cluster.
Destructuring the Response
data ListInstanceFleetsResponse Source #
See: newListInstanceFleetsResponse
smart constructor.
ListInstanceFleetsResponse' | |
|
Instances
newListInstanceFleetsResponse Source #
Create a value of ListInstanceFleetsResponse
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:instanceFleets:ListInstanceFleetsResponse'
, listInstanceFleetsResponse_instanceFleets
- The list of instance fleets for the cluster and given filters.
$sel:marker:ListInstanceFleets'
, listInstanceFleetsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListInstanceFleetsResponse'
, listInstanceFleetsResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceFleetsResponse_instanceFleets :: Lens' ListInstanceFleetsResponse (Maybe [InstanceFleet]) Source #
The list of instance fleets for the cluster and given filters.
listInstanceFleetsResponse_marker :: Lens' ListInstanceFleetsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInstanceFleetsResponse_httpStatus :: Lens' ListInstanceFleetsResponse Int Source #
The response's http status code.