GetBucketNotification - Amazon Simple Storage Service


No longer used, see GetBucketNotificationConfiguration.

Request Syntax

GET /?notification HTTP/1.1 Host: x-amz-expected-bucket-owner: ExpectedBucketOwner

URI Request Parameters

The request uses the following URI parameters.


The name of the bucket for which to get the notification configuration.

Required: Yes


The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <NotificationConfiguration> <TopicConfiguration> <Event>string</Event> <Event>string</Event> ... <Id>string</Id> <Topic>string</Topic> </TopicConfiguration> <QueueConfiguration> <Event>string</Event> <Event>string</Event> ... <Id>string</Id> <Queue>string</Queue> </QueueConfiguration> <CloudFunctionConfiguration> <CloudFunction>string</CloudFunction> <Event>string</Event> <Event>string</Event> ... <Id>string</Id> <InvocationRole>string</InvocationRole> </CloudFunctionConfiguration> </NotificationConfiguration>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.


Root level tag for the NotificationConfiguration parameters.

Required: Yes


Container for specifying the AWS Lambda notification configuration.

Type: CloudFunctionConfiguration data type


This data type is deprecated. This data type specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.

Type: QueueConfigurationDeprecated data type


This data type is deprecated. 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.

Type: TopicConfigurationDeprecated data type

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: