Skip to content

Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket

Description

Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.

Permissions

You must have the s3tables:PutTableBucketMaintenanceConfiguration permission to use this operation.

Usage

s3tables_put_table_bucket_maintenance_configuration(tableBucketARN,
  type, value)

Arguments

  • tableBucketARN

    [required] The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

  • type

    [required] The type of the maintenance configuration.

  • value

    [required] Defines the values of the maintenance configuration for the table bucket.

Value

An empty list.

Request syntax

svc$put_table_bucket_maintenance_configuration(
  tableBucketARN = "string",
  type = "icebergUnreferencedFileRemoval",
  value = list(
    status = "enabled"|"disabled",
    settings = list(
      icebergUnreferencedFileRemoval = list(
        unreferencedDays = 123,
        nonCurrentDays = 123
      )
    )
  )
)