Discuss this help topic in SecureBlackbox Forum


TElAWSS3DataStorage     See also     

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

Checks if data bucket exists in the storage.


    bool BucketExists(string BucketName);
    bool BucketExists(TElAWSS3DataStorageBucket Bucket);
    bool BucketExists(string BucketName, TElStringList Headers);

    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

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

    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);

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

    boolean bucketExists(String BucketName, TElStringList Headers);
    boolean bucketExists(String BucketName);
    boolean bucketExists(TElAWSS3DataStorageBucket Bucket);


  • 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.


    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