Skip to content

Commit be341b4

Browse files
committed
Continuation token
1 parent 1bdd533 commit be341b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bucket/list_buckets.gleam

+3
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@ fn response_success(
7474

7575
xml.element("ListAllMyBucketsResult", ListAllMyBucketsResult([], option.None))
7676
|> xml.keep(buckets, fn(d, b) { ListAllMyBucketsResult(..d, buckets: b) })
77+
|> xml.keep_text("ContinuationToken", fn(d, b) {
78+
ListAllMyBucketsResult(..d, continuation_token: option.Some(b))
79+
})
7780
|> xml.parse(response.body)
7881
}

0 commit comments

Comments
 (0)