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

Contents

Description

Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .

Synopsis

Creating a Request

createDomain Source #

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

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

  • cdDomainName - A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

data CreateDomain Source #

Container for the parameters to the CreateDomain operation. Specifies a name for the new search domain.

See: createDomain smart constructor.

Instances
Eq CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Data CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Methods

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

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

toConstr :: CreateDomain -> Constr #

dataTypeOf :: CreateDomain -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Show CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Generic CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Associated Types

type Rep CreateDomain :: Type -> Type #

Hashable CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

AWSRequest CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Associated Types

type Rs CreateDomain :: Type #

ToHeaders CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

ToPath CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

ToQuery CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

NFData CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Methods

rnf :: CreateDomain -> () #

type Rep CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

type Rep CreateDomain = D1 (MetaData "CreateDomain" "Network.AWS.CloudSearch.CreateDomain" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" True) (C1 (MetaCons "CreateDomain'" PrefixI True) (S1 (MetaSel (Just "_cdDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CreateDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Request Lenses

cdDomainName :: Lens' CreateDomain Text Source #

A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

Destructuring the Response

createDomainResponse Source #

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

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

data CreateDomainResponse Source #

The result of a CreateDomainRequest . Contains the status of a newly created domain.

See: createDomainResponse smart constructor.

Instances
Eq CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Data CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Methods

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

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

toConstr :: CreateDomainResponse -> Constr #

dataTypeOf :: CreateDomainResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Show CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Generic CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Associated Types

type Rep CreateDomainResponse :: Type -> Type #

NFData CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

Methods

rnf :: CreateDomainResponse -> () #

type Rep CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.CreateDomain

type Rep CreateDomainResponse = D1 (MetaData "CreateDomainResponse" "Network.AWS.CloudSearch.CreateDomain" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" False) (C1 (MetaCons "CreateDomainResponse'" PrefixI True) (S1 (MetaSel (Just "_cdrsDomainStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DomainStatus)) :*: S1 (MetaSel (Just "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cdrsResponseStatus :: Lens' CreateDomainResponse Int Source #

  • - | The response status code.