GuardDuty / Client / update_publishing_destination

update_publishing_destination#

GuardDuty.Client.update_publishing_destination(**kwargs)#

Updates information about the publishing destination specified by the destinationId.

See also: AWS API Documentation

Request Syntax

response = client.update_publishing_destination(
    DetectorId='string',
    DestinationId='string',
    DestinationProperties={
        'DestinationArn': 'string',
        'KmsKeyArn': 'string'
    }
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The ID of the detector associated with the publishing destinations to update.

  • DestinationId (string) –

    [REQUIRED]

    The ID of the publishing destination to update.

  • DestinationProperties (dict) –

    A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.

    • DestinationArn (string) –

      The ARN of the resource to publish to.

      To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/

    • KmsKeyArn (string) –

      The ARN of the KMS key to use for encryption.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException