glacier_get_data_retrieval_policy: This operation returns the current data retrieval policy for...

Description Usage Arguments Value Request syntax Examples

View source: R/glacier_operations.R

Description

This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies.

Usage

1

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.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
list(
  Policy = list(
    Rules = list(
      list(
        Strategy = "string",
        BytesPerHour = 123
      )
    )
  )
)

Request syntax

1
2
3
svc$get_data_retrieval_policy(
  accountId = "string"
)

Examples

1
2
3
4
5
6
7
## Not run: 
# The example returns the current data retrieval policy for the account.
svc$get_data_retrieval_policy(
  accountId = "-"
)

## End(Not run)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.