Skip to content

Creates a new data table with the specified properties

Description

Creates a new data table with the specified properties. Supports the creation of all table properties except for attributes and values. A table with no attributes and values is a valid state for a table. The number of tables per instance is limited to 100 per instance. Customers can request an increase by using Amazon Web Services Service Quotas.

Usage

connect_create_data_table(InstanceId, Name, Description, TimeZone,
  ValueLockLevel, Status, Tags)

Arguments

  • InstanceId

[required] The unique identifier for the Amazon Connect instance where the data table will be created.

  • Name

[required] The name for the data table. Must conform to Connect human readable string specification and have 1-127 characters. Whitespace must be trimmed first. Must not start with the reserved case insensitive values 'connect:' and 'aws:'. Must be unique for the instance using case-insensitive comparison.

  • Description

An optional description for the data table. Must conform to Connect human readable string specification and have 0-250 characters. Whitespace must be trimmed first.

  • TimeZone

[required] The IANA timezone identifier to use when resolving time based dynamic values. Required even if no time slices are specified.

  • ValueLockLevel

[required] The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. NONE is the default if unspecified. This determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.

  • Status

[required] The status of the data table. One of PUBLISHED or SAVED. Required parameter that determines the initial state of the table.

  • Tags

Key value pairs for attribute based access control (TBAC or ABAC). Optional tags to apply to the data table for organization and access control purposes.

Value

A list with the following syntax:

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

Request syntax

svc$create_data_table(
  InstanceId = "string",
  Name = "string",
  Description = "string",
  TimeZone = "string",
  ValueLockLevel = "NONE"|"DATA_TABLE"|"PRIMARY_VALUE"|"ATTRIBUTE"|"VALUE",
  Status = "PUBLISHED",
  Tags = list(
    "string"
  )
)