init(input:command:inputKey:outputKey:moreResultsKey:logger:)

Initialize PaginatorSequence

AWSClient+Paginate.swift:44
init(input: Input, command: @escaping ((Input, Logger) async throws -> Output), inputKey: KeyPath<Input, Input.Token?>? = nil, outputKey: KeyPath<Output, Input.Token?>, moreResultsKey: KeyPath<Output, Bool?>? = nil, logger: Logger = AWSClient.loggingDisabled)

Parameters

input

Initial Input value

command

Command to be paginated

inputKey

Optional KeyPath for Input token to compare against new key from Output

outputKey

KeyPath for Output token used to read new Output

moreResultsKey

Optional KeyPath for value indicating whether there are more results

logger

Logger