awscodeHTTP: API Requests

Description Usage Arguments Value

View source: R/http.R

Description

CodeCommit/CodeDeploy/CodePipeline HTTP Requests

Usage

1
2
3
4
5
awscodeHTTP(action, query = list(), headers = list(), body = list(),
  service = c("CodeCommit", "CodeDeploy", "CodePipeline"),
  verbose = getOption("verbose", FALSE),
  region = Sys.getenv("AWS_DEFAULT_REGION", "us-east-1"), key = NULL,
  secret = NULL, session_token = NULL, version = "2015-04-13", ...)

Arguments

action

A character string specifying an API action.

query

A named list of query string parameters.

headers

A list of headers to pass to the HTTP request.

body

A list of body (JSON) arguments.

service

A character string specifying one of “CodeCommit”, “CodeDeploy”, or “CodePipeline”.

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.

version

A character string specifying an API version. Default is “2015-04-13”.

...

Additional arguments passed to POST.

Value

A list


cloudyr/aws.code documentation built on Jan. 14, 2020, 4:55 a.m.