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 # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Data GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.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 # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Show GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Generic GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraph :: * -> * #

Hashable GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

ToJSON GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

AWSPager GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

AWSRequest GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Associated Types

type Rs GetServiceGraph :: * #

ToHeaders GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

ToPath GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

ToQuery GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

NFData GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraph -> () #

type Rep GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

type Rep GetServiceGraph = D1 (MetaData "GetServiceGraph" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-AWd6DYkL7QeCAQixlx01Bn" False) (C1 (MetaCons "GetServiceGraph'" PrefixI True) (S1 (MetaSel (Just "_gsgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gsgStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX) :*: S1 (MetaSel (Just "_gsgEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX))))
type Rs GetServiceGraph # 
Instance details

Defined in Network.AWS.XRay.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 # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Data GetServiceGraphResponse # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

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 # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Show GetServiceGraphResponse # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Generic GetServiceGraphResponse # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraphResponse :: * -> * #

NFData GetServiceGraphResponse # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraphResponse -> () #

type Rep GetServiceGraphResponse # 
Instance details

Defined in Network.AWS.XRay.GetServiceGraph

type Rep GetServiceGraphResponse = D1 (MetaData "GetServiceGraphResponse" "Network.AWS.XRay.GetServiceGraph" "amazonka-xray-1.6.0-AWd6DYkL7QeCAQixlx01Bn" False) (C1 (MetaCons "GetServiceGraphResponse'" PrefixI True) ((S1 (MetaSel (Just "_gsgrsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_gsgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gsgrsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_gsgrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceInfo])) :*: S1 (MetaSel (Just "_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.