amazonka-servicecatalog-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Data SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Show SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Generic SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Associated Types

type Rep SearchProducts :: Type -> Type #

Hashable SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

ToJSON SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

AWSRequest SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Associated Types

type Rs SearchProducts :: Type #

ToHeaders SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

ToPath SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

ToQuery SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

NFData SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Methods

rnf :: SearchProducts -> () #

type Rep SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

type Rep SearchProducts = D1 (MetaData "SearchProducts" "Network.AWS.ServiceCatalog.SearchProducts" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "SearchProducts'" PrefixI True) ((S1 (MetaSel (Just "_spFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map ProductViewFilterBy [Text]))) :*: (S1 (MetaSel (Just "_spSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrder)) :*: S1 (MetaSel (Just "_spAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_spPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_spPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_spSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProductViewSortBy))))))
type Rs SearchProducts Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Data SearchProductsResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Show SearchProductsResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Generic SearchProductsResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Associated Types

type Rep SearchProductsResponse :: Type -> Type #

NFData SearchProductsResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

Methods

rnf :: SearchProductsResponse -> () #

type Rep SearchProductsResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.SearchProducts

type Rep SearchProductsResponse = D1 (MetaData "SearchProductsResponse" "Network.AWS.ServiceCatalog.SearchProducts" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "SearchProductsResponse'" PrefixI True) ((S1 (MetaSel (Just "_sprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sprsProductViewAggregations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [ProductViewAggregationValue])))) :*: (S1 (MetaSel (Just "_sprsProductViewSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProductViewSummary])) :*: S1 (MetaSel (Just "_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.