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 |
Documentation
A collection of segment documents with matching trace IDs.
See: newTrace
smart constructor.
Trace' | |
|
Instances
Eq Trace Source # | |
Read Trace Source # | |
Show Trace Source # | |
Generic Trace Source # | |
NFData Trace Source # | |
Defined in Amazonka.XRay.Types.Trace | |
Hashable Trace Source # | |
Defined in Amazonka.XRay.Types.Trace | |
FromJSON Trace Source # | |
type Rep Trace Source # | |
Defined in Amazonka.XRay.Types.Trace type Rep Trace = D1 ('MetaData "Trace" "Amazonka.XRay.Types.Trace" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "Trace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "limitExceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "segments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Segment])) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) |
Create a value of Trace
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:limitExceeded:Trace'
, trace_limitExceeded
- LimitExceeded is set to true when the trace has exceeded one of the
defined quotas. For more information about quotas, see
Amazon Web Services X-Ray endpoints and quotas.
$sel:id:Trace'
, trace_id
- The unique identifier for the request that generated the trace's
segments and subsegments.
$sel:segments:Trace'
, trace_segments
- Segment documents for the segments and subsegments that comprise the
trace.
$sel:duration:Trace'
, trace_duration
- The length of time in seconds between the start time of the root segment
and the end time of the last segment that completed.
trace_limitExceeded :: Lens' Trace (Maybe Bool) Source #
LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see Amazon Web Services X-Ray endpoints and quotas.
trace_id :: Lens' Trace (Maybe Text) Source #
The unique identifier for the request that generated the trace's segments and subsegments.