Class: Aws::QConnect::Types::SpanAttributes

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

Overview

Contextual attributes capturing operation details, LLM configuration, usage metrics, and conversation data

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idString

Amazon Connect agent ID

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_arnString

AI agent ARN

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_idString

AI agent identifier

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_invokerString

Entity that invoked the AI agent

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_nameString

AI agent name

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_orchestrator_use_caseString

AI agent orchestrator use case

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_typeString

AI agent type

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_versionInteger

AI agent version number

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#cache_read_input_tokensInteger

Number of input tokens that were retrieved from cache

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#cache_write_input_tokensInteger

Number of input tokens that were written to cache in this request

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#contact_idString

Amazon Connect contact identifier

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#error_typeString

Error classification if span failed (e.g., throttle, timeout)

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_assessmentsArray<Types::SpanGuardrailAssessment>

Guardrail assessments for the inference span. Absent on other span types and when no AI Guardrail is attached to the AI Agent.

Returns:



10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#initial_contact_idString

Amazon Connect contact identifier

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#input_messagesArray<Types::SpanMessage>

Input message collection sent to LLM

Returns:



10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#instance_arnString

Amazon Connect instance ARN

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#operation_nameString

Action being performed

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#output_messagesArray<Types::SpanMessage>

Output message collection received from LLM

Returns:



10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_arnString

AI prompt ARN

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_idString

AI prompt identifier

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_nameString

AI prompt name

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_typeString

AI prompt type

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_versionInteger

AI prompt version number

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#provider_nameString

Model provider identifier (e.g., aws.bedrock)

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#request_max_tokensInteger

Maximum tokens configured for generation

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#request_modelString

LLM model ID for request (e.g., anthropic.claude-3-sonnet)

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#response_finish_reasonsArray<String>

Generation termination reasons (e.g., stop, max_tokens)

Returns:

  • (Array<String>)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#response_modelString

Actual model used for response (usually matches requestModel)

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#session_nameString

Session name

Returns:

  • (String)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#system_instructionsArray<Types::SpanMessageValue>

System prompt instructions

Returns:



10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#temperatureFloat

Sampling temperature for generation

Returns:

  • (Float)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#time_to_first_token_msInteger

Time to first token in milliseconds, measured from when Amazon Bedrock was invoked to when the first token was returned

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#top_pFloat

Top-p sampling parameter for generation

Returns:

  • (Float)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_input_tokensInteger

Number of input tokens in prompt

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_output_tokensInteger

Number of output tokens in response

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_total_tokensInteger

Total tokens consumed (input + output)

Returns:

  • (Integer)


10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10975

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end