Class: Aws::TimestreamWrite::Types::Database

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

Overview

A top level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name that uniquely identifies this database.

Returns:

  • (String)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The time when the database was created, calculated from the Unix epoch time.

Returns:

  • (Time)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#database_nameString

The name of the Timestream database.

Returns:

  • (String)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The identifier of the KMS key used to encrypt the data stored in the database.

Returns:

  • (String)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The last time that this database was updated.

Returns:

  • (Time)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#table_countInteger

The total number of tables found within a Timestream database.

Returns:

  • (Integer)


159
160
161
162
163
164
165
166
167
168
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 159

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end