Multipart.List_partsPagination helpers for ListParts.
val fold_pages :
connection ->
upload:_ Multipart.Upload.t ->
?options:Multipart.List_parts.options ->
?max_pages:int ->
init:'acc ->
f:
('acc ->
Multipart.List_parts.page ->
('acc, Awskit.Error.t) Stdlib.result io) ->
unit ->
('acc, Awskit.Error.t) Stdlib.result ioFollow part-number markers and fold pages until S3 stops returning a next marker or max_pages is reached.
val pages :
connection ->
upload:_ Multipart.Upload.t ->
?options:Multipart.List_parts.options ->
?max_pages:int ->
unit ->
(Multipart.List_parts.page list, Awskit.Error.t) Stdlib.result ioCollect uploaded-part pages.
Returns an error if max_pages is supplied and S3 reports more pages than the bound allows.
val parts :
connection ->
upload:_ Multipart.Upload.t ->
?options:Multipart.List_parts.options ->
?max_pages:int ->
unit ->
(Multipart.List_parts.part_info list, Awskit.Error.t) Stdlib.result ioCollect uploaded part summaries across pages.
Returns an error if max_pages is supplied and S3 reports more pages than the bound allows.