Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectACL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetObjectACL(const BucketName, ObjectName: string;  ResponseInfo: TCloudResponseInfo = nil; BucketRegion: TAmazonRegion = amzrNotSpecified): TList<TAmazonGrant>;

C++

System::Generics::Collections::TList__1<TAmazonGrant>* __fastcall GetObjectACL(const System::UnicodeString BucketName, const System::UnicodeString ObjectName, 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

Returns the given object ACL.

To use GetObjectACL, you must have READ_ACP access to the object.

The following table shows the significance of the parameters:

Parameter Description

BucketName

The name of the bucket the object is in.

ObjectName

The name of the object to get the ACL for.

ResponseInfo

The optional class for storing response info into.

See Also