Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketACL
Delphi
function SetBucketACL(const BucketName: string; ACP: TAmazonAccessControlPolicy; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall SetBucketACL(const System::UnicodeString BucketName, TAmazonAccessControlPolicy* ACP, Data::Cloud::Cloudapi::TCloudResponseInfo* 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
Sets the ACL for the given bucket.
SetBucketACL sets the ACL (Access Control List) for the given bucket.
The given ACP
holds the owner information as well as the ACL.
The method returns the active multipart upload list.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The name of the bucket to set the ACL for. |
|
The access control policy containing owner info and the ACL. |
|
The optional class for storing response info into. |