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

Description

Updates a detector. After activation, you can only change a detector's ingestion delay and description.

Synopsis

Creating a Request

data UpdateAnomalyDetector Source #

See: newUpdateAnomalyDetector smart constructor.

Constructors

UpdateAnomalyDetector' 

Fields

Instances

Instances details
Eq UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Read UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Show UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Generic UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Associated Types

type Rep UpdateAnomalyDetector :: Type -> Type #

NFData UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Methods

rnf :: UpdateAnomalyDetector -> () #

Hashable UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

ToJSON UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

AWSRequest UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Associated Types

type AWSResponse UpdateAnomalyDetector #

ToHeaders UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

ToPath UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

ToQuery UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

type Rep UpdateAnomalyDetector Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

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

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

newUpdateAnomalyDetector Source #

Create a value of UpdateAnomalyDetector 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:UpdateAnomalyDetector', updateAnomalyDetector_kmsKeyArn - The Amazon Resource Name (ARN) of an AWS KMS encryption key.

$sel:anomalyDetectorConfig:UpdateAnomalyDetector', updateAnomalyDetector_anomalyDetectorConfig - Contains information about the configuration to which the detector will be updated.

$sel:anomalyDetectorDescription:UpdateAnomalyDetector', updateAnomalyDetector_anomalyDetectorDescription - The updated detector description.

$sel:anomalyDetectorArn:UpdateAnomalyDetector', updateAnomalyDetector_anomalyDetectorArn - The ARN of the detector to update.

Request Lenses

updateAnomalyDetector_kmsKeyArn :: Lens' UpdateAnomalyDetector (Maybe Text) Source #

The Amazon Resource Name (ARN) of an AWS KMS encryption key.

updateAnomalyDetector_anomalyDetectorConfig :: Lens' UpdateAnomalyDetector (Maybe AnomalyDetectorConfig) Source #

Contains information about the configuration to which the detector will be updated.

Destructuring the Response

data UpdateAnomalyDetectorResponse Source #

See: newUpdateAnomalyDetectorResponse smart constructor.

Constructors

UpdateAnomalyDetectorResponse' 

Fields

Instances

Instances details
Eq UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Read UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Show UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Generic UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

Associated Types

type Rep UpdateAnomalyDetectorResponse :: Type -> Type #

NFData UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

type Rep UpdateAnomalyDetectorResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.UpdateAnomalyDetector

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

newUpdateAnomalyDetectorResponse Source #

Create a value of UpdateAnomalyDetectorResponse 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:UpdateAnomalyDetector', updateAnomalyDetectorResponse_anomalyDetectorArn - The ARN of the updated detector.

$sel:httpStatus:UpdateAnomalyDetectorResponse', updateAnomalyDetectorResponse_httpStatus - The response's http status code.

Response Lenses