Learn R Programming

aws.iam (version 0.1.8)

iamHTTP: Workhorse API Query Functions

Description

These are the low-level API querying functions for IAM and STS. Users do not need to use these directly.

Usage

iamHTTP(
  verb = "GET",
  query,
  headers = list(),
  body = "",
  version = "2010-05-08",
  verbose = getOption("verbose", FALSE),
  region = Sys.getenv("AWS_DEFAULT_REGION", "us-east-1"),
  key = NULL,
  secret = NULL,
  session_token = NULL,
  ...
)

stsHTTP( query, headers = list(), body = "", version = "2011-06-15", 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 verb. Either “GET” or “POST”.

query

A named list specifying query arguments.

headers

A list of headers to pass to the HTTP request.

body

A character string specifying a request body (if verb = "POST").

version

A character string specifying an API version. Default is “2010-05-08”.

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 or POST