aws-sdk-bedrockagentcorecontrol 1.32.0 → 1.33.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 +27 -9
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +16 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +64 -9
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/types.rbs +21 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82f7d491e35d370c3eeca48d86acbfdbc91988a4d7aa0dcf6a117263da51b6af
|
|
4
|
+
data.tar.gz: cbe676ee248afa551fcf6b94687da1443f1e61e0f5ffca1ed5ad585b79668d35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f273b08dc90f164a50d82a8c3511fea86e7bfd4b53a3c5ddd6dfdad1a37c1816a73f3c3786f687914d4fb530cc3d51cde1daa5c415e71f3c8ac3a5505b4c4a9
|
|
7
|
+
data.tar.gz: 48e6faf99739236b9d4bb788eba0e6ea0eb2f8322ec50dba76d877d6f397dd00b07e74f352ec6e47a5d9feab62d8833e324da13140efe354f2cdc521bb74f310
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.33.0
|
|
@@ -1012,9 +1012,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1012
1012
|
end
|
|
1013
1013
|
|
|
1014
1014
|
# Creates a custom evaluator for agent quality assessment. Custom
|
|
1015
|
-
# evaluators use LLM-as-a-Judge configurations with
|
|
1016
|
-
# prompts, rating scales, and model settings
|
|
1017
|
-
#
|
|
1015
|
+
# evaluators can use either LLM-as-a-Judge configurations with
|
|
1016
|
+
# user-defined prompts, rating scales, and model settings, or code-based
|
|
1017
|
+
# configurations with customer-managed Lambda functions to evaluate
|
|
1018
|
+
# agent performance at tool call, trace, or session levels.
|
|
1018
1019
|
#
|
|
1019
1020
|
# @option params [String] :client_token
|
|
1020
1021
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
@@ -1038,8 +1039,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1038
1039
|
# evaluation criteria.
|
|
1039
1040
|
#
|
|
1040
1041
|
# @option params [required, Types::EvaluatorConfig] :evaluator_config
|
|
1041
|
-
# The configuration for the evaluator
|
|
1042
|
-
# with instructions, rating scale, and model configuration
|
|
1042
|
+
# The configuration for the evaluator. Specify either LLM-as-a-Judge
|
|
1043
|
+
# settings with instructions, rating scale, and model configuration, or
|
|
1044
|
+
# code-based settings with a customer-managed Lambda function.
|
|
1043
1045
|
#
|
|
1044
1046
|
# @option params [required, String] :level
|
|
1045
1047
|
# The evaluation level that determines the scope of evaluation. Valid
|
|
@@ -1097,6 +1099,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
1097
1099
|
# },
|
|
1098
1100
|
# },
|
|
1099
1101
|
# },
|
|
1102
|
+
# code_based: {
|
|
1103
|
+
# lambda_config: {
|
|
1104
|
+
# lambda_arn: "LambdaArn", # required
|
|
1105
|
+
# lambda_timeout_in_seconds: 1,
|
|
1106
|
+
# },
|
|
1107
|
+
# },
|
|
1100
1108
|
# },
|
|
1101
1109
|
# level: "TOOL_CALL", # required, accepts TOOL_CALL, TRACE, SESSION
|
|
1102
1110
|
# tags: {
|
|
@@ -3397,6 +3405,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
3397
3405
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.top_p #=> Float
|
|
3398
3406
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.stop_sequences #=> Array
|
|
3399
3407
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.stop_sequences[0] #=> String
|
|
3408
|
+
# resp.evaluator_config.code_based.lambda_config.lambda_arn #=> String
|
|
3409
|
+
# resp.evaluator_config.code_based.lambda_config.lambda_timeout_in_seconds #=> Integer
|
|
3400
3410
|
# resp.level #=> String, one of "TOOL_CALL", "TRACE", "SESSION"
|
|
3401
3411
|
# resp.status #=> String, one of "ACTIVE", "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING"
|
|
3402
3412
|
# resp.created_at #=> Time
|
|
@@ -4542,7 +4552,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4542
4552
|
# resp.evaluators[0].evaluator_id #=> String
|
|
4543
4553
|
# resp.evaluators[0].evaluator_name #=> String
|
|
4544
4554
|
# resp.evaluators[0].description #=> String
|
|
4545
|
-
# resp.evaluators[0].evaluator_type #=> String, one of "Builtin", "Custom"
|
|
4555
|
+
# resp.evaluators[0].evaluator_type #=> String, one of "Builtin", "Custom", "CustomCode"
|
|
4546
4556
|
# resp.evaluators[0].level #=> String, one of "TOOL_CALL", "TRACE", "SESSION"
|
|
4547
4557
|
# resp.evaluators[0].status #=> String, one of "ACTIVE", "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING"
|
|
4548
4558
|
# resp.evaluators[0].created_at #=> Time
|
|
@@ -5753,8 +5763,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
5753
5763
|
# The updated description of the evaluator.
|
|
5754
5764
|
#
|
|
5755
5765
|
# @option params [Types::EvaluatorConfig] :evaluator_config
|
|
5756
|
-
# The updated configuration for the evaluator
|
|
5757
|
-
# settings with instructions, rating scale, and model
|
|
5766
|
+
# The updated configuration for the evaluator. Specify either
|
|
5767
|
+
# LLM-as-a-Judge settings with instructions, rating scale, and model
|
|
5768
|
+
# configuration, or code-based settings with a customer-managed Lambda
|
|
5769
|
+
# function.
|
|
5758
5770
|
#
|
|
5759
5771
|
# @option params [String] :level
|
|
5760
5772
|
# The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
|
|
@@ -5805,6 +5817,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
5805
5817
|
# },
|
|
5806
5818
|
# },
|
|
5807
5819
|
# },
|
|
5820
|
+
# code_based: {
|
|
5821
|
+
# lambda_config: {
|
|
5822
|
+
# lambda_arn: "LambdaArn", # required
|
|
5823
|
+
# lambda_timeout_in_seconds: 1,
|
|
5824
|
+
# },
|
|
5825
|
+
# },
|
|
5808
5826
|
# },
|
|
5809
5827
|
# level: "TOOL_CALL", # accepts TOOL_CALL, TRACE, SESSION
|
|
5810
5828
|
# })
|
|
@@ -7067,7 +7085,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
7067
7085
|
tracer: tracer
|
|
7068
7086
|
)
|
|
7069
7087
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
7070
|
-
context[:gem_version] = '1.
|
|
7088
|
+
context[:gem_version] = '1.33.0'
|
|
7071
7089
|
Seahorse::Client::Request.new(handlers, context)
|
|
7072
7090
|
end
|
|
7073
7091
|
|
|
@@ -103,6 +103,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
103
103
|
CloudWatchLogsInputConfigServiceNamesList = Shapes::ListShape.new(name: 'CloudWatchLogsInputConfigServiceNamesList')
|
|
104
104
|
CloudWatchOutputConfig = Shapes::StructureShape.new(name: 'CloudWatchOutputConfig')
|
|
105
105
|
Code = Shapes::UnionShape.new(name: 'Code')
|
|
106
|
+
CodeBasedEvaluatorConfig = Shapes::UnionShape.new(name: 'CodeBasedEvaluatorConfig')
|
|
106
107
|
CodeConfiguration = Shapes::StructureShape.new(name: 'CodeConfiguration')
|
|
107
108
|
CodeConfigurationEntryPointList = Shapes::ListShape.new(name: 'CodeConfigurationEntryPointList')
|
|
108
109
|
CodeInterpreterArn = Shapes::StringShape.new(name: 'CodeInterpreterArn')
|
|
@@ -348,6 +349,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
348
349
|
KinesisResourceContentConfigurationsList = Shapes::ListShape.new(name: 'KinesisResourceContentConfigurationsList')
|
|
349
350
|
KmsConfiguration = Shapes::StructureShape.new(name: 'KmsConfiguration')
|
|
350
351
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
352
|
+
LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
|
|
353
|
+
LambdaEvaluatorConfig = Shapes::StructureShape.new(name: 'LambdaEvaluatorConfig')
|
|
354
|
+
LambdaEvaluatorConfigLambdaTimeoutInSecondsInteger = Shapes::IntegerShape.new(name: 'LambdaEvaluatorConfigLambdaTimeoutInSecondsInteger')
|
|
351
355
|
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
|
352
356
|
LambdaInterceptorConfiguration = Shapes::StructureShape.new(name: 'LambdaInterceptorConfiguration')
|
|
353
357
|
LifecycleConfiguration = Shapes::StructureShape.new(name: 'LifecycleConfiguration')
|
|
@@ -877,6 +881,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
877
881
|
Code.add_member_subclass(:unknown, Types::Code::Unknown)
|
|
878
882
|
Code.struct_class = Types::Code
|
|
879
883
|
|
|
884
|
+
CodeBasedEvaluatorConfig.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaEvaluatorConfig, location_name: "lambdaConfig"))
|
|
885
|
+
CodeBasedEvaluatorConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
886
|
+
CodeBasedEvaluatorConfig.add_member_subclass(:lambda_config, Types::CodeBasedEvaluatorConfig::LambdaConfig)
|
|
887
|
+
CodeBasedEvaluatorConfig.add_member_subclass(:unknown, Types::CodeBasedEvaluatorConfig::Unknown)
|
|
888
|
+
CodeBasedEvaluatorConfig.struct_class = Types::CodeBasedEvaluatorConfig
|
|
889
|
+
|
|
880
890
|
CodeConfiguration.add_member(:code, Shapes::ShapeRef.new(shape: Code, required: true, location_name: "code"))
|
|
881
891
|
CodeConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: AgentManagedRuntimeType, required: true, location_name: "runtime"))
|
|
882
892
|
CodeConfiguration.add_member(:entry_point, Shapes::ShapeRef.new(shape: CodeConfigurationEntryPointList, required: true, location_name: "entryPoint"))
|
|
@@ -1509,8 +1519,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1509
1519
|
EpisodicReflectionOverride.struct_class = Types::EpisodicReflectionOverride
|
|
1510
1520
|
|
|
1511
1521
|
EvaluatorConfig.add_member(:llm_as_a_judge, Shapes::ShapeRef.new(shape: LlmAsAJudgeEvaluatorConfig, location_name: "llmAsAJudge"))
|
|
1522
|
+
EvaluatorConfig.add_member(:code_based, Shapes::ShapeRef.new(shape: CodeBasedEvaluatorConfig, location_name: "codeBased"))
|
|
1512
1523
|
EvaluatorConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1513
1524
|
EvaluatorConfig.add_member_subclass(:llm_as_a_judge, Types::EvaluatorConfig::LlmAsAJudge)
|
|
1525
|
+
EvaluatorConfig.add_member_subclass(:code_based, Types::EvaluatorConfig::CodeBased)
|
|
1514
1526
|
EvaluatorConfig.add_member_subclass(:unknown, Types::EvaluatorConfig::Unknown)
|
|
1515
1527
|
EvaluatorConfig.struct_class = Types::EvaluatorConfig
|
|
1516
1528
|
|
|
@@ -1960,6 +1972,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1960
1972
|
KmsConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
1961
1973
|
KmsConfiguration.struct_class = Types::KmsConfiguration
|
|
1962
1974
|
|
|
1975
|
+
LambdaEvaluatorConfig.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "lambdaArn"))
|
|
1976
|
+
LambdaEvaluatorConfig.add_member(:lambda_timeout_in_seconds, Shapes::ShapeRef.new(shape: LambdaEvaluatorConfigLambdaTimeoutInSecondsInteger, location_name: "lambdaTimeoutInSeconds"))
|
|
1977
|
+
LambdaEvaluatorConfig.struct_class = Types::LambdaEvaluatorConfig
|
|
1978
|
+
|
|
1963
1979
|
LambdaInterceptorConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "arn"))
|
|
1964
1980
|
LambdaInterceptorConfiguration.struct_class = Types::LambdaInterceptorConfiguration
|
|
1965
1981
|
|
|
@@ -844,6 +844,30 @@ module Aws::BedrockAgentCoreControl
|
|
|
844
844
|
class Unknown < Code; end
|
|
845
845
|
end
|
|
846
846
|
|
|
847
|
+
# Configuration for a code-based evaluator. Specify the Lambda function
|
|
848
|
+
# to use for evaluation.
|
|
849
|
+
#
|
|
850
|
+
# @note CodeBasedEvaluatorConfig is a union - when making an API calls you must set exactly one of the members.
|
|
851
|
+
#
|
|
852
|
+
# @note CodeBasedEvaluatorConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CodeBasedEvaluatorConfig corresponding to the set member.
|
|
853
|
+
#
|
|
854
|
+
# @!attribute [rw] lambda_config
|
|
855
|
+
# The Lambda function configuration for code-based evaluation.
|
|
856
|
+
# @return [Types::LambdaEvaluatorConfig]
|
|
857
|
+
#
|
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CodeBasedEvaluatorConfig AWS API Documentation
|
|
859
|
+
#
|
|
860
|
+
class CodeBasedEvaluatorConfig < Struct.new(
|
|
861
|
+
:lambda_config,
|
|
862
|
+
:unknown)
|
|
863
|
+
SENSITIVE = []
|
|
864
|
+
include Aws::Structure
|
|
865
|
+
include Aws::Structure::Union
|
|
866
|
+
|
|
867
|
+
class LambdaConfig < CodeBasedEvaluatorConfig; end
|
|
868
|
+
class Unknown < CodeBasedEvaluatorConfig; end
|
|
869
|
+
end
|
|
870
|
+
|
|
847
871
|
# The configuration for the source code that defines how the agent
|
|
848
872
|
# runtime code should be executed, including the code location, runtime
|
|
849
873
|
# environment, and entry point.
|
|
@@ -1573,8 +1597,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1573
1597
|
# @return [String]
|
|
1574
1598
|
#
|
|
1575
1599
|
# @!attribute [rw] evaluator_config
|
|
1576
|
-
# The configuration for the evaluator
|
|
1577
|
-
# settings with instructions, rating scale, and model configuration
|
|
1600
|
+
# The configuration for the evaluator. Specify either LLM-as-a-Judge
|
|
1601
|
+
# settings with instructions, rating scale, and model configuration,
|
|
1602
|
+
# or code-based settings with a customer-managed Lambda function.
|
|
1578
1603
|
# @return [Types::EvaluatorConfig]
|
|
1579
1604
|
#
|
|
1580
1605
|
# @!attribute [rw] level
|
|
@@ -3981,16 +4006,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
3981
4006
|
# scales.
|
|
3982
4007
|
# @return [Types::LlmAsAJudgeEvaluatorConfig]
|
|
3983
4008
|
#
|
|
4009
|
+
# @!attribute [rw] code_based
|
|
4010
|
+
# Configuration for a code-based evaluator that uses a
|
|
4011
|
+
# customer-managed Lambda function to programmatically assess agent
|
|
4012
|
+
# performance.
|
|
4013
|
+
# @return [Types::CodeBasedEvaluatorConfig]
|
|
4014
|
+
#
|
|
3984
4015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorConfig AWS API Documentation
|
|
3985
4016
|
#
|
|
3986
4017
|
class EvaluatorConfig < Struct.new(
|
|
3987
4018
|
:llm_as_a_judge,
|
|
4019
|
+
:code_based,
|
|
3988
4020
|
:unknown)
|
|
3989
4021
|
SENSITIVE = []
|
|
3990
4022
|
include Aws::Structure
|
|
3991
4023
|
include Aws::Structure::Union
|
|
3992
4024
|
|
|
3993
4025
|
class LlmAsAJudge < EvaluatorConfig; end
|
|
4026
|
+
class CodeBased < EvaluatorConfig; end
|
|
3994
4027
|
class Unknown < EvaluatorConfig; end
|
|
3995
4028
|
end
|
|
3996
4029
|
|
|
@@ -4986,8 +5019,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4986
5019
|
# @return [String]
|
|
4987
5020
|
#
|
|
4988
5021
|
# @!attribute [rw] evaluator_config
|
|
4989
|
-
# The configuration of the evaluator, including LLM-as-a-Judge
|
|
4990
|
-
# settings
|
|
5022
|
+
# The configuration of the evaluator, including LLM-as-a-Judge or
|
|
5023
|
+
# code-based settings.
|
|
4991
5024
|
# @return [Types::EvaluatorConfig]
|
|
4992
5025
|
#
|
|
4993
5026
|
# @!attribute [rw] level
|
|
@@ -6103,6 +6136,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
6103
6136
|
include Aws::Structure
|
|
6104
6137
|
end
|
|
6105
6138
|
|
|
6139
|
+
# Configuration for a Lambda function used as a code-based evaluator.
|
|
6140
|
+
#
|
|
6141
|
+
# @!attribute [rw] lambda_arn
|
|
6142
|
+
# The Amazon Resource Name (ARN) of the Lambda function that
|
|
6143
|
+
# implements the evaluation logic.
|
|
6144
|
+
# @return [String]
|
|
6145
|
+
#
|
|
6146
|
+
# @!attribute [rw] lambda_timeout_in_seconds
|
|
6147
|
+
# The timeout in seconds for the Lambda function invocation. Defaults
|
|
6148
|
+
# to 60. Must be between 1 and 300.
|
|
6149
|
+
# @return [Integer]
|
|
6150
|
+
#
|
|
6151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LambdaEvaluatorConfig AWS API Documentation
|
|
6152
|
+
#
|
|
6153
|
+
class LambdaEvaluatorConfig < Struct.new(
|
|
6154
|
+
:lambda_arn,
|
|
6155
|
+
:lambda_timeout_in_seconds)
|
|
6156
|
+
SENSITIVE = []
|
|
6157
|
+
include Aws::Structure
|
|
6158
|
+
end
|
|
6159
|
+
|
|
6106
6160
|
# The lambda configuration for the interceptor
|
|
6107
6161
|
#
|
|
6108
6162
|
# @!attribute [rw] arn
|
|
@@ -10082,9 +10136,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
10082
10136
|
# @return [String]
|
|
10083
10137
|
#
|
|
10084
10138
|
# @!attribute [rw] evaluator_config
|
|
10085
|
-
# The updated configuration for the evaluator
|
|
10139
|
+
# The updated configuration for the evaluator. Specify either
|
|
10086
10140
|
# LLM-as-a-Judge settings with instructions, rating scale, and model
|
|
10087
|
-
# configuration
|
|
10141
|
+
# configuration, or code-based settings with a customer-managed Lambda
|
|
10142
|
+
# function.
|
|
10088
10143
|
# @return [Types::EvaluatorConfig]
|
|
10089
10144
|
#
|
|
10090
10145
|
# @!attribute [rw] level
|
|
@@ -10903,12 +10958,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
10903
10958
|
# semantics. When present in an update request, the description is
|
|
10904
10959
|
# replaced with optionalValue. When absent, the description is left
|
|
10905
10960
|
# unchanged. To unset the description, include the wrapper with
|
|
10906
|
-
# optionalValue
|
|
10961
|
+
# optionalValue not specified.
|
|
10907
10962
|
#
|
|
10908
10963
|
# @!attribute [rw] optional_value
|
|
10909
10964
|
# Represents an optional value that is used to update the
|
|
10910
|
-
# human-readable description of the resource. If
|
|
10911
|
-
# clear the current description of the resource.
|
|
10965
|
+
# human-readable description of the resource. If not specified, it
|
|
10966
|
+
# will clear the current description of the resource.
|
|
10912
10967
|
# @return [String]
|
|
10913
10968
|
#
|
|
10914
10969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatedDescription AWS API Documentation
|
data/sig/client.rbs
CHANGED
|
@@ -342,6 +342,12 @@ module Aws
|
|
|
342
342
|
}?
|
|
343
343
|
}?
|
|
344
344
|
}
|
|
345
|
+
}?,
|
|
346
|
+
code_based: {
|
|
347
|
+
lambda_config: {
|
|
348
|
+
lambda_arn: ::String,
|
|
349
|
+
lambda_timeout_in_seconds: ::Integer?
|
|
350
|
+
}?
|
|
345
351
|
}?
|
|
346
352
|
},
|
|
347
353
|
level: ("TOOL_CALL" | "TRACE" | "SESSION"),
|
|
@@ -1897,6 +1903,12 @@ module Aws
|
|
|
1897
1903
|
}?
|
|
1898
1904
|
}?
|
|
1899
1905
|
}
|
|
1906
|
+
}?,
|
|
1907
|
+
code_based: {
|
|
1908
|
+
lambda_config: {
|
|
1909
|
+
lambda_arn: ::String,
|
|
1910
|
+
lambda_timeout_in_seconds: ::Integer?
|
|
1911
|
+
}?
|
|
1900
1912
|
}?
|
|
1901
1913
|
},
|
|
1902
1914
|
?level: ("TOOL_CALL" | "TRACE" | "SESSION")
|
data/sig/types.rbs
CHANGED
|
@@ -255,6 +255,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
255
255
|
end
|
|
256
256
|
end
|
|
257
257
|
|
|
258
|
+
class CodeBasedEvaluatorConfig
|
|
259
|
+
attr_accessor lambda_config: Types::LambdaEvaluatorConfig
|
|
260
|
+
attr_accessor unknown: untyped
|
|
261
|
+
SENSITIVE: []
|
|
262
|
+
|
|
263
|
+
class LambdaConfig < CodeBasedEvaluatorConfig
|
|
264
|
+
end
|
|
265
|
+
class Unknown < CodeBasedEvaluatorConfig
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
258
269
|
class CodeConfiguration
|
|
259
270
|
attr_accessor code: Types::Code
|
|
260
271
|
attr_accessor runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14")
|
|
@@ -1117,11 +1128,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
1117
1128
|
|
|
1118
1129
|
class EvaluatorConfig
|
|
1119
1130
|
attr_accessor llm_as_a_judge: Types::LlmAsAJudgeEvaluatorConfig
|
|
1131
|
+
attr_accessor code_based: Types::CodeBasedEvaluatorConfig
|
|
1120
1132
|
attr_accessor unknown: untyped
|
|
1121
1133
|
SENSITIVE: []
|
|
1122
1134
|
|
|
1123
1135
|
class LlmAsAJudge < EvaluatorConfig
|
|
1124
1136
|
end
|
|
1137
|
+
class CodeBased < EvaluatorConfig
|
|
1138
|
+
end
|
|
1125
1139
|
class Unknown < EvaluatorConfig
|
|
1126
1140
|
end
|
|
1127
1141
|
end
|
|
@@ -1153,7 +1167,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1153
1167
|
attr_accessor evaluator_id: ::String
|
|
1154
1168
|
attr_accessor evaluator_name: ::String
|
|
1155
1169
|
attr_accessor description: ::String
|
|
1156
|
-
attr_accessor evaluator_type: ("Builtin" | "Custom")
|
|
1170
|
+
attr_accessor evaluator_type: ("Builtin" | "Custom" | "CustomCode")
|
|
1157
1171
|
attr_accessor level: ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
1158
1172
|
attr_accessor status: ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
1159
1173
|
attr_accessor created_at: ::Time
|
|
@@ -1699,6 +1713,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
1699
1713
|
SENSITIVE: []
|
|
1700
1714
|
end
|
|
1701
1715
|
|
|
1716
|
+
class LambdaEvaluatorConfig
|
|
1717
|
+
attr_accessor lambda_arn: ::String
|
|
1718
|
+
attr_accessor lambda_timeout_in_seconds: ::Integer
|
|
1719
|
+
SENSITIVE: []
|
|
1720
|
+
end
|
|
1721
|
+
|
|
1702
1722
|
class LambdaInterceptorConfiguration
|
|
1703
1723
|
attr_accessor arn: ::String
|
|
1704
1724
|
SENSITIVE: []
|