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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-timestreamwrite/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)


760
761
762
763
764
765
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 760

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)


760
761
762
763
764
765
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 760

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