S3Tables / Client / put_table_bucket_storage_class
put_table_bucket_storage_class¶
- S3Tables.Client.put_table_bucket_storage_class(**kwargs)¶
Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.
Permissions
You must have the
s3tables:PutTableBucketStorageClasspermission to use this operation.See also: AWS API Documentation
Request Syntax
response = client.put_table_bucket_storage_class( tableBucketARN='string', storageClassConfiguration={ 'storageClass': 'STANDARD'|'INTELLIGENT_TIERING' } )
- Parameters:
tableBucketARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the table bucket.
storageClassConfiguration (dict) –
[REQUIRED]
The storage class configuration to apply to the table bucket. This configuration will serve as the default for new tables created in this bucket.
storageClass (string) – [REQUIRED]
The storage class for the table or table bucket. Valid values include storage classes optimized for different access patterns and cost profiles.
- Returns:
None
Exceptions
S3Tables.Client.exceptions.InternalServerErrorExceptionS3Tables.Client.exceptions.ForbiddenExceptionS3Tables.Client.exceptions.NotFoundExceptionS3Tables.Client.exceptions.TooManyRequestsExceptionS3Tables.Client.exceptions.ConflictExceptionS3Tables.Client.exceptions.BadRequestException