aws-sdk-bedrockagentcorecontrol 1.14.0 → 1.15.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 +61 -7
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +33 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +110 -0
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +34 -5
- data/sig/types.rbs +39 -6
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c2b42916b4c3f1f0d7583d96941910bfbf219d88550116548cc7e7ea2a375f9
|
|
4
|
+
data.tar.gz: ed0b344ca09f8fc2c815c4e713b3525bd1987fee68b2d68fbda9ca5e1645b94b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2d099c110256650d24d6586aecac3dfaf4f9e62a8b1c55a582adcde0cb912d7cde55121ba8a12c05845e413ae2a67e40c9fc6a026fed4ae14e28a30763026e2
|
|
7
|
+
data.tar.gz: a5f789b15f95b501e788767d30525883d99a4bed6d591100b80e73490c3dc8824a6125c793ac2b0e003839a394760ac24d76c9e52f7753c4b2bf7d979ba98311
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.15.0
|
|
@@ -929,6 +929,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
929
929
|
#
|
|
930
930
|
# * `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials.
|
|
931
931
|
#
|
|
932
|
+
# * `NONE` - No authorization
|
|
933
|
+
#
|
|
932
934
|
# @option params [Types::AuthorizerConfiguration] :authorizer_configuration
|
|
933
935
|
# The authorizer configuration for the gateway. Required if
|
|
934
936
|
# `authorizerType` is `CUSTOM_JWT`.
|
|
@@ -937,6 +939,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
937
939
|
# The Amazon Resource Name (ARN) of the KMS key used to encrypt data
|
|
938
940
|
# associated with the gateway.
|
|
939
941
|
#
|
|
942
|
+
# @option params [Array<Types::GatewayInterceptorConfiguration>] :interceptor_configurations
|
|
943
|
+
# A list of configuration settings for a gateway interceptor. Gateway
|
|
944
|
+
# interceptors allow custom code to be invoked during gateway
|
|
945
|
+
# invocations.
|
|
946
|
+
#
|
|
940
947
|
# @option params [String] :exception_level
|
|
941
948
|
# The level of detail in error messages returned when invoking the
|
|
942
949
|
# gateway.
|
|
@@ -968,6 +975,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
968
975
|
# * {Types::CreateGatewayResponse#authorizer_type #authorizer_type} => String
|
|
969
976
|
# * {Types::CreateGatewayResponse#authorizer_configuration #authorizer_configuration} => Types::AuthorizerConfiguration
|
|
970
977
|
# * {Types::CreateGatewayResponse#kms_key_arn #kms_key_arn} => String
|
|
978
|
+
# * {Types::CreateGatewayResponse#interceptor_configurations #interceptor_configurations} => Array<Types::GatewayInterceptorConfiguration>
|
|
971
979
|
# * {Types::CreateGatewayResponse#workload_identity_details #workload_identity_details} => Types::WorkloadIdentityDetails
|
|
972
980
|
# * {Types::CreateGatewayResponse#exception_level #exception_level} => String
|
|
973
981
|
#
|
|
@@ -986,7 +994,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
986
994
|
# search_type: "SEMANTIC", # accepts SEMANTIC
|
|
987
995
|
# },
|
|
988
996
|
# },
|
|
989
|
-
# authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM
|
|
997
|
+
# authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE
|
|
990
998
|
# authorizer_configuration: {
|
|
991
999
|
# custom_jwt_authorizer: {
|
|
992
1000
|
# discovery_url: "DiscoveryUrl", # required
|
|
@@ -995,6 +1003,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
995
1003
|
# },
|
|
996
1004
|
# },
|
|
997
1005
|
# kms_key_arn: "KmsKeyArn",
|
|
1006
|
+
# interceptor_configurations: [
|
|
1007
|
+
# {
|
|
1008
|
+
# interceptor: { # required
|
|
1009
|
+
# lambda: {
|
|
1010
|
+
# arn: "LambdaFunctionArn", # required
|
|
1011
|
+
# },
|
|
1012
|
+
# },
|
|
1013
|
+
# interception_points: ["REQUEST"], # required, accepts REQUEST, RESPONSE
|
|
1014
|
+
# input_configuration: {
|
|
1015
|
+
# pass_request_headers: false, # required
|
|
1016
|
+
# },
|
|
1017
|
+
# },
|
|
1018
|
+
# ],
|
|
998
1019
|
# exception_level: "DEBUG", # accepts DEBUG
|
|
999
1020
|
# tags: {
|
|
1000
1021
|
# "TagKey" => "TagValue",
|
|
@@ -1019,13 +1040,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
1019
1040
|
# resp.protocol_configuration.mcp.supported_versions[0] #=> String
|
|
1020
1041
|
# resp.protocol_configuration.mcp.instructions #=> String
|
|
1021
1042
|
# resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
|
|
1022
|
-
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
1043
|
+
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
|
|
1023
1044
|
# resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
1024
1045
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
1025
1046
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
1026
1047
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
1027
1048
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
1028
1049
|
# resp.kms_key_arn #=> String
|
|
1050
|
+
# resp.interceptor_configurations #=> Array
|
|
1051
|
+
# resp.interceptor_configurations[0].interceptor.lambda.arn #=> String
|
|
1052
|
+
# resp.interceptor_configurations[0].interception_points #=> Array
|
|
1053
|
+
# resp.interceptor_configurations[0].interception_points[0] #=> String, one of "REQUEST", "RESPONSE"
|
|
1054
|
+
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
1029
1055
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
1030
1056
|
# resp.exception_level #=> String, one of "DEBUG"
|
|
1031
1057
|
#
|
|
@@ -2291,6 +2317,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2291
2317
|
# * {Types::GetGatewayResponse#authorizer_type #authorizer_type} => String
|
|
2292
2318
|
# * {Types::GetGatewayResponse#authorizer_configuration #authorizer_configuration} => Types::AuthorizerConfiguration
|
|
2293
2319
|
# * {Types::GetGatewayResponse#kms_key_arn #kms_key_arn} => String
|
|
2320
|
+
# * {Types::GetGatewayResponse#interceptor_configurations #interceptor_configurations} => Array<Types::GatewayInterceptorConfiguration>
|
|
2294
2321
|
# * {Types::GetGatewayResponse#workload_identity_details #workload_identity_details} => Types::WorkloadIdentityDetails
|
|
2295
2322
|
# * {Types::GetGatewayResponse#exception_level #exception_level} => String
|
|
2296
2323
|
#
|
|
@@ -2318,13 +2345,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
2318
2345
|
# resp.protocol_configuration.mcp.supported_versions[0] #=> String
|
|
2319
2346
|
# resp.protocol_configuration.mcp.instructions #=> String
|
|
2320
2347
|
# resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
|
|
2321
|
-
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
2348
|
+
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
|
|
2322
2349
|
# resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
2323
2350
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
2324
2351
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
2325
2352
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
2326
2353
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
2327
2354
|
# resp.kms_key_arn #=> String
|
|
2355
|
+
# resp.interceptor_configurations #=> Array
|
|
2356
|
+
# resp.interceptor_configurations[0].interceptor.lambda.arn #=> String
|
|
2357
|
+
# resp.interceptor_configurations[0].interception_points #=> Array
|
|
2358
|
+
# resp.interceptor_configurations[0].interception_points[0] #=> String, one of "REQUEST", "RESPONSE"
|
|
2359
|
+
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
2328
2360
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
2329
2361
|
# resp.exception_level #=> String, one of "DEBUG"
|
|
2330
2362
|
#
|
|
@@ -3056,7 +3088,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3056
3088
|
# resp.items[0].description #=> String
|
|
3057
3089
|
# resp.items[0].created_at #=> Time
|
|
3058
3090
|
# resp.items[0].updated_at #=> Time
|
|
3059
|
-
# resp.items[0].authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
3091
|
+
# resp.items[0].authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
|
|
3060
3092
|
# resp.items[0].protocol_type #=> String, one of "MCP"
|
|
3061
3093
|
# resp.next_token #=> String
|
|
3062
3094
|
#
|
|
@@ -3673,6 +3705,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
3673
3705
|
# @option params [String] :kms_key_arn
|
|
3674
3706
|
# The updated ARN of the KMS key used to encrypt the gateway.
|
|
3675
3707
|
#
|
|
3708
|
+
# @option params [Array<Types::GatewayInterceptorConfiguration>] :interceptor_configurations
|
|
3709
|
+
# The updated interceptor configurations for the gateway.
|
|
3710
|
+
#
|
|
3676
3711
|
# @option params [String] :exception_level
|
|
3677
3712
|
# The level of detail in error messages returned when invoking the
|
|
3678
3713
|
# gateway.
|
|
@@ -3700,6 +3735,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3700
3735
|
# * {Types::UpdateGatewayResponse#authorizer_type #authorizer_type} => String
|
|
3701
3736
|
# * {Types::UpdateGatewayResponse#authorizer_configuration #authorizer_configuration} => Types::AuthorizerConfiguration
|
|
3702
3737
|
# * {Types::UpdateGatewayResponse#kms_key_arn #kms_key_arn} => String
|
|
3738
|
+
# * {Types::UpdateGatewayResponse#interceptor_configurations #interceptor_configurations} => Array<Types::GatewayInterceptorConfiguration>
|
|
3703
3739
|
# * {Types::UpdateGatewayResponse#workload_identity_details #workload_identity_details} => Types::WorkloadIdentityDetails
|
|
3704
3740
|
# * {Types::UpdateGatewayResponse#exception_level #exception_level} => String
|
|
3705
3741
|
#
|
|
@@ -3718,7 +3754,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3718
3754
|
# search_type: "SEMANTIC", # accepts SEMANTIC
|
|
3719
3755
|
# },
|
|
3720
3756
|
# },
|
|
3721
|
-
# authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM
|
|
3757
|
+
# authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE
|
|
3722
3758
|
# authorizer_configuration: {
|
|
3723
3759
|
# custom_jwt_authorizer: {
|
|
3724
3760
|
# discovery_url: "DiscoveryUrl", # required
|
|
@@ -3727,6 +3763,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
3727
3763
|
# },
|
|
3728
3764
|
# },
|
|
3729
3765
|
# kms_key_arn: "KmsKeyArn",
|
|
3766
|
+
# interceptor_configurations: [
|
|
3767
|
+
# {
|
|
3768
|
+
# interceptor: { # required
|
|
3769
|
+
# lambda: {
|
|
3770
|
+
# arn: "LambdaFunctionArn", # required
|
|
3771
|
+
# },
|
|
3772
|
+
# },
|
|
3773
|
+
# interception_points: ["REQUEST"], # required, accepts REQUEST, RESPONSE
|
|
3774
|
+
# input_configuration: {
|
|
3775
|
+
# pass_request_headers: false, # required
|
|
3776
|
+
# },
|
|
3777
|
+
# },
|
|
3778
|
+
# ],
|
|
3730
3779
|
# exception_level: "DEBUG", # accepts DEBUG
|
|
3731
3780
|
# })
|
|
3732
3781
|
#
|
|
@@ -3748,13 +3797,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
3748
3797
|
# resp.protocol_configuration.mcp.supported_versions[0] #=> String
|
|
3749
3798
|
# resp.protocol_configuration.mcp.instructions #=> String
|
|
3750
3799
|
# resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
|
|
3751
|
-
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
3800
|
+
# resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
|
|
3752
3801
|
# resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
3753
3802
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
3754
3803
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
3755
3804
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
3756
3805
|
# resp.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
3757
3806
|
# resp.kms_key_arn #=> String
|
|
3807
|
+
# resp.interceptor_configurations #=> Array
|
|
3808
|
+
# resp.interceptor_configurations[0].interceptor.lambda.arn #=> String
|
|
3809
|
+
# resp.interceptor_configurations[0].interception_points #=> Array
|
|
3810
|
+
# resp.interceptor_configurations[0].interception_points[0] #=> String, one of "REQUEST", "RESPONSE"
|
|
3811
|
+
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
3758
3812
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
3759
3813
|
# resp.exception_level #=> String, one of "DEBUG"
|
|
3760
3814
|
#
|
|
@@ -4422,7 +4476,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4422
4476
|
tracer: tracer
|
|
4423
4477
|
)
|
|
4424
4478
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
4425
|
-
context[:gem_version] = '1.
|
|
4479
|
+
context[:gem_version] = '1.15.0'
|
|
4426
4480
|
Seahorse::Client::Request.new(handlers, context)
|
|
4427
4481
|
end
|
|
4428
4482
|
|
|
@@ -155,6 +155,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
155
155
|
GatewayDescription = Shapes::StringShape.new(name: 'GatewayDescription')
|
|
156
156
|
GatewayId = Shapes::StringShape.new(name: 'GatewayId')
|
|
157
157
|
GatewayIdentifier = Shapes::StringShape.new(name: 'GatewayIdentifier')
|
|
158
|
+
GatewayInterceptionPoint = Shapes::StringShape.new(name: 'GatewayInterceptionPoint')
|
|
159
|
+
GatewayInterceptionPoints = Shapes::ListShape.new(name: 'GatewayInterceptionPoints')
|
|
160
|
+
GatewayInterceptorConfiguration = Shapes::StructureShape.new(name: 'GatewayInterceptorConfiguration')
|
|
161
|
+
GatewayInterceptorConfigurations = Shapes::ListShape.new(name: 'GatewayInterceptorConfigurations')
|
|
158
162
|
GatewayMaxResults = Shapes::IntegerShape.new(name: 'GatewayMaxResults')
|
|
159
163
|
GatewayName = Shapes::StringShape.new(name: 'GatewayName')
|
|
160
164
|
GatewayNextToken = Shapes::StringShape.new(name: 'GatewayNextToken')
|
|
@@ -197,6 +201,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
197
201
|
IncludedOauth2ProviderConfigOutput = Shapes::StructureShape.new(name: 'IncludedOauth2ProviderConfigOutput')
|
|
198
202
|
InlinePayload = Shapes::StringShape.new(name: 'InlinePayload')
|
|
199
203
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
204
|
+
InterceptorConfiguration = Shapes::UnionShape.new(name: 'InterceptorConfiguration')
|
|
205
|
+
InterceptorInputConfiguration = Shapes::StructureShape.new(name: 'InterceptorInputConfiguration')
|
|
200
206
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
201
207
|
InvocationConfiguration = Shapes::StructureShape.new(name: 'InvocationConfiguration')
|
|
202
208
|
InvocationConfigurationInput = Shapes::StructureShape.new(name: 'InvocationConfigurationInput')
|
|
@@ -206,6 +212,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
206
212
|
KmsConfiguration = Shapes::StructureShape.new(name: 'KmsConfiguration')
|
|
207
213
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
208
214
|
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
|
215
|
+
LambdaInterceptorConfiguration = Shapes::StructureShape.new(name: 'LambdaInterceptorConfiguration')
|
|
209
216
|
LifecycleConfiguration = Shapes::StructureShape.new(name: 'LifecycleConfiguration')
|
|
210
217
|
LifecycleConfigurationIdleRuntimeSessionTimeoutInteger = Shapes::IntegerShape.new(name: 'LifecycleConfigurationIdleRuntimeSessionTimeoutInteger')
|
|
211
218
|
LifecycleConfigurationMaxLifetimeInteger = Shapes::IntegerShape.new(name: 'LifecycleConfigurationMaxLifetimeInteger')
|
|
@@ -663,6 +670,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
663
670
|
CreateGatewayRequest.add_member(:authorizer_type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "authorizerType"))
|
|
664
671
|
CreateGatewayRequest.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
|
|
665
672
|
CreateGatewayRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
673
|
+
CreateGatewayRequest.add_member(:interceptor_configurations, Shapes::ShapeRef.new(shape: GatewayInterceptorConfigurations, location_name: "interceptorConfigurations"))
|
|
666
674
|
CreateGatewayRequest.add_member(:exception_level, Shapes::ShapeRef.new(shape: ExceptionLevel, location_name: "exceptionLevel"))
|
|
667
675
|
CreateGatewayRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
668
676
|
CreateGatewayRequest.struct_class = Types::CreateGatewayRequest
|
|
@@ -682,6 +690,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
682
690
|
CreateGatewayResponse.add_member(:authorizer_type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "authorizerType"))
|
|
683
691
|
CreateGatewayResponse.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
|
|
684
692
|
CreateGatewayResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
693
|
+
CreateGatewayResponse.add_member(:interceptor_configurations, Shapes::ShapeRef.new(shape: GatewayInterceptorConfigurations, location_name: "interceptorConfigurations"))
|
|
685
694
|
CreateGatewayResponse.add_member(:workload_identity_details, Shapes::ShapeRef.new(shape: WorkloadIdentityDetails, location_name: "workloadIdentityDetails"))
|
|
686
695
|
CreateGatewayResponse.add_member(:exception_level, Shapes::ShapeRef.new(shape: ExceptionLevel, location_name: "exceptionLevel"))
|
|
687
696
|
CreateGatewayResponse.struct_class = Types::CreateGatewayResponse
|
|
@@ -922,6 +931,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
922
931
|
ExtractionConfiguration.add_member_subclass(:unknown, Types::ExtractionConfiguration::Unknown)
|
|
923
932
|
ExtractionConfiguration.struct_class = Types::ExtractionConfiguration
|
|
924
933
|
|
|
934
|
+
GatewayInterceptionPoints.member = Shapes::ShapeRef.new(shape: GatewayInterceptionPoint)
|
|
935
|
+
|
|
936
|
+
GatewayInterceptorConfiguration.add_member(:interceptor, Shapes::ShapeRef.new(shape: InterceptorConfiguration, required: true, location_name: "interceptor"))
|
|
937
|
+
GatewayInterceptorConfiguration.add_member(:interception_points, Shapes::ShapeRef.new(shape: GatewayInterceptionPoints, required: true, location_name: "interceptionPoints"))
|
|
938
|
+
GatewayInterceptorConfiguration.add_member(:input_configuration, Shapes::ShapeRef.new(shape: InterceptorInputConfiguration, location_name: "inputConfiguration"))
|
|
939
|
+
GatewayInterceptorConfiguration.struct_class = Types::GatewayInterceptorConfiguration
|
|
940
|
+
|
|
941
|
+
GatewayInterceptorConfigurations.member = Shapes::ShapeRef.new(shape: GatewayInterceptorConfiguration)
|
|
942
|
+
|
|
925
943
|
GatewayProtocolConfiguration.add_member(:mcp, Shapes::ShapeRef.new(shape: MCPGatewayConfiguration, location_name: "mcp"))
|
|
926
944
|
GatewayProtocolConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
927
945
|
GatewayProtocolConfiguration.add_member_subclass(:mcp, Types::GatewayProtocolConfiguration::Mcp)
|
|
@@ -1055,6 +1073,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1055
1073
|
GetGatewayResponse.add_member(:authorizer_type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "authorizerType"))
|
|
1056
1074
|
GetGatewayResponse.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
|
|
1057
1075
|
GetGatewayResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
1076
|
+
GetGatewayResponse.add_member(:interceptor_configurations, Shapes::ShapeRef.new(shape: GatewayInterceptorConfigurations, location_name: "interceptorConfigurations"))
|
|
1058
1077
|
GetGatewayResponse.add_member(:workload_identity_details, Shapes::ShapeRef.new(shape: WorkloadIdentityDetails, location_name: "workloadIdentityDetails"))
|
|
1059
1078
|
GetGatewayResponse.add_member(:exception_level, Shapes::ShapeRef.new(shape: ExceptionLevel, location_name: "exceptionLevel"))
|
|
1060
1079
|
GetGatewayResponse.struct_class = Types::GetGatewayResponse
|
|
@@ -1140,6 +1159,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
1140
1159
|
IncludedOauth2ProviderConfigOutput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "clientId"))
|
|
1141
1160
|
IncludedOauth2ProviderConfigOutput.struct_class = Types::IncludedOauth2ProviderConfigOutput
|
|
1142
1161
|
|
|
1162
|
+
InterceptorConfiguration.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaInterceptorConfiguration, location_name: "lambda"))
|
|
1163
|
+
InterceptorConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1164
|
+
InterceptorConfiguration.add_member_subclass(:lambda, Types::InterceptorConfiguration::Lambda)
|
|
1165
|
+
InterceptorConfiguration.add_member_subclass(:unknown, Types::InterceptorConfiguration::Unknown)
|
|
1166
|
+
InterceptorConfiguration.struct_class = Types::InterceptorConfiguration
|
|
1167
|
+
|
|
1168
|
+
InterceptorInputConfiguration.add_member(:pass_request_headers, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "passRequestHeaders"))
|
|
1169
|
+
InterceptorInputConfiguration.struct_class = Types::InterceptorInputConfiguration
|
|
1170
|
+
|
|
1143
1171
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
1144
1172
|
InternalServerException.struct_class = Types::InternalServerException
|
|
1145
1173
|
|
|
@@ -1155,6 +1183,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1155
1183
|
KmsConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
1156
1184
|
KmsConfiguration.struct_class = Types::KmsConfiguration
|
|
1157
1185
|
|
|
1186
|
+
LambdaInterceptorConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "arn"))
|
|
1187
|
+
LambdaInterceptorConfiguration.struct_class = Types::LambdaInterceptorConfiguration
|
|
1188
|
+
|
|
1158
1189
|
LifecycleConfiguration.add_member(:idle_runtime_session_timeout, Shapes::ShapeRef.new(shape: LifecycleConfigurationIdleRuntimeSessionTimeoutInteger, location_name: "idleRuntimeSessionTimeout"))
|
|
1159
1190
|
LifecycleConfiguration.add_member(:max_lifetime, Shapes::ShapeRef.new(shape: LifecycleConfigurationMaxLifetimeInteger, location_name: "maxLifetime"))
|
|
1160
1191
|
LifecycleConfiguration.struct_class = Types::LifecycleConfiguration
|
|
@@ -1786,6 +1817,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1786
1817
|
UpdateGatewayRequest.add_member(:authorizer_type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "authorizerType"))
|
|
1787
1818
|
UpdateGatewayRequest.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
|
|
1788
1819
|
UpdateGatewayRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
1820
|
+
UpdateGatewayRequest.add_member(:interceptor_configurations, Shapes::ShapeRef.new(shape: GatewayInterceptorConfigurations, location_name: "interceptorConfigurations"))
|
|
1789
1821
|
UpdateGatewayRequest.add_member(:exception_level, Shapes::ShapeRef.new(shape: ExceptionLevel, location_name: "exceptionLevel"))
|
|
1790
1822
|
UpdateGatewayRequest.struct_class = Types::UpdateGatewayRequest
|
|
1791
1823
|
|
|
@@ -1804,6 +1836,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1804
1836
|
UpdateGatewayResponse.add_member(:authorizer_type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "authorizerType"))
|
|
1805
1837
|
UpdateGatewayResponse.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
|
|
1806
1838
|
UpdateGatewayResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
1839
|
+
UpdateGatewayResponse.add_member(:interceptor_configurations, Shapes::ShapeRef.new(shape: GatewayInterceptorConfigurations, location_name: "interceptorConfigurations"))
|
|
1807
1840
|
UpdateGatewayResponse.add_member(:workload_identity_details, Shapes::ShapeRef.new(shape: WorkloadIdentityDetails, location_name: "workloadIdentityDetails"))
|
|
1808
1841
|
UpdateGatewayResponse.add_member(:exception_level, Shapes::ShapeRef.new(shape: ExceptionLevel, location_name: "exceptionLevel"))
|
|
1809
1842
|
UpdateGatewayResponse.struct_class = Types::UpdateGatewayResponse
|
|
@@ -1068,6 +1068,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1068
1068
|
#
|
|
1069
1069
|
# * `AWS_IAM` - Authorize with your Amazon Web Services IAM
|
|
1070
1070
|
# credentials.
|
|
1071
|
+
#
|
|
1072
|
+
# * `NONE` - No authorization
|
|
1071
1073
|
# @return [String]
|
|
1072
1074
|
#
|
|
1073
1075
|
# @!attribute [rw] authorizer_configuration
|
|
@@ -1080,6 +1082,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
1080
1082
|
# associated with the gateway.
|
|
1081
1083
|
# @return [String]
|
|
1082
1084
|
#
|
|
1085
|
+
# @!attribute [rw] interceptor_configurations
|
|
1086
|
+
# A list of configuration settings for a gateway interceptor. Gateway
|
|
1087
|
+
# interceptors allow custom code to be invoked during gateway
|
|
1088
|
+
# invocations.
|
|
1089
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
1090
|
+
#
|
|
1083
1091
|
# @!attribute [rw] exception_level
|
|
1084
1092
|
# The level of detail in error messages returned when invoking the
|
|
1085
1093
|
# gateway.
|
|
@@ -1108,6 +1116,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1108
1116
|
:authorizer_type,
|
|
1109
1117
|
:authorizer_configuration,
|
|
1110
1118
|
:kms_key_arn,
|
|
1119
|
+
:interceptor_configurations,
|
|
1111
1120
|
:exception_level,
|
|
1112
1121
|
:tags)
|
|
1113
1122
|
SENSITIVE = [:name, :description]
|
|
@@ -1176,6 +1185,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1176
1185
|
# associated with the gateway.
|
|
1177
1186
|
# @return [String]
|
|
1178
1187
|
#
|
|
1188
|
+
# @!attribute [rw] interceptor_configurations
|
|
1189
|
+
# The list of interceptor configurations for the created gateway.
|
|
1190
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
1191
|
+
#
|
|
1179
1192
|
# @!attribute [rw] workload_identity_details
|
|
1180
1193
|
# The workload identity details for the created gateway.
|
|
1181
1194
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -1209,6 +1222,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1209
1222
|
:authorizer_type,
|
|
1210
1223
|
:authorizer_configuration,
|
|
1211
1224
|
:kms_key_arn,
|
|
1225
|
+
:interceptor_configurations,
|
|
1212
1226
|
:workload_identity_details,
|
|
1213
1227
|
:exception_level)
|
|
1214
1228
|
SENSITIVE = [:name, :description]
|
|
@@ -2234,6 +2248,35 @@ module Aws::BedrockAgentCoreControl
|
|
|
2234
2248
|
class Unknown < ExtractionConfiguration; end
|
|
2235
2249
|
end
|
|
2236
2250
|
|
|
2251
|
+
# The configuration for an interceptor on a gateway. This structure
|
|
2252
|
+
# defines settings for an interceptor that will be invoked during the
|
|
2253
|
+
# invocation of the gateway.
|
|
2254
|
+
#
|
|
2255
|
+
# @!attribute [rw] interceptor
|
|
2256
|
+
# The infrastructure settings of an interceptor configuration. This
|
|
2257
|
+
# structure defines how the interceptor can be invoked.
|
|
2258
|
+
# @return [Types::InterceptorConfiguration]
|
|
2259
|
+
#
|
|
2260
|
+
# @!attribute [rw] interception_points
|
|
2261
|
+
# The supported points of interception. This field specifies which
|
|
2262
|
+
# points during the gateway invocation to invoke the interceptor
|
|
2263
|
+
# @return [Array<String>]
|
|
2264
|
+
#
|
|
2265
|
+
# @!attribute [rw] input_configuration
|
|
2266
|
+
# The configuration for the input of the interceptor. This field
|
|
2267
|
+
# specifies how the input to the interceptor is constructed
|
|
2268
|
+
# @return [Types::InterceptorInputConfiguration]
|
|
2269
|
+
#
|
|
2270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayInterceptorConfiguration AWS API Documentation
|
|
2271
|
+
#
|
|
2272
|
+
class GatewayInterceptorConfiguration < Struct.new(
|
|
2273
|
+
:interceptor,
|
|
2274
|
+
:interception_points,
|
|
2275
|
+
:input_configuration)
|
|
2276
|
+
SENSITIVE = []
|
|
2277
|
+
include Aws::Structure
|
|
2278
|
+
end
|
|
2279
|
+
|
|
2237
2280
|
# The configuration for a gateway protocol. This structure defines how
|
|
2238
2281
|
# the gateway communicates with external services.
|
|
2239
2282
|
#
|
|
@@ -2839,6 +2882,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
2839
2882
|
# gateway.
|
|
2840
2883
|
# @return [String]
|
|
2841
2884
|
#
|
|
2885
|
+
# @!attribute [rw] interceptor_configurations
|
|
2886
|
+
# The interceptors configured on the gateway.
|
|
2887
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
2888
|
+
#
|
|
2842
2889
|
# @!attribute [rw] workload_identity_details
|
|
2843
2890
|
# The workload identity details for the gateway.
|
|
2844
2891
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -2872,6 +2919,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2872
2919
|
:authorizer_type,
|
|
2873
2920
|
:authorizer_configuration,
|
|
2874
2921
|
:kms_key_arn,
|
|
2922
|
+
:interceptor_configurations,
|
|
2875
2923
|
:workload_identity_details,
|
|
2876
2924
|
:exception_level)
|
|
2877
2925
|
SENSITIVE = [:name, :description]
|
|
@@ -3263,6 +3311,44 @@ module Aws::BedrockAgentCoreControl
|
|
|
3263
3311
|
include Aws::Structure
|
|
3264
3312
|
end
|
|
3265
3313
|
|
|
3314
|
+
# The interceptor configuration.
|
|
3315
|
+
#
|
|
3316
|
+
# @note InterceptorConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
3317
|
+
#
|
|
3318
|
+
# @note InterceptorConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InterceptorConfiguration corresponding to the set member.
|
|
3319
|
+
#
|
|
3320
|
+
# @!attribute [rw] lambda
|
|
3321
|
+
# The details of the lambda function used for the interceptor.
|
|
3322
|
+
# @return [Types::LambdaInterceptorConfiguration]
|
|
3323
|
+
#
|
|
3324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InterceptorConfiguration AWS API Documentation
|
|
3325
|
+
#
|
|
3326
|
+
class InterceptorConfiguration < Struct.new(
|
|
3327
|
+
:lambda,
|
|
3328
|
+
:unknown)
|
|
3329
|
+
SENSITIVE = []
|
|
3330
|
+
include Aws::Structure
|
|
3331
|
+
include Aws::Structure::Union
|
|
3332
|
+
|
|
3333
|
+
class Lambda < InterceptorConfiguration; end
|
|
3334
|
+
class Unknown < InterceptorConfiguration; end
|
|
3335
|
+
end
|
|
3336
|
+
|
|
3337
|
+
# The input configuration of the interceptor.
|
|
3338
|
+
#
|
|
3339
|
+
# @!attribute [rw] pass_request_headers
|
|
3340
|
+
# Indicates whether to pass request headers as input into the
|
|
3341
|
+
# interceptor. When set to true, request headers will be passed.
|
|
3342
|
+
# @return [Boolean]
|
|
3343
|
+
#
|
|
3344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InterceptorInputConfiguration AWS API Documentation
|
|
3345
|
+
#
|
|
3346
|
+
class InterceptorInputConfiguration < Struct.new(
|
|
3347
|
+
:pass_request_headers)
|
|
3348
|
+
SENSITIVE = []
|
|
3349
|
+
include Aws::Structure
|
|
3350
|
+
end
|
|
3351
|
+
|
|
3266
3352
|
# This exception is thrown if there was an unexpected error during
|
|
3267
3353
|
# processing of request
|
|
3268
3354
|
#
|
|
@@ -3336,6 +3422,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
3336
3422
|
include Aws::Structure
|
|
3337
3423
|
end
|
|
3338
3424
|
|
|
3425
|
+
# The lambda configuration for the interceptor
|
|
3426
|
+
#
|
|
3427
|
+
# @!attribute [rw] arn
|
|
3428
|
+
# The arn of the lambda function to be invoked for the interceptor.
|
|
3429
|
+
# @return [String]
|
|
3430
|
+
#
|
|
3431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LambdaInterceptorConfiguration AWS API Documentation
|
|
3432
|
+
#
|
|
3433
|
+
class LambdaInterceptorConfiguration < Struct.new(
|
|
3434
|
+
:arn)
|
|
3435
|
+
SENSITIVE = []
|
|
3436
|
+
include Aws::Structure
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3339
3439
|
# LifecycleConfiguration lets you manage the lifecycle of runtime
|
|
3340
3440
|
# sessions and resources in AgentCore Runtime. This configuration helps
|
|
3341
3441
|
# optimize resource utilization by automatically cleaning up idle
|
|
@@ -5953,6 +6053,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
5953
6053
|
# The updated ARN of the KMS key used to encrypt the gateway.
|
|
5954
6054
|
# @return [String]
|
|
5955
6055
|
#
|
|
6056
|
+
# @!attribute [rw] interceptor_configurations
|
|
6057
|
+
# The updated interceptor configurations for the gateway.
|
|
6058
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
6059
|
+
#
|
|
5956
6060
|
# @!attribute [rw] exception_level
|
|
5957
6061
|
# The level of detail in error messages returned when invoking the
|
|
5958
6062
|
# gateway.
|
|
@@ -5976,6 +6080,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5976
6080
|
:authorizer_type,
|
|
5977
6081
|
:authorizer_configuration,
|
|
5978
6082
|
:kms_key_arn,
|
|
6083
|
+
:interceptor_configurations,
|
|
5979
6084
|
:exception_level)
|
|
5980
6085
|
SENSITIVE = [:name, :description]
|
|
5981
6086
|
include Aws::Structure
|
|
@@ -6042,6 +6147,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
6042
6147
|
# The updated ARN of the KMS key used to encrypt the gateway.
|
|
6043
6148
|
# @return [String]
|
|
6044
6149
|
#
|
|
6150
|
+
# @!attribute [rw] interceptor_configurations
|
|
6151
|
+
# The updated interceptor configurations for the gateway.
|
|
6152
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
6153
|
+
#
|
|
6045
6154
|
# @!attribute [rw] workload_identity_details
|
|
6046
6155
|
# The workload identity details for the updated gateway.
|
|
6047
6156
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -6075,6 +6184,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
6075
6184
|
:authorizer_type,
|
|
6076
6185
|
:authorizer_configuration,
|
|
6077
6186
|
:kms_key_arn,
|
|
6187
|
+
:interceptor_configurations,
|
|
6078
6188
|
:workload_identity_details,
|
|
6079
6189
|
:exception_level)
|
|
6080
6190
|
SENSITIVE = [:name, :description]
|
data/sig/client.rbs
CHANGED
|
@@ -246,9 +246,10 @@ module Aws
|
|
|
246
246
|
def role_arn: () -> ::String
|
|
247
247
|
def protocol_type: () -> ("MCP")
|
|
248
248
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
249
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
249
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
250
250
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
251
251
|
def kms_key_arn: () -> ::String
|
|
252
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
252
253
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
253
254
|
def exception_level: () -> ("DEBUG")
|
|
254
255
|
end
|
|
@@ -266,7 +267,7 @@ module Aws
|
|
|
266
267
|
search_type: ("SEMANTIC")?
|
|
267
268
|
}?
|
|
268
269
|
},
|
|
269
|
-
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM"),
|
|
270
|
+
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE"),
|
|
270
271
|
?authorizer_configuration: {
|
|
271
272
|
custom_jwt_authorizer: {
|
|
272
273
|
discovery_url: ::String,
|
|
@@ -275,6 +276,19 @@ module Aws
|
|
|
275
276
|
}?
|
|
276
277
|
},
|
|
277
278
|
?kms_key_arn: ::String,
|
|
279
|
+
?interceptor_configurations: Array[
|
|
280
|
+
{
|
|
281
|
+
interceptor: {
|
|
282
|
+
lambda: {
|
|
283
|
+
arn: ::String
|
|
284
|
+
}?
|
|
285
|
+
},
|
|
286
|
+
interception_points: Array[("REQUEST" | "RESPONSE")],
|
|
287
|
+
input_configuration: {
|
|
288
|
+
pass_request_headers: bool
|
|
289
|
+
}?
|
|
290
|
+
},
|
|
291
|
+
],
|
|
278
292
|
?exception_level: ("DEBUG"),
|
|
279
293
|
?tags: Hash[::String, ::String]
|
|
280
294
|
) -> _CreateGatewayResponseSuccess
|
|
@@ -774,9 +788,10 @@ module Aws
|
|
|
774
788
|
def role_arn: () -> ::String
|
|
775
789
|
def protocol_type: () -> ("MCP")
|
|
776
790
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
777
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
791
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
778
792
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
779
793
|
def kms_key_arn: () -> ::String
|
|
794
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
780
795
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
781
796
|
def exception_level: () -> ("DEBUG")
|
|
782
797
|
end
|
|
@@ -1163,9 +1178,10 @@ module Aws
|
|
|
1163
1178
|
def role_arn: () -> ::String
|
|
1164
1179
|
def protocol_type: () -> ("MCP")
|
|
1165
1180
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
1166
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
1181
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
1167
1182
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
1168
1183
|
def kms_key_arn: () -> ::String
|
|
1184
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
1169
1185
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
1170
1186
|
def exception_level: () -> ("DEBUG")
|
|
1171
1187
|
end
|
|
@@ -1183,7 +1199,7 @@ module Aws
|
|
|
1183
1199
|
search_type: ("SEMANTIC")?
|
|
1184
1200
|
}?
|
|
1185
1201
|
},
|
|
1186
|
-
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM"),
|
|
1202
|
+
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE"),
|
|
1187
1203
|
?authorizer_configuration: {
|
|
1188
1204
|
custom_jwt_authorizer: {
|
|
1189
1205
|
discovery_url: ::String,
|
|
@@ -1192,6 +1208,19 @@ module Aws
|
|
|
1192
1208
|
}?
|
|
1193
1209
|
},
|
|
1194
1210
|
?kms_key_arn: ::String,
|
|
1211
|
+
?interceptor_configurations: Array[
|
|
1212
|
+
{
|
|
1213
|
+
interceptor: {
|
|
1214
|
+
lambda: {
|
|
1215
|
+
arn: ::String
|
|
1216
|
+
}?
|
|
1217
|
+
},
|
|
1218
|
+
interception_points: Array[("REQUEST" | "RESPONSE")],
|
|
1219
|
+
input_configuration: {
|
|
1220
|
+
pass_request_headers: bool
|
|
1221
|
+
}?
|
|
1222
|
+
},
|
|
1223
|
+
],
|
|
1195
1224
|
?exception_level: ("DEBUG")
|
|
1196
1225
|
) -> _UpdateGatewayResponseSuccess
|
|
1197
1226
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -299,9 +299,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
299
299
|
attr_accessor role_arn: ::String
|
|
300
300
|
attr_accessor protocol_type: ("MCP")
|
|
301
301
|
attr_accessor protocol_configuration: Types::GatewayProtocolConfiguration
|
|
302
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
302
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
303
303
|
attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
|
|
304
304
|
attr_accessor kms_key_arn: ::String
|
|
305
|
+
attr_accessor interceptor_configurations: ::Array[Types::GatewayInterceptorConfiguration]
|
|
305
306
|
attr_accessor exception_level: ("DEBUG")
|
|
306
307
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
307
308
|
SENSITIVE: [:name, :description]
|
|
@@ -320,9 +321,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
320
321
|
attr_accessor role_arn: ::String
|
|
321
322
|
attr_accessor protocol_type: ("MCP")
|
|
322
323
|
attr_accessor protocol_configuration: Types::GatewayProtocolConfiguration
|
|
323
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
324
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
324
325
|
attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
|
|
325
326
|
attr_accessor kms_key_arn: ::String
|
|
327
|
+
attr_accessor interceptor_configurations: ::Array[Types::GatewayInterceptorConfiguration]
|
|
326
328
|
attr_accessor workload_identity_details: Types::WorkloadIdentityDetails
|
|
327
329
|
attr_accessor exception_level: ("DEBUG")
|
|
328
330
|
SENSITIVE: [:name, :description]
|
|
@@ -671,6 +673,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
671
673
|
end
|
|
672
674
|
end
|
|
673
675
|
|
|
676
|
+
class GatewayInterceptorConfiguration
|
|
677
|
+
attr_accessor interceptor: Types::InterceptorConfiguration
|
|
678
|
+
attr_accessor interception_points: ::Array[("REQUEST" | "RESPONSE")]
|
|
679
|
+
attr_accessor input_configuration: Types::InterceptorInputConfiguration
|
|
680
|
+
SENSITIVE: []
|
|
681
|
+
end
|
|
682
|
+
|
|
674
683
|
class GatewayProtocolConfiguration
|
|
675
684
|
attr_accessor mcp: Types::MCPGatewayConfiguration
|
|
676
685
|
attr_accessor unknown: untyped
|
|
@@ -689,7 +698,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
689
698
|
attr_accessor description: ::String
|
|
690
699
|
attr_accessor created_at: ::Time
|
|
691
700
|
attr_accessor updated_at: ::Time
|
|
692
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
701
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
693
702
|
attr_accessor protocol_type: ("MCP")
|
|
694
703
|
SENSITIVE: [:name, :description]
|
|
695
704
|
end
|
|
@@ -829,9 +838,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
829
838
|
attr_accessor role_arn: ::String
|
|
830
839
|
attr_accessor protocol_type: ("MCP")
|
|
831
840
|
attr_accessor protocol_configuration: Types::GatewayProtocolConfiguration
|
|
832
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
841
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
833
842
|
attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
|
|
834
843
|
attr_accessor kms_key_arn: ::String
|
|
844
|
+
attr_accessor interceptor_configurations: ::Array[Types::GatewayInterceptorConfiguration]
|
|
835
845
|
attr_accessor workload_identity_details: Types::WorkloadIdentityDetails
|
|
836
846
|
attr_accessor exception_level: ("DEBUG")
|
|
837
847
|
SENSITIVE: [:name, :description]
|
|
@@ -950,6 +960,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
950
960
|
SENSITIVE: []
|
|
951
961
|
end
|
|
952
962
|
|
|
963
|
+
class InterceptorConfiguration
|
|
964
|
+
attr_accessor lambda: Types::LambdaInterceptorConfiguration
|
|
965
|
+
attr_accessor unknown: untyped
|
|
966
|
+
SENSITIVE: []
|
|
967
|
+
|
|
968
|
+
class Lambda < InterceptorConfiguration
|
|
969
|
+
end
|
|
970
|
+
class Unknown < InterceptorConfiguration
|
|
971
|
+
end
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
class InterceptorInputConfiguration
|
|
975
|
+
attr_accessor pass_request_headers: bool
|
|
976
|
+
SENSITIVE: []
|
|
977
|
+
end
|
|
978
|
+
|
|
953
979
|
class InternalServerException
|
|
954
980
|
attr_accessor message: ::String
|
|
955
981
|
SENSITIVE: []
|
|
@@ -973,6 +999,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
973
999
|
SENSITIVE: []
|
|
974
1000
|
end
|
|
975
1001
|
|
|
1002
|
+
class LambdaInterceptorConfiguration
|
|
1003
|
+
attr_accessor arn: ::String
|
|
1004
|
+
SENSITIVE: []
|
|
1005
|
+
end
|
|
1006
|
+
|
|
976
1007
|
class LifecycleConfiguration
|
|
977
1008
|
attr_accessor idle_runtime_session_timeout: ::Integer
|
|
978
1009
|
attr_accessor max_lifetime: ::Integer
|
|
@@ -1827,9 +1858,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1827
1858
|
attr_accessor role_arn: ::String
|
|
1828
1859
|
attr_accessor protocol_type: ("MCP")
|
|
1829
1860
|
attr_accessor protocol_configuration: Types::GatewayProtocolConfiguration
|
|
1830
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
1861
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
1831
1862
|
attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
|
|
1832
1863
|
attr_accessor kms_key_arn: ::String
|
|
1864
|
+
attr_accessor interceptor_configurations: ::Array[Types::GatewayInterceptorConfiguration]
|
|
1833
1865
|
attr_accessor exception_level: ("DEBUG")
|
|
1834
1866
|
SENSITIVE: [:name, :description]
|
|
1835
1867
|
end
|
|
@@ -1847,9 +1879,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1847
1879
|
attr_accessor role_arn: ::String
|
|
1848
1880
|
attr_accessor protocol_type: ("MCP")
|
|
1849
1881
|
attr_accessor protocol_configuration: Types::GatewayProtocolConfiguration
|
|
1850
|
-
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")
|
|
1882
|
+
attr_accessor authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
1851
1883
|
attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
|
|
1852
1884
|
attr_accessor kms_key_arn: ::String
|
|
1885
|
+
attr_accessor interceptor_configurations: ::Array[Types::GatewayInterceptorConfiguration]
|
|
1853
1886
|
attr_accessor workload_identity_details: Types::WorkloadIdentityDetails
|
|
1854
1887
|
attr_accessor exception_level: ("DEBUG")
|
|
1855
1888
|
SENSITIVE: [:name, :description]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockagentcorecontrol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.239.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.239.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|