class Aws::XRay::Types::Segment

A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with [PutTraceSegments], or an `inferred` segment for a downstream service, generated from a subsegment sent by the service that called it.

For the full segment document schema, see [Amazon Web Services X-Ray Segment Documents] in the *Amazon Web Services X-Ray Developer Guide*.

[1]: docs.aws.amazon.com/xray/latest/api/API_PutTraceSegments.html [2]: docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html

@!attribute [rw] id

The segment's ID.
@return [String]

@!attribute [rw] document

The segment document.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Segment AWS API Documentation

Constants

SENSITIVE