cloudtrailHTTP: cloudtrailHTTP

Description Usage Arguments Details Value

View source: R/http.r

Description

AWS Cloudtrail API Requests

Usage

1
2
3
4
cloudtrailHTTP(query, headers = list(), body = NULL,
  version = "2013-11-01", verbose = getOption("verbose", FALSE),
  region = Sys.getenv("AWS_DEFAULT_REGION", "us-east-1"), key = NULL,
  secret = NULL, session_token = NULL, ...)

Arguments

query

A list.

headers

A list of headers to pass to the HTTP request.

body

The body of the request.

version

A character string specifying the API version.

verbose

A logical indicating whether to be verbose. Default is given by options("verbose").

region

A character string containing the AWS region. If missing, defaults to “us-east-1”.

key

A character string containing an AWS Access Key ID. See locate_credentials.

secret

A character string containing an AWS Secret Access Key. See locate_credentials.

session_token

A character string containing an AWS Session Token. See locate_credentials.

...

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 31, 2018, 6:23 p.m.