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

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

Overview

Note:

When making an API call, you may pass RetentionPeriod data as a hash:

{
  unlimited: false,
  number_of_days: 1,
}

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)


3500
3501
3502
3503
3504
3505
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 3500

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

#unlimitedBoolean

If true, message data is kept indefinitely.

Returns:

  • (Boolean)


3500
3501
3502
3503
3504
3505
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 3500

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