put_table_bucket_storage_class
async
¶
put_table_bucket_storage_class(
table_bucket_arn: TableBucketARN,
storage_class_configuration: StorageClassConfiguration,
*,
config_overrides: Optional[AsyncS3TablesClientConfig] = None,
) -> None
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.
Parameters:
-
table_bucket_arn(TableBucketARN) –The Amazon Resource Name (ARN) of the table bucket.
-
storage_class_configuration(StorageClassConfiguration) –The storage class configuration to apply to the table bucket. This configuration will serve as the default for new tables created in this bucket.
Raises:
-
BadRequestException–The request is invalid or malformed.
-
ConflictException–The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
-
ForbiddenException–The caller isn't authorized to make the request.
-
InternalServerErrorException–The request failed due to an internal server error.
-
NotFoundException–The request was rejected because the specified resource could not be found.
-
TooManyRequestsException–The limit on the number of requests per second was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.