amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

Copyright(c) 2013-2017 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 Source #

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

See: createDomainEntry smart constructor.

Instances

Eq CreateDomainEntry Source # 
Data CreateDomainEntry Source # 

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 Source # 
Show CreateDomainEntry Source # 
Generic CreateDomainEntry Source # 
Hashable CreateDomainEntry Source # 
ToJSON CreateDomainEntry Source # 
NFData CreateDomainEntry Source # 

Methods

rnf :: CreateDomainEntry -> () #

AWSRequest CreateDomainEntry Source # 
ToQuery CreateDomainEntry Source # 
ToPath CreateDomainEntry Source # 
ToHeaders CreateDomainEntry Source # 
type Rep CreateDomainEntry Source # 
type Rep CreateDomainEntry = D1 (MetaData "CreateDomainEntry" "Network.AWS.Lightsail.CreateDomainEntry" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" 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 Source # 

Request Lenses

cdeDomainName :: Lens' CreateDomainEntry Text Source #

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

cdeDomainEntry :: Lens' CreateDomainEntry DomainEntry Source #

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

Destructuring the Response

createDomainEntryResponse Source #

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

See: createDomainEntryResponse smart constructor.

Instances

Eq CreateDomainEntryResponse Source # 
Data CreateDomainEntryResponse Source # 

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 Source # 
Show CreateDomainEntryResponse Source # 
Generic CreateDomainEntryResponse Source # 
NFData CreateDomainEntryResponse Source # 
type Rep CreateDomainEntryResponse Source # 
type Rep CreateDomainEntryResponse = D1 (MetaData "CreateDomainEntryResponse" "Network.AWS.Lightsail.CreateDomainEntry" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" 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) Source #

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