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
- Struct
- Aws::Glacier::Types::DataRetrievalRule
- 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
-
#bytes_per_hour ⇒ Integer
The maximum number of bytes that can be retrieved in an hour.
-
#strategy ⇒ String
The type of data retrieval policy to set.
Instance Attribute Details
#bytes_per_hour ⇒ Integer
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.
#strategy ⇒ String
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None