amazonka-route53-autonaming-1.6.0: 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.GetNamespace

Contents

Description

Gets information about a namespace.

Synopsis

Creating a Request

getNamespace Source #

Arguments

:: Text

gnId

-> GetNamespace 

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

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

  • gnId - The ID of the namespace that you want to get information about.

data GetNamespace Source #

See: getNamespace smart constructor.

Instances

Eq GetNamespace Source # 
Data GetNamespace Source # 

Methods

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

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

toConstr :: GetNamespace -> Constr #

dataTypeOf :: GetNamespace -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetNamespace Source # 
Show GetNamespace Source # 
Generic GetNamespace Source # 

Associated Types

type Rep GetNamespace :: * -> * #

Hashable GetNamespace Source # 
ToJSON GetNamespace Source # 
NFData GetNamespace Source # 

Methods

rnf :: GetNamespace -> () #

AWSRequest GetNamespace Source # 
ToHeaders GetNamespace Source # 
ToPath GetNamespace Source # 
ToQuery GetNamespace Source # 
type Rep GetNamespace Source # 
type Rep GetNamespace = D1 * (MetaData "GetNamespace" "Network.AWS.Route53AutoNaming.GetNamespace" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" True) (C1 * (MetaCons "GetNamespace'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gnId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetNamespace Source # 

Request Lenses

gnId :: Lens' GetNamespace Text Source #

The ID of the namespace that you want to get information about.

Destructuring the Response

getNamespaceResponse Source #

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

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

data GetNamespaceResponse Source #

See: getNamespaceResponse smart constructor.

Instances

Eq GetNamespaceResponse Source # 
Data GetNamespaceResponse Source # 

Methods

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

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

toConstr :: GetNamespaceResponse -> Constr #

dataTypeOf :: GetNamespaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetNamespaceResponse Source # 
Show GetNamespaceResponse Source # 
Generic GetNamespaceResponse Source # 
NFData GetNamespaceResponse Source # 

Methods

rnf :: GetNamespaceResponse -> () #

type Rep GetNamespaceResponse Source # 
type Rep GetNamespaceResponse = D1 * (MetaData "GetNamespaceResponse" "Network.AWS.Route53AutoNaming.GetNamespace" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "GetNamespaceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gnrsNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Namespace))) (S1 * (MetaSel (Just Symbol "_gnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gnrsNamespace :: Lens' GetNamespaceResponse (Maybe Namespace) Source #

A complex type that contains information about the specified namespace.

gnrsResponseStatus :: Lens' GetNamespaceResponse Int Source #

  • - | The response status code.