Skip to content

Subscribe

codestarnotifications_subscribe R Documentation

Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered

Description

Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.

Usage

codestarnotifications_subscribe(Arn, Target, ClientRequestToken)

Arguments

Arn

[required] The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.

Target

[required]

ClientRequestToken

An enumeration token that, when provided in a request, returns the next batch of the results.

Value

A list with the following syntax:

list(
  Arn = "string"
)

Request syntax

svc$subscribe(
  Arn = "string",
  Target = list(
    TargetType = "string",
    TargetAddress = "string"
  ),
  ClientRequestToken = "string"
)