PutBucketIntelligentTieringConfiguration
Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.
The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.
If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to
PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access tier.
Special Errors
-
HTTP 400 Bad Request Error
-
Code: InvalidArgument
-
Cause: Invalid Argument
-
-
HTTP 400 Bad Request Error
-
Code: TooManyConfigurations
-
Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
-
-
HTTP 403 Forbidden Error
-
Code: AccessDenied
-
Cause: You are not the owner of the specified bucket, or you do not have the
s3:PutIntelligentTieringConfiguration
bucket permission to set the configuration on the bucket.
-
Request Syntax
PUT /?intelligent-tiering&id=Id
HTTP/1.1
Host: Bucket
.s3.amazonaws.com
<?xml version="1.0" encoding="UTF-8"?>
<IntelligentTieringConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Id>string
</Id>
<Filter>
<And>
<Prefix>string
</Prefix>
<Tag>
<Key>string
</Key>
<Value>string
</Value>
</Tag>
...
</And>
<Prefix>string
</Prefix>
<Tag>
<Key>string
</Key>
<Value>string
</Value>
</Tag>
</Filter>
<Status>string
</Status>
<Tiering>
<AccessTier>string
</AccessTier>
<Days>integer
</Days>
</Tiering>
...
</IntelligentTieringConfiguration>
URI Request Parameters
The request uses the following URI parameters.
Request Body
The request accepts the following data in XML format.
- IntelligentTieringConfiguration
-
Root level tag for the IntelligentTieringConfiguration parameters.
Required: Yes
- Filter
-
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
Type: IntelligentTieringFilter data type
Required: No
- Id
-
The ID used to identify the S3 Intelligent-Tiering configuration.
Type: String
Required: Yes
- Status
-
Specifies the status of the configuration.
Type: String
Valid Values:
Enabled | Disabled
Required: Yes
- Tiering
-
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
Type: Array of Tiering data types
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: