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 #

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 #

See: getServiceGraph smart constructor.

Instances

Eq GetServiceGraph # 
Data GetServiceGraph # 

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 # 
Show GetServiceGraph # 
Generic GetServiceGraph # 
Hashable GetServiceGraph # 
ToJSON GetServiceGraph # 
NFData GetServiceGraph # 

Methods

rnf :: GetServiceGraph -> () #

AWSPager GetServiceGraph # 
AWSRequest GetServiceGraph # 
ToHeaders GetServiceGraph # 
ToPath GetServiceGraph # 
ToQuery GetServiceGraph # 
type Rep GetServiceGraph # 
type Rep GetServiceGraph = D1 * (MetaData "GetServiceGraph" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-GVT5rDofn4I7DwOaAYHLhD" 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 # 

Request Lenses

gsgNextToken :: Lens' GetServiceGraph (Maybe Text) #

Pagination token. Not used.

gsgStartTime :: Lens' GetServiceGraph UTCTime #

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

gsgEndTime :: Lens' GetServiceGraph UTCTime #

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

Destructuring the Response

getServiceGraphResponse #

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 #

See: getServiceGraphResponse smart constructor.

Instances

Eq GetServiceGraphResponse # 
Data GetServiceGraphResponse # 

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

Methods

rnf :: GetServiceGraphResponse -> () #

type Rep GetServiceGraphResponse # 
type Rep GetServiceGraphResponse = D1 * (MetaData "GetServiceGraphResponse" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-GVT5rDofn4I7DwOaAYHLhD" 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) #

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

gsgrsNextToken :: Lens' GetServiceGraphResponse (Maybe Text) #

Pagination token. Not used.

gsgrsEndTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) #

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

gsgrsServices :: Lens' GetServiceGraphResponse [ServiceInfo] #

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

gsgrsResponseStatus :: Lens' GetServiceGraphResponse Int #

  • - | The response status code.