create_vpc_endpoint_connection_notification¶
Operation¶
create_vpc_endpoint_connection_notification
async
¶
create_vpc_endpoint_connection_notification(request: CreateVpcEndpointConnectionNotificationInput | CreateVpcEndpointConnectionNotificationInputDict, /, *, plugins: list[Plugin] | None = None) -> CreateVpcEndpointConnectionNotificationOutput
create_vpc_endpoint_connection_notification(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateVpcEndpointConnectionNotificationInputDict]) -> 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 |
|---|---|---|---|
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¶
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¶
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.
Dictionaries¶
CreateVpcEndpointConnectionNotificationInputDict
¶
Bases: TypedDict
Dictionary form of CreateVpcEndpointConnectionNotificationInput.
Attributes¶
client_token
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
instance-attribute
¶
The endpoint events for which to receive notifications. Valid values are
Accept, Connect, Delete, and Reject.
connection_notification_arn
instance-attribute
¶
The ARN of the SNS topic for the notifications.
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¶
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
¶
connection_notification: ConnectionNotification | None = ...
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.