Skip to content

SearchIndexRequest

Source code in docs_src/capo_iot/types/search_index_request.py
class SearchIndexRequest(TypedDict, closed=True):
    index_name: NotRequired["capo_iot.types.index_name.IndexName"]
    """<p>The search index name.</p>"""
    query_string: "capo_iot.types.query_string.QueryString"
    """<p>The search query string. For more information about the search query syntax, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html">Query syntax</a>.</p>"""
    next_token: NotRequired["capo_iot.types.next_token.NextToken"]
    """<p>The token used to get the next set of results, or <code>null</code> if there are no additional results.</p>"""
    max_results: NotRequired[
        "capo_iot.types.search_query_max_results.SearchQueryMaxResults"
    ]
    """<p>The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_SearchIndex.html#iot-SearchIndex-request-nextToken"> <code>nextToken</code> </a> to retrieve the next set of results until <code>nextToken</code> returns <code>NULL</code>.</p>"""
    query_version: NotRequired["capo_iot.types.query_version.QueryVersion"]
    """<p>The query version.</p>"""

index_name instance-attribute

index_name: NotRequired[IndexName]

The search index name.

max_results instance-attribute

max_results: NotRequired[SearchQueryMaxResults]

The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use nextToken to retrieve the next set of results until nextToken returns NULL.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token used to get the next set of results, or null if there are no additional results.

query_string instance-attribute

query_string: QueryString

The search query string. For more information about the search query syntax, see Query syntax.

query_version instance-attribute

query_version: NotRequired[QueryVersion]

The query version.