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.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
Eq Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

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

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

Read Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Show 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 #

NFData Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

FromJSON Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

type Rep Action Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.LookoutMetrics.Types.Action" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" '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.