Data.Cloud.AmazonAPI.TAmazonStorageService.DeleteObject
Delphi
function DeleteObject(const BucketName, ObjectName: string; ResponseInfo: TCloudResponseInfo = nil; const BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;
C++
bool __fastcall DeleteObject(const System::UnicodeString BucketName, const System::UnicodeString ObjectName, 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
Deletes the specified object from the given bucket.
Use DeleteObject when versioning is disabled on the bucket.
The method returns True if successful, and False otherwise.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The name of the bucket to delete the object from. |
|
The name of the object to delete. |
|
The optional class for storing response info into. |