Data.Cloud.AmazonAPI.TAmazonStorageService.CopyObjectVersion

From RAD Studio API Documentation
Jump to: navigation, search

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

DestinationBucket

The bucket the object will be copied into.

DestinationObjectName

The name of the resulting object after the copying.

SourceBucket

The bucket the object being copied is in.

SourceObjectName

The name of the object being copied.

SourceVersionId

The version of the object to copy.

OptionalParams

Optional parameters to refine the request.

ResponseInfo

The optional class for storing response info into.

See Also