aws-sdk-bedrockagentcorecontrol 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +143 -9
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +83 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +288 -15
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +52 -0
- data/sig/types.rbs +82 -1
- metadata +1 -1
|
@@ -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
|
|
@@ -1896,6 +1921,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1896
1921
|
# propagation to and from the gateway target.
|
|
1897
1922
|
# @return [Types::MetadataConfiguration]
|
|
1898
1923
|
#
|
|
1924
|
+
# @!attribute [rw] private_endpoint
|
|
1925
|
+
# The private endpoint configuration for the gateway target. Use this
|
|
1926
|
+
# to connect the gateway to private resources in your VPC.
|
|
1927
|
+
# @return [Types::PrivateEndpoint]
|
|
1928
|
+
#
|
|
1899
1929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTargetRequest AWS API Documentation
|
|
1900
1930
|
#
|
|
1901
1931
|
class CreateGatewayTargetRequest < Struct.new(
|
|
@@ -1905,7 +1935,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1905
1935
|
:client_token,
|
|
1906
1936
|
:target_configuration,
|
|
1907
1937
|
:credential_provider_configurations,
|
|
1908
|
-
:metadata_configuration
|
|
1938
|
+
:metadata_configuration,
|
|
1939
|
+
:private_endpoint)
|
|
1909
1940
|
SENSITIVE = [:name, :description]
|
|
1910
1941
|
include Aws::Structure
|
|
1911
1942
|
end
|
|
@@ -1959,6 +1990,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
1959
1990
|
# target.
|
|
1960
1991
|
# @return [Types::MetadataConfiguration]
|
|
1961
1992
|
#
|
|
1993
|
+
# @!attribute [rw] private_endpoint
|
|
1994
|
+
# The private endpoint configuration for the gateway target.
|
|
1995
|
+
# @return [Types::PrivateEndpoint]
|
|
1996
|
+
#
|
|
1997
|
+
# @!attribute [rw] private_endpoint_managed_resources
|
|
1998
|
+
# The managed resources created by the gateway for private endpoint
|
|
1999
|
+
# connectivity.
|
|
2000
|
+
# @return [Array<Types::ManagedResourceDetails>]
|
|
2001
|
+
#
|
|
1962
2002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTargetResponse AWS API Documentation
|
|
1963
2003
|
#
|
|
1964
2004
|
class CreateGatewayTargetResponse < Struct.new(
|
|
@@ -1973,7 +2013,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1973
2013
|
:target_configuration,
|
|
1974
2014
|
:credential_provider_configurations,
|
|
1975
2015
|
:last_synchronized_at,
|
|
1976
|
-
:metadata_configuration
|
|
2016
|
+
:metadata_configuration,
|
|
2017
|
+
:private_endpoint,
|
|
2018
|
+
:private_endpoint_managed_resources)
|
|
1977
2019
|
SENSITIVE = [:name, :description]
|
|
1978
2020
|
include Aws::Structure
|
|
1979
2021
|
end
|
|
@@ -2569,11 +2611,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
2569
2611
|
# authenticate with the target endpoint.
|
|
2570
2612
|
# @return [Types::ApiKeyCredentialProvider]
|
|
2571
2613
|
#
|
|
2614
|
+
# @!attribute [rw] iam_credential_provider
|
|
2615
|
+
# The IAM credential provider. This provider uses IAM authentication
|
|
2616
|
+
# with SigV4 signing to access the target endpoint.
|
|
2617
|
+
# @return [Types::IamCredentialProvider]
|
|
2618
|
+
#
|
|
2572
2619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CredentialProvider AWS API Documentation
|
|
2573
2620
|
#
|
|
2574
2621
|
class CredentialProvider < Struct.new(
|
|
2575
2622
|
:oauth_credential_provider,
|
|
2576
2623
|
:api_key_credential_provider,
|
|
2624
|
+
:iam_credential_provider,
|
|
2577
2625
|
:unknown)
|
|
2578
2626
|
SENSITIVE = []
|
|
2579
2627
|
include Aws::Structure
|
|
@@ -2581,6 +2629,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2581
2629
|
|
|
2582
2630
|
class OauthCredentialProvider < CredentialProvider; end
|
|
2583
2631
|
class ApiKeyCredentialProvider < CredentialProvider; end
|
|
2632
|
+
class IamCredentialProvider < CredentialProvider; end
|
|
2584
2633
|
class Unknown < CredentialProvider; end
|
|
2585
2634
|
end
|
|
2586
2635
|
|
|
@@ -3981,16 +4030,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
3981
4030
|
# scales.
|
|
3982
4031
|
# @return [Types::LlmAsAJudgeEvaluatorConfig]
|
|
3983
4032
|
#
|
|
4033
|
+
# @!attribute [rw] code_based
|
|
4034
|
+
# Configuration for a code-based evaluator that uses a
|
|
4035
|
+
# customer-managed Lambda function to programmatically assess agent
|
|
4036
|
+
# performance.
|
|
4037
|
+
# @return [Types::CodeBasedEvaluatorConfig]
|
|
4038
|
+
#
|
|
3984
4039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorConfig AWS API Documentation
|
|
3985
4040
|
#
|
|
3986
4041
|
class EvaluatorConfig < Struct.new(
|
|
3987
4042
|
:llm_as_a_judge,
|
|
4043
|
+
:code_based,
|
|
3988
4044
|
:unknown)
|
|
3989
4045
|
SENSITIVE = []
|
|
3990
4046
|
include Aws::Structure
|
|
3991
4047
|
include Aws::Structure::Union
|
|
3992
4048
|
|
|
3993
4049
|
class LlmAsAJudge < EvaluatorConfig; end
|
|
4050
|
+
class CodeBased < EvaluatorConfig; end
|
|
3994
4051
|
class Unknown < EvaluatorConfig; end
|
|
3995
4052
|
end
|
|
3996
4053
|
|
|
@@ -4441,6 +4498,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
4441
4498
|
# propagation to and from this gateway target.
|
|
4442
4499
|
# @return [Types::MetadataConfiguration]
|
|
4443
4500
|
#
|
|
4501
|
+
# @!attribute [rw] private_endpoint
|
|
4502
|
+
# The private endpoint configuration for a gateway target. Defines how
|
|
4503
|
+
# the gateway connects to private resources in your VPC.
|
|
4504
|
+
# @return [Types::PrivateEndpoint]
|
|
4505
|
+
#
|
|
4506
|
+
# @!attribute [rw] private_endpoint_managed_resources
|
|
4507
|
+
# A list of managed resources created by the gateway for private
|
|
4508
|
+
# endpoint connectivity. These resources are created in your account
|
|
4509
|
+
# when you use a managed VPC Lattice resource configuration.
|
|
4510
|
+
# @return [Array<Types::ManagedResourceDetails>]
|
|
4511
|
+
#
|
|
4444
4512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayTarget AWS API Documentation
|
|
4445
4513
|
#
|
|
4446
4514
|
class GatewayTarget < Struct.new(
|
|
@@ -4455,7 +4523,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
4455
4523
|
:target_configuration,
|
|
4456
4524
|
:credential_provider_configurations,
|
|
4457
4525
|
:last_synchronized_at,
|
|
4458
|
-
:metadata_configuration
|
|
4526
|
+
:metadata_configuration,
|
|
4527
|
+
:private_endpoint,
|
|
4528
|
+
:private_endpoint_managed_resources)
|
|
4459
4529
|
SENSITIVE = [:name, :description]
|
|
4460
4530
|
include Aws::Structure
|
|
4461
4531
|
end
|
|
@@ -4986,8 +5056,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4986
5056
|
# @return [String]
|
|
4987
5057
|
#
|
|
4988
5058
|
# @!attribute [rw] evaluator_config
|
|
4989
|
-
# The configuration of the evaluator, including LLM-as-a-Judge
|
|
4990
|
-
# settings
|
|
5059
|
+
# The configuration of the evaluator, including LLM-as-a-Judge or
|
|
5060
|
+
# code-based settings.
|
|
4991
5061
|
# @return [Types::EvaluatorConfig]
|
|
4992
5062
|
#
|
|
4993
5063
|
# @!attribute [rw] level
|
|
@@ -5219,6 +5289,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
5219
5289
|
# propagation for the retrieved gateway target.
|
|
5220
5290
|
# @return [Types::MetadataConfiguration]
|
|
5221
5291
|
#
|
|
5292
|
+
# @!attribute [rw] private_endpoint
|
|
5293
|
+
# The private endpoint configuration for the gateway target.
|
|
5294
|
+
# @return [Types::PrivateEndpoint]
|
|
5295
|
+
#
|
|
5296
|
+
# @!attribute [rw] private_endpoint_managed_resources
|
|
5297
|
+
# The managed resources created by the gateway for private endpoint
|
|
5298
|
+
# connectivity.
|
|
5299
|
+
# @return [Array<Types::ManagedResourceDetails>]
|
|
5300
|
+
#
|
|
5222
5301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTargetResponse AWS API Documentation
|
|
5223
5302
|
#
|
|
5224
5303
|
class GetGatewayTargetResponse < Struct.new(
|
|
@@ -5233,7 +5312,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
5233
5312
|
:target_configuration,
|
|
5234
5313
|
:credential_provider_configurations,
|
|
5235
5314
|
:last_synchronized_at,
|
|
5236
|
-
:metadata_configuration
|
|
5315
|
+
:metadata_configuration,
|
|
5316
|
+
:private_endpoint,
|
|
5317
|
+
:private_endpoint_managed_resources)
|
|
5237
5318
|
SENSITIVE = [:name, :description]
|
|
5238
5319
|
include Aws::Structure
|
|
5239
5320
|
end
|
|
@@ -5874,6 +5955,30 @@ module Aws::BedrockAgentCoreControl
|
|
|
5874
5955
|
include Aws::Structure
|
|
5875
5956
|
end
|
|
5876
5957
|
|
|
5958
|
+
# An IAM credential provider for gateway authentication. This structure
|
|
5959
|
+
# contains the configuration for authenticating with the target endpoint
|
|
5960
|
+
# using IAM credentials and SigV4 signing.
|
|
5961
|
+
#
|
|
5962
|
+
# @!attribute [rw] service
|
|
5963
|
+
# The target Amazon Web Services service name used for SigV4 signing.
|
|
5964
|
+
# This value identifies the service that the gateway authenticates
|
|
5965
|
+
# with when making requests to the target endpoint.
|
|
5966
|
+
# @return [String]
|
|
5967
|
+
#
|
|
5968
|
+
# @!attribute [rw] region
|
|
5969
|
+
# The Amazon Web Services Region used for SigV4 signing. If not
|
|
5970
|
+
# specified, defaults to the gateway's Region.
|
|
5971
|
+
# @return [String]
|
|
5972
|
+
#
|
|
5973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/IamCredentialProvider AWS API Documentation
|
|
5974
|
+
#
|
|
5975
|
+
class IamCredentialProvider < Struct.new(
|
|
5976
|
+
:service,
|
|
5977
|
+
:region)
|
|
5978
|
+
SENSITIVE = []
|
|
5979
|
+
include Aws::Structure
|
|
5980
|
+
end
|
|
5981
|
+
|
|
5877
5982
|
# Configuration settings for connecting to a supported OAuth2 provider.
|
|
5878
5983
|
# This includes client credentials and OAuth2 discovery information for
|
|
5879
5984
|
# providers that have built-in support.
|
|
@@ -6103,6 +6208,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
6103
6208
|
include Aws::Structure
|
|
6104
6209
|
end
|
|
6105
6210
|
|
|
6211
|
+
# Configuration for a Lambda function used as a code-based evaluator.
|
|
6212
|
+
#
|
|
6213
|
+
# @!attribute [rw] lambda_arn
|
|
6214
|
+
# The Amazon Resource Name (ARN) of the Lambda function that
|
|
6215
|
+
# implements the evaluation logic.
|
|
6216
|
+
# @return [String]
|
|
6217
|
+
#
|
|
6218
|
+
# @!attribute [rw] lambda_timeout_in_seconds
|
|
6219
|
+
# The timeout in seconds for the Lambda function invocation. Defaults
|
|
6220
|
+
# to 60. Must be between 1 and 300.
|
|
6221
|
+
# @return [Integer]
|
|
6222
|
+
#
|
|
6223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LambdaEvaluatorConfig AWS API Documentation
|
|
6224
|
+
#
|
|
6225
|
+
class LambdaEvaluatorConfig < Struct.new(
|
|
6226
|
+
:lambda_arn,
|
|
6227
|
+
:lambda_timeout_in_seconds)
|
|
6228
|
+
SENSITIVE = []
|
|
6229
|
+
include Aws::Structure
|
|
6230
|
+
end
|
|
6231
|
+
|
|
6106
6232
|
# The lambda configuration for the interceptor
|
|
6107
6233
|
#
|
|
6108
6234
|
# @!attribute [rw] arn
|
|
@@ -7038,6 +7164,77 @@ module Aws::BedrockAgentCoreControl
|
|
|
7038
7164
|
include Aws::Structure
|
|
7039
7165
|
end
|
|
7040
7166
|
|
|
7167
|
+
# Configuration for a managed VPC Lattice resource. The gateway creates
|
|
7168
|
+
# and manages the VPC Lattice resource gateway and resource
|
|
7169
|
+
# configuration on your behalf using a service-linked role.
|
|
7170
|
+
#
|
|
7171
|
+
# @!attribute [rw] vpc_identifier
|
|
7172
|
+
# The ID of the VPC that contains your private resource.
|
|
7173
|
+
# @return [String]
|
|
7174
|
+
#
|
|
7175
|
+
# @!attribute [rw] subnet_ids
|
|
7176
|
+
# The subnet IDs within the VPC where the VPC Lattice resource gateway
|
|
7177
|
+
# is placed.
|
|
7178
|
+
# @return [Array<String>]
|
|
7179
|
+
#
|
|
7180
|
+
# @!attribute [rw] endpoint_ip_address_type
|
|
7181
|
+
# The IP address type for the resource configuration endpoint.
|
|
7182
|
+
# @return [String]
|
|
7183
|
+
#
|
|
7184
|
+
# @!attribute [rw] security_group_ids
|
|
7185
|
+
# The security group IDs to associate with the VPC Lattice resource
|
|
7186
|
+
# gateway. If not specified, the default security group for the VPC is
|
|
7187
|
+
# used.
|
|
7188
|
+
# @return [Array<String>]
|
|
7189
|
+
#
|
|
7190
|
+
# @!attribute [rw] tags
|
|
7191
|
+
# Tags to apply to the managed VPC Lattice resource gateway.
|
|
7192
|
+
# @return [Hash<String,String>]
|
|
7193
|
+
#
|
|
7194
|
+
# @!attribute [rw] routing_domain
|
|
7195
|
+
# An intermediate publicly resolvable domain used as the VPC Lattice
|
|
7196
|
+
# resource configuration endpoint. Required when your private endpoint
|
|
7197
|
+
# uses a domain that is not publicly resolvable.
|
|
7198
|
+
# @return [String]
|
|
7199
|
+
#
|
|
7200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ManagedLatticeResource AWS API Documentation
|
|
7201
|
+
#
|
|
7202
|
+
class ManagedLatticeResource < Struct.new(
|
|
7203
|
+
:vpc_identifier,
|
|
7204
|
+
:subnet_ids,
|
|
7205
|
+
:endpoint_ip_address_type,
|
|
7206
|
+
:security_group_ids,
|
|
7207
|
+
:tags,
|
|
7208
|
+
:routing_domain)
|
|
7209
|
+
SENSITIVE = []
|
|
7210
|
+
include Aws::Structure
|
|
7211
|
+
end
|
|
7212
|
+
|
|
7213
|
+
# Details of a resource created and managed by the gateway for private
|
|
7214
|
+
# endpoint connectivity.
|
|
7215
|
+
#
|
|
7216
|
+
# @!attribute [rw] domain
|
|
7217
|
+
# The domain associated with this managed resource.
|
|
7218
|
+
# @return [String]
|
|
7219
|
+
#
|
|
7220
|
+
# @!attribute [rw] resource_gateway_arn
|
|
7221
|
+
# The ARN of the VPC Lattice resource gateway created in your account.
|
|
7222
|
+
# @return [String]
|
|
7223
|
+
#
|
|
7224
|
+
# @!attribute [rw] resource_association_arn
|
|
7225
|
+
# The ARN of the service network resource association.
|
|
7226
|
+
# @return [String]
|
|
7227
|
+
#
|
|
7228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ManagedResourceDetails AWS API Documentation
|
|
7229
|
+
#
|
|
7230
|
+
class ManagedResourceDetails < Struct.new(
|
|
7231
|
+
:domain,
|
|
7232
|
+
:resource_gateway_arn,
|
|
7233
|
+
:resource_association_arn)
|
|
7234
|
+
SENSITIVE = []
|
|
7235
|
+
include Aws::Structure
|
|
7236
|
+
end
|
|
7237
|
+
|
|
7041
7238
|
# The Lambda configuration for a Model Context Protocol target. This
|
|
7042
7239
|
# structure defines how the gateway uses a Lambda function to
|
|
7043
7240
|
# communicate with the target.
|
|
@@ -8415,6 +8612,39 @@ module Aws::BedrockAgentCoreControl
|
|
|
8415
8612
|
include Aws::Structure
|
|
8416
8613
|
end
|
|
8417
8614
|
|
|
8615
|
+
# The private endpoint configuration for a gateway target. Defines how
|
|
8616
|
+
# the gateway connects to private resources in your VPC.
|
|
8617
|
+
#
|
|
8618
|
+
# @note PrivateEndpoint is a union - when making an API calls you must set exactly one of the members.
|
|
8619
|
+
#
|
|
8620
|
+
# @note PrivateEndpoint is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PrivateEndpoint corresponding to the set member.
|
|
8621
|
+
#
|
|
8622
|
+
# @!attribute [rw] self_managed_lattice_resource
|
|
8623
|
+
# Configuration for connecting to a private resource using a
|
|
8624
|
+
# self-managed VPC Lattice resource configuration.
|
|
8625
|
+
# @return [Types::SelfManagedLatticeResource]
|
|
8626
|
+
#
|
|
8627
|
+
# @!attribute [rw] managed_lattice_resource
|
|
8628
|
+
# Configuration for connecting to a private resource using a managed
|
|
8629
|
+
# VPC Lattice resource. The gateway creates and manages the VPC
|
|
8630
|
+
# Lattice resources on your behalf.
|
|
8631
|
+
# @return [Types::ManagedLatticeResource]
|
|
8632
|
+
#
|
|
8633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PrivateEndpoint AWS API Documentation
|
|
8634
|
+
#
|
|
8635
|
+
class PrivateEndpoint < Struct.new(
|
|
8636
|
+
:self_managed_lattice_resource,
|
|
8637
|
+
:managed_lattice_resource,
|
|
8638
|
+
:unknown)
|
|
8639
|
+
SENSITIVE = []
|
|
8640
|
+
include Aws::Structure
|
|
8641
|
+
include Aws::Structure::Union
|
|
8642
|
+
|
|
8643
|
+
class SelfManagedLatticeResource < PrivateEndpoint; end
|
|
8644
|
+
class ManagedLatticeResource < PrivateEndpoint; end
|
|
8645
|
+
class Unknown < PrivateEndpoint; end
|
|
8646
|
+
end
|
|
8647
|
+
|
|
8418
8648
|
# The protocol configuration for an agent runtime. This structure
|
|
8419
8649
|
# defines how the agent runtime communicates with clients.
|
|
8420
8650
|
#
|
|
@@ -8911,6 +9141,31 @@ module Aws::BedrockAgentCoreControl
|
|
|
8911
9141
|
include Aws::Structure
|
|
8912
9142
|
end
|
|
8913
9143
|
|
|
9144
|
+
# Configuration for a self-managed VPC Lattice resource. You create and
|
|
9145
|
+
# manage the VPC Lattice resource gateway and resource configuration,
|
|
9146
|
+
# then provide the resource configuration identifier.
|
|
9147
|
+
#
|
|
9148
|
+
# @note SelfManagedLatticeResource is a union - when making an API calls you must set exactly one of the members.
|
|
9149
|
+
#
|
|
9150
|
+
# @note SelfManagedLatticeResource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SelfManagedLatticeResource corresponding to the set member.
|
|
9151
|
+
#
|
|
9152
|
+
# @!attribute [rw] resource_configuration_identifier
|
|
9153
|
+
# The ARN or ID of the VPC Lattice resource configuration.
|
|
9154
|
+
# @return [String]
|
|
9155
|
+
#
|
|
9156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SelfManagedLatticeResource AWS API Documentation
|
|
9157
|
+
#
|
|
9158
|
+
class SelfManagedLatticeResource < Struct.new(
|
|
9159
|
+
:resource_configuration_identifier,
|
|
9160
|
+
:unknown)
|
|
9161
|
+
SENSITIVE = []
|
|
9162
|
+
include Aws::Structure
|
|
9163
|
+
include Aws::Structure::Union
|
|
9164
|
+
|
|
9165
|
+
class ResourceConfigurationIdentifier < SelfManagedLatticeResource; end
|
|
9166
|
+
class Unknown < SelfManagedLatticeResource; end
|
|
9167
|
+
end
|
|
9168
|
+
|
|
8914
9169
|
# Contains semantic consolidation override configuration.
|
|
8915
9170
|
#
|
|
8916
9171
|
# @!attribute [rw] append_to_prompt
|
|
@@ -10082,9 +10337,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
10082
10337
|
# @return [String]
|
|
10083
10338
|
#
|
|
10084
10339
|
# @!attribute [rw] evaluator_config
|
|
10085
|
-
# The updated configuration for the evaluator
|
|
10340
|
+
# The updated configuration for the evaluator. Specify either
|
|
10086
10341
|
# LLM-as-a-Judge settings with instructions, rating scale, and model
|
|
10087
|
-
# configuration
|
|
10342
|
+
# configuration, or code-based settings with a customer-managed Lambda
|
|
10343
|
+
# function.
|
|
10088
10344
|
# @return [Types::EvaluatorConfig]
|
|
10089
10345
|
#
|
|
10090
10346
|
# @!attribute [rw] level
|
|
@@ -10352,6 +10608,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
10352
10608
|
# gateway target.
|
|
10353
10609
|
# @return [Types::MetadataConfiguration]
|
|
10354
10610
|
#
|
|
10611
|
+
# @!attribute [rw] private_endpoint
|
|
10612
|
+
# The private endpoint configuration for the gateway target. Use this
|
|
10613
|
+
# to connect the gateway to private resources in your VPC.
|
|
10614
|
+
# @return [Types::PrivateEndpoint]
|
|
10615
|
+
#
|
|
10355
10616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTargetRequest AWS API Documentation
|
|
10356
10617
|
#
|
|
10357
10618
|
class UpdateGatewayTargetRequest < Struct.new(
|
|
@@ -10361,7 +10622,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
10361
10622
|
:description,
|
|
10362
10623
|
:target_configuration,
|
|
10363
10624
|
:credential_provider_configurations,
|
|
10364
|
-
:metadata_configuration
|
|
10625
|
+
:metadata_configuration,
|
|
10626
|
+
:private_endpoint)
|
|
10365
10627
|
SENSITIVE = [:name, :description]
|
|
10366
10628
|
include Aws::Structure
|
|
10367
10629
|
end
|
|
@@ -10416,6 +10678,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
10416
10678
|
# The metadata configuration that was applied to the gateway target.
|
|
10417
10679
|
# @return [Types::MetadataConfiguration]
|
|
10418
10680
|
#
|
|
10681
|
+
# @!attribute [rw] private_endpoint
|
|
10682
|
+
# The private endpoint configuration for the gateway target.
|
|
10683
|
+
# @return [Types::PrivateEndpoint]
|
|
10684
|
+
#
|
|
10685
|
+
# @!attribute [rw] private_endpoint_managed_resources
|
|
10686
|
+
# The managed resources created by the gateway for private endpoint
|
|
10687
|
+
# connectivity.
|
|
10688
|
+
# @return [Array<Types::ManagedResourceDetails>]
|
|
10689
|
+
#
|
|
10419
10690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTargetResponse AWS API Documentation
|
|
10420
10691
|
#
|
|
10421
10692
|
class UpdateGatewayTargetResponse < Struct.new(
|
|
@@ -10430,7 +10701,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
10430
10701
|
:target_configuration,
|
|
10431
10702
|
:credential_provider_configurations,
|
|
10432
10703
|
:last_synchronized_at,
|
|
10433
|
-
:metadata_configuration
|
|
10704
|
+
:metadata_configuration,
|
|
10705
|
+
:private_endpoint,
|
|
10706
|
+
:private_endpoint_managed_resources)
|
|
10434
10707
|
SENSITIVE = [:name, :description]
|
|
10435
10708
|
include Aws::Structure
|
|
10436
10709
|
end
|
|
@@ -10903,12 +11176,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
10903
11176
|
# semantics. When present in an update request, the description is
|
|
10904
11177
|
# replaced with optionalValue. When absent, the description is left
|
|
10905
11178
|
# unchanged. To unset the description, include the wrapper with
|
|
10906
|
-
# optionalValue
|
|
11179
|
+
# optionalValue not specified.
|
|
10907
11180
|
#
|
|
10908
11181
|
# @!attribute [rw] optional_value
|
|
10909
11182
|
# 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.
|
|
11183
|
+
# human-readable description of the resource. If not specified, it
|
|
11184
|
+
# will clear the current description of the resource.
|
|
10912
11185
|
# @return [String]
|
|
10913
11186
|
#
|
|
10914
11187
|
# @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"),
|
|
@@ -444,6 +450,8 @@ module Aws
|
|
|
444
450
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
445
451
|
def last_synchronized_at: () -> ::Time
|
|
446
452
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
453
|
+
def private_endpoint: () -> Types::PrivateEndpoint
|
|
454
|
+
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
447
455
|
end
|
|
448
456
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_gateway_target-instance_method
|
|
449
457
|
def create_gateway_target: (
|
|
@@ -537,6 +545,10 @@ module Aws
|
|
|
537
545
|
credential_parameter_name: ::String?,
|
|
538
546
|
credential_prefix: ::String?,
|
|
539
547
|
credential_location: ("HEADER" | "QUERY_PARAMETER")?
|
|
548
|
+
}?,
|
|
549
|
+
iam_credential_provider: {
|
|
550
|
+
service: ::String,
|
|
551
|
+
region: ::String?
|
|
540
552
|
}?
|
|
541
553
|
}?
|
|
542
554
|
},
|
|
@@ -545,6 +557,19 @@ module Aws
|
|
|
545
557
|
allowed_request_headers: Array[::String]?,
|
|
546
558
|
allowed_query_parameters: Array[::String]?,
|
|
547
559
|
allowed_response_headers: Array[::String]?
|
|
560
|
+
},
|
|
561
|
+
?private_endpoint: {
|
|
562
|
+
self_managed_lattice_resource: {
|
|
563
|
+
resource_configuration_identifier: ::String?
|
|
564
|
+
}?,
|
|
565
|
+
managed_lattice_resource: {
|
|
566
|
+
vpc_identifier: ::String,
|
|
567
|
+
subnet_ids: Array[::String],
|
|
568
|
+
endpoint_ip_address_type: ("IPV4" | "IPV6"),
|
|
569
|
+
security_group_ids: Array[::String]?,
|
|
570
|
+
tags: Hash[::String, ::String]?,
|
|
571
|
+
routing_domain: ::String?
|
|
572
|
+
}?
|
|
548
573
|
}
|
|
549
574
|
) -> _CreateGatewayTargetResponseSuccess
|
|
550
575
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGatewayTargetResponseSuccess
|
|
@@ -1260,6 +1285,8 @@ module Aws
|
|
|
1260
1285
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
1261
1286
|
def last_synchronized_at: () -> ::Time
|
|
1262
1287
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
1288
|
+
def private_endpoint: () -> Types::PrivateEndpoint
|
|
1289
|
+
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
1263
1290
|
end
|
|
1264
1291
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_gateway_target-instance_method
|
|
1265
1292
|
def get_gateway_target: (
|
|
@@ -1897,6 +1924,12 @@ module Aws
|
|
|
1897
1924
|
}?
|
|
1898
1925
|
}?
|
|
1899
1926
|
}
|
|
1927
|
+
}?,
|
|
1928
|
+
code_based: {
|
|
1929
|
+
lambda_config: {
|
|
1930
|
+
lambda_arn: ::String,
|
|
1931
|
+
lambda_timeout_in_seconds: ::Integer?
|
|
1932
|
+
}?
|
|
1900
1933
|
}?
|
|
1901
1934
|
},
|
|
1902
1935
|
?level: ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
@@ -1997,6 +2030,8 @@ module Aws
|
|
|
1997
2030
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
1998
2031
|
def last_synchronized_at: () -> ::Time
|
|
1999
2032
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
2033
|
+
def private_endpoint: () -> Types::PrivateEndpoint
|
|
2034
|
+
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
2000
2035
|
end
|
|
2001
2036
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_gateway_target-instance_method
|
|
2002
2037
|
def update_gateway_target: (
|
|
@@ -2090,6 +2125,10 @@ module Aws
|
|
|
2090
2125
|
credential_parameter_name: ::String?,
|
|
2091
2126
|
credential_prefix: ::String?,
|
|
2092
2127
|
credential_location: ("HEADER" | "QUERY_PARAMETER")?
|
|
2128
|
+
}?,
|
|
2129
|
+
iam_credential_provider: {
|
|
2130
|
+
service: ::String,
|
|
2131
|
+
region: ::String?
|
|
2093
2132
|
}?
|
|
2094
2133
|
}?
|
|
2095
2134
|
},
|
|
@@ -2098,6 +2137,19 @@ module Aws
|
|
|
2098
2137
|
allowed_request_headers: Array[::String]?,
|
|
2099
2138
|
allowed_query_parameters: Array[::String]?,
|
|
2100
2139
|
allowed_response_headers: Array[::String]?
|
|
2140
|
+
},
|
|
2141
|
+
?private_endpoint: {
|
|
2142
|
+
self_managed_lattice_resource: {
|
|
2143
|
+
resource_configuration_identifier: ::String?
|
|
2144
|
+
}?,
|
|
2145
|
+
managed_lattice_resource: {
|
|
2146
|
+
vpc_identifier: ::String,
|
|
2147
|
+
subnet_ids: Array[::String],
|
|
2148
|
+
endpoint_ip_address_type: ("IPV4" | "IPV6"),
|
|
2149
|
+
security_group_ids: Array[::String]?,
|
|
2150
|
+
tags: Hash[::String, ::String]?,
|
|
2151
|
+
routing_domain: ::String?
|
|
2152
|
+
}?
|
|
2101
2153
|
}
|
|
2102
2154
|
) -> _UpdateGatewayTargetResponseSuccess
|
|
2103
2155
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayTargetResponseSuccess
|