Class: Aws::IoTSiteWise::Types::RetentionPeriod

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

Overview

Note:

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

{
  number_of_days: 1,
  unlimited: false,
}

How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#number_of_daysInteger

The number of days that your data is kept.

If you specified a value for this parameter, the unlimited parameter must be false.

Returns:

  • (Integer)


6866
6867
6868
6869
6870
6871
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6866

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

#unlimitedBoolean

If true, your data is kept indefinitely.

If configured to true, you must not specify a value for the numberOfDays parameter.

Returns:

  • (Boolean)


6866
6867
6868
6869
6870
6871
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6866

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