Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketLocationXML

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 GetBucketLocationXML(const BucketName: string;
ResponseInfo: TCloudResponseInfo = nil): string;

C++

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

Description

Returns the given bucket's location.

GetBucketLocationXML returns the XML representation of the bucket's location.

The location is one of the following:

  • 'EU'
  • 'us-west-1'
  • 'ap-southeast-1'
  • (empty string - US Classic Region)

The following table shows the significance of the parameters:

Parameter Description

BucketName

The name of the bucket to get the location for.

ResponseInfo

The optional class for storing response info into.

See Also