View a markdown version of this page

GetLifecyclePolicy - Amazon Data Lifecycle Manager

GetLifecyclePolicy

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.

policyId

The identifier of the lifecycle policy.

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

Pattern: policy-[a-f0-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": "string", "DateModified": "string", "DefaultPolicy": boolean, "Description": "string", "ExecutionRoleArn": "string", "PolicyArn": "string", "PolicyDetails": { "Actions": [ { "CrossRegionCopy": [ { "EncryptionConfiguration": { "CmkArn": "string", "Encrypted": boolean }, "RetainRule": { "Interval": number, "IntervalUnit": "string" }, "Target": "string" } ], "Name": "string" } ], "CopyTags": boolean, "CreateInterval": number, "CrossRegionCopyTargets": [ { "TargetRegion": "string" } ], "EventSource": { "Parameters": { "DescriptionRegex": "string", "EventType": "string", "SnapshotOwner": [ "string" ] }, "Type": "string" }, "Exclusions": { "ExcludeBootVolumes": boolean, "ExcludeTags": [ { "Key": "string", "Value": "string" } ], "ExcludeVolumeTypes": [ "string" ] }, "ExtendDeletion": boolean, "Parameters": { "ExcludeBootVolume": boolean, "ExcludeDataVolumeTags": [ { "Key": "