libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.TopicConfiguration

Description

 
Synopsis

Documentation

data TopicConfiguration Source #

A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

See: newTopicConfiguration smart constructor.

Constructors

TopicConfiguration' 

Fields

Instances

Instances details
Eq TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

Read TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

Show TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

Generic TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

Associated Types

type Rep TopicConfiguration :: Type -> Type #

NFData TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

Methods

rnf :: TopicConfiguration -> () #

Hashable TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

FromXML TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

ToXML TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

type Rep TopicConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.TopicConfiguration

type Rep TopicConfiguration = D1 ('MetaData "TopicConfiguration" "Amazonka.S3.Types.TopicConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "TopicConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationConfigurationFilter))) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Event]))))

newTopicConfiguration Source #

Create a value of TopicConfiguration 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:id:TopicConfiguration', topicConfiguration_id - Undocumented member.

$sel:filter':TopicConfiguration', topicConfiguration_filter - Undocumented member.

$sel:topicArn:TopicConfiguration', topicConfiguration_topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.

$sel:events:TopicConfiguration', topicConfiguration_events - The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.

topicConfiguration_topicArn :: Lens' TopicConfiguration Text Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.

topicConfiguration_events :: Lens' TopicConfiguration [Event] Source #

The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.