| 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 |
Network.AWS.EC2.ModifyVPCEndpointConnectionNotification
Description
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.
Synopsis
- 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 #
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 #
See: modifyVPCEndpointConnectionNotification smart constructor.
Instances
Request Lenses
mvecnConnectionEvents :: Lens' ModifyVPCEndpointConnectionNotification [Text] #
One or more events for the endpoint. Valid values are Accept , Connect , Delete , and Reject .
mvecnConnectionNotificationARN :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Text) #
The ARN for the SNS topic for the notification.
mvecnDryRun :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Bool) #
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 #
The ID of the notification.
Destructuring the Response
modifyVPCEndpointConnectionNotificationResponse #
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- Returnstrueif the request succeeds; otherwise, it returns an error.mvecnrsResponseStatus- -- | The response status code.
data ModifyVPCEndpointConnectionNotificationResponse #
See: modifyVPCEndpointConnectionNotificationResponse smart constructor.
Instances
Response Lenses
mvecnrsReturnValue :: Lens' ModifyVPCEndpointConnectionNotificationResponse (Maybe Bool) #
Returns true if the request succeeds; otherwise, it returns an error.
mvecnrsResponseStatus :: Lens' ModifyVPCEndpointConnectionNotificationResponse Int #
- - | The response status code.