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
|
@@ -1255,6 +1255,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
1255
1255
|
class Unknown < CertificateLocation; end
|
|
1256
1256
|
end
|
|
1257
1257
|
|
|
1258
|
+
# Specifies whether the circuit breaker monitors failures for the
|
|
1259
|
+
# targets in a fallback chain.
|
|
1260
|
+
#
|
|
1261
|
+
# @!attribute [rw] mode
|
|
1262
|
+
# Specifies whether you want the circuit breaker turned on. To turn it
|
|
1263
|
+
# off, set this value to `DISABLED`. The default is `ENABLED`.
|
|
1264
|
+
# @return [String]
|
|
1265
|
+
#
|
|
1266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CircuitBreakerConfiguration AWS API Documentation
|
|
1267
|
+
#
|
|
1268
|
+
class CircuitBreakerConfiguration < Struct.new(
|
|
1269
|
+
:mode)
|
|
1270
|
+
SENSITIVE = []
|
|
1271
|
+
include Aws::Structure
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1258
1274
|
# The value or values to match for.
|
|
1259
1275
|
#
|
|
1260
1276
|
# * Include a `matchValueString` with the `EQUALS` operator to specify a
|
|
@@ -1716,7 +1732,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1716
1732
|
end
|
|
1717
1733
|
|
|
1718
1734
|
# A condition that determines when a gateway rule applies. Conditions
|
|
1719
|
-
# can match on principals or
|
|
1735
|
+
# can match on principals, request paths, or the requested model.
|
|
1720
1736
|
#
|
|
1721
1737
|
# @note Condition is a union - when making an API calls you must set exactly one of the members.
|
|
1722
1738
|
#
|
|
@@ -1731,11 +1747,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1731
1747
|
# A condition that matches on the request path.
|
|
1732
1748
|
# @return [Types::MatchPaths]
|
|
1733
1749
|
#
|
|
1750
|
+
# @!attribute [rw] match_models
|
|
1751
|
+
# A condition that matches on the model requested in an inference
|
|
1752
|
+
# request.
|
|
1753
|
+
# @return [Types::MatchModels]
|
|
1754
|
+
#
|
|
1734
1755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Condition AWS API Documentation
|
|
1735
1756
|
#
|
|
1736
1757
|
class Condition < Struct.new(
|
|
1737
1758
|
:match_principals,
|
|
1738
1759
|
:match_paths,
|
|
1760
|
+
:match_models,
|
|
1739
1761
|
:unknown)
|
|
1740
1762
|
SENSITIVE = []
|
|
1741
1763
|
include Aws::Structure
|
|
@@ -1743,6 +1765,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1743
1765
|
|
|
1744
1766
|
class MatchPrincipals < Condition; end
|
|
1745
1767
|
class MatchPaths < Condition; end
|
|
1768
|
+
class MatchModels < Condition; end
|
|
1746
1769
|
class Unknown < Condition; end
|
|
1747
1770
|
end
|
|
1748
1771
|
|
|
@@ -7296,6 +7319,38 @@ module Aws::BedrockAgentCoreControl
|
|
|
7296
7319
|
include Aws::Structure
|
|
7297
7320
|
end
|
|
7298
7321
|
|
|
7322
|
+
# The rating scale for one dimension of an LLM-as-a-judge evaluator,
|
|
7323
|
+
# supporting either a numerical or a categorical scale.
|
|
7324
|
+
#
|
|
7325
|
+
# @note DimensionRatingScale is a union - when making an API calls you must set exactly one of the members.
|
|
7326
|
+
#
|
|
7327
|
+
# @note DimensionRatingScale is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DimensionRatingScale corresponding to the set member.
|
|
7328
|
+
#
|
|
7329
|
+
# @!attribute [rw] numerical
|
|
7330
|
+
# The numerical rating scale with defined score values and
|
|
7331
|
+
# descriptions for quantitative evaluation of the dimension.
|
|
7332
|
+
# @return [Array<Types::NumericalScaleDefinition>]
|
|
7333
|
+
#
|
|
7334
|
+
# @!attribute [rw] categorical
|
|
7335
|
+
# The categorical rating scale with named categories and definitions
|
|
7336
|
+
# for qualitative evaluation of the dimension.
|
|
7337
|
+
# @return [Array<Types::CategoricalScaleDefinition>]
|
|
7338
|
+
#
|
|
7339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DimensionRatingScale AWS API Documentation
|
|
7340
|
+
#
|
|
7341
|
+
class DimensionRatingScale < Struct.new(
|
|
7342
|
+
:numerical,
|
|
7343
|
+
:categorical,
|
|
7344
|
+
:unknown)
|
|
7345
|
+
SENSITIVE = []
|
|
7346
|
+
include Aws::Structure
|
|
7347
|
+
include Aws::Structure::Union
|
|
7348
|
+
|
|
7349
|
+
class Numerical < DimensionRatingScale; end
|
|
7350
|
+
class Categorical < DimensionRatingScale; end
|
|
7351
|
+
class Unknown < DimensionRatingScale; end
|
|
7352
|
+
end
|
|
7353
|
+
|
|
7299
7354
|
# The configuration for an Amazon EBS-backed persistent volume. The
|
|
7300
7355
|
# service creates persistent volumes when a session first launches, and
|
|
7301
7356
|
# the volumes survive instance termination. The volumes persist until
|
|
@@ -7866,6 +7921,36 @@ module Aws::BedrockAgentCoreControl
|
|
|
7866
7921
|
include Aws::Structure
|
|
7867
7922
|
end
|
|
7868
7923
|
|
|
7924
|
+
# A single dimension of an LLM-as-a-judge evaluator, defining what the
|
|
7925
|
+
# evaluator model should judge for that dimension and how it should be
|
|
7926
|
+
# scored.
|
|
7927
|
+
#
|
|
7928
|
+
# @!attribute [rw] dimension_name
|
|
7929
|
+
# The name of the dimension. This name is unique within the evaluator
|
|
7930
|
+
# and identifies the dimension's results.
|
|
7931
|
+
# @return [String]
|
|
7932
|
+
#
|
|
7933
|
+
# @!attribute [rw] dimension_instruction
|
|
7934
|
+
# The instruction to the evaluator model for this dimension,
|
|
7935
|
+
# describing what the model should judge when scoring the dimension.
|
|
7936
|
+
# @return [String]
|
|
7937
|
+
#
|
|
7938
|
+
# @!attribute [rw] dimension_rating_scale
|
|
7939
|
+
# The rating scale for this dimension, which can be numerical or
|
|
7940
|
+
# categorical. A dimension's rating scale cannot itself be
|
|
7941
|
+
# multi-dimensional.
|
|
7942
|
+
# @return [Types::DimensionRatingScale]
|
|
7943
|
+
#
|
|
7944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluationDimension AWS API Documentation
|
|
7945
|
+
#
|
|
7946
|
+
class EvaluationDimension < Struct.new(
|
|
7947
|
+
:dimension_name,
|
|
7948
|
+
:dimension_instruction,
|
|
7949
|
+
:dimension_rating_scale)
|
|
7950
|
+
SENSITIVE = [:dimension_instruction, :dimension_rating_scale]
|
|
7951
|
+
include Aws::Structure
|
|
7952
|
+
end
|
|
7953
|
+
|
|
7869
7954
|
# The configuration that defines how an evaluator assesses agent
|
|
7870
7955
|
# performance, including the evaluation method and parameters.
|
|
7871
7956
|
#
|
|
@@ -8083,6 +8168,145 @@ module Aws::BedrockAgentCoreControl
|
|
|
8083
8168
|
class Unknown < ExtractionConfiguration; end
|
|
8084
8169
|
end
|
|
8085
8170
|
|
|
8171
|
+
# The fallback configuration for a route to an inference target. Defines
|
|
8172
|
+
# an ordered list of fallback targets to try when a request to the
|
|
8173
|
+
# route's target fails, and the conditions that trigger a fallback. A
|
|
8174
|
+
# fallback can occur only before the gateway sends the first byte of the
|
|
8175
|
+
# response to the caller. After a streaming response starts, the gateway
|
|
8176
|
+
# doesn't fall back.
|
|
8177
|
+
#
|
|
8178
|
+
# @!attribute [rw] trigger_on
|
|
8179
|
+
# The status codes and errors from the route's target that cause the
|
|
8180
|
+
# gateway to send the request to the first fallback target. If you
|
|
8181
|
+
# omit `triggerOn`, the gateway falls back on `5XX` status codes and
|
|
8182
|
+
# on the `CONNECTION_ERROR`, `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE`
|
|
8183
|
+
# errors. If you specify `triggerOn`, only the status codes and errors
|
|
8184
|
+
# that you list trigger a fallback.
|
|
8185
|
+
# @return [Types::FallbackTriggers]
|
|
8186
|
+
#
|
|
8187
|
+
# @!attribute [rw] first_byte_timeout_milliseconds
|
|
8188
|
+
# The maximum time, in milliseconds, from sending the request to the
|
|
8189
|
+
# route's target until the first byte of the response body arrives.
|
|
8190
|
+
# If the time expires, the gateway abandons the request and treats it
|
|
8191
|
+
# as a `FIRST_BYTE_TIMEOUT` error. If you don't specify a value, no
|
|
8192
|
+
# timeout is enforced.
|
|
8193
|
+
# @return [Integer]
|
|
8194
|
+
#
|
|
8195
|
+
# @!attribute [rw] circuit_breaker
|
|
8196
|
+
# Specifies whether the gateway temporarily stops sending your
|
|
8197
|
+
# requests to a failing target. The circuit breaker tracks each
|
|
8198
|
+
# combination of target and model separately. With the circuit breaker
|
|
8199
|
+
# enabled, the gateway skips one or more targets and models that fail
|
|
8200
|
+
# repeatedly, and your requests go to the next target in the chain.
|
|
8201
|
+
# The gateway always tries the last remaining target in the chain. The
|
|
8202
|
+
# gateway enables the circuit breaker by default.
|
|
8203
|
+
# @return [Types::CircuitBreakerConfiguration]
|
|
8204
|
+
#
|
|
8205
|
+
# @!attribute [rw] target_fallback
|
|
8206
|
+
# The ordered list of fallback targets. The gateway tries each target
|
|
8207
|
+
# in order until a response doesn't match that target's triggers,
|
|
8208
|
+
# and returns that response to the caller. If every target fails, the
|
|
8209
|
+
# gateway returns the last response. You can specify up to two
|
|
8210
|
+
# fallback targets. Each combination of target and model, including
|
|
8211
|
+
# the route's target, can appear only once.
|
|
8212
|
+
# @return [Array<Types::FallbackTarget>]
|
|
8213
|
+
#
|
|
8214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Fallback AWS API Documentation
|
|
8215
|
+
#
|
|
8216
|
+
class Fallback < Struct.new(
|
|
8217
|
+
:trigger_on,
|
|
8218
|
+
:first_byte_timeout_milliseconds,
|
|
8219
|
+
:circuit_breaker,
|
|
8220
|
+
:target_fallback)
|
|
8221
|
+
SENSITIVE = []
|
|
8222
|
+
include Aws::Structure
|
|
8223
|
+
end
|
|
8224
|
+
|
|
8225
|
+
# Specifies a target to send the request to when the previous target in
|
|
8226
|
+
# the fallback chain fails. Includes the target name, the model to send,
|
|
8227
|
+
# and the conditions that trigger a fallback from this target to the
|
|
8228
|
+
# next one.
|
|
8229
|
+
#
|
|
8230
|
+
# @!attribute [rw] target_name
|
|
8231
|
+
# The name of the gateway target to fall back to. The target must be
|
|
8232
|
+
# an inference target.
|
|
8233
|
+
# @return [String]
|
|
8234
|
+
#
|
|
8235
|
+
# @!attribute [rw] model
|
|
8236
|
+
# The model ID to send to this fallback target. If you don't specify
|
|
8237
|
+
# a model, the gateway sends the model from the original request.
|
|
8238
|
+
# @return [String]
|
|
8239
|
+
#
|
|
8240
|
+
# @!attribute [rw] trigger_on
|
|
8241
|
+
# The status codes and errors from this target that cause the gateway
|
|
8242
|
+
# to send the request to the next fallback target. This setting isn't
|
|
8243
|
+
# inherited from the route. If you omit it, the gateway uses the
|
|
8244
|
+
# default triggers: `5XX` status codes and the `CONNECTION_ERROR`,
|
|
8245
|
+
# `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors.
|
|
8246
|
+
# @return [Types::FallbackTriggers]
|
|
8247
|
+
#
|
|
8248
|
+
# @!attribute [rw] first_byte_timeout_milliseconds
|
|
8249
|
+
# The maximum time, in milliseconds, from sending the request to this
|
|
8250
|
+
# target until the first byte of the response body arrives. This
|
|
8251
|
+
# setting isn't inherited from the route. If you don't specify a
|
|
8252
|
+
# value, no timeout is enforced.
|
|
8253
|
+
# @return [Integer]
|
|
8254
|
+
#
|
|
8255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/FallbackTarget AWS API Documentation
|
|
8256
|
+
#
|
|
8257
|
+
class FallbackTarget < Struct.new(
|
|
8258
|
+
:target_name,
|
|
8259
|
+
:model,
|
|
8260
|
+
:trigger_on,
|
|
8261
|
+
:first_byte_timeout_milliseconds)
|
|
8262
|
+
SENSITIVE = [:target_name]
|
|
8263
|
+
include Aws::Structure
|
|
8264
|
+
end
|
|
8265
|
+
|
|
8266
|
+
# The conditions that trigger a fallback to the next target. A fallback
|
|
8267
|
+
# occurs if the response matches any of the specified status codes or
|
|
8268
|
+
# errors.
|
|
8269
|
+
#
|
|
8270
|
+
# @!attribute [rw] status_codes
|
|
8271
|
+
# The HTTP status codes returned by the target that trigger a
|
|
8272
|
+
# fallback. You can specify the following:
|
|
8273
|
+
#
|
|
8274
|
+
# * An exact status code – A three-digit code, such as `429`.
|
|
8275
|
+
#
|
|
8276
|
+
# * A class of status codes – The first digit followed by `XX`, such
|
|
8277
|
+
# as `5XX`, which matches every code from 500 to 599.
|
|
8278
|
+
#
|
|
8279
|
+
# Only 4XX and 5XX codes are supported. Throttling by the gateway
|
|
8280
|
+
# itself doesn't trigger a fallback.
|
|
8281
|
+
# @return [Array<String>]
|
|
8282
|
+
#
|
|
8283
|
+
# @!attribute [rw] errors
|
|
8284
|
+
# The errors that trigger a fallback. You can specify the following:
|
|
8285
|
+
#
|
|
8286
|
+
# * `CONNECTION_ERROR` – The gateway couldn't connect to the target
|
|
8287
|
+
# because the connection was refused, reset, or timed out. The
|
|
8288
|
+
# request didn't reach the target.
|
|
8289
|
+
#
|
|
8290
|
+
# * `FIRST_BYTE_TIMEOUT` – The target accepted the connection but
|
|
8291
|
+
# didn't return the first byte of the response within
|
|
8292
|
+
# `firstByteTimeoutMilliseconds`. The gateway abandons the request
|
|
8293
|
+
# before any of the response reaches you.
|
|
8294
|
+
#
|
|
8295
|
+
# * `UNROUTABLE` – The gateway couldn't route the request to the
|
|
8296
|
+
# target, for example because the target doesn't exist or doesn't
|
|
8297
|
+
# support the request path. These errors don't count toward the
|
|
8298
|
+
# circuit breaker.
|
|
8299
|
+
# @return [Array<String>]
|
|
8300
|
+
#
|
|
8301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/FallbackTriggers AWS API Documentation
|
|
8302
|
+
#
|
|
8303
|
+
class FallbackTriggers < Struct.new(
|
|
8304
|
+
:status_codes,
|
|
8305
|
+
:errors)
|
|
8306
|
+
SENSITIVE = []
|
|
8307
|
+
include Aws::Structure
|
|
8308
|
+
end
|
|
8309
|
+
|
|
8086
8310
|
# Configuration for a filesystem that can be mounted into the AgentCore
|
|
8087
8311
|
# Runtime.
|
|
8088
8312
|
#
|
|
@@ -15728,11 +15952,16 @@ module Aws::BedrockAgentCoreControl
|
|
|
15728
15952
|
# @return [Types::StreamingConfiguration]
|
|
15729
15953
|
#
|
|
15730
15954
|
# @!attribute [rw] disable_mcp_list_tools_pagination
|
|
15731
|
-
# Specifies whether
|
|
15732
|
-
# Protocol (MCP) `tools/list` operation. When set to `true`,
|
|
15733
|
-
# gateway returns the complete list of tools in a single response
|
|
15955
|
+
# Specifies whether the gateway disables pagination for the Model
|
|
15956
|
+
# Context Protocol (MCP) `tools/list` operation. When set to `true`,
|
|
15957
|
+
# the gateway returns the complete list of tools in a single response
|
|
15734
15958
|
# without a pagination cursor. When set to `false` or omitted, the
|
|
15735
|
-
# gateway returns tools in paginated responses.
|
|
15959
|
+
# gateway returns tools in paginated responses. For information about
|
|
15960
|
+
# changing this value on an existing gateway, see [UpdateGateway][1].
|
|
15961
|
+
#
|
|
15962
|
+
#
|
|
15963
|
+
#
|
|
15964
|
+
# [1]: https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGateway.html
|
|
15736
15965
|
# @return [Boolean]
|
|
15737
15966
|
#
|
|
15738
15967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MCPGatewayConfiguration AWS API Documentation
|
|
@@ -15822,6 +16051,49 @@ module Aws::BedrockAgentCoreControl
|
|
|
15822
16051
|
include Aws::Structure
|
|
15823
16052
|
end
|
|
15824
16053
|
|
|
16054
|
+
# A model ID or pattern to match against the requested model, and the
|
|
16055
|
+
# operator to use for the comparison.
|
|
16056
|
+
#
|
|
16057
|
+
# @!attribute [rw] value
|
|
16058
|
+
# The model ID or pattern to match. With the `StringLike` operator,
|
|
16059
|
+
# you can use `*` and `?` as wildcards, for example
|
|
16060
|
+
# `anthropic.claude-*`.
|
|
16061
|
+
# @return [String]
|
|
16062
|
+
#
|
|
16063
|
+
# @!attribute [rw] operator
|
|
16064
|
+
# The operator to use when comparing the requested model to the value:
|
|
16065
|
+
#
|
|
16066
|
+
# * `StringEquals` – Requires an exact match.
|
|
16067
|
+
#
|
|
16068
|
+
# * `StringLike` – Supports wildcard patterns using `*` and `?`. This
|
|
16069
|
+
# is the default.
|
|
16070
|
+
# @return [String]
|
|
16071
|
+
#
|
|
16072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MatchModelEntry AWS API Documentation
|
|
16073
|
+
#
|
|
16074
|
+
class MatchModelEntry < Struct.new(
|
|
16075
|
+
:value,
|
|
16076
|
+
:operator)
|
|
16077
|
+
SENSITIVE = []
|
|
16078
|
+
include Aws::Structure
|
|
16079
|
+
end
|
|
16080
|
+
|
|
16081
|
+
# A condition that matches inference requests based on the requested
|
|
16082
|
+
# model.
|
|
16083
|
+
#
|
|
16084
|
+
# @!attribute [rw] any_of
|
|
16085
|
+
# A list of model entries. The condition is met if the requested model
|
|
16086
|
+
# matches any of the entries.
|
|
16087
|
+
# @return [Array<Types::MatchModelEntry>]
|
|
16088
|
+
#
|
|
16089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MatchModels AWS API Documentation
|
|
16090
|
+
#
|
|
16091
|
+
class MatchModels < Struct.new(
|
|
16092
|
+
:any_of)
|
|
16093
|
+
SENSITIVE = []
|
|
16094
|
+
include Aws::Structure
|
|
16095
|
+
end
|
|
16096
|
+
|
|
15825
16097
|
# A condition that matches requests based on the request path.
|
|
15826
16098
|
#
|
|
15827
16099
|
# @!attribute [rw] any_of
|
|
@@ -17134,6 +17406,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
17134
17406
|
class Unknown < Oauth2ProviderConfigOutput; end
|
|
17135
17407
|
end
|
|
17136
17408
|
|
|
17409
|
+
# Specifies the client authentication method to use for the on-behalf-of
|
|
17410
|
+
# token exchange.
|
|
17411
|
+
#
|
|
17412
|
+
# @!attribute [rw] client_authentication_method
|
|
17413
|
+
# The client authentication method to use during the on-behalf-of
|
|
17414
|
+
# token exchange. The `NO_CLIENT` option omits the `clientId` and
|
|
17415
|
+
# `clientSecret` during the on-behalf-of token exchange with the
|
|
17416
|
+
# identity provider.
|
|
17417
|
+
# @return [String]
|
|
17418
|
+
#
|
|
17419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OnBehalfOfAuthenticationConfig AWS API Documentation
|
|
17420
|
+
#
|
|
17421
|
+
class OnBehalfOfAuthenticationConfig < Struct.new(
|
|
17422
|
+
:client_authentication_method)
|
|
17423
|
+
SENSITIVE = []
|
|
17424
|
+
include Aws::Structure
|
|
17425
|
+
end
|
|
17426
|
+
|
|
17137
17427
|
# Configuration for on-behalf-of token exchange.
|
|
17138
17428
|
#
|
|
17139
17429
|
# @!attribute [rw] grant_type
|
|
@@ -17144,11 +17434,21 @@ module Aws::BedrockAgentCoreControl
|
|
|
17144
17434
|
# Configuration specific to the TOKEN\_EXCHANGE grant type (RFC 8693).
|
|
17145
17435
|
# @return [Types::TokenExchangeGrantTypeConfigType]
|
|
17146
17436
|
#
|
|
17437
|
+
# @!attribute [rw] on_behalf_of_authentication_config
|
|
17438
|
+
# Specify the client authentication configuration to use for the
|
|
17439
|
+
# on-behalf-of token exchange. With this configuration, you override
|
|
17440
|
+
# the provider level client authentication method for the on-behalf-of
|
|
17441
|
+
# exchange with the identity provider. If you don't specify this
|
|
17442
|
+
# configuration, we use the provider level client authentication
|
|
17443
|
+
# method.
|
|
17444
|
+
# @return [Types::OnBehalfOfAuthenticationConfig]
|
|
17445
|
+
#
|
|
17147
17446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OnBehalfOfTokenExchangeConfigType AWS API Documentation
|
|
17148
17447
|
#
|
|
17149
17448
|
class OnBehalfOfTokenExchangeConfigType < Struct.new(
|
|
17150
17449
|
:grant_type,
|
|
17151
|
-
:token_exchange_grant_type_config
|
|
17450
|
+
:token_exchange_grant_type_config,
|
|
17451
|
+
:on_behalf_of_authentication_config)
|
|
17152
17452
|
SENSITIVE = []
|
|
17153
17453
|
include Aws::Structure
|
|
17154
17454
|
end
|
|
@@ -18369,11 +18669,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
18369
18669
|
# for qualitative evaluation.
|
|
18370
18670
|
# @return [Array<Types::CategoricalScaleDefinition>]
|
|
18371
18671
|
#
|
|
18672
|
+
# @!attribute [rw] multi_dimensional
|
|
18673
|
+
# A list of dimensions that lets an LLM-as-a-judge evaluator score
|
|
18674
|
+
# several dimensions of the same target in a single evaluation. Each
|
|
18675
|
+
# dimension has its own instruction and rating scale, and produces its
|
|
18676
|
+
# own result.
|
|
18677
|
+
# @return [Array<Types::EvaluationDimension>]
|
|
18678
|
+
#
|
|
18372
18679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RatingScale AWS API Documentation
|
|
18373
18680
|
#
|
|
18374
18681
|
class RatingScale < Struct.new(
|
|
18375
18682
|
:numerical,
|
|
18376
18683
|
:categorical,
|
|
18684
|
+
:multi_dimensional,
|
|
18377
18685
|
:unknown)
|
|
18378
18686
|
SENSITIVE = []
|
|
18379
18687
|
include Aws::Structure
|
|
@@ -18381,6 +18689,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
18381
18689
|
|
|
18382
18690
|
class Numerical < RatingScale; end
|
|
18383
18691
|
class Categorical < RatingScale; end
|
|
18692
|
+
class MultiDimensional < RatingScale; end
|
|
18384
18693
|
class Unknown < RatingScale; end
|
|
18385
18694
|
end
|
|
18386
18695
|
|
|
@@ -18756,6 +19065,42 @@ module Aws::BedrockAgentCoreControl
|
|
|
18756
19065
|
class Unknown < RequestHeaderConfiguration; end
|
|
18757
19066
|
end
|
|
18758
19067
|
|
|
19068
|
+
# @!attribute [rw] token_vault_id
|
|
19069
|
+
# The unique identifier of the token vault to reset. To reset your
|
|
19070
|
+
# account's default token vault, specify `default`.
|
|
19071
|
+
# @return [String]
|
|
19072
|
+
#
|
|
19073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResetTokenVaultKeyMaterialRequest AWS API Documentation
|
|
19074
|
+
#
|
|
19075
|
+
class ResetTokenVaultKeyMaterialRequest < Struct.new(
|
|
19076
|
+
:token_vault_id)
|
|
19077
|
+
SENSITIVE = []
|
|
19078
|
+
include Aws::Structure
|
|
19079
|
+
end
|
|
19080
|
+
|
|
19081
|
+
# @!attribute [rw] token_vault_id
|
|
19082
|
+
# The ID of the token vault.
|
|
19083
|
+
# @return [String]
|
|
19084
|
+
#
|
|
19085
|
+
# @!attribute [rw] kms_configuration
|
|
19086
|
+
# The KMS configuration for the token vault after the reset. The token
|
|
19087
|
+
# vault uses an Amazon Web Services managed key.
|
|
19088
|
+
# @return [Types::KmsConfiguration]
|
|
19089
|
+
#
|
|
19090
|
+
# @!attribute [rw] last_modified_date
|
|
19091
|
+
# The timestamp when the token vault was last modified.
|
|
19092
|
+
# @return [Time]
|
|
19093
|
+
#
|
|
19094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResetTokenVaultKeyMaterialResponse AWS API Documentation
|
|
19095
|
+
#
|
|
19096
|
+
class ResetTokenVaultKeyMaterialResponse < Struct.new(
|
|
19097
|
+
:token_vault_id,
|
|
19098
|
+
:kms_configuration,
|
|
19099
|
+
:last_modified_date)
|
|
19100
|
+
SENSITIVE = []
|
|
19101
|
+
include Aws::Structure
|
|
19102
|
+
end
|
|
19103
|
+
|
|
18759
19104
|
# Represents a resource within the AgentCore Policy system. Resources
|
|
18760
19105
|
# are the targets of policy evaluation. Currently, only AgentCore
|
|
18761
19106
|
# Gateways are supported as resources for policy enforcement.
|
|
@@ -19971,10 +20316,23 @@ module Aws::BedrockAgentCoreControl
|
|
|
19971
20316
|
# The name of the target to route requests to.
|
|
19972
20317
|
# @return [String]
|
|
19973
20318
|
#
|
|
20319
|
+
# @!attribute [rw] model
|
|
20320
|
+
# The model ID to send to the target. Supported only for inference
|
|
20321
|
+
# targets. If you don't specify a model, the gateway sends the model
|
|
20322
|
+
# from the original request.
|
|
20323
|
+
# @return [String]
|
|
20324
|
+
#
|
|
20325
|
+
# @!attribute [rw] fallback
|
|
20326
|
+
# The fallback configuration for this route. Supported only for
|
|
20327
|
+
# inference targets.
|
|
20328
|
+
# @return [Types::Fallback]
|
|
20329
|
+
#
|
|
19974
20330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/StaticRoute AWS API Documentation
|
|
19975
20331
|
#
|
|
19976
20332
|
class StaticRoute < Struct.new(
|
|
19977
|
-
:target_name
|
|
20333
|
+
:target_name,
|
|
20334
|
+
:model,
|
|
20335
|
+
:fallback)
|
|
19978
20336
|
SENSITIVE = [:target_name]
|
|
19979
20337
|
include Aws::Structure
|
|
19980
20338
|
end
|
|
@@ -20617,6 +20975,21 @@ module Aws::BedrockAgentCoreControl
|
|
|
20617
20975
|
|
|
20618
20976
|
# An entry in a target traffic split configuration.
|
|
20619
20977
|
#
|
|
20978
|
+
# @!attribute [rw] target_name
|
|
20979
|
+
# The name of the target to route traffic to.
|
|
20980
|
+
# @return [String]
|
|
20981
|
+
#
|
|
20982
|
+
# @!attribute [rw] model
|
|
20983
|
+
# The model ID to send to the target for this variant. Supported only
|
|
20984
|
+
# for inference targets. If you don't specify a model, the gateway
|
|
20985
|
+
# sends the model from the original request.
|
|
20986
|
+
# @return [String]
|
|
20987
|
+
#
|
|
20988
|
+
# @!attribute [rw] fallback
|
|
20989
|
+
# The fallback configuration for this variant. Supported only for
|
|
20990
|
+
# inference targets.
|
|
20991
|
+
# @return [Types::Fallback]
|
|
20992
|
+
#
|
|
20620
20993
|
# @!attribute [rw] name
|
|
20621
20994
|
# The name of this traffic split variant.
|
|
20622
20995
|
# @return [String]
|
|
@@ -20625,10 +20998,6 @@ module Aws::BedrockAgentCoreControl
|
|
|
20625
20998
|
# The percentage of traffic to route to this variant.
|
|
20626
20999
|
# @return [Integer]
|
|
20627
21000
|
#
|
|
20628
|
-
# @!attribute [rw] target_name
|
|
20629
|
-
# The name of the target to route traffic to.
|
|
20630
|
-
# @return [String]
|
|
20631
|
-
#
|
|
20632
21001
|
# @!attribute [rw] description
|
|
20633
21002
|
# The description of this traffic split variant.
|
|
20634
21003
|
# @return [String]
|
|
@@ -20640,9 +21009,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
20640
21009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/TargetTrafficSplitEntry AWS API Documentation
|
|
20641
21010
|
#
|
|
20642
21011
|
class TargetTrafficSplitEntry < Struct.new(
|
|
21012
|
+
:target_name,
|
|
21013
|
+
:model,
|
|
21014
|
+
:fallback,
|
|
20643
21015
|
:name,
|
|
20644
21016
|
:weight,
|
|
20645
|
-
:target_name,
|
|
20646
21017
|
:description,
|
|
20647
21018
|
:metadata)
|
|
20648
21019
|
SENSITIVE = [:target_name]
|
data/sig/client.rbs
CHANGED
|
@@ -2606,6 +2606,18 @@ module Aws
|
|
|
2606
2606
|
) -> _PutResourcePolicyResponseSuccess
|
|
2607
2607
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
2608
2608
|
|
|
2609
|
+
interface _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2610
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResetTokenVaultKeyMaterialResponse]
|
|
2611
|
+
def token_vault_id: () -> ::String
|
|
2612
|
+
def kms_configuration: () -> Types::KmsConfiguration
|
|
2613
|
+
def last_modified_date: () -> ::Time
|
|
2614
|
+
end
|
|
2615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#reset_token_vault_key_material-instance_method
|
|
2616
|
+
def reset_token_vault_key_material: (
|
|
2617
|
+
token_vault_id: ::String
|
|
2618
|
+
) -> _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2619
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2620
|
+
|
|
2609
2621
|
interface _RotatePaymentConnectorCredentialsResponseSuccess
|
|
2610
2622
|
include ::Seahorse::Client::_ResponseSuccess[Types::RotatePaymentConnectorCredentialsResponse]
|
|
2611
2623
|
def payment_connector_id: () -> ::String
|