Skip to content

Update Data Table Metadata

connect_update_data_table_metadata R Documentation

Updates the metadata properties of a data table

Description

Updates the metadata properties of a data table. Accepts all fields similar to CreateDataTable, except for fields and tags. There are no other granular update endpoints. It does not act as a patch operation - all properties must be provided or defaults will be used. Fields follow the same requirements as CreateDataTable.

Usage

connect_update_data_table_metadata(InstanceId, DataTableId, Name,
  Description, ValueLockLevel, TimeZone)

Arguments

InstanceId

[required] The unique identifier for the Amazon Connect instance.

DataTableId

[required] The unique identifier for the data table. Must also accept the table ARN with or without a version alias. If the version is provided as part of the identifier or ARN, the version must be $LATEST. Providing any other alias fails with an error.

Name

[required] The updated name for the data table. Must conform to Connect human readable string specification and have 1-127 characters. Must be unique for the instance using case-insensitive comparison.

Description

The updated description for the data table. Must conform to Connect human readable string specification and have 0-250 characters.

ValueLockLevel

[required] The updated value lock level for the data table. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE.

TimeZone

[required] The updated IANA timezone identifier to use when resolving time based dynamic values.

Value

A list with the following syntax:

list(
  LockVersion = list(
    DataTable = "string",
    Attribute = "string",
    PrimaryValues = "string",
    Value = "string"
  )
)

Request syntax

svc$update_data_table_metadata(
  InstanceId = "string",
  DataTableId = "string",
  Name = "string",
  Description = "string",
  ValueLockLevel = "NONE"|"DATA_TABLE"|"PRIMARY_VALUE"|"ATTRIBUTE"|"VALUE",
  TimeZone = "string"
)