Skip to content

SearchFacetsInput

Source code in docs_src/capo_marketplace_discovery/types/search_facets_input.py
class SearchFacetsInput(TypedDict, closed=True):
    locale: NotRequired["capo_marketplace_discovery.types.locale.Locale"]
    """<p>The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See <code>Locale</code> for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.</p>"""
    search_text: NotRequired["capo_marketplace_discovery.types.search_text.SearchText"]
    """<p>The search query text to filter listings before retrieving facets.</p>"""
    filters: NotRequired[
        "capo_marketplace_discovery.types.search_filter_list.SearchFilterList"
    ]
    """<p>Filters to apply before retrieving facets. A result must match every filter. Within one filter, a result matches if it has any of the values.</p>"""
    facet_types: NotRequired[
        "capo_marketplace_discovery.types.facet_type_list.FacetTypeList"
    ]
    """<p>The facet types to retrieve. If you omit this field or leave it empty, the service returns all available facets.</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>"""

facet_types instance-attribute

facet_types: NotRequired[FacetTypeList]

The facet types to retrieve. If you omit this field or leave it empty, the service returns all available facets.

filters instance-attribute

filters: NotRequired[SearchFilterList]

Filters to apply before retrieving facets. A result must match every filter. Within one filter, a result matches if it has any of the values.

locale instance-attribute

locale: NotRequired[Locale]

The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

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.

search_text instance-attribute

search_text: NotRequired[SearchText]

The search query text to filter listings before retrieving facets.