| 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.LookoutMetrics.ListMetricSets
Description
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Synopsis
- data ListMetricSets = ListMetricSets' {}
- newListMetricSets :: ListMetricSets
- listMetricSets_anomalyDetectorArn :: Lens' ListMetricSets (Maybe Text)
- listMetricSets_maxResults :: Lens' ListMetricSets (Maybe Natural)
- listMetricSets_nextToken :: Lens' ListMetricSets (Maybe Text)
- data ListMetricSetsResponse = ListMetricSetsResponse' {}
- newListMetricSetsResponse :: Int -> ListMetricSetsResponse
- listMetricSetsResponse_metricSetSummaryList :: Lens' ListMetricSetsResponse (Maybe [MetricSetSummary])
- listMetricSetsResponse_nextToken :: Lens' ListMetricSetsResponse (Maybe Text)
- listMetricSetsResponse_httpStatus :: Lens' ListMetricSetsResponse Int
Creating a Request
data ListMetricSets Source #
See: newListMetricSets smart constructor.
Constructors
| ListMetricSets' | |
Fields
| |
Instances
newListMetricSets :: ListMetricSets Source #
Create a value of ListMetricSets 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:
ListMetricSets, listMetricSets_anomalyDetectorArn - The ARN of the anomaly detector containing the metrics sets to list.
$sel:maxResults:ListMetricSets', listMetricSets_maxResults - The maximum number of results to return.
ListMetricSets, listMetricSets_nextToken - If the result of the previous request was truncated, the response
includes a NextToken. To retrieve the next set of results, use the
token in the next request. Tokens expire after 24 hours.
Request Lenses
listMetricSets_anomalyDetectorArn :: Lens' ListMetricSets (Maybe Text) Source #
The ARN of the anomaly detector containing the metrics sets to list.
listMetricSets_maxResults :: Lens' ListMetricSets (Maybe Natural) Source #
The maximum number of results to return.
listMetricSets_nextToken :: Lens' ListMetricSets (Maybe Text) Source #
If the result of the previous request was truncated, the response
includes a NextToken. To retrieve the next set of results, use the
token in the next request. Tokens expire after 24 hours.
Destructuring the Response
data ListMetricSetsResponse Source #
See: newListMetricSetsResponse smart constructor.
Constructors
| ListMetricSetsResponse' | |
Fields
| |
Instances
newListMetricSetsResponse Source #
Create a value of ListMetricSetsResponse 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:metricSetSummaryList:ListMetricSetsResponse', listMetricSetsResponse_metricSetSummaryList - A list of the datasets in the AWS Region, with configuration details for
each.
ListMetricSets, listMetricSetsResponse_nextToken - If the response is truncated, the list call returns this token. To
retrieve the next set of results, use the token in the next list
request.
$sel:httpStatus:ListMetricSetsResponse', listMetricSetsResponse_httpStatus - The response's http status code.
Response Lenses
listMetricSetsResponse_metricSetSummaryList :: Lens' ListMetricSetsResponse (Maybe [MetricSetSummary]) Source #
A list of the datasets in the AWS Region, with configuration details for each.
listMetricSetsResponse_nextToken :: Lens' ListMetricSetsResponse (Maybe Text) Source #
If the response is truncated, the list call returns this token. To retrieve the next set of results, use the token in the next list request.
listMetricSetsResponse_httpStatus :: Lens' ListMetricSetsResponse Int Source #
The response's http status code.