amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ServiceCatalog.SearchProducts

Contents

Description

Returns a paginated list all of the Products objects to which the caller has access.

The output of this operation can be used as input for other operations, such as DescribeProductView .

Synopsis

Creating a Request

searchProducts :: SearchProducts Source #

Creates a value of SearchProducts with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • spFilters - The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access.
  • spSortOrder - The sort order specifier. If no value is specified, results are not sorted.
  • spAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • spPageToken - The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
  • spPageSize - The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.
  • spSortBy - The sort field specifier. If no value is specified, results are not sorted.

data SearchProducts Source #

See: searchProducts smart constructor.

Instances

Eq SearchProducts Source # 
Data SearchProducts Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchProducts -> c SearchProducts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchProducts #

toConstr :: SearchProducts -> Constr #

dataTypeOf :: SearchProducts -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SearchProducts) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchProducts) #

gmapT :: (forall b. Data b => b -> b) -> SearchProducts -> SearchProducts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchProducts -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchProducts -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchProducts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchProducts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchProducts -> m SearchProducts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchProducts -> m SearchProducts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchProducts -> m SearchProducts #

Read SearchProducts Source # 
Show SearchProducts Source # 
Generic SearchProducts Source # 

Associated Types

type Rep SearchProducts :: * -> * #

Hashable SearchProducts Source # 
ToJSON SearchProducts Source # 
NFData SearchProducts Source # 

Methods

rnf :: SearchProducts -> () #

AWSRequest SearchProducts Source # 
ToPath SearchProducts Source # 
ToHeaders SearchProducts Source # 
ToQuery SearchProducts Source # 
type Rep SearchProducts Source # 
type Rs SearchProducts Source # 

Request Lenses

spFilters :: Lens' SearchProducts (HashMap ProductViewFilterBy [Text]) Source #

The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access.

spSortOrder :: Lens' SearchProducts (Maybe SortOrder) Source #

The sort order specifier. If no value is specified, results are not sorted.

spAcceptLanguage :: Lens' SearchProducts (Maybe Text) Source #

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

spPageToken :: Lens' SearchProducts (Maybe Text) Source #

The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .

spPageSize :: Lens' SearchProducts (Maybe Natural) Source #

The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.

spSortBy :: Lens' SearchProducts (Maybe ProductViewSortBy) Source #

The sort field specifier. If no value is specified, results are not sorted.

Destructuring the Response

searchProductsResponse Source #

Creates a value of SearchProductsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SearchProductsResponse Source #

See: searchProductsResponse smart constructor.

Instances

Eq SearchProductsResponse Source # 
Data SearchProductsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchProductsResponse -> c SearchProductsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchProductsResponse #

toConstr :: SearchProductsResponse -> Constr #

dataTypeOf :: SearchProductsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SearchProductsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchProductsResponse) #

gmapT :: (forall b. Data b => b -> b) -> SearchProductsResponse -> SearchProductsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchProductsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchProductsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchProductsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchProductsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchProductsResponse -> m SearchProductsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchProductsResponse -> m SearchProductsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchProductsResponse -> m SearchProductsResponse #

Read SearchProductsResponse Source # 
Show SearchProductsResponse Source # 
Generic SearchProductsResponse Source # 
NFData SearchProductsResponse Source # 

Methods

rnf :: SearchProductsResponse -> () #

type Rep SearchProductsResponse Source # 
type Rep SearchProductsResponse = D1 (MetaData "SearchProductsResponse" "Network.AWS.ServiceCatalog.SearchProducts" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "SearchProductsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sprsProductViewAggregations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [ProductViewAggregationValue]))))) ((:*:) (S1 (MetaSel (Just Symbol "_sprsProductViewSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProductViewSummary]))) (S1 (MetaSel (Just Symbol "_sprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

sprsNextPageToken :: Lens' SearchProductsResponse (Maybe Text) Source #

The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

sprsProductViewAggregations :: Lens' SearchProductsResponse (HashMap Text [ProductViewAggregationValue]) Source #

A list of the product view aggregation value objects.

sprsProductViewSummaries :: Lens' SearchProductsResponse [ProductViewSummary] Source #

A list of the product view summary objects.

sprsResponseStatus :: Lens' SearchProductsResponse Int Source #

  • - | The response status code.