amazonka-s3-2.0: Amazon Simple Storage Service 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.S3.Types.NotificationConfiguration

Description

 
Synopsis

Documentation

data NotificationConfiguration Source #

A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.

See: newNotificationConfiguration smart constructor.

Constructors

NotificationConfiguration' 

Fields

Instances

Instances details
FromXML NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

ToXML NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

Generic NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

Show NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

type Rep NotificationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.NotificationConfiguration

type Rep NotificationConfiguration = D1 ('MetaData "NotificationConfiguration" "Amazonka.S3.Types.NotificationConfiguration" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventBridgeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventBridgeConfiguration)) :*: S1 ('MetaSel ('Just "lambdaFunctionConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LambdaFunctionConfiguration]))) :*: (S1 ('MetaSel ('Just "queueConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueueConfiguration])) :*: S1 ('MetaSel ('Just "topicConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TopicConfiguration])))))

newNotificationConfiguration :: NotificationConfiguration Source #

Create a value of NotificationConfiguration 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:eventBridgeConfiguration:NotificationConfiguration', notificationConfiguration_eventBridgeConfiguration - Enables delivery of events to Amazon EventBridge.

$sel:lambdaFunctionConfigurations:NotificationConfiguration', notificationConfiguration_lambdaFunctionConfigurations - Describes the Lambda functions to invoke and the events for which to invoke them.

$sel:queueConfigurations:NotificationConfiguration', notificationConfiguration_queueConfigurations - The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.

$sel:topicConfigurations:NotificationConfiguration', notificationConfiguration_topicConfigurations - The topic to which notifications are sent and the events for which notifications are generated.

notificationConfiguration_lambdaFunctionConfigurations :: Lens' NotificationConfiguration (Maybe [LambdaFunctionConfiguration]) Source #

Describes the Lambda functions to invoke and the events for which to invoke them.

notificationConfiguration_queueConfigurations :: Lens' NotificationConfiguration (Maybe [QueueConfiguration]) Source #

The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.

notificationConfiguration_topicConfigurations :: Lens' NotificationConfiguration (Maybe [TopicConfiguration]) Source #

The topic to which notifications are sent and the events for which notifications are generated.