These are the low-level API querying functions for IAM and STS. Users do not need to use these directly.
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,
...
)
A character string specifying an HTTP verb. Either “GET” or “POST”.
A named list specifying query arguments.
A list of headers to pass to the HTTP request.
A character string specifying a request body (if verb = "POST"
).
A character string specifying an API version. Default is “2010-05-08”.
A logical indicating whether to be verbose. Default is given by options("verbose")
.
A character string specifying an AWS region. See locate_credentials
.
A character string specifying an AWS Access Key. See locate_credentials
.
A character string specifying an AWS Secret Key. See locate_credentials
.
Optionally, a character string specifying an AWS temporary Session Token to use in signing a request. See locate_credentials
.