Return replication configuration information of specified Bucket.
GET /?replication HTTP/1.1
Host: <BUCKET_NAME>.s3.<REGION>.jdcloud-oss.com
Date: <date>
Authorization: <authorization string>
No Request Parameters
No Special Request Header
No Request Elements
No Special Response Header
The operation response elements are similar to request elements in Put Bucket replication.
Error Code | Description | Http Status Code | SOAP Fault Code Prefix |
---|---|---|---|
NoSuchReplicationConfiguration | The replication configuration does not exist. | 404 Not Found | Client |
GET /?replication HTTP/1.1
Host: <BUCKET_NAME>.s3.<REGION>.jdcloud-oss.com
Date: Tue, 10 Feb 2015 00:17:21 GMT
Authorization: <authorization string>
HTTP/1.1 200 OK
x-amz-request-id: 51991C342example
Date: Tue, 10 Feb 2015 00:17:23 GMT
Server: JDCloudOSS
Content-Length: <length>
<?xml version="1.0" encoding="UTF-8"?>
<ReplicationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Rule>
<ID>rule1</ID>
<Status>Enabled</Status>
<Prefix></Prefix>
<Destination>
<Bucket>arn:aws:s3:::exampletargetbucket</Bucket>
<StorageClass>STANDARD_IA</StorageClass>
</Destination>
</Rule>
<Role>arn:aws:iam::35667example:role/CrossRegionReplicationRoleForS3</Role>
</ReplicationConfiguration>