EC2 / Client / modify_vpc_endpoint_connection_notification

modify_vpc_endpoint_connection_notification#

EC2.Client.modify_vpc_endpoint_connection_notification(**kwargs)#

Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.

See also: AWS API Documentation

Request Syntax

response = client.modify_vpc_endpoint_connection_notification(
    DryRun=True|False,
    ConnectionNotificationId='string',
    ConnectionNotificationArn='string',
    ConnectionEvents=[
        'string',
    ]
)
Parameters:
  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • ConnectionNotificationId (string) –

    [REQUIRED]

    The ID of the notification.

  • ConnectionNotificationArn (string) – The ARN for the SNS topic for the notification.

  • ConnectionEvents (list) –

    The events for the endpoint. Valid values are Accept, Connect, Delete, and Reject.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ReturnValue': True|False
}

Response Structure

  • (dict) –

    • ReturnValue (boolean) –

      Returns true if the request succeeds; otherwise, it returns an error.