Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- createVPCEndpointConnectionNotification :: Text -> CreateVPCEndpointConnectionNotification
- data CreateVPCEndpointConnectionNotification
- cvecnClientToken :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text)
- cvecnServiceId :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text)
- cvecnVPCEndpointId :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text)
- cvecnDryRun :: Lens' CreateVPCEndpointConnectionNotification (Maybe Bool)
- cvecnConnectionNotificationARN :: Lens' CreateVPCEndpointConnectionNotification Text
- cvecnConnectionEvents :: Lens' CreateVPCEndpointConnectionNotification [Text]
- createVPCEndpointConnectionNotificationResponse :: Int -> CreateVPCEndpointConnectionNotificationResponse
- data CreateVPCEndpointConnectionNotificationResponse
- cvecnrsClientToken :: Lens' CreateVPCEndpointConnectionNotificationResponse (Maybe Text)
- cvecnrsConnectionNotification :: Lens' CreateVPCEndpointConnectionNotificationResponse (Maybe ConnectionNotification)
- cvecnrsResponseStatus :: Lens' CreateVPCEndpointConnectionNotificationResponse Int
Creating a Request
createVPCEndpointConnectionNotification Source #
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.cvecnConnectionNotificationARN
- The ARN of the SNS topic for the notifications.cvecnConnectionEvents
- One or more endpoint events for which to receive notifications. Valid values areAccept
,Connect
,Delete
, andReject
.
data CreateVPCEndpointConnectionNotification Source #
See: createVPCEndpointConnectionNotification
smart constructor.
Request Lenses
cvecnClientToken :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text) Source #
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .
cvecnServiceId :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text) Source #
The ID of the endpoint service.
cvecnVPCEndpointId :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text) Source #
The ID of the endpoint.
cvecnDryRun :: Lens' CreateVPCEndpointConnectionNotification (Maybe Bool) Source #
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 :: Lens' CreateVPCEndpointConnectionNotification Text Source #
The ARN of the SNS topic for the notifications.
cvecnConnectionEvents :: Lens' CreateVPCEndpointConnectionNotification [Text] Source #
One or more endpoint events for which to receive notifications. Valid values are Accept
, Connect
, Delete
, and Reject
.
Destructuring the Response
createVPCEndpointConnectionNotificationResponse Source #
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.
data CreateVPCEndpointConnectionNotificationResponse Source #
See: createVPCEndpointConnectionNotificationResponse
smart constructor.
Response Lenses
cvecnrsClientToken :: Lens' CreateVPCEndpointConnectionNotificationResponse (Maybe Text) Source #
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
cvecnrsConnectionNotification :: Lens' CreateVPCEndpointConnectionNotificationResponse (Maybe ConnectionNotification) Source #
Information about the notification.
cvecnrsResponseStatus :: Lens' CreateVPCEndpointConnectionNotificationResponse Int Source #
- - | The response status code.