aws-sdk-bedrockagentcorecontrol 1.82.0 → 1.83.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +304 -7
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +80 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +318 -11
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/params.rbs +75 -10
- data/sig/types.rbs +70 -1
- metadata +1 -1
data/sig/params.rbs
CHANGED
|
@@ -174,6 +174,9 @@ module Aws
|
|
|
174
174
|
definition: ::String,
|
|
175
175
|
label: ::String
|
|
176
176
|
}
|
|
177
|
+
]?,
|
|
178
|
+
multi_dimensional: Array[
|
|
179
|
+
Params::evaluation_dimension
|
|
177
180
|
]?
|
|
178
181
|
}
|
|
179
182
|
|
|
@@ -226,6 +229,28 @@ module Aws
|
|
|
226
229
|
derived: Params::derived_evaluator_config?
|
|
227
230
|
}
|
|
228
231
|
|
|
232
|
+
type dimension_rating_scale = {
|
|
233
|
+
numerical: Array[
|
|
234
|
+
{
|
|
235
|
+
definition: ::String,
|
|
236
|
+
value: ::Float,
|
|
237
|
+
label: ::String
|
|
238
|
+
}
|
|
239
|
+
]?,
|
|
240
|
+
categorical: Array[
|
|
241
|
+
{
|
|
242
|
+
definition: ::String,
|
|
243
|
+
label: ::String
|
|
244
|
+
}
|
|
245
|
+
]?
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
type evaluation_dimension = {
|
|
249
|
+
dimension_name: ::String,
|
|
250
|
+
dimension_instruction: ::String,
|
|
251
|
+
dimension_rating_scale: Params::dimension_rating_scale
|
|
252
|
+
}
|
|
253
|
+
|
|
229
254
|
type mcp_gateway_configuration = {
|
|
230
255
|
supported_versions: Array[::String]?,
|
|
231
256
|
instructions: ::String?,
|
|
@@ -279,6 +304,14 @@ module Aws
|
|
|
279
304
|
match_principals: Params::match_principals?,
|
|
280
305
|
match_paths: {
|
|
281
306
|
any_of: Array[::String]
|
|
307
|
+
}?,
|
|
308
|
+
match_models: {
|
|
309
|
+
any_of: Array[
|
|
310
|
+
{
|
|
311
|
+
value: ::String,
|
|
312
|
+
operator: ("StringEquals" | "StringLike")?
|
|
313
|
+
}
|
|
314
|
+
]
|
|
282
315
|
}?
|
|
283
316
|
}
|
|
284
317
|
|
|
@@ -296,22 +329,34 @@ module Aws
|
|
|
296
329
|
weighted_override: Params::weighted_override?
|
|
297
330
|
}
|
|
298
331
|
|
|
332
|
+
type fallback = {
|
|
333
|
+
trigger_on: {
|
|
334
|
+
status_codes: Array[::String]?,
|
|
335
|
+
errors: Array[("CONNECTION_ERROR" | "FIRST_BYTE_TIMEOUT" | "UNROUTABLE")]?
|
|
336
|
+
}?,
|
|
337
|
+
first_byte_timeout_milliseconds: ::Integer?,
|
|
338
|
+
circuit_breaker: {
|
|
339
|
+
mode: ("ENABLED" | "DISABLED")?
|
|
340
|
+
}?,
|
|
341
|
+
target_fallback: Array[
|
|
342
|
+
Params::fallback_target
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
type static_route = {
|
|
347
|
+
target_name: ::String,
|
|
348
|
+
model: ::String?,
|
|
349
|
+
fallback: Params::fallback?
|
|
350
|
+
}
|
|
351
|
+
|
|
299
352
|
type weighted_route = {
|
|
300
353
|
traffic_split: Array[
|
|
301
|
-
|
|
302
|
-
name: ::String,
|
|
303
|
-
weight: ::Integer,
|
|
304
|
-
target_name: ::String,
|
|
305
|
-
description: ::String?,
|
|
306
|
-
metadata: Hash[::String, ::String]?
|
|
307
|
-
}
|
|
354
|
+
Params::target_traffic_split_entry
|
|
308
355
|
]
|
|
309
356
|
}
|
|
310
357
|
|
|
311
358
|
type route_to_target_action = {
|
|
312
|
-
static_route:
|
|
313
|
-
target_name: ::String
|
|
314
|
-
}?,
|
|
359
|
+
static_route: Params::static_route?,
|
|
315
360
|
weighted_route: Params::weighted_route?
|
|
316
361
|
}
|
|
317
362
|
|
|
@@ -331,6 +376,26 @@ module Aws
|
|
|
331
376
|
metadata: Hash[::String, ::String]?
|
|
332
377
|
}
|
|
333
378
|
|
|
379
|
+
type fallback_target = {
|
|
380
|
+
target_name: ::String,
|
|
381
|
+
model: ::String?,
|
|
382
|
+
trigger_on: {
|
|
383
|
+
status_codes: Array[::String]?,
|
|
384
|
+
errors: Array[("CONNECTION_ERROR" | "FIRST_BYTE_TIMEOUT" | "UNROUTABLE")]?
|
|
385
|
+
}?,
|
|
386
|
+
first_byte_timeout_milliseconds: ::Integer?
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
type target_traffic_split_entry = {
|
|
390
|
+
target_name: ::String,
|
|
391
|
+
model: ::String?,
|
|
392
|
+
fallback: Params::fallback?,
|
|
393
|
+
name: ::String,
|
|
394
|
+
weight: ::Integer,
|
|
395
|
+
description: ::String?,
|
|
396
|
+
metadata: Hash[::String, ::String]?
|
|
397
|
+
}
|
|
398
|
+
|
|
334
399
|
type tool_schema = {
|
|
335
400
|
s3: {
|
|
336
401
|
uri: ::String?,
|
data/sig/types.rbs
CHANGED
|
@@ -364,6 +364,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
364
364
|
end
|
|
365
365
|
end
|
|
366
366
|
|
|
367
|
+
class CircuitBreakerConfiguration
|
|
368
|
+
attr_accessor mode: ("ENABLED" | "DISABLED")
|
|
369
|
+
SENSITIVE: []
|
|
370
|
+
end
|
|
371
|
+
|
|
367
372
|
class ClaimMatchValueType
|
|
368
373
|
attr_accessor match_value_string: ::String
|
|
369
374
|
attr_accessor match_value_string_list: ::Array[::String]
|
|
@@ -494,6 +499,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
494
499
|
class Condition
|
|
495
500
|
attr_accessor match_principals: Types::MatchPrincipals
|
|
496
501
|
attr_accessor match_paths: Types::MatchPaths
|
|
502
|
+
attr_accessor match_models: Types::MatchModels
|
|
497
503
|
attr_accessor unknown: untyped
|
|
498
504
|
SENSITIVE: []
|
|
499
505
|
|
|
@@ -501,6 +507,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
501
507
|
end
|
|
502
508
|
class MatchPaths < Condition
|
|
503
509
|
end
|
|
510
|
+
class MatchModels < Condition
|
|
511
|
+
end
|
|
504
512
|
class Unknown < Condition
|
|
505
513
|
end
|
|
506
514
|
end
|
|
@@ -1942,6 +1950,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
1942
1950
|
SENSITIVE: []
|
|
1943
1951
|
end
|
|
1944
1952
|
|
|
1953
|
+
class DimensionRatingScale
|
|
1954
|
+
attr_accessor numerical: ::Array[Types::NumericalScaleDefinition]
|
|
1955
|
+
attr_accessor categorical: ::Array[Types::CategoricalScaleDefinition]
|
|
1956
|
+
attr_accessor unknown: untyped
|
|
1957
|
+
SENSITIVE: []
|
|
1958
|
+
|
|
1959
|
+
class Numerical < DimensionRatingScale
|
|
1960
|
+
end
|
|
1961
|
+
class Categorical < DimensionRatingScale
|
|
1962
|
+
end
|
|
1963
|
+
class Unknown < DimensionRatingScale
|
|
1964
|
+
end
|
|
1965
|
+
end
|
|
1966
|
+
|
|
1945
1967
|
class EbsVolumeConfiguration
|
|
1946
1968
|
attr_accessor name: ::String
|
|
1947
1969
|
attr_accessor size_gi_b: ::Integer
|
|
@@ -2075,6 +2097,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
2075
2097
|
SENSITIVE: [:append_to_prompt]
|
|
2076
2098
|
end
|
|
2077
2099
|
|
|
2100
|
+
class EvaluationDimension
|
|
2101
|
+
attr_accessor dimension_name: ::String
|
|
2102
|
+
attr_accessor dimension_instruction: ::String
|
|
2103
|
+
attr_accessor dimension_rating_scale: Types::DimensionRatingScale
|
|
2104
|
+
SENSITIVE: [:dimension_instruction, :dimension_rating_scale]
|
|
2105
|
+
end
|
|
2106
|
+
|
|
2078
2107
|
class EvaluatorConfig
|
|
2079
2108
|
attr_accessor llm_as_a_judge: Types::LlmAsAJudgeEvaluatorConfig
|
|
2080
2109
|
attr_accessor code_based: Types::CodeBasedEvaluatorConfig
|
|
@@ -2155,6 +2184,28 @@ module Aws::BedrockAgentCoreControl
|
|
|
2155
2184
|
end
|
|
2156
2185
|
end
|
|
2157
2186
|
|
|
2187
|
+
class Fallback
|
|
2188
|
+
attr_accessor trigger_on: Types::FallbackTriggers
|
|
2189
|
+
attr_accessor first_byte_timeout_milliseconds: ::Integer
|
|
2190
|
+
attr_accessor circuit_breaker: Types::CircuitBreakerConfiguration
|
|
2191
|
+
attr_accessor target_fallback: ::Array[Types::FallbackTarget]
|
|
2192
|
+
SENSITIVE: []
|
|
2193
|
+
end
|
|
2194
|
+
|
|
2195
|
+
class FallbackTarget
|
|
2196
|
+
attr_accessor target_name: ::String
|
|
2197
|
+
attr_accessor model: ::String
|
|
2198
|
+
attr_accessor trigger_on: Types::FallbackTriggers
|
|
2199
|
+
attr_accessor first_byte_timeout_milliseconds: ::Integer
|
|
2200
|
+
SENSITIVE: [:target_name]
|
|
2201
|
+
end
|
|
2202
|
+
|
|
2203
|
+
class FallbackTriggers
|
|
2204
|
+
attr_accessor status_codes: ::Array[::String]
|
|
2205
|
+
attr_accessor errors: ::Array[("CONNECTION_ERROR" | "FIRST_BYTE_TIMEOUT" | "UNROUTABLE")]
|
|
2206
|
+
SENSITIVE: []
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2158
2209
|
class FilesystemConfiguration
|
|
2159
2210
|
attr_accessor session_storage: Types::SessionStorageConfiguration
|
|
2160
2211
|
attr_accessor s3_files_access_point: Types::S3FilesAccessPointConfiguration
|
|
@@ -4306,6 +4357,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
4306
4357
|
SENSITIVE: []
|
|
4307
4358
|
end
|
|
4308
4359
|
|
|
4360
|
+
class MatchModelEntry
|
|
4361
|
+
attr_accessor value: ::String
|
|
4362
|
+
attr_accessor operator: ("StringEquals" | "StringLike")
|
|
4363
|
+
SENSITIVE: []
|
|
4364
|
+
end
|
|
4365
|
+
|
|
4366
|
+
class MatchModels
|
|
4367
|
+
attr_accessor any_of: ::Array[Types::MatchModelEntry]
|
|
4368
|
+
SENSITIVE: []
|
|
4369
|
+
end
|
|
4370
|
+
|
|
4309
4371
|
class MatchPaths
|
|
4310
4372
|
attr_accessor any_of: ::Array[::String]
|
|
4311
4373
|
SENSITIVE: []
|
|
@@ -5034,6 +5096,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5034
5096
|
class RatingScale
|
|
5035
5097
|
attr_accessor numerical: ::Array[Types::NumericalScaleDefinition]
|
|
5036
5098
|
attr_accessor categorical: ::Array[Types::CategoricalScaleDefinition]
|
|
5099
|
+
attr_accessor multi_dimensional: ::Array[Types::EvaluationDimension]
|
|
5037
5100
|
attr_accessor unknown: untyped
|
|
5038
5101
|
SENSITIVE: []
|
|
5039
5102
|
|
|
@@ -5041,6 +5104,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5041
5104
|
end
|
|
5042
5105
|
class Categorical < RatingScale
|
|
5043
5106
|
end
|
|
5107
|
+
class MultiDimensional < RatingScale
|
|
5108
|
+
end
|
|
5044
5109
|
class Unknown < RatingScale
|
|
5045
5110
|
end
|
|
5046
5111
|
end
|
|
@@ -5504,6 +5569,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5504
5569
|
|
|
5505
5570
|
class StaticRoute
|
|
5506
5571
|
attr_accessor target_name: ::String
|
|
5572
|
+
attr_accessor model: ::String
|
|
5573
|
+
attr_accessor fallback: Types::Fallback
|
|
5507
5574
|
SENSITIVE: [:target_name]
|
|
5508
5575
|
end
|
|
5509
5576
|
|
|
@@ -5691,9 +5758,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5691
5758
|
end
|
|
5692
5759
|
|
|
5693
5760
|
class TargetTrafficSplitEntry
|
|
5761
|
+
attr_accessor target_name: ::String
|
|
5762
|
+
attr_accessor model: ::String
|
|
5763
|
+
attr_accessor fallback: Types::Fallback
|
|
5694
5764
|
attr_accessor name: ::String
|
|
5695
5765
|
attr_accessor weight: ::Integer
|
|
5696
|
-
attr_accessor target_name: ::String
|
|
5697
5766
|
attr_accessor description: ::String
|
|
5698
5767
|
attr_accessor metadata: ::Hash[::String, ::String]
|
|
5699
5768
|
SENSITIVE: [:target_name]
|