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

Defined in Network.AWS.Lightsail.CreateDomainEntry

Data CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.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 Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Show CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Generic CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Associated Types

type Rep CreateDomainEntry :: Type -> Type #

Hashable CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

ToJSON CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

AWSRequest CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Associated Types

type Rs CreateDomainEntry :: Type #

ToHeaders CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

ToPath CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

ToQuery CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

NFData CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Methods

rnf :: CreateDomainEntry -> () #

type Rep CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

type Rep CreateDomainEntry = D1 (MetaData "CreateDomainEntry" "Network.AWS.Lightsail.CreateDomainEntry" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "CreateDomainEntry'" PrefixI True) (S1 (MetaSel (Just "_cdeDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdeDomainEntry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DomainEntry)))
type Rs CreateDomainEntry Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

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

Defined in Network.AWS.Lightsail.CreateDomainEntry

Data CreateDomainEntryResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

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

Defined in Network.AWS.Lightsail.CreateDomainEntry

Show CreateDomainEntryResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Generic CreateDomainEntryResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

Associated Types

type Rep CreateDomainEntryResponse :: Type -> Type #

NFData CreateDomainEntryResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

type Rep CreateDomainEntryResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateDomainEntry

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