copyObject
- Last Updated: December 1, 2022
- 1 minute read
- DataDirect Connectors
- JDBC
- Autonomous REST Connector 6.0
- Documentation
Purpose
Copies an object to another specified bucket. Note that both buckets must exist in the same region; therefore, copying across regions is not supported.
| Field Name | Data Type | Parameter Type | Description |
|---|---|---|---|
destinationBucket
|
VARCHAR(255) | IN | Specifies the name of the bucket to which the object is copied. |
destinationFile
|
VARCHAR(255) | IN | Specifies the name of the copy file. |
sourceFile
|
VARCHAR(255) | IN | Specifies the name of the file to be copied. |
optionalHeaders |
VARCHAR(255) | IN | Specifies the a comma separated list of optional headers accepted by the
endpoint, as detailed in the AWS documentation. For example,
x-amz-copy-source-if-match=true. |
| Response | Data Type | Parameter Type | Description |
|---|---|---|---|
status |
INTEGER | OUT | The response code for the request. |