Skip to content

StartSearchRequest

Source code in docs_src/capo_iotsitewise/types/start_search_request.py
class StartSearchRequest(TypedDict, closed=True):
    workspace_name: "capo_iotsitewise.types.workspace_name.WorkspaceName"
    """<p>The name of the workspace whose data is searched.</p>"""
    query_statement: (
        "capo_iotsitewise.types.search_query_statement.SearchQueryStatement"
    )
    """<p>The natural-language query describing the data to search for.</p>"""
    client_token: NotRequired["capo_iotsitewise.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier you provide to ensure the request is idempotent. Repeating a StartSearch call with the same <code>clientToken</code> returns the original search rather than starting a new one. If omitted, the SDK autogenerates one.</p>"""
    search_type: NotRequired["capo_iotsitewise.types.search_type.SearchType"]
    """<p>The search strategy to use. Defaults to <code>QUICK</code> when omitted.</p>"""
    search_filters: NotRequired["capo_iotsitewise.types.search_filters.SearchFilters"]
    """<p>Optional filters that restrict the search to a subset of the workspace's data.</p>"""
    group_id: NotRequired["capo_iotsitewise.types.group_id.GroupId"]
    """<p>An optional caller-supplied identifier used to group related searches together.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier you provide to ensure the request is idempotent. Repeating a StartSearch call with the same clientToken returns the original search rather than starting a new one. If omitted, the SDK autogenerates one.

group_id instance-attribute

group_id: NotRequired[GroupId]

An optional caller-supplied identifier used to group related searches together.

query_statement instance-attribute

query_statement: SearchQueryStatement

The natural-language query describing the data to search for.

search_filters instance-attribute

search_filters: NotRequired[SearchFilters]

Optional filters that restrict the search to a subset of the workspace's data.

search_type instance-attribute

search_type: NotRequired[SearchType]

The search strategy to use. Defaults to QUICK when omitted.

workspace_name instance-attribute

workspace_name: WorkspaceName

The name of the workspace whose data is searched.