Skip to content

Update Table Metadata Location

s3tables_update_table_metadata_location R Documentation

Updates the metadata location for a table

Description

Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begins with the table's warehouse location. The metadata location for an Apache Iceberg table must end with .metadata.json, or if the metadata file is Gzip-compressed, .metadata.json.gz.

Permissions

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

Usage

s3tables_update_table_metadata_location(tableBucketARN, namespace, name,
  versionToken, metadataLocation)

Arguments

tableBucketARN

[required] The Amazon Resource Name (ARN) of the table bucket.

namespace

[required] The namespace of the table.

name

[required] The name of the table.

versionToken

[required] The version token of the table.

metadataLocation

[required] The new metadata location for the table.

Value

A list with the following syntax:

list(
  name = "string",
  tableARN = "string",
  namespace = list(
    "string"
  ),
  versionToken = "string",
  metadataLocation = "string"
)

Request syntax

svc$update_table_metadata_location(
  tableBucketARN = "string",
  namespace = "string",
  name = "string",
  versionToken = "string",
  metadataLocation = "string"
)