Class: Aws::TimestreamWrite::Types::RetentionProperties

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 RetentionProperties data as a hash:

{
  memory_store_retention_period_in_hours: 1, # required
  magnetic_store_retention_period_in_days: 1, # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#magnetic_store_retention_period_in_daysInteger

The duration for which data must be stored in the magnetic store.

Returns:

  • (Integer)


961
962
963
964
965
966
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 961

class RetentionProperties < Struct.new(
  :memory_store_retention_period_in_hours,
  :magnetic_store_retention_period_in_days)
  SENSITIVE = []
  include Aws::Structure
end

#memory_store_retention_period_in_hoursInteger

The duration for which data must be stored in the memory store.

Returns:

  • (Integer)


961
962
963
964
965
966
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 961

class RetentionProperties < Struct.new(
  :memory_store_retention_period_in_hours,
  :magnetic_store_retention_period_in_days)
  SENSITIVE = []
  include Aws::Structure
end