amazonka-route53-autonaming-1.6.1: Amazon Route 53 Auto Naming 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.Route53AutoNaming.DeleteNamespace

Contents

Description

Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.

Synopsis

Creating a Request

deleteNamespace Source #

Arguments

:: Text

dnId

-> DeleteNamespace 

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

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

  • dnId - The ID of the namespace that you want to delete.

data DeleteNamespace Source #

See: deleteNamespace smart constructor.

Instances
Eq DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Data DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Methods

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

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

toConstr :: DeleteNamespace -> Constr #

dataTypeOf :: DeleteNamespace -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Show DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Generic DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Associated Types

type Rep DeleteNamespace :: Type -> Type #

Hashable DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

ToJSON DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

AWSRequest DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Associated Types

type Rs DeleteNamespace :: Type #

ToHeaders DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

ToPath DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

ToQuery DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

NFData DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Methods

rnf :: DeleteNamespace -> () #

type Rep DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

type Rep DeleteNamespace = D1 (MetaData "DeleteNamespace" "Network.AWS.Route53AutoNaming.DeleteNamespace" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" True) (C1 (MetaCons "DeleteNamespace'" PrefixI True) (S1 (MetaSel (Just "_dnId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Request Lenses

dnId :: Lens' DeleteNamespace Text Source #

The ID of the namespace that you want to delete.

Destructuring the Response

deleteNamespaceResponse Source #

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

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

  • dnrsOperationId - A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation .
  • dnrsResponseStatus - -- | The response status code.

data DeleteNamespaceResponse Source #

See: deleteNamespaceResponse smart constructor.

Instances
Eq DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Data DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Methods

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

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

toConstr :: DeleteNamespaceResponse -> Constr #

dataTypeOf :: DeleteNamespaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Show DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Generic DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Associated Types

type Rep DeleteNamespaceResponse :: Type -> Type #

NFData DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

Methods

rnf :: DeleteNamespaceResponse -> () #

type Rep DeleteNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.DeleteNamespace

type Rep DeleteNamespaceResponse = D1 (MetaData "DeleteNamespaceResponse" "Network.AWS.Route53AutoNaming.DeleteNamespace" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "DeleteNamespaceResponse'" PrefixI True) (S1 (MetaSel (Just "_dnrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dnrsOperationId :: Lens' DeleteNamespaceResponse (Maybe Text) Source #

A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation .