| 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.ListInstanceFleets
Description
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.
Constructors
| ListInstanceFleets' | |
Instances
newListInstanceFleets Source #
Arguments
| :: Text | |
| -> ListInstanceFleets |
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:
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.
Constructors
| ListInstanceFleetsResponse' | |
Fields
| |
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:
ListInstanceFleetsResponse, listInstanceFleetsResponse_instanceFleets - The list of instance fleets for the cluster and given filters.
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.