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

Contents

Description

Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.

Synopsis

Creating a Request

createDomainEntry #

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

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

  • cdeDomainName - The domain name (e.g., example.com ) for which you want to create the domain entry.
  • cdeDomainEntry - An array of key-value pairs containing information about the domain entry request.

data CreateDomainEntry #

See: createDomainEntry smart constructor.

Instances

Eq CreateDomainEntry # 
Data CreateDomainEntry # 

Methods

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

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

toConstr :: CreateDomainEntry -> Constr #

dataTypeOf :: CreateDomainEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDomainEntry # 
Show CreateDomainEntry # 
Generic CreateDomainEntry # 
Hashable CreateDomainEntry # 
ToJSON CreateDomainEntry # 
NFData CreateDomainEntry # 

Methods

rnf :: CreateDomainEntry -> () #

AWSRequest CreateDomainEntry # 
ToHeaders CreateDomainEntry # 
ToPath CreateDomainEntry # 
ToQuery CreateDomainEntry # 
type Rep CreateDomainEntry # 
type Rep CreateDomainEntry = D1 * (MetaData "CreateDomainEntry" "Network.AWS.Lightsail.CreateDomainEntry" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" False) (C1 * (MetaCons "CreateDomainEntry'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdeDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cdeDomainEntry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * DomainEntry))))
type Rs CreateDomainEntry # 

Request Lenses

cdeDomainName :: Lens' CreateDomainEntry Text #

The domain name (e.g., example.com ) for which you want to create the domain entry.

cdeDomainEntry :: Lens' CreateDomainEntry DomainEntry #

An array of key-value pairs containing information about the domain entry request.

Destructuring the Response

createDomainEntryResponse #

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

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

data CreateDomainEntryResponse #

See: createDomainEntryResponse smart constructor.

Instances

Eq CreateDomainEntryResponse # 
Data CreateDomainEntryResponse # 

Methods

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

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

toConstr :: CreateDomainEntryResponse -> Constr #

dataTypeOf :: CreateDomainEntryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDomainEntryResponse # 
Show CreateDomainEntryResponse # 
Generic CreateDomainEntryResponse # 
NFData CreateDomainEntryResponse # 
type Rep CreateDomainEntryResponse # 
type Rep CreateDomainEntryResponse = D1 * (MetaData "CreateDomainEntryResponse" "Network.AWS.Lightsail.CreateDomainEntry" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" False) (C1 * (MetaCons "CreateDomainEntryResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdersOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Operation))) (S1 * (MetaSel (Just Symbol "_cdersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cdersOperation :: Lens' CreateDomainEntryResponse (Maybe Operation) #

An array of key-value pairs containing information about the operation.

cdersResponseStatus :: Lens' CreateDomainEntryResponse Int #

  • - | The response status code.