amazonka-cloudsearch-1.5.0: Amazon CloudSearch SDK.

Copyright(c) 2013-2017 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.CloudSearch.DefineExpression

Contents

Description

Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

Synopsis

Creating a Request

defineExpression Source #

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

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

data DefineExpression Source #

Container for the parameters to the DefineExpression operation. Specifies the name of the domain you want to update and the expression you want to configure.

See: defineExpression smart constructor.

Instances

Eq DefineExpression Source # 
Data DefineExpression Source # 

Methods

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

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

toConstr :: DefineExpression -> Constr #

dataTypeOf :: DefineExpression -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineExpression Source # 
Show DefineExpression Source # 
Generic DefineExpression Source # 
Hashable DefineExpression Source # 
NFData DefineExpression Source # 

Methods

rnf :: DefineExpression -> () #

AWSRequest DefineExpression Source # 
ToQuery DefineExpression Source # 
ToPath DefineExpression Source # 
ToHeaders DefineExpression Source # 
type Rep DefineExpression Source # 
type Rep DefineExpression = D1 (MetaData "DefineExpression" "Network.AWS.CloudSearch.DefineExpression" "amazonka-cloudsearch-1.5.0-D2W9VBKK6n8BWb4ttIsoqc" False) (C1 (MetaCons "DefineExpression'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Expression))))
type Rs DefineExpression Source # 

Request Lenses

Destructuring the Response

defineExpressionResponse Source #

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

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

data DefineExpressionResponse Source #

The result of a DefineExpression request. Contains the status of the newly-configured expression.

See: defineExpressionResponse smart constructor.

Instances

Eq DefineExpressionResponse Source # 
Data DefineExpressionResponse Source # 

Methods

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

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

toConstr :: DefineExpressionResponse -> Constr #

dataTypeOf :: DefineExpressionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineExpressionResponse Source # 
Show DefineExpressionResponse Source # 
Generic DefineExpressionResponse Source # 
NFData DefineExpressionResponse Source # 
type Rep DefineExpressionResponse Source # 
type Rep DefineExpressionResponse = D1 (MetaData "DefineExpressionResponse" "Network.AWS.CloudSearch.DefineExpression" "amazonka-cloudsearch-1.5.0-D2W9VBKK6n8BWb4ttIsoqc" False) (C1 (MetaCons "DefineExpressionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dersExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExpressionStatus))))

Response Lenses