put_table_maintenance_configuration
¶
put_table_maintenance_configuration(
table_bucket_arn: TableBucketARN,
namespace: NamespaceName,
name: TableName,
type: TableMaintenanceType,
value: TableMaintenanceConfigurationValue,
*,
config_overrides: Optional[S3TablesClientConfig] = None,
) -> None
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableMaintenanceConfigurationpermission to use this operation.
Parameters:
-
table_bucket_arn(TableBucketARN) –The Amazon Resource Name (ARN) of the table associated with the maintenance configuration.
-
namespace(NamespaceName) –The namespace of the table.
-
name(TableName) –The name of the table.
-
type(TableMaintenanceType) –The type of the maintenance configuration.
-
value(TableMaintenanceConfigurationValue) –Defines the values of the maintenance configuration for the table.
Raises:
-
BadRequestException–The request is invalid or malformed.
-
ConflictException–The request failed because there is a conflict with a previous 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.