| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.MitigationAction
Description
Synopsis
- data MitigationAction = MitigationAction' {}
- newMitigationAction :: MitigationAction
- mitigationAction_actionParams :: Lens' MitigationAction (Maybe MitigationActionParams)
- mitigationAction_id :: Lens' MitigationAction (Maybe Text)
- mitigationAction_name :: Lens' MitigationAction (Maybe Text)
- mitigationAction_roleArn :: Lens' MitigationAction (Maybe Text)
Documentation
data MitigationAction Source #
Describes which changes should be applied as part of a mitigation action.
See: newMitigationAction smart constructor.
Constructors
| MitigationAction' | |
Fields
| |
Instances
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:id:MitigationAction', mitigationAction_id - A unique identifier for the mitigation action.
$sel:name:MitigationAction', mitigationAction_name - A user-friendly name 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_id :: Lens' MitigationAction (Maybe Text) Source #
A unique identifier for the mitigation action.
mitigationAction_name :: Lens' MitigationAction (Maybe Text) Source #
A user-friendly name for the mitigation action.
mitigationAction_roleArn :: Lens' MitigationAction (Maybe Text) Source #
The IAM role ARN used to apply this mitigation action.