amazonka-servicecatalog-1.6.0: Amazon Service Catalog SDK.

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

Network.AWS.ServiceCatalog.SearchProducts

Contents

Description

Gets information about the products to which the caller has access.

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 search filters. If no search filters are specified, the output includes all products to which the caller has access.
  • spSortOrder - The sort order. If no value is specified, the results are not sorted.
  • spAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • spPageToken - The page token for the next set of results. To retrieve the first set of results, use null.
  • spPageSize - The maximum number of items to return with this call.
  • spSortBy - The sort field. If no value is specified, the 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 # 
ToHeaders SearchProducts Source # 
ToPath SearchProducts Source # 
ToQuery SearchProducts Source # 
type Rep SearchProducts Source # 
type Rep SearchProducts = D1 * (MetaData "SearchProducts" "Network.AWS.ServiceCatalog.SearchProducts" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "SearchProducts'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_spFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map ProductViewFilterBy [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SortOrder))) (S1 * (MetaSel (Just Symbol "_spAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_spSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProductViewSortBy)))))))
type Rs SearchProducts Source # 

Request Lenses

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

The search filters. If no search filters are specified, the output includes all products to which the caller has access.

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

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

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

The language code. * en - English (default) * jp - Japanese * zh - Chinese

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

The page token for the next set of results. To retrieve the first set of results, use null.

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

The maximum number of items to return with this call.

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

The sort field. If no value is specified, the 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.6.0-8wUR8FvPwUW25Vnsy8k8jt" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

sprsNextPageToken :: Lens' SearchProductsResponse (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.

sprsResponseStatus :: Lens' SearchProductsResponse Int Source #

  • - | The response status code.