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(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyVpcEndpointConnectionNotificationInputDict]) -> 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
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

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

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.

Dictionaries

ModifyVpcEndpointConnectionNotificationInputDict

Bases: TypedDict

Dictionary form of ModifyVpcEndpointConnectionNotificationInput.

Attributes
connection_events instance-attribute
connection_events: Sequence[str] | None

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

connection_notification_arn instance-attribute
connection_notification_arn: str | None

The ARN for the SNS topic for the notification.

connection_notification_id instance-attribute
connection_notification_id: Required[str]

The ID of the notification.

dry_run 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.