Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TopicConfiguration = TopicConfiguration' {}
- newTopicConfiguration :: Text -> TopicConfiguration
- topicConfiguration_id :: Lens' TopicConfiguration (Maybe Text)
- topicConfiguration_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter)
- 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.
TopicConfiguration' | |
|
Instances
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_id :: Lens' TopicConfiguration (Maybe Text) Source #
Undocumented member.
topicConfiguration_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter) 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.