Map<ShapeId, PaginationInfo> paginatedOperations() {
        Map<ShapeId, PaginationInfo> result = new TreeMap<>();
        PaginatedIndex index = PaginatedIndex.of(model());
        for (OperationShape operation : operations()) {
            index.getPaginationInfo(service(), operation).ifPresent(i -> result.put(operation.getId(), i));
        }
        return result;
    }
Get a map of operations that are paginated.

<p>The returned map is a map of operation shape IDs to a {@link PaginationInfo}
object.

@return Returns the paginated operations as a map.
@see PaginatedIndex
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/GenerateServiceDirective.java