You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glacier::Types::DataRetrievalPolicy

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 DataRetrievalPolicy data as a hash:

{
  rules: [
    {
      strategy: "string",
      bytes_per_hour: 1,
    },
  ],
}

Data retrieval policy.

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::DataRetrievalRule>

The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

Returns:



310
311
312
313
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 310

class DataRetrievalPolicy < Struct.new(
  :rules)
  include Aws::Structure
end