Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.SetObjectACL

TElAWSS3DataStorage     See also     


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


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

Declaration

[C#/Java]
    void SetObjectACL(string BucketName, string Key, string ACL);
    void SetObjectACL(TElAWSS3DataStorageObject Obj, string ACL);
    void SetObjectACL(string BucketName, string Key, string ACL, TElStringList Headers);
    void SetObjectACL(string BucketName, string Key, TElAWSS3AccessControlPolicy Policy);
    void SetObjectACL(TElAWSS3DataStorageObject Obj, TElAWSS3AccessControlPolicy Policy);
    void SetObjectACL(string BucketName, string Key, TElAWSS3AccessControlPolicy Policy, TElStringList Headers);

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

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

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

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

Parameters

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

Description

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

See also:     GetObjectACL    

Discuss this help topic in SecureBlackbox Forum