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 |
Amazonka.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
- data ModifyVpcEndpointConnectionNotification = ModifyVpcEndpointConnectionNotification' {}
- newModifyVpcEndpointConnectionNotification :: Text -> ModifyVpcEndpointConnectionNotification
- modifyVpcEndpointConnectionNotification_connectionEvents :: Lens' ModifyVpcEndpointConnectionNotification (Maybe [Text])
- modifyVpcEndpointConnectionNotification_connectionNotificationArn :: Lens' ModifyVpcEndpointConnectionNotification (Maybe Text)
- modifyVpcEndpointConnectionNotification_dryRun :: Lens' ModifyVpcEndpointConnectionNotification (Maybe Bool)
- modifyVpcEndpointConnectionNotification_connectionNotificationId :: Lens' ModifyVpcEndpointConnectionNotification Text
- data ModifyVpcEndpointConnectionNotificationResponse = ModifyVpcEndpointConnectionNotificationResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newModifyVpcEndpointConnectionNotificationResponse :: Int -> ModifyVpcEndpointConnectionNotificationResponse
- modifyVpcEndpointConnectionNotificationResponse_returnValue :: Lens' ModifyVpcEndpointConnectionNotificationResponse (Maybe Bool)
- modifyVpcEndpointConnectionNotificationResponse_httpStatus :: Lens' ModifyVpcEndpointConnectionNotificationResponse Int
Creating a Request
data ModifyVpcEndpointConnectionNotification Source #
See: newModifyVpcEndpointConnectionNotification
smart constructor.
Constructors
ModifyVpcEndpointConnectionNotification' | |
Fields
|
Instances
newModifyVpcEndpointConnectionNotification Source #
Create a value of ModifyVpcEndpointConnectionNotification
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:
ModifyVpcEndpointConnectionNotification
, modifyVpcEndpointConnectionNotification_connectionEvents
- One or more events for the endpoint. Valid values are Accept
,
Connect
, Delete
, and Reject
.
ModifyVpcEndpointConnectionNotification
, modifyVpcEndpointConnectionNotification_connectionNotificationArn
- The ARN for the SNS topic for the notification.
$sel:dryRun:ModifyVpcEndpointConnectionNotification'
, modifyVpcEndpointConnectionNotification_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
.
ModifyVpcEndpointConnectionNotification
, modifyVpcEndpointConnectionNotification_connectionNotificationId
- The ID of the notification.
Request Lenses
modifyVpcEndpointConnectionNotification_connectionEvents :: Lens' ModifyVpcEndpointConnectionNotification (Maybe [Text]) Source #
One or more events for the endpoint. Valid values are Accept
,
Connect
, Delete
, and Reject
.
modifyVpcEndpointConnectionNotification_connectionNotificationArn :: Lens' ModifyVpcEndpointConnectionNotification (Maybe Text) Source #
The ARN for the SNS topic for the notification.
modifyVpcEndpointConnectionNotification_dryRun :: 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
.
modifyVpcEndpointConnectionNotification_connectionNotificationId :: Lens' ModifyVpcEndpointConnectionNotification Text Source #
The ID of the notification.
Destructuring the Response
data ModifyVpcEndpointConnectionNotificationResponse Source #
See: newModifyVpcEndpointConnectionNotificationResponse
smart constructor.
Constructors
ModifyVpcEndpointConnectionNotificationResponse' | |
Fields
|
Instances
newModifyVpcEndpointConnectionNotificationResponse Source #
Arguments
:: Int |
|
-> ModifyVpcEndpointConnectionNotificationResponse |
Create a value of ModifyVpcEndpointConnectionNotificationResponse
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:
$sel:returnValue:ModifyVpcEndpointConnectionNotificationResponse'
, modifyVpcEndpointConnectionNotificationResponse_returnValue
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:ModifyVpcEndpointConnectionNotificationResponse'
, modifyVpcEndpointConnectionNotificationResponse_httpStatus
- The response's http status code.
Response Lenses
modifyVpcEndpointConnectionNotificationResponse_returnValue :: Lens' ModifyVpcEndpointConnectionNotificationResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
modifyVpcEndpointConnectionNotificationResponse_httpStatus :: Lens' ModifyVpcEndpointConnectionNotificationResponse Int Source #
The response's http status code.