amazonka-xray-1.6.0: Amazon X-Ray 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.XRay.GetServiceGraph

Contents

Description

Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the AWS X-Ray SDK. Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL databases.

This operation returns paginated results.

Synopsis

Creating a Request

getServiceGraph Source #

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

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

  • gsgNextToken - Pagination token. Not used.
  • gsgStartTime - The start of the time frame for which to generate a graph.
  • gsgEndTime - The end of the time frame for which to generate a graph.

data GetServiceGraph Source #

See: getServiceGraph smart constructor.

Instances

Eq GetServiceGraph Source # 
Data GetServiceGraph Source # 

Methods

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

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

toConstr :: GetServiceGraph -> Constr #

dataTypeOf :: GetServiceGraph -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServiceGraph Source # 
Show GetServiceGraph Source # 
Generic GetServiceGraph Source # 
Hashable GetServiceGraph Source # 
ToJSON GetServiceGraph Source # 
NFData GetServiceGraph Source # 

Methods

rnf :: GetServiceGraph -> () #

AWSPager GetServiceGraph Source # 
AWSRequest GetServiceGraph Source # 
ToHeaders GetServiceGraph Source # 
ToPath GetServiceGraph Source # 
ToQuery GetServiceGraph Source # 
type Rep GetServiceGraph Source # 
type Rep GetServiceGraph = D1 * (MetaData "GetServiceGraph" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-GkxB4dKM36B2MyUfcjBxNG" False) (C1 * (MetaCons "GetServiceGraph'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsgStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * POSIX)) (S1 * (MetaSel (Just Symbol "_gsgEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * POSIX)))))
type Rs GetServiceGraph Source # 

Request Lenses

gsgNextToken :: Lens' GetServiceGraph (Maybe Text) Source #

Pagination token. Not used.

gsgStartTime :: Lens' GetServiceGraph UTCTime Source #

The start of the time frame for which to generate a graph.

gsgEndTime :: Lens' GetServiceGraph UTCTime Source #

The end of the time frame for which to generate a graph.

Destructuring the Response

getServiceGraphResponse Source #

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

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

data GetServiceGraphResponse Source #

See: getServiceGraphResponse smart constructor.

Instances

Eq GetServiceGraphResponse Source # 
Data GetServiceGraphResponse Source # 

Methods

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

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

toConstr :: GetServiceGraphResponse -> Constr #

dataTypeOf :: GetServiceGraphResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServiceGraphResponse Source # 
Show GetServiceGraphResponse Source # 
Generic GetServiceGraphResponse Source # 
NFData GetServiceGraphResponse Source # 

Methods

rnf :: GetServiceGraphResponse -> () #

type Rep GetServiceGraphResponse Source # 
type Rep GetServiceGraphResponse = D1 * (MetaData "GetServiceGraphResponse" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-GkxB4dKM36B2MyUfcjBxNG" False) (C1 * (MetaCons "GetServiceGraphResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gsgrsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_gsgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsgrsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsgrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ServiceInfo]))) (S1 * (MetaSel (Just Symbol "_gsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gsgrsStartTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The start of the time frame for which the graph was generated.

gsgrsEndTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The end of the time frame for which the graph was generated.

gsgrsServices :: Lens' GetServiceGraphResponse [ServiceInfo] Source #

The services that have processed a traced request during the specified time frame.