create_vpc_endpoint_connection_notification¶
Operation¶
create_vpc_endpoint_connection_notification
async
¶
create_vpc_endpoint_connection_notification(input: CreateVpcEndpointConnectionNotificationInput, plugins: list[Plugin] | None = None) -> CreateVpcEndpointConnectionNotificationOutput
Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide.
You can create a connection notification for interface endpoints only.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateVpcEndpointConnectionNotificationInput
|
An instance of |
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 |
|---|---|
CreateVpcEndpointConnectionNotificationOutput
|
An instance of |
Input¶
CreateVpcEndpointConnectionNotificationInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateVpcEndpointConnectionNotificationInput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = ...
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
connection_events
class-attribute
instance-attribute
¶
The endpoint events for which to receive notifications. Valid values are
Accept, Connect, Delete, and Reject.
connection_notification_arn
class-attribute
instance-attribute
¶
connection_notification_arn: str | None = ...
The ARN of the SNS topic for the notifications.
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¶
CreateVpcEndpointConnectionNotificationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateVpcEndpointConnectionNotificationOutput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = ...
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
connection_notification
class-attribute
instance-attribute
¶
Information about the notification.
response_metadata
class-attribute
instance-attribute
¶
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.