Skip to content

Put Table Maintenance Configuration

s3tables_put_table_maintenance_configuration R Documentation

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

Description

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:PutTableMaintenanceConfiguration permission to use this operation.

Usage

s3tables_put_table_maintenance_configuration(tableBucketARN, namespace,
  name, type, value)

Arguments

tableBucketARN

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

namespace

[required] The namespace of the table.

name

[required] The name of the maintenance configuration.

type

[required] The type of the maintenance configuration.

value

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

Value

An empty list.

Request syntax

svc$put_table_maintenance_configuration(
  tableBucketARN = "string",
  namespace = "string",
  name = "string",
  type = "icebergCompaction"|"icebergSnapshotManagement",
  value = list(
    status = "enabled"|"disabled",
    settings = list(
      icebergCompaction = list(
        targetFileSizeMB = 123
      ),
      icebergSnapshotManagement = list(
        minSnapshotsToKeep = 123,
        maxSnapshotAgeHours = 123
      )
    )
  )
)