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
6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 | |