Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
A configuration that specifies the action to perform when anomalies are detected.
See: newAction
smart constructor.
Action' | |
|
Instances
Eq Action Source # | |
Read Action Source # | |
Show Action Source # | |
Generic Action Source # | |
NFData Action Source # | |
Defined in Amazonka.LookoutMetrics.Types.Action | |
Hashable Action Source # | |
Defined in Amazonka.LookoutMetrics.Types.Action | |
ToJSON Action Source # | |
Defined in Amazonka.LookoutMetrics.Types.Action | |
FromJSON Action Source # | |
type Rep Action Source # | |
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)))) |
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.