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.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 # 
Data DeleteDomain Source # 

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 # 
Show DeleteDomain Source # 
Generic DeleteDomain Source # 

Associated Types

type Rep DeleteDomain :: * -> * #

Hashable DeleteDomain Source # 
ToJSON DeleteDomain Source # 
NFData DeleteDomain Source # 

Methods

rnf :: DeleteDomain -> () #

AWSRequest DeleteDomain Source # 
ToHeaders DeleteDomain Source # 
ToPath DeleteDomain Source # 
ToQuery DeleteDomain Source # 
type Rep DeleteDomain Source # 
type Rep DeleteDomain = D1 * (MetaData "DeleteDomain" "Network.AWS.Lightsail.DeleteDomain" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" True) (C1 * (MetaCons "DeleteDomain'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteDomain Source # 

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

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 # 
Show DeleteDomainResponse Source # 
Generic DeleteDomainResponse Source # 
NFData DeleteDomainResponse Source # 

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
type Rep DeleteDomainResponse = D1 * (MetaData "DeleteDomainResponse" "Network.AWS.Lightsail.DeleteDomain" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "DeleteDomainResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_delrsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Operation))) (S1 * (MetaSel (Just Symbol "_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.