libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.MitigationAction

Description

 
Synopsis

Documentation

data MitigationAction Source #

Describes which changes should be applied as part of a mitigation action.

See: newMitigationAction smart constructor.

Constructors

MitigationAction' 

Fields

Instances

Instances details
Eq MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

Read MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

Show MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

Generic MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

Associated Types

type Rep MitigationAction :: Type -> Type #

NFData MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

Methods

rnf :: MitigationAction -> () #

Hashable MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

FromJSON MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

type Rep MitigationAction Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationAction

type Rep MitigationAction = D1 ('MetaData "MitigationAction" "Amazonka.IoT.Types.MitigationAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "MitigationAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "actionParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MitigationActionParams)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMitigationAction :: MitigationAction Source #

Create a value of MitigationAction 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:actionParams:MitigationAction', mitigationAction_actionParams - The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

$sel:name:MitigationAction', mitigationAction_name - A user-friendly name for the mitigation action.

$sel:id:MitigationAction', mitigationAction_id - A unique identifier for the mitigation action.

$sel:roleArn:MitigationAction', mitigationAction_roleArn - The IAM role ARN used to apply this mitigation action.

mitigationAction_actionParams :: Lens' MitigationAction (Maybe MitigationActionParams) Source #

The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

mitigationAction_name :: Lens' MitigationAction (Maybe Text) Source #

A user-friendly name for the mitigation action.

mitigationAction_id :: Lens' MitigationAction (Maybe Text) Source #

A unique identifier for the mitigation action.

mitigationAction_roleArn :: Lens' MitigationAction (Maybe Text) Source #

The IAM role ARN used to apply this mitigation action.