aws-sdk-bedrockagentcore 1.32.0 → 1.34.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.32.0'
59
+ GEM_VERSION = '1.34.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -104,7 +104,7 @@ module Aws
104
104
  number_value: ::Float?,
105
105
  date_time_value: ::Time?
106
106
  }]?
107
- },
107
+ }
108
108
  ],
109
109
  ?client_token: ::String
110
110
  ) -> _BatchCreateMemoryRecordsResponseSuccess
@@ -121,7 +121,7 @@ module Aws
121
121
  records: Array[
122
122
  {
123
123
  memory_record_id: ::String
124
- },
124
+ }
125
125
  ]
126
126
  ) -> _BatchDeleteMemoryRecordsResponseSuccess
127
127
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteMemoryRecordsResponseSuccess
@@ -149,7 +149,7 @@ module Aws
149
149
  number_value: ::Float?,
150
150
  date_time_value: ::Time?
151
151
  }]?
152
- },
152
+ }
153
153
  ]
154
154
  ) -> _BatchUpdateMemoryRecordsResponseSuccess
155
155
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateMemoryRecordsResponseSuccess
@@ -182,19 +182,7 @@ module Aws
182
182
  ?description: ::String,
183
183
  gateway_arn: ::String,
184
184
  variants: Array[
185
- {
186
- name: ::String,
187
- weight: ::Integer,
188
- variant_configuration: {
189
- configuration_bundle: {
190
- bundle_arn: ::String,
191
- bundle_version: ::String
192
- }?,
193
- target: {
194
- name: ::String
195
- }?
196
- }
197
- },
185
+ Params::variant
198
186
  ],
199
187
  ?gateway_filter: {
200
188
  target_paths: Array[::String]?
@@ -205,7 +193,7 @@ module Aws
205
193
  {
206
194
  name: ::String,
207
195
  online_evaluation_config_arn: ::String
208
- },
196
+ }
209
197
  ]?
210
198
  },
211
199
  role_arn: ::String,
@@ -234,7 +222,7 @@ module Aws
234
222
  }?,
235
223
  blob: {
236
224
  }?
237
- },
225
+ }
238
226
  ],
239
227
  ?branch: {
240
228
  root_event_id: ::String?,
@@ -305,7 +293,7 @@ module Aws
305
293
  username: ::String?
306
294
  }?
307
295
  }?
308
- },
296
+ }
309
297
  ],
310
298
  wallet_address: ::String?,
311
299
  redirect_url: ::String?
@@ -429,7 +417,7 @@ module Aws
429
417
  evaluation_input: {
430
418
  session_spans: Array[
431
419
  {
432
- },
420
+ }
433
421
  ]?
434
422
  },
435
423
  ?evaluation_target: {
@@ -451,12 +439,12 @@ module Aws
451
439
  assertions: Array[
452
440
  {
453
441
  text: ::String?
454
- },
442
+ }
455
443
  ]?,
456
444
  expected_trajectory: {
457
445
  tool_names: Array[::String]?
458
446
  }?
459
- },
447
+ }
460
448
  ]
461
449
  ) -> _EvaluateResponseSuccess
462
450
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EvaluateResponseSuccess
@@ -881,7 +869,7 @@ module Aws
881
869
  path: ::String,
882
870
  text: ::String?,
883
871
  blob: ::String?
884
- },
872
+ }
885
873
  ]?,
886
874
  directory_path: ::String?,
887
875
  task_id: ::String?,
@@ -919,7 +907,7 @@ module Aws
919
907
  text: ::String?,
920
908
  json: {
921
909
  }?
922
- },
910
+ }
923
911
  ],
924
912
  status: ("success" | "error")?,
925
913
  type: ("tool_use" | "server_tool_use" | "mcp_tool_use")?
@@ -931,9 +919,9 @@ module Aws
931
919
  }?,
932
920
  redacted_content: ::String?
933
921
  }?
934
- },
922
+ }
935
923
  ]
936
- },
924
+ }
937
925
  ],
938
926
  ?model: {
939
927
  bedrock_model_config: {
@@ -961,7 +949,7 @@ module Aws
961
949
  ?system_prompt: Array[
962
950
  {
963
951
  text: ::String?
964
- },
952
+ }
965
953
  ],
966
954
  ?tools: Array[
967
955
  {
@@ -1000,12 +988,12 @@ module Aws
1000
988
  code_interpreter_arn: ::String?
1001
989
  }?
1002
990
  }?
1003
- },
991
+ }
1004
992
  ],
1005
993
  ?skills: Array[
1006
994
  {
1007
995
  path: ::String?
1008
- },
996
+ }
1009
997
  ],
1010
998
  ?allowed_tools: Array[::String],
1011
999
  ?max_iterations: ::Integer,
@@ -1107,7 +1095,7 @@ module Aws
1107
1095
  string_value: ::String?
1108
1096
  }?
1109
1097
  }?
1110
- },
1098
+ }
1111
1099
  ]?
1112
1100
  },
1113
1101
  ?max_results: ::Integer,
@@ -1148,20 +1136,7 @@ module Aws
1148
1136
  ?max_results: ::Integer,
1149
1137
  ?next_token: ::String,
1150
1138
  ?metadata_filters: Array[
1151
- {
1152
- left: {
1153
- metadata_key: ::String?
1154
- },
1155
- operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS"),
1156
- right: {
1157
- metadata_value: {
1158
- string_value: ::String?,
1159
- string_list_value: Array[::String]?,
1160
- number_value: ::Float?,
1161
- date_time_value: ::Time?
1162
- }?
1163
- }?
1164
- },
1139
+ Params::memory_metadata_filter_expression
1165
1140
  ]
1166
1141
  ) -> _ListMemoryRecordsResponseSuccess
1167
1142
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemoryRecordsResponseSuccess
@@ -1273,20 +1248,7 @@ module Aws
1273
1248
  memory_strategy_id: ::String?,
1274
1249
  top_k: ::Integer?,
1275
1250
  metadata_filters: Array[
1276
- {
1277
- left: {
1278
- metadata_key: ::String?
1279
- },
1280
- operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS"),
1281
- right: {
1282
- metadata_value: {
1283
- string_value: ::String?,
1284
- string_list_value: Array[::String]?,
1285
- number_value: ::Float?,
1286
- date_time_value: ::Time?
1287
- }?
1288
- }?
1289
- },
1251
+ Params::memory_metadata_filter_expression
1290
1252
  ]?
1291
1253
  },
1292
1254
  ?next_token: ::String,
@@ -1343,7 +1305,7 @@ module Aws
1343
1305
  ?evaluators: Array[
1344
1306
  {
1345
1307
  evaluator_id: ::String
1346
- },
1308
+ }
1347
1309
  ],
1348
1310
  data_source_config: {
1349
1311
  cloud_watch_logs: {
@@ -1369,7 +1331,7 @@ module Aws
1369
1331
  assertions: Array[
1370
1332
  {
1371
1333
  text: ::String?
1372
- },
1334
+ }
1373
1335
  ]?,
1374
1336
  expected_trajectory: {
1375
1337
  tool_names: Array[::String]?
@@ -1382,12 +1344,12 @@ module Aws
1382
1344
  expected_response: {
1383
1345
  text: ::String?
1384
1346
  }?
1385
- },
1347
+ }
1386
1348
  ]?
1387
1349
  }?
1388
1350
  }?,
1389
1351
  metadata: Hash[::String, ::String]?
1390
- },
1352
+ }
1391
1353
  ]?
1392
1354
  },
1393
1355
  ?description: ::String
@@ -1421,7 +1383,7 @@ module Aws
1421
1383
  version_id: ::String?
1422
1384
  }?
1423
1385
  }
1424
- },
1386
+ }
1425
1387
  ],
1426
1388
  ?profile_configuration: {
1427
1389
  profile_identifier: ::String
@@ -1439,7 +1401,7 @@ module Aws
1439
1401
  }?
1440
1402
  }?
1441
1403
  }?
1442
- },
1404
+ }
1443
1405
  ],
1444
1406
  bypass: {
1445
1407
  domain_patterns: Array[::String]?
@@ -1455,7 +1417,7 @@ module Aws
1455
1417
  }?
1456
1418
  },
1457
1419
  type: ("MANAGED" | "RECOMMENDED")?
1458
- },
1420
+ }
1459
1421
  ],
1460
1422
  ?certificates: Array[
1461
1423
  {
@@ -1464,7 +1426,7 @@ module Aws
1464
1426
  secret_arn: ::String
1465
1427
  }?
1466
1428
  }
1467
- },
1429
+ }
1468
1430
  ],
1469
1431
  ?client_token: ::String
1470
1432
  ) -> _StartBrowserSessionResponseSuccess
@@ -1490,7 +1452,7 @@ module Aws
1490
1452
  secret_arn: ::String
1491
1453
  }?
1492
1454
  }
1493
- },
1455
+ }
1494
1456
  ],
1495
1457
  ?client_token: ::String
1496
1458
  ) -> _StartCodeInterpreterSessionResponseSuccess
@@ -1537,36 +1499,12 @@ module Aws
1537
1499
  system_prompt_json_path: ::String
1538
1500
  }?
1539
1501
  },
1540
- agent_traces: {
1541
- session_spans: Array[
1542
- {
1543
- },
1544
- ]?,
1545
- cloudwatch_logs: {
1546
- log_group_arns: Array[::String],
1547
- service_names: Array[::String],
1548
- start_time: ::Time,
1549
- end_time: ::Time,
1550
- rule: {
1551
- filters: Array[
1552
- {
1553
- key: ::String,
1554
- operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
1555
- value: {
1556
- string_value: ::String?,
1557
- double_value: ::Float?,
1558
- boolean_value: bool?
1559
- }
1560
- },
1561
- ]?
1562
- }?
1563
- }?
1564
- },
1502
+ agent_traces: Params::agent_traces_config,
1565
1503
  evaluation_config: {
1566
1504
  evaluators: Array[
1567
1505
  {
1568
1506
  evaluator_arn: ::String
1569
- },
1507
+ }
1570
1508
  ]
1571
1509
  }
1572
1510
  }?,
@@ -1579,7 +1517,7 @@ module Aws
1579
1517
  tool_description: {
1580
1518
  text: ::String?
1581
1519
  }
1582
- },
1520
+ }
1583
1521
  ]
1584
1522
  }?,
1585
1523
  configuration_bundle: {
@@ -1589,35 +1527,11 @@ module Aws
1589
1527
  {
1590
1528
  tool_name: ::String,
1591
1529
  tool_description_json_path: ::String
1592
- },
1530
+ }
1593
1531
  ]
1594
1532
  }?
1595
1533
  },
1596
- agent_traces: {
1597
- session_spans: Array[
1598
- {
1599
- },
1600
- ]?,
1601
- cloudwatch_logs: {
1602
- log_group_arns: Array[::String],
1603
- service_names: Array[::String],
1604
- start_time: ::Time,
1605
- end_time: ::Time,
1606
- rule: {
1607
- filters: Array[
1608
- {
1609
- key: ::String,
1610
- operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
1611
- value: {
1612
- string_value: ::String?,
1613
- double_value: ::Float?,
1614
- boolean_value: bool?
1615
- }
1616
- },
1617
- ]?
1618
- }?
1619
- }?
1620
- }
1534
+ agent_traces: Params::agent_traces_config
1621
1535
  }?
1622
1536
  },
1623
1537
  ?client_token: ::String
@@ -1698,19 +1612,7 @@ module Aws
1698
1612
  ?name: ::String,
1699
1613
  ?description: ::String,
1700
1614
  ?variants: Array[
1701
- {
1702
- name: ::String,
1703
- weight: ::Integer,
1704
- variant_configuration: {
1705
- configuration_bundle: {
1706
- bundle_arn: ::String,
1707
- bundle_version: ::String
1708
- }?,
1709
- target: {
1710
- name: ::String
1711
- }?
1712
- }
1713
- },
1615
+ Params::variant
1714
1616
  ],
1715
1617
  ?gateway_filter: {
1716
1618
  target_paths: Array[::String]?
@@ -1721,7 +1623,7 @@ module Aws
1721
1623
  {
1722
1624
  name: ::String,
1723
1625
  online_evaluation_config_arn: ::String
1724
- },
1626
+ }
1725
1627
  ]?
1726
1628
  },
1727
1629
  ?role_arn: ::String,
data/sig/params.rbs ADDED
@@ -0,0 +1,78 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module BedrockAgentCore
10
+ module Params
11
+ type variant_configuration = {
12
+ configuration_bundle: {
13
+ bundle_arn: ::String,
14
+ bundle_version: ::String
15
+ }?,
16
+ target: {
17
+ name: ::String
18
+ }?
19
+ }
20
+
21
+ type variant = {
22
+ name: ::String,
23
+ weight: ::Integer,
24
+ variant_configuration: Params::variant_configuration
25
+ }
26
+
27
+ type memory_record_right_expression = {
28
+ metadata_value: {
29
+ string_value: ::String?,
30
+ string_list_value: Array[::String]?,
31
+ number_value: ::Float?,
32
+ date_time_value: ::Time?
33
+ }?
34
+ }
35
+
36
+ type memory_metadata_filter_expression = {
37
+ left: {
38
+ metadata_key: ::String?
39
+ },
40
+ operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS"),
41
+ right: Params::memory_record_right_expression?
42
+ }
43
+
44
+ type cloud_watch_logs_rule = {
45
+ filters: Array[
46
+ Params::cloud_watch_logs_filter
47
+ ]?
48
+ }
49
+
50
+ type cloud_watch_logs_trace_config = {
51
+ log_group_arns: Array[::String],
52
+ service_names: Array[::String],
53
+ start_time: ::Time,
54
+ end_time: ::Time,
55
+ rule: Params::cloud_watch_logs_rule?
56
+ }
57
+
58
+ type agent_traces_config = {
59
+ session_spans: Array[
60
+ {
61
+ }
62
+ ]?,
63
+ cloudwatch_logs: Params::cloud_watch_logs_trace_config?
64
+ }
65
+
66
+ type cloud_watch_logs_filter = {
67
+ key: ::String,
68
+ operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
69
+ value: {
70
+ string_value: ::String?,
71
+ double_value: ::Float?,
72
+ boolean_value: bool?
73
+ }
74
+ }
75
+
76
+ end
77
+ end
78
+ end
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.32.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.244.0
21
+ version: 3.247.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.244.0
31
+ version: 3.247.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -69,6 +69,7 @@ files:
69
69
  - lib/aws-sdk-bedrockagentcore/waiters.rb
70
70
  - sig/client.rbs
71
71
  - sig/errors.rbs
72
+ - sig/params.rbs
72
73
  - sig/resource.rbs
73
74
  - sig/types.rbs
74
75
  - sig/waiters.rbs