Class: Aws::TimestreamWrite::Types::UpdateTableRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-timestreamwrite/types.rb

Overview

Note:

When making an API call, you may pass UpdateTableRequest data as a 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
  },
  magnetic_store_write_properties: {
    enable_magnetic_store_writes: false, # required
    magnetic_store_rejected_data_location: {
      s3_configuration: {
        bucket_name: "S3BucketName",
        object_key_prefix: "S3ObjectKeyPrefix",
        encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
        kms_key_id: "StringValue2048",
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the Timestream database.

Returns:

  • (String)


1283
1284
1285
1286
1287
1288
1289
1290
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1283

class UpdateTableRequest < Struct.new(
  :database_name,
  :table_name,
  :retention_properties,
  :magnetic_store_write_properties)
  SENSITIVE = []
  include Aws::Structure
end

#magnetic_store_write_propertiesTypes::MagneticStoreWriteProperties

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



1283
1284
1285
1286
1287
1288
1289
1290
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1283

class UpdateTableRequest < Struct.new(
  :database_name,
  :table_name,
  :retention_properties,
  :magnetic_store_write_properties)
  SENSITIVE = []
  include Aws::Structure
end

#retention_propertiesTypes::RetentionProperties

The retention duration of the memory store and the magnetic store.



1283
1284
1285
1286
1287
1288
1289
1290
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1283

class UpdateTableRequest < Struct.new(
  :database_name,
  :table_name,
  :retention_properties,
  :magnetic_store_write_properties)
  SENSITIVE = []
  include Aws::Structure
end

#table_nameString

The name of the Timestream table.

Returns:

  • (String)


1283
1284
1285
1286
1287
1288
1289
1290
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1283

class UpdateTableRequest < Struct.new(
  :database_name,
  :table_name,
  :retention_properties,
  :magnetic_store_write_properties)
  SENSITIVE = []
  include Aws::Structure
end