This operation is not supported for directory buckets.
No longer used, see GetBucketNotificationConfiguration.
Request SyntaxGET /?notification HTTP/1.1
Host: Bucket
.s3.amazonaws.com
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.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. For more information about InvalidAccessPointAliasError
, see List of Error Codes.
Required: Yes
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
The request does not have a request body.
Response SyntaxHTTP/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.
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
GetBucketMetricsConfiguration
GetBucketNotificationConfiguration
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4