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.DefineIndexField

Contents

Description

Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType . If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

Synopsis

Creating a Request

defineIndexField Source #

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

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

data DefineIndexField Source #

Container for the parameters to the DefineIndexField operation. Specifies the name of the domain you want to update and the index field configuration.

See: defineIndexField smart constructor.

Instances
Eq DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Data DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Methods

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

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

toConstr :: DefineIndexField -> Constr #

dataTypeOf :: DefineIndexField -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Show DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Generic DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Associated Types

type Rep DefineIndexField :: Type -> Type #

Hashable DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

AWSRequest DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Associated Types

type Rs DefineIndexField :: Type #

ToHeaders DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

ToPath DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

ToQuery DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

NFData DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Methods

rnf :: DefineIndexField -> () #

type Rep DefineIndexField Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

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

Defined in Network.AWS.CloudSearch.DefineIndexField

Request Lenses

defeIndexField :: Lens' DefineIndexField IndexField Source #

The index field and field options you want to configure.

Destructuring the Response

defineIndexFieldResponse Source #

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

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

data DefineIndexFieldResponse Source #

The result of a DefineIndexField request. Contains the status of the newly-configured index field.

See: defineIndexFieldResponse smart constructor.

Instances
Eq DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Data DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Methods

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

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

toConstr :: DefineIndexFieldResponse -> Constr #

dataTypeOf :: DefineIndexFieldResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Show DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Generic DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

Associated Types

type Rep DefineIndexFieldResponse :: Type -> Type #

NFData DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

type Rep DefineIndexFieldResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DefineIndexField

type Rep DefineIndexFieldResponse = D1 (MetaData "DefineIndexFieldResponse" "Network.AWS.CloudSearch.DefineIndexField" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" False) (C1 (MetaCons "DefineIndexFieldResponse'" PrefixI True) (S1 (MetaSel (Just "_defrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_defrsIndexField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IndexFieldStatus)))

Response Lenses