amazonka-dlm-2.0: Amazon Data Lifecycle Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DLM.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-01-12 of the Amazon Data Lifecycle Manager SDK configuration.

Errors

_InternalServerException :: AsError a => Fold a ServiceError Source #

The service failed in an unexpected way.

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

Bad request. The request is missing required parameters or has invalid parameters.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The request failed because a limit was exceeded.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

A requested resource was not found.

EventSourceValues

newtype EventSourceValues Source #

Instances

Instances details
FromJSON EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

FromJSONKey EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToJSON EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToJSONKey EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToByteString EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToHeader EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToLog EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToQuery EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

FromText EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToText EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

FromXML EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToXML EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Generic EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Associated Types

type Rep EventSourceValues :: Type -> Type #

Read EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Show EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

NFData EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Methods

rnf :: EventSourceValues -> () #

Eq EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Ord EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Hashable EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

type Rep EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

type Rep EventSourceValues = D1 ('MetaData "EventSourceValues" "Amazonka.DLM.Types.EventSourceValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "EventSourceValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventSourceValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventTypeValues

newtype EventTypeValues Source #

Constructors

EventTypeValues' 

Bundled Patterns

pattern EventTypeValues_ShareSnapshot :: EventTypeValues 

Instances

Instances details
FromJSON EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

FromJSONKey EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToJSON EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToJSONKey EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToByteString EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToHeader EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToLog EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToQuery EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

FromText EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToText EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

FromXML EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToXML EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Methods

toXML :: EventTypeValues -> XML #

Generic EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Associated Types

type Rep EventTypeValues :: Type -> Type #

Read EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Show EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

NFData EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Methods

rnf :: EventTypeValues -> () #

Eq EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Ord EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Hashable EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

type Rep EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

type Rep EventTypeValues = D1 ('MetaData "EventTypeValues" "Amazonka.DLM.Types.EventTypeValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "EventTypeValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventTypeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GettablePolicyStateValues

newtype GettablePolicyStateValues Source #

Instances

Instances details
FromJSON GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

FromJSONKey GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToJSON GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToJSONKey GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToByteString GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToHeader GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToLog GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToQuery GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

FromText GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToText GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

FromXML GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToXML GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Generic GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Associated Types

type Rep GettablePolicyStateValues :: Type -> Type #

Read GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Show GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

NFData GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Eq GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Ord GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Hashable GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

type Rep GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

type Rep GettablePolicyStateValues = D1 ('MetaData "GettablePolicyStateValues" "Amazonka.DLM.Types.GettablePolicyStateValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "GettablePolicyStateValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGettablePolicyStateValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IntervalUnitValues

newtype IntervalUnitValues Source #

Bundled Patterns

pattern IntervalUnitValues_HOURS :: IntervalUnitValues 

Instances

Instances details
FromJSON IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

FromJSONKey IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToJSON IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToJSONKey IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToByteString IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToHeader IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToLog IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToQuery IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

FromText IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToText IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

FromXML IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToXML IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Generic IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Associated Types

type Rep IntervalUnitValues :: Type -> Type #

Read IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Show IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

NFData IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Methods

rnf :: IntervalUnitValues -> () #

Eq IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Ord IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Hashable IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

type Rep IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

type Rep IntervalUnitValues = D1 ('MetaData "IntervalUnitValues" "Amazonka.DLM.Types.IntervalUnitValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "IntervalUnitValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIntervalUnitValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LocationValues

newtype LocationValues Source #

Constructors

LocationValues' 

Instances

Instances details
FromJSON LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

FromJSONKey LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToJSON LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToJSONKey LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToByteString LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToHeader LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToLog LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToQuery LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

FromText LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToText LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

FromXML LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToXML LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Methods

toXML :: LocationValues -> XML #

Generic LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Associated Types

type Rep LocationValues :: Type -> Type #

Read LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Show LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

NFData LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Methods

rnf :: LocationValues -> () #

Eq LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Ord LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Hashable LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

type Rep LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

type Rep LocationValues = D1 ('MetaData "LocationValues" "Amazonka.DLM.Types.LocationValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "LocationValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLocationValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PolicyTypeValues

newtype PolicyTypeValues Source #

Instances

Instances details
FromJSON PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

FromJSONKey PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToJSON PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToJSONKey PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToByteString PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToHeader PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToLog PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToQuery PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

FromText PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToText PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

FromXML PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToXML PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Generic PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Associated Types

type Rep PolicyTypeValues :: Type -> Type #

Read PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Show PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

NFData PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Methods

rnf :: PolicyTypeValues -> () #

Eq PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Ord PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Hashable PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

type Rep PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

type Rep PolicyTypeValues = D1 ('MetaData "PolicyTypeValues" "Amazonka.DLM.Types.PolicyTypeValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "PolicyTypeValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPolicyTypeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceLocationValues

newtype ResourceLocationValues Source #

Instances

Instances details
FromJSON ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

FromJSONKey ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToJSON ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToJSONKey ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToByteString ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToHeader ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToLog ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToQuery ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

FromText ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToText ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

FromXML ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToXML ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Generic ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Associated Types

type Rep ResourceLocationValues :: Type -> Type #

Read ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Show ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

NFData ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Methods

rnf :: ResourceLocationValues -> () #

Eq ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Ord ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Hashable ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

type Rep ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

type Rep ResourceLocationValues = D1 ('MetaData "ResourceLocationValues" "Amazonka.DLM.Types.ResourceLocationValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "ResourceLocationValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceLocationValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceTypeValues

newtype ResourceTypeValues Source #

Instances

Instances details
FromJSON ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

FromJSONKey ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToJSON ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToJSONKey ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToByteString ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToHeader ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToLog ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToQuery ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

FromText ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToText ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

FromXML ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToXML ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Generic ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Associated Types

type Rep ResourceTypeValues :: Type -> Type #

Read ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Show ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

NFData ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Methods

rnf :: ResourceTypeValues -> () #

Eq ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Ord ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Hashable ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

type Rep ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

type Rep ResourceTypeValues = D1 ('MetaData "ResourceTypeValues" "Amazonka.DLM.Types.ResourceTypeValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "ResourceTypeValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceTypeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RetentionIntervalUnitValues

newtype RetentionIntervalUnitValues Source #

Instances

Instances details
FromJSON RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

FromJSONKey RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToJSON RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToJSONKey RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToByteString RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToHeader RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToLog RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToQuery RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

FromText RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToText RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

FromXML RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToXML RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Generic RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Associated Types

type Rep RetentionIntervalUnitValues :: Type -> Type #

Read RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Show RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

NFData RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Eq RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Ord RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Hashable RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

type Rep RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

type Rep RetentionIntervalUnitValues = D1 ('MetaData "RetentionIntervalUnitValues" "Amazonka.DLM.Types.RetentionIntervalUnitValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "RetentionIntervalUnitValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRetentionIntervalUnitValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SettablePolicyStateValues

newtype SettablePolicyStateValues Source #

Instances

Instances details
FromJSON SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

FromJSONKey SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToJSON SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToJSONKey SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToByteString SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToHeader SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToLog SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToQuery SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

FromText SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToText SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

FromXML SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToXML SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Generic SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Associated Types

type Rep SettablePolicyStateValues :: Type -> Type #

Read SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Show SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

NFData SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Eq SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Ord SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Hashable SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

type Rep SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

type Rep SettablePolicyStateValues = D1 ('MetaData "SettablePolicyStateValues" "Amazonka.DLM.Types.SettablePolicyStateValues" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'True) (C1 ('MetaCons "SettablePolicyStateValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSettablePolicyStateValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Action

data Action Source #

[Event-based policies only] Specifies an action for an event-based policy.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
FromJSON Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

ToJSON 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 #

Read Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

NFData Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

rnf :: Action -> () #

Eq Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

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

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

Hashable Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

type Rep Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.DLM.Types.Action" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" '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.

ArchiveRetainRule

data ArchiveRetainRule Source #

[Snapshot policies only] Specifies information about the archive storage tier retention period.

See: newArchiveRetainRule smart constructor.

Constructors

ArchiveRetainRule' 

Fields

Instances

Instances details
FromJSON ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

ToJSON ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

Generic ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

Associated Types

type Rep ArchiveRetainRule :: Type -> Type #

Read ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

Show ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

NFData ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

Methods

rnf :: ArchiveRetainRule -> () #

Eq ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

Hashable ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

type Rep ArchiveRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRetainRule

type Rep ArchiveRetainRule = D1 ('MetaData "ArchiveRetainRule" "Amazonka.DLM.Types.ArchiveRetainRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "ArchiveRetainRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retentionArchiveTier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RetentionArchiveTier)))

newArchiveRetainRule Source #

Create a value of ArchiveRetainRule 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:retentionArchiveTier:ArchiveRetainRule', archiveRetainRule_retentionArchiveTier - Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.

archiveRetainRule_retentionArchiveTier :: Lens' ArchiveRetainRule RetentionArchiveTier Source #

Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.

ArchiveRule

data ArchiveRule Source #

[Snapshot policies only] Specifies a snapshot archiving rule for a schedule.

See: newArchiveRule smart constructor.

Constructors

ArchiveRule' 

Fields

Instances

Instances details
FromJSON ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

ToJSON ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Generic ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Associated Types

type Rep ArchiveRule :: Type -> Type #

Read ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Show ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

NFData ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Methods

rnf :: ArchiveRule -> () #

Eq ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Hashable ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

type Rep ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

type Rep ArchiveRule = D1 ('MetaData "ArchiveRule" "Amazonka.DLM.Types.ArchiveRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "ArchiveRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retainRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArchiveRetainRule)))

newArchiveRule Source #

Create a value of ArchiveRule 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:retainRule:ArchiveRule', archiveRule_retainRule - Information about the retention period for the snapshot archiving rule.

archiveRule_retainRule :: Lens' ArchiveRule ArchiveRetainRule Source #

Information about the retention period for the snapshot archiving rule.

CreateRule

data CreateRule Source #

[Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

  • You must specify either CronExpression, or Interval, IntervalUnit, and Times.
  • If you need to specify an ArchiveRule for the schedule, then you must specify a creation frequency of at least 28 days.

See: newCreateRule smart constructor.

Constructors

CreateRule' 

Fields

  • cronExpression :: Maybe Text

    The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide.

  • interval :: Maybe Natural

    The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

  • intervalUnit :: Maybe IntervalUnitValues

    The interval unit.

  • location :: Maybe LocationValues

    [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default.

    If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.

  • times :: Maybe [Text]

    The time, in UTC, to start the operation. The supported format is hh:mm.

    The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

Instances

Instances details
FromJSON CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

ToJSON CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Generic CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Associated Types

type Rep CreateRule :: Type -> Type #

Read CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Show CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

NFData CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Methods

rnf :: CreateRule -> () #

Eq CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Hashable CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

type Rep CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

newCreateRule :: CreateRule Source #

Create a value of CreateRule 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:cronExpression:CreateRule', createRule_cronExpression - The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide.

$sel:interval:CreateRule', createRule_interval - The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

$sel:intervalUnit:CreateRule', createRule_intervalUnit - The interval unit.

$sel:location:CreateRule', createRule_location - [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default.

If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.

$sel:times:CreateRule', createRule_times - The time, in UTC, to start the operation. The supported format is hh:mm.

The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

createRule_cronExpression :: Lens' CreateRule (Maybe Text) Source #

The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide.

createRule_interval :: Lens' CreateRule (Maybe Natural) Source #

The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

createRule_location :: Lens' CreateRule (Maybe LocationValues) Source #

[Snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default.

If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.

createRule_times :: Lens' CreateRule (Maybe [Text]) Source #

The time, in UTC, to start the operation. The supported format is hh:mm.

The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

CrossRegionCopyAction

data CrossRegionCopyAction Source #

[Event-based policies only] Specifies a cross-Region copy action for event-based policies.

To specify a cross-Region copy rule for snapshot and AMI policies, use CrossRegionCopyRule.

See: newCrossRegionCopyAction smart constructor.

Constructors

CrossRegionCopyAction' 

Fields

Instances

Instances details
FromJSON CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

ToJSON CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Generic CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Associated Types

type Rep CrossRegionCopyAction :: Type -> Type #

Read CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Show CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

NFData CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Methods

rnf :: CrossRegionCopyAction -> () #

Eq CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Hashable CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

type Rep CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

type Rep CrossRegionCopyAction = D1 ('MetaData "CrossRegionCopyAction" "Amazonka.DLM.Types.CrossRegionCopyAction" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "CrossRegionCopyAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retainRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CrossRegionCopyRetainRule)) :*: (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionConfiguration))))

newCrossRegionCopyAction Source #

Create a value of CrossRegionCopyAction 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:retainRule:CrossRegionCopyAction', crossRegionCopyAction_retainRule - Undocumented member.

$sel:target:CrossRegionCopyAction', crossRegionCopyAction_target - The target Region.

$sel:encryptionConfiguration:CrossRegionCopyAction', crossRegionCopyAction_encryptionConfiguration - The encryption settings for the copied snapshot.

CrossRegionCopyDeprecateRule

data CrossRegionCopyDeprecateRule Source #

[AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.

See: newCrossRegionCopyDeprecateRule smart constructor.

Constructors

CrossRegionCopyDeprecateRule' 

Fields

  • interval :: Maybe Natural

    The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS.

Instances

Instances details
FromJSON CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

ToJSON CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Generic CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Associated Types

type Rep CrossRegionCopyDeprecateRule :: Type -> Type #

Read CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Show CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

NFData CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Eq CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Hashable CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

type Rep CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

type Rep CrossRegionCopyDeprecateRule = D1 ('MetaData "CrossRegionCopyDeprecateRule" "Amazonka.DLM.Types.CrossRegionCopyDeprecateRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "CrossRegionCopyDeprecateRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues))))

newCrossRegionCopyDeprecateRule :: CrossRegionCopyDeprecateRule Source #

Create a value of CrossRegionCopyDeprecateRule 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:interval:CrossRegionCopyDeprecateRule', crossRegionCopyDeprecateRule_interval - The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

$sel:intervalUnit:CrossRegionCopyDeprecateRule', crossRegionCopyDeprecateRule_intervalUnit - The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS.

crossRegionCopyDeprecateRule_interval :: Lens' CrossRegionCopyDeprecateRule (Maybe Natural) Source #

The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

crossRegionCopyDeprecateRule_intervalUnit :: Lens' CrossRegionCopyDeprecateRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS.

CrossRegionCopyRetainRule

data CrossRegionCopyRetainRule Source #

Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.

See: newCrossRegionCopyRetainRule smart constructor.

Constructors

CrossRegionCopyRetainRule' 

Fields

  • interval :: Maybe Natural

    The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS.

Instances

Instances details
FromJSON CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

ToJSON CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Generic CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Associated Types

type Rep CrossRegionCopyRetainRule :: Type -> Type #

Read CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Show CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

NFData CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Eq CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Hashable CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

type Rep CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

type Rep CrossRegionCopyRetainRule = D1 ('MetaData "CrossRegionCopyRetainRule" "Amazonka.DLM.Types.CrossRegionCopyRetainRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "CrossRegionCopyRetainRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues))))

newCrossRegionCopyRetainRule :: CrossRegionCopyRetainRule Source #

Create a value of CrossRegionCopyRetainRule 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:interval:CrossRegionCopyRetainRule', crossRegionCopyRetainRule_interval - The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

$sel:intervalUnit:CrossRegionCopyRetainRule', crossRegionCopyRetainRule_intervalUnit - The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS.

crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural) Source #

The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

crossRegionCopyRetainRule_intervalUnit :: Lens' CrossRegionCopyRetainRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS.

CrossRegionCopyRule

data CrossRegionCopyRule Source #

[Snapshot and AMI policies only] Specifies a cross-Region copy rule for snapshot and AMI policies.

To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction.

See: newCrossRegionCopyRule smart constructor.

Constructors

CrossRegionCopyRule' 

Fields

  • cmkArn :: Maybe Text

    The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

  • copyTags :: Maybe Bool

    Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.

  • deprecateRule :: Maybe CrossRegionCopyDeprecateRule

    [AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.

  • retainRule :: Maybe CrossRegionCopyRetainRule

    The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.

  • target :: Maybe Text

    The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.

    Use this parameter instead of TargetRegion. Do not specify both.

  • targetRegion :: Maybe Text

    Avoid using this parameter when creating new policies. Instead, use Target to specify a target Region or a target Outpost for snapshot copies.

    For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.

  • encrypted :: Bool

    To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.

Instances

Instances details
FromJSON CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

ToJSON CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Generic CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Associated Types

type Rep CrossRegionCopyRule :: Type -> Type #

Read CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Show CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

NFData CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Methods

rnf :: CrossRegionCopyRule -> () #

Eq CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Hashable CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

type Rep CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

newCrossRegionCopyRule Source #

Create a value of CrossRegionCopyRule 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:cmkArn:CrossRegionCopyRule', crossRegionCopyRule_cmkArn - The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

$sel:copyTags:CrossRegionCopyRule', crossRegionCopyRule_copyTags - Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.

$sel:deprecateRule:CrossRegionCopyRule', crossRegionCopyRule_deprecateRule - [AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.

$sel:retainRule:CrossRegionCopyRule', crossRegionCopyRule_retainRule - The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.

$sel:target:CrossRegionCopyRule', crossRegionCopyRule_target - The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.

Use this parameter instead of TargetRegion. Do not specify both.

$sel:targetRegion:CrossRegionCopyRule', crossRegionCopyRule_targetRegion - Avoid using this parameter when creating new policies. Instead, use Target to specify a target Region or a target Outpost for snapshot copies.

For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.

$sel:encrypted:CrossRegionCopyRule', crossRegionCopyRule_encrypted - To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.

crossRegionCopyRule_cmkArn :: Lens' CrossRegionCopyRule (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

crossRegionCopyRule_copyTags :: Lens' CrossRegionCopyRule (Maybe Bool) Source #

Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.

crossRegionCopyRule_deprecateRule :: Lens' CrossRegionCopyRule (Maybe CrossRegionCopyDeprecateRule) Source #

[AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.

crossRegionCopyRule_retainRule :: Lens' CrossRegionCopyRule (Maybe CrossRegionCopyRetainRule) Source #

The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.

crossRegionCopyRule_target :: Lens' CrossRegionCopyRule (Maybe Text) Source #

The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.

Use this parameter instead of TargetRegion. Do not specify both.

crossRegionCopyRule_targetRegion :: Lens' CrossRegionCopyRule (Maybe Text) Source #

Avoid using this parameter when creating new policies. Instead, use Target to specify a target Region or a target Outpost for snapshot copies.

For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.

crossRegionCopyRule_encrypted :: Lens' CrossRegionCopyRule Bool Source #

To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.

DeprecateRule

data DeprecateRule Source #

[AMI policies only] Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.

For age-based schedules, you must specify Interval and IntervalUnit. For count-based schedules, you must specify Count.

See: newDeprecateRule smart constructor.

Constructors

DeprecateRule' 

Fields

  • count :: Maybe Natural

    If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.

  • interval :: Maybe Natural

    If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time in which to measure the Interval.

Instances

Instances details
FromJSON DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

ToJSON DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Generic DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Associated Types

type Rep DeprecateRule :: Type -> Type #

Read DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Show DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

NFData DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Methods

rnf :: DeprecateRule -> () #

Eq DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Hashable DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

type Rep DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

type Rep DeprecateRule = D1 ('MetaData "DeprecateRule" "Amazonka.DLM.Types.DeprecateRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "DeprecateRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)))))

newDeprecateRule :: DeprecateRule Source #

Create a value of DeprecateRule 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:count:DeprecateRule', deprecateRule_count - If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.

$sel:interval:DeprecateRule', deprecateRule_interval - If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

$sel:intervalUnit:DeprecateRule', deprecateRule_intervalUnit - The unit of time in which to measure the Interval.

deprecateRule_count :: Lens' DeprecateRule (Maybe Natural) Source #

If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.

deprecateRule_interval :: Lens' DeprecateRule (Maybe Natural) Source #

If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

deprecateRule_intervalUnit :: Lens' DeprecateRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time in which to measure the Interval.

EncryptionConfiguration

data EncryptionConfiguration Source #

[Event-based policies only] Specifies the encryption settings for cross-Region snapshot copies created by event-based policies.

See: newEncryptionConfiguration smart constructor.

Constructors

EncryptionConfiguration' 

Fields

  • cmkArn :: Maybe Text

    The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

  • encrypted :: Bool

    To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

Instances

Instances details
FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

type Rep EncryptionConfiguration = D1 ('MetaData "EncryptionConfiguration" "Amazonka.DLM.Types.EncryptionConfiguration" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "EncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cmkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration 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:cmkArn:EncryptionConfiguration', encryptionConfiguration_cmkArn - The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

$sel:encrypted:EncryptionConfiguration', encryptionConfiguration_encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

encryptionConfiguration_cmkArn :: Lens' EncryptionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

encryptionConfiguration_encrypted :: Lens' EncryptionConfiguration Bool Source #

To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

EventParameters

data EventParameters Source #

[Event-based policies only] Specifies an event that activates an event-based policy.

See: newEventParameters smart constructor.

Constructors

EventParameters' 

Fields

  • eventType :: EventTypeValues

    The type of event. Currently, only snapshot sharing events are supported.

  • snapshotOwner :: [Text]

    The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

  • descriptionRegex :: Text

    The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.

    For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

Instances

Instances details
FromJSON EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

ToJSON EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Generic EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Associated Types

type Rep EventParameters :: Type -> Type #

Read EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Show EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

NFData EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Methods

rnf :: EventParameters -> () #

Eq EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Hashable EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

type Rep EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

type Rep EventParameters = D1 ('MetaData "EventParameters" "Amazonka.DLM.Types.EventParameters" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "EventParameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventTypeValues) :*: (S1 ('MetaSel ('Just "snapshotOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "descriptionRegex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEventParameters Source #

Create a value of EventParameters 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:eventType:EventParameters', eventParameters_eventType - The type of event. Currently, only snapshot sharing events are supported.

$sel:snapshotOwner:EventParameters', eventParameters_snapshotOwner - The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

$sel:descriptionRegex:EventParameters', eventParameters_descriptionRegex - The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

eventParameters_eventType :: Lens' EventParameters EventTypeValues Source #

The type of event. Currently, only snapshot sharing events are supported.

eventParameters_snapshotOwner :: Lens' EventParameters [Text] Source #

The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

eventParameters_descriptionRegex :: Lens' EventParameters Text Source #

The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

EventSource

data EventSource Source #

[Event-based policies only] Specifies an event that activates an event-based policy.

See: newEventSource smart constructor.

Constructors

EventSource' 

Fields

Instances

Instances details
FromJSON EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

ToJSON EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Generic EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Associated Types

type Rep EventSource :: Type -> Type #

Read EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Show EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

NFData EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Methods

rnf :: EventSource -> () #

Eq EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Hashable EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

type Rep EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

type Rep EventSource = D1 ('MetaData "EventSource" "Amazonka.DLM.Types.EventSource" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "EventSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventParameters)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventSourceValues)))

newEventSource Source #

Create a value of EventSource 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:parameters:EventSource', eventSource_parameters - Information about the event.

$sel:type':EventSource', eventSource_type - The source of the event. Currently only managed CloudWatch Events rules are supported.

eventSource_type :: Lens' EventSource EventSourceValues Source #

The source of the event. Currently only managed CloudWatch Events rules are supported.

FastRestoreRule

data FastRestoreRule Source #

[Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies. You can enable fast snapshot restore based on either a count or a time interval.

See: newFastRestoreRule smart constructor.

Constructors

FastRestoreRule' 

Fields

Instances

Instances details
FromJSON FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

ToJSON FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Generic FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Associated Types

type Rep FastRestoreRule :: Type -> Type #

Read FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Show FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

NFData FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Methods

rnf :: FastRestoreRule -> () #

Eq FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Hashable FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

type Rep FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

type Rep FastRestoreRule = D1 ('MetaData "FastRestoreRule" "Amazonka.DLM.Types.FastRestoreRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "FastRestoreRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)) :*: S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newFastRestoreRule Source #

Create a value of FastRestoreRule 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:count:FastRestoreRule', fastRestoreRule_count - The number of snapshots to be enabled with fast snapshot restore.

$sel:interval:FastRestoreRule', fastRestoreRule_interval - The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

$sel:intervalUnit:FastRestoreRule', fastRestoreRule_intervalUnit - The unit of time for enabling fast snapshot restore.

$sel:availabilityZones:FastRestoreRule', fastRestoreRule_availabilityZones - The Availability Zones in which to enable fast snapshot restore.

fastRestoreRule_count :: Lens' FastRestoreRule (Maybe Natural) Source #

The number of snapshots to be enabled with fast snapshot restore.

fastRestoreRule_interval :: Lens' FastRestoreRule (Maybe Natural) Source #

The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

fastRestoreRule_intervalUnit :: Lens' FastRestoreRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time for enabling fast snapshot restore.

fastRestoreRule_availabilityZones :: Lens' FastRestoreRule (NonEmpty Text) Source #

The Availability Zones in which to enable fast snapshot restore.

LifecyclePolicy

data LifecyclePolicy Source #

[All policy types] Detailed information about a snapshot, AMI, or event-based lifecycle policy.

See: newLifecyclePolicy smart constructor.

Constructors

LifecyclePolicy' 

Fields

Instances

Instances details
FromJSON LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Generic LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Associated Types

type Rep LifecyclePolicy :: Type -> Type #

Read LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Show LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

NFData LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Methods

rnf :: LifecyclePolicy -> () #

Eq LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Hashable LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

type Rep LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

newLifecyclePolicy :: LifecyclePolicy Source #

Create a value of LifecyclePolicy 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:dateCreated:LifecyclePolicy', lifecyclePolicy_dateCreated - The local date and time when the lifecycle policy was created.

$sel:dateModified:LifecyclePolicy', lifecyclePolicy_dateModified - The local date and time when the lifecycle policy was last modified.

$sel:description:LifecyclePolicy', lifecyclePolicy_description - The description of the lifecycle policy.

$sel:executionRoleArn:LifecyclePolicy', lifecyclePolicy_executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

$sel:policyArn:LifecyclePolicy', lifecyclePolicy_policyArn - The Amazon Resource Name (ARN) of the policy.

$sel:policyDetails:LifecyclePolicy', lifecyclePolicy_policyDetails - The configuration of the lifecycle policy

$sel:policyId:LifecyclePolicy', lifecyclePolicy_policyId - The identifier of the lifecycle policy.

$sel:state:LifecyclePolicy', lifecyclePolicy_state - The activation state of the lifecycle policy.

$sel:statusMessage:LifecyclePolicy', lifecyclePolicy_statusMessage - The description of the status.

$sel:tags:LifecyclePolicy', lifecyclePolicy_tags - The tags.

lifecyclePolicy_dateCreated :: Lens' LifecyclePolicy (Maybe UTCTime) Source #

The local date and time when the lifecycle policy was created.

lifecyclePolicy_dateModified :: Lens' LifecyclePolicy (Maybe UTCTime) Source #

The local date and time when the lifecycle policy was last modified.

lifecyclePolicy_description :: Lens' LifecyclePolicy (Maybe Text) Source #

The description of the lifecycle policy.

lifecyclePolicy_executionRoleArn :: Lens' LifecyclePolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

lifecyclePolicy_policyArn :: Lens' LifecyclePolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

lifecyclePolicy_policyDetails :: Lens' LifecyclePolicy (Maybe PolicyDetails) Source #

The configuration of the lifecycle policy

lifecyclePolicy_policyId :: Lens' LifecyclePolicy (Maybe Text) Source #

The identifier of the lifecycle policy.

lifecyclePolicy_state :: Lens' LifecyclePolicy (Maybe GettablePolicyStateValues) Source #

The activation state of the lifecycle policy.

LifecyclePolicySummary

data LifecyclePolicySummary Source #

Summary information about a lifecycle policy.

See: newLifecyclePolicySummary smart constructor.

Constructors

LifecyclePolicySummary' 

Fields

Instances

Instances details
FromJSON LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Generic LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Associated Types

type Rep LifecyclePolicySummary :: Type -> Type #

Read LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Show LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

NFData LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Methods

rnf :: LifecyclePolicySummary -> () #

Eq LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Hashable LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

type Rep LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

type Rep LifecyclePolicySummary = D1 ('MetaData "LifecyclePolicySummary" "Amazonka.DLM.Types.LifecyclePolicySummary" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "LifecyclePolicySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyTypeValues)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GettablePolicyStateValues)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newLifecyclePolicySummary :: LifecyclePolicySummary Source #

Create a value of LifecyclePolicySummary 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:description:LifecyclePolicySummary', lifecyclePolicySummary_description - The description of the lifecycle policy.

$sel:policyId:LifecyclePolicySummary', lifecyclePolicySummary_policyId - The identifier of the lifecycle policy.

$sel:policyType:LifecyclePolicySummary', lifecyclePolicySummary_policyType - The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.

$sel:state:LifecyclePolicySummary', lifecyclePolicySummary_state - The activation state of the lifecycle policy.

$sel:tags:LifecyclePolicySummary', lifecyclePolicySummary_tags - The tags.

lifecyclePolicySummary_policyId :: Lens' LifecyclePolicySummary (Maybe Text) Source #

The identifier of the lifecycle policy.

lifecyclePolicySummary_policyType :: Lens' LifecyclePolicySummary (Maybe PolicyTypeValues) Source #

The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.

Parameters

data Parameters Source #

[Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The set of valid parameters depends on the combination of policy type and target resource type.

If you choose to exclude boot volumes and you specify tags that consequently exclude all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create any snapshots for the affected instance, and it will emit a SnapshotsCreateFailed Amazon CloudWatch metric. For more information, see Monitor your policies using Amazon CloudWatch.

See: newParameters smart constructor.

Constructors

Parameters' 

Fields

  • excludeBootVolume :: Maybe Bool

    [Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

  • excludeDataVolumeTags :: Maybe [Tag]

    [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.

    If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

  • noReboot :: Maybe Bool

    [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

Instances

Instances details
FromJSON Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

ToJSON Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Generic Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Associated Types

type Rep Parameters :: Type -> Type #

Read Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Show Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

NFData Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Methods

rnf :: Parameters -> () #

Eq Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Hashable Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

type Rep Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

type Rep Parameters = D1 ('MetaData "Parameters" "Amazonka.DLM.Types.Parameters" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "Parameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excludeBootVolume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "excludeDataVolumeTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "noReboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newParameters :: Parameters Source #

Create a value of Parameters 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:excludeBootVolume:Parameters', parameters_excludeBootVolume - [Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

$sel:excludeDataVolumeTags:Parameters', parameters_excludeDataVolumeTags - [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.

If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

$sel:noReboot:Parameters', parameters_noReboot - [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

parameters_excludeBootVolume :: Lens' Parameters (Maybe Bool) Source #

[Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

parameters_excludeDataVolumeTags :: Lens' Parameters (Maybe [Tag]) Source #

[Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.

If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.

parameters_noReboot :: Lens' Parameters (Maybe Bool) Source #

[AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

PolicyDetails

data PolicyDetails Source #

[All policy types] Specifies the configuration of a lifecycle policy.

See: newPolicyDetails smart constructor.

Constructors

PolicyDetails' 

Fields

  • actions :: Maybe (NonEmpty Action)

    [Event-based policies only] The actions to be performed when the event-based policy is activated. You can specify only one action per policy.

  • eventSource :: Maybe EventSource

    [Event-based policies only] The event that activates the event-based policy.

  • parameters :: Maybe Parameters

    [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.

    If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.

  • policyType :: Maybe PolicyTypeValues

    [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.

    The default is EBS_SNAPSHOT_MANAGEMENT.

  • resourceLocations :: Maybe (NonEmpty ResourceLocationValues)

    [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST.

    If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.

  • resourceTypes :: Maybe (NonEmpty ResourceTypeValues)

    [Snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

  • schedules :: Maybe (NonEmpty Schedule)

    [Snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.

  • targetTags :: Maybe (NonEmpty Tag)

    [Snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.

Instances

Instances details
FromJSON PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

ToJSON PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Generic PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Associated Types

type Rep PolicyDetails :: Type -> Type #

Read PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Show PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

NFData PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Methods

rnf :: PolicyDetails -> () #

Eq PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Hashable PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

type Rep PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

newPolicyDetails :: PolicyDetails Source #

Create a value of PolicyDetails 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:actions:PolicyDetails', policyDetails_actions - [Event-based policies only] The actions to be performed when the event-based policy is activated. You can specify only one action per policy.

$sel:eventSource:PolicyDetails', policyDetails_eventSource - [Event-based policies only] The event that activates the event-based policy.

PolicyDetails, policyDetails_parameters - [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.

If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.

$sel:policyType:PolicyDetails', policyDetails_policyType - [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.

The default is EBS_SNAPSHOT_MANAGEMENT.

$sel:resourceLocations:PolicyDetails', policyDetails_resourceLocations - [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST.

If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.

$sel:resourceTypes:PolicyDetails', policyDetails_resourceTypes - [Snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

$sel:schedules:PolicyDetails', policyDetails_schedules - [Snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.

$sel:targetTags:PolicyDetails', policyDetails_targetTags - [Snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.

policyDetails_actions :: Lens' PolicyDetails (Maybe (NonEmpty Action)) Source #

[Event-based policies only] The actions to be performed when the event-based policy is activated. You can specify only one action per policy.

policyDetails_eventSource :: Lens' PolicyDetails (Maybe EventSource) Source #

[Event-based policies only] The event that activates the event-based policy.

policyDetails_parameters :: Lens' PolicyDetails (Maybe Parameters) Source #

[Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.

If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.

policyDetails_policyType :: Lens' PolicyDetails (Maybe PolicyTypeValues) Source #

[All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.

The default is EBS_SNAPSHOT_MANAGEMENT.

policyDetails_resourceLocations :: Lens' PolicyDetails (Maybe (NonEmpty ResourceLocationValues)) Source #

[Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST.

If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.

policyDetails_resourceTypes :: Lens' PolicyDetails (Maybe (NonEmpty ResourceTypeValues)) Source #

[Snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

policyDetails_schedules :: Lens' PolicyDetails (Maybe (NonEmpty Schedule)) Source #

[Snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.

policyDetails_targetTags :: Lens' PolicyDetails (Maybe (NonEmpty Tag)) Source #

[Snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.

RetainRule

data RetainRule Source #

[Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs created by AMI policies.

For snapshot policies that have an ArchiveRule, this retention rule applies to standard tier retention. When the retention threshold is met, snapshots are moved from the standard to the archive tier.

For snapshot policies that do not have an ArchiveRule, snapshots are permanently deleted when this retention threshold is met.

You can retain snapshots based on either a count or a time interval.

  • Count-based retention

    You must specify Count. If you specify an ArchiveRule for the schedule, then you can specify a retention count of 0 to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention count of 1 or more.

  • Age-based retention

    You must specify Interval and IntervalUnit. If you specify an ArchiveRule for the schedule, then you can specify a retention interval of 0 days to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention interval of 1 day or more.

See: newRetainRule smart constructor.

Constructors

RetainRule' 

Fields

  • count :: Maybe Natural

    The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to retain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

  • interval :: Maybe Natural

    The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify Interval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for 3 months, it is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

Instances

Instances details
FromJSON RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

ToJSON RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Generic RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Associated Types

type Rep RetainRule :: Type -> Type #

Read RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Show RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

NFData RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Methods

rnf :: RetainRule -> () #

Eq RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Hashable RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

type Rep RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

type Rep RetainRule = D1 ('MetaData "RetainRule" "Amazonka.DLM.Types.RetainRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "RetainRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)))))

newRetainRule :: RetainRule Source #

Create a value of RetainRule 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:count:RetainRule', retainRule_count - The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to retain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

$sel:interval:RetainRule', retainRule_interval - The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

$sel:intervalUnit:RetainRule', retainRule_intervalUnit - The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify Interval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for 3 months, it is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

retainRule_count :: Lens' RetainRule (Maybe Natural) Source #

The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to retain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

retainRule_interval :: Lens' RetainRule (Maybe Natural) Source #

The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

retainRule_intervalUnit :: Lens' RetainRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify Interval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for 3 months, it is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.

RetentionArchiveTier

data RetentionArchiveTier Source #

[Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive retention threshold is met, the snapshots are permanently deleted from the archive tier.

The archive retention rule must retain snapshots in the archive tier for a minimum of 90 days.

For count-based schedules, you must specify Count. For age-based schedules, you must specify Interval and IntervalUnit.

For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.

See: newRetentionArchiveTier smart constructor.

Constructors

RetentionArchiveTier' 

Fields

  • count :: Maybe Natural

    The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.

  • interval :: Maybe Natural

    Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.

Instances

Instances details
FromJSON RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

ToJSON RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

Generic RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

Associated Types

type Rep RetentionArchiveTier :: Type -> Type #

Read RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

Show RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

NFData RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

Methods

rnf :: RetentionArchiveTier -> () #

Eq RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

Hashable RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

type Rep RetentionArchiveTier Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionArchiveTier

type Rep RetentionArchiveTier = D1 ('MetaData "RetentionArchiveTier" "Amazonka.DLM.Types.RetentionArchiveTier" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "RetentionArchiveTier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)))))

newRetentionArchiveTier :: RetentionArchiveTier Source #

Create a value of RetentionArchiveTier 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:count:RetentionArchiveTier', retentionArchiveTier_count - The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.

$sel:interval:RetentionArchiveTier', retentionArchiveTier_interval - Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.

$sel:intervalUnit:RetentionArchiveTier', retentionArchiveTier_intervalUnit - The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.

retentionArchiveTier_count :: Lens' RetentionArchiveTier (Maybe Natural) Source #

The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.

retentionArchiveTier_interval :: Lens' RetentionArchiveTier (Maybe Natural) Source #

Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.

retentionArchiveTier_intervalUnit :: Lens' RetentionArchiveTier (Maybe RetentionIntervalUnitValues) Source #

The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.

Schedule

data Schedule Source #

[Snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI lifecycle policy.

See: newSchedule smart constructor.

Constructors

Schedule' 

Fields

  • archiveRule :: Maybe ArchiveRule

    [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.

    For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.

  • copyTags :: Maybe Bool

    Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

  • createRule :: Maybe CreateRule

    The creation rule.

  • crossRegionCopyRules :: Maybe [CrossRegionCopyRule]

    Specifies a rule for copying snapshots or AMIs across regions.

    You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.

  • deprecateRule :: Maybe DeprecateRule

    [AMI policies only] The AMI deprecation rule for the schedule.

  • fastRestoreRule :: Maybe FastRestoreRule

    [Snapshot policies only] The rule for enabling fast snapshot restore.

  • name :: Maybe Text

    The name of the schedule.

  • retainRule :: Maybe RetainRule

    The retention rule for snapshots or AMIs created by the policy.

  • shareRules :: Maybe [ShareRule]

    [Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.

  • tagsToAdd :: Maybe [Tag]

    The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.

  • variableTags :: Maybe [Tag]

    [AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.

Instances

Instances details
FromJSON Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

ToJSON Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Generic Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Associated Types

type Rep Schedule :: Type -> Type #

Methods

from :: Schedule -> Rep Schedule x #

to :: Rep Schedule x -> Schedule #

Read Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Show Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

NFData Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Methods

rnf :: Schedule -> () #

Eq Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Hashable Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Methods

hashWithSalt :: Int -> Schedule -> Int #

hash :: Schedule -> Int #

type Rep Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

type Rep Schedule = D1 ('MetaData "Schedule" "Amazonka.DLM.Types.Schedule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "Schedule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "archiveRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ArchiveRule)) :*: S1 ('MetaSel ('Just "copyTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "createRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateRule)) :*: (S1 ('MetaSel ('Just "crossRegionCopyRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CrossRegionCopyRule])) :*: S1 ('MetaSel ('Just "deprecateRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeprecateRule))))) :*: ((S1 ('MetaSel ('Just "fastRestoreRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FastRestoreRule)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retainRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetainRule)))) :*: (S1 ('MetaSel ('Just "shareRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ShareRule])) :*: (S1 ('MetaSel ('Just "tagsToAdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "variableTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

newSchedule :: Schedule Source #

Create a value of Schedule 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:archiveRule:Schedule', schedule_archiveRule - [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.

For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.

Schedule, schedule_copyTags - Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

$sel:createRule:Schedule', schedule_createRule - The creation rule.

$sel:crossRegionCopyRules:Schedule', schedule_crossRegionCopyRules - Specifies a rule for copying snapshots or AMIs across regions.

You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.

Schedule, schedule_deprecateRule - [AMI policies only] The AMI deprecation rule for the schedule.

$sel:fastRestoreRule:Schedule', schedule_fastRestoreRule - [Snapshot policies only] The rule for enabling fast snapshot restore.

$sel:name:Schedule', schedule_name - The name of the schedule.

Schedule, schedule_retainRule - The retention rule for snapshots or AMIs created by the policy.

$sel:shareRules:Schedule', schedule_shareRules - [Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.

$sel:tagsToAdd:Schedule', schedule_tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.

$sel:variableTags:Schedule', schedule_variableTags - [AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.

schedule_archiveRule :: Lens' Schedule (Maybe ArchiveRule) Source #

[Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.

For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.

schedule_copyTags :: Lens' Schedule (Maybe Bool) Source #

Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

schedule_crossRegionCopyRules :: Lens' Schedule (Maybe [CrossRegionCopyRule]) Source #

Specifies a rule for copying snapshots or AMIs across regions.

You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.

schedule_deprecateRule :: Lens' Schedule (Maybe DeprecateRule) Source #

[AMI policies only] The AMI deprecation rule for the schedule.

schedule_fastRestoreRule :: Lens' Schedule (Maybe FastRestoreRule) Source #

[Snapshot policies only] The rule for enabling fast snapshot restore.

schedule_name :: Lens' Schedule (Maybe Text) Source #

The name of the schedule.

schedule_retainRule :: Lens' Schedule (Maybe RetainRule) Source #

The retention rule for snapshots or AMIs created by the policy.

schedule_shareRules :: Lens' Schedule (Maybe [ShareRule]) Source #

[Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.

schedule_tagsToAdd :: Lens' Schedule (Maybe [Tag]) Source #

The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.

schedule_variableTags :: Lens' Schedule (Maybe [Tag]) Source #

[AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.

ShareRule

data ShareRule Source #

[Snapshot policies only] Specifies a rule for sharing snapshots across Amazon Web Services accounts.

See: newShareRule smart constructor.

Constructors

ShareRule' 

Fields

Instances

Instances details
FromJSON ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

ToJSON ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Generic ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Associated Types

type Rep ShareRule :: Type -> Type #

Read ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Show ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

NFData ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Methods

rnf :: ShareRule -> () #

Eq ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Hashable ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

type Rep ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

type Rep ShareRule = D1 ('MetaData "ShareRule" "Amazonka.DLM.Types.ShareRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "ShareRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unshareInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "unshareIntervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)) :*: S1 ('MetaSel ('Just "targetAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newShareRule Source #

Create a value of ShareRule 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:unshareInterval:ShareRule', shareRule_unshareInterval - The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

$sel:unshareIntervalUnit:ShareRule', shareRule_unshareIntervalUnit - The unit of time for the automatic unsharing interval.

$sel:targetAccounts:ShareRule', shareRule_targetAccounts - The IDs of the Amazon Web Services accounts with which to share the snapshots.

shareRule_unshareInterval :: Lens' ShareRule (Maybe Natural) Source #

The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

shareRule_unshareIntervalUnit :: Lens' ShareRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time for the automatic unsharing interval.

shareRule_targetAccounts :: Lens' ShareRule (NonEmpty Text) Source #

The IDs of the Amazon Web Services accounts with which to share the snapshots.

Tag

data Tag Source #

Specifies a tag for a resource.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.DLM.Types.Tag" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The tag key.

$sel:value:Tag', tag_value - The tag value.

tag_key :: Lens' Tag Text Source #

The tag key.

tag_value :: Lens' Tag Text Source #

The tag value.