Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
Synopsis
- data CreateVpcEndpointConnectionNotification = CreateVpcEndpointConnectionNotification' {}
- newCreateVpcEndpointConnectionNotification :: Text -> CreateVpcEndpointConnectionNotification
- createVpcEndpointConnectionNotification_clientToken :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text)
- createVpcEndpointConnectionNotification_dryRun :: Lens' CreateVpcEndpointConnectionNotification (Maybe Bool)
- createVpcEndpointConnectionNotification_serviceId :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text)
- createVpcEndpointConnectionNotification_vpcEndpointId :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text)
- createVpcEndpointConnectionNotification_connectionNotificationArn :: Lens' CreateVpcEndpointConnectionNotification Text
- createVpcEndpointConnectionNotification_connectionEvents :: Lens' CreateVpcEndpointConnectionNotification [Text]
- data CreateVpcEndpointConnectionNotificationResponse = CreateVpcEndpointConnectionNotificationResponse' {}
- newCreateVpcEndpointConnectionNotificationResponse :: Int -> CreateVpcEndpointConnectionNotificationResponse
- createVpcEndpointConnectionNotificationResponse_clientToken :: Lens' CreateVpcEndpointConnectionNotificationResponse (Maybe Text)
- createVpcEndpointConnectionNotificationResponse_connectionNotification :: Lens' CreateVpcEndpointConnectionNotificationResponse (Maybe ConnectionNotification)
- createVpcEndpointConnectionNotificationResponse_httpStatus :: Lens' CreateVpcEndpointConnectionNotificationResponse Int
Creating a Request
data CreateVpcEndpointConnectionNotification Source #
See: newCreateVpcEndpointConnectionNotification
smart constructor.
CreateVpcEndpointConnectionNotification' | |
|
Instances
newCreateVpcEndpointConnectionNotification Source #
Create a value of CreateVpcEndpointConnectionNotification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotification_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
$sel:dryRun:CreateVpcEndpointConnectionNotification'
, createVpcEndpointConnectionNotification_dryRun
- 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
.
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotification_serviceId
- The ID of the endpoint service.
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotification_vpcEndpointId
- The ID of the endpoint.
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotification_connectionNotificationArn
- The ARN of the SNS topic for the notifications.
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotification_connectionEvents
- One or more endpoint events for which to receive notifications. Valid
values are Accept
, Connect
, Delete
, and Reject
.
Request Lenses
createVpcEndpointConnectionNotification_clientToken :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
createVpcEndpointConnectionNotification_dryRun :: 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
.
createVpcEndpointConnectionNotification_serviceId :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text) Source #
The ID of the endpoint service.
createVpcEndpointConnectionNotification_vpcEndpointId :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text) Source #
The ID of the endpoint.
createVpcEndpointConnectionNotification_connectionNotificationArn :: Lens' CreateVpcEndpointConnectionNotification Text Source #
The ARN of the SNS topic for the notifications.
createVpcEndpointConnectionNotification_connectionEvents :: 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
data CreateVpcEndpointConnectionNotificationResponse Source #
See: newCreateVpcEndpointConnectionNotificationResponse
smart constructor.
CreateVpcEndpointConnectionNotificationResponse' | |
|
Instances
newCreateVpcEndpointConnectionNotificationResponse Source #
:: Int |
|
-> CreateVpcEndpointConnectionNotificationResponse |
Create a value of CreateVpcEndpointConnectionNotificationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateVpcEndpointConnectionNotification
, createVpcEndpointConnectionNotificationResponse_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:connectionNotification:CreateVpcEndpointConnectionNotificationResponse'
, createVpcEndpointConnectionNotificationResponse_connectionNotification
- Information about the notification.
$sel:httpStatus:CreateVpcEndpointConnectionNotificationResponse'
, createVpcEndpointConnectionNotificationResponse_httpStatus
- The response's http status code.
Response Lenses
createVpcEndpointConnectionNotificationResponse_clientToken :: Lens' CreateVpcEndpointConnectionNotificationResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
createVpcEndpointConnectionNotificationResponse_connectionNotification :: Lens' CreateVpcEndpointConnectionNotificationResponse (Maybe ConnectionNotification) Source #
Information about the notification.
createVpcEndpointConnectionNotificationResponse_httpStatus :: Lens' CreateVpcEndpointConnectionNotificationResponse Int Source #
The response's http status code.