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

Description

Creates an anomaly detector.

Synopsis

Creating a Request

data CreateAnomalyDetector Source #

See: newCreateAnomalyDetector smart constructor.

Constructors

CreateAnomalyDetector' 

Fields

Instances

Instances details
Eq CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Read CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Show CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Generic CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Associated Types

type Rep CreateAnomalyDetector :: Type -> Type #

NFData CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Methods

rnf :: CreateAnomalyDetector -> () #

Hashable CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

ToJSON CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

AWSRequest CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Associated Types

type AWSResponse CreateAnomalyDetector #

ToHeaders CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

ToPath CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

ToQuery CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

type Rep CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

type Rep CreateAnomalyDetector = D1 ('MetaData "CreateAnomalyDetector" "Amazonka.LookoutMetrics.CreateAnomalyDetector" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "CreateAnomalyDetector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "anomalyDetectorDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "anomalyDetectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "anomalyDetectorConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AnomalyDetectorConfig)))))
type AWSResponse CreateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

newCreateAnomalyDetector Source #

Create a value of CreateAnomalyDetector 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:kmsKeyArn:CreateAnomalyDetector', createAnomalyDetector_kmsKeyArn - The ARN of the KMS key to use to encrypt your data.

$sel:anomalyDetectorDescription:CreateAnomalyDetector', createAnomalyDetector_anomalyDetectorDescription - A description of the detector.

$sel:tags:CreateAnomalyDetector', createAnomalyDetector_tags - A list of tags to apply to the anomaly detector.

$sel:anomalyDetectorName:CreateAnomalyDetector', createAnomalyDetector_anomalyDetectorName - The name of the detector.

$sel:anomalyDetectorConfig:CreateAnomalyDetector', createAnomalyDetector_anomalyDetectorConfig - Contains information about the configuration of the anomaly detector.

Request Lenses

createAnomalyDetector_kmsKeyArn :: Lens' CreateAnomalyDetector (Maybe Text) Source #

The ARN of the KMS key to use to encrypt your data.

createAnomalyDetector_tags :: Lens' CreateAnomalyDetector (Maybe (HashMap Text Text)) Source #

A list of tags to apply to the anomaly detector.

createAnomalyDetector_anomalyDetectorConfig :: Lens' CreateAnomalyDetector AnomalyDetectorConfig Source #

Contains information about the configuration of the anomaly detector.

Destructuring the Response

data CreateAnomalyDetectorResponse Source #

See: newCreateAnomalyDetectorResponse smart constructor.

Constructors

CreateAnomalyDetectorResponse' 

Fields

Instances

Instances details
Eq CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Read CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Show CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Generic CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

Associated Types

type Rep CreateAnomalyDetectorResponse :: Type -> Type #

NFData CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

type Rep CreateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateAnomalyDetector

type Rep CreateAnomalyDetectorResponse = D1 ('MetaData "CreateAnomalyDetectorResponse" "Amazonka.LookoutMetrics.CreateAnomalyDetector" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "CreateAnomalyDetectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "anomalyDetectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAnomalyDetectorResponse Source #

Create a value of CreateAnomalyDetectorResponse 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:CreateAnomalyDetectorResponse', createAnomalyDetectorResponse_anomalyDetectorArn - The ARN of the detector.

$sel:httpStatus:CreateAnomalyDetectorResponse', createAnomalyDetectorResponse_httpStatus - The response's http status code.

Response Lenses