Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketVersioningXML

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Unit: Data.Cloud.AmazonAPI
Parent: TAmazonStorageService

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());

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

BucketName

The name of the bucket to get the versioning state for.

ResponseInfo

The optional class for storing response info into.

See Also