search_products
async
¶
search_products(
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
filters: Optional[ProductViewFilters] = None,
page_size: Optional[PageSizeMax100] = None,
sort_by: Optional[ProductViewSortBy] = None,
sort_order: Optional[SortOrder] = None,
page_token: Optional[PageToken] = None,
) -> SearchProductsOutput
Gets information about the products to which the caller has access.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
filters(Optional[ProductViewFilters], default:None) –The search filters. If no search filters are specified, the output includes all products to which the caller has access.
-
page_size(Optional[PageSizeMax100], default:None) –The maximum number of items to return with this call.
-
sort_by(Optional[ProductViewSortBy], default:None) –The sort field. If no value is specified, the results are not sorted.
-
sort_order(Optional[SortOrder], default:None) –The sort order. If no value is specified, the results are not sorted.
-
page_token(Optional[PageToken], default:None) –The page token for the next set of results. To retrieve the first set of results, use null.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_catalog/_services/async_service_catalog.py
5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 | |