AWS Cloudtrail API Requests
cloudtrailHTTP(query, body = NULL, headers = list(),
version = "2013-11-01", region = Sys.getenv("AWS_DEFAULT_REGION",
"us-east-1"), key = NULL, secret = NULL, session_token = NULL, ...)
A list.
The body of the request.
A list of headers to pass to the REST request.
A character string specifying the API version.
A character string containing the AWS region. If missing, defaults to the value of environment variable AWS_DEFAULT_REGION.
A character string containing an AWS Access Key ID. If missing, defaults to value stored in environment variable “AWS_ACCESS_KEY_ID”.
A character string containing an AWS Secret Access Key. If missing, defaults to value stored in environment variable “AWS_SECRET_ACCESS_KEY”.
Optionally, a character string containing an AWS temporary Session Token. If missing, defaults to value stored in environment variable “AWS_SESSION_TOKEN”.
Additional arguments passed to POST
.
A list.
This is the workhorse function for executing Cloudtrail API requests. It is typically not necessary to call this function directly.