Data.Cloud.AmazonAPI.TAmazonStorageService.CopyObjectVersion
Delphi
function CopyObjectVersion(const DestinationBucket, DestinationObjectName: string; const SourceBucket, SourceObjectName, SourceVersionId: string; OptionalParams: TAmazonCopyObjectOptionals = nil; ResponseInfo: TCloudResponseInfo = nil; BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;
C++
bool __fastcall CopyObjectVersion(const System::UnicodeString DestinationBucket, const System::UnicodeString DestinationObjectName, const System::UnicodeString SourceBucket, const System::UnicodeString SourceObjectName, const System::UnicodeString SourceVersionId, TAmazonCopyObjectOptionals* OptionalParams = (TAmazonCopyObjectOptionals*)(0x0), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), TAmazonRegion BucketRegion = (TAmazonRegion)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonStorageService |
Description
Copies the specified source object's version to the given target object.
See the comments on CopyObject for more information.
The method returns True if the request was successful, False otherwise.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The bucket the object will be copied into. |
|
The name of the resulting object after the copying. |
|
The bucket the object being copied is in. |
|
The name of the object being copied. |
|
The version of the object to copy. |
|
Optional parameters to refine the request. |
|
The optional class for storing response info into. |