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

Description

Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.

You can create a connection notification for interface endpoints only.

Synopsis

Creating a Request

data CreateVpcEndpointConnectionNotification Source #

Constructors

CreateVpcEndpointConnectionNotification' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

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

  • serviceId :: Maybe Text

    The ID of the endpoint service.

  • vpcEndpointId :: Maybe Text

    The ID of the endpoint.

  • connectionNotificationArn :: Text

    The ARN of the SNS topic for the notifications.

  • connectionEvents :: [Text]

    One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

Instances

Instances details
ToHeaders CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

ToPath CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

ToQuery CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

AWSRequest CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Generic CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Read CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Show CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

NFData CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Eq CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Hashable CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

type AWSResponse CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

type Rep CreateVpcEndpointConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

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

newCreateVpcEndpointConnectionNotification Source #

Create a value of CreateVpcEndpointConnectionNotification 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:

CreateVpcEndpointConnectionNotification, createVpcEndpointConnectionNotification_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

$sel:dryRun:CreateVpcEndpointConnectionNotification', createVpcEndpointConnectionNotification_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.

CreateVpcEndpointConnectionNotification, createVpcEndpointConnectionNotification_serviceId - The ID of the endpoint service.

CreateVpcEndpointConnectionNotification, createVpcEndpointConnectionNotification_vpcEndpointId - The ID of the endpoint.

CreateVpcEndpointConnectionNotification, createVpcEndpointConnectionNotification_connectionNotificationArn - The ARN of the SNS topic for the notifications.

CreateVpcEndpointConnectionNotification, createVpcEndpointConnectionNotification_connectionEvents - One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

Request Lenses

createVpcEndpointConnectionNotification_clientToken :: Lens' CreateVpcEndpointConnectionNotification (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

createVpcEndpointConnectionNotification_dryRun :: Lens' CreateVpcEndpointConnectionNotification (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.

createVpcEndpointConnectionNotification_connectionEvents :: Lens' CreateVpcEndpointConnectionNotification [Text] Source #

One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

Destructuring the Response

data CreateVpcEndpointConnectionNotificationResponse Source #

Constructors

CreateVpcEndpointConnectionNotificationResponse' 

Fields

Instances

Instances details
Generic CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Read CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Show CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

NFData CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

Eq CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

type Rep CreateVpcEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpcEndpointConnectionNotification

type Rep CreateVpcEndpointConnectionNotificationResponse = D1 ('MetaData "CreateVpcEndpointConnectionNotificationResponse" "Amazonka.EC2.CreateVpcEndpointConnectionNotification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateVpcEndpointConnectionNotificationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionNotification)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses

createVpcEndpointConnectionNotificationResponse_clientToken :: Lens' CreateVpcEndpointConnectionNotificationResponse (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.