404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.136.11.217: ~ $
**Example 1: To enable a lifecycle policy**

The following ``update-lifecycle-policy`` example enables the specified lifecycle policy. ::

    aws dlm update-lifecycle-policy \
        --policy-id policy-0123456789abcdef0 \
        --state ENABLED

**Example 2: To disable a lifecycle policy**

The following ``update-lifecycle-policy`` example disables the specified lifecycle policy. ::

    aws dlm update-lifecycle-policy \
        --policy-id policy-0123456789abcdef0 \
        --state DISABLED

**Example 3: To update the details for lifecycle policy**

The following ``update-lifecycle-policy`` example updates the target tags for the specified lifecycle policy. ::

    aws dlm update-lifecycle-policy \
        --policy-id policy-0123456789abcdef0
        --policy-details file://policyDetails.json
  
Contents of ``policyDetails.json``. Other details not referenced in this file are not changed by the command. ::

    {
        "TargetTags": [
            {
                "Key": "costCenter",
                "Value": "120"
            },
            {
                "Key": "project",
                "Value": "lima"
            }
        ]  
    }

Filemanager

Name Type Size Permission Actions
create-default-role.rst File 521 B 0644
create-lifecycle-policy.rst File 1.54 KB 0644
delete-lifecycle-policy.rst File 170 B 0644
get-lifecycle-policies.rst File 399 B 0644
get-lifecycle-policy.rst File 1.65 KB 0644
update-lifecycle-policy.rst File 1.14 KB 0644