aws-sdk-bedrockagentcorecontrol 1.34.0 → 1.35.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 +65 -8
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +28 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +117 -5
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +23 -6
- data/sig/types.rbs +42 -6
- 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: 172e5cc5d073b42529495a93b19c9d87da05ea6ad2a413c0ba44acf985b93835
|
|
4
|
+
data.tar.gz: 86f619ffc5d36bce73ca305ce1396222f37f83b654d50ccd404c735b3d05b065
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 907ecd38a1c3184e1f50ed59fb24efb9a30f121fbd16a58bf1d549e84eedb3350cfe353443e97b87c4eaa0aa108e03102cad8739a9a6a1e5a33889ba798d883e
|
|
7
|
+
data.tar.gz: b1c42006ea96dd989c92bdbd6e4f667b6c7d1852104ad0ebadc509e647b3d7a0d0918320ead53f03eae244cdd4be758c92d296bee0c4cca70e3b945a96e518de
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.35.0 (2026-04-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for three-legged (Authorization Code grant type) OAuth along with predefined MCP tool schema configuration for Amazon Bedrock AgentCore gateway MCP server targets.
|
|
8
|
+
|
|
4
9
|
1.34.0 (2026-04-01)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.35.0
|
|
@@ -1404,6 +1404,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1404
1404
|
# * {Types::CreateGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
1405
1405
|
# * {Types::CreateGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
|
|
1406
1406
|
# * {Types::CreateGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array<Types::ManagedResourceDetails>
|
|
1407
|
+
# * {Types::CreateGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
|
|
1407
1408
|
#
|
|
1408
1409
|
# @example Request syntax with placeholder values
|
|
1409
1410
|
#
|
|
@@ -1471,6 +1472,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
1471
1472
|
# },
|
|
1472
1473
|
# mcp_server: {
|
|
1473
1474
|
# endpoint: "McpServerTargetConfigurationEndpointString", # required
|
|
1475
|
+
# mcp_tool_schema: {
|
|
1476
|
+
# s3: {
|
|
1477
|
+
# uri: "S3BucketUri",
|
|
1478
|
+
# bucket_owner_account_id: "AwsAccountId",
|
|
1479
|
+
# },
|
|
1480
|
+
# inline_payload: "InlinePayload",
|
|
1481
|
+
# },
|
|
1474
1482
|
# },
|
|
1475
1483
|
# api_gateway: {
|
|
1476
1484
|
# rest_api_id: "String", # required
|
|
@@ -1548,7 +1556,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1548
1556
|
# resp.target_id #=> String
|
|
1549
1557
|
# resp.created_at #=> Time
|
|
1550
1558
|
# resp.updated_at #=> Time
|
|
1551
|
-
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
1559
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
1552
1560
|
# resp.status_reasons #=> Array
|
|
1553
1561
|
# resp.status_reasons[0] #=> String
|
|
1554
1562
|
# resp.name #=> String
|
|
@@ -1580,6 +1588,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1580
1588
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.items #=> Types::SchemaDefinition
|
|
1581
1589
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.description #=> String
|
|
1582
1590
|
# resp.target_configuration.mcp.mcp_server.endpoint #=> String
|
|
1591
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
|
|
1592
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
|
|
1593
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
|
|
1583
1594
|
# resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
|
|
1584
1595
|
# resp.target_configuration.mcp.api_gateway.stage #=> String
|
|
1585
1596
|
# resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
|
|
@@ -1627,6 +1638,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1627
1638
|
# resp.private_endpoint_managed_resources[0].domain #=> String
|
|
1628
1639
|
# resp.private_endpoint_managed_resources[0].resource_gateway_arn #=> String
|
|
1629
1640
|
# resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
|
|
1641
|
+
# resp.authorization_data.oauth2.authorization_url #=> String
|
|
1642
|
+
# resp.authorization_data.oauth2.user_id #=> String
|
|
1630
1643
|
#
|
|
1631
1644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTarget AWS API Documentation
|
|
1632
1645
|
#
|
|
@@ -2755,6 +2768,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
2755
2768
|
|
|
2756
2769
|
# Deletes a gateway target.
|
|
2757
2770
|
#
|
|
2771
|
+
# You cannot delete a target that is in a pending authorization state
|
|
2772
|
+
# (`CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or
|
|
2773
|
+
# `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or
|
|
2774
|
+
# fail before deleting the target.
|
|
2775
|
+
#
|
|
2758
2776
|
# @option params [required, String] :gateway_identifier
|
|
2759
2777
|
# The unique identifier of the gateway associated with the target.
|
|
2760
2778
|
#
|
|
@@ -2779,7 +2797,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2779
2797
|
#
|
|
2780
2798
|
# resp.gateway_arn #=> String
|
|
2781
2799
|
# resp.target_id #=> String
|
|
2782
|
-
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
2800
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
2783
2801
|
# resp.status_reasons #=> Array
|
|
2784
2802
|
# resp.status_reasons[0] #=> String
|
|
2785
2803
|
#
|
|
@@ -3573,6 +3591,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3573
3591
|
# * {Types::GetGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
3574
3592
|
# * {Types::GetGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
|
|
3575
3593
|
# * {Types::GetGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array<Types::ManagedResourceDetails>
|
|
3594
|
+
# * {Types::GetGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
|
|
3576
3595
|
#
|
|
3577
3596
|
# @example Request syntax with placeholder values
|
|
3578
3597
|
#
|
|
@@ -3587,7 +3606,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3587
3606
|
# resp.target_id #=> String
|
|
3588
3607
|
# resp.created_at #=> Time
|
|
3589
3608
|
# resp.updated_at #=> Time
|
|
3590
|
-
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
3609
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
3591
3610
|
# resp.status_reasons #=> Array
|
|
3592
3611
|
# resp.status_reasons[0] #=> String
|
|
3593
3612
|
# resp.name #=> String
|
|
@@ -3619,6 +3638,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
3619
3638
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.items #=> Types::SchemaDefinition
|
|
3620
3639
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.description #=> String
|
|
3621
3640
|
# resp.target_configuration.mcp.mcp_server.endpoint #=> String
|
|
3641
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
|
|
3642
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
|
|
3643
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
|
|
3622
3644
|
# resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
|
|
3623
3645
|
# resp.target_configuration.mcp.api_gateway.stage #=> String
|
|
3624
3646
|
# resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
|
|
@@ -3666,6 +3688,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
3666
3688
|
# resp.private_endpoint_managed_resources[0].domain #=> String
|
|
3667
3689
|
# resp.private_endpoint_managed_resources[0].resource_gateway_arn #=> String
|
|
3668
3690
|
# resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
|
|
3691
|
+
# resp.authorization_data.oauth2.authorization_url #=> String
|
|
3692
|
+
# resp.authorization_data.oauth2.user_id #=> String
|
|
3669
3693
|
#
|
|
3670
3694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTarget AWS API Documentation
|
|
3671
3695
|
#
|
|
@@ -4665,7 +4689,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4665
4689
|
# resp.items #=> Array
|
|
4666
4690
|
# resp.items[0].target_id #=> String
|
|
4667
4691
|
# resp.items[0].name #=> String
|
|
4668
|
-
# resp.items[0].status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
4692
|
+
# resp.items[0].status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
4669
4693
|
# resp.items[0].description #=> String
|
|
4670
4694
|
# resp.items[0].created_at #=> Time
|
|
4671
4695
|
# resp.items[0].updated_at #=> Time
|
|
@@ -5373,7 +5397,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
5373
5397
|
req.send_request(options)
|
|
5374
5398
|
end
|
|
5375
5399
|
|
|
5376
|
-
#
|
|
5400
|
+
# Synchronizes the gateway targets by fetching the latest tool
|
|
5401
|
+
# definitions from the target endpoints.
|
|
5402
|
+
#
|
|
5403
|
+
# You cannot synchronize a target that is in a pending authorization
|
|
5404
|
+
# state (`CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or
|
|
5405
|
+
# `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or
|
|
5406
|
+
# fail before synchronizing.
|
|
5407
|
+
#
|
|
5408
|
+
# You cannot synchronize a target that has a static tool schema
|
|
5409
|
+
# (`mcpToolSchema`) configured. Remove the static schema through an
|
|
5410
|
+
# `UpdateGatewayTarget` call to enable dynamic tool synchronization.
|
|
5377
5411
|
#
|
|
5378
5412
|
# @option params [required, String] :gateway_identifier
|
|
5379
5413
|
# The gateway Identifier.
|
|
@@ -5399,7 +5433,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5399
5433
|
# resp.targets[0].target_id #=> String
|
|
5400
5434
|
# resp.targets[0].created_at #=> Time
|
|
5401
5435
|
# resp.targets[0].updated_at #=> Time
|
|
5402
|
-
# resp.targets[0].status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
5436
|
+
# resp.targets[0].status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
5403
5437
|
# resp.targets[0].status_reasons #=> Array
|
|
5404
5438
|
# resp.targets[0].status_reasons[0] #=> String
|
|
5405
5439
|
# resp.targets[0].name #=> String
|
|
@@ -5431,6 +5465,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
5431
5465
|
# resp.targets[0].target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.items #=> Types::SchemaDefinition
|
|
5432
5466
|
# resp.targets[0].target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.description #=> String
|
|
5433
5467
|
# resp.targets[0].target_configuration.mcp.mcp_server.endpoint #=> String
|
|
5468
|
+
# resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
|
|
5469
|
+
# resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
|
|
5470
|
+
# resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
|
|
5434
5471
|
# resp.targets[0].target_configuration.mcp.api_gateway.rest_api_id #=> String
|
|
5435
5472
|
# resp.targets[0].target_configuration.mcp.api_gateway.stage #=> String
|
|
5436
5473
|
# resp.targets[0].target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
|
|
@@ -5478,6 +5515,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5478
5515
|
# resp.targets[0].private_endpoint_managed_resources[0].domain #=> String
|
|
5479
5516
|
# resp.targets[0].private_endpoint_managed_resources[0].resource_gateway_arn #=> String
|
|
5480
5517
|
# resp.targets[0].private_endpoint_managed_resources[0].resource_association_arn #=> String
|
|
5518
|
+
# resp.targets[0].authorization_data.oauth2.authorization_url #=> String
|
|
5519
|
+
# resp.targets[0].authorization_data.oauth2.user_id #=> String
|
|
5481
5520
|
#
|
|
5482
5521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SynchronizeGatewayTargets AWS API Documentation
|
|
5483
5522
|
#
|
|
@@ -6104,6 +6143,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
6104
6143
|
|
|
6105
6144
|
# Updates an existing gateway target.
|
|
6106
6145
|
#
|
|
6146
|
+
# You cannot update a target that is in a pending authorization state
|
|
6147
|
+
# (`CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or
|
|
6148
|
+
# `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or
|
|
6149
|
+
# fail before updating the target.
|
|
6150
|
+
#
|
|
6107
6151
|
# @option params [required, String] :gateway_identifier
|
|
6108
6152
|
# The unique identifier of the gateway associated with the target.
|
|
6109
6153
|
#
|
|
@@ -6147,6 +6191,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
6147
6191
|
# * {Types::UpdateGatewayTargetResponse#metadata_configuration #metadata_configuration} => Types::MetadataConfiguration
|
|
6148
6192
|
# * {Types::UpdateGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
|
|
6149
6193
|
# * {Types::UpdateGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array<Types::ManagedResourceDetails>
|
|
6194
|
+
# * {Types::UpdateGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
|
|
6150
6195
|
#
|
|
6151
6196
|
# @example Request syntax with placeholder values
|
|
6152
6197
|
#
|
|
@@ -6214,6 +6259,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
6214
6259
|
# },
|
|
6215
6260
|
# mcp_server: {
|
|
6216
6261
|
# endpoint: "McpServerTargetConfigurationEndpointString", # required
|
|
6262
|
+
# mcp_tool_schema: {
|
|
6263
|
+
# s3: {
|
|
6264
|
+
# uri: "S3BucketUri",
|
|
6265
|
+
# bucket_owner_account_id: "AwsAccountId",
|
|
6266
|
+
# },
|
|
6267
|
+
# inline_payload: "InlinePayload",
|
|
6268
|
+
# },
|
|
6217
6269
|
# },
|
|
6218
6270
|
# api_gateway: {
|
|
6219
6271
|
# rest_api_id: "String", # required
|
|
@@ -6291,7 +6343,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
6291
6343
|
# resp.target_id #=> String
|
|
6292
6344
|
# resp.created_at #=> Time
|
|
6293
6345
|
# resp.updated_at #=> Time
|
|
6294
|
-
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL"
|
|
6346
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "UPDATE_UNSUCCESSFUL", "DELETING", "READY", "FAILED", "SYNCHRONIZING", "SYNCHRONIZE_UNSUCCESSFUL", "CREATE_PENDING_AUTH", "UPDATE_PENDING_AUTH", "SYNCHRONIZE_PENDING_AUTH"
|
|
6295
6347
|
# resp.status_reasons #=> Array
|
|
6296
6348
|
# resp.status_reasons[0] #=> String
|
|
6297
6349
|
# resp.name #=> String
|
|
@@ -6323,6 +6375,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
6323
6375
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.items #=> Types::SchemaDefinition
|
|
6324
6376
|
# resp.target_configuration.mcp.lambda.tool_schema.inline_payload[0].output_schema.description #=> String
|
|
6325
6377
|
# resp.target_configuration.mcp.mcp_server.endpoint #=> String
|
|
6378
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
|
|
6379
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
|
|
6380
|
+
# resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
|
|
6326
6381
|
# resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
|
|
6327
6382
|
# resp.target_configuration.mcp.api_gateway.stage #=> String
|
|
6328
6383
|
# resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
|
|
@@ -6370,6 +6425,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
6370
6425
|
# resp.private_endpoint_managed_resources[0].domain #=> String
|
|
6371
6426
|
# resp.private_endpoint_managed_resources[0].resource_gateway_arn #=> String
|
|
6372
6427
|
# resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
|
|
6428
|
+
# resp.authorization_data.oauth2.authorization_url #=> String
|
|
6429
|
+
# resp.authorization_data.oauth2.user_id #=> String
|
|
6373
6430
|
#
|
|
6374
6431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTarget AWS API Documentation
|
|
6375
6432
|
#
|
|
@@ -7201,7 +7258,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
7201
7258
|
tracer: tracer
|
|
7202
7259
|
)
|
|
7203
7260
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
7204
|
-
context[:gem_version] = '1.
|
|
7261
|
+
context[:gem_version] = '1.35.0'
|
|
7205
7262
|
Seahorse::Client::Request.new(handlers, context)
|
|
7206
7263
|
end
|
|
7207
7264
|
|
|
@@ -59,6 +59,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
59
59
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
60
60
|
AtlassianOauth2ProviderConfigInput = Shapes::StructureShape.new(name: 'AtlassianOauth2ProviderConfigInput')
|
|
61
61
|
AtlassianOauth2ProviderConfigOutput = Shapes::StructureShape.new(name: 'AtlassianOauth2ProviderConfigOutput')
|
|
62
|
+
AuthorizationData = Shapes::UnionShape.new(name: 'AuthorizationData')
|
|
62
63
|
AuthorizationEndpointType = Shapes::StringShape.new(name: 'AuthorizationEndpointType')
|
|
63
64
|
AuthorizerConfiguration = Shapes::UnionShape.new(name: 'AuthorizerConfiguration')
|
|
64
65
|
AuthorizerType = Shapes::StringShape.new(name: 'AuthorizerType')
|
|
@@ -421,6 +422,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
421
422
|
McpServerTargetConfigurationEndpointString = Shapes::StringShape.new(name: 'McpServerTargetConfigurationEndpointString')
|
|
422
423
|
McpSupportedVersions = Shapes::ListShape.new(name: 'McpSupportedVersions')
|
|
423
424
|
McpTargetConfiguration = Shapes::UnionShape.new(name: 'McpTargetConfiguration')
|
|
425
|
+
McpToolSchemaConfiguration = Shapes::UnionShape.new(name: 'McpToolSchemaConfiguration')
|
|
424
426
|
McpVersion = Shapes::StringShape.new(name: 'McpVersion')
|
|
425
427
|
Memory = Shapes::StructureShape.new(name: 'Memory')
|
|
426
428
|
MemoryArn = Shapes::StringShape.new(name: 'MemoryArn')
|
|
@@ -469,6 +471,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
469
471
|
NumericalScaleDefinitionLabelString = Shapes::StringShape.new(name: 'NumericalScaleDefinitionLabelString')
|
|
470
472
|
NumericalScaleDefinitionValueDouble = Shapes::FloatShape.new(name: 'NumericalScaleDefinitionValueDouble')
|
|
471
473
|
NumericalScaleDefinitions = Shapes::ListShape.new(name: 'NumericalScaleDefinitions')
|
|
474
|
+
OAuth2AuthorizationData = Shapes::StructureShape.new(name: 'OAuth2AuthorizationData')
|
|
475
|
+
OAuth2AuthorizationDataAuthorizationUrlString = Shapes::StringShape.new(name: 'OAuth2AuthorizationDataAuthorizationUrlString')
|
|
476
|
+
OAuth2AuthorizationDataUserIdString = Shapes::StringShape.new(name: 'OAuth2AuthorizationDataUserIdString')
|
|
472
477
|
OAuthCredentialProvider = Shapes::StructureShape.new(name: 'OAuthCredentialProvider')
|
|
473
478
|
OAuthCredentialProviderArn = Shapes::StringShape.new(name: 'OAuthCredentialProviderArn')
|
|
474
479
|
OAuthCustomParameters = Shapes::MapShape.new(name: 'OAuthCustomParameters')
|
|
@@ -798,6 +803,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
798
803
|
AtlassianOauth2ProviderConfigOutput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "clientId"))
|
|
799
804
|
AtlassianOauth2ProviderConfigOutput.struct_class = Types::AtlassianOauth2ProviderConfigOutput
|
|
800
805
|
|
|
806
|
+
AuthorizationData.add_member(:oauth2, Shapes::ShapeRef.new(shape: OAuth2AuthorizationData, location_name: "oauth2"))
|
|
807
|
+
AuthorizationData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
808
|
+
AuthorizationData.add_member_subclass(:oauth2, Types::AuthorizationData::Oauth2)
|
|
809
|
+
AuthorizationData.add_member_subclass(:unknown, Types::AuthorizationData::Unknown)
|
|
810
|
+
AuthorizationData.struct_class = Types::AuthorizationData
|
|
811
|
+
|
|
801
812
|
AuthorizerConfiguration.add_member(:custom_jwt_authorizer, Shapes::ShapeRef.new(shape: CustomJWTAuthorizerConfiguration, location_name: "customJWTAuthorizer"))
|
|
802
813
|
AuthorizerConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
803
814
|
AuthorizerConfiguration.add_member_subclass(:custom_jwt_authorizer, Types::AuthorizerConfiguration::CustomJwtAuthorizer)
|
|
@@ -1121,6 +1132,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1121
1132
|
CreateGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
1122
1133
|
CreateGatewayTargetResponse.add_member(:private_endpoint, Shapes::ShapeRef.new(shape: PrivateEndpoint, location_name: "privateEndpoint"))
|
|
1123
1134
|
CreateGatewayTargetResponse.add_member(:private_endpoint_managed_resources, Shapes::ShapeRef.new(shape: PrivateEndpointManagedResources, location_name: "privateEndpointManagedResources"))
|
|
1135
|
+
CreateGatewayTargetResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationData, location_name: "authorizationData"))
|
|
1124
1136
|
CreateGatewayTargetResponse.struct_class = Types::CreateGatewayTargetResponse
|
|
1125
1137
|
|
|
1126
1138
|
CreateMemoryInput.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateMemoryInputClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -1659,6 +1671,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1659
1671
|
GatewayTarget.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
1660
1672
|
GatewayTarget.add_member(:private_endpoint, Shapes::ShapeRef.new(shape: PrivateEndpoint, location_name: "privateEndpoint"))
|
|
1661
1673
|
GatewayTarget.add_member(:private_endpoint_managed_resources, Shapes::ShapeRef.new(shape: PrivateEndpointManagedResources, location_name: "privateEndpointManagedResources"))
|
|
1674
|
+
GatewayTarget.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationData, location_name: "authorizationData"))
|
|
1662
1675
|
GatewayTarget.struct_class = Types::GatewayTarget
|
|
1663
1676
|
|
|
1664
1677
|
GatewayTargetList.member = Shapes::ShapeRef.new(shape: GatewayTarget)
|
|
@@ -1823,6 +1836,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1823
1836
|
GetGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
1824
1837
|
GetGatewayTargetResponse.add_member(:private_endpoint, Shapes::ShapeRef.new(shape: PrivateEndpoint, location_name: "privateEndpoint"))
|
|
1825
1838
|
GetGatewayTargetResponse.add_member(:private_endpoint_managed_resources, Shapes::ShapeRef.new(shape: PrivateEndpointManagedResources, location_name: "privateEndpointManagedResources"))
|
|
1839
|
+
GetGatewayTargetResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationData, location_name: "authorizationData"))
|
|
1826
1840
|
GetGatewayTargetResponse.struct_class = Types::GetGatewayTargetResponse
|
|
1827
1841
|
|
|
1828
1842
|
GetMemoryInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
@@ -2213,6 +2227,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2213
2227
|
McpLambdaTargetConfiguration.struct_class = Types::McpLambdaTargetConfiguration
|
|
2214
2228
|
|
|
2215
2229
|
McpServerTargetConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: McpServerTargetConfigurationEndpointString, required: true, location_name: "endpoint"))
|
|
2230
|
+
McpServerTargetConfiguration.add_member(:mcp_tool_schema, Shapes::ShapeRef.new(shape: McpToolSchemaConfiguration, location_name: "mcpToolSchema"))
|
|
2216
2231
|
McpServerTargetConfiguration.struct_class = Types::McpServerTargetConfiguration
|
|
2217
2232
|
|
|
2218
2233
|
McpSupportedVersions.member = Shapes::ShapeRef.new(shape: McpVersion)
|
|
@@ -2231,6 +2246,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
2231
2246
|
McpTargetConfiguration.add_member_subclass(:unknown, Types::McpTargetConfiguration::Unknown)
|
|
2232
2247
|
McpTargetConfiguration.struct_class = Types::McpTargetConfiguration
|
|
2233
2248
|
|
|
2249
|
+
McpToolSchemaConfiguration.add_member(:s3, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "s3"))
|
|
2250
|
+
McpToolSchemaConfiguration.add_member(:inline_payload, Shapes::ShapeRef.new(shape: InlinePayload, location_name: "inlinePayload"))
|
|
2251
|
+
McpToolSchemaConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2252
|
+
McpToolSchemaConfiguration.add_member_subclass(:s3, Types::McpToolSchemaConfiguration::S3)
|
|
2253
|
+
McpToolSchemaConfiguration.add_member_subclass(:inline_payload, Types::McpToolSchemaConfiguration::InlinePayload)
|
|
2254
|
+
McpToolSchemaConfiguration.add_member_subclass(:unknown, Types::McpToolSchemaConfiguration::Unknown)
|
|
2255
|
+
McpToolSchemaConfiguration.struct_class = Types::McpToolSchemaConfiguration
|
|
2256
|
+
|
|
2234
2257
|
Memory.add_member(:arn, Shapes::ShapeRef.new(shape: MemoryArn, required: true, location_name: "arn"))
|
|
2235
2258
|
Memory.add_member(:id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "id"))
|
|
2236
2259
|
Memory.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
|
@@ -2367,6 +2390,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
2367
2390
|
|
|
2368
2391
|
NumericalScaleDefinitions.member = Shapes::ShapeRef.new(shape: NumericalScaleDefinition)
|
|
2369
2392
|
|
|
2393
|
+
OAuth2AuthorizationData.add_member(:authorization_url, Shapes::ShapeRef.new(shape: OAuth2AuthorizationDataAuthorizationUrlString, required: true, location_name: "authorizationUrl"))
|
|
2394
|
+
OAuth2AuthorizationData.add_member(:user_id, Shapes::ShapeRef.new(shape: OAuth2AuthorizationDataUserIdString, location_name: "userId"))
|
|
2395
|
+
OAuth2AuthorizationData.struct_class = Types::OAuth2AuthorizationData
|
|
2396
|
+
|
|
2370
2397
|
OAuthCredentialProvider.add_member(:provider_arn, Shapes::ShapeRef.new(shape: OAuthCredentialProviderArn, required: true, location_name: "providerArn"))
|
|
2371
2398
|
OAuthCredentialProvider.add_member(:scopes, Shapes::ShapeRef.new(shape: OAuthScopes, required: true, location_name: "scopes"))
|
|
2372
2399
|
OAuthCredentialProvider.add_member(:custom_parameters, Shapes::ShapeRef.new(shape: OAuthCustomParameters, location_name: "customParameters"))
|
|
@@ -3007,6 +3034,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3007
3034
|
UpdateGatewayTargetResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
3008
3035
|
UpdateGatewayTargetResponse.add_member(:private_endpoint, Shapes::ShapeRef.new(shape: PrivateEndpoint, location_name: "privateEndpoint"))
|
|
3009
3036
|
UpdateGatewayTargetResponse.add_member(:private_endpoint_managed_resources, Shapes::ShapeRef.new(shape: PrivateEndpointManagedResources, location_name: "privateEndpointManagedResources"))
|
|
3037
|
+
UpdateGatewayTargetResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationData, location_name: "authorizationData"))
|
|
3010
3038
|
UpdateGatewayTargetResponse.struct_class = Types::UpdateGatewayTargetResponse
|
|
3011
3039
|
|
|
3012
3040
|
UpdateMemoryInput.add_member(:client_token, Shapes::ShapeRef.new(shape: UpdateMemoryInputClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -402,6 +402,28 @@ module Aws::BedrockAgentCoreControl
|
|
|
402
402
|
include Aws::Structure
|
|
403
403
|
end
|
|
404
404
|
|
|
405
|
+
# Contains the authorization data that is returned when a gateway target
|
|
406
|
+
# requires user authorization through an authorization code grant type.
|
|
407
|
+
#
|
|
408
|
+
# @note AuthorizationData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AuthorizationData corresponding to the set member.
|
|
409
|
+
#
|
|
410
|
+
# @!attribute [rw] oauth2
|
|
411
|
+
# OAuth2 authorization data for the gateway target.
|
|
412
|
+
# @return [Types::OAuth2AuthorizationData]
|
|
413
|
+
#
|
|
414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AuthorizationData AWS API Documentation
|
|
415
|
+
#
|
|
416
|
+
class AuthorizationData < Struct.new(
|
|
417
|
+
:oauth2,
|
|
418
|
+
:unknown)
|
|
419
|
+
SENSITIVE = []
|
|
420
|
+
include Aws::Structure
|
|
421
|
+
include Aws::Structure::Union
|
|
422
|
+
|
|
423
|
+
class Oauth2 < AuthorizationData; end
|
|
424
|
+
class Unknown < AuthorizationData; end
|
|
425
|
+
end
|
|
426
|
+
|
|
405
427
|
# Represents inbound authorization configuration options used to
|
|
406
428
|
# authenticate incoming requests.
|
|
407
429
|
#
|
|
@@ -1999,6 +2021,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
1999
2021
|
# connectivity.
|
|
2000
2022
|
# @return [Array<Types::ManagedResourceDetails>]
|
|
2001
2023
|
#
|
|
2024
|
+
# @!attribute [rw] authorization_data
|
|
2025
|
+
# OAuth2 authorization data for the created gateway target. This data
|
|
2026
|
+
# is returned when the target requires user authorization through an
|
|
2027
|
+
# authorization code grant type.
|
|
2028
|
+
# @return [Types::AuthorizationData]
|
|
2029
|
+
#
|
|
2002
2030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTargetResponse AWS API Documentation
|
|
2003
2031
|
#
|
|
2004
2032
|
class CreateGatewayTargetResponse < Struct.new(
|
|
@@ -2015,7 +2043,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2015
2043
|
:last_synchronized_at,
|
|
2016
2044
|
:metadata_configuration,
|
|
2017
2045
|
:private_endpoint,
|
|
2018
|
-
:private_endpoint_managed_resources
|
|
2046
|
+
:private_endpoint_managed_resources,
|
|
2047
|
+
:authorization_data)
|
|
2019
2048
|
SENSITIVE = [:name, :description]
|
|
2020
2049
|
include Aws::Structure
|
|
2021
2050
|
end
|
|
@@ -4509,6 +4538,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
4509
4538
|
# when you use a managed VPC Lattice resource configuration.
|
|
4510
4539
|
# @return [Array<Types::ManagedResourceDetails>]
|
|
4511
4540
|
#
|
|
4541
|
+
# @!attribute [rw] authorization_data
|
|
4542
|
+
# OAuth2 authorization data for the gateway target. This data is
|
|
4543
|
+
# returned when a target is configured with a credential provider with
|
|
4544
|
+
# authorization code grant type and requires user federation.
|
|
4545
|
+
# @return [Types::AuthorizationData]
|
|
4546
|
+
#
|
|
4512
4547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayTarget AWS API Documentation
|
|
4513
4548
|
#
|
|
4514
4549
|
class GatewayTarget < Struct.new(
|
|
@@ -4525,7 +4560,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4525
4560
|
:last_synchronized_at,
|
|
4526
4561
|
:metadata_configuration,
|
|
4527
4562
|
:private_endpoint,
|
|
4528
|
-
:private_endpoint_managed_resources
|
|
4563
|
+
:private_endpoint_managed_resources,
|
|
4564
|
+
:authorization_data)
|
|
4529
4565
|
SENSITIVE = [:name, :description]
|
|
4530
4566
|
include Aws::Structure
|
|
4531
4567
|
end
|
|
@@ -5298,6 +5334,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
5298
5334
|
# connectivity.
|
|
5299
5335
|
# @return [Array<Types::ManagedResourceDetails>]
|
|
5300
5336
|
#
|
|
5337
|
+
# @!attribute [rw] authorization_data
|
|
5338
|
+
# OAuth2 authorization data for the gateway target. This data is
|
|
5339
|
+
# returned when the target requires user authorization through an
|
|
5340
|
+
# authorization code grant type.
|
|
5341
|
+
# @return [Types::AuthorizationData]
|
|
5342
|
+
#
|
|
5301
5343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTargetResponse AWS API Documentation
|
|
5302
5344
|
#
|
|
5303
5345
|
class GetGatewayTargetResponse < Struct.new(
|
|
@@ -5314,7 +5356,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5314
5356
|
:last_synchronized_at,
|
|
5315
5357
|
:metadata_configuration,
|
|
5316
5358
|
:private_endpoint,
|
|
5317
|
-
:private_endpoint_managed_resources
|
|
5359
|
+
:private_endpoint_managed_resources,
|
|
5360
|
+
:authorization_data)
|
|
5318
5361
|
SENSITIVE = [:name, :description]
|
|
5319
5362
|
include Aws::Structure
|
|
5320
5363
|
end
|
|
@@ -7264,10 +7307,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
7264
7307
|
# The endpoint for the MCP server target configuration.
|
|
7265
7308
|
# @return [String]
|
|
7266
7309
|
#
|
|
7310
|
+
# @!attribute [rw] mcp_tool_schema
|
|
7311
|
+
# The tool schema configuration for the MCP server target. Supported
|
|
7312
|
+
# only when the credential provider is configured with an
|
|
7313
|
+
# authorization code grant type. Dynamic tool
|
|
7314
|
+
# discovery/synchronization will be disabled when target is configured
|
|
7315
|
+
# with mcpToolSchema.
|
|
7316
|
+
# @return [Types::McpToolSchemaConfiguration]
|
|
7317
|
+
#
|
|
7267
7318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/McpServerTargetConfiguration AWS API Documentation
|
|
7268
7319
|
#
|
|
7269
7320
|
class McpServerTargetConfiguration < Struct.new(
|
|
7270
|
-
:endpoint
|
|
7321
|
+
:endpoint,
|
|
7322
|
+
:mcp_tool_schema)
|
|
7271
7323
|
SENSITIVE = []
|
|
7272
7324
|
include Aws::Structure
|
|
7273
7325
|
end
|
|
@@ -7326,6 +7378,37 @@ module Aws::BedrockAgentCoreControl
|
|
|
7326
7378
|
class Unknown < McpTargetConfiguration; end
|
|
7327
7379
|
end
|
|
7328
7380
|
|
|
7381
|
+
# The MCP tool schema configuration for an MCP server target. The tool
|
|
7382
|
+
# schema must be aligned with the MCP specification.
|
|
7383
|
+
#
|
|
7384
|
+
# @note McpToolSchemaConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
7385
|
+
#
|
|
7386
|
+
# @note McpToolSchemaConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of McpToolSchemaConfiguration corresponding to the set member.
|
|
7387
|
+
#
|
|
7388
|
+
# @!attribute [rw] s3
|
|
7389
|
+
# The Amazon S3 location of the tool schema. This location contains
|
|
7390
|
+
# the schema definition file.
|
|
7391
|
+
# @return [Types::S3Configuration]
|
|
7392
|
+
#
|
|
7393
|
+
# @!attribute [rw] inline_payload
|
|
7394
|
+
# The inline payload containing the MCP tool schema definition.
|
|
7395
|
+
# @return [String]
|
|
7396
|
+
#
|
|
7397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/McpToolSchemaConfiguration AWS API Documentation
|
|
7398
|
+
#
|
|
7399
|
+
class McpToolSchemaConfiguration < Struct.new(
|
|
7400
|
+
:s3,
|
|
7401
|
+
:inline_payload,
|
|
7402
|
+
:unknown)
|
|
7403
|
+
SENSITIVE = [:inline_payload]
|
|
7404
|
+
include Aws::Structure
|
|
7405
|
+
include Aws::Structure::Union
|
|
7406
|
+
|
|
7407
|
+
class S3 < McpToolSchemaConfiguration; end
|
|
7408
|
+
class InlinePayload < McpToolSchemaConfiguration; end
|
|
7409
|
+
class Unknown < McpToolSchemaConfiguration; end
|
|
7410
|
+
end
|
|
7411
|
+
|
|
7329
7412
|
# Contains information about a memory resource.
|
|
7330
7413
|
#
|
|
7331
7414
|
# @!attribute [rw] arn
|
|
@@ -7886,6 +7969,28 @@ module Aws::BedrockAgentCoreControl
|
|
|
7886
7969
|
include Aws::Structure
|
|
7887
7970
|
end
|
|
7888
7971
|
|
|
7972
|
+
# OAuth2-specific authorization data, including the authorization URL
|
|
7973
|
+
# and user identifier for the authorization session.
|
|
7974
|
+
#
|
|
7975
|
+
# @!attribute [rw] authorization_url
|
|
7976
|
+
# The URL to initiate the authorization process. This URL is provided
|
|
7977
|
+
# when the OAuth2 access token requires user authorization.
|
|
7978
|
+
# @return [String]
|
|
7979
|
+
#
|
|
7980
|
+
# @!attribute [rw] user_id
|
|
7981
|
+
# The user identifier associated with the OAuth2 authorization session
|
|
7982
|
+
# that is defined by AgentCore Gateway.
|
|
7983
|
+
# @return [String]
|
|
7984
|
+
#
|
|
7985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OAuth2AuthorizationData AWS API Documentation
|
|
7986
|
+
#
|
|
7987
|
+
class OAuth2AuthorizationData < Struct.new(
|
|
7988
|
+
:authorization_url,
|
|
7989
|
+
:user_id)
|
|
7990
|
+
SENSITIVE = []
|
|
7991
|
+
include Aws::Structure
|
|
7992
|
+
end
|
|
7993
|
+
|
|
7889
7994
|
# An OAuth credential provider for gateway authentication. This
|
|
7890
7995
|
# structure contains the configuration for authenticating with the
|
|
7891
7996
|
# target endpoint using OAuth.
|
|
@@ -10687,6 +10792,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
10687
10792
|
# connectivity.
|
|
10688
10793
|
# @return [Array<Types::ManagedResourceDetails>]
|
|
10689
10794
|
#
|
|
10795
|
+
# @!attribute [rw] authorization_data
|
|
10796
|
+
# OAuth2 authorization data for the updated gateway target. This data
|
|
10797
|
+
# is returned when the target requires user authorization through an
|
|
10798
|
+
# authorization code grant type.
|
|
10799
|
+
# @return [Types::AuthorizationData]
|
|
10800
|
+
#
|
|
10690
10801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTargetResponse AWS API Documentation
|
|
10691
10802
|
#
|
|
10692
10803
|
class UpdateGatewayTargetResponse < Struct.new(
|
|
@@ -10703,7 +10814,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
10703
10814
|
:last_synchronized_at,
|
|
10704
10815
|
:metadata_configuration,
|
|
10705
10816
|
:private_endpoint,
|
|
10706
|
-
:private_endpoint_managed_resources
|
|
10817
|
+
:private_endpoint_managed_resources,
|
|
10818
|
+
:authorization_data)
|
|
10707
10819
|
SENSITIVE = [:name, :description]
|
|
10708
10820
|
include Aws::Structure
|
|
10709
10821
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -442,7 +442,7 @@ module Aws
|
|
|
442
442
|
def target_id: () -> ::String
|
|
443
443
|
def created_at: () -> ::Time
|
|
444
444
|
def updated_at: () -> ::Time
|
|
445
|
-
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
445
|
+
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
446
446
|
def status_reasons: () -> ::Array[::String]
|
|
447
447
|
def name: () -> ::String
|
|
448
448
|
def description: () -> ::String
|
|
@@ -452,6 +452,7 @@ module Aws
|
|
|
452
452
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
453
453
|
def private_endpoint: () -> Types::PrivateEndpoint
|
|
454
454
|
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
455
|
+
def authorization_data: () -> Types::AuthorizationData
|
|
455
456
|
end
|
|
456
457
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_gateway_target-instance_method
|
|
457
458
|
def create_gateway_target: (
|
|
@@ -505,7 +506,14 @@ module Aws
|
|
|
505
506
|
}
|
|
506
507
|
}?,
|
|
507
508
|
mcp_server: {
|
|
508
|
-
endpoint: ::String
|
|
509
|
+
endpoint: ::String,
|
|
510
|
+
mcp_tool_schema: {
|
|
511
|
+
s3: {
|
|
512
|
+
uri: ::String?,
|
|
513
|
+
bucket_owner_account_id: ::String?
|
|
514
|
+
}?,
|
|
515
|
+
inline_payload: ::String?
|
|
516
|
+
}?
|
|
509
517
|
}?,
|
|
510
518
|
api_gateway: {
|
|
511
519
|
rest_api_id: ::String,
|
|
@@ -998,7 +1006,7 @@ module Aws
|
|
|
998
1006
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGatewayTargetResponse]
|
|
999
1007
|
def gateway_arn: () -> ::String
|
|
1000
1008
|
def target_id: () -> ::String
|
|
1001
|
-
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
1009
|
+
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
1002
1010
|
def status_reasons: () -> ::Array[::String]
|
|
1003
1011
|
end
|
|
1004
1012
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_gateway_target-instance_method
|
|
@@ -1277,7 +1285,7 @@ module Aws
|
|
|
1277
1285
|
def target_id: () -> ::String
|
|
1278
1286
|
def created_at: () -> ::Time
|
|
1279
1287
|
def updated_at: () -> ::Time
|
|
1280
|
-
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
1288
|
+
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
1281
1289
|
def status_reasons: () -> ::Array[::String]
|
|
1282
1290
|
def name: () -> ::String
|
|
1283
1291
|
def description: () -> ::String
|
|
@@ -1287,6 +1295,7 @@ module Aws
|
|
|
1287
1295
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
1288
1296
|
def private_endpoint: () -> Types::PrivateEndpoint
|
|
1289
1297
|
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
1298
|
+
def authorization_data: () -> Types::AuthorizationData
|
|
1290
1299
|
end
|
|
1291
1300
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_gateway_target-instance_method
|
|
1292
1301
|
def get_gateway_target: (
|
|
@@ -2022,7 +2031,7 @@ module Aws
|
|
|
2022
2031
|
def target_id: () -> ::String
|
|
2023
2032
|
def created_at: () -> ::Time
|
|
2024
2033
|
def updated_at: () -> ::Time
|
|
2025
|
-
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
2034
|
+
def status: () -> ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
2026
2035
|
def status_reasons: () -> ::Array[::String]
|
|
2027
2036
|
def name: () -> ::String
|
|
2028
2037
|
def description: () -> ::String
|
|
@@ -2032,6 +2041,7 @@ module Aws
|
|
|
2032
2041
|
def metadata_configuration: () -> Types::MetadataConfiguration
|
|
2033
2042
|
def private_endpoint: () -> Types::PrivateEndpoint
|
|
2034
2043
|
def private_endpoint_managed_resources: () -> ::Array[Types::ManagedResourceDetails]
|
|
2044
|
+
def authorization_data: () -> Types::AuthorizationData
|
|
2035
2045
|
end
|
|
2036
2046
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_gateway_target-instance_method
|
|
2037
2047
|
def update_gateway_target: (
|
|
@@ -2085,7 +2095,14 @@ module Aws
|
|
|
2085
2095
|
}
|
|
2086
2096
|
}?,
|
|
2087
2097
|
mcp_server: {
|
|
2088
|
-
endpoint: ::String
|
|
2098
|
+
endpoint: ::String,
|
|
2099
|
+
mcp_tool_schema: {
|
|
2100
|
+
s3: {
|
|
2101
|
+
uri: ::String?,
|
|
2102
|
+
bucket_owner_account_id: ::String?
|
|
2103
|
+
}?,
|
|
2104
|
+
inline_payload: ::String?
|
|
2105
|
+
}?
|
|
2089
2106
|
}?,
|
|
2090
2107
|
api_gateway: {
|
|
2091
2108
|
rest_api_id: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -121,6 +121,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
121
121
|
SENSITIVE: []
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
+
class AuthorizationData
|
|
125
|
+
attr_accessor oauth2: Types::OAuth2AuthorizationData
|
|
126
|
+
attr_accessor unknown: untyped
|
|
127
|
+
SENSITIVE: []
|
|
128
|
+
|
|
129
|
+
class Oauth2 < AuthorizationData
|
|
130
|
+
end
|
|
131
|
+
class Unknown < AuthorizationData
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
124
135
|
class AuthorizerConfiguration
|
|
125
136
|
attr_accessor custom_jwt_authorizer: Types::CustomJWTAuthorizerConfiguration
|
|
126
137
|
attr_accessor unknown: untyped
|
|
@@ -527,7 +538,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
527
538
|
attr_accessor target_id: ::String
|
|
528
539
|
attr_accessor created_at: ::Time
|
|
529
540
|
attr_accessor updated_at: ::Time
|
|
530
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
541
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
531
542
|
attr_accessor status_reasons: ::Array[::String]
|
|
532
543
|
attr_accessor name: ::String
|
|
533
544
|
attr_accessor description: ::String
|
|
@@ -537,6 +548,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
537
548
|
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
538
549
|
attr_accessor private_endpoint: Types::PrivateEndpoint
|
|
539
550
|
attr_accessor private_endpoint_managed_resources: ::Array[Types::ManagedResourceDetails]
|
|
551
|
+
attr_accessor authorization_data: Types::AuthorizationData
|
|
540
552
|
SENSITIVE: [:name, :description]
|
|
541
553
|
end
|
|
542
554
|
|
|
@@ -963,7 +975,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
963
975
|
class DeleteGatewayTargetResponse
|
|
964
976
|
attr_accessor gateway_arn: ::String
|
|
965
977
|
attr_accessor target_id: ::String
|
|
966
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
978
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
967
979
|
attr_accessor status_reasons: ::Array[::String]
|
|
968
980
|
SENSITIVE: []
|
|
969
981
|
end
|
|
@@ -1275,7 +1287,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1275
1287
|
attr_accessor target_id: ::String
|
|
1276
1288
|
attr_accessor created_at: ::Time
|
|
1277
1289
|
attr_accessor updated_at: ::Time
|
|
1278
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
1290
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
1279
1291
|
attr_accessor status_reasons: ::Array[::String]
|
|
1280
1292
|
attr_accessor name: ::String
|
|
1281
1293
|
attr_accessor description: ::String
|
|
@@ -1285,6 +1297,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1285
1297
|
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
1286
1298
|
attr_accessor private_endpoint: Types::PrivateEndpoint
|
|
1287
1299
|
attr_accessor private_endpoint_managed_resources: ::Array[Types::ManagedResourceDetails]
|
|
1300
|
+
attr_accessor authorization_data: Types::AuthorizationData
|
|
1288
1301
|
SENSITIVE: [:name, :description]
|
|
1289
1302
|
end
|
|
1290
1303
|
|
|
@@ -1473,7 +1486,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1473
1486
|
attr_accessor target_id: ::String
|
|
1474
1487
|
attr_accessor created_at: ::Time
|
|
1475
1488
|
attr_accessor updated_at: ::Time
|
|
1476
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
1489
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
1477
1490
|
attr_accessor status_reasons: ::Array[::String]
|
|
1478
1491
|
attr_accessor name: ::String
|
|
1479
1492
|
attr_accessor description: ::String
|
|
@@ -1483,6 +1496,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1483
1496
|
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
1484
1497
|
attr_accessor private_endpoint: Types::PrivateEndpoint
|
|
1485
1498
|
attr_accessor private_endpoint_managed_resources: ::Array[Types::ManagedResourceDetails]
|
|
1499
|
+
attr_accessor authorization_data: Types::AuthorizationData
|
|
1486
1500
|
SENSITIVE: [:name, :description]
|
|
1487
1501
|
end
|
|
1488
1502
|
|
|
@@ -2034,6 +2048,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2034
2048
|
|
|
2035
2049
|
class McpServerTargetConfiguration
|
|
2036
2050
|
attr_accessor endpoint: ::String
|
|
2051
|
+
attr_accessor mcp_tool_schema: Types::McpToolSchemaConfiguration
|
|
2037
2052
|
SENSITIVE: []
|
|
2038
2053
|
end
|
|
2039
2054
|
|
|
@@ -2060,6 +2075,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
2060
2075
|
end
|
|
2061
2076
|
end
|
|
2062
2077
|
|
|
2078
|
+
class McpToolSchemaConfiguration
|
|
2079
|
+
attr_accessor s3: Types::S3Configuration
|
|
2080
|
+
attr_accessor inline_payload: ::String
|
|
2081
|
+
attr_accessor unknown: untyped
|
|
2082
|
+
SENSITIVE: [:inline_payload]
|
|
2083
|
+
|
|
2084
|
+
class S3 < McpToolSchemaConfiguration
|
|
2085
|
+
end
|
|
2086
|
+
class InlinePayload < McpToolSchemaConfiguration
|
|
2087
|
+
end
|
|
2088
|
+
class Unknown < McpToolSchemaConfiguration
|
|
2089
|
+
end
|
|
2090
|
+
end
|
|
2091
|
+
|
|
2063
2092
|
class Memory
|
|
2064
2093
|
attr_accessor arn: ::String
|
|
2065
2094
|
attr_accessor id: ::String
|
|
@@ -2239,6 +2268,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
2239
2268
|
SENSITIVE: []
|
|
2240
2269
|
end
|
|
2241
2270
|
|
|
2271
|
+
class OAuth2AuthorizationData
|
|
2272
|
+
attr_accessor authorization_url: ::String
|
|
2273
|
+
attr_accessor user_id: ::String
|
|
2274
|
+
SENSITIVE: []
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2242
2277
|
class OAuthCredentialProvider
|
|
2243
2278
|
attr_accessor provider_arn: ::String
|
|
2244
2279
|
attr_accessor scopes: ::Array[::String]
|
|
@@ -2820,7 +2855,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2820
2855
|
class TargetSummary
|
|
2821
2856
|
attr_accessor target_id: ::String
|
|
2822
2857
|
attr_accessor name: ::String
|
|
2823
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
2858
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
2824
2859
|
attr_accessor description: ::String
|
|
2825
2860
|
attr_accessor created_at: ::Time
|
|
2826
2861
|
attr_accessor updated_at: ::Time
|
|
@@ -3063,7 +3098,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3063
3098
|
attr_accessor target_id: ::String
|
|
3064
3099
|
attr_accessor created_at: ::Time
|
|
3065
3100
|
attr_accessor updated_at: ::Time
|
|
3066
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL")
|
|
3101
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL" | "CREATE_PENDING_AUTH" | "UPDATE_PENDING_AUTH" | "SYNCHRONIZE_PENDING_AUTH")
|
|
3067
3102
|
attr_accessor status_reasons: ::Array[::String]
|
|
3068
3103
|
attr_accessor name: ::String
|
|
3069
3104
|
attr_accessor description: ::String
|
|
@@ -3073,6 +3108,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3073
3108
|
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
|
3074
3109
|
attr_accessor private_endpoint: Types::PrivateEndpoint
|
|
3075
3110
|
attr_accessor private_endpoint_managed_resources: ::Array[Types::ManagedResourceDetails]
|
|
3111
|
+
attr_accessor authorization_data: Types::AuthorizationData
|
|
3076
3112
|
SENSITIVE: [:name, :description]
|
|
3077
3113
|
end
|
|
3078
3114
|
|