amazonka-cloudsearch-1.6.1: Amazon CloudSearch 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.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 # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Data DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

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

Defined in Network.AWS.CloudSearch.DefineExpression

Show DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Generic DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Associated Types

type Rep DefineExpression :: Type -> Type #

Hashable DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

AWSRequest DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Associated Types

type Rs DefineExpression :: Type #

ToHeaders DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

ToPath DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

ToQuery DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

NFData DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Methods

rnf :: DefineExpression -> () #

type Rep DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

type Rep DefineExpression = D1 (MetaData "DefineExpression" "Network.AWS.CloudSearch.DefineExpression" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" False) (C1 (MetaCons "DefineExpression'" PrefixI True) (S1 (MetaSel (Just "_dDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Expression)))
type Rs DefineExpression Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

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

Defined in Network.AWS.CloudSearch.DefineExpression

Data DefineExpressionResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

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

Defined in Network.AWS.CloudSearch.DefineExpression

Show DefineExpressionResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Generic DefineExpressionResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

Associated Types

type Rep DefineExpressionResponse :: Type -> Type #

NFData DefineExpressionResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

type Rep DefineExpressionResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineExpression

type Rep DefineExpressionResponse = D1 (MetaData "DefineExpressionResponse" "Network.AWS.CloudSearch.DefineExpression" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" False) (C1 (MetaCons "DefineExpressionResponse'" PrefixI True) (S1 (MetaSel (Just "_dersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_dersExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExpressionStatus)))

Response Lenses