| 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.GetTraceGraph
Description
Retrieves a service graph for one or more specific trace IDs.
This operation returns paginated results.
Synopsis
- data GetTraceGraph = GetTraceGraph' {}
- newGetTraceGraph :: GetTraceGraph
- getTraceGraph_nextToken :: Lens' GetTraceGraph (Maybe Text)
- getTraceGraph_traceIds :: Lens' GetTraceGraph [Text]
- data GetTraceGraphResponse = GetTraceGraphResponse' {
- nextToken :: Maybe Text
- services :: Maybe [ServiceInfo]
- httpStatus :: Int
- newGetTraceGraphResponse :: Int -> GetTraceGraphResponse
- getTraceGraphResponse_nextToken :: Lens' GetTraceGraphResponse (Maybe Text)
- getTraceGraphResponse_services :: Lens' GetTraceGraphResponse (Maybe [ServiceInfo])
- getTraceGraphResponse_httpStatus :: Lens' GetTraceGraphResponse Int
Creating a Request
data GetTraceGraph Source #
See: newGetTraceGraph smart constructor.
Constructors
| GetTraceGraph' | |
Instances
newGetTraceGraph :: GetTraceGraph Source #
Create a value of GetTraceGraph 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:
GetTraceGraph, getTraceGraph_nextToken - Pagination token.
$sel:traceIds:GetTraceGraph', getTraceGraph_traceIds - Trace IDs of requests for which to generate a service graph.
Request Lenses
getTraceGraph_nextToken :: Lens' GetTraceGraph (Maybe Text) Source #
Pagination token.
getTraceGraph_traceIds :: Lens' GetTraceGraph [Text] Source #
Trace IDs of requests for which to generate a service graph.
Destructuring the Response
data GetTraceGraphResponse Source #
See: newGetTraceGraphResponse smart constructor.
Constructors
| GetTraceGraphResponse' | |
Fields
| |
Instances
newGetTraceGraphResponse Source #
Arguments
| :: Int | |
| -> GetTraceGraphResponse |
Create a value of GetTraceGraphResponse 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:
GetTraceGraph, getTraceGraphResponse_nextToken - Pagination token.
GetTraceGraphResponse, getTraceGraphResponse_services - The services that have processed one of the specified requests.
GetTraceGraphResponse, getTraceGraphResponse_httpStatus - The response's http status code.
Response Lenses
getTraceGraphResponse_nextToken :: Lens' GetTraceGraphResponse (Maybe Text) Source #
Pagination token.
getTraceGraphResponse_services :: Lens' GetTraceGraphResponse (Maybe [ServiceInfo]) Source #
The services that have processed one of the specified requests.
getTraceGraphResponse_httpStatus :: Lens' GetTraceGraphResponse Int Source #
The response's http status code.