Object.Listmodule Continuation_token : sig ... endmodule Delimiter : sig ... endtype options = {prefix : Object_key.Prefix.t option;Return keys that begin with this prefix.
*)delimiter : Delimiter.t option;Group keys using this delimiter, commonly "/".
max_keys : int option;Maximum number of objects S3 should return in one page.
*)start_after : Object_key.t option;Start listing after this key for the first page.
*)continuation_token : Continuation_token.t option;Pagination token, usually supplied from a previous page.
*)expected_bucket_owner : Account_id.t option;x-amz-expected-bucket-owner.
}ListObjectsV2 request options.
type object_summary = {key : Object_key.t;Object key.
*)size : int64 option;Object size in bytes.
*)etag : Etag.t option;Object ETag.
*)last_modified : Ptime.t option;Last modified timestamp.
*)storage_class : Storage_class.t option;Object storage class.
*)checksum : Checksum.summary;Checksum summary metadata.
*)}One object summary from a listing page.
type page = {bucket : Bucket_name.t option;Bucket name echoed by S3.
*)prefix : Object_key.Prefix.t option;Prefix applied to this page.
*)delimiter : Delimiter.t option;Delimiter applied to this page.
*)objects : object_summary list;Object summaries in this page.
*)common_prefixes : Object_key.Prefix.t list;Grouped prefixes returned when delimiter is set.
key_count : int option;Number of keys S3 reports in this page.
*)is_truncated : bool;Whether more pages are available.
*)continuation_token : Continuation_token.t option;Token used to request this page.
*)next_continuation_token : Continuation_token.t option;Token to use for the next page.
*)response : Awskit.Response.t;Raw response metadata.
*)}One ListObjectsV2 page.
val default_options : optionsval options :
?prefix:Object_key.Prefix.t ->
?delimiter:Delimiter.t ->
?max_keys:int ->
?start_after:Object_key.t ->
?continuation_token:Continuation_token.t ->
?expected_bucket_owner:Account_id.t ->
unit ->
(options, Awskit.Error.t) Stdlib.resultBuild ListObjectsV2 options.
val options_exn :
?prefix:Object_key.Prefix.t ->
?delimiter:Delimiter.t ->
?max_keys:int ->
?start_after:Object_key.t ->
?continuation_token:Continuation_token.t ->
?expected_bucket_owner:Account_id.t ->
unit ->
optionsLike options, but raises on validation failure.