Skip to content

EC2  >  Operations  >  modify_vpc_endpoint_connection_notification

modify_vpc_endpoint_connection_notification

Operation

modify_vpc_endpoint_connection_notification async

modify_vpc_endpoint_connection_notification(input: ModifyVpcEndpointConnectionNotificationInput, plugins: list[Plugin] | None = None) -> ModifyVpcEndpointConnectionNotificationOutput

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.

Parameters:

Name Type Description Default
input ModifyVpcEndpointConnectionNotificationInput

An instance of ModifyVpcEndpointConnectionNotificationInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyVpcEndpointConnectionNotificationOutput

An instance of ModifyVpcEndpointConnectionNotificationOutput.

Input

ModifyVpcEndpointConnectionNotificationInput dataclass

Bases: _SerdeShape

Dataclass for ModifyVpcEndpointConnectionNotificationInput structure.

Attributes

connection_events class-attribute instance-attribute
connection_events: list[str] | None = ...

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

connection_notification_arn class-attribute instance-attribute
connection_notification_arn: str | None = ...

The ARN for the SNS topic for the notification.

connection_notification_id class-attribute instance-attribute
connection_notification_id: str | None = ...

The ID of the notification.

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

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.

Output

ModifyVpcEndpointConnectionNotificationOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyVpcEndpointConnectionNotificationOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

return_value class-attribute instance-attribute
return_value: bool | None = ...

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