amazonka-lightsail-1.6.0: Amazon Lightsail 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.Lightsail.CreateDomain

Contents

Description

Creates a domain resource for the specified domain (e.g., example.com).

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 domain name to manage (e.g., example.com ).

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 # 
ToJSON 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.Lightsail.CreateDomain" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" 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 domain name to manage (e.g., example.com ).

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:

  • cdrsOperation - An array of key-value pairs containing information about the domain resource you created.
  • cdrsResponseStatus - -- | The response status code.

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.Lightsail.CreateDomain" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "CreateDomainResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdrsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Operation))) (S1 * (MetaSel (Just Symbol "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cdrsOperation :: Lens' CreateDomainResponse (Maybe Operation) Source #

An array of key-value pairs containing information about the domain resource you created.

cdrsResponseStatus :: Lens' CreateDomainResponse Int Source #

  • - | The response status code.