Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.GetObjectACL

TElAWSS3DataStorage     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Retrieves ACL (Access Control List) of the data object.

Declaration

[C#]
    string GetObjectACL(string BucketName, string Key);
    string GetObjectACL(TElAWSS3DataStorageObject Obj);
    string GetObjectACL(string BucketName, string Key, TElStringList Headers);
    void GetObjectACL(string BucketName, string Key, TElAWSS3AccessControlPolicy Policy);
    void GetObjectACL(TElAWSS3DataStorageObject Obj, TElAWSS3AccessControlPolicy Policy);
    void GetObjectACL(string BucketName, string Key, TElAWSS3AccessControlPolicy Policy, TElStringList Headers);

[VB.NET]
    Function GetObjectACL(ByVal BucketName As String, ByVal Key As String) As String
    Function GetObjectACL(ByVal Obj As TElAWSS3DataStorageObject) As String
    Function GetObjectACL(ByVal BucketName As String, ByVal Key As String, ByVal Headers As TElStringList) As String
    Sub GetObjectACL(ByVal BucketName As String, ByVal Key As String, ByVal Policy As TElAWSS3AccessControlPolicy)
    Sub GetObjectACL(ByVal Obj As TElAWSS3DataStorageObject, ByVal Policy As TElAWSS3AccessControlPolicy)
    Sub GetObjectACL(ByVal BucketName As String, ByVal Key As String, ByVal Policy As TElAWSS3AccessControlPolicy, ByVal Headers As TElStringList)

[Pascal]
    function GetObjectACL(const BucketName : string; const Key : string) : string;
    function GetObjectACL(Obj : TElAWSS3DataStorageObject) : string;
    function GetObjectACL(const BucketName : string; const Key : string; Headers : TStringList) : string;
    procedure GetObjectACL(const BucketName : string; const Key : string; Policy : TElAWSS3AccessControlPolicy);
    procedure GetObjectACL(Obj : TElAWSS3DataStorageObject; Policy : TElAWSS3AccessControlPolicy);
    procedure GetObjectACL(const BucketName : string; const Key : string; Policy : TElAWSS3AccessControlPolicy; Headers : TStringList);

[C++]
    void GetObjectACL(const std::string &BucketName, const std::string &Key, std::string &OutResult);
    void GetObjectACL(TElAWSS3DataStorageObject &Obj, std::string &OutResult);
    void GetObjectACL(TElAWSS3DataStorageObject *Obj, std::string &OutResult);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElStringList &Headers, std::string &OutResult);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElStringList *Headers, std::string &OutResult);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElAWSS3AccessControlPolicy &Policy);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElAWSS3AccessControlPolicy *Policy);
    void GetObjectACL(TElAWSS3DataStorageObject &Obj, TElAWSS3AccessControlPolicy &Policy);
    void GetObjectACL(TElAWSS3DataStorageObject *Obj, TElAWSS3AccessControlPolicy *Policy);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElAWSS3AccessControlPolicy &Policy, TElStringList &Headers);
    void GetObjectACL(const std::string &BucketName, const std::string &Key, TElAWSS3AccessControlPolicy *Policy, TElStringList *Headers);

[PHP]
    string GetObjectACL(string $BucketName, string $Key)
    string GetObjectACL(TElAWSS3DataStorageObject $Obj)
    string GetObjectACL(string $BucketName, string $Key, TElStringList $Headers)
    void GetObjectACL(string $BucketName, string $Key, TElAWSS3AccessControlPolicy $Policy)
    void GetObjectACL(TElAWSS3DataStorageObject $Obj, TElAWSS3AccessControlPolicy $Policy)
    void GetObjectACL(string $BucketName, string $Key, TElAWSS3AccessControlPolicy $Policy, TElStringList $Headers)

[Java]
    String getObjectACL(TElAWSS3DataStorageObject Obj);
    String getObjectACL(String BucketName, String Key, TElStringList Headers);
    String getObjectACL(String BucketName, String Key);
    void getObjectACL(String BucketName, String Key, TElAWSS3AccessControlPolicy Policy);
    void getObjectACL(String BucketName, String Key, TElAWSS3AccessControlPolicy Policy, TElStringList Headers);
    void getObjectACL(TElAWSS3DataStorageObject Obj, TElAWSS3AccessControlPolicy Policy);

Parameters

  • BucketName - name of the bucket that contains the object.
  • Key - a unique identifier of the object within a bucket.
  • Obj - data object for which ACL is requested.
  • Policy - specifies the access control policy for the object.
  • Headers - contains custom headers of the HTTP request.

Return value

    String that contains ACL for the object.

Description

    Use this method to get the ACL (Access Control List) for the object. Syntax of the ACL is described in the Amazon Simple Storage Service Developer guide.

See also:     SetObjectACL    

Discuss this help topic in SecureBlackbox Forum