package awskit-s3

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Object.PutSource

Sourcetype options = {
  1. content_type : string option;
  2. metadata : Metadata.t;
  3. storage_class : Storage_class.t option;
  4. tags : Tag.t list;
  5. cache_control : string option;
  6. content_encoding : string option;
  7. content_disposition : string option;
  8. preconditions : Preconditions.Write.t;
  9. checksum : Checksum.value option;
  10. server_side_encryption : Encryption.request option;
  11. expected_bucket_owner : string option;
}

PutObject request options and result metadata.

Sourcetype result = {
  1. etag : Etag.t option;
  2. version_id : Version_id.t option;
  3. checksum : Checksum.response;
  4. response : Awskit.Response.t;
}
Sourceval default_options : options

Default PutObject options: no optional headers, tags, checksum, or preconditions.