iamHTTP {aws.iam} | R Documentation |
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 |
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 |
region |
A character string specifying an AWS region. See |
key |
A character string specifying an AWS Access Key. See |
secret |
A character string specifying an AWS Secret Key. See |
session_token |
Optionally, a character string specifying an AWS temporary Session Token to use in signing a request. See |
... |