Difference between revisions of "Aws s3api get-bucket-lifecycle-configuration"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  [[aws s3api]] get-bucket-lifecycle-configuration --bucket-name NAME
 
  [[aws s3api]] get-bucket-lifecycle-configuration --bucket-name NAME
 +
 +
{
 +
    "Rules": [
 +
        {
 +
            "Expiration": {
 +
                "Days": 3652
 +
            },
 +
            "ID": "cleanup",
 +
            "Filter": {
 +
                "Prefix": ""
 +
            },
 +
            "Status": "Enabled",
 +
            "NoncurrentVersionExpiration": {
 +
                "NoncurrentDays": 1
 +
            }
 +
        }
 +
    ]
 +
}
 +
 +
  
 
  [[aws s3api]] get-bucket-lifecycle-configuration --bucket-name NAME
 
  [[aws s3api]] get-bucket-lifecycle-configuration --bucket-name NAME

Revision as of 10:35, 22 February 2022

aws s3api get-bucket-lifecycle-configuration --bucket-name NAME
{
    "Rules": [
        {
            "Expiration": {
                "Days": 3652
            },
            "ID": "cleanup",
            "Filter": {
                "Prefix": ""
            },
            "Status": "Enabled",
            "NoncurrentVersionExpiration": {
                "NoncurrentDays": 1
            }
        }
    ]
}


aws s3api get-bucket-lifecycle-configuration --bucket-name NAME
An error occurred (NoSuchLifecycleConfiguration) when calling the GetBucketLifecycleConfiguration operation: The lifecycle configuration does not exist

See also

Advertising: