Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.SetBucketACL

TElAWSS3DataStorage     See also     


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


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

Declaration

[C#/Java]
    void SetBucketACL(string BucketName, string ACL);
    void SetBucketACL(TElAWSS3DataStorageBucket Bucket, string ACL);
    void SetBucketACL(string BucketName, string ACL, TElStringList Headers);
    void SetBucketACL(string BucketName, TElAWSS3AccessControlPolicy Policy);
    void SetBucketACL(TElAWSS3DataStorageBucket Bucket, TElAWSS3AccessControlPolicy Policy);
    void SetBucketACL(string BucketName, TElAWSS3AccessControlPolicy Policy, TElStringList Headers);

[VB.NET]
    Sub SetBucketACL(ByVal BucketName As String, ByVal ACL As String)
    Sub SetBucketACL(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal ACL As String)
    Sub SetBucketACL(ByVal BucketName As String, ByVal ACL As String, ByVal Headers As TElStringList)
    Sub SetBucketACL(ByVal BucketName As String, ByVal Policy As TElAWSS3AccessControlPolicy)
    Sub SetBucketACL(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal Policy As TElAWSS3AccessControlPolicy)
    Sub SetBucketACL(ByVal BucketName As String, ByVal Policy As TElAWSS3AccessControlPolicy, ByVal Headers As TElStringList)

[Pascal]
    procedure SetBucketACL(const BucketName : string; const ACL : string);
    procedure SetBucketACL(Bucket : TElAWSS3DataStorageBucket; const ACL : string);
    procedure SetBucketACL(const BucketName : string; const ACL : string; Headers : TStringList);
    procedure SetBucketACL(const BucketName : string; Policy : TElAWSS3AccessControlPolicy);
    procedure SetBucketACL(Bucket : TElAWSS3DataStorageBucket; Policy : TElAWSS3AccessControlPolicy);
    procedure SetBucketACL(const BucketName : string; Policy : TElAWSS3AccessControlPolicy; Headers : TStringList);

[C++]
    void SetBucketACL(const std::string &BucketName, const std::string &ACL);
    void SetBucketACL(TElAWSS3DataStorageBucket &Bucket, const std::string &ACL);
    void SetBucketACL(TElAWSS3DataStorageBucket *Bucket, const std::string &ACL);
    void SetBucketACL(const std::string &BucketName, const std::string &ACL, TElStringList &Headers);
    void SetBucketACL(const std::string &BucketName, const std::string &ACL, TElStringList *Headers);
    void SetBucketACL(const std::string &BucketName, TElAWSS3AccessControlPolicy &Policy);
    void SetBucketACL(const std::string &BucketName, TElAWSS3AccessControlPolicy *Policy);
    void SetBucketACL(TElAWSS3DataStorageBucket &Bucket, TElAWSS3AccessControlPolicy &Policy);
    void SetBucketACL(TElAWSS3DataStorageBucket *Bucket, TElAWSS3AccessControlPolicy *Policy);
    void SetBucketACL(const std::string &BucketName, TElAWSS3AccessControlPolicy &Policy, TElStringList &Headers);
    void SetBucketACL(const std::string &BucketName, TElAWSS3AccessControlPolicy *Policy, TElStringList *Headers);

[PHP]
    void SetBucketACL(string $BucketName, string $ACL)
    void SetBucketACL(TElAWSS3DataStorageBucket $Bucket, string $ACL)
    void SetBucketACL(string $BucketName, string $ACL, TElStringList $Headers)
    void SetBucketACL(string $BucketName, TElAWSS3AccessControlPolicy $Policy)
    void SetBucketACL(TElAWSS3DataStorageBucket $Bucket, TElAWSS3AccessControlPolicy $Policy)
    void SetBucketACL(string $BucketName, TElAWSS3AccessControlPolicy $Policy, TElStringList $Headers)

Parameters

  • ACL - specifies new ACL of the bucket
  • Bucket - data bucket which ACL must be changed
  • BucketName - name of the bucket
  • Headers - contains HTTP headers
  • Policy - specifies new access control policy for the bucket.

Description

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

See also:     GetBucketACL    

Discuss this help topic in SecureBlackbox Forum