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

Description

 
Synopsis

Documentation

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.