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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glacier/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.

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)


453
454
455
456
457
458
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 453

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)


453
454
455
456
457
458
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 453

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