Skip to content

SearchFacetsOutput

Source code in docs_src/capo_marketplace_discovery/types/search_facets_output.py
class SearchFacetsOutput(TypedDict, closed=True):
    total_results: (
        "capo_marketplace_discovery.types.non_negative_count.NonNegativeCount"
    )
    """<p>The total number of listings matching the search criteria.</p>"""
    listing_facets: "capo_marketplace_discovery.types.type_to_facet_map.TypeToFacetMap"
    """<p>A map of facet types to their corresponding facet values. Each facet value includes a display name, internal value, and count of matching listings.</p>"""
    next_token: NotRequired["capo_marketplace_discovery.types.next_token.NextToken"]
    """<p>If the service returns <code>nextToken</code>, more results are available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a <code>ValidationException</code>.</p>"""

listing_facets instance-attribute

listing_facets: TypeToFacetMap

A map of facet types to their corresponding facet values. Each facet value includes a display name, internal value, and count of matching listings.

next_token instance-attribute

next_token: NotRequired[NextToken]

If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

total_results instance-attribute

total_results: NonNegativeCount

The total number of listings matching the search criteria.