Class: Aws::QConnect::Types::Span

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb

Overview

A span represents a unit of work during AI agent execution, capturing timing, status, and contextual attributes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assistant_id ⇒ String

UUID of the Connect AI Assistant resource

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#attributes ⇒ Types::SpanAttributes

Span-specific contextual attributes



11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestamp ⇒ Time

Operation end time in milliseconds since epoch

Returns:

  • (Time)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#origin_request_id ⇒ String

The origin request identifier for end-to-end tracing.

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#parent_span_id ⇒ String

Parent span identifier for hierarchy. Null for root spans.

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#request_id ⇒ String

The service request ID that initiated the operation

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#session_id ⇒ String

UUID of the Connect AI Session resource

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_id ⇒ String

Unique span identifier

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_name ⇒ String

Service-defined operation name

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_type ⇒ String

Operation relationship type

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestamp ⇒ Time

Operation start time in milliseconds since epoch

Returns:

  • (Time)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

Span completion status

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#status_description ⇒ String

Human-readable error description when status is ERROR or TIMEOUT

Returns:

  • (String)


11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11484

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end