glacierHTTP: glacierHTTP

Description Usage Arguments Details Value

View source: R/http.r

Description

AWS Glacier API Requests

Usage

1
2
3
4
glacierHTTP(verb, action, query = list(), headers = list(), body = "",
  verbose = getOption("verbose", FALSE),
  region = Sys.getenv("AWS_DEFAULT_REGION", "us-east-1"), key = NULL,
  secret = NULL, session_token = NULL, ...)

Arguments

verb

A character string specifying an HTTP method.

action

A character string specifying an API “action”.

query

A list of HTTP URL query parameters.

headers

A list of HTTP headers.

body

The body of the request.

verbose

A logical indicating whether to be verbose. Default is given by options("verbose").

region

A character string specifying an AWS region. See locate_credentials.

key

A character string specifying an AWS Access Key. See locate_credentials.

secret

A character string specifying an AWS Secret Key. See locate_credentials.

session_token

Optionally, a character string specifying an AWS temporary Session Token to use in signing a request. See locate_credentials.

...

Additional arguments passed to GET, etc.

Details

This is the workhorse function for executing Glacier API requests. It is typically not necessary to call this function directly.

Value

A list.


cloudyr/aws.glacier documentation built on Jan. 14, 2020, 4:56 a.m.