Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketACL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetBucketACL(const BucketName: string; ACP: TAmazonAccessControlPolicy;  ResponseInfo: TCloudResponseInfo = nil; BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;

C++

bool __fastcall SetBucketACL(const System::UnicodeString BucketName, TAmazonAccessControlPolicy* ACP, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), TAmazonRegion BucketRegion = (TAmazonRegion)(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

BucketName

The name of the bucket to set the ACL for.

ACP

The access control policy containing owner info and the ACL.

ResponseInfo

The optional class for storing response info into.

See Also