CloudWatchOmni / Client / delete_alert

delete_alert

CloudWatchOmni.Client.delete_alert(**kwargs)

Deletes an alert by its identifier.

Idempotent: deleting an alert that has already been removed succeeds without error.

See also: AWS API Documentation

Request Syntax

response = client.delete_alert(
    spaceId='string',
    alertId='string'
)
Parameters:
  • spaceId (string) –

    [REQUIRED]

    The unique ID of the space.

  • alertId (string) –

    [REQUIRED]

    The alert to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CloudWatchOmni.Client.exceptions.ThrottlingException

  • CloudWatchOmni.Client.exceptions.ValidationException

  • CloudWatchOmni.Client.exceptions.AccessDeniedException

  • CloudWatchOmni.Client.exceptions.InternalServerException