Class PaginatedIndex

java.lang.Object
software.amazon.smithy.model.knowledge.PaginatedIndex
All Implemented Interfaces:
KnowledgeIndex

public final class PaginatedIndex extends Object implements KnowledgeIndex
Index of operation shapes to paginated trait information.

This index makes it easy to slice up paginated operations and get the resolved members. This index performs some basic validation of the paginated trait like ensuring that the operation has input and output, and that the members defined in the paginated trait can be found in the input or output of the operation. Additional validation is performed in the PaginatedTraitValidator (which makes use of this index).