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

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

Overview

Note:

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

{
  strategy: "string",
  bytes_per_hour: 1,
}

Data retrieval policy rule.

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)


440
441
442
443
444
# File 'lib/aws-sdk-glacier/types.rb', line 440

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

#strategyString

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Returns:

  • (String)


440
441
442
443
444
# File 'lib/aws-sdk-glacier/types.rb', line 440

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