package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.1.tbz
sha256=e0e7510192b7e45871cff5c60e5162a77a9fa103b6924136fb1fea5db2092b26
sha512=51a18cf74c122b021bd84ef5728b7c5b2d5e767f03d5cd2387d886edc34a68cf54a3183e2d6c4939b4c8d3e0c0e406c869d019f2ee9a0903ae4cf7ca725572f0
doc/awso-async.s3/Awso_s3_async/Util/index.html
Module Awso_s3_async.UtilSource
Source
val put_object :
Awso.Cfg.t ->
bucket:Awso_s3.Values.BucketName.t ->
key:string ->
string ->
(Awso_s3.Values.ETag.t,
[ `Missing_etag | `Put_object of Awso_s3.Values.PutObjectOutput.error ])
Core.Result.t
Async.Deferred.tSource
val delete_object :
Awso.Cfg.t ->
bucket:string ->
key:string ->
(Awso_s3.Values.DeleteObjectOutput.t,
Awso_s3.Values.DeleteObjectOutput.error)
Core.Result.t
Async.Deferred.tSource
val put_file :
Awso.Cfg.t ->
bucket:string ->
key:string ->
string ->
(string,
[> `Put_object of Awso_s3.Values.PutObjectOutput.error | `Missing_etag ])
Core.result
Async.Deferred.tSource
type ('acc, 'error) callback =
'acc ->
total:int64 ->
loaded:int64 ->
key:string ->
part:int64 ->
num_parts:int64 ->
[ `Complete of Awso_s3.Values.ETag.t
| `Initial of Awso_s3.Values.MultipartUploadId.t
| `Partition of Awso_s3.Values.ETag.t ] ->
('acc, 'error) Async.Deferred.Result.tSource
val initialize_multipart :
Awso.Cfg.t ->
bucket:string ->
key:string ->
([> `Upload_id of string ],
[> `Create_multipart_upload of
Awso_s3.Values.CreateMultipartUploadOutput.error
| `Missing_upload_id ])
Core.result
Async.Deferred.tSource
val multipart :
Awso.Cfg.t ->
?chunk_size:Core.Byte_units.t ->
?part:int ->
?file_offset:int64 ->
bucket:string ->
key:string ->
init:'acc ->
cb:('acc, 'error) callback ->
upload_id:string ->
string ->
('acc * Awso_s3.Values.CompletedPart.t list,
[> `Callback_error of 'acc * Awso_s3.Values.CompletedPart.t list * 'error
| `Complete_multipart_upload of
Awso_s3.Values.CompleteMultipartUploadOutput.error
| `Upload_part of Awso_s3.Values.UploadPartOutput.error ])
Core.result
Async.Deferred.tSource
val get_object :
Awso.Cfg.t ->
?range:Awso.Http.Range.t ->
bucket:string ->
key:string ->
unit ->
(Awso_s3.Values.GetObjectOutput.t, Awso_s3.Values.GetObjectOutput.error)
Core.result
Async.Deferred.tSource
val map_bucket :
Awso.Cfg.t ->
bucket:string ->
f:(Awso_s3.Values.Object.t -> 'a Async.Deferred.t) ->
('a list, Awso_s3.Values.ListObjectsV2Output.error) Core.result
Async.Deferred.tSource
val iter_bucket :
Awso.Cfg.t ->
bucket:string ->
f:(Awso_s3.Values.Object.t -> unit Async.Deferred.t) ->
(unit, Awso_s3.Values.ListObjectsV2Output.error) Core.result Async.Deferred.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>