cloudwatchHTTP: cloudwatchHTTP

Description Usage Arguments Details

View source: R/http.R

Description

Execute CloudWatch HTTP Requests

Usage

1
2
3
4
cloudwatchHTTP(query, api = c("monitoring", "events", "logs"),
  headers = list(), verbose = getOption("verbose", FALSE),
  region = Sys.getenv("AWS_DEFAULT_REGION", "us-east-1"), key = NULL,
  secret = NULL, session_token = NULL, ...)

Arguments

query

A list.

api

A character string specifying which CloudWatch API to call. One of “monitoring”, “events”, or “logs”.

headers

A list of headers to pass to the HTTP request.

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 GET.

Details

This is the workhorse function to execute CloudWatch API requests. It should not normally be used directly.


cloudyr/aws.cloudwatch documentation built on Jan. 14, 2020, 4:54 a.m.