GuardDuty / Client / delete_publishing_destination

delete_publishing_destination#

GuardDuty.Client.delete_publishing_destination(**kwargs)#

Deletes the publishing definition with the specified destinationId.

See also: AWS API Documentation

Request Syntax

response = client.delete_publishing_destination(
    DetectorId='string',
    DestinationId='string'
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The unique ID of the detector associated with the publishing destination to delete.

    To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

  • DestinationId (string) –

    [REQUIRED]

    The ID of the publishing destination to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException