CodeStarNotifications / Client / delete_target

delete_target

CodeStarNotifications.Client.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 Amazon Q Developer in chat applications topic or Amazon Q Developer in chat applications client to delete.

  • ForceUnsubscribeAll (boolean) – A Boolean value that can be used to delete all associations with this Amazon Q Developer in chat applications 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