Skip to content

SearchProducts

Source: src/AWS/ServiceCatalog/SearchProducts.ts

Runtime binding for servicecatalog:SearchProducts.

Searches the products to which the caller has access — the end-user view of the catalog (products published to a portfolio the caller’s principal is associated with).

Account-level operation — which products the caller can see and act on is governed by portfolio principal associations, so the binding takes no resource argument. Provide the implementation with Effect.provide(AWS.ServiceCatalog.SearchProductsHttp).

// init — account-level binding, no resource argument
const searchProducts = yield* AWS.ServiceCatalog.SearchProducts();
// runtime
const { ProductViewSummaries } = yield* searchProducts();