working the aws-api makes me understand why there is an iteration function in the core library now.
basically i'm doing a lot of this:
(iteration (fn [token]
(aws/invoke (aws/client {:api :codepipeline :region "us-east-2" :provider caws/provider})
{:op :ListPipelines :request {:nextToken token}}))
:kf :nextToken
:vf :pipelines)
(take 3 pipe)
;; => ([{:name "cac-training-Pipeline-BATF3SECTRPT",
;; :version 1,
;; :created #inst "2022-10-21T04:16:15.000-00:00",
;; :updated #inst "2022-10-21T04:16:15.000-00:00"}
;; {:name
;; "cacapi-training-DeploymentPipeline-1A5UTBE4M0MM0-Pipeline-1EK0CVNJQP4TL",
;; :version 2,
;; :created #inst "2022-10-21T03:46:36.000-00:00",
;; :updated #inst "2022-10-21T20:21:33.000-00:00"}])