S3Tables / Client / put_table_bucket_maintenance_configuration
put_table_bucket_maintenance_configuration#
- S3Tables.Client.put_table_bucket_maintenance_configuration(**kwargs)#
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.
See also: AWS API Documentation
Request Syntax
response = client.put_table_bucket_maintenance_configuration( tableBucketARN='string', type='icebergUnreferencedFileRemoval', value={ 'status': 'enabled'|'disabled', 'settings': { 'icebergUnreferencedFileRemoval': { 'unreferencedDays': 123, 'nonCurrentDays': 123 } } } )
- Parameters:
tableBucketARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.
type (string) –
[REQUIRED]
The type of the maintenance configuration.
value (dict) –
[REQUIRED]
Defines the values of the maintenance configuration for the table bucket.
status (string) –
The status of the maintenance configuration.
settings (dict) –
Contains details about the settings of the maintenance configuration.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
icebergUnreferencedFileRemoval
.icebergUnreferencedFileRemoval (dict) –
The unreferenced file removal settings for the table bucket.
unreferencedDays (integer) –
The number of days an object has to be unreferenced before it is marked as non-current.
</p>
nonCurrentDays (integer) –
The number of days an object has to be non-current before it is deleted.
</p>
- Returns:
None
Exceptions