Spectra Logic
1-800-833-1132 : 1-303-449-6400


Advanced Bucket Management Operations : Data Policy Operations : Get Amazon S3 Data Replication Rule

Get Amazon S3 Data Replication Rule
Description
Get information about the specified data replication rule.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/s3_data_replication_rule/{data replication rule UUID or other unique attribute}/
To determine the UUID for an Amazon S3 data replication rule, see Get Amazon S3 Data Replication Rules.
Responses
Response Elements
<Data>
   <DataPolicyId>{
string}</DataPolicyId>
   <Id>{string}</Id>
   <InitialDataPlacement>
     STANDARD|REDUCED_REDUNDANCY|STANDARD_IA|GLACIER
   </InitialDataPlacement>
   <MaxBlobPartSizeInBytes>
     {64-bit integer}
   </MaxBlobPartSizeInBytes>
   <ReplicateDeletes>TRUE|FALSE</ReplicateDeletes>
   <State>NORMAL</State>
   <TargetId>{string}</TargetId>
   <Type>PERMANENT|RETIRED</Type>
</Data>
where the response elements are defined as follows:
Values: TRUE, FALSE
The state of the persistence rule. Value: NORMAL — The persistence rule is in a normal, included state.
The UUID for the target Amazon S3 instance.
Values: PERMANENT
Example
Sample Request
This request gets information about the Amazon S3 data replication rule with the UUID 28b7a84f-347b-4937-8c1d-0b697a6f04de.
GET http://blackpearl-hostname/_rest_/s3_data_replication_rule/28b7a84f-347b-4937-8c1d-0b697a6f04de/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DataPolicyId>
      1f65b24e-6a55-4c32-ba0f-e02b82e59b88
   </DataPolicyId>
   <Id>28b7a84f-347b-4937-8c1d-0b697a6f04de</Id>
   <InitialDataPlacement>STANDARD</InitialDataPlacement>
   <MaxBlobPartSizeInBytes>
     b1c814cc-71e4-55fb-c7da-142c52b644b1
   </MaxBlobPartSizeInBytes>
   <ReplicateDeletes>TRUE</ReplicateDeletes>
   <State>NORMAL</State>
   <TargetId>1c81d05d-48d9-4c5e-9035-b9f5351cf311</TargetId>
   <Type>PERMANENT</Type>
</Data>