Skip to content

/AWS1/CL_DLM=>GETLIFECYCLEPOLICIES()

About GetLifecyclePolicies

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

To get complete information about a policy, use GetLifecyclePolicy.

Method Signature

IMPORTING

Optional arguments:

IT_POLICYIDS TYPE /AWS1/CL_DLMPOLICYIDLIST_W=>TT_POLICYIDLIST TT_POLICYIDLIST

The identifiers of the data lifecycle policies.

IV_STATE TYPE /AWS1/DLMGETTBLPLYSTATEVALUES /AWS1/DLMGETTBLPLYSTATEVALUES

The activation state.

IT_RESOURCETYPES TYPE /AWS1/CL_DLMRESRCTYPEVALSLST_W=>TT_RESOURCETYPEVALUESLIST TT_RESOURCETYPEVALUESLIST

The resource type.

IT_TARGETTAGS TYPE /AWS1/CL_DLMTGTTAGSFILTLIST_W=>TT_TARGETTAGSFILTERLIST TT_TARGETTAGSFILTERLIST

The target tag for a policy.

Tags are strings in the format key=value.

IT_TAGSTOADD TYPE /AWS1/CL_DLMTGSTOADDFILTLIST_W=>TT_TAGSTOADDFILTERLIST TT_TAGSTOADDFILTERLIST

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.

IV_DEFAULTPOLICYTYPE TYPE /AWS1/DLMDEFAULTPOLTYPEVALUES /AWS1/DLMDEFAULTPOLTYPEVALUES

[Default policies only] Specifies the type of default policy to get. Specify one of the following:

  • VOLUME - To get only the default policy for EBS snapshots

  • INSTANCE - To get only the default policy for EBS-backed AMIs

  • ALL - To get all default policies

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DLMGETLCPOLRESPONSE /AWS1/CL_DLMGETLCPOLRESPONSE