v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14810260.6 KB

Updates the specified lifecycle policy.

For more information about updating a policy, see Modify lifecycle policies.

patch/policies/{policyId}

Path parameters

policyIdstring required

The identifier of the lifecycle policy.

Request body

ExecutionRoleArnstring

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

State'ENABLED' | 'DISABLED'

The desired activation state of the lifecycle policy after creation.

Descriptionstring

A description of the lifecycle policy.

Response

Success

UpdateLifecyclePolicyResponse required