Skip to content

Subscribe

codestarnotifications_subscribe R Documentation

Creates an association between a notification rule and an Amazon Q Developer in chat applications topic or Amazon Q Developer in chat applications 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 Amazon Q Developer in chat applications topic or Amazon Q Developer in chat applications 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] Information about the Amazon Q Developer in chat applications topics or Amazon Q Developer in chat applications clients associated with a notification rule.

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"
)