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 |
Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.
- modifyVPCEndpointConnectionNotification :: Text -> ModifyVPCEndpointConnectionNotification
- data ModifyVPCEndpointConnectionNotification
- mvecnConnectionEvents :: Lens' ModifyVPCEndpointConnectionNotification [Text]
- mvecnConnectionNotificationARN :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Text)
- mvecnDryRun :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Bool)
- mvecnConnectionNotificationId :: Lens' ModifyVPCEndpointConnectionNotification Text
- modifyVPCEndpointConnectionNotificationResponse :: Int -> ModifyVPCEndpointConnectionNotificationResponse
- data ModifyVPCEndpointConnectionNotificationResponse
- mvecnrsReturnValue :: Lens' ModifyVPCEndpointConnectionNotificationResponse (Maybe Bool)
- mvecnrsResponseStatus :: Lens' ModifyVPCEndpointConnectionNotificationResponse Int
Creating a Request
modifyVPCEndpointConnectionNotification Source #
Creates a value of ModifyVPCEndpointConnectionNotification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvecnConnectionEvents
- One or more events for the endpoint. Valid values areAccept
,Connect
,Delete
, andReject
.mvecnConnectionNotificationARN
- The ARN for the SNS topic for the notification.mvecnDryRun
- 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
.mvecnConnectionNotificationId
- The ID of the notification.
data ModifyVPCEndpointConnectionNotification Source #
See: modifyVPCEndpointConnectionNotification
smart constructor.
Request Lenses
mvecnConnectionEvents :: Lens' ModifyVPCEndpointConnectionNotification [Text] Source #
One or more events for the endpoint. Valid values are Accept
, Connect
, Delete
, and Reject
.
mvecnConnectionNotificationARN :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Text) Source #
The ARN for the SNS topic for the notification.
mvecnDryRun :: Lens' ModifyVPCEndpointConnectionNotification (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
.
mvecnConnectionNotificationId :: Lens' ModifyVPCEndpointConnectionNotification Text Source #
The ID of the notification.
Destructuring the Response
modifyVPCEndpointConnectionNotificationResponse Source #
Creates a value of ModifyVPCEndpointConnectionNotificationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvecnrsReturnValue
- Returnstrue
if the request succeeds; otherwise, it returns an error.mvecnrsResponseStatus
- -- | The response status code.
data ModifyVPCEndpointConnectionNotificationResponse Source #
See: modifyVPCEndpointConnectionNotificationResponse
smart constructor.
Response Lenses
mvecnrsReturnValue :: Lens' ModifyVPCEndpointConnectionNotificationResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
mvecnrsResponseStatus :: Lens' ModifyVPCEndpointConnectionNotificationResponse Int Source #
- - | The response status code.