amazonka-sdb-1.6.0: Amazon SimpleDB 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.SDB.CreateDomain

Contents

Description

The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete.

The client can create up to 100 domains per account.

If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/ .

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 - The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', -, and ..

data CreateDomain Source #

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 # 
ToHeaders CreateDomain Source # 
ToPath CreateDomain Source # 
ToQuery CreateDomain Source # 
type Rep CreateDomain Source # 
type Rep CreateDomain = D1 * (MetaData "CreateDomain" "Network.AWS.SDB.CreateDomain" "amazonka-sdb-1.6.0-6x74E0cJoCbDno9GVfcx0R" 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 #

The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', -, and ..

Destructuring the Response

createDomainResponse :: CreateDomainResponse Source #

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

data CreateDomainResponse Source #

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.SDB.CreateDomain" "amazonka-sdb-1.6.0-6x74E0cJoCbDno9GVfcx0R" False) (C1 * (MetaCons "CreateDomainResponse'" PrefixI False) (U1 *))