delete_target

delete_target(**kwargs)

Deletes a specified target for notifications.

See also: AWS API Documentation

Request Syntax

response = client.delete_target(
    TargetAddress='string',
    ForceUnsubscribeAll=True|False
)
Parameters
  • TargetAddress (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.

  • ForceUnsubscribeAll (boolean) -- A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • CodeStarNotifications.Client.exceptions.ValidationException