GetLifecyclePolicy - Amazon Data Lifecycle Manager


Gets detailed information about the specified lifecycle policy.

Request Syntax

GET /policies/policyId/ HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.


The identifier of the lifecycle policy.

Length Constraints: Minimum length of 0. Maximum length of 64.

Pattern: policy-[A-Za-z0-9]+

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Policy": { "DateCreated": number, "DateModified": number, "Description": "string", "ExecutionRoleArn": "string", "PolicyArn": "string", "PolicyDetails": { "Parameters": { "ExcludeBootVolume": boolean, "NoReboot": boolean }, "PolicyType": "string", "ResourceTypes": [ "string" ], "Schedules": [ { "CopyTags": boolean, "CreateRule": { "CronExpression": "string", "Interval": number, "IntervalUnit": "string", "Times": [ "string" ] }, "CrossRegionCopyRules": [ { "CmkArn": "string", "CopyTags": boolean, "Encrypted": boolean, "RetainRule": { "Interval": number, "IntervalUnit": "string" }, "TargetRegion": "string" } ], "FastRestoreRule": { "AvailabilityZones": [ "string" ], "Count": number, "Interval": number, "IntervalUnit": "string" }, "Name": "string", "RetainRule": { "Count": number, "Interval": number, "IntervalUnit": "string" }, "TagsToAdd": [ { "Key": "string", "Value": "string" } ], "VariableTags": [ { "Key": "string", "Value": "string" } ] } ], "TargetTags": [ { "Key": "string", "Value": "string" } ] }, "PolicyId": "string", "State": "string", "StatusMessage": "string", "Tags": { "string" : "string" } } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Detailed information about the lifecycle policy.

Type: LifecyclePolicy object


For information about the errors that are common to all actions, see Common Errors.


The service failed in an unexpected way.

HTTP Status Code: 500


The request failed because a limit was exceeded.

HTTP Status Code: 429


A requested resource was not found.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: