AWS SDK for .NET Documentation
SetNotificationConfiguration Method (request)
AmazonAmazon.S3AmazonS3SetNotificationConfiguration(SetNotificationConfigurationRequest) Did this page help you?   Yes   No    Tell us about it...
Set or change the configuration of notifications for the specified bucket.
Declaration Syntax
Parameters
request (SetNotificationConfigurationRequest)
The SetNotificationConfigurationRequest that defines the parameters of the operation.
Return Value
Returns a SetNotificationConfigurationResponse from S3.
Remarks

The notification configuration of a bucket provides near realtime notifications of events the user is interested in, using SNS as the delivery service. Notification is turned on by enabling configuration on a bucket, specifying the events and the SNS topic. This configuration can only be turned on by the bucket owner. If a notification configuration already exists for the specified bucket, the new notification configuration will replace the existing notification configuration. To remove the notification configuration pass in an empty request. Currently, buckets may only have a single event and topic configuration.

S3 is eventually consistent. It may take time for the notification status of a bucket to be propagated throughout the system.

Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)