Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.IsRequesterPaysBucket

TElAWSS3DataStorage     See also     


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


Checks if requester should pay for the bucket.

Declaration

[C#/Java]
    bool IsRequesterPaysBucket(string BucketName);
    bool IsRequesterPaysBucket(TElAWSS3DataStorageBucket Bucket);
    bool IsRequesterPaysBucket(string BucketName, TElStringList Headers);

[VB.NET]
    Function IsRequesterPaysBucket(ByVal BucketName As String) As Boolean
    Function IsRequesterPaysBucket(ByVal Bucket As TElAWSS3DataStorageBucket) As Boolean
    Function IsRequesterPaysBucket(ByVal BucketName As String, ByVal Headers As TElStringList) As Boolean

[Pascal]
    function IsRequesterPaysBucket(const BucketName : string) : boolean;
    function IsRequesterPaysBucket(Bucket : TElAWSS3DataStorageBucket) : boolean;
    function IsRequesterPaysBucket(const BucketName : string; Headers : TStringList) : boolean;

[C++]
    bool IsRequesterPaysBucket(const std::string &BucketName);
    bool IsRequesterPaysBucket(TElAWSS3DataStorageBucket &Bucket);
    bool IsRequesterPaysBucket(TElAWSS3DataStorageBucket *Bucket);
    bool IsRequesterPaysBucket(const std::string &BucketName, TElStringList &Headers);
    bool IsRequesterPaysBucket(const std::string &BucketName, TElStringList *Headers);

[PHP]
    bool IsRequesterPaysBucket(string $BucketName)
    bool IsRequesterPaysBucket(TElAWSS3DataStorageBucket $Bucket)
    bool IsRequesterPaysBucket(string $BucketName, TElStringList $Headers)

Parameters

  • BucketName - name of the bucket
  • Bucket - data bucket for which payment configuration is requested
  • Headers - contains HTTP headers

Return value

    Returns True if RequesterPays is enabled for the data bucket and False otherwise.

Description

    Use this method to check if requester should pay for downloads from data bucket.

Discuss this help topic in SecureBlackbox Forum