Data.Cloud.AmazonAPI.TAmazonStorageService.InitiateMultipartUpload

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function InitiateMultipartUpload(const BucketName, ObjectName: string; Metadata: TStrings = nil;
Headers: TStrings = nil;
ACL: TAmazonACLType = amzbaPrivate;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): string;

C++

System::UnicodeString __fastcall InitiateMultipartUpload(const System::UnicodeString BucketName, const System::UnicodeString ObjectName, System::Classes::TStrings* Metadata = (System::Classes::TStrings*)(0x0), System::Classes::TStrings* Headers = (System::Classes::TStrings*)(0x0), TAmazonACLType ACL = (TAmazonACLType)(0x1), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const System::UnicodeString BucketRegion = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Data.Cloud.AmazonAPI TAmazonStorageService

Description

Starts a new multipart upload.

See the comments on InitiateMultipartUploadXML for more information.

InitiateMultipartUpload returns the UploadId to use for subsequent calls.

The following table shows the significance of the parameters:

Parameter Description

BucketName

The name of the bucket the object will be in.

ObjectName

The name of the object created by this multipart upload.

Metadata

The metadata to set on the resulting object, or nil.

Headers

Optional headers to set.

ACL

Optional ACL to set on the resulting object. Default is amzbaPrivate.

ResponseInfo

The optional class for storing response info into.

See Also