libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data ListMetricSets Source #

See: newListMetricSets smart constructor.

Constructors

ListMetricSets' 

Fields

  • anomalyDetectorArn :: Maybe Text

    The ARN of the anomaly detector containing the metrics sets to list.

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

Instances

Instances details
Eq ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Read ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Show ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Generic ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Associated Types

type Rep ListMetricSets :: Type -> Type #

NFData ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Methods

rnf :: ListMetricSets -> () #

Hashable ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

ToJSON ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

AWSRequest ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Associated Types

type AWSResponse ListMetricSets #

ToHeaders ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

ToPath ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

ToQuery ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

type Rep ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

type Rep ListMetricSets = D1 ('MetaData "ListMetricSets" "Amazonka.LookoutMetrics.ListMetricSets" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "ListMetricSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "anomalyDetectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListMetricSets Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

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:

$sel:anomalyDetectorArn:ListMetricSets', listMetricSets_anomalyDetectorArn - The ARN of the anomaly detector containing the metrics sets to list.

$sel:nextToken: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.

$sel:maxResults:ListMetricSets', listMetricSets_maxResults - The maximum number of results to return.

Request Lenses

listMetricSets_anomalyDetectorArn :: Lens' ListMetricSets (Maybe Text) Source #

The ARN of the anomaly detector containing the metrics sets to list.

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.

listMetricSets_maxResults :: Lens' ListMetricSets (Maybe Natural) Source #

The maximum number of results to return.

Destructuring the Response

data ListMetricSetsResponse Source #

See: newListMetricSetsResponse smart constructor.

Constructors

ListMetricSetsResponse' 

Fields

Instances

Instances details
Eq ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Read ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Show ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Generic ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Associated Types

type Rep ListMetricSetsResponse :: Type -> Type #

NFData ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

Methods

rnf :: ListMetricSetsResponse -> () #

type Rep ListMetricSetsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListMetricSets

type Rep ListMetricSetsResponse = D1 ('MetaData "ListMetricSetsResponse" "Amazonka.LookoutMetrics.ListMetricSets" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "ListMetricSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metricSetSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricSetSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:nextToken: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:metricSetSummaryList:ListMetricSetsResponse', listMetricSetsResponse_metricSetSummaryList - A list of the datasets in the AWS Region, with configuration details for each.

$sel:httpStatus:ListMetricSetsResponse', listMetricSetsResponse_httpStatus - The response's http status code.

Response Lenses

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_metricSetSummaryList :: Lens' ListMetricSetsResponse (Maybe [MetricSetSummary]) Source #

A list of the datasets in the AWS Region, with configuration details for each.