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.ListAnomalyDetectors

Description

Lists the detectors 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 ListAnomalyDetectors Source #

See: newListAnomalyDetectors smart constructor.

Constructors

ListAnomalyDetectors' 

Fields

  • 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 ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Read ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Show ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Generic ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Associated Types

type Rep ListAnomalyDetectors :: Type -> Type #

NFData ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Methods

rnf :: ListAnomalyDetectors -> () #

Hashable ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

ToJSON ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

AWSRequest ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Associated Types

type AWSResponse ListAnomalyDetectors #

ToHeaders ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

ToPath ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

ToQuery ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

type Rep ListAnomalyDetectors Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

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

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

newListAnomalyDetectors :: ListAnomalyDetectors Source #

Create a value of ListAnomalyDetectors 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:ListAnomalyDetectors', listAnomalyDetectors_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:ListAnomalyDetectors', listAnomalyDetectors_maxResults - The maximum number of results to return.

Request Lenses

listAnomalyDetectors_nextToken :: Lens' ListAnomalyDetectors (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.

listAnomalyDetectors_maxResults :: Lens' ListAnomalyDetectors (Maybe Natural) Source #

The maximum number of results to return.

Destructuring the Response

data ListAnomalyDetectorsResponse Source #

See: newListAnomalyDetectorsResponse smart constructor.

Constructors

ListAnomalyDetectorsResponse' 

Fields

Instances

Instances details
Eq ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Read ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Show ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Generic ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

Associated Types

type Rep ListAnomalyDetectorsResponse :: Type -> Type #

NFData ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

type Rep ListAnomalyDetectorsResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.ListAnomalyDetectors

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

newListAnomalyDetectorsResponse Source #

Create a value of ListAnomalyDetectorsResponse 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:ListAnomalyDetectors', listAnomalyDetectorsResponse_nextToken - If the response is truncated, the service returns this token. To retrieve the next set of results, use the token in the next request.

$sel:anomalyDetectorSummaryList:ListAnomalyDetectorsResponse', listAnomalyDetectorsResponse_anomalyDetectorSummaryList - A list of anomaly detectors in the account in the current region.

$sel:httpStatus:ListAnomalyDetectorsResponse', listAnomalyDetectorsResponse_httpStatus - The response's http status code.

Response Lenses

listAnomalyDetectorsResponse_nextToken :: Lens' ListAnomalyDetectorsResponse (Maybe Text) Source #

If the response is truncated, the service returns this token. To retrieve the next set of results, use the token in the next request.