Class: Aws::Glacier::Types::DataRetrievalRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::DataRetrievalRule
- 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
-
#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.
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 |
#strategy ⇒ String
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None
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 |