glacier_set_data_retrieval_policy: This operation sets and then enacts a data retrieval policy...

View source: R/glacier_operations.R

glacier_set_data_retrieval_policyR Documentation

This operation sets and then enacts a data retrieval policy in the region specified in the PUT request

Description

This operation sets and then enacts a data retrieval policy in the region specified in the PUT request. You can set one policy per region for an AWS account. The policy is enacted within a few minutes of a successful PUT operation.

See https://www.paws-r-sdk.com/docs/glacier_set_data_retrieval_policy/ for full documentation.

Usage

glacier_set_data_retrieval_policy(accountId, Policy = NULL)

Arguments

accountId

[required] 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.

Policy

The data retrieval policy in JSON format.


paws.storage documentation built on Sept. 12, 2024, 6:16 a.m.