New in this release
Put Copy Policy
PUT /object/bucket/{bucketName}/copypolicy
Updates DM policy for the specified bucket.
bucketName | Bucket name for which DM policy should be updated. |
Query Parameters
account | Namespace for which DM policies should be updated. |
Required Roles
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
Prerequisites
The following conditions must be met in order to call this operation.
Request Payload
<bucket_copy_policy>
<paused></paused>
<days_after_last_write></days_after_last_write>
<minimum_size></minimum_size>
<tag_filter></tag_filter>
<backup_read_target></backup_read_target>
<sse_s3_enabled></sse_s3_enabled>
<detailed_log_enabled></detailed_log_enabled>
<detailed_log_errors_only></detailed_log_errors_only>
<detailed_log_bucket></detailed_log_bucket>
<detailed_log_prefix></detailed_log_prefix>
<external_certs></external_certs>
<target_access_key></target_access_key>
<target_secret_key></target_secret_key>
</bucket_copy_policy>
{
"paused": "",
"days_after_last_write": "",
"minimum_size": "",
"tag_filter": "",
"backup_read_target": "",
"sse_s3_enabled": "",
"detailed_log_enabled": "",
"detailed_log_errors_only": "",
"detailed_log_bucket": "",
"detailed_log_prefix": "",
"external_certs": "",
"target_access_key": "",
"target_secret_key": ""
}
All parameters are required unless otherwise stated.
Field |
Description |
Type |
Notes |
bucket_copy_policy |
|
|
|
paused |
|
Boolean |
|
days_after_last_write |
|
Long |
|
minimum_size |
|
Long |
|
tag_filter |
|
String |
|
backup_read_target |
|
Boolean |
|
sse_s3_enabled |
|
Boolean |
|
detailed_log_enabled |
|
Boolean |
|
detailed_log_errors_only |
|
Boolean |
|
detailed_log_bucket |
|
String |
|
detailed_log_prefix |
|
String |
|
external_certs |
|
String |
|
target_access_key |
|
String |
|
target_secret_key |
|
String |
|
Response Body
Response indicating Success or Failure of the operation