search_products_as_admin
async
¶
search_products_as_admin(
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
portfolio_id: Optional[Id] = None,
filters: Optional[ProductViewFilters] = None,
sort_by: Optional[ProductViewSortBy] = None,
sort_order: Optional[SortOrder] = None,
page_token: Optional[PageToken] = None,
page_size: Optional[PageSize] = None,
product_source: Optional[ProductSource] = None,
) -> SearchProductsAsAdminOutput
Gets information about the products for the specified portfolio or all products.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
portfolio_id(Optional[Id], default:None) –The portfolio identifier.
-
filters(Optional[ProductViewFilters], default:None) –The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
-
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.
-
page_size(Optional[PageSize], default:None) –The maximum number of items to return with this call.
-
product_source(Optional[ProductSource], default:None) –Access level of the source of the product.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
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
5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 | |