Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.WriteObject

TElAWSS3DataStorage     See also     


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


Writes (overwrites) data object to the storage.

Declaration

[C#/Java]
    void WriteObject(string BucketName, string Key, System.IO.Stream Data, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(string BucketName, string Key, System.IO.Stream Data, string ContentType, string ContentDisposition, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(string BucketName, string Key, System.IO.Stream Data, string ContentType, string ContentDisposition, string StorageClass, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(string BucketName, string Key, System.IO.Stream Data, string ContentType, string ContentDisposition, string ContentEncoding, string StorageClass, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(string BucketName, string Key, System.IO.Stream Data, string ContentType, string ContentDisposition, string ContentEncoding, string StorageClass, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler, ref string NewETag);
    void WriteObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Data, string ContentType, string ContentDisposition, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Data, string ContentType, string ContentDisposition, string StorageClass, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Data, string ContentType, string ContentDisposition, string ContentEncoding, string StorageClass, TElStringList Metadata, TElStringList Headers, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(TElCustomDataStorageObject Obj, System.IO.Stream Strm, TElCustomDataStorageSecurityHandler Handler);

[VB.NET]
    Sub WriteObject(ByVal BucketName As String, ByVal Key As String, ByVal Data As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal BucketName As String, ByVal Key As String, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal BucketName As String, ByVal Key As String, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal StorageClass As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal BucketName As String, ByVal Key As String, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal ContentEncoding As String, ByVal StorageClass As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal BucketName As String, ByVal Key As String, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal ContentEncoding As String, ByVal StorageClass As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler, ByRef NewETag As String)
    Sub WriteObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal StorageClass As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Data As System.IO.Stream, ByVal ContentType As String, ByVal ContentDisposition As String, ByVal ContentEncoding As String, ByVal StorageClass As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal Obj As TElCustomDataStorageObject, ByVal Strm As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler)

[Pascal]
    procedure WriteObject(const BucketName : string; const Key : string; Data : TStream; Handler : TElCustomDataStorageSecurityHandler);
    procedure WriteObject(const BucketName : string; const Key : string; Data : TStream; const ContentType : string; const ContentDisposition : string; Metadata : TStringList; Headers : TStringList; Handler : TElCustomDataStorageSecurityHandler);
    procedure WriteObject(Obj : TElAWSS3DataStorageObject; Data : TStream; const ContentType : string; const ContentDisposition : string; Metadata : TStringList; Headers : TStringList; Handler : TElCustomDataStorageSecurityHandler);

[C++]
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream &Data, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream *Data, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler, std::string &NewETag);
    void WriteObject(const std::string &BucketName, const std::string &Key, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler, std::string &NewETag);
    void WriteObject(TElAWSS3DataStorageObject &Obj, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(TElAWSS3DataStorageObject *Obj, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(TElAWSS3DataStorageObject &Obj, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(TElAWSS3DataStorageObject *Obj, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &StorageClass, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(TElAWSS3DataStorageObject &Obj, TStream &Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList &Metadata, TElStringList &Headers, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(TElAWSS3DataStorageObject *Obj, TStream *Data, const std::string &ContentType, const std::string &ContentDisposition, const std::string &ContentEncoding, const std::string &StorageClass, TElStringList *Metadata, TElStringList *Headers, TElCustomDataStorageSecurityHandler *Handler);

[PHP]
    void WriteObject(string $BucketName, string $Key, TStream $Data, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $BucketName, string $Key, TStream $Data, string $ContentType, string $ContentDisposition, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $BucketName, string $Key, TStream $Data, string $ContentType, string $ContentDisposition, string $StorageClass, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $BucketName, string $Key, TStream $Data, string $ContentType, string $ContentDisposition, string $ContentEncoding, string $StorageClass, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $BucketName, string $Key, TStream $Data, string $ContentType, string $ContentDisposition, string $ContentEncoding, string $StorageClass, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler, string &$NewETag)
    void WriteObject(TElAWSS3DataStorageObject $Obj, TStream $Data, string $ContentType, string $ContentDisposition, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(TElAWSS3DataStorageObject $Obj, TStream $Data, string $ContentType, string $ContentDisposition, string $StorageClass, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(TElAWSS3DataStorageObject $Obj, TStream $Data, string $ContentType, string $ContentDisposition, string $ContentEncoding, string $StorageClass, TElStringList $Metadata, TElStringList $Headers, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(TElCustomDataStorageObject $Obj, TStream $Strm, TElCustomDataStorageSecurityHandler $Handler)

Parameters

  • BucketName - name of the bucket with object
  • Key - a unique identifier of the object within a bucket
  • Obj - data object to be overwritten
  • Data - stream containing object data
  • 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 - ...
  • NewETag - ...
  • Strm - ...

Description

    Use this method to write or overwrite data to the storage.

See also:     CopyObject     DeleteObject     ObjectExists     ReadObject    

Discuss this help topic in SecureBlackbox Forum