libZSservicesZSamazonka-dlmZSamazonka-dlm
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.DLM.Types.Action

Description

 
Synopsis

Documentation

data Action Source #

Specifies an action for an event-based policy.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
Eq Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

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

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

Read Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.DLM.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.DLM.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

FromJSON Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

type Rep Action Source # 
Instance details

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])))

newAction 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:name:Action', action_name - A descriptive name for the action.

$sel:crossRegionCopy:Action', action_crossRegionCopy - The rule for copying shared snapshots across Regions.

action_name :: Lens' Action Text Source #

A descriptive name for the action.

action_crossRegionCopy :: Lens' Action [CrossRegionCopyAction] Source #

The rule for copying shared snapshots across Regions.