PUT service replication
Last updated
Last updated
Sets replication configuration for the specified bucket.
Parameter | Description |
---|---|
An XML replication configuration in the following format:
This implementation uses only common response headers.
Empty.
Sets replication configuration for the bucket. test
.
Sample response
Header | Description |
---|---|
bucket
Bucket name.
Type: string.
user_id
ID of the user that is used to replicate objects on your behalf.
Type: string.
The ID can always be taken from the Access Key by dropping the last 4 digits.
destination_bucket
The name of the bucket where you want to store the results.
Type: string.
<authorization_string>
<authorization_string>: To get the authorization string in the request, you will need to use the AWS Signature Version 4 signing process. This process involves creating a signature using your AWS access key and secret key, along with information from the request, such as the date, the host, and the specific API endpoint you are trying to access. You can find more information on how to create this signature and add it to your request in the AWS documentation: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html https://datafetcher.com/aws-signature-version-4-calculator
x-amz-geo-endpoint
Endpoint of the remote region where to replicate objects to. BIT1: os.bit1.cloudbit.ch ZRH1 (www.flow.swiss): os.zrh1.flow.swiss ALP1 (www.flow.swiss): os.alp1.flow.swiss
x-amz-geo-access-key
Access key of a user of the remote region used to replicate objects.
x-amz-geo-access-secret
Access secret of a user of the remote region used to replicate objects.