You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::XRay::Types::Segment
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::XRay::Types::Segment
 
 
- Defined in:
 - (unknown)
 
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #document  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The segment document.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The segment\'s ID.
 
Instance Attribute Details
#document ⇒ String
The segment document.
#id ⇒ String
The segment\'s ID.