You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::TimestreamWrite::Types::CreateTableRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTableRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  database_name: "ResourceName", # required
  table_name: "ResourceName", # required
  retention_properties: {
    memory_store_retention_period_in_hours: 1, # required
    magnetic_store_retention_period_in_days: 1, # required
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the Timestream database.

Returns:

  • (String)

    The name of the Timestream database.

#retention_propertiesTypes::RetentionProperties

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

Returns:

  • (Types::RetentionProperties)

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

#table_nameString

The name of the Timestream table.

Returns:

  • (String)

    The name of the Timestream table.

#tagsArray<Types::Tag>

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

Returns:

  • (Array<Types::Tag>)

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