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 your fleet metrics.
Requires permission to access the ListFleetMetrics action.
This operation returns paginated results.
Synopsis
- data ListFleetMetrics = ListFleetMetrics' {}
- newListFleetMetrics :: ListFleetMetrics
- listFleetMetrics_nextToken :: Lens' ListFleetMetrics (Maybe Text)
- listFleetMetrics_maxResults :: Lens' ListFleetMetrics (Maybe Natural)
- data ListFleetMetricsResponse = ListFleetMetricsResponse' {}
- newListFleetMetricsResponse :: Int -> ListFleetMetricsResponse
- listFleetMetricsResponse_fleetMetrics :: Lens' ListFleetMetricsResponse (Maybe [FleetMetricNameAndArn])
- listFleetMetricsResponse_nextToken :: Lens' ListFleetMetricsResponse (Maybe Text)
- listFleetMetricsResponse_httpStatus :: Lens' ListFleetMetricsResponse Int
Creating a Request
data ListFleetMetrics Source #
See: newListFleetMetrics
smart constructor.
Instances
newListFleetMetrics :: ListFleetMetrics Source #
Create a value of ListFleetMetrics
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:nextToken:ListFleetMetrics'
, listFleetMetrics_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null
to receive the first set of results.
$sel:maxResults:ListFleetMetrics'
, listFleetMetrics_maxResults
- The maximum number of results to return in this operation.
Request Lenses
listFleetMetrics_nextToken :: Lens' ListFleetMetrics (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null
to receive the first set of results.
listFleetMetrics_maxResults :: Lens' ListFleetMetrics (Maybe Natural) Source #
The maximum number of results to return in this operation.
Destructuring the Response
data ListFleetMetricsResponse Source #
See: newListFleetMetricsResponse
smart constructor.
ListFleetMetricsResponse' | |
|
Instances
newListFleetMetricsResponse Source #
Create a value of ListFleetMetricsResponse
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:fleetMetrics:ListFleetMetricsResponse'
, listFleetMetricsResponse_fleetMetrics
- The list of fleet metrics objects.
$sel:nextToken:ListFleetMetrics'
, listFleetMetricsResponse_nextToken
- The token for the next set of results. Will not be returned if the
operation has returned all results.
$sel:httpStatus:ListFleetMetricsResponse'
, listFleetMetricsResponse_httpStatus
- The response's http status code.
Response Lenses
listFleetMetricsResponse_fleetMetrics :: Lens' ListFleetMetricsResponse (Maybe [FleetMetricNameAndArn]) Source #
The list of fleet metrics objects.
listFleetMetricsResponse_nextToken :: Lens' ListFleetMetricsResponse (Maybe Text) Source #
The token for the next set of results. Will not be returned if the operation has returned all results.
listFleetMetricsResponse_httpStatus :: Lens' ListFleetMetricsResponse Int Source #
The response's http status code.