Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketLogging

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBucketLogging(const BucketName: string;  ResponseInfo: TCloudResponseInfo = nil; const BucketRegion: TAmazonRegion = amzrNotSpecified): TAmazonBucketLoggingInfo;

C++

TAmazonBucketLoggingInfo* __fastcall GetBucketLogging(const System::UnicodeString BucketName, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const System::UnicodeString 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 given bucket's logging information.

GetBucketLogging returns the logging status for the bucket as well as users' permissions to view and modify the status.

GetBucketLogging returns nil if the request fails. GetBucketLogging returns a TAmazonBucketLoggingInfo with IsLoggingEnabled returning False if logging is disabled on the bucket.

The following table shows the significance of the parameters:

Parameter Description

BucketName

The name of the bucket to get the logging information for.

ResponseInfo

The optional class for storing response info into.

See Also