Class: Aws::IoTAnalytics::Types::RetentionPeriod

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

Overview

How long, in days, message data is kept.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#number_of_daysInteger

The number of days that message data is kept. The unlimited parameter must be false.

Returns:

  • (Integer)


2550
2551
2552
2553
2554
2555
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 2550

class RetentionPeriod < Struct.new(
  :unlimited,
  :number_of_days)
  SENSITIVE = []
  include Aws::Structure
end

#unlimitedBoolean

If true, message data is kept indefinitely.

Returns:

  • (Boolean)


2550
2551
2552
2553
2554
2555
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 2550

class RetentionPeriod < Struct.new(
  :unlimited,
  :number_of_days)
  SENSITIVE = []
  include Aws::Structure
end