amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data ModifyVpcEndpointConnectionNotification Source #

Constructors

ModifyVpcEndpointConnectionNotification' 

Fields

  • connectionEvents :: Maybe [Text]

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

  • connectionNotificationArn :: Maybe Text

    The ARN for the SNS topic for the notification.

  • dryRun :: 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.

  • connectionNotificationId :: Text

    The ID of the notification.

Instances

Instances details
ToHeaders ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

ToPath ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

ToQuery ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

AWSRequest ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Generic ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Read ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Show ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

NFData ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Eq ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Hashable ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

type AWSResponse ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

type Rep ModifyVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

type Rep ModifyVpcEndpointConnectionNotification = D1 ('MetaData "ModifyVpcEndpointConnectionNotification" "Amazonka.EC2.ModifyVpcEndpointConnectionNotification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpcEndpointConnectionNotification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectionEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "connectionNotificationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "connectionNotificationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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_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.

Destructuring the Response

data ModifyVpcEndpointConnectionNotificationResponse Source #

Constructors

ModifyVpcEndpointConnectionNotificationResponse' 

Fields

Instances

Instances details
Generic ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Read ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Show ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

NFData ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

Eq ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

type Rep ModifyVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointConnectionNotification

type Rep ModifyVpcEndpointConnectionNotificationResponse = D1 ('MetaData "ModifyVpcEndpointConnectionNotificationResponse" "Amazonka.EC2.ModifyVpcEndpointConnectionNotification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpcEndpointConnectionNotificationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyVpcEndpointConnectionNotificationResponse Source #

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