AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DataRetrievalRule as input to an Aws::Client method, you can use a vanilla 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)

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

#strategyString

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Returns:

  • (String)

    The type of data retrieval policy to set.