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

Contents

Description

Gets the settings for a specified service.

Synopsis

Creating a Request

getService Source #

Arguments

:: Text

gsId

-> GetService 

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

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

  • gsId - The ID of the service that you want to get settings for.

data GetService Source #

See: getService smart constructor.

Instances

Eq GetService Source # 
Data GetService Source # 

Methods

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

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

toConstr :: GetService -> Constr #

dataTypeOf :: GetService -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetService Source # 
Show GetService Source # 
Generic GetService Source # 

Associated Types

type Rep GetService :: * -> * #

Hashable GetService Source # 
ToJSON GetService Source # 
NFData GetService Source # 

Methods

rnf :: GetService -> () #

AWSRequest GetService Source # 
ToHeaders GetService Source # 

Methods

toHeaders :: GetService -> [Header] #

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

Request Lenses

gsId :: Lens' GetService Text Source #

The ID of the service that you want to get settings for.

Destructuring the Response

getServiceResponse Source #

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

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

data GetServiceResponse Source #

See: getServiceResponse smart constructor.

Instances

Eq GetServiceResponse Source # 
Data GetServiceResponse Source # 

Methods

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

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

toConstr :: GetServiceResponse -> Constr #

dataTypeOf :: GetServiceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServiceResponse Source # 
Show GetServiceResponse Source # 
Generic GetServiceResponse Source # 
NFData GetServiceResponse Source # 

Methods

rnf :: GetServiceResponse -> () #

type Rep GetServiceResponse Source # 
type Rep GetServiceResponse = D1 * (MetaData "GetServiceResponse" "Network.AWS.Route53AutoNaming.GetService" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "GetServiceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsrsService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ServiceInfo))) (S1 * (MetaSel (Just Symbol "_gsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gsrsService :: Lens' GetServiceResponse (Maybe ServiceInfo) Source #

A complex type that contains information about the service.

gsrsResponseStatus :: Lens' GetServiceResponse Int Source #

  • - | The response status code.