aws-sdk-bedrockagentcorecontrol 1.17.0 → 1.18.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 +46 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +23 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +69 -6
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +15 -2
- data/sig/types.rbs +13 -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: 4850f7688dae89adbf50a757c237941f2f0a67b6bde3244434c03827a76ea017
|
|
4
|
+
data.tar.gz: e397d1d48514fd6e24e13b1e14e64e491e7aadfb392b5ecb10847f0636d06966
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1555afc426f2ef43e463c947ebc950ef23e1ddaa45158cba16e790553c6901eb41e5efb2bc9e90cfaf03842de6dfa0616b78c6043467f4002a6bb43d6cae0c25
|
|
7
|
+
data.tar.gz: d79c43996e71c35f1683418dcd5cfaa6a73021fbe1bd7a9c9ab12a0eb713f5ef94d9088ef55cbaf2db525731681f4b2cd8abf419868b8809a58d2ad73176c853
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2025-12-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Feature to support header exchanges between Bedrock AgentCore Gateway Targets and client, along with propagating query parameter to the configured targets.
|
|
8
|
+
|
|
4
9
|
1.17.0 (2025-12-15)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -1252,6 +1252,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
1252
1252
|
# configurations specify how the gateway authenticates with the target
|
|
1253
1253
|
# endpoint.
|
|
1254
1254
|
#
|
|
1255
|
+
# @option params [Types::MetadataConfiguration] :metadata_configuration
|
|
1256
|
+
# Optional configuration for HTTP header and query parameter propagation
|
|
1257
|
+
# to and from the gateway target.
|
|
1258
|
+
#
|
|
1255
1259
|
# @return [Types::CreateGatewayTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1256
1260
|
#
|
|
1257
1261
|
# * {Types::CreateGatewayTargetResponse#gateway_arn #gateway_arn} => String
|
|
@@ -1265,6 +1269,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1265
1269
|
# * {Types::CreateGatewayTargetResponse#target_configuration #target_configuration} => Types::TargetConfiguration
|
|
1266
1270
|
# * {Types::CreateGatewayTargetResponse#credential_provider_configurations #credential_provider_configurations} => Array<Types::CredentialProviderConfiguration>
|
|
1267
1271
|
# * {Types::CreateGatewayTargetResponse#last_synchronized_at #last_synchronized_at} => Time
|
|
1272
|
+
# * {Types::CreateGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
1268
1273
|
#
|
|
1269
1274
|
# @example Request syntax with placeholder values
|
|
1270
1275
|
#
|
|
@@ -1377,6 +1382,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1377
1382
|
# },
|
|
1378
1383
|
# },
|
|
1379
1384
|
# ],
|
|
1385
|
+
# metadata_configuration: {
|
|
1386
|
+
# allowed_request_headers: ["HttpHeaderName"],
|
|
1387
|
+
# allowed_query_parameters: ["HttpQueryParameterName"],
|
|
1388
|
+
# allowed_response_headers: ["HttpHeaderName"],
|
|
1389
|
+
# },
|
|
1380
1390
|
# })
|
|
1381
1391
|
#
|
|
1382
1392
|
# @example Response structure
|
|
@@ -1442,6 +1452,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
1442
1452
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_prefix #=> String
|
|
1443
1453
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_location #=> String, one of "HEADER", "QUERY_PARAMETER"
|
|
1444
1454
|
# resp.last_synchronized_at #=> Time
|
|
1455
|
+
# resp.metadata_configuration.allowed_request_headers #=> Array
|
|
1456
|
+
# resp.metadata_configuration.allowed_request_headers[0] #=> String
|
|
1457
|
+
# resp.metadata_configuration.allowed_query_parameters #=> Array
|
|
1458
|
+
# resp.metadata_configuration.allowed_query_parameters[0] #=> String
|
|
1459
|
+
# resp.metadata_configuration.allowed_response_headers #=> Array
|
|
1460
|
+
# resp.metadata_configuration.allowed_response_headers[0] #=> String
|
|
1445
1461
|
#
|
|
1446
1462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTarget AWS API Documentation
|
|
1447
1463
|
#
|
|
@@ -3207,6 +3223,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3207
3223
|
# * {Types::GetGatewayTargetResponse#target_configuration #target_configuration} => Types::TargetConfiguration
|
|
3208
3224
|
# * {Types::GetGatewayTargetResponse#credential_provider_configurations #credential_provider_configurations} => Array<Types::CredentialProviderConfiguration>
|
|
3209
3225
|
# * {Types::GetGatewayTargetResponse#last_synchronized_at #last_synchronized_at} => Time
|
|
3226
|
+
# * {Types::GetGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
3210
3227
|
#
|
|
3211
3228
|
# @example Request syntax with placeholder values
|
|
3212
3229
|
#
|
|
@@ -3278,6 +3295,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
3278
3295
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_prefix #=> String
|
|
3279
3296
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_location #=> String, one of "HEADER", "QUERY_PARAMETER"
|
|
3280
3297
|
# resp.last_synchronized_at #=> Time
|
|
3298
|
+
# resp.metadata_configuration.allowed_request_headers #=> Array
|
|
3299
|
+
# resp.metadata_configuration.allowed_request_headers[0] #=> String
|
|
3300
|
+
# resp.metadata_configuration.allowed_query_parameters #=> Array
|
|
3301
|
+
# resp.metadata_configuration.allowed_query_parameters[0] #=> String
|
|
3302
|
+
# resp.metadata_configuration.allowed_response_headers #=> Array
|
|
3303
|
+
# resp.metadata_configuration.allowed_response_headers[0] #=> String
|
|
3281
3304
|
#
|
|
3282
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTarget AWS API Documentation
|
|
3283
3306
|
#
|
|
@@ -4994,6 +5017,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
4994
5017
|
# resp.targets[0].credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_prefix #=> String
|
|
4995
5018
|
# resp.targets[0].credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_location #=> String, one of "HEADER", "QUERY_PARAMETER"
|
|
4996
5019
|
# resp.targets[0].last_synchronized_at #=> Time
|
|
5020
|
+
# resp.targets[0].metadata_configuration.allowed_request_headers #=> Array
|
|
5021
|
+
# resp.targets[0].metadata_configuration.allowed_request_headers[0] #=> String
|
|
5022
|
+
# resp.targets[0].metadata_configuration.allowed_query_parameters #=> Array
|
|
5023
|
+
# resp.targets[0].metadata_configuration.allowed_query_parameters[0] #=> String
|
|
5024
|
+
# resp.targets[0].metadata_configuration.allowed_response_headers #=> Array
|
|
5025
|
+
# resp.targets[0].metadata_configuration.allowed_response_headers[0] #=> String
|
|
4997
5026
|
#
|
|
4998
5027
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SynchronizeGatewayTargets AWS API Documentation
|
|
4999
5028
|
#
|
|
@@ -5613,6 +5642,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
5613
5642
|
# @option params [Array<Types::CredentialProviderConfiguration>] :credential_provider_configurations
|
|
5614
5643
|
# The updated credential provider configurations for the gateway target.
|
|
5615
5644
|
#
|
|
5645
|
+
# @option params [Types::MetadataConfiguration] :metadata_configuration
|
|
5646
|
+
# Configuration for HTTP header and query parameter propagation to the
|
|
5647
|
+
# gateway target.
|
|
5648
|
+
#
|
|
5616
5649
|
# @return [Types::UpdateGatewayTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5617
5650
|
#
|
|
5618
5651
|
# * {Types::UpdateGatewayTargetResponse#gateway_arn #gateway_arn} => String
|
|
@@ -5626,6 +5659,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5626
5659
|
# * {Types::UpdateGatewayTargetResponse#target_configuration #target_configuration} => Types::TargetConfiguration
|
|
5627
5660
|
# * {Types::UpdateGatewayTargetResponse#credential_provider_configurations #credential_provider_configurations} => Array<Types::CredentialProviderConfiguration>
|
|
5628
5661
|
# * {Types::UpdateGatewayTargetResponse#last_synchronized_at #last_synchronized_at} => Time
|
|
5662
|
+
# * {Types::UpdateGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
5629
5663
|
#
|
|
5630
5664
|
# @example Request syntax with placeholder values
|
|
5631
5665
|
#
|
|
@@ -5738,6 +5772,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5738
5772
|
# },
|
|
5739
5773
|
# },
|
|
5740
5774
|
# ],
|
|
5775
|
+
# metadata_configuration: {
|
|
5776
|
+
# allowed_request_headers: ["HttpHeaderName"],
|
|
5777
|
+
# allowed_query_parameters: ["HttpQueryParameterName"],
|
|
5778
|
+
# allowed_response_headers: ["HttpHeaderName"],
|
|
5779
|
+
# },
|
|
5741
5780
|
# })
|
|
5742
5781
|
#
|
|
5743
5782
|
# @example Response structure
|
|
@@ -5803,6 +5842,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
5803
5842
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_prefix #=> String
|
|
5804
5843
|
# resp.credential_provider_configurations[0].credential_provider.api_key_credential_provider.credential_location #=> String, one of "HEADER", "QUERY_PARAMETER"
|
|
5805
5844
|
# resp.last_synchronized_at #=> Time
|
|
5845
|
+
# resp.metadata_configuration.allowed_request_headers #=> Array
|
|
5846
|
+
# resp.metadata_configuration.allowed_request_headers[0] #=> String
|
|
5847
|
+
# resp.metadata_configuration.allowed_query_parameters #=> Array
|
|
5848
|
+
# resp.metadata_configuration.allowed_query_parameters[0] #=> String
|
|
5849
|
+
# resp.metadata_configuration.allowed_response_headers #=> Array
|
|
5850
|
+
# resp.metadata_configuration.allowed_response_headers[0] #=> String
|
|
5806
5851
|
#
|
|
5807
5852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTarget AWS API Documentation
|
|
5808
5853
|
#
|
|
@@ -6583,7 +6628,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
6583
6628
|
tracer: tracer
|
|
6584
6629
|
)
|
|
6585
6630
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
6586
|
-
context[:gem_version] = '1.
|
|
6631
|
+
context[:gem_version] = '1.18.0'
|
|
6587
6632
|
Seahorse::Client::Request.new(handlers, context)
|
|
6588
6633
|
end
|
|
6589
6634
|
|
|
@@ -35,6 +35,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
35
35
|
AllowedAudienceList = Shapes::ListShape.new(name: 'AllowedAudienceList')
|
|
36
36
|
AllowedClient = Shapes::StringShape.new(name: 'AllowedClient')
|
|
37
37
|
AllowedClientsList = Shapes::ListShape.new(name: 'AllowedClientsList')
|
|
38
|
+
AllowedQueryParameters = Shapes::ListShape.new(name: 'AllowedQueryParameters')
|
|
39
|
+
AllowedRequestHeaders = Shapes::ListShape.new(name: 'AllowedRequestHeaders')
|
|
40
|
+
AllowedResponseHeaders = Shapes::ListShape.new(name: 'AllowedResponseHeaders')
|
|
38
41
|
AllowedScopeType = Shapes::StringShape.new(name: 'AllowedScopeType')
|
|
39
42
|
AllowedScopesType = Shapes::ListShape.new(name: 'AllowedScopesType')
|
|
40
43
|
ApiGatewayTargetConfiguration = Shapes::StructureShape.new(name: 'ApiGatewayTargetConfiguration')
|
|
@@ -296,6 +299,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
296
299
|
GoogleOauth2ProviderConfigInput = Shapes::StructureShape.new(name: 'GoogleOauth2ProviderConfigInput')
|
|
297
300
|
GoogleOauth2ProviderConfigOutput = Shapes::StructureShape.new(name: 'GoogleOauth2ProviderConfigOutput')
|
|
298
301
|
HeaderName = Shapes::StringShape.new(name: 'HeaderName')
|
|
302
|
+
HttpHeaderName = Shapes::StringShape.new(name: 'HttpHeaderName')
|
|
303
|
+
HttpQueryParameterName = Shapes::StringShape.new(name: 'HttpQueryParameterName')
|
|
299
304
|
InboundTokenClaimNameType = Shapes::StringShape.new(name: 'InboundTokenClaimNameType')
|
|
300
305
|
InboundTokenClaimValueType = Shapes::StringShape.new(name: 'InboundTokenClaimValueType')
|
|
301
306
|
IncludedOauth2ProviderConfigInput = Shapes::StructureShape.new(name: 'IncludedOauth2ProviderConfigInput')
|
|
@@ -395,6 +400,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
395
400
|
MessageBasedTrigger = Shapes::StructureShape.new(name: 'MessageBasedTrigger')
|
|
396
401
|
MessageBasedTriggerInput = Shapes::StructureShape.new(name: 'MessageBasedTriggerInput')
|
|
397
402
|
MessageBasedTriggerInputMessageCountInteger = Shapes::IntegerShape.new(name: 'MessageBasedTriggerInputMessageCountInteger')
|
|
403
|
+
MetadataConfiguration = Shapes::StructureShape.new(name: 'MetadataConfiguration')
|
|
398
404
|
MicrosoftOauth2ProviderConfigInput = Shapes::StructureShape.new(name: 'MicrosoftOauth2ProviderConfigInput')
|
|
399
405
|
MicrosoftOauth2ProviderConfigOutput = Shapes::StructureShape.new(name: 'MicrosoftOauth2ProviderConfigOutput')
|
|
400
406
|
ModelId = Shapes::StringShape.new(name: 'ModelId')
|
|
@@ -669,6 +675,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
669
675
|
|
|
670
676
|
AllowedClientsList.member = Shapes::ShapeRef.new(shape: AllowedClient)
|
|
671
677
|
|
|
678
|
+
AllowedQueryParameters.member = Shapes::ShapeRef.new(shape: HttpQueryParameterName)
|
|
679
|
+
|
|
680
|
+
AllowedRequestHeaders.member = Shapes::ShapeRef.new(shape: HttpHeaderName)
|
|
681
|
+
|
|
682
|
+
AllowedResponseHeaders.member = Shapes::ShapeRef.new(shape: HttpHeaderName)
|
|
683
|
+
|
|
672
684
|
AllowedScopesType.member = Shapes::ShapeRef.new(shape: AllowedScopeType)
|
|
673
685
|
|
|
674
686
|
ApiGatewayTargetConfiguration.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "restApiId"))
|
|
@@ -971,6 +983,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
971
983
|
CreateGatewayTargetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
972
984
|
CreateGatewayTargetRequest.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
973
985
|
CreateGatewayTargetRequest.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, location_name: "credentialProviderConfigurations"))
|
|
986
|
+
CreateGatewayTargetRequest.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
974
987
|
CreateGatewayTargetRequest.struct_class = Types::CreateGatewayTargetRequest
|
|
975
988
|
|
|
976
989
|
CreateGatewayTargetResponse.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "gatewayArn"))
|
|
@@ -984,6 +997,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
984
997
|
CreateGatewayTargetResponse.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
985
998
|
CreateGatewayTargetResponse.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, required: true, location_name: "credentialProviderConfigurations"))
|
|
986
999
|
CreateGatewayTargetResponse.add_member(:last_synchronized_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastSynchronizedAt"))
|
|
1000
|
+
CreateGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
987
1001
|
CreateGatewayTargetResponse.struct_class = Types::CreateGatewayTargetResponse
|
|
988
1002
|
|
|
989
1003
|
CreateMemoryInput.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateMemoryInputClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -1484,6 +1498,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1484
1498
|
GatewayTarget.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
1485
1499
|
GatewayTarget.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, required: true, location_name: "credentialProviderConfigurations"))
|
|
1486
1500
|
GatewayTarget.add_member(:last_synchronized_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastSynchronizedAt"))
|
|
1501
|
+
GatewayTarget.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
1487
1502
|
GatewayTarget.struct_class = Types::GatewayTarget
|
|
1488
1503
|
|
|
1489
1504
|
GatewayTargetList.member = Shapes::ShapeRef.new(shape: GatewayTarget)
|
|
@@ -1625,6 +1640,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1625
1640
|
GetGatewayTargetResponse.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
1626
1641
|
GetGatewayTargetResponse.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, required: true, location_name: "credentialProviderConfigurations"))
|
|
1627
1642
|
GetGatewayTargetResponse.add_member(:last_synchronized_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastSynchronizedAt"))
|
|
1643
|
+
GetGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
1628
1644
|
GetGatewayTargetResponse.struct_class = Types::GetGatewayTargetResponse
|
|
1629
1645
|
|
|
1630
1646
|
GetMemoryInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
@@ -2053,6 +2069,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
2053
2069
|
MessageBasedTriggerInput.add_member(:message_count, Shapes::ShapeRef.new(shape: MessageBasedTriggerInputMessageCountInteger, location_name: "messageCount"))
|
|
2054
2070
|
MessageBasedTriggerInput.struct_class = Types::MessageBasedTriggerInput
|
|
2055
2071
|
|
|
2072
|
+
MetadataConfiguration.add_member(:allowed_request_headers, Shapes::ShapeRef.new(shape: AllowedRequestHeaders, location_name: "allowedRequestHeaders"))
|
|
2073
|
+
MetadataConfiguration.add_member(:allowed_query_parameters, Shapes::ShapeRef.new(shape: AllowedQueryParameters, location_name: "allowedQueryParameters"))
|
|
2074
|
+
MetadataConfiguration.add_member(:allowed_response_headers, Shapes::ShapeRef.new(shape: AllowedResponseHeaders, location_name: "allowedResponseHeaders"))
|
|
2075
|
+
MetadataConfiguration.struct_class = Types::MetadataConfiguration
|
|
2076
|
+
|
|
2056
2077
|
MicrosoftOauth2ProviderConfigInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "clientId"))
|
|
2057
2078
|
MicrosoftOauth2ProviderConfigInput.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecretType, required: true, location_name: "clientSecret"))
|
|
2058
2079
|
MicrosoftOauth2ProviderConfigInput.add_member(:tenant_id, Shapes::ShapeRef.new(shape: TenantIdType, location_name: "tenantId"))
|
|
@@ -2688,6 +2709,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2688
2709
|
UpdateGatewayTargetRequest.add_member(:description, Shapes::ShapeRef.new(shape: TargetDescription, location_name: "description"))
|
|
2689
2710
|
UpdateGatewayTargetRequest.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
2690
2711
|
UpdateGatewayTargetRequest.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, location_name: "credentialProviderConfigurations"))
|
|
2712
|
+
UpdateGatewayTargetRequest.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
2691
2713
|
UpdateGatewayTargetRequest.struct_class = Types::UpdateGatewayTargetRequest
|
|
2692
2714
|
|
|
2693
2715
|
UpdateGatewayTargetResponse.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "gatewayArn"))
|
|
@@ -2701,6 +2723,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2701
2723
|
UpdateGatewayTargetResponse.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, required: true, location_name: "targetConfiguration"))
|
|
2702
2724
|
UpdateGatewayTargetResponse.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialProviderConfigurations, required: true, location_name: "credentialProviderConfigurations"))
|
|
2703
2725
|
UpdateGatewayTargetResponse.add_member(:last_synchronized_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastSynchronizedAt"))
|
|
2726
|
+
UpdateGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
2704
2727
|
UpdateGatewayTargetResponse.struct_class = Types::UpdateGatewayTargetResponse
|
|
2705
2728
|
|
|
2706
2729
|
UpdateMemoryInput.add_member(:client_token, Shapes::ShapeRef.new(shape: UpdateMemoryInputClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -1657,6 +1657,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1657
1657
|
# endpoint.
|
|
1658
1658
|
# @return [Array<Types::CredentialProviderConfiguration>]
|
|
1659
1659
|
#
|
|
1660
|
+
# @!attribute [rw] metadata_configuration
|
|
1661
|
+
# Optional configuration for HTTP header and query parameter
|
|
1662
|
+
# propagation to and from the gateway target.
|
|
1663
|
+
# @return [Types::MetadataConfiguration]
|
|
1664
|
+
#
|
|
1660
1665
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTargetRequest AWS API Documentation
|
|
1661
1666
|
#
|
|
1662
1667
|
class CreateGatewayTargetRequest < Struct.new(
|
|
@@ -1665,7 +1670,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1665
1670
|
:description,
|
|
1666
1671
|
:client_token,
|
|
1667
1672
|
:target_configuration,
|
|
1668
|
-
:credential_provider_configurations
|
|
1673
|
+
:credential_provider_configurations,
|
|
1674
|
+
:metadata_configuration)
|
|
1669
1675
|
SENSITIVE = [:name, :description]
|
|
1670
1676
|
include Aws::Structure
|
|
1671
1677
|
end
|
|
@@ -1714,6 +1720,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1714
1720
|
# The last synchronization of the target.
|
|
1715
1721
|
# @return [Time]
|
|
1716
1722
|
#
|
|
1723
|
+
# @!attribute [rw] metadata_configuration
|
|
1724
|
+
# The metadata configuration that was applied to the created gateway
|
|
1725
|
+
# target.
|
|
1726
|
+
# @return [Types::MetadataConfiguration]
|
|
1727
|
+
#
|
|
1717
1728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTargetResponse AWS API Documentation
|
|
1718
1729
|
#
|
|
1719
1730
|
class CreateGatewayTargetResponse < Struct.new(
|
|
@@ -1727,7 +1738,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1727
1738
|
:description,
|
|
1728
1739
|
:target_configuration,
|
|
1729
1740
|
:credential_provider_configurations,
|
|
1730
|
-
:last_synchronized_at
|
|
1741
|
+
:last_synchronized_at,
|
|
1742
|
+
:metadata_configuration)
|
|
1731
1743
|
SENSITIVE = [:name, :description]
|
|
1732
1744
|
include Aws::Structure
|
|
1733
1745
|
end
|
|
@@ -4038,6 +4050,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
4038
4050
|
# The last synchronization time.
|
|
4039
4051
|
# @return [Time]
|
|
4040
4052
|
#
|
|
4053
|
+
# @!attribute [rw] metadata_configuration
|
|
4054
|
+
# The metadata configuration for HTTP header and query parameter
|
|
4055
|
+
# propagation to and from this gateway target.
|
|
4056
|
+
# @return [Types::MetadataConfiguration]
|
|
4057
|
+
#
|
|
4041
4058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayTarget AWS API Documentation
|
|
4042
4059
|
#
|
|
4043
4060
|
class GatewayTarget < Struct.new(
|
|
@@ -4051,7 +4068,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4051
4068
|
:description,
|
|
4052
4069
|
:target_configuration,
|
|
4053
4070
|
:credential_provider_configurations,
|
|
4054
|
-
:last_synchronized_at
|
|
4071
|
+
:last_synchronized_at,
|
|
4072
|
+
:metadata_configuration)
|
|
4055
4073
|
SENSITIVE = [:name, :description]
|
|
4056
4074
|
include Aws::Structure
|
|
4057
4075
|
end
|
|
@@ -4712,6 +4730,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
4712
4730
|
# The last synchronization of the target.
|
|
4713
4731
|
# @return [Time]
|
|
4714
4732
|
#
|
|
4733
|
+
# @!attribute [rw] metadata_configuration
|
|
4734
|
+
# The metadata configuration for HTTP header and query parameter
|
|
4735
|
+
# propagation for the retrieved gateway target.
|
|
4736
|
+
# @return [Types::MetadataConfiguration]
|
|
4737
|
+
#
|
|
4715
4738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTargetResponse AWS API Documentation
|
|
4716
4739
|
#
|
|
4717
4740
|
class GetGatewayTargetResponse < Struct.new(
|
|
@@ -4725,7 +4748,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4725
4748
|
:description,
|
|
4726
4749
|
:target_configuration,
|
|
4727
4750
|
:credential_provider_configurations,
|
|
4728
|
-
:last_synchronized_at
|
|
4751
|
+
:last_synchronized_at,
|
|
4752
|
+
:metadata_configuration)
|
|
4729
4753
|
SENSITIVE = [:name, :description]
|
|
4730
4754
|
include Aws::Structure
|
|
4731
4755
|
end
|
|
@@ -6782,6 +6806,34 @@ module Aws::BedrockAgentCoreControl
|
|
|
6782
6806
|
include Aws::Structure
|
|
6783
6807
|
end
|
|
6784
6808
|
|
|
6809
|
+
# Configuration for HTTP header and query parameter propagation between
|
|
6810
|
+
# the gateway and target servers.
|
|
6811
|
+
#
|
|
6812
|
+
# @!attribute [rw] allowed_request_headers
|
|
6813
|
+
# A list of HTTP headers that are allowed to be propagated from
|
|
6814
|
+
# incoming client requests to the target.
|
|
6815
|
+
# @return [Array<String>]
|
|
6816
|
+
#
|
|
6817
|
+
# @!attribute [rw] allowed_query_parameters
|
|
6818
|
+
# A list of URL query parameters that are allowed to be propagated
|
|
6819
|
+
# from incoming gateway URL to the target.
|
|
6820
|
+
# @return [Array<String>]
|
|
6821
|
+
#
|
|
6822
|
+
# @!attribute [rw] allowed_response_headers
|
|
6823
|
+
# A list of HTTP headers that are allowed to be propagated from the
|
|
6824
|
+
# target response back to the client.
|
|
6825
|
+
# @return [Array<String>]
|
|
6826
|
+
#
|
|
6827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MetadataConfiguration AWS API Documentation
|
|
6828
|
+
#
|
|
6829
|
+
class MetadataConfiguration < Struct.new(
|
|
6830
|
+
:allowed_request_headers,
|
|
6831
|
+
:allowed_query_parameters,
|
|
6832
|
+
:allowed_response_headers)
|
|
6833
|
+
SENSITIVE = []
|
|
6834
|
+
include Aws::Structure
|
|
6835
|
+
end
|
|
6836
|
+
|
|
6785
6837
|
# Input configuration for a Microsoft OAuth2 provider.
|
|
6786
6838
|
#
|
|
6787
6839
|
# @!attribute [rw] client_id
|
|
@@ -9551,6 +9603,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
9551
9603
|
# target.
|
|
9552
9604
|
# @return [Array<Types::CredentialProviderConfiguration>]
|
|
9553
9605
|
#
|
|
9606
|
+
# @!attribute [rw] metadata_configuration
|
|
9607
|
+
# Configuration for HTTP header and query parameter propagation to the
|
|
9608
|
+
# gateway target.
|
|
9609
|
+
# @return [Types::MetadataConfiguration]
|
|
9610
|
+
#
|
|
9554
9611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTargetRequest AWS API Documentation
|
|
9555
9612
|
#
|
|
9556
9613
|
class UpdateGatewayTargetRequest < Struct.new(
|
|
@@ -9559,7 +9616,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
9559
9616
|
:name,
|
|
9560
9617
|
:description,
|
|
9561
9618
|
:target_configuration,
|
|
9562
|
-
:credential_provider_configurations
|
|
9619
|
+
:credential_provider_configurations,
|
|
9620
|
+
:metadata_configuration)
|
|
9563
9621
|
SENSITIVE = [:name, :description]
|
|
9564
9622
|
include Aws::Structure
|
|
9565
9623
|
end
|
|
@@ -9610,6 +9668,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
9610
9668
|
# The date and time at which the targets were last synchronized.
|
|
9611
9669
|
# @return [Time]
|
|
9612
9670
|
#
|
|
9671
|
+
# @!attribute [rw] metadata_configuration
|
|
9672
|
+
# The metadata configuration that was applied to the gateway target.
|
|
9673
|
+
# @return [Types::MetadataConfiguration]
|
|
9674
|
+
#
|
|
9613
9675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTargetResponse AWS API Documentation
|
|
9614
9676
|
#
|
|
9615
9677
|
class UpdateGatewayTargetResponse < Struct.new(
|
|
@@ -9623,7 +9685,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
9623
9685
|
:description,
|
|
9624
9686
|
:target_configuration,
|
|
9625
9687
|
:credential_provider_configurations,
|
|
9626
|
-
:last_synchronized_at
|
|
9688
|
+
:last_synchronized_at,
|
|
9689
|
+
:metadata_configuration)
|
|
9627
9690
|
SENSITIVE = [:name, :description]
|
|
9628
9691
|
include Aws::Structure
|
|
9629
9692
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -389,6 +389,7 @@ module Aws
|
|
|
389
389
|
def target_configuration: () -> Types::TargetConfiguration
|
|
390
390
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
391
391
|
def last_synchronized_at: () -> ::Time
|
|
392
|
+
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
392
393
|
end
|
|
393
394
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_gateway_target-instance_method
|
|
394
395
|
def create_gateway_target: (
|
|
@@ -485,7 +486,12 @@ module Aws
|
|
|
485
486
|
}?
|
|
486
487
|
}?
|
|
487
488
|
},
|
|
488
|
-
]
|
|
489
|
+
],
|
|
490
|
+
?metadata_configuration: {
|
|
491
|
+
allowed_request_headers: Array[::String]?,
|
|
492
|
+
allowed_query_parameters: Array[::String]?,
|
|
493
|
+
allowed_response_headers: Array[::String]?
|
|
494
|
+
}
|
|
489
495
|
) -> _CreateGatewayTargetResponseSuccess
|
|
490
496
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGatewayTargetResponseSuccess
|
|
491
497
|
|
|
@@ -1129,6 +1135,7 @@ module Aws
|
|
|
1129
1135
|
def target_configuration: () -> Types::TargetConfiguration
|
|
1130
1136
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
1131
1137
|
def last_synchronized_at: () -> ::Time
|
|
1138
|
+
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
1132
1139
|
end
|
|
1133
1140
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_gateway_target-instance_method
|
|
1134
1141
|
def get_gateway_target: (
|
|
@@ -1840,6 +1847,7 @@ module Aws
|
|
|
1840
1847
|
def target_configuration: () -> Types::TargetConfiguration
|
|
1841
1848
|
def credential_provider_configurations: () -> ::Array[Types::CredentialProviderConfiguration]
|
|
1842
1849
|
def last_synchronized_at: () -> ::Time
|
|
1850
|
+
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
1843
1851
|
end
|
|
1844
1852
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_gateway_target-instance_method
|
|
1845
1853
|
def update_gateway_target: (
|
|
@@ -1936,7 +1944,12 @@ module Aws
|
|
|
1936
1944
|
}?
|
|
1937
1945
|
}?
|
|
1938
1946
|
},
|
|
1939
|
-
]
|
|
1947
|
+
],
|
|
1948
|
+
?metadata_configuration: {
|
|
1949
|
+
allowed_request_headers: Array[::String]?,
|
|
1950
|
+
allowed_query_parameters: Array[::String]?,
|
|
1951
|
+
allowed_response_headers: Array[::String]?
|
|
1952
|
+
}
|
|
1940
1953
|
) -> _UpdateGatewayTargetResponseSuccess
|
|
1941
1954
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayTargetResponseSuccess
|
|
1942
1955
|
|
data/sig/types.rbs
CHANGED
|
@@ -443,6 +443,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
443
443
|
attr_accessor client_token: ::String
|
|
444
444
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
445
445
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
446
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
446
447
|
SENSITIVE: [:name, :description]
|
|
447
448
|
end
|
|
448
449
|
|
|
@@ -458,6 +459,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
458
459
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
459
460
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
460
461
|
attr_accessor last_synchronized_at: ::Time
|
|
462
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
461
463
|
SENSITIVE: [:name, :description]
|
|
462
464
|
end
|
|
463
465
|
|
|
@@ -1159,6 +1161,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1159
1161
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
1160
1162
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
1161
1163
|
attr_accessor last_synchronized_at: ::Time
|
|
1164
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
1162
1165
|
SENSITIVE: [:name, :description]
|
|
1163
1166
|
end
|
|
1164
1167
|
|
|
@@ -1330,6 +1333,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1330
1333
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
1331
1334
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
1332
1335
|
attr_accessor last_synchronized_at: ::Time
|
|
1336
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
1333
1337
|
SENSITIVE: [:name, :description]
|
|
1334
1338
|
end
|
|
1335
1339
|
|
|
@@ -1928,6 +1932,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
1928
1932
|
SENSITIVE: []
|
|
1929
1933
|
end
|
|
1930
1934
|
|
|
1935
|
+
class MetadataConfiguration
|
|
1936
|
+
attr_accessor allowed_request_headers: ::Array[::String]
|
|
1937
|
+
attr_accessor allowed_query_parameters: ::Array[::String]
|
|
1938
|
+
attr_accessor allowed_response_headers: ::Array[::String]
|
|
1939
|
+
SENSITIVE: []
|
|
1940
|
+
end
|
|
1941
|
+
|
|
1931
1942
|
class MicrosoftOauth2ProviderConfigInput
|
|
1932
1943
|
attr_accessor client_id: ::String
|
|
1933
1944
|
attr_accessor client_secret: ::String
|
|
@@ -2759,6 +2770,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2759
2770
|
attr_accessor description: ::String
|
|
2760
2771
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
2761
2772
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
2773
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
2762
2774
|
SENSITIVE: [:name, :description]
|
|
2763
2775
|
end
|
|
2764
2776
|
|
|
@@ -2774,6 +2786,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2774
2786
|
attr_accessor target_configuration: Types::TargetConfiguration
|
|
2775
2787
|
attr_accessor credential_provider_configurations: ::Array[Types::CredentialProviderConfiguration]
|
|
2776
2788
|
attr_accessor last_synchronized_at: ::Time
|
|
2789
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
2777
2790
|
SENSITIVE: [:name, :description]
|
|
2778
2791
|
end
|
|
2779
2792
|
|