Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketLogging
Delphi
function SetBucketLogging(const BucketName: string; LoggingInfo: TAmazonBucketLoggingInfo;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;
C++
bool __fastcall SetBucketLogging(const System::UnicodeString BucketName, TAmazonBucketLoggingInfo* LoggingInfo, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const TAmazonRegion BucketRegion = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonStorageService |
Description
Sets the logging state as well as any grant information.
SetBucketLogging sets the logging state as well as any grant information.
If LoggingInfo
is nil, logging will be suspended for the given bucket.
The method returns True if successful, and False otherwise.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The name of the bucket to set the logging state for. |
|
The logging info to set. |
|
The optional class for storing response info into. |