The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.
The DefaultRetention settings require both a mode and a period.
The DefaultRetention period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.
Type: objectProperties: 0
Cloud StorageObject StorageStorage
S3 Defaultretention Structure is a JSON Structure definition published by Amazon S3 API. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"title": "DefaultRetention",
"type": "object",
"description": "<p>The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.</p> <note> <ul> <li> <p>The <code>DefaultRetention</code> settings require both a mode and a period.</p> </li> <li> <p>The <code>DefaultRetention</code> period can be either <code>Days</code> or <code>Years</code> but you must select one. You cannot specify <code>Days</code> and <code>Years</code> at the same time.</p> </li> </ul> </note>",
"fields": [
{
"name": "Mode",
"type": "string"
},
{
"name": "Days",
"type": "string"
},
{
"name": "Years",
"type": "string"
}
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.