amazonka-lightsail-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Data CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.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.Lightsail.CreateDomain

Show CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Generic CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Associated Types

type Rep CreateDomain :: Type -> Type #

Hashable CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

ToJSON CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

AWSRequest CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Associated Types

type Rs CreateDomain :: Type #

ToHeaders CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

ToPath CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

ToQuery CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

NFData CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Methods

rnf :: CreateDomain -> () #

type Rep CreateDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

type Rep CreateDomain = D1 (MetaData "CreateDomain" "Network.AWS.Lightsail.CreateDomain" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" 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.Lightsail.CreateDomain

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 # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Data CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.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.Lightsail.CreateDomain

Show CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Generic CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Associated Types

type Rep CreateDomainResponse :: Type -> Type #

NFData CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

Methods

rnf :: CreateDomainResponse -> () #

type Rep CreateDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomain

type Rep CreateDomainResponse = D1 (MetaData "CreateDomainResponse" "Network.AWS.Lightsail.CreateDomain" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "CreateDomainResponse'" PrefixI True) (S1 (MetaSel (Just "_cdrsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 (MetaSel (Just "_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.