Data.Cloud.AmazonAPI.TAmazonStorageService.ListBuckets
Delphi
function ListBuckets(const ResponseInfo: TCloudResponseInfo = nil): TStrings;
C++
System::Classes::TStrings* __fastcall ListBuckets(Data::Cloud::Cloudapi::TCloudResponseInfo* const 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
Lists the buckets owned by the current AWS account.
ListBuckets returns all the AWS (Amazon Web Service) account's buckets.
The list returned is comprised of key/value pairs, where the keys are the bucket names, and the values are the creation dates for each bucket. The date is in the format: 2011-01-21T10:30:57.000Z ('yyyy-mm-ddThh:mm:ss.zzzZ'). Note that, when parsing the date, you might need to escape the 'T' and 'Z'.
The ResponseInfo
parameter represents the optional class for storing response info into.