Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketMFADelete
Delphi
function GetBucketMFADelete(const BucketName: string; ResponseInfo: TCloudResponseInfo = nil; const BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;
C++
bool __fastcall GetBucketMFADelete(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 state of MFA (Multi-Factor-Authentication) Delete for the specified bucket.
GetBucketMFADelete returns True if MFA Delete is enabled for the given bucket, and False otherwise or if the request fails.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The name of the bucket to get the MFA Delete state for. |
|
The optional class for storing response info into. |