Class: Aws::TimestreamWrite::Types::PartitionKey

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

Overview

An attribute used in partitioning data in a table. A dimension key partitions data using the values of the dimension specified by the dimension-name as partition key, while a measure key partitions data using measure names (values of the ‘measure_name’ column).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enforcement_in_recordString

The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1063

class PartitionKey < Struct.new(
  :type,
  :name,
  :enforcement_in_record)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the attribute used for a dimension key.

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1063

class PartitionKey < Struct.new(
  :type,
  :name,
  :enforcement_in_record)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

Returns:

  • (String)


1063
1064
1065
1066
1067
1068
1069
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1063

class PartitionKey < Struct.new(
  :type,
  :name,
  :enforcement_in_record)
  SENSITIVE = []
  include Aws::Structure
end