Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.SetBucketPaymentConfiguration

TElAWSS3DataStorage     See also     


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


Changes payment configuration for data bucket.

Declaration

[C#/Java]
    void SetBucketPaymentConfiguration(string BucketName, string PaymentConfig);
    void SetBucketPaymentConfiguration(string BucketName, bool RequesterPays);
    void SetBucketPaymentConfiguration(TElAWSS3DataStorageBucket Bucket, string PaymentConfig);
    void SetBucketPaymentConfiguration(TElAWSS3DataStorageBucket Bucket, bool RequesterPays);
    void SetBucketPaymentConfiguration(string BucketName, string PaymentConfig, TElStringList Headers);

[VB.NET]
    Sub SetBucketPaymentConfiguration(ByVal BucketName As String, ByVal PaymentConfig As String)
    Sub SetBucketPaymentConfiguration(ByVal BucketName As String, ByVal RequesterPays As Boolean)
    Sub SetBucketPaymentConfiguration(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal PaymentConfig As String)
    Sub SetBucketPaymentConfiguration(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal RequesterPays As Boolean)
    Sub SetBucketPaymentConfiguration(ByVal BucketName As String, ByVal PaymentConfig As String, ByVal Headers As TElStringList)

[Pascal]
    procedure SetBucketPaymentConfiguration(const BucketName : string; const PaymentConfig : string);
    procedure SetBucketPaymentConfiguration(const BucketName : string; RequesterPays : boolean);
    procedure SetBucketPaymentConfiguration(Bucket : TElAWSS3DataStorageBucket; const PaymentConfig : string);
    procedure SetBucketPaymentConfiguration(Bucket : TElAWSS3DataStorageBucket; RequesterPays : boolean);
    procedure SetBucketPaymentConfiguration(const BucketName : string; const PaymentConfig : string; Headers : TStringList);

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

[PHP]
    void SetBucketPaymentConfiguration(string $BucketName, string $PaymentConfig)
    void SetBucketPaymentConfiguration(string $BucketName, bool $RequesterPays)
    void SetBucketPaymentConfiguration(TElAWSS3DataStorageBucket $Bucket, string $PaymentConfig)
    void SetBucketPaymentConfiguration(TElAWSS3DataStorageBucket $Bucket, bool $RequesterPays)
    void SetBucketPaymentConfiguration(string $BucketName, string $PaymentConfig, TElStringList $Headers)

Parameters

  • BucketName - name of the bucket
  • Bucket - data bucket which payment configuration must be changed
  • PaymentConfig - specifies new payment configuration for the bucket
  • RequesterPays - specifies if RequesterPays should be enabled. Downloads from such buckets are paid by the requesters.
  • Headers - contains HTTP headers

Description

    Use this method to specify the payment configuration for the data bucket.

See also:     GetBucketPaymentConfiguration    

Discuss this help topic in SecureBlackbox Forum