efsHTTP: API Requests

Description Usage Arguments Value

View source: R/http.R

Description

EFS HTTP Requests

Usage

1
2
3
4
efsHTTP(verb = "GET", action = "/", query = NULL, headers = list(),
  body = NULL, 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 containing an HTTP verb, defaulting to “GET”.

action

A character string specifying the path to the API endpoint.

query

A named list of query string parameters.

headers

A list of headers to pass to the HTTP request.

body

A list of body (JSON) arguments.

verbose

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

region

A character string containing the AWS region. If missing, defaults to “us-east-1”.

key

A character string containing an AWS Access Key ID. See locate_credentials.

secret

A character string containing an AWS Secret Access Key. See locate_credentials.

session_token

A character string containing an AWS Session Token. See locate_credentials.

...

Additional arguments passed to POST.

Value

A list


cloudyr/aws.efs documentation built on Aug. 7, 2018, 3:01 p.m.