Segment - AWS X-Ray
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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 AWS X-Ray segment documents in the AWS X-Ray Developer Guide.

Contents

Document

The segment document.

Type: String

Length Constraints: Minimum length of 1.

Required: No

Id

The segment's ID.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: