Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.BucketExists

TElAWSS3DataStorage     See also     


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


Checks if data bucket exists in the storage.

Declaration

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

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

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

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

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

Parameters

  • BucketName - name of the data bucket
  • Bucket - data bucket which existence must be checked
  • Headers - contains HTTP headers

Return value

    Returns True if the bucket exists in the Amazon S3 storage.

Description

    Use this method to check if data bucket with certain parameters exists in the Amazon S3 storage.

See also:     CreateBucket     DeleteBucket     GetBucketLocation    

Discuss this help topic in SecureBlackbox Forum