该操作可返回指定Bucket的回调通知配置(NotificationConfiguration),如果未配置通知,则操作将返回空NotificationConfiguration元素。
GET /?notification HTTP/1.1
Host: <BUCKET_NAME>.s3.<REGION>.jdcloud-oss.com
Date: <date>
Authorization: <authorization string> (see Authenticating Requests (AWS Signature Version 4))
无请求参数
无特殊请求Header
无请求元素
无特殊响应Header
同PUT Bucket notification中请求元素
GET ?notification HTTP/1.1
Host: <BUCKET_NAME>.s3.<REGION>.jdcloud-oss.com
Date: Wed, 15 Oct 2014 16:59:03 GMT
Authorization: <authorization string>
HTTP/1.1 200 OK
x-amz-request-id: 236A8905248E5A02
Date: Wed, 15 Oct 2014 16:59:04 GMT
Server: JDcloudOSS
<?xml version="1.0" encoding="UTF-8"?>
<NotificationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<TopicConfiguration>
<Id>1</Id>
<Filter>
<S3Key>
<FilterRule>
<Name>prefix</Name>
<Value>images/</Value>
</FilterRule>
<FilterRule>
<Name>suffix</Name>
<Value>.jpg</Value>
</FilterRule>
</S3Key>
</Filter>
<Topic>NS:http://116.196.97.17:1601/post/callback</Topic>
<Event>s3:ObjectCreated:Put</Event>
</TopicConfiguration>
</NotificationConfiguration>