Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketVersioningXML
Delphi
function GetBucketVersioningXML(const BucketName: string;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): string;
C++
System::UnicodeString __fastcall GetBucketVersioningXML(const System::UnicodeString BucketName, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const TAmazonRegion BucketRegion = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonStorageService |
Description
Returns the versioning configuration for the specified bucket.
GetBucketVersioningXML returns the XML representation of the versioning configuration.
The status of the versioning is Enabled if the given bucket has versioning turned on. The status is Suspended if versioning has never been turned on or if it has not been specified at all.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The name of the bucket to get the versioning state for. |
|
The optional class for storing response info into. |