Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getServiceGraph :: UTCTime -> UTCTime -> GetServiceGraph
- data GetServiceGraph
- gsgNextToken :: Lens' GetServiceGraph (Maybe Text)
- gsgStartTime :: Lens' GetServiceGraph UTCTime
- gsgEndTime :: Lens' GetServiceGraph UTCTime
- getServiceGraphResponse :: Int -> GetServiceGraphResponse
- data GetServiceGraphResponse
- gsgrsStartTime :: Lens' GetServiceGraphResponse (Maybe UTCTime)
- gsgrsNextToken :: Lens' GetServiceGraphResponse (Maybe Text)
- gsgrsEndTime :: Lens' GetServiceGraphResponse (Maybe UTCTime)
- gsgrsServices :: Lens' GetServiceGraphResponse [ServiceInfo]
- gsgrsResponseStatus :: Lens' GetServiceGraphResponse Int
Creating a Request
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.
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:
gsgrsStartTime
- The start of the time frame for which the graph was generated.gsgrsNextToken
- Pagination token. Not used.gsgrsEndTime
- The end of the time frame for which the graph was generated.gsgrsServices
- The services that have processed a traced request during the specified time frame.gsgrsResponseStatus
- -- | The response status code.
data GetServiceGraphResponse Source #
See: getServiceGraphResponse
smart constructor.
Response Lenses
gsgrsStartTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #
The start of the time frame for which the graph was generated.
gsgrsNextToken :: Lens' GetServiceGraphResponse (Maybe Text) Source #
Pagination token. Not used.
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.
gsgrsResponseStatus :: Lens' GetServiceGraphResponse Int Source #
- - | The response status code.