amazonka-lookoutmetrics-2.0: Amazon Lookout for Metrics SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LookoutMetrics.Types.Action

Description

 
Synopsis

Documentation

data Action Source #

A configuration that specifies the action to perform when anomalies are detected.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
FromJSON Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

ToJSON Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

Read Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

NFData Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

rnf :: Action -> () #

Eq Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

Hashable Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

type Rep Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.LookoutMetrics.Types.Action" "amazonka-lookoutmetrics-2.0-5gJoMWEA4GrGsqHAPh1b9h" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lambdaConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaConfiguration)) :*: S1 ('MetaSel ('Just "sNSConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SNSConfiguration))))

newAction :: Action Source #

Create a value of Action 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:lambdaConfiguration:Action', action_lambdaConfiguration - A configuration for an AWS Lambda channel.

$sel:sNSConfiguration:Action', action_sNSConfiguration - A configuration for an Amazon SNS channel.

action_lambdaConfiguration :: Lens' Action (Maybe LambdaConfiguration) Source #

A configuration for an AWS Lambda channel.

action_sNSConfiguration :: Lens' Action (Maybe SNSConfiguration) Source #

A configuration for an Amazon SNS channel.