C# |
public SetNotificationConfigurationResponse SetNotificationConfiguration( SetNotificationConfigurationRequest request )
- request (SetNotificationConfigurationRequest)
- The SetNotificationConfigurationRequest that defines the parameters of the operation.
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.
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |