Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectACL
Delphi
function GetObjectACL(const BucketName, ObjectName: string;
ResponseInfo: TCloudResponseInfo = nil;
const 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), 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
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 |
---|---|
|
The name of the bucket the object is in. |
|
The name of the object to get the ACL for. |
|
The optional class for storing response info into. |
See Also
- System.Classes.TList
- Data.Cloud.AmazonAPI.TAmazonGrant
- Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectACLXML
- Data.Cloud.AmazonAPI.TAmazonStorageService.CopyObject
- Data.Cloud.AmazonAPI.TAmazonStorageService.UploadObject
- Data.Cloud.AmazonAPI.TAmazonStorageService.DeleteObject
- Introduction to Amazon S3 (amazonwebservices.com)