Skip to content

Get Data Retrieval Policy

glacier_get_data_retrieval_policy R Documentation

This operation returns the current data retrieval policy for the account and region specified in the GET request

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

glacier_get_data_retrieval_policy(accountId)

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:

list(
  Policy = list(
    Rules = list(
      list(
        Strategy = "string",
        BytesPerHour = 123
      )
    )
  )
)

Request syntax

svc$get_data_retrieval_policy(
  accountId = "string"
)

Examples

## Not run: 
# The example returns the current data retrieval policy for the account.
svc$get_data_retrieval_policy(
  accountId = "-"
)

## End(Not run)