Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.CreateObject

TElAWSS3DataStorage     See also     


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


Creates data object.

Declaration

[VB.NET]
    Function CreateObject(ByVal BucketName As String, ByVal ObjName As String) As TElAWSS3DataStorageObject
    Function CreateObject(ByVal BucketName As String, ByVal ObjName As String, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElAWSS3DataStorageObject
    Function CreateObject(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal ObjName As String) As TElAWSS3DataStorageObject
    Function CreateObject(ByVal Bucket As TElAWSS3DataStorageBucket, ByVal ObjName As String, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElAWSS3DataStorageObject
    Function CreateObject(ByVal BucketName As String, ByVal ObjName As String, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElAWSS3DataStorageObject

[Pascal]
    function CreateObject(const BucketName : string; const ObjName : string) : TElAWSS3DataStorageObject;
    function CreateObject(const BucketName : string; const ObjName : string; Handler : TElCustomDataStorageSecurityHandler) : TElAWSS3DataStorageObject;
    function CreateObject(Bucket : TElAWSS3DataStorageBucket; const ObjName : string) : TElAWSS3DataStorageObject;
    function CreateObject(Bucket : TElAWSS3DataStorageBucket; const ObjName : string; Handler : TElCustomDataStorageSecurityHandler) : TElAWSS3DataStorageObject;
    function CreateObject(const BucketName : string; const ObjName : string; const ContentType : string; const ContentDisposition : string; Metadata : TStringList; Headers : TStringList; Handler : TElCustomDataStorageSecurityHandler) : TElAWSS3DataStorageObject;

[C++]
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName);
    TElAWSS3DataStorageObjectHandle CreateObject(TElAWSS3DataStorageBucket &Bucket, const std::string &ObjName);
    TElAWSS3DataStorageObjectHandle CreateObject(TElAWSS3DataStorageBucket *Bucket, const std::string &ObjName);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, TElCustomDataStorageSecurityHandler &Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, TElCustomDataStorageSecurityHandler *Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(TElAWSS3DataStorageBucket &Bucket, const std::string &ObjName, TElCustomDataStorageSecurityHandler &Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(TElAWSS3DataStorageBucket *Bucket, const std::string &ObjName, TElCustomDataStorageSecurityHandler *Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, TStringList &Metadata, TStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, TStringList *Metadata, TStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TStringList &Metadata, TStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TStringList *Metadata, TStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TStringList &Metadata, TStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    TElAWSS3DataStorageObjectHandle CreateObject(const std::string &BucketName, const std::string &ObjName, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TStringList *Metadata, TStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);

[PHP]
    TElAWSS3DataStorageObject CreateObject(string $BucketName, string $ObjName)
    TElAWSS3DataStorageObject CreateObject(TElAWSS3DataStorageBucket $Bucket, string $ObjName)
    TElAWSS3DataStorageObject CreateObject(string $BucketName, string $ObjName, TElCustomDataStorageSecurityHandler $Handler)
    TElAWSS3DataStorageObject CreateObject(TElAWSS3DataStorageBucket $Bucket, string $ObjName, TElCustomDataStorageSecurityHandler $Handler)
    TElAWSS3DataStorageObject CreateObject(string $BucketName, string $ObjName, string $ContentType, string $ContentDisposition, TStringList $Metadata, TStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    TElAWSS3DataStorageObject CreateObject(string $BucketName, string $ObjName, string $ContentType, string $ContentDisposition, string $StorageClass, TStringList $Metadata, TStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    TElAWSS3DataStorageObject CreateObject(string $BucketName, string $ObjName, string $ContentType, string $ContentDisposition, string $ContentEncoding, string $StorageClass, TStringList $Metadata, TStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)

Parameters

  • BucketName - name of the bucket with object
  • Bucket - bucket with object
  • ObjName - object name
  • ContentType - specifies content type of the object
  • ContentDisposition - specifies content disposition of the object
  • Metadata - contains metadata of the object
  • Headers - contains HTTP headers
  • Handler - security handler used to perform the operation
  • StorageClass - ...
  • ContentEncoding - ...

Return value

    Instance of TElAWSS3DataStorageObject class which contains newly created object.

Description

    Use this method to create a new object in the storage.

See also:     CopyObject     DeleteObject     ObjectExists    

Discuss this help topic in SecureBlackbox Forum