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 |
Synopsis
- data Action = Action' {}
- newAction :: Text -> Action
- action_name :: Lens' Action Text
- action_crossRegionCopy :: Lens' Action [CrossRegionCopyAction]
Documentation
Specifies an action for an event-based policy.
See: newAction
smart constructor.
Action' | |
|
Instances
Eq Action Source # | |
Read Action Source # | |
Show Action Source # | |
Generic Action Source # | |
NFData Action Source # | |
Defined in Amazonka.DLM.Types.Action | |
Hashable Action Source # | |
Defined in Amazonka.DLM.Types.Action | |
ToJSON Action Source # | |
Defined in Amazonka.DLM.Types.Action | |
FromJSON Action Source # | |
type Rep Action Source # | |
Defined in Amazonka.DLM.Types.Action type Rep Action = D1 ('MetaData "Action" "Amazonka.DLM.Types.Action" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "crossRegionCopy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CrossRegionCopyAction]))) |
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:name:Action'
, action_name
- A descriptive name for the action.
$sel:crossRegionCopy:Action'
, action_crossRegionCopy
- The rule for copying shared snapshots across Regions.
action_crossRegionCopy :: Lens' Action [CrossRegionCopyAction] Source #
The rule for copying shared snapshots across Regions.