aws-sdk-bedrockagentcorecontrol 1.96.0 → 1.97.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 +15 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +8 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +44 -1
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/params.rbs +5 -1
- data/sig/types.rbs +7 -0
- 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: 7f9ba63bf86e2d83497f133376dbc4d1ed830ae61dbe72ea183ac776a564483e
|
|
4
|
+
data.tar.gz: bd1fd2b357e91dbb5bd9402c4809fa419d326e29586c30d2f674939665ba7451
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 430f96002099e5addb6c5d068e94b7c9be9d53fbfc9e168af2a4484857f5e45c33eb7839cd99b9e7ff7841ceee32fd541a179c7407a8a65ba35eee3767ad9068
|
|
7
|
+
data.tar.gz: 852244378a50146976bd0740ab7fd56d41655d6fa9d61ebbf857ef6e4b337f9263ed0aaeed7cff0a89e0e18e6eecc773c077017a056debd0bd47ae3f853a2ed0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.97.0 (2026-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds responseInterceptionMode and responseStreamingConfiguration to gateway interceptor configurations. Set responseInterceptionMode to STREAM to have the response interceptor process streaming responses from HTTP and inference targets in batches of events.
|
|
8
|
+
|
|
4
9
|
1.96.0 (2026-11-19)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.97.0
|
|
@@ -2307,6 +2307,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
2307
2307
|
# ],
|
|
2308
2308
|
# },
|
|
2309
2309
|
# },
|
|
2310
|
+
# response_interception_mode: "BUFFERED", # accepts BUFFERED, STREAM
|
|
2311
|
+
# response_streaming_configuration: {
|
|
2312
|
+
# max_events_per_invocation: 1,
|
|
2313
|
+
# },
|
|
2310
2314
|
# },
|
|
2311
2315
|
# ],
|
|
2312
2316
|
# policy_engine_configuration: {
|
|
@@ -2400,6 +2404,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2400
2404
|
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
2401
2405
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude #=> Array
|
|
2402
2406
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude[0].field #=> String, one of "RESPONSE_BODY"
|
|
2407
|
+
# resp.interceptor_configurations[0].response_interception_mode #=> String, one of "BUFFERED", "STREAM"
|
|
2408
|
+
# resp.interceptor_configurations[0].response_streaming_configuration.max_events_per_invocation #=> Integer
|
|
2403
2409
|
# resp.policy_engine_configuration.arn #=> String
|
|
2404
2410
|
# resp.policy_engine_configuration.mode #=> String, one of "LOG_ONLY", "ENFORCE"
|
|
2405
2411
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
@@ -8395,6 +8401,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
8395
8401
|
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
8396
8402
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude #=> Array
|
|
8397
8403
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude[0].field #=> String, one of "RESPONSE_BODY"
|
|
8404
|
+
# resp.interceptor_configurations[0].response_interception_mode #=> String, one of "BUFFERED", "STREAM"
|
|
8405
|
+
# resp.interceptor_configurations[0].response_streaming_configuration.max_events_per_invocation #=> Integer
|
|
8398
8406
|
# resp.policy_engine_configuration.arn #=> String
|
|
8399
8407
|
# resp.policy_engine_configuration.mode #=> String, one of "LOG_ONLY", "ENFORCE"
|
|
8400
8408
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
@@ -14333,6 +14341,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
14333
14341
|
# ],
|
|
14334
14342
|
# },
|
|
14335
14343
|
# },
|
|
14344
|
+
# response_interception_mode: "BUFFERED", # accepts BUFFERED, STREAM
|
|
14345
|
+
# response_streaming_configuration: {
|
|
14346
|
+
# max_events_per_invocation: 1,
|
|
14347
|
+
# },
|
|
14336
14348
|
# },
|
|
14337
14349
|
# ],
|
|
14338
14350
|
# policy_engine_configuration: {
|
|
@@ -14426,6 +14438,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
14426
14438
|
# resp.interceptor_configurations[0].input_configuration.pass_request_headers #=> Boolean
|
|
14427
14439
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude #=> Array
|
|
14428
14440
|
# resp.interceptor_configurations[0].input_configuration.payload_filter.exclude[0].field #=> String, one of "RESPONSE_BODY"
|
|
14441
|
+
# resp.interceptor_configurations[0].response_interception_mode #=> String, one of "BUFFERED", "STREAM"
|
|
14442
|
+
# resp.interceptor_configurations[0].response_streaming_configuration.max_events_per_invocation #=> Integer
|
|
14429
14443
|
# resp.policy_engine_configuration.arn #=> String
|
|
14430
14444
|
# resp.policy_engine_configuration.mode #=> String, one of "LOG_ONLY", "ENFORCE"
|
|
14431
14445
|
# resp.workload_identity_details.workload_identity_arn #=> String
|
|
@@ -18155,7 +18169,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
18155
18169
|
tracer: tracer
|
|
18156
18170
|
)
|
|
18157
18171
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
18158
|
-
context[:gem_version] = '1.
|
|
18172
|
+
context[:gem_version] = '1.97.0'
|
|
18159
18173
|
Seahorse::Client::Request.new(handlers, context)
|
|
18160
18174
|
end
|
|
18161
18175
|
|
|
@@ -958,6 +958,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
958
958
|
MatchPrincipalsAnyOfList = Shapes::ListShape.new(name: 'MatchPrincipalsAnyOfList')
|
|
959
959
|
MatchValueString = Shapes::StringShape.new(name: 'MatchValueString')
|
|
960
960
|
MatchValueStringList = Shapes::ListShape.new(name: 'MatchValueStringList')
|
|
961
|
+
MaxEventsPerInvocation = Shapes::IntegerShape.new(name: 'MaxEventsPerInvocation')
|
|
961
962
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
962
963
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
|
963
964
|
McpDescriptor = Shapes::StructureShape.new(name: 'McpDescriptor')
|
|
@@ -1207,7 +1208,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1207
1208
|
ResourceOauth2ReturnUrlType = Shapes::StringShape.new(name: 'ResourceOauth2ReturnUrlType')
|
|
1208
1209
|
ResourcePolicyBody = Shapes::StringShape.new(name: 'ResourcePolicyBody')
|
|
1209
1210
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
1211
|
+
ResponseInterceptionMode = Shapes::StringShape.new(name: 'ResponseInterceptionMode')
|
|
1210
1212
|
ResponseListType = Shapes::ListShape.new(name: 'ResponseListType')
|
|
1213
|
+
ResponseStreamingConfiguration = Shapes::StructureShape.new(name: 'ResponseStreamingConfiguration')
|
|
1211
1214
|
ResponseType = Shapes::StringShape.new(name: 'ResponseType')
|
|
1212
1215
|
RestApiMethod = Shapes::StringShape.new(name: 'RestApiMethod')
|
|
1213
1216
|
RestApiMethods = Shapes::ListShape.new(name: 'RestApiMethods')
|
|
@@ -3357,6 +3360,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
3357
3360
|
GatewayInterceptorConfiguration.add_member(:interceptor, Shapes::ShapeRef.new(shape: InterceptorConfiguration, required: true, location_name: "interceptor"))
|
|
3358
3361
|
GatewayInterceptorConfiguration.add_member(:interception_points, Shapes::ShapeRef.new(shape: GatewayInterceptionPoints, required: true, location_name: "interceptionPoints"))
|
|
3359
3362
|
GatewayInterceptorConfiguration.add_member(:input_configuration, Shapes::ShapeRef.new(shape: InterceptorInputConfiguration, location_name: "inputConfiguration"))
|
|
3363
|
+
GatewayInterceptorConfiguration.add_member(:response_interception_mode, Shapes::ShapeRef.new(shape: ResponseInterceptionMode, location_name: "responseInterceptionMode"))
|
|
3364
|
+
GatewayInterceptorConfiguration.add_member(:response_streaming_configuration, Shapes::ShapeRef.new(shape: ResponseStreamingConfiguration, location_name: "responseStreamingConfiguration"))
|
|
3360
3365
|
GatewayInterceptorConfiguration.struct_class = Types::GatewayInterceptorConfiguration
|
|
3361
3366
|
|
|
3362
3367
|
GatewayInterceptorConfigurations.member = Shapes::ShapeRef.new(shape: GatewayInterceptorConfiguration)
|
|
@@ -5727,6 +5732,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
5727
5732
|
|
|
5728
5733
|
ResponseListType.member = Shapes::ShapeRef.new(shape: ResponseType)
|
|
5729
5734
|
|
|
5735
|
+
ResponseStreamingConfiguration.add_member(:max_events_per_invocation, Shapes::ShapeRef.new(shape: MaxEventsPerInvocation, location_name: "maxEventsPerInvocation"))
|
|
5736
|
+
ResponseStreamingConfiguration.struct_class = Types::ResponseStreamingConfiguration
|
|
5737
|
+
|
|
5730
5738
|
RestApiMethods.member = Shapes::ShapeRef.new(shape: RestApiMethod)
|
|
5731
5739
|
|
|
5732
5740
|
RetryableConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -8873,12 +8873,36 @@ module Aws::BedrockAgentCoreControl
|
|
|
8873
8873
|
# specifies how the input to the interceptor is constructed
|
|
8874
8874
|
# @return [Types::InterceptorInputConfiguration]
|
|
8875
8875
|
#
|
|
8876
|
+
# @!attribute [rw] response_interception_mode
|
|
8877
|
+
# Specifies how the interceptor processes streamed target responses.
|
|
8878
|
+
# You can set this field only on an interceptor that includes the
|
|
8879
|
+
# `RESPONSE` interception point. Valid values include:
|
|
8880
|
+
#
|
|
8881
|
+
# * `BUFFERED` - The gateway collects the complete target response and
|
|
8882
|
+
# then invokes the interceptor once. This is the default.
|
|
8883
|
+
#
|
|
8884
|
+
# * `STREAM` - The gateway sends a streamed target response to the
|
|
8885
|
+
# interceptor in batches of events and returns each processed batch
|
|
8886
|
+
# to the client as soon as it's ready. Non-streamed responses still
|
|
8887
|
+
# use `BUFFERED` processing. If you specify `STREAM`, you must also
|
|
8888
|
+
# specify `responseStreamingConfiguration`, and the input
|
|
8889
|
+
# configuration can't exclude the response body.
|
|
8890
|
+
# @return [String]
|
|
8891
|
+
#
|
|
8892
|
+
# @!attribute [rw] response_streaming_configuration
|
|
8893
|
+
# Specifies the batching settings for a streamed response. Specify
|
|
8894
|
+
# this field only when `responseInterceptionMode` is `STREAM`. You
|
|
8895
|
+
# must specify it for `STREAM`.
|
|
8896
|
+
# @return [Types::ResponseStreamingConfiguration]
|
|
8897
|
+
#
|
|
8876
8898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayInterceptorConfiguration AWS API Documentation
|
|
8877
8899
|
#
|
|
8878
8900
|
class GatewayInterceptorConfiguration < Struct.new(
|
|
8879
8901
|
:interceptor,
|
|
8880
8902
|
:interception_points,
|
|
8881
|
-
:input_configuration
|
|
8903
|
+
:input_configuration,
|
|
8904
|
+
:response_interception_mode,
|
|
8905
|
+
:response_streaming_configuration)
|
|
8882
8906
|
SENSITIVE = []
|
|
8883
8907
|
include Aws::Structure
|
|
8884
8908
|
end
|
|
@@ -19997,6 +20021,25 @@ module Aws::BedrockAgentCoreControl
|
|
|
19997
20021
|
include Aws::Structure
|
|
19998
20022
|
end
|
|
19999
20023
|
|
|
20024
|
+
# Specifies the settings that the gateway uses to send a streamed target
|
|
20025
|
+
# response to the interceptor in batches.
|
|
20026
|
+
#
|
|
20027
|
+
# @!attribute [rw] max_events_per_invocation
|
|
20028
|
+
# Specifies the maximum number of response events that the gateway
|
|
20029
|
+
# sends to the interceptor in one invocation. The interceptor's
|
|
20030
|
+
# output for the first batch determines the status code and headers of
|
|
20031
|
+
# the response. The gateway ignores the status code and headers that
|
|
20032
|
+
# the interceptor returns for later batches.
|
|
20033
|
+
# @return [Integer]
|
|
20034
|
+
#
|
|
20035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResponseStreamingConfiguration AWS API Documentation
|
|
20036
|
+
#
|
|
20037
|
+
class ResponseStreamingConfiguration < Struct.new(
|
|
20038
|
+
:max_events_per_invocation)
|
|
20039
|
+
SENSITIVE = []
|
|
20040
|
+
include Aws::Structure
|
|
20041
|
+
end
|
|
20042
|
+
|
|
20000
20043
|
# The operation failed because of a conflicting request. Retry the
|
|
20001
20044
|
# request.
|
|
20002
20045
|
#
|
data/sig/params.rbs
CHANGED
|
@@ -332,7 +332,11 @@ module Aws
|
|
|
332
332
|
}?
|
|
333
333
|
},
|
|
334
334
|
interception_points: Array[("REQUEST" | "RESPONSE")],
|
|
335
|
-
input_configuration: Params::interceptor_input_configuration
|
|
335
|
+
input_configuration: Params::interceptor_input_configuration?,
|
|
336
|
+
response_interception_mode: ("BUFFERED" | "STREAM")?,
|
|
337
|
+
response_streaming_configuration: {
|
|
338
|
+
max_events_per_invocation: ::Integer?
|
|
339
|
+
}?
|
|
336
340
|
}
|
|
337
341
|
|
|
338
342
|
type match_principals = {
|
data/sig/types.rbs
CHANGED
|
@@ -2354,6 +2354,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2354
2354
|
attr_accessor interceptor: Types::InterceptorConfiguration
|
|
2355
2355
|
attr_accessor interception_points: ::Array[("REQUEST" | "RESPONSE")]
|
|
2356
2356
|
attr_accessor input_configuration: Types::InterceptorInputConfiguration
|
|
2357
|
+
attr_accessor response_interception_mode: ("BUFFERED" | "STREAM")
|
|
2358
|
+
attr_accessor response_streaming_configuration: Types::ResponseStreamingConfiguration
|
|
2357
2359
|
SENSITIVE: []
|
|
2358
2360
|
end
|
|
2359
2361
|
|
|
@@ -5480,6 +5482,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5480
5482
|
SENSITIVE: []
|
|
5481
5483
|
end
|
|
5482
5484
|
|
|
5485
|
+
class ResponseStreamingConfiguration
|
|
5486
|
+
attr_accessor max_events_per_invocation: ::Integer
|
|
5487
|
+
SENSITIVE: []
|
|
5488
|
+
end
|
|
5489
|
+
|
|
5483
5490
|
class RetryableConflictException
|
|
5484
5491
|
attr_accessor message: ::String
|
|
5485
5492
|
SENSITIVE: []
|