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.Types.ConnectionNotification

Description

 
Synopsis

Documentation

data ConnectionNotification Source #

Describes a connection notification for a VPC endpoint or VPC endpoint service.

See: newConnectionNotification smart constructor.

Constructors

ConnectionNotification' 

Fields

Instances

Instances details
FromXML ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

Generic ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

Associated Types

type Rep ConnectionNotification :: Type -> Type #

Read ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

Show ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

NFData ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

Methods

rnf :: ConnectionNotification -> () #

Eq ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

Hashable ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

type Rep ConnectionNotification Source # 
Instance details

Defined in Amazonka.EC2.Types.ConnectionNotification

type Rep ConnectionNotification = D1 ('MetaData "ConnectionNotification" "Amazonka.EC2.Types.ConnectionNotification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ConnectionNotification'" '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 "connectionNotificationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionNotificationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionNotificationState)) :*: S1 ('MetaSel ('Just "connectionNotificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionNotificationType))) :*: (S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newConnectionNotification :: ConnectionNotification Source #

Create a value of ConnectionNotification 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:connectionEvents:ConnectionNotification', connectionNotification_connectionEvents - The events for the notification. Valid values are Accept, Connect, Delete, and Reject.

$sel:connectionNotificationArn:ConnectionNotification', connectionNotification_connectionNotificationArn - The ARN of the SNS topic for the notification.

$sel:connectionNotificationId:ConnectionNotification', connectionNotification_connectionNotificationId - The ID of the notification.

$sel:connectionNotificationState:ConnectionNotification', connectionNotification_connectionNotificationState - The state of the notification.

$sel:connectionNotificationType:ConnectionNotification', connectionNotification_connectionNotificationType - The type of notification.

$sel:serviceId:ConnectionNotification', connectionNotification_serviceId - The ID of the endpoint service.

$sel:vpcEndpointId:ConnectionNotification', connectionNotification_vpcEndpointId - The ID of the VPC endpoint.

connectionNotification_connectionEvents :: Lens' ConnectionNotification (Maybe [Text]) Source #

The events for the notification. Valid values are Accept, Connect, Delete, and Reject.