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

Contents

Description

Deletes the specified domain recordset and all of its domain records.

Synopsis

Creating a Request

deleteDomain Source #

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

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

data DeleteDomain Source #

See: deleteDomain smart constructor.

Instances
Eq DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Data DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Methods

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

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

toConstr :: DeleteDomain -> Constr #

dataTypeOf :: DeleteDomain -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

Hashable DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

ToJSON DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Associated Types

type Rs DeleteDomain :: Type #

ToHeaders DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

NFData DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

type Rep DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

type Rep DeleteDomain = D1 (MetaData "DeleteDomain" "Network.AWS.Lightsail.DeleteDomain" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "DeleteDomain'" PrefixI True) (S1 (MetaSel (Just "_ddDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteDomain Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Request Lenses

ddDomainName :: Lens' DeleteDomain Text Source #

The specific domain name to delete.

Destructuring the Response

deleteDomainResponse Source #

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

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

  • delrsOperation - An array of key-value pairs containing information about the results of your delete domain request.
  • delrsResponseStatus - -- | The response status code.

data DeleteDomainResponse Source #

See: deleteDomainResponse smart constructor.

Instances
Eq DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Data DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Methods

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

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

toConstr :: DeleteDomainResponse -> Constr #

dataTypeOf :: DeleteDomainResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteDomain

type Rep DeleteDomainResponse = D1 (MetaData "DeleteDomainResponse" "Network.AWS.Lightsail.DeleteDomain" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "DeleteDomainResponse'" PrefixI True) (S1 (MetaSel (Just "_delrsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 (MetaSel (Just "_delrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

delrsOperation :: Lens' DeleteDomainResponse (Maybe Operation) Source #

An array of key-value pairs containing information about the results of your delete domain request.

delrsResponseStatus :: Lens' DeleteDomainResponse Int Source #

  • - | The response status code.