Class: Aws::XRay::Types::Segment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-xray/types.rb

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 [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/aws-xray-interface-api.html#xray-api-segmentdocuments

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

The segment document.

Returns:

  • (String)


3013
3014
3015
3016
3017
3018
# File 'lib/aws-sdk-xray/types.rb', line 3013

class Segment < Struct.new(
  :id,
  :document)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The segment’s ID.

Returns:

  • (String)


3013
3014
3015
3016
3017
3018
# File 'lib/aws-sdk-xray/types.rb', line 3013

class Segment < Struct.new(
  :id,
  :document)
  SENSITIVE = []
  include Aws::Structure
end