amazonka-cloudsearch-1.4.2: 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.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:

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 # 
Data CreateDomain Source # 

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 # 
Show CreateDomain Source # 
Generic CreateDomain Source # 

Associated Types

type Rep CreateDomain :: * -> * #

Hashable CreateDomain Source # 
NFData CreateDomain Source # 

Methods

rnf :: CreateDomain -> () #

AWSRequest CreateDomain Source # 
ToPath CreateDomain Source # 
ToHeaders CreateDomain Source # 
ToQuery CreateDomain Source # 
type Rep CreateDomain Source # 
type Rep CreateDomain = D1 (MetaData "CreateDomain" "Network.AWS.CloudSearch.CreateDomain" "amazonka-cloudsearch-1.4.2-CAKRbniVYu2H89SnaDxUjn" True) (C1 (MetaCons "CreateDomain'" PrefixI True) (S1 (MetaSel (Just Symbol "_cdDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CreateDomain Source # 

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 # 
Data CreateDomainResponse Source # 

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 # 
Show CreateDomainResponse Source # 
Generic CreateDomainResponse Source # 
NFData CreateDomainResponse Source # 

Methods

rnf :: CreateDomainResponse -> () #

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

Response Lenses