Skip to content

Update Table Optimizer

glue_update_table_optimizer R Documentation

Updates the configuration for an existing table optimizer

Description

Updates the configuration for an existing table optimizer.

Usage

glue_update_table_optimizer(CatalogId, DatabaseName, TableName, Type,
  TableOptimizerConfiguration)

Arguments

CatalogId

[required] The Catalog ID of the table.

DatabaseName

[required] The name of the database in the catalog in which the table resides.

TableName

[required] The name of the table.

Type

[required] The type of table optimizer.

TableOptimizerConfiguration

[required] A TableOptimizerConfiguration object representing the configuration of a table optimizer.

Value

An empty list.

Request syntax

svc$update_table_optimizer(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Type = "compaction"|"retention"|"orphan_file_deletion",
  TableOptimizerConfiguration = list(
    roleArn = "string",
    enabled = TRUE|FALSE,
    vpcConfiguration = list(
      glueConnectionName = "string"
    ),
    retentionConfiguration = list(
      icebergConfiguration = list(
        snapshotRetentionPeriodInDays = 123,
        numberOfSnapshotsToRetain = 123,
        cleanExpiredFiles = TRUE|FALSE
      )
    ),
    orphanFileDeletionConfiguration = list(
      icebergConfiguration = list(
        orphanFileRetentionPeriodInDays = 123,
        location = "string"
      )
    )
  )
)