Copyright | (c) 2013-2021 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 |
Retrieves a list of traces specified by ID. Each trace is a collection
of segment documents that originates from a single request. Use
GetTraceSummaries
to get a list of trace IDs.
This operation returns paginated results.
Synopsis
- data BatchGetTraces = BatchGetTraces' {}
- newBatchGetTraces :: BatchGetTraces
- batchGetTraces_nextToken :: Lens' BatchGetTraces (Maybe Text)
- batchGetTraces_traceIds :: Lens' BatchGetTraces [Text]
- data BatchGetTracesResponse = BatchGetTracesResponse' {}
- newBatchGetTracesResponse :: Int -> BatchGetTracesResponse
- batchGetTracesResponse_nextToken :: Lens' BatchGetTracesResponse (Maybe Text)
- batchGetTracesResponse_traces :: Lens' BatchGetTracesResponse (Maybe [Trace])
- batchGetTracesResponse_unprocessedTraceIds :: Lens' BatchGetTracesResponse (Maybe [Text])
- batchGetTracesResponse_httpStatus :: Lens' BatchGetTracesResponse Int
Creating a Request
data BatchGetTraces Source #
See: newBatchGetTraces
smart constructor.
Instances
newBatchGetTraces :: BatchGetTraces Source #
Create a value of BatchGetTraces
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:nextToken:BatchGetTraces'
, batchGetTraces_nextToken
- Pagination token.
$sel:traceIds:BatchGetTraces'
, batchGetTraces_traceIds
- Specify the trace IDs of requests for which to retrieve segments.
Request Lenses
batchGetTraces_nextToken :: Lens' BatchGetTraces (Maybe Text) Source #
Pagination token.
batchGetTraces_traceIds :: Lens' BatchGetTraces [Text] Source #
Specify the trace IDs of requests for which to retrieve segments.
Destructuring the Response
data BatchGetTracesResponse Source #
See: newBatchGetTracesResponse
smart constructor.
Instances
newBatchGetTracesResponse Source #
Create a value of BatchGetTracesResponse
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:nextToken:BatchGetTraces'
, batchGetTracesResponse_nextToken
- Pagination token.
$sel:traces:BatchGetTracesResponse'
, batchGetTracesResponse_traces
- Full traces for the specified requests.
$sel:unprocessedTraceIds:BatchGetTracesResponse'
, batchGetTracesResponse_unprocessedTraceIds
- Trace IDs of requests that haven't been processed.
$sel:httpStatus:BatchGetTracesResponse'
, batchGetTracesResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetTracesResponse_nextToken :: Lens' BatchGetTracesResponse (Maybe Text) Source #
Pagination token.
batchGetTracesResponse_traces :: Lens' BatchGetTracesResponse (Maybe [Trace]) Source #
Full traces for the specified requests.
batchGetTracesResponse_unprocessedTraceIds :: Lens' BatchGetTracesResponse (Maybe [Text]) Source #
Trace IDs of requests that haven't been processed.
batchGetTracesResponse_httpStatus :: Lens' BatchGetTracesResponse Int Source #
The response's http status code.