package awskit-s3
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=788e91d57b9eed047bdef011aec476e94588be20e2e2f1b8495cf48b1a90cf0f
sha512=0d441d599f3f3efb766270258bb4d8c9cd660943eb7f90ced0ec6f61a6790f5fb8977ca5cf87f466d84701ee34dbfdf81fe5043b568a2236411f577e698c6d1e
doc/awskit-s3/Awskit_s3/Transfer/index.html
Module Awskit_s3.TransferSource
High-level S3 transfer configuration shared by object transfer helpers.
Minimum multipart part size accepted by S3, except for the final part.
Default multipart transfer part size in bytes.
Default object size at which high-level helpers switch from a single request to multipart/ranged transfer.
Default number of concurrent part operations for helpers that can use parallel transfer.
Maximum number of parts supported by S3 multipart upload.
type upload_options = {multipart_threshold : int64;part_size : int;concurrency : int;put_options : Object.Put.options;create_options : Multipart.Create.options;upload_part_options : Multipart.Upload_part.options;complete_options : Multipart.Complete.options;abort_options : Multipart.Abort.options;list_parts_options : Multipart.List_parts.options;
}High-level upload behavior. put_options are used for single-request uploads; multipart option records are used when the selected strategy is multipart or when resuming an upload.
type download_options = {multipart_threshold : int64;part_size : int;concurrency : int;get_options : Object.Get.options;
}High-level download behavior. get_options are used for both single GetObject downloads and ranged downloads.
type multipart_upload_result = {upload : Multipart.Upload.t;parts : Multipart.Part.t list;complete : Multipart.Complete.result;
}Result of a completed multipart upload.
type upload_result = | Put of Object.Put.result| Multipart of multipart_upload_result(*High-level upload result, tagged by the strategy actually used.
*)
type download_result = | Get of Object.Get.result| Ranged of {info : Object.Head.result;parts : int;
}(*High-level download result. Ranged downloads include the initial
*)HeadObjectmetadata and the number of downloaded ranges.
Validate upload thresholds, part size, concurrency, and nested options.
Validate that multipart-specific settings are usable when multipart upload is selected.
Validate download thresholds, part size, and concurrency.
val validate_multipart_part_count :
content_length:int64 ->
part_size:int ->
(unit, Awskit.Error.t) resultCheck that content_length can be represented within S3's maximum part count for part_size.