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 |
Retrieves information for each created fleet in an Amazon Web Services account.
This API operation uses pagination. Specify the nextToken
parameter in
the request to return more results.
This operation returns paginated results.
Synopsis
- data ListFleets = ListFleets' {}
- newListFleets :: ListFleets
- listFleets_maxResults :: Lens' ListFleets (Maybe Natural)
- listFleets_nextToken :: Lens' ListFleets (Maybe Text)
- data ListFleetsResponse = ListFleetsResponse' {
- fleetSummaries :: Maybe [FleetSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFleetsResponse :: Int -> ListFleetsResponse
- listFleetsResponse_fleetSummaries :: Lens' ListFleetsResponse (Maybe [FleetSummary])
- listFleetsResponse_nextToken :: Lens' ListFleetsResponse (Maybe Text)
- listFleetsResponse_httpStatus :: Lens' ListFleetsResponse Int
Creating a Request
data ListFleets Source #
See: newListFleets
smart constructor.
ListFleets' | |
|
Instances
newListFleets :: ListFleets Source #
Create a value of ListFleets
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:maxResults:ListFleets'
, listFleets_maxResults
- The maximum number of items to return, between 1 and 100, inclusive.
ListFleets
, listFleets_nextToken
- A pagination token for the next set of results.
If the results of a search are large, only a portion of the results are
returned, and a nextToken
pagination token is returned in the
response. To retrieve the next set of results, reissue the search
request and include the returned token. When all results have been
returned, the response does not contain a pagination token value.
Request Lenses
listFleets_maxResults :: Lens' ListFleets (Maybe Natural) Source #
The maximum number of items to return, between 1 and 100, inclusive.
listFleets_nextToken :: Lens' ListFleets (Maybe Text) Source #
A pagination token for the next set of results.
If the results of a search are large, only a portion of the results are
returned, and a nextToken
pagination token is returned in the
response. To retrieve the next set of results, reissue the search
request and include the returned token. When all results have been
returned, the response does not contain a pagination token value.
Destructuring the Response
data ListFleetsResponse Source #
See: newListFleetsResponse
smart constructor.
ListFleetsResponse' | |
|
Instances
newListFleetsResponse Source #
Create a value of ListFleetsResponse
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:fleetSummaries:ListFleetsResponse'
, listFleetsResponse_fleetSummaries
- A list of information for each fleet.
ListFleets
, listFleetsResponse_nextToken
- The token to retrieve the next set of results, or null
if there are no
more results.
$sel:httpStatus:ListFleetsResponse'
, listFleetsResponse_httpStatus
- The response's http status code.
Response Lenses
listFleetsResponse_fleetSummaries :: Lens' ListFleetsResponse (Maybe [FleetSummary]) Source #
A list of information for each fleet.
listFleetsResponse_nextToken :: Lens' ListFleetsResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no
more results.
listFleetsResponse_httpStatus :: Lens' ListFleetsResponse Int Source #
The response's http status code.