Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.AcquireObject

TElAWSS3DataStorage     See also     


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


Acquires object from data storage.

Declaration

[C#]
    TElAWSS3DataStorageObject AcquireObject(string BucketName, string Key);
    TElAWSS3DataStorageObject AcquireObject(string BucketName, string Key, TElStringList Headers);
    TElAWSS3DataStorageObject AcquireObject(TElAWSS3DataStorageBucket Bucket, string Key);
    TElCustomDataStorageObject AcquireObject();

[VB.NET]
    Function AcquireObject(ByVal BucketName As String, ByVal Key As String) As TElAWSS3DataStorageObject
    Function AcquireObject(ByVal BucketName As String, ByVal Key As String, ByVal Headers As TElStringList) As TElAWSS3DataStorageObject
    Function AcquireObject(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal Key As String) As TElAWSS3DataStorageObject
    Function AcquireObject() As TElCustomDataStorageObject

[Pascal]
    function AcquireObject(const BucketName : string; const Key : string) : TElAWSS3DataStorageObject;
    function AcquireObject(const BucketName : string; const Key : string; Headers : TStringList) : TElAWSS3DataStorageObject;
    function AcquireObject(Bucket : TElAWSS3DataStorageBucket; const Key : string) : TElAWSS3DataStorageObject;

[C++]
    TElAWSS3DataStorageObjectHandle AcquireObject(const std::string &BucketName, const std::string &Key);
    TElAWSS3DataStorageObjectHandle AcquireObject(const std::string &BucketName, const std::string &Key, TElStringList &Headers);
    TElAWSS3DataStorageObjectHandle AcquireObject(const std::string &BucketName, const std::string &Key, TElStringList *Headers);
    TElAWSS3DataStorageObjectHandle AcquireObject(TElAWSS3DataStorageBucket &Bucket, const std::string &Key);
    TElAWSS3DataStorageObjectHandle AcquireObject(TElAWSS3DataStorageBucket *Bucket, const std::string &Key);

[PHP]
    TElAWSS3DataStorageObject AcquireObject(string $BucketName, string $Key)
    TElAWSS3DataStorageObject AcquireObject(string $BucketName, string $Key, TElStringList $Headers)
    TElAWSS3DataStorageObject AcquireObject(TElAWSS3DataStorageBucket $Bucket, string $Key)
    TElCustomDataStorageObject AcquireObject()

[Java]
    TElAWSS3DataStorageObject acquireObject(TElAWSS3DataStorageBucket Bucket, String Key);
    TElAWSS3DataStorageObject acquireObject(String BucketName, String Key);
    TElAWSS3DataStorageObject acquireObject(String BucketName, String Key, TElStringList Headers);

Parameters

  • BucketName - name of the bucket with object
  • Bucket - bucket with object
  • Key - a unique identifier of the object within a bucket
  • Headers - contains HTTP headers

Return value

    Instance of TElAWSS3DataStorageObject class which contains acquired object.

Description

    Use this method to acquire an object from the storage.

See also:     ReleaseObject    

Discuss this help topic in SecureBlackbox Forum