Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketVersioningXML

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBucketVersioningXML(const BucketName: string; ResponseInfo: TCloudResponseInfo = nil): string;

C++

System::UnicodeString __fastcall GetBucketVersioningXML(const System::UnicodeString BucketName, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));

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

BucketName

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

ResponseInfo

The optional class for storing response info into.

See Also