| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.SearchProductsAsAdmin
Description
Gets information about the products for the specified portfolio or all products.
This operation returns paginated results.
- searchProductsAsAdmin :: SearchProductsAsAdmin
- data SearchProductsAsAdmin
- spaaPortfolioId :: Lens' SearchProductsAsAdmin (Maybe Text)
- spaaFilters :: Lens' SearchProductsAsAdmin (HashMap ProductViewFilterBy [Text])
- spaaSortOrder :: Lens' SearchProductsAsAdmin (Maybe SortOrder)
- spaaAcceptLanguage :: Lens' SearchProductsAsAdmin (Maybe Text)
- spaaPageToken :: Lens' SearchProductsAsAdmin (Maybe Text)
- spaaPageSize :: Lens' SearchProductsAsAdmin (Maybe Natural)
- spaaProductSource :: Lens' SearchProductsAsAdmin (Maybe ProductSource)
- spaaSortBy :: Lens' SearchProductsAsAdmin (Maybe ProductViewSortBy)
- searchProductsAsAdminResponse :: Int -> SearchProductsAsAdminResponse
- data SearchProductsAsAdminResponse
- spaarsNextPageToken :: Lens' SearchProductsAsAdminResponse (Maybe Text)
- spaarsProductViewDetails :: Lens' SearchProductsAsAdminResponse [ProductViewDetail]
- spaarsResponseStatus :: Lens' SearchProductsAsAdminResponse Int
Creating a Request
searchProductsAsAdmin :: SearchProductsAsAdmin Source #
Creates a value of SearchProductsAsAdmin with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spaaPortfolioId- The portfolio identifier.spaaFilters- The search filters. If no search filters are specified, the output includes all products to which the administrator has access.spaaSortOrder- The sort order. If no value is specified, the results are not sorted.spaaAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChinesespaaPageToken- The page token for the next set of results. To retrieve the first set of results, use null.spaaPageSize- The maximum number of items to return with this call.spaaProductSource- Access level of the source of the product.spaaSortBy- The sort field. If no value is specified, the results are not sorted.
data SearchProductsAsAdmin Source #
See: searchProductsAsAdmin smart constructor.
Instances
Request Lenses
spaaPortfolioId :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The portfolio identifier.
spaaFilters :: Lens' SearchProductsAsAdmin (HashMap ProductViewFilterBy [Text]) Source #
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
spaaSortOrder :: Lens' SearchProductsAsAdmin (Maybe SortOrder) Source #
The sort order. If no value is specified, the results are not sorted.
spaaAcceptLanguage :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
spaaPageToken :: Lens' SearchProductsAsAdmin (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
spaaPageSize :: Lens' SearchProductsAsAdmin (Maybe Natural) Source #
The maximum number of items to return with this call.
spaaProductSource :: Lens' SearchProductsAsAdmin (Maybe ProductSource) Source #
Access level of the source of the product.
spaaSortBy :: Lens' SearchProductsAsAdmin (Maybe ProductViewSortBy) Source #
The sort field. If no value is specified, the results are not sorted.
Destructuring the Response
searchProductsAsAdminResponse Source #
Arguments
| :: Int | |
| -> SearchProductsAsAdminResponse |
Creates a value of SearchProductsAsAdminResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spaarsNextPageToken- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.spaarsProductViewDetails- Information about the product views.spaarsResponseStatus- -- | The response status code.
data SearchProductsAsAdminResponse Source #
See: searchProductsAsAdminResponse smart constructor.
Instances
Response Lenses
spaarsNextPageToken :: 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.
spaarsProductViewDetails :: Lens' SearchProductsAsAdminResponse [ProductViewDetail] Source #
Information about the product views.
spaarsResponseStatus :: Lens' SearchProductsAsAdminResponse Int Source #
- - | The response status code.