| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.SearchProductsAsAdmin
Description
Gets information about the products for the specified portfolio or all products.
This operation returns paginated results.
Synopsis
- data SearchProductsAsAdmin = SearchProductsAsAdmin' {}
- newSearchProductsAsAdmin :: SearchProductsAsAdmin
- searchProductsAsAdmin_acceptLanguage :: Lens' SearchProductsAsAdmin (Maybe Text)
- searchProductsAsAdmin_filters :: Lens' SearchProductsAsAdmin (Maybe (HashMap ProductViewFilterBy [Text]))
- searchProductsAsAdmin_pageSize :: Lens' SearchProductsAsAdmin (Maybe Natural)
- searchProductsAsAdmin_pageToken :: Lens' SearchProductsAsAdmin (Maybe Text)
- searchProductsAsAdmin_portfolioId :: Lens' SearchProductsAsAdmin (Maybe Text)
- searchProductsAsAdmin_productSource :: Lens' SearchProductsAsAdmin (Maybe ProductSource)
- searchProductsAsAdmin_sortBy :: Lens' SearchProductsAsAdmin (Maybe ProductViewSortBy)
- searchProductsAsAdmin_sortOrder :: Lens' SearchProductsAsAdmin (Maybe SortOrder)
- data SearchProductsAsAdminResponse = SearchProductsAsAdminResponse' {}
- newSearchProductsAsAdminResponse :: Int -> SearchProductsAsAdminResponse
- searchProductsAsAdminResponse_nextPageToken :: Lens' SearchProductsAsAdminResponse (Maybe Text)
- searchProductsAsAdminResponse_productViewDetails :: Lens' SearchProductsAsAdminResponse (Maybe [ProductViewDetail])
- searchProductsAsAdminResponse_httpStatus :: Lens' SearchProductsAsAdminResponse Int
Creating a Request
data SearchProductsAsAdmin Source #
See: newSearchProductsAsAdmin smart constructor.
Constructors
| SearchProductsAsAdmin' | |
Fields
| |
Instances
newSearchProductsAsAdmin :: SearchProductsAsAdmin Source #
Create a value of SearchProductsAsAdmin with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceptLanguage:SearchProductsAsAdmin', searchProductsAsAdmin_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
$sel:filters:SearchProductsAsAdmin', searchProductsAsAdmin_filters - The search filters. If no search filters are specified, the output
includes all products to which the administrator has access.
$sel:pageSize:SearchProductsAsAdmin', searchProductsAsAdmin_pageSize - The maximum number of items to return with this call.
$sel:pageToken:SearchProductsAsAdmin', searchProductsAsAdmin_pageToken - The page token for the next set of results. To retrieve the first set of
results, use null.
SearchProductsAsAdmin, searchProductsAsAdmin_portfolioId - The portfolio identifier.
$sel:productSource:SearchProductsAsAdmin', searchProductsAsAdmin_productSource - Access level of the source of the product.
$sel:sortBy:SearchProductsAsAdmin', searchProductsAsAdmin_sortBy - The sort field. If no value is specified, the results are not sorted.
$sel:sortOrder:SearchProductsAsAdmin', searchProductsAsAdmin_sortOrder - The sort order. If no value is specified, the results are not sorted.
Request Lenses
searchProductsAsAdmin_acceptLanguage :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
searchProductsAsAdmin_filters :: Lens' SearchProductsAsAdmin (Maybe (HashMap ProductViewFilterBy [Text])) Source #
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
searchProductsAsAdmin_pageSize :: Lens' SearchProductsAsAdmin (Maybe Natural) Source #
The maximum number of items to return with this call.
searchProductsAsAdmin_pageToken :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
searchProductsAsAdmin_portfolioId :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The portfolio identifier.
searchProductsAsAdmin_productSource :: Lens' SearchProductsAsAdmin (Maybe ProductSource) Source #
Access level of the source of the product.
searchProductsAsAdmin_sortBy :: Lens' SearchProductsAsAdmin (Maybe ProductViewSortBy) Source #
The sort field. If no value is specified, the results are not sorted.
searchProductsAsAdmin_sortOrder :: Lens' SearchProductsAsAdmin (Maybe SortOrder) Source #
The sort order. If no value is specified, the results are not sorted.
Destructuring the Response
data SearchProductsAsAdminResponse Source #
See: newSearchProductsAsAdminResponse smart constructor.
Constructors
| SearchProductsAsAdminResponse' | |
Fields
| |
Instances
newSearchProductsAsAdminResponse Source #
Create a value of SearchProductsAsAdminResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:SearchProductsAsAdminResponse', searchProductsAsAdminResponse_nextPageToken - The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:productViewDetails:SearchProductsAsAdminResponse', searchProductsAsAdminResponse_productViewDetails - Information about the product views.
$sel:httpStatus:SearchProductsAsAdminResponse', searchProductsAsAdminResponse_httpStatus - The response's http status code.
Response Lenses
searchProductsAsAdminResponse_nextPageToken :: Lens' SearchProductsAsAdminResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
searchProductsAsAdminResponse_productViewDetails :: Lens' SearchProductsAsAdminResponse (Maybe [ProductViewDetail]) Source #
Information about the product views.
searchProductsAsAdminResponse_httpStatus :: Lens' SearchProductsAsAdminResponse Int Source #
The response's http status code.