aws-sdk-bedrockagentcore 1.38.0 → 1.40.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.
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.38.0'
59
+ GEM_VERSION = '1.40.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -198,7 +198,8 @@ module Aws
198
198
  },
199
199
  role_arn: ::String,
200
200
  ?enable_on_create: bool,
201
- ?client_token: ::String
201
+ ?client_token: ::String,
202
+ ?tags: Hash[::String, ::String]
202
203
  ) -> _CreateABTestResponseSuccess
203
204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateABTestResponseSuccess
204
205
 
@@ -499,12 +500,17 @@ module Aws
499
500
  def status: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING")
500
501
  def created_at: () -> ::Time
501
502
  def evaluators: () -> ::Array[Types::Evaluator]
503
+ def insights: () -> ::Array[Types::Insight]
502
504
  def data_source_config: () -> Types::DataSourceConfig
503
505
  def output_config: () -> Types::OutputConfig
504
506
  def evaluation_results: () -> Types::EvaluationJobResults
507
+ def failure_analysis_result: () -> Types::FailureAnalysisResultContent
508
+ def user_intent_result: () -> Types::UserIntentClusteringResultContent
509
+ def execution_summary_result: () -> Types::ExecutionSummaryClusteringResultContent
505
510
  def error_details: () -> ::Array[::String]
506
511
  def description: () -> ::String
507
512
  def updated_at: () -> ::Time
513
+ def kms_key_arn: () -> ::String
508
514
  end
509
515
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_batch_evaluation-instance_method
510
516
  def get_batch_evaluation: (
@@ -634,6 +640,7 @@ module Aws
634
640
  def created_at: () -> ::Time
635
641
  def updated_at: () -> ::Time
636
642
  def recommendation_result: () -> Types::RecommendationResult
643
+ def kms_key_arn: () -> ::String
637
644
  end
638
645
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_recommendation-instance_method
639
646
  def get_recommendation: (
@@ -1322,9 +1329,12 @@ module Aws
1322
1329
  def batch_evaluation_arn: () -> ::String
1323
1330
  def batch_evaluation_name: () -> ::String
1324
1331
  def evaluators: () -> ::Array[Types::Evaluator]
1332
+ def insights: () -> ::Array[Types::Insight]
1325
1333
  def status: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING")
1326
1334
  def created_at: () -> ::Time
1327
1335
  def output_config: () -> Types::OutputConfig
1336
+ def tags: () -> ::Hash[::String, ::String]
1337
+ def kms_key_arn: () -> ::String
1328
1338
  def description: () -> ::String
1329
1339
  end
1330
1340
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_batch_evaluation-instance_method
@@ -1335,6 +1345,11 @@ module Aws
1335
1345
  evaluator_id: ::String
1336
1346
  }
1337
1347
  ],
1348
+ ?insights: Array[
1349
+ {
1350
+ insight_id: ::String
1351
+ }
1352
+ ],
1338
1353
  data_source_config: {
1339
1354
  cloud_watch_logs: {
1340
1355
  service_names: Array[::String],
@@ -1346,6 +1361,13 @@ module Aws
1346
1361
  end_time: ::Time?
1347
1362
  }?
1348
1363
  }?
1364
+ }?,
1365
+ online_evaluation_config_source: {
1366
+ online_evaluation_config_arn: ::String,
1367
+ session_filter_config: {
1368
+ start_time: ::Time?,
1369
+ end_time: ::Time?
1370
+ }?
1349
1371
  }?
1350
1372
  },
1351
1373
  ?client_token: ::String,
@@ -1380,6 +1402,8 @@ module Aws
1380
1402
  }
1381
1403
  ]?
1382
1404
  },
1405
+ ?tags: Hash[::String, ::String],
1406
+ ?kms_key_arn: ::String,
1383
1407
  ?description: ::String
1384
1408
  ) -> _StartBatchEvaluationResponseSuccess
1385
1409
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBatchEvaluationResponseSuccess
@@ -1534,7 +1558,7 @@ module Aws
1534
1558
  evaluator_arn: ::String
1535
1559
  }
1536
1560
  ]
1537
- }
1561
+ }?
1538
1562
  }?,
1539
1563
  tool_description_recommendation_config: {
1540
1564
  tool_description: {
@@ -1562,7 +1586,9 @@ module Aws
1562
1586
  agent_traces: Params::agent_traces_config
1563
1587
  }?
1564
1588
  },
1565
- ?client_token: ::String
1589
+ ?kms_key_arn: ::String,
1590
+ ?client_token: ::String,
1591
+ ?tags: Hash[::String, ::String]
1566
1592
  ) -> _StartRecommendationResponseSuccess
1567
1593
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRecommendationResponseSuccess
1568
1594
 
data/sig/params.rbs CHANGED
@@ -60,7 +60,10 @@ module Aws
60
60
  {
61
61
  }
62
62
  ]?,
63
- cloudwatch_logs: Params::cloud_watch_logs_trace_config?
63
+ cloudwatch_logs: Params::cloud_watch_logs_trace_config?,
64
+ batch_evaluation: {
65
+ batch_evaluation_arn: ::String
66
+ }?
64
67
  }
65
68
 
66
69
  type cloud_watch_logs_filter = {
data/sig/types.rbs CHANGED
@@ -57,6 +57,15 @@ module Aws::BedrockAgentCore
57
57
  SENSITIVE: []
58
58
  end
59
59
 
60
+ class AffectedSession
61
+ attr_accessor session_id: ::String
62
+ attr_accessor explanation: ::String
63
+ attr_accessor fix_type: ::String
64
+ attr_accessor recommendation: ::String
65
+ attr_accessor failure_spans: ::Array[Types::FailureSpanDetail]
66
+ SENSITIVE: []
67
+ end
68
+
60
69
  class AgentCardDefinition
61
70
  attr_accessor schema_version: ::String
62
71
  attr_accessor inline_content: ::String
@@ -72,6 +81,7 @@ module Aws::BedrockAgentCore
72
81
  class AgentTracesConfig
73
82
  attr_accessor session_spans: ::Array[untyped]
74
83
  attr_accessor cloudwatch_logs: Types::CloudWatchLogsTraceConfig
84
+ attr_accessor batch_evaluation: Types::BatchEvaluationTraceConfig
75
85
  attr_accessor unknown: untyped
76
86
  SENSITIVE: [:session_spans]
77
87
 
@@ -79,6 +89,8 @@ module Aws::BedrockAgentCore
79
89
  end
80
90
  class CloudwatchLogs < AgentTracesConfig
81
91
  end
92
+ class BatchEvaluation < AgentTracesConfig
93
+ end
82
94
  class Unknown < AgentTracesConfig
83
95
  end
84
96
  end
@@ -144,12 +156,19 @@ module Aws::BedrockAgentCore
144
156
  attr_accessor created_at: ::Time
145
157
  attr_accessor description: ::String
146
158
  attr_accessor evaluators: ::Array[Types::Evaluator]
159
+ attr_accessor insights: ::Array[Types::Insight]
147
160
  attr_accessor evaluation_results: Types::EvaluationJobResults
148
161
  attr_accessor error_details: ::Array[::String]
162
+ attr_accessor kms_key_arn: ::String
149
163
  attr_accessor updated_at: ::Time
150
164
  SENSITIVE: []
151
165
  end
152
166
 
167
+ class BatchEvaluationTraceConfig
168
+ attr_accessor batch_evaluation_arn: ::String
169
+ SENSITIVE: []
170
+ end
171
+
153
172
  class BatchUpdateMemoryRecordsInput
154
173
  attr_accessor memory_id: ::String
155
174
  attr_accessor records: ::Array[Types::MemoryRecordUpdateInput]
@@ -465,6 +484,7 @@ module Aws::BedrockAgentCore
465
484
  attr_accessor role_arn: ::String
466
485
  attr_accessor enable_on_create: bool
467
486
  attr_accessor client_token: ::String
487
+ attr_accessor tags: ::Hash[::String, ::String]
468
488
  SENSITIVE: []
469
489
  end
470
490
 
@@ -545,11 +565,14 @@ module Aws::BedrockAgentCore
545
565
 
546
566
  class DataSourceConfig
547
567
  attr_accessor cloud_watch_logs: Types::CloudWatchLogsSource
568
+ attr_accessor online_evaluation_config_source: Types::OnlineEvaluationConfigSource
548
569
  attr_accessor unknown: untyped
549
570
  SENSITIVE: []
550
571
 
551
572
  class CloudWatchLogs < DataSourceConfig
552
573
  end
574
+ class OnlineEvaluationConfigSource < DataSourceConfig
575
+ end
553
576
  class Unknown < DataSourceConfig
554
577
  end
555
578
  end
@@ -801,6 +824,27 @@ module Aws::BedrockAgentCore
801
824
  SENSITIVE: []
802
825
  end
803
826
 
827
+ class ExecutionSummaryAffectedSession
828
+ attr_accessor session_id: ::String
829
+ attr_accessor approach_taken: ::String
830
+ attr_accessor final_outcome: ::String
831
+ SENSITIVE: []
832
+ end
833
+
834
+ class ExecutionSummaryCluster
835
+ attr_accessor cluster_id: ::Integer
836
+ attr_accessor name: ::String
837
+ attr_accessor description: ::String
838
+ attr_accessor affected_session_count: ::Integer
839
+ attr_accessor affected_sessions: ::Array[Types::ExecutionSummaryAffectedSession]
840
+ SENSITIVE: []
841
+ end
842
+
843
+ class ExecutionSummaryClusteringResultContent
844
+ attr_accessor execution_summaries: ::Array[Types::ExecutionSummaryCluster]
845
+ SENSITIVE: []
846
+ end
847
+
804
848
  class ExternalProxy
805
849
  attr_accessor server: ::String
806
850
  attr_accessor port: ::Integer
@@ -844,6 +888,36 @@ module Aws::BedrockAgentCore
844
888
  SENSITIVE: []
845
889
  end
846
890
 
891
+ class FailureAnalysisResultContent
892
+ attr_accessor failures: ::Array[Types::FailureCategoryCluster]
893
+ SENSITIVE: []
894
+ end
895
+
896
+ class FailureCategoryCluster
897
+ attr_accessor cluster_id: ::Integer
898
+ attr_accessor name: ::String
899
+ attr_accessor description: ::String
900
+ attr_accessor affected_session_count: ::Integer
901
+ attr_accessor sub_categories: ::Array[Types::FailureSubCategoryCluster]
902
+ SENSITIVE: []
903
+ end
904
+
905
+ class FailureSpanDetail
906
+ attr_accessor span_id: ::String
907
+ attr_accessor trace_id: ::String
908
+ attr_accessor signals: ::Array[Types::InsightsFailureSignal]
909
+ SENSITIVE: []
910
+ end
911
+
912
+ class FailureSubCategoryCluster
913
+ attr_accessor cluster_id: ::Integer
914
+ attr_accessor name: ::String
915
+ attr_accessor description: ::String
916
+ attr_accessor affected_session_count: ::Integer
917
+ attr_accessor root_causes: ::Array[Types::RootCauseCluster]
918
+ SENSITIVE: []
919
+ end
920
+
847
921
  class FilterInput
848
922
  attr_accessor branch: Types::BranchFilter
849
923
  attr_accessor event_metadata: ::Array[Types::EventMetadataFilterExpression]
@@ -926,12 +1000,17 @@ module Aws::BedrockAgentCore
926
1000
  attr_accessor status: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING")
927
1001
  attr_accessor created_at: ::Time
928
1002
  attr_accessor evaluators: ::Array[Types::Evaluator]
1003
+ attr_accessor insights: ::Array[Types::Insight]
929
1004
  attr_accessor data_source_config: Types::DataSourceConfig
930
1005
  attr_accessor output_config: Types::OutputConfig
931
1006
  attr_accessor evaluation_results: Types::EvaluationJobResults
1007
+ attr_accessor failure_analysis_result: Types::FailureAnalysisResultContent
1008
+ attr_accessor user_intent_result: Types::UserIntentClusteringResultContent
1009
+ attr_accessor execution_summary_result: Types::ExecutionSummaryClusteringResultContent
932
1010
  attr_accessor error_details: ::Array[::String]
933
1011
  attr_accessor description: ::String
934
1012
  attr_accessor updated_at: ::Time
1013
+ attr_accessor kms_key_arn: ::String
935
1014
  SENSITIVE: []
936
1015
  end
937
1016
 
@@ -1061,6 +1140,7 @@ module Aws::BedrockAgentCore
1061
1140
  attr_accessor created_at: ::Time
1062
1141
  attr_accessor updated_at: ::Time
1063
1142
  attr_accessor recommendation_result: Types::RecommendationResult
1143
+ attr_accessor kms_key_arn: ::String
1064
1144
  SENSITIVE: []
1065
1145
  end
1066
1146
 
@@ -1581,6 +1661,18 @@ module Aws::BedrockAgentCore
1581
1661
  SENSITIVE: [:blob]
1582
1662
  end
1583
1663
 
1664
+ class Insight
1665
+ attr_accessor insight_id: ::String
1666
+ SENSITIVE: []
1667
+ end
1668
+
1669
+ class InsightsFailureSignal
1670
+ attr_accessor category: ("execution-error-category-authentication" | "execution-error-category-resource-not-found" | "execution-error-category-service-errors" | "execution-error-category-rate-limiting" | "execution-error-category-formatting" | "execution-error-category-timeout" | "execution-error-category-resource-exhaustion" | "execution-error-category-environment" | "execution-error-category-tool-schema" | "task-instruction-category-non-compliance" | "task-instruction-category-problem-id" | "incorrect-actions-category-tool-selection" | "incorrect-actions-category-poor-information-retrieval" | "incorrect-actions-category-clarification" | "incorrect-actions-category-inappropriate-info-request" | "context-handling-error-category-context-handling-failures" | "hallucination-category-hall-capabilities" | "hallucination-category-hall-misunderstand" | "hallucination-category-hall-usage" | "hallucination-category-hall-history" | "hallucination-category-hall-params" | "hallucination-category-fabricate-tool-outputs" | "repetitive-behavior-category-repetition-tool" | "repetitive-behavior-category-repetition-info" | "repetitive-behavior-category-step-repetition" | "orchestration-related-errors-category-reasoning-mismatch" | "orchestration-related-errors-category-goal-deviation" | "orchestration-related-errors-category-premature-termination" | "orchestration-related-errors-category-unaware-termination" | "llm-output-category-nonsensical" | "configuration-mismatch-category-tool-definition" | "coding-use-case-specific-failure-types-category-edge-case-oversights" | "coding-use-case-specific-failure-types-category-dependency-issues")
1671
+ attr_accessor evidence: ::String
1672
+ attr_accessor confidence: ::Float
1673
+ SENSITIVE: []
1674
+ end
1675
+
1584
1676
  class InternalServerException
1585
1677
  attr_accessor message: ::String
1586
1678
  attr_accessor event_type: untyped
@@ -2199,6 +2291,12 @@ module Aws::BedrockAgentCore
2199
2291
  SENSITIVE: []
2200
2292
  end
2201
2293
 
2294
+ class OnlineEvaluationConfigSource
2295
+ attr_accessor online_evaluation_config_arn: ::String
2296
+ attr_accessor session_filter_config: Types::SessionFilterConfig
2297
+ SENSITIVE: []
2298
+ end
2299
+
2202
2300
  class OutputConfig
2203
2301
  attr_accessor cloud_watch_config: Types::CloudWatchOutputConfig
2204
2302
  attr_accessor unknown: untyped
@@ -2533,6 +2631,16 @@ module Aws::BedrockAgentCore
2533
2631
  end
2534
2632
  end
2535
2633
 
2634
+ class RootCauseCluster
2635
+ attr_accessor cluster_id: ::Integer
2636
+ attr_accessor name: ::String
2637
+ attr_accessor root_cause: ::String
2638
+ attr_accessor recommendation: ::String
2639
+ attr_accessor affected_session_count: ::Integer
2640
+ attr_accessor affected_sessions: ::Array[Types::AffectedSession]
2641
+ SENSITIVE: []
2642
+ end
2643
+
2536
2644
  class RuntimeClientError
2537
2645
  attr_accessor message: ::String
2538
2646
  attr_accessor event_type: untyped
@@ -2671,9 +2779,12 @@ module Aws::BedrockAgentCore
2671
2779
  class StartBatchEvaluationRequest
2672
2780
  attr_accessor batch_evaluation_name: ::String
2673
2781
  attr_accessor evaluators: ::Array[Types::Evaluator]
2782
+ attr_accessor insights: ::Array[Types::Insight]
2674
2783
  attr_accessor data_source_config: Types::DataSourceConfig
2675
2784
  attr_accessor client_token: ::String
2676
2785
  attr_accessor evaluation_metadata: Types::EvaluationMetadata
2786
+ attr_accessor tags: ::Hash[::String, ::String]
2787
+ attr_accessor kms_key_arn: ::String
2677
2788
  attr_accessor description: ::String
2678
2789
  SENSITIVE: []
2679
2790
  end
@@ -2683,9 +2794,12 @@ module Aws::BedrockAgentCore
2683
2794
  attr_accessor batch_evaluation_arn: ::String
2684
2795
  attr_accessor batch_evaluation_name: ::String
2685
2796
  attr_accessor evaluators: ::Array[Types::Evaluator]
2797
+ attr_accessor insights: ::Array[Types::Insight]
2686
2798
  attr_accessor status: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING")
2687
2799
  attr_accessor created_at: ::Time
2688
2800
  attr_accessor output_config: Types::OutputConfig
2801
+ attr_accessor tags: ::Hash[::String, ::String]
2802
+ attr_accessor kms_key_arn: ::String
2689
2803
  attr_accessor description: ::String
2690
2804
  SENSITIVE: []
2691
2805
  end
@@ -2749,7 +2863,9 @@ module Aws::BedrockAgentCore
2749
2863
  attr_accessor description: ::String
2750
2864
  attr_accessor type: ("SYSTEM_PROMPT_RECOMMENDATION" | "TOOL_DESCRIPTION_RECOMMENDATION")
2751
2865
  attr_accessor recommendation_config: Types::RecommendationConfig
2866
+ attr_accessor kms_key_arn: ::String
2752
2867
  attr_accessor client_token: ::String
2868
+ attr_accessor tags: ::Hash[::String, ::String]
2753
2869
  SENSITIVE: []
2754
2870
  end
2755
2871
 
@@ -2883,6 +2999,7 @@ module Aws::BedrockAgentCore
2883
2999
  class SystemPromptRecommendationResult
2884
3000
  attr_accessor recommended_system_prompt: ::String
2885
3001
  attr_accessor configuration_bundle: Types::RecommendationResultConfigurationBundle
3002
+ attr_accessor explanation: ::String
2886
3003
  attr_accessor error_code: ::String
2887
3004
  attr_accessor error_message: ::String
2888
3005
  SENSITIVE: [:recommended_system_prompt]
@@ -2961,6 +3078,7 @@ module Aws::BedrockAgentCore
2961
3078
  class ToolDescriptionOutput
2962
3079
  attr_accessor tool_name: ::String
2963
3080
  attr_accessor recommended_tool_description: ::String
3081
+ attr_accessor explanation: ::String
2964
3082
  SENSITIVE: [:recommended_tool_description]
2965
3083
  end
2966
3084
 
@@ -3073,6 +3191,26 @@ module Aws::BedrockAgentCore
3073
3191
  end
3074
3192
  end
3075
3193
 
3194
+ class UserIntentAffectedSession
3195
+ attr_accessor session_id: ::String
3196
+ attr_accessor user_messages: ::Array[::String]
3197
+ SENSITIVE: []
3198
+ end
3199
+
3200
+ class UserIntentCluster
3201
+ attr_accessor cluster_id: ::Integer
3202
+ attr_accessor name: ::String
3203
+ attr_accessor description: ::String
3204
+ attr_accessor affected_session_count: ::Integer
3205
+ attr_accessor affected_sessions: ::Array[Types::UserIntentAffectedSession]
3206
+ SENSITIVE: []
3207
+ end
3208
+
3209
+ class UserIntentClusteringResultContent
3210
+ attr_accessor user_intents: ::Array[Types::UserIntentCluster]
3211
+ SENSITIVE: []
3212
+ end
3213
+
3076
3214
  class ValidationException
3077
3215
  attr_accessor message: ::String
3078
3216
  attr_accessor reason: ("CannotParse" | "FieldValidationFailed" | "IdempotentParameterMismatchException" | "EventInOtherSession" | "ResourceConflict")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services