amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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

# Creating a Request

Arguments

 :: Text mvecnConnectionNotificationId -> 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 are Accept , Connect , Delete , and Reject .
• 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
• mvecnConnectionNotificationId - The ID of the notification.

See: modifyVPCEndpointConnectionNotification smart constructor.

Instances

# Request Lenses

One or more events for the endpoint. Valid values are Accept , Connect , Delete , and Reject .

The ARN for the SNS topic for the notification.

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 .

# Destructuring the Response

Arguments

 :: Int mvecnrsResponseStatus -> 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 - Returns true if the request succeeds; otherwise, it returns an error.
• mvecnrsResponseStatus - -- | The response status code.

See: modifyVPCEndpointConnectionNotificationResponse smart constructor.

Instances

# Response Lenses

Returns true if the request succeeds; otherwise, it returns an error.

• - | The response status code.