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

Description

Gets summary information about all or the specified data lifecycle policies.

To get complete information about a policy, use GetLifecyclePolicy.

Synopsis

Creating a Request

data GetLifecyclePolicies Source #

See: newGetLifecyclePolicies smart constructor.

Constructors

GetLifecyclePolicies' 

Fields

Instances

Instances details
Eq GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Read GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Show GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Generic GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Associated Types

type Rep GetLifecyclePolicies :: Type -> Type #

NFData GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Methods

rnf :: GetLifecyclePolicies -> () #

Hashable GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

AWSRequest GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Associated Types

type AWSResponse GetLifecyclePolicies #

ToHeaders GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

ToPath GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

ToQuery GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

type Rep GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

type Rep GetLifecyclePolicies = D1 ('MetaData "GetLifecyclePolicies" "Amazonka.DLM.GetLifecyclePolicies" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "GetLifecyclePolicies'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GettablePolicyStateValues)) :*: S1 ('MetaSel ('Just "targetTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "tagsToAdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "policyIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourceTypeValues)))))))
type AWSResponse GetLifecyclePolicies Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

newGetLifecyclePolicies :: GetLifecyclePolicies Source #

Create a value of GetLifecyclePolicies 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:GetLifecyclePolicies', getLifecyclePolicies_state - The activation state.

$sel:targetTags:GetLifecyclePolicies', getLifecyclePolicies_targetTags - The target tag for a policy.

Tags are strings in the format key=value.

$sel:tagsToAdd:GetLifecyclePolicies', getLifecyclePolicies_tagsToAdd - The tags to add to objects created by the policy.

Tags are strings in the format key=value.

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

$sel:policyIds:GetLifecyclePolicies', getLifecyclePolicies_policyIds - The identifiers of the data lifecycle policies.

$sel:resourceTypes:GetLifecyclePolicies', getLifecyclePolicies_resourceTypes - The resource type.

Request Lenses

getLifecyclePolicies_targetTags :: Lens' GetLifecyclePolicies (Maybe (NonEmpty Text)) Source #

The target tag for a policy.

Tags are strings in the format key=value.

getLifecyclePolicies_tagsToAdd :: Lens' GetLifecyclePolicies (Maybe [Text]) Source #

The tags to add to objects created by the policy.

Tags are strings in the format key=value.

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

getLifecyclePolicies_policyIds :: Lens' GetLifecyclePolicies (Maybe [Text]) Source #

The identifiers of the data lifecycle policies.

Destructuring the Response

data GetLifecyclePoliciesResponse Source #

See: newGetLifecyclePoliciesResponse smart constructor.

Constructors

GetLifecyclePoliciesResponse' 

Fields

Instances

Instances details
Eq GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Read GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Show GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Generic GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

Associated Types

type Rep GetLifecyclePoliciesResponse :: Type -> Type #

NFData GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

type Rep GetLifecyclePoliciesResponse Source # 
Instance details

Defined in Amazonka.DLM.GetLifecyclePolicies

type Rep GetLifecyclePoliciesResponse = D1 ('MetaData "GetLifecyclePoliciesResponse" "Amazonka.DLM.GetLifecyclePolicies" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "GetLifecyclePoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecyclePolicySummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetLifecyclePoliciesResponse Source #

Create a value of GetLifecyclePoliciesResponse 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:policies:GetLifecyclePoliciesResponse', getLifecyclePoliciesResponse_policies - Summary information about the lifecycle policies.

$sel:httpStatus:GetLifecyclePoliciesResponse', getLifecyclePoliciesResponse_httpStatus - The response's http status code.

Response Lenses