aws-sdk-qconnect 1.52.0 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97f9a823fabd4284ba0cac16cba1d7a79f68427bf578e4120db6268cf493ecbe
4
- data.tar.gz: 60324865c4c69e8a670b83586edac191db2d2b148010e541aa052158fd897a48
3
+ metadata.gz: aa26afda29d5406669f1467bdc999034d356354b5022887eb400c4d1e98d6338
4
+ data.tar.gz: '05678f07eec0087d3a3a71fef3be314727fe52b044234031211273565a2046dd'
5
5
  SHA512:
6
- metadata.gz: 7f33f0361794a876a6dea857b305825a542c382c585083133d05d1bfecce12605f7d8a4f777c29267816ef57392ca316b1164cc9b55cb3c5fb6e8af9abda6d89
7
- data.tar.gz: 5ddce39aa7acd885195caa886b83b98fe0aa3a316b680143b593718d638e2355acecf6c29139f35c8cf8f6269a8ef39f01c983bd4a20cbc35cc6c92d0cc3b1d0
6
+ metadata.gz: 7131f78f910bf78f12156067067005ffe28e2257d4df5ecd96d23f2db49108ed04dc51f02364fe9a7217a19cca0252ba5c2ff8da6b7c4546b3797c756c9485a8
7
+ data.tar.gz: f1936d55cae85c78405f36cf5f076f7a20d2b82d76dbe6292a6bb49ddfd8147f1d57e4a59afc5e88f52b5eef9ea6cdd2f56e9d9bf2179f7bf7045fba66afe96e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2026-05-01)
5
+ ------------------
6
+
7
+ * Feature - Added reasoning details, statusDescription, and timeToFirstTokenMs fields to the ListSpans response in Amazon Q in Connect to provide visibility into model thinking, error diagnostics, and inference latency metrics.
8
+
4
9
  1.52.0 (2026-04-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -6168,6 +6168,7 @@ module Aws::QConnect
6168
6168
  # resp.spans[0].start_timestamp #=> Time
6169
6169
  # resp.spans[0].end_timestamp #=> Time
6170
6170
  # resp.spans[0].status #=> String, one of "OK", "ERROR", "TIMEOUT"
6171
+ # resp.spans[0].status_description #=> String
6171
6172
  # resp.spans[0].request_id #=> String
6172
6173
  # resp.spans[0].origin_request_id #=> String
6173
6174
  # resp.spans[0].attributes.operation_name #=> String
@@ -6214,6 +6215,7 @@ module Aws::QConnect
6214
6215
  # resp.spans[0].attributes.input_messages[0].values[0].tool_result.tool_use_id #=> String
6215
6216
  # resp.spans[0].attributes.input_messages[0].values[0].tool_result.values #=> Types::SpanMessageValueList
6216
6217
  # resp.spans[0].attributes.input_messages[0].values[0].tool_result.error #=> String
6218
+ # resp.spans[0].attributes.input_messages[0].values[0].reasoning.value #=> String
6217
6219
  # resp.spans[0].attributes.output_messages #=> Array
6218
6220
  # resp.spans[0].attributes.output_messages[0].message_id #=> String
6219
6221
  # resp.spans[0].attributes.output_messages[0].participant #=> String, one of "CUSTOMER", "AGENT", "BOT"
@@ -6231,6 +6233,7 @@ module Aws::QConnect
6231
6233
  # resp.spans[0].attributes.output_messages[0].values[0].tool_result.tool_use_id #=> String
6232
6234
  # resp.spans[0].attributes.output_messages[0].values[0].tool_result.values #=> Types::SpanMessageValueList
6233
6235
  # resp.spans[0].attributes.output_messages[0].values[0].tool_result.error #=> String
6236
+ # resp.spans[0].attributes.output_messages[0].values[0].reasoning.value #=> String
6234
6237
  # resp.spans[0].attributes.system_instructions #=> Array
6235
6238
  # resp.spans[0].attributes.system_instructions[0].text.value #=> String
6236
6239
  # resp.spans[0].attributes.system_instructions[0].text.citations #=> Array
@@ -6244,11 +6247,13 @@ module Aws::QConnect
6244
6247
  # resp.spans[0].attributes.system_instructions[0].tool_result.tool_use_id #=> String
6245
6248
  # resp.spans[0].attributes.system_instructions[0].tool_result.values #=> Types::SpanMessageValueList
6246
6249
  # resp.spans[0].attributes.system_instructions[0].tool_result.error #=> String
6250
+ # resp.spans[0].attributes.system_instructions[0].reasoning.value #=> String
6247
6251
  # resp.spans[0].attributes.prompt_arn #=> String
6248
6252
  # resp.spans[0].attributes.prompt_id #=> String
6249
6253
  # resp.spans[0].attributes.prompt_type #=> String, one of "ANSWER_GENERATION", "INTENT_LABELING_GENERATION", "QUERY_REFORMULATION", "SELF_SERVICE_PRE_PROCESSING", "SELF_SERVICE_ANSWER_GENERATION", "EMAIL_RESPONSE", "EMAIL_OVERVIEW", "EMAIL_GENERATIVE_ANSWER", "EMAIL_QUERY_REFORMULATION", "ORCHESTRATION", "NOTE_TAKING", "CASE_SUMMARIZATION"
6250
6254
  # resp.spans[0].attributes.prompt_name #=> String
6251
6255
  # resp.spans[0].attributes.prompt_version #=> Integer
6256
+ # resp.spans[0].attributes.time_to_first_token_ms #=> Integer
6252
6257
  # resp.next_token #=> String
6253
6258
  #
6254
6259
  # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListSpans AWS API Documentation
@@ -9459,7 +9464,7 @@ module Aws::QConnect
9459
9464
  tracer: tracer
9460
9465
  )
9461
9466
  context[:gem_name] = 'aws-sdk-qconnect'
9462
- context[:gem_version] = '1.52.0'
9467
+ context[:gem_version] = '1.53.0'
9463
9468
  Seahorse::Client::Request.new(handlers, context)
9464
9469
  end
9465
9470
 
@@ -560,7 +560,9 @@ module Aws::QConnect
560
560
  SpanMessageValue = Shapes::UnionShape.new(name: 'SpanMessageValue')
561
561
  SpanMessageValueList = Shapes::ListShape.new(name: 'SpanMessageValueList')
562
562
  SpanOriginRequestIdString = Shapes::StringShape.new(name: 'SpanOriginRequestIdString')
563
+ SpanReasoningValue = Shapes::StructureShape.new(name: 'SpanReasoningValue')
563
564
  SpanStatus = Shapes::StringShape.new(name: 'SpanStatus')
565
+ SpanStatusDescriptionString = Shapes::StringShape.new(name: 'SpanStatusDescriptionString')
564
566
  SpanTextValue = Shapes::StructureShape.new(name: 'SpanTextValue')
565
567
  SpanToolResultValue = Shapes::StructureShape.new(name: 'SpanToolResultValue')
566
568
  SpanToolUseValue = Shapes::StructureShape.new(name: 'SpanToolUseValue')
@@ -2849,6 +2851,7 @@ module Aws::QConnect
2849
2851
  Span.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTimestamp"))
2850
2852
  Span.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTimestamp"))
2851
2853
  Span.add_member(:status, Shapes::ShapeRef.new(shape: SpanStatus, required: true, location_name: "status"))
2854
+ Span.add_member(:status_description, Shapes::ShapeRef.new(shape: SpanStatusDescriptionString, location_name: "statusDescription"))
2852
2855
  Span.add_member(:request_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "requestId"))
2853
2856
  Span.add_member(:origin_request_id, Shapes::ShapeRef.new(shape: SpanOriginRequestIdString, location_name: "originRequestId"))
2854
2857
  Span.add_member(:attributes, Shapes::ShapeRef.new(shape: SpanAttributes, required: true, location_name: "attributes"))
@@ -2888,6 +2891,7 @@ module Aws::QConnect
2888
2891
  SpanAttributes.add_member(:prompt_type, Shapes::ShapeRef.new(shape: AIPromptType, location_name: "promptType"))
2889
2892
  SpanAttributes.add_member(:prompt_name, Shapes::ShapeRef.new(shape: Name, location_name: "promptName"))
2890
2893
  SpanAttributes.add_member(:prompt_version, Shapes::ShapeRef.new(shape: Integer, location_name: "promptVersion"))
2894
+ SpanAttributes.add_member(:time_to_first_token_ms, Shapes::ShapeRef.new(shape: Integer, location_name: "timeToFirstTokenMs"))
2891
2895
  SpanAttributes.struct_class = Types::SpanAttributes
2892
2896
 
2893
2897
  SpanCitation.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "contentId"))
@@ -2913,15 +2917,20 @@ module Aws::QConnect
2913
2917
  SpanMessageValue.add_member(:text, Shapes::ShapeRef.new(shape: SpanTextValue, location_name: "text"))
2914
2918
  SpanMessageValue.add_member(:tool_use, Shapes::ShapeRef.new(shape: SpanToolUseValue, location_name: "toolUse"))
2915
2919
  SpanMessageValue.add_member(:tool_result, Shapes::ShapeRef.new(shape: SpanToolResultValue, location_name: "toolResult"))
2920
+ SpanMessageValue.add_member(:reasoning, Shapes::ShapeRef.new(shape: SpanReasoningValue, location_name: "reasoning"))
2916
2921
  SpanMessageValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2917
2922
  SpanMessageValue.add_member_subclass(:text, Types::SpanMessageValue::Text)
2918
2923
  SpanMessageValue.add_member_subclass(:tool_use, Types::SpanMessageValue::ToolUse)
2919
2924
  SpanMessageValue.add_member_subclass(:tool_result, Types::SpanMessageValue::ToolResult)
2925
+ SpanMessageValue.add_member_subclass(:reasoning, Types::SpanMessageValue::Reasoning)
2920
2926
  SpanMessageValue.add_member_subclass(:unknown, Types::SpanMessageValue::Unknown)
2921
2927
  SpanMessageValue.struct_class = Types::SpanMessageValue
2922
2928
 
2923
2929
  SpanMessageValueList.member = Shapes::ShapeRef.new(shape: SpanMessageValue)
2924
2930
 
2931
+ SpanReasoningValue.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptySensitiveString, required: true, location_name: "value"))
2932
+ SpanReasoningValue.struct_class = Types::SpanReasoningValue
2933
+
2925
2934
  SpanTextValue.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptySensitiveString, required: true, location_name: "value"))
2926
2935
  SpanTextValue.add_member(:citations, Shapes::ShapeRef.new(shape: SpanCitationList, location_name: "citations"))
2927
2936
  SpanTextValue.add_member(:ai_guardrail_assessment, Shapes::ShapeRef.new(shape: AIGuardrailAssessment, location_name: "aiGuardrailAssessment"))
@@ -10647,6 +10647,10 @@ module Aws::QConnect
10647
10647
  # Span completion status
10648
10648
  # @return [String]
10649
10649
  #
10650
+ # @!attribute [rw] status_description
10651
+ # Human-readable error description when status is ERROR or TIMEOUT
10652
+ # @return [String]
10653
+ #
10650
10654
  # @!attribute [rw] request_id
10651
10655
  # The service request ID that initiated the operation
10652
10656
  # @return [String]
@@ -10671,6 +10675,7 @@ module Aws::QConnect
10671
10675
  :start_timestamp,
10672
10676
  :end_timestamp,
10673
10677
  :status,
10678
+ :status_description,
10674
10679
  :request_id,
10675
10680
  :origin_request_id,
10676
10681
  :attributes)
@@ -10817,6 +10822,11 @@ module Aws::QConnect
10817
10822
  # AI prompt version number
10818
10823
  # @return [Integer]
10819
10824
  #
10825
+ # @!attribute [rw] time_to_first_token_ms
10826
+ # Time to first token in milliseconds, measured from when Amazon
10827
+ # Bedrock was invoked to when the first token was returned
10828
+ # @return [Integer]
10829
+ #
10820
10830
  # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/SpanAttributes AWS API Documentation
10821
10831
  #
10822
10832
  class SpanAttributes < Struct.new(
@@ -10853,7 +10863,8 @@ module Aws::QConnect
10853
10863
  :prompt_id,
10854
10864
  :prompt_type,
10855
10865
  :prompt_name,
10856
- :prompt_version)
10866
+ :prompt_version,
10867
+ :time_to_first_token_ms)
10857
10868
  SENSITIVE = []
10858
10869
  include Aws::Structure
10859
10870
  end
@@ -10904,7 +10915,7 @@ module Aws::QConnect
10904
10915
  # @return [Time]
10905
10916
  #
10906
10917
  # @!attribute [rw] values
10907
- # Message content values (text, tool use, tool result)
10918
+ # Message content values (text, tool use, tool result, reasoning)
10908
10919
  # @return [Array<Types::SpanMessageValue>]
10909
10920
  #
10910
10921
  # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/SpanMessage AWS API Documentation
@@ -10918,7 +10929,8 @@ module Aws::QConnect
10918
10929
  include Aws::Structure
10919
10930
  end
10920
10931
 
10921
- # Message content value - can be text, tool invocation, or tool result
10932
+ # Message content value - can be text, tool invocation, tool result, or
10933
+ # reasoning
10922
10934
  #
10923
10935
  # @note SpanMessageValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SpanMessageValue corresponding to the set member.
10924
10936
  #
@@ -10934,12 +10946,17 @@ module Aws::QConnect
10934
10946
  # Tool result message content
10935
10947
  # @return [Types::SpanToolResultValue]
10936
10948
  #
10949
+ # @!attribute [rw] reasoning
10950
+ # Model reasoning and it's internal decision making process
10951
+ # @return [Types::SpanReasoningValue]
10952
+ #
10937
10953
  # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/SpanMessageValue AWS API Documentation
10938
10954
  #
10939
10955
  class SpanMessageValue < Struct.new(
10940
10956
  :text,
10941
10957
  :tool_use,
10942
10958
  :tool_result,
10959
+ :reasoning,
10943
10960
  :unknown)
10944
10961
  SENSITIVE = []
10945
10962
  include Aws::Structure
@@ -10948,9 +10965,24 @@ module Aws::QConnect
10948
10965
  class Text < SpanMessageValue; end
10949
10966
  class ToolUse < SpanMessageValue; end
10950
10967
  class ToolResult < SpanMessageValue; end
10968
+ class Reasoning < SpanMessageValue; end
10951
10969
  class Unknown < SpanMessageValue; end
10952
10970
  end
10953
10971
 
10972
+ # Model reasoning and it's internal decision making process
10973
+ #
10974
+ # @!attribute [rw] value
10975
+ # The reasoning text content
10976
+ # @return [String]
10977
+ #
10978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/SpanReasoningValue AWS API Documentation
10979
+ #
10980
+ class SpanReasoningValue < Struct.new(
10981
+ :value)
10982
+ SENSITIVE = [:value]
10983
+ include Aws::Structure
10984
+ end
10985
+
10954
10986
  # Text message content
10955
10987
  #
10956
10988
  # @!attribute [rw] value
@@ -55,7 +55,7 @@ module Aws::QConnect
55
55
  autoload :EndpointProvider, 'aws-sdk-qconnect/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-qconnect/endpoints'
57
57
 
58
- GEM_VERSION = '1.52.0'
58
+ GEM_VERSION = '1.53.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -2811,6 +2811,7 @@ module Aws::QConnect
2811
2811
  attr_accessor start_timestamp: ::Time
2812
2812
  attr_accessor end_timestamp: ::Time
2813
2813
  attr_accessor status: ("OK" | "ERROR" | "TIMEOUT")
2814
+ attr_accessor status_description: ::String
2814
2815
  attr_accessor request_id: ::String
2815
2816
  attr_accessor origin_request_id: ::String
2816
2817
  attr_accessor attributes: Types::SpanAttributes
@@ -2852,6 +2853,7 @@ module Aws::QConnect
2852
2853
  attr_accessor prompt_type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION" | "EMAIL_RESPONSE" | "EMAIL_OVERVIEW" | "EMAIL_GENERATIVE_ANSWER" | "EMAIL_QUERY_REFORMULATION" | "ORCHESTRATION" | "NOTE_TAKING" | "CASE_SUMMARIZATION")
2853
2854
  attr_accessor prompt_name: ::String
2854
2855
  attr_accessor prompt_version: ::Integer
2856
+ attr_accessor time_to_first_token_ms: ::Integer
2855
2857
  SENSITIVE: []
2856
2858
  end
2857
2859
 
@@ -2875,6 +2877,7 @@ module Aws::QConnect
2875
2877
  attr_accessor text: Types::SpanTextValue
2876
2878
  attr_accessor tool_use: Types::SpanToolUseValue
2877
2879
  attr_accessor tool_result: Types::SpanToolResultValue
2880
+ attr_accessor reasoning: Types::SpanReasoningValue
2878
2881
  attr_accessor unknown: untyped
2879
2882
  SENSITIVE: []
2880
2883
 
@@ -2884,10 +2887,17 @@ module Aws::QConnect
2884
2887
  end
2885
2888
  class ToolResult < SpanMessageValue
2886
2889
  end
2890
+ class Reasoning < SpanMessageValue
2891
+ end
2887
2892
  class Unknown < SpanMessageValue
2888
2893
  end
2889
2894
  end
2890
2895
 
2896
+ class SpanReasoningValue
2897
+ attr_accessor value: ::String
2898
+ SENSITIVE: [:value]
2899
+ end
2900
+
2891
2901
  class SpanTextValue
2892
2902
  attr_accessor value: ::String
2893
2903
  attr_accessor citations: ::Array[Types::SpanCitation]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.52.0
4
+ version: 1.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services