Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.SetBucketWebSiteConfiguration

TElAWSS3DataStorage     See also     


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


Sets bucket website configuration.

Declaration

[C#]
    void SetBucketWebSiteConfiguration(string BucketName, string IndexDocument, string ErrorDocument);
    void SetBucketWebSiteConfiguration(TElAWSS3DataStorageBucket Bucket, string IndexDocument, string ErrorDocument);
    void SetBucketWebSiteConfiguration(string BucketName, string IndexDocument, string ErrorDocument, TElStringList Headers);

[VB.NET]
    Sub SetBucketWebSiteConfiguration(ByVal BucketName As String, ByVal IndexDocument As String, ByVal ErrorDocument As String)
    Sub SetBucketWebSiteConfiguration(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal IndexDocument As String, ByVal ErrorDocument As String)
    Sub SetBucketWebSiteConfiguration(ByVal BucketName As String, ByVal IndexDocument As String, ByVal ErrorDocument As String, ByVal Headers As TElStringList)

[Pascal]
    procedure SetBucketWebSiteConfiguration(const BucketName : string, const IndexDocument : string; const ErrorDocument : string);
    procedure SetBucketWebSiteConfiguration(Bucket : TElAWSS3DataStorageBucket, const IndexDocument : string; const ErrorDocument : string);
    procedure SetBucketWebSiteConfiguration(const BucketName : string; const IndexDocument : string; const ErrorDocument : string; Headers : TStringList);

[C++]
    void SetBucketWebSiteConfiguration(const std::string &BucketName, const std::string &IndexDocument, const std::string &ErrorDocument);
    void SetBucketWebSiteConfiguration(TElAWSS3DataStorageBucket &Bucket, const std::string &IndexDocument, const std::string &ErrorDocument);
    void SetBucketWebSiteConfiguration(TElAWSS3DataStorageBucket *Bucket, const std::string &IndexDocument, const std::string &ErrorDocument);
    void SetBucketWebSiteConfiguration(const std::string &BucketName, const std::string &IndexDocument, const std::string &ErrorDocument, TElStringList &Headers);
    void SetBucketWebSiteConfiguration(const std::string &BucketName, const std::string &IndexDocument, const std::string &ErrorDocument, TElStringList *Headers);

[PHP]
    void SetBucketWebSiteConfiguration(string $BucketName, string $IndexDocument, string $ErrorDocument)
    void SetBucketWebSiteConfiguration(TElAWSS3DataStorageBucket $Bucket, string $IndexDocument, string $ErrorDocument)
    void SetBucketWebSiteConfiguration(string $BucketName, string $IndexDocument, string $ErrorDocument, TElStringList $Headers)

[Java]
    void setBucketWebSiteConfiguration(String BucketName, String IndexDocument, String ErrorDocument, TElStringList Headers);
    void setBucketWebSiteConfiguration(String BucketName, String IndexDocument, String ErrorDocument);
    void setBucketWebSiteConfiguration(TElAWSS3DataStorageBucket Bucket, String IndexDocument, String ErrorDocument);

Parameters

  • Bucket - specifies the desired bucket.
  • BucketName - specifies the name of the desired bucket.
  • Headers - contains custom headers of the HTTP request.
  • IndexDocument - specifies the suffix that is appended to a request that is for a directory on the website endpoint. Must not be empty and must not include a slash character.
  • ErrorDocument - specifies the object key name to use when a 4XX error occurs.

Description

    Use this method to set website configuration of the desired bucket.

Discuss this help topic in SecureBlackbox Forum