Class: Aws::Glacier::Types::DataRetrievalRule

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-glacier/types.rb

Overview

Data retrieval policy rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_per_hourInteger

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is ‘BytesPerHour`. Your PUT operation will be rejected if the Strategy field is not set to `BytesPerHour` and you set this field.

Returns:

  • (Integer)


354
355
356
357
358
359
# File 'lib/aws-sdk-glacier/types.rb', line 354

class DataRetrievalRule < Struct.new(
  :strategy,
  :bytes_per_hour)
  SENSITIVE = []
  include Aws::Structure
end

#strategyString

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Returns:

  • (String)


354
355
356
357
358
359
# File 'lib/aws-sdk-glacier/types.rb', line 354

class DataRetrievalRule < Struct.new(
  :strategy,
  :bytes_per_hour)
  SENSITIVE = []
  include Aws::Structure
end