triggers: CodeCommit Repo Triggers

Description Usage Arguments Value

Description

Get, set, and test CodeCommit repo triggers

Usage

1
2
3
4
5
get_repo_triggers(repo, ...)

set_repo_triggers(repo, triggers = list(), ...)

make_trigger(branch, name, arn, events = "all", custom_data)

Arguments

repo

A character string specifying a repository name, or an object of class “aws_repo”.

...

Additional arguments passed to awscodeHTTP.

triggers

A list of objects of class “aws_repo_trigger”, as created by make_trigger.

branch

A character string specifying a branch name, or an object of class “aws_repo_branch”.

name

Optionally, a character string specifying the name for the trigger.

arn

A character string specifying an Amazon Resource Name (ARN), such as an SNS topic.

events

Optionally, a character vector specifying one or more events of: “all” (the default) or any of “updateReference” (commits are pushed), “createReference” (new branch or tag is created), or “deleteReference” (branch or tag is deleted).

custom_data

Optionally, a character string specifying additional information to be passed with the trigger notice.

Value

A list.


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