CodestarNotificationsClient

This CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the CodeStar Notifications API. You can use the CodeStar Notifications API to work with the following objects:

Notification rules, by calling the following:

  • CreateNotificationRule, which creates a notification rule for a resource in your account.

  • DeleteNotificationRule, which deletes a notification rule.

  • DescribeNotificationRule, which provides information about a notification rule.

  • ListNotificationRules, which lists the notification rules associated with your account.

  • UpdateNotificationRule, which changes the name, events, or targets associated with a notification rule.

  • Subscribe, which subscribes a target to a notification rule.

  • Unsubscribe, which removes a target from a notification rule.

Targets, by calling the following:

  • DeleteTarget, which removes a notification rule target from a notification rule.

  • ListTargets, which lists the targets associated with a notification rule.

Events, by calling the following:

  • ListEventTypes, which lists the event types you can include in a notification rule.

Tags, by calling the following:

  • ListTagsForResource, which lists the tags already associated with a notification rule in your account.

  • TagResource, which associates a tag you provide with a notification rule in your account.

  • UntagResource, which removes a tag from a notification rule in your account.

For information about how to use CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.

Properties

Link copied to clipboard

CodestarNotificationsClient's configuration

Functions

Link copied to clipboard

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.

Link copied to clipboard

Deletes a notification rule for a resource.

Link copied to clipboard

Deletes a specified target for notifications.

Link copied to clipboard

Returns information about a specified notification rule.

Link copied to clipboard
abstract suspend fun listEventTypes(input: ListEventTypesRequest = ListEventTypesRequest { }): ListEventTypesResponse

Returns information about the event types available for configuring notifications.

Link copied to clipboard
abstract suspend fun listNotificationRules(input: ListNotificationRulesRequest = ListNotificationRulesRequest { }): ListNotificationRulesResponse

Returns a list of the notification rules for an Amazon Web Services account.

Link copied to clipboard

Returns a list of the tags associated with a notification rule.

Link copied to clipboard
abstract suspend fun listTargets(input: ListTargetsRequest = ListTargetsRequest { }): ListTargetsResponse

Returns a list of the notification rule targets for an Amazon Web Services account.

Link copied to clipboard
abstract suspend fun subscribe(input: SubscribeRequest): SubscribeResponse

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.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Associates a set of provided tags with a notification rule.

Link copied to clipboard
abstract suspend fun unsubscribe(input: UnsubscribeRequest): UnsubscribeResponse

Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

Link copied to clipboard

Removes the association between one or more provided tags and a notification rule.

Link copied to clipboard

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.

Link copied to clipboard

Deletes a notification rule for a resource.

Link copied to clipboard

Deletes a specified target for notifications.

Link copied to clipboard

Returns information about a specified notification rule.

Link copied to clipboard

Returns information about the event types available for configuring notifications.

Link copied to clipboard

Returns a list of the notification rules for an Amazon Web Services account.

Link copied to clipboard

Returns a list of the tags associated with a notification rule.

Link copied to clipboard

Returns a list of the notification rule targets for an Amazon Web Services account.

Link copied to clipboard

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.

Link copied to clipboard

Associates a set of provided tags with a notification rule.

Link copied to clipboard

Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

Link copied to clipboard

Removes the association between one or more provided tags and a notification rule.

Link copied to clipboard

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.