cloudtrailHTTP: cloudtrailHTTP

Description Usage Arguments Details Value

View source: R/http.r

Description

AWS Cloudtrail API Requests

Usage

1
2
3
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, ...)

Arguments

query

A list.

body

The body of the request.

headers

A list of headers to pass to the REST request.

version

A character string specifying the API version.

region

A character string containing the AWS region. If missing, defaults to the value of environment variable AWS_DEFAULT_REGION.

key

A character string containing an AWS Access Key ID. If missing, defaults to value stored in environment variable “AWS_ACCESS_KEY_ID”.

secret

A character string containing an AWS Secret Access Key. If missing, defaults to value stored in environment variable “AWS_SECRET_ACCESS_KEY”.

session_token

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.

Details

This is the workhorse function for executing Cloudtrail API requests. It is typically not necessary to call this function directly.

Value

A list.


cloudyr/aws.cloudtrail documentation built on July 5, 2017, 3:50 a.m.