| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.TopicConfiguration
Description
Synopsis
- data TopicConfiguration = TopicConfiguration' {}
- newTopicConfiguration :: Text -> TopicConfiguration
- topicConfiguration_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter)
- topicConfiguration_id :: Lens' TopicConfiguration (Maybe Text)
- topicConfiguration_topicArn :: Lens' TopicConfiguration Text
- topicConfiguration_events :: Lens' TopicConfiguration [Event]
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
newTopicConfiguration Source #
Arguments
| :: Text | |
| -> TopicConfiguration |
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:filter':TopicConfiguration', topicConfiguration_filter - Undocumented member.
$sel:id:TopicConfiguration', topicConfiguration_id - 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_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
topicConfiguration_id :: Lens' TopicConfiguration (Maybe Text) Source #
Undocumented member.
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.