Class: Aws::Glacier::Types::SetDataRetrievalPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::SetDataRetrievalPolicyInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
Note:
When making an API call, you may pass SetDataRetrievalPolicyInput data as a hash:
{
account_id: "string", # required
policy: {
rules: [
{
strategy: "string",
bytes_per_hour: 1,
},
],
},
}
SetDataRetrievalPolicy input.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID.
-
#policy ⇒ Types::DataRetrievalPolicy
The data retrieval policy in JSON format.
Instance Attribute Details
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single ’‘-`’ (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (‘-’) in the ID.
2501 2502 2503 2504 2505 |
# File 'lib/aws-sdk-glacier/types.rb', line 2501 class SetDataRetrievalPolicyInput < Struct.new( :account_id, :policy) include Aws::Structure end |
#policy ⇒ Types::DataRetrievalPolicy
The data retrieval policy in JSON format.
2501 2502 2503 2504 2505 |
# File 'lib/aws-sdk-glacier/types.rb', line 2501 class SetDataRetrievalPolicyInput < Struct.new( :account_id, :policy) include Aws::Structure end |