aws-sdk-bedrockagentcorecontrol 1.82.0 → 1.84.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +364 -7
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +114 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +383 -12
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/params.rbs +87 -17
- data/sig/types.rbs +88 -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?,
|
|
@@ -996,6 +1061,17 @@ module Aws
|
|
|
996
1061
|
}?
|
|
997
1062
|
}
|
|
998
1063
|
|
|
1064
|
+
type on_behalf_of_token_exchange_config_type = {
|
|
1065
|
+
grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT"),
|
|
1066
|
+
token_exchange_grant_type_config: {
|
|
1067
|
+
actor_token_content: ("NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"),
|
|
1068
|
+
actor_token_scopes: Array[::String]?
|
|
1069
|
+
}?,
|
|
1070
|
+
on_behalf_of_authentication_config: {
|
|
1071
|
+
client_authentication_method: ("NO_CLIENT")
|
|
1072
|
+
}?
|
|
1073
|
+
}
|
|
1074
|
+
|
|
999
1075
|
type private_key_jwt_config = {
|
|
1000
1076
|
private_key_source: {
|
|
1001
1077
|
kms_key_source: {
|
|
@@ -1016,13 +1092,7 @@ module Aws
|
|
|
1016
1092
|
json_key: ::String
|
|
1017
1093
|
}?,
|
|
1018
1094
|
client_secret_source: ("MANAGED" | "EXTERNAL")?,
|
|
1019
|
-
on_behalf_of_token_exchange_config:
|
|
1020
|
-
grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT"),
|
|
1021
|
-
token_exchange_grant_type_config: {
|
|
1022
|
-
actor_token_content: ("NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"),
|
|
1023
|
-
actor_token_scopes: Array[::String]?
|
|
1024
|
-
}?
|
|
1025
|
-
}?,
|
|
1095
|
+
on_behalf_of_token_exchange_config: Params::on_behalf_of_token_exchange_config_type?,
|
|
1026
1096
|
client_authentication_method: ("CLIENT_SECRET_BASIC" | "CLIENT_SECRET_POST" | "AWS_IAM_ID_TOKEN_JWT" | "PRIVATE_KEY_JWT")?,
|
|
1027
1097
|
private_key_jwt_config: Params::private_key_jwt_config?,
|
|
1028
1098
|
private_endpoint: Params::private_endpoint?,
|
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: []
|
|
@@ -4734,9 +4796,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
4734
4796
|
end
|
|
4735
4797
|
end
|
|
4736
4798
|
|
|
4799
|
+
class OnBehalfOfAuthenticationConfig
|
|
4800
|
+
attr_accessor client_authentication_method: ("NO_CLIENT")
|
|
4801
|
+
SENSITIVE: []
|
|
4802
|
+
end
|
|
4803
|
+
|
|
4737
4804
|
class OnBehalfOfTokenExchangeConfigType
|
|
4738
4805
|
attr_accessor grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT")
|
|
4739
4806
|
attr_accessor token_exchange_grant_type_config: Types::TokenExchangeGrantTypeConfigType
|
|
4807
|
+
attr_accessor on_behalf_of_authentication_config: Types::OnBehalfOfAuthenticationConfig
|
|
4740
4808
|
SENSITIVE: []
|
|
4741
4809
|
end
|
|
4742
4810
|
|
|
@@ -5034,6 +5102,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5034
5102
|
class RatingScale
|
|
5035
5103
|
attr_accessor numerical: ::Array[Types::NumericalScaleDefinition]
|
|
5036
5104
|
attr_accessor categorical: ::Array[Types::CategoricalScaleDefinition]
|
|
5105
|
+
attr_accessor multi_dimensional: ::Array[Types::EvaluationDimension]
|
|
5037
5106
|
attr_accessor unknown: untyped
|
|
5038
5107
|
SENSITIVE: []
|
|
5039
5108
|
|
|
@@ -5041,6 +5110,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5041
5110
|
end
|
|
5042
5111
|
class Categorical < RatingScale
|
|
5043
5112
|
end
|
|
5113
|
+
class MultiDimensional < RatingScale
|
|
5114
|
+
end
|
|
5044
5115
|
class Unknown < RatingScale
|
|
5045
5116
|
end
|
|
5046
5117
|
end
|
|
@@ -5157,6 +5228,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
5157
5228
|
end
|
|
5158
5229
|
end
|
|
5159
5230
|
|
|
5231
|
+
class ResetTokenVaultKeyMaterialRequest
|
|
5232
|
+
attr_accessor token_vault_id: ::String
|
|
5233
|
+
SENSITIVE: []
|
|
5234
|
+
end
|
|
5235
|
+
|
|
5236
|
+
class ResetTokenVaultKeyMaterialResponse
|
|
5237
|
+
attr_accessor token_vault_id: ::String
|
|
5238
|
+
attr_accessor kms_configuration: Types::KmsConfiguration
|
|
5239
|
+
attr_accessor last_modified_date: ::Time
|
|
5240
|
+
SENSITIVE: []
|
|
5241
|
+
end
|
|
5242
|
+
|
|
5160
5243
|
class Resource
|
|
5161
5244
|
attr_accessor arn: ::String
|
|
5162
5245
|
attr_accessor unknown: untyped
|
|
@@ -5504,6 +5587,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5504
5587
|
|
|
5505
5588
|
class StaticRoute
|
|
5506
5589
|
attr_accessor target_name: ::String
|
|
5590
|
+
attr_accessor model: ::String
|
|
5591
|
+
attr_accessor fallback: Types::Fallback
|
|
5507
5592
|
SENSITIVE: [:target_name]
|
|
5508
5593
|
end
|
|
5509
5594
|
|
|
@@ -5691,9 +5776,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5691
5776
|
end
|
|
5692
5777
|
|
|
5693
5778
|
class TargetTrafficSplitEntry
|
|
5779
|
+
attr_accessor target_name: ::String
|
|
5780
|
+
attr_accessor model: ::String
|
|
5781
|
+
attr_accessor fallback: Types::Fallback
|
|
5694
5782
|
attr_accessor name: ::String
|
|
5695
5783
|
attr_accessor weight: ::Integer
|
|
5696
|
-
attr_accessor target_name: ::String
|
|
5697
5784
|
attr_accessor description: ::String
|
|
5698
5785
|
attr_accessor metadata: ::Hash[::String, ::String]
|
|
5699
5786
|
SENSITIVE: [:target_name]
|