amazonka-cloudsearch-1.4.3: Amazon CloudSearch 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.CloudSearch.DefineSuggester

Contents

Description

Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.

Synopsis

Creating a Request

defineSuggester Source #

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

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

data DefineSuggester Source #

Container for the parameters to the DefineSuggester operation. Specifies the name of the domain you want to update and the suggester configuration.

See: defineSuggester smart constructor.

Instances

Eq DefineSuggester Source # 
Data DefineSuggester Source # 

Methods

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

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

toConstr :: DefineSuggester -> Constr #

dataTypeOf :: DefineSuggester -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineSuggester Source # 
Show DefineSuggester Source # 
Generic DefineSuggester Source # 
Hashable DefineSuggester Source # 
NFData DefineSuggester Source # 

Methods

rnf :: DefineSuggester -> () #

AWSRequest DefineSuggester Source # 
ToPath DefineSuggester Source # 
ToHeaders DefineSuggester Source # 
ToQuery DefineSuggester Source # 
type Rep DefineSuggester Source # 
type Rep DefineSuggester = D1 (MetaData "DefineSuggester" "Network.AWS.CloudSearch.DefineSuggester" "amazonka-cloudsearch-1.4.3-8jIA3omBRonH9H48gQAXGd" False) (C1 (MetaCons "DefineSuggester'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_defDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_defSuggester") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Suggester))))
type Rs DefineSuggester Source # 

Request Lenses

Destructuring the Response

defineSuggesterResponse Source #

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

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

data DefineSuggesterResponse Source #

The result of a DefineSuggester request. Contains the status of the newly-configured suggester.

See: defineSuggesterResponse smart constructor.

Instances

Eq DefineSuggesterResponse Source # 
Data DefineSuggesterResponse Source # 

Methods

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

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

toConstr :: DefineSuggesterResponse -> Constr #

dataTypeOf :: DefineSuggesterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineSuggesterResponse Source # 
Show DefineSuggesterResponse Source # 
Generic DefineSuggesterResponse Source # 
NFData DefineSuggesterResponse Source # 

Methods

rnf :: DefineSuggesterResponse -> () #

type Rep DefineSuggesterResponse Source # 
type Rep DefineSuggesterResponse = D1 (MetaData "DefineSuggesterResponse" "Network.AWS.CloudSearch.DefineSuggester" "amazonka-cloudsearch-1.4.3-8jIA3omBRonH9H48gQAXGd" False) (C1 (MetaCons "DefineSuggesterResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dsrsSuggester") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SuggesterStatus))))

Response Lenses