search_products_as_admin
¶
search_products_as_admin(
*,
config_overrides: Optional[ServiceCatalogClientConfig] = 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/service_catalog.py
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 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 | |