Skip to content

/AWS1/CL_TSW=>CREATETABLE()

About CreateTable

Adds a new table to an existing database in your account. In an Amazon Web Services account, table names must be at least unique within each Region if they are in the same database. You might have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply. See code sample for details.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/TSWRESOURCECREATEAPINAME /AWS1/TSWRESOURCECREATEAPINAME

The name of the Timestream database.

IV_TABLENAME TYPE /AWS1/TSWRESOURCECREATEAPINAME /AWS1/TSWRESOURCECREATEAPINAME

The name of the Timestream table.

Optional arguments:

IO_RETENTIONPROPERTIES TYPE REF TO /AWS1/CL_TSWRETENTIONPRPS /AWS1/CL_TSWRETENTIONPRPS

The duration for which your time-series data must be stored in the memory store and the magnetic store.

IT_TAGS TYPE /AWS1/CL_TSWTAG=>TT_TAGLIST TT_TAGLIST

A list of key-value pairs to label the table.

IO_MAGNETICSTOREWRITEPRPS TYPE REF TO /AWS1/CL_TSWMAGNETICSTOREWRI00 /AWS1/CL_TSWMAGNETICSTOREWRI00

Contains properties to set on the table when enabling magnetic store writes.

IO_SCHEMA TYPE REF TO /AWS1/CL_TSWSCHEMA /AWS1/CL_TSWSCHEMA

The schema of the table.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TSWCREATETABLERSP /AWS1/CL_TSWCREATETABLERSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC