Class: Aws::Glacier::Types::SetDataRetrievalPolicyInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb

Overview

SetDataRetrievalPolicy input.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

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.

Returns:

  • (String)


2161
2162
2163
2164
2165
2166
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2161

class SetDataRetrievalPolicyInput < Struct.new(
  :account_id,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyTypes::DataRetrievalPolicy

The data retrieval policy in JSON format.



2161
2162
2163
2164
2165
2166
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2161

class SetDataRetrievalPolicyInput < Struct.new(
  :account_id,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end