amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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 Create a Topic in the Amazon Simple Notification Service Developer Guide .

You can create a connection notification for interface endpoints only.

Synopsis

# Creating a Request

Arguments

 :: Text cvecnConnectionNotificationARN -> CreateVPCEndpointConnectionNotification

Creates a value of CreateVPCEndpointConnectionNotification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• cvecnClientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .
• cvecnServiceId - The ID of the endpoint service.
• cvecnVPCEndpointId - The ID of the endpoint.
• cvecnDryRun - 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 .
• cvecnConnectionNotificationARN - The ARN of the SNS topic for the notifications.
• cvecnConnectionEvents - One or more endpoint events for which to receive notifications. Valid values are Accept , Connect , Delete , and Reject .

See: createVPCEndpointConnectionNotification smart constructor.

Instances

# Request Lenses

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .

The ID of the endpoint service.

The ID of the endpoint.

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 .

The ARN of the SNS topic for the notifications.

One or more endpoint events for which to receive notifications. Valid values are Accept , Connect , Delete , and Reject .

# Destructuring the Response

Arguments

 :: Int cvecnrsResponseStatus -> CreateVPCEndpointConnectionNotificationResponse

Creates a value of CreateVPCEndpointConnectionNotificationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• cvecnrsClientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
• cvecnrsConnectionNotification - Information about the notification.
• cvecnrsResponseStatus - -- | The response status code.

See: createVPCEndpointConnectionNotificationResponse smart constructor.

Instances