Skip to content

SearchOpportunitiesRequest

Source code in docs_src/capo_partnercentral_selling/types/search_opportunities_request.py
class SearchOpportunitiesRequest(TypedDict, closed=True):
    catalog: "capo_partnercentral_selling.types.catalog_identifier.CatalogIdentifier"
    """<p>Specifies the catalog in which you run the search. Use <code>AWS</code> to search production opportunities, or use <code>Sandbox</code> to search opportunities in a testing environment.</p>"""
    max_results: NotRequired["capo_partnercentral_selling.types.page_size.PageSize"]
    """<p>The maximum number of results to return in a single call. Use this value to control pagination together with <code>NextToken</code>. If you omit this parameter, the service applies a default page size and returns the remaining results on subsequent pages.</p>"""
    next_token: NotRequired["str"]
    """<p>A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.</p>"""
    keyword: NotRequired[
        "capo_partnercentral_selling.types.search_keyword.SearchKeyword"
    ]
    """<p>An optional free-text query string matched against opportunity fields. When provided together with <code>Filter</code>, both narrow the result set.</p>"""
    filter: NotRequired[
        "capo_partnercentral_selling.types.opportunity_search_filter.OpportunitySearchFilter"
    ]
    """<p>A recursive, structured filter tree. Each node is either a boolean combinator (<code>AndAllFilters</code>, <code>OrAllFilters</code>, or <code>NotFilter</code>) or a leaf predicate (a single comparison such as <code>EqualsTo</code>). When provided together with <code>Keyword</code>, both narrow the result set.</p>"""
    sort: NotRequired[
        "capo_partnercentral_selling.types.opportunity_search_sort.OpportunitySearchSort"
    ]
    """<p>Specifies the field and direction used to sort the search results.</p>"""

catalog instance-attribute

Specifies the catalog in which you run the search. Use AWS to search production opportunities, or use Sandbox to search opportunities in a testing environment.

filter instance-attribute

filter: NotRequired[OpportunitySearchFilter]

A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword, both narrow the result set.

keyword instance-attribute

keyword: NotRequired[SearchKeyword]

An optional free-text query string matched against opportunity fields. When provided together with Filter, both narrow the result set.

max_results instance-attribute

max_results: NotRequired[PageSize]

The maximum number of results to return in a single call. Use this value to control pagination together with NextToken. If you omit this parameter, the service applies a default page size and returns the remaining results on subsequent pages.

next_token instance-attribute

next_token: NotRequired[str]

A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.

sort instance-attribute

sort: NotRequired[OpportunitySearchSort]

Specifies the field and direction used to sort the search results.