libZSservicesZSamazonka-dlmZSamazonka-dlm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DLM.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service failed in an unexpected way.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A requested resource was not found.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request failed because a limit was exceeded.

EventSourceValues

newtype EventSourceValues Source #

Instances

Instances details
Eq EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Ord EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Read EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

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

NFData EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

Methods

rnf :: EventSourceValues -> () #

Hashable 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

FromJSON EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

FromJSONKey EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToLog EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToHeader EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

ToQuery 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

ToByteString 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

type Rep EventSourceValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSourceValues

type Rep EventSourceValues = D1 ('MetaData "EventSourceValues" "Amazonka.DLM.Types.EventSourceValues" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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
Eq EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Ord EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Read EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Show EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Generic EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Associated Types

type Rep EventTypeValues :: Type -> Type #

NFData EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

Methods

rnf :: EventTypeValues -> () #

Hashable 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

FromJSON EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

FromJSONKey EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToLog EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

ToHeader EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

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

ToByteString 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

type Rep EventTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.EventTypeValues

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

GettablePolicyStateValues

newtype GettablePolicyStateValues Source #

Instances

Instances details
Eq GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Ord GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Read GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

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

NFData GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

Hashable 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

FromJSON GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

FromJSONKey GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToLog GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToHeader GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

ToQuery 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

ToByteString 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

type Rep GettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.GettablePolicyStateValues

type Rep GettablePolicyStateValues = D1 ('MetaData "GettablePolicyStateValues" "Amazonka.DLM.Types.GettablePolicyStateValues" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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
Eq IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Ord IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Read IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

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

NFData IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

Methods

rnf :: IntervalUnitValues -> () #

Hashable 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

FromJSON IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

FromJSONKey IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToLog IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToHeader IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

ToQuery 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

ToByteString 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

type Rep IntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.IntervalUnitValues

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

LocationValues

newtype LocationValues Source #

Constructors

LocationValues' 

Instances

Instances details
Eq LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Ord LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Read LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Show LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Generic LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Associated Types

type Rep LocationValues :: Type -> Type #

NFData LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

Methods

rnf :: LocationValues -> () #

Hashable 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

FromJSON LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

FromJSONKey LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToLog LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

ToHeader LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

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

ToByteString 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

type Rep LocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.LocationValues

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

PolicyTypeValues

newtype PolicyTypeValues Source #

Instances

Instances details
Eq PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Ord PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Read PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

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

NFData PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

Methods

rnf :: PolicyTypeValues -> () #

Hashable 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

FromJSON PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

FromJSONKey PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToLog PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToHeader PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

ToQuery 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

ToByteString 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

type Rep PolicyTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyTypeValues

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

ResourceLocationValues

newtype ResourceLocationValues Source #

Instances

Instances details
Eq ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Ord ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Read ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

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

NFData ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

Methods

rnf :: ResourceLocationValues -> () #

Hashable 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

FromJSON ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

FromJSONKey ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToLog ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToHeader ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

ToQuery 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

ToByteString 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

type Rep ResourceLocationValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceLocationValues

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

ResourceTypeValues

newtype ResourceTypeValues Source #

Instances

Instances details
Eq ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Ord ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Read ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

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

NFData ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

Methods

rnf :: ResourceTypeValues -> () #

Hashable 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

FromJSON ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

FromJSONKey ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToLog ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToHeader ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

ToQuery 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

ToByteString 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

type Rep ResourceTypeValues Source # 
Instance details

Defined in Amazonka.DLM.Types.ResourceTypeValues

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

RetentionIntervalUnitValues

newtype RetentionIntervalUnitValues Source #

Instances

Instances details
Eq RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Ord RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Read RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

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

NFData RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

Hashable 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

FromJSON RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

FromJSONKey RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToLog RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToHeader RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

ToQuery 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

ToByteString 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

type Rep RetentionIntervalUnitValues Source # 
Instance details

Defined in Amazonka.DLM.Types.RetentionIntervalUnitValues

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

SettablePolicyStateValues

newtype SettablePolicyStateValues Source #

Instances

Instances details
Eq SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Ord SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Read SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

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

NFData SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

Hashable 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

FromJSON SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

FromJSONKey SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToLog SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToHeader SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

ToQuery 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

ToByteString 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

type Rep SettablePolicyStateValues Source # 
Instance details

Defined in Amazonka.DLM.Types.SettablePolicyStateValues

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

Action

data Action Source #

Specifies an action for an event-based policy.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
Eq Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

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

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

Read Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

NFData Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

FromJSON Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

type Rep Action Source # 
Instance details

Defined in Amazonka.DLM.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.DLM.Types.Action" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "crossRegionCopy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CrossRegionCopyAction])))

newAction Source #

Create a value of Action with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:Action', action_name - A descriptive name for the action.

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

action_name :: Lens' Action Text Source #

A descriptive name for the action.

action_crossRegionCopy :: Lens' Action [CrossRegionCopyAction] Source #

The rule for copying shared snapshots across Regions.

CreateRule

data CreateRule Source #

Specifies when to create snapshots of EBS volumes.

You must specify either a Cron expression or an interval, interval unit, and start time. You cannot specify both.

See: newCreateRule smart constructor.

Constructors

CreateRule' 

Fields

  • location :: Maybe LocationValues

    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.

  • interval :: Maybe Natural

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

  • 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.

  • 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 DLM selects a time within the next 24 hours.

  • intervalUnit :: Maybe IntervalUnitValues

    The interval unit.

Instances

Instances details
Eq CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Read CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

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

NFData CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

Methods

rnf :: CreateRule -> () #

Hashable CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

ToJSON CreateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CreateRule

FromJSON 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:location:CreateRule', createRule_location - 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:interval:CreateRule', createRule_interval - The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

$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: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 DLM selects a time within the next 24 hours.

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

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

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_interval :: Lens' CreateRule (Maybe Natural) Source #

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

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_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 DLM selects a time within the next 24 hours.

CrossRegionCopyAction

data CrossRegionCopyAction Source #

Specifies a rule for copying shared snapshots across Regions.

See: newCrossRegionCopyAction smart constructor.

Constructors

CrossRegionCopyAction' 

Fields

Instances

Instances details
Eq CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Read CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

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

NFData CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

Methods

rnf :: CrossRegionCopyAction -> () #

Hashable CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

ToJSON CrossRegionCopyAction Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyAction

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Specifies an AMI deprecation rule for cross-Region AMI copies created by a cross-Region copy rule.

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.

Instances

Instances details
Eq CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Read CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

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

NFData CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Hashable CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

ToJSON CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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.

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.

CrossRegionCopyRetainRule

data CrossRegionCopyRetainRule Source #

Specifies the retention rule for cross-Region snapshot copies.

See: newCrossRegionCopyRetainRule smart constructor.

Constructors

CrossRegionCopyRetainRule' 

Fields

Instances

Instances details
Eq CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Read CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

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

NFData CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Hashable CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

ToJSON CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 each snapshot. 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.

crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (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.

CrossRegionCopyRule

data CrossRegionCopyRule Source #

Specifies a rule for cross-Region snapshot copies.

See: newCrossRegionCopyRule smart constructor.

Constructors

CrossRegionCopyRule' 

Fields

  • deprecateRule :: Maybe CrossRegionCopyDeprecateRule

    The AMI deprecation rule for cross-Region AMI copies created by the rule.

  • 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.

  • copyTags :: Maybe Bool

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

  • 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.

  • retainRule :: Maybe CrossRegionCopyRetainRule

    The retention rule that indicates how long snapshot 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.

  • 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
Eq CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Read CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

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

NFData CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

Methods

rnf :: CrossRegionCopyRule -> () #

Hashable CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

ToJSON CrossRegionCopyRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRule

FromJSON 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:deprecateRule:CrossRegionCopyRule', crossRegionCopyRule_deprecateRule - The AMI deprecation rule for cross-Region AMI copies created by the rule.

$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:copyTags:CrossRegionCopyRule', crossRegionCopyRule_copyTags - Indicates whether to copy all user-defined tags from the source snapshot to the cross-Region snapshot copy.

$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:retainRule:CrossRegionCopyRule', crossRegionCopyRule_retainRule - The retention rule that indicates how long snapshot 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: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_deprecateRule :: Lens' CrossRegionCopyRule (Maybe CrossRegionCopyDeprecateRule) Source #

The AMI deprecation rule for cross-Region AMI copies created by the rule.

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_copyTags :: Lens' CrossRegionCopyRule (Maybe Bool) Source #

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

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_retainRule :: Lens' CrossRegionCopyRule (Maybe CrossRegionCopyRetainRule) Source #

The retention rule that indicates how long snapshot 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_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 #

Specifies an AMI deprecation rule for a schedule.

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
Eq DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Read DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

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

NFData DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

Methods

rnf :: DeprecateRule -> () #

Hashable DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

ToJSON DeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.DeprecateRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Specifies the encryption settings for shared snapshots that are copied across Regions.

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
Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

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

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Specifies an event that triggers 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
Eq EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Read EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

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

NFData EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

Methods

rnf :: EventParameters -> () #

Hashable EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

ToJSON EventParameters Source # 
Instance details

Defined in Amazonka.DLM.Types.EventParameters

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Specifies an event that triggers an event-based policy.

See: newEventSource smart constructor.

Constructors

EventSource' 

Fields

Instances

Instances details
Eq EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Read EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

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

NFData EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Methods

rnf :: EventSource -> () #

Hashable EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

ToJSON EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Specifies a rule for enabling fast snapshot restore. 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
Eq FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Read FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

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

NFData FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Methods

rnf :: FastRestoreRule -> () #

Hashable FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

ToJSON FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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 #

Detailed information about a lifecycle policy.

See: newLifecyclePolicy smart constructor.

Constructors

LifecyclePolicy' 

Fields

Instances

Instances details
Eq LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Read LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

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

NFData LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

Methods

rnf :: LifecyclePolicy -> () #

Hashable LifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicy

FromJSON 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:state:LifecyclePolicy', lifecyclePolicy_state - The activation state of the lifecycle policy.

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

$sel:policyId:LifecyclePolicy', lifecyclePolicy_policyId - The identifier 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:dateCreated:LifecyclePolicy', lifecyclePolicy_dateCreated - The local date and time when the lifecycle policy was created.

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

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

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

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

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

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

The activation state of the lifecycle 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_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_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_policyArn :: Lens' LifecyclePolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

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

The description of the lifecycle policy.

LifecyclePolicySummary

data LifecyclePolicySummary Source #

Summary information about a lifecycle policy.

See: newLifecyclePolicySummary smart constructor.

Constructors

LifecyclePolicySummary' 

Fields

Instances

Instances details
Eq LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Read LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

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

NFData LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

Methods

rnf :: LifecyclePolicySummary -> () #

Hashable LifecyclePolicySummary Source # 
Instance details

Defined in Amazonka.DLM.Types.LifecyclePolicySummary

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "LifecyclePolicySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GettablePolicyStateValues)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyTypeValues)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:state:LifecyclePolicySummary', lifecyclePolicySummary_state - The activation state 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.

$sel:description:LifecyclePolicySummary', lifecyclePolicySummary_description - The description 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.

Parameters

data Parameters Source #

Specifies optional parameters to add to a policy. The set of valid parameters depends on the combination of policy type and resource type.

See: newParameters smart constructor.

Constructors

Parameters' 

Fields

  • noReboot :: Maybe Bool

    Applies to AMI lifecycle 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).

  • excludeBootVolume :: Maybe Bool
    EBS Snapshot Management – Instance policies only
    Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.

Instances

Instances details
Eq Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Read Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

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

NFData Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Methods

rnf :: Parameters -> () #

Hashable Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

ToJSON Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "Parameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "noReboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "excludeBootVolume") '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:noReboot:Parameters', parameters_noReboot - Applies to AMI lifecycle 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).

$sel:excludeBootVolume:Parameters', parameters_excludeBootVolume - [EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.

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

Applies to AMI lifecycle 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 #

EBS Snapshot Management – Instance policies only
Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.

PolicyDetails

data PolicyDetails Source #

Specifies the configuration of a lifecycle policy.

See: newPolicyDetails smart constructor.

Constructors

PolicyDetails' 

Fields

  • actions :: Maybe (NonEmpty Action)

    The actions to be performed when the event-based policy is triggered. You can specify only one action per policy.

    This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

  • targetTags :: Maybe (NonEmpty Tag)

    The single tag that identifies targeted resources for this policy.

    This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

  • policyType :: Maybe PolicyTypeValues

    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)

    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.

  • parameters :: Maybe Parameters

    A set of optional parameters for snapshot and AMI lifecycle policies.

    This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

  • schedules :: Maybe (NonEmpty Schedule)

    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.

    This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

  • eventSource :: Maybe EventSource

    The event that triggers the event-based policy.

    This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

  • resourceTypes :: Maybe (NonEmpty ResourceTypeValues)

    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.

    This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

Instances

Instances details
Eq PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Read PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

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

NFData PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

Methods

rnf :: PolicyDetails -> () #

Hashable PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

ToJSON PolicyDetails Source # 
Instance details

Defined in Amazonka.DLM.Types.PolicyDetails

FromJSON 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 - The actions to be performed when the event-based policy is triggered. You can specify only one action per policy.

This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

$sel:targetTags:PolicyDetails', policyDetails_targetTags - The single tag that identifies targeted resources for this policy.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

$sel:policyType:PolicyDetails', policyDetails_policyType - 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 - 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:parameters:PolicyDetails', policyDetails_parameters - A set of optional parameters for snapshot and AMI lifecycle policies.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

$sel:schedules:PolicyDetails', policyDetails_schedules - 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.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

$sel:eventSource:PolicyDetails', policyDetails_eventSource - The event that triggers the event-based policy.

This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

$sel:resourceTypes:PolicyDetails', policyDetails_resourceTypes - 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.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

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

The actions to be performed when the event-based policy is triggered. You can specify only one action per policy.

This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

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

The single tag that identifies targeted resources for this policy.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

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

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 #

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_parameters :: Lens' PolicyDetails (Maybe Parameters) Source #

A set of optional parameters for snapshot and AMI lifecycle policies.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

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

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.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

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

The event that triggers the event-based policy.

This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.

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

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.

This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.

RetainRule

data RetainRule Source #

Specifies the retention rule for a lifecycle policy. You can retain snapshots based on either a count or a time interval.

See: newRetainRule smart constructor.

Constructors

RetainRule' 

Fields

Instances

Instances details
Eq RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Read RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

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

NFData RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

Methods

rnf :: RetainRule -> () #

Hashable RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

ToJSON RetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.RetainRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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.

$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.

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

The number of snapshots to retain for each volume, up to a maximum of 1000.

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.

Schedule

data Schedule Source #

Specifies a backup schedule for a snapshot or AMI lifecycle policy.

See: newSchedule smart constructor.

Constructors

Schedule' 

Fields

  • variableTags :: Maybe [Tag]

    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.

  • createRule :: Maybe CreateRule

    The creation rule.

  • deprecateRule :: Maybe DeprecateRule

    The AMI deprecation rule for the schedule.

  • copyTags :: Maybe Bool

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

  • name :: Maybe Text

    The name of the schedule.

  • shareRules :: Maybe [ShareRule]

    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.

  • retainRule :: Maybe RetainRule

    The retention rule.

  • crossRegionCopyRules :: Maybe [CrossRegionCopyRule]

    The rule for cross-Region snapshot copies.

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

  • fastRestoreRule :: Maybe FastRestoreRule

    The rule for enabling fast snapshot restore.

Instances

Instances details
Eq Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Read Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

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

NFData Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Methods

rnf :: Schedule -> () #

Hashable Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

Methods

hashWithSalt :: Int -> Schedule -> Int #

hash :: Schedule -> Int #

ToJSON Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

FromJSON Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

type Rep Schedule Source # 
Instance details

Defined in Amazonka.DLM.Types.Schedule

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:variableTags:Schedule', schedule_variableTags - 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.

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

$sel:deprecateRule:Schedule', schedule_deprecateRule - The AMI deprecation rule for the schedule.

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

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

$sel:shareRules:Schedule', schedule_shareRules - 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:retainRule:Schedule', schedule_retainRule - The retention rule.

$sel:crossRegionCopyRules:Schedule', schedule_crossRegionCopyRules - The rule for cross-Region snapshot copies.

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

$sel:fastRestoreRule:Schedule', schedule_fastRestoreRule - The rule for enabling fast snapshot restore.

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

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_deprecateRule :: Lens' Schedule (Maybe DeprecateRule) Source #

The AMI deprecation rule for the schedule.

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_name :: Lens' Schedule (Maybe Text) Source #

The name of the schedule.

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

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_crossRegionCopyRules :: Lens' Schedule (Maybe [CrossRegionCopyRule]) Source #

The rule for cross-Region snapshot copies.

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

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

The rule for enabling fast snapshot restore.

ShareRule

data ShareRule Source #

Specifies a rule for sharing snapshots across Amazon Web Services accounts.

See: newShareRule smart constructor.

Constructors

ShareRule' 

Fields

Instances

Instances details
Eq ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Read ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

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

NFData ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

Methods

rnf :: ShareRule -> () #

Hashable ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

ToJSON ShareRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ShareRule

FromJSON 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" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "ShareRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unshareIntervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues)) :*: (S1 ('MetaSel ('Just "unshareInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: 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:unshareIntervalUnit:ShareRule', shareRule_unshareIntervalUnit - The unit of time for the automatic unsharing interval.

$sel:unshareInterval:ShareRule', shareRule_unshareInterval - The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

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

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

The unit of time for the automatic unsharing interval.

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_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
Eq Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

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

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

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.DLM.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.DLM.Types.Tag" "libZSservicesZSamazonka-dlmZSamazonka-dlm" '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.