| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.XRay.GetServiceGraph
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 Amazon Web Services X-Ray SDK. Downstream services can be other applications, Amazon Web Services resources, HTTP web APIs, or SQL databases.
This operation returns paginated results.
Synopsis
- data GetServiceGraph = GetServiceGraph' {}
- newGetServiceGraph :: UTCTime -> UTCTime -> GetServiceGraph
- getServiceGraph_groupARN :: Lens' GetServiceGraph (Maybe Text)
- getServiceGraph_groupName :: Lens' GetServiceGraph (Maybe Text)
- getServiceGraph_nextToken :: Lens' GetServiceGraph (Maybe Text)
- getServiceGraph_startTime :: Lens' GetServiceGraph UTCTime
- getServiceGraph_endTime :: Lens' GetServiceGraph UTCTime
- data GetServiceGraphResponse = GetServiceGraphResponse' {}
- newGetServiceGraphResponse :: Int -> GetServiceGraphResponse
- getServiceGraphResponse_containsOldGroupVersions :: Lens' GetServiceGraphResponse (Maybe Bool)
- getServiceGraphResponse_endTime :: Lens' GetServiceGraphResponse (Maybe UTCTime)
- getServiceGraphResponse_nextToken :: Lens' GetServiceGraphResponse (Maybe Text)
- getServiceGraphResponse_services :: Lens' GetServiceGraphResponse (Maybe [ServiceInfo])
- getServiceGraphResponse_startTime :: Lens' GetServiceGraphResponse (Maybe UTCTime)
- getServiceGraphResponse_httpStatus :: Lens' GetServiceGraphResponse Int
Creating a Request
data GetServiceGraph Source #
See: newGetServiceGraph smart constructor.
Constructors
| GetServiceGraph' | |
Fields
| |
Instances
Arguments
| :: UTCTime | |
| -> UTCTime | |
| -> GetServiceGraph |
Create a value of GetServiceGraph with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetServiceGraph, getServiceGraph_groupARN - The Amazon Resource Name (ARN) of a group based on which you want to
generate a graph.
GetServiceGraph, getServiceGraph_groupName - The name of a group based on which you want to generate a graph.
GetServiceGraph, getServiceGraph_nextToken - Pagination token.
GetServiceGraph, getServiceGraph_startTime - The start of the time frame for which to generate a graph.
GetServiceGraph, getServiceGraph_endTime - The end of the timeframe for which to generate a graph.
Request Lenses
getServiceGraph_groupARN :: Lens' GetServiceGraph (Maybe Text) Source #
The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.
getServiceGraph_groupName :: Lens' GetServiceGraph (Maybe Text) Source #
The name of a group based on which you want to generate a graph.
getServiceGraph_nextToken :: Lens' GetServiceGraph (Maybe Text) Source #
Pagination token.
getServiceGraph_startTime :: Lens' GetServiceGraph UTCTime Source #
The start of the time frame for which to generate a graph.
getServiceGraph_endTime :: Lens' GetServiceGraph UTCTime Source #
The end of the timeframe for which to generate a graph.
Destructuring the Response
data GetServiceGraphResponse Source #
See: newGetServiceGraphResponse smart constructor.
Constructors
| GetServiceGraphResponse' | |
Fields
| |
Instances
newGetServiceGraphResponse Source #
Arguments
| :: Int | |
| -> GetServiceGraphResponse |
Create a value of GetServiceGraphResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containsOldGroupVersions:GetServiceGraphResponse', getServiceGraphResponse_containsOldGroupVersions - A flag indicating whether the group's filter expression has been
consistent, or if the returned service graph may show traces from an
older version of the group's filter expression.
GetServiceGraph, getServiceGraphResponse_endTime - The end of the time frame for which the graph was generated.
GetServiceGraph, getServiceGraphResponse_nextToken - Pagination token.
GetServiceGraphResponse, getServiceGraphResponse_services - The services that have processed a traced request during the specified
time frame.
GetServiceGraph, getServiceGraphResponse_startTime - The start of the time frame for which the graph was generated.
GetServiceGraphResponse, getServiceGraphResponse_httpStatus - The response's http status code.
Response Lenses
getServiceGraphResponse_containsOldGroupVersions :: Lens' GetServiceGraphResponse (Maybe Bool) Source #
A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.
getServiceGraphResponse_endTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #
The end of the time frame for which the graph was generated.
getServiceGraphResponse_nextToken :: Lens' GetServiceGraphResponse (Maybe Text) Source #
Pagination token.
getServiceGraphResponse_services :: Lens' GetServiceGraphResponse (Maybe [ServiceInfo]) Source #
The services that have processed a traced request during the specified time frame.
getServiceGraphResponse_startTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #
The start of the time frame for which the graph was generated.
getServiceGraphResponse_httpStatus :: Lens' GetServiceGraphResponse Int Source #
The response's http status code.