Skip to content

Commit d2ca889

Browse files
Update API model
1 parent a669f58 commit d2ca889

6 files changed

Lines changed: 437 additions & 13 deletions

File tree

‎tools/code-generation/smithy/api-descriptions/bedrock-agentcore-control.json‎

Lines changed: 129 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,40 @@
771771
}
772772
}
773773
},
774+
"com.amazonaws.bedrockagentcorecontrol#AllowedPort": {
775+
"type": "union",
776+
"members": {
777+
"port": {
778+
"target": "com.amazonaws.bedrockagentcorecontrol#Port",
779+
"traits": {
780+
"smithy.api#documentation": "<p>A single port that is reachable through the runtime's session URL.</p>"
781+
}
782+
},
783+
"portRange": {
784+
"target": "com.amazonaws.bedrockagentcorecontrol#PortRange",
785+
"traits": {
786+
"smithy.api#documentation": "<p>An inclusive range of ports that are reachable through the runtime's session URL.</p>"
787+
}
788+
}
789+
},
790+
"traits": {
791+
"smithy.api#documentation": "<p>A port or port range that is reachable through the runtime's session URL. Specify exactly one of <code>port</code> or <code>portRange</code>.</p>"
792+
}
793+
},
794+
"com.amazonaws.bedrockagentcorecontrol#AllowedPorts": {
795+
"type": "list",
796+
"member": {
797+
"target": "com.amazonaws.bedrockagentcorecontrol#AllowedPort"
798+
},
799+
"traits": {
800+
"smithy.api#documentation": "<p>Additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. The list can contain up to five non-overlapping entries.</p>",
801+
"smithy.api#length": {
802+
"min": 1,
803+
"max": 5
804+
},
805+
"smithy.api#uniqueItems": {}
806+
}
807+
},
774808
"com.amazonaws.bedrockagentcorecontrol#AllowedQueryParameters": {
775809
"type": "list",
776810
"member": {
@@ -5218,7 +5252,10 @@
52185252
}
52195253
},
52205254
"protocolConfiguration": {
5221-
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration"
5255+
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration",
5256+
"traits": {
5257+
"smithy.api#documentation": "<p>The protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.</p>"
5258+
}
52225259
},
52235260
"lifecycleConfiguration": {
52245261
"target": "com.amazonaws.bedrockagentcorecontrol#LifecycleConfiguration",
@@ -5255,6 +5292,12 @@
52555292
"traits": {
52565293
"smithy.api#documentation": "<p>The version of the runtime platform to use for the AgentCore Runtime.</p>"
52575294
}
5295+
},
5296+
"allowedPorts": {
5297+
"target": "com.amazonaws.bedrockagentcorecontrol#AllowedPorts",
5298+
"traits": {
5299+
"smithy.api#documentation": "<p>The additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. Specify one to five non-overlapping entries, each containing either a single port or an inclusive port range. Ports must be between <code>8000</code> and <code>12000</code>, excluding the reserved port <code>8443</code>.</p>"
5300+
}
52585301
}
52595302
},
52605303
"traits": {
@@ -16271,7 +16314,10 @@
1627116314
}
1627216315
},
1627316316
"protocolConfiguration": {
16274-
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration"
16317+
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration",
16318+
"traits": {
16319+
"smithy.api#documentation": "<p>The protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.</p>"
16320+
}
1627516321
},
1627616322
"environmentVariables": {
1627716323
"target": "com.amazonaws.bedrockagentcorecontrol#EnvironmentVariablesMap",
@@ -16314,6 +16360,12 @@
1631416360
"traits": {
1631516361
"smithy.api#documentation": "<p>The version of the runtime platform used by the AgentCore Runtime.</p>"
1631616362
}
16363+
},
16364+
"allowedPorts": {
16365+
"target": "com.amazonaws.bedrockagentcorecontrol#AllowedPorts",
16366+
"traits": {
16367+
"smithy.api#documentation": "<p>The additional ports on the AgentCore Runtime that are reachable through the runtime's session URL.</p>"
16368+
}
1631716369
}
1631816370
},
1631916371
"traits": {
@@ -32281,6 +32333,38 @@
3228132333
"smithy.api#default": "FAIL_ON_ANY_FINDINGS"
3228232334
}
3228332335
},
32336+
"com.amazonaws.bedrockagentcorecontrol#Port": {
32337+
"type": "integer",
32338+
"traits": {
32339+
"smithy.api#documentation": "<p>A port between <code>8000</code> and <code>12000</code>. Port <code>8443</code> is reserved and cannot be used.</p>",
32340+
"smithy.api#range": {
32341+
"min": 8000,
32342+
"max": 12000
32343+
}
32344+
}
32345+
},
32346+
"com.amazonaws.bedrockagentcorecontrol#PortRange": {
32347+
"type": "structure",
32348+
"members": {
32349+
"from": {
32350+
"target": "com.amazonaws.bedrockagentcorecontrol#Port",
32351+
"traits": {
32352+
"smithy.api#documentation": "<p>The first port in the inclusive range.</p>",
32353+
"smithy.api#required": {}
32354+
}
32355+
},
32356+
"to": {
32357+
"target": "com.amazonaws.bedrockagentcorecontrol#Port",
32358+
"traits": {
32359+
"smithy.api#documentation": "<p>The last port in the inclusive range.</p>",
32360+
"smithy.api#required": {}
32361+
}
32362+
}
32363+
},
32364+
"traits": {
32365+
"smithy.api#documentation": "<p>An inclusive range of ports. The value of <code>from</code> must be less than or equal to the value of <code>to</code>.</p>"
32366+
}
32367+
},
3228432368
"com.amazonaws.bedrockagentcorecontrol#PortalUrlType": {
3228532369
"type": "string",
3228632370
"traits": {
@@ -32443,6 +32527,18 @@
3244332527
"smithy.api#documentation": "<p>The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.</p>",
3244432528
"smithy.api#required": {}
3244532529
}
32530+
},
32531+
"port": {
32532+
"target": "com.amazonaws.bedrockagentcorecontrol#ServerPort",
32533+
"traits": {
32534+
"smithy.api#documentation": "<p>The port on which the agent server listens. The port must be between <code>8000</code> and <code>12000</code>, excluding the reserved port <code>8443</code>. When this field is omitted, the default is <code>8080</code> for <code>HTTP</code> and <code>AGUI</code>, <code>8000</code> for <code>MCP</code>, and <code>9000</code> for <code>A2A</code>.</p>"
32535+
}
32536+
},
32537+
"path": {
32538+
"target": "com.amazonaws.bedrockagentcorecontrol#ServerPath",
32539+
"traits": {
32540+
"smithy.api#documentation": "<p>The path on which the agent server accepts requests. The path must begin with <code>/</code>. When this field is omitted, the default is <code>/invocations</code> for <code>HTTP</code> and <code>AGUI</code>, <code>/mcp</code> for <code>MCP</code>, and <code>/</code> for <code>A2A</code>.</p>"
32541+
}
3244632542
}
3244732543
},
3244832544
"traits": {
@@ -34769,6 +34865,27 @@
3476934865
"smithy.api#documentation": "<p>The server definition for an MCP descriptor. Contains the schema version and inline content for the MCP server configuration.</p>"
3477034866
}
3477134867
},
34868+
"com.amazonaws.bedrockagentcorecontrol#ServerPath": {
34869+
"type": "string",
34870+
"traits": {
34871+
"smithy.api#documentation": "<p>The path on which the agent server accepts requests. The path must begin with <code>/</code> and can contain up to 2,048 characters.</p>",
34872+
"smithy.api#length": {
34873+
"min": 1,
34874+
"max": 2048
34875+
},
34876+
"smithy.api#pattern": "^/[A-Za-z0-9\\-._~/%]*$"
34877+
}
34878+
},
34879+
"com.amazonaws.bedrockagentcorecontrol#ServerPort": {
34880+
"type": "integer",
34881+
"traits": {
34882+
"smithy.api#documentation": "<p>A port between <code>8000</code> and <code>12000</code>. Port <code>8443</code> is reserved and cannot be used.</p>",
34883+
"smithy.api#range": {
34884+
"min": 8000,
34885+
"max": 12000
34886+
}
34887+
}
34888+
},
3477234889
"com.amazonaws.bedrockagentcorecontrol#ServerProtocol": {
3477334890
"type": "enum",
3477434891
"members": {
@@ -37471,7 +37588,10 @@
3747137588
}
3747237589
},
3747337590
"protocolConfiguration": {
37474-
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration"
37591+
"target": "com.amazonaws.bedrockagentcorecontrol#ProtocolConfiguration",
37592+
"traits": {
37593+
"smithy.api#documentation": "<p>The updated protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available.</p>"
37594+
}
3747537595
},
3747637596
"lifecycleConfiguration": {
3747737597
"target": "com.amazonaws.bedrockagentcorecontrol#LifecycleConfiguration",
@@ -37509,6 +37629,12 @@
3750937629
"smithy.api#documentation": "<p>The updated version of the runtime platform to use for the AgentCore Runtime.</p>"
3751037630
}
3751137631
},
37632+
"allowedPorts": {
37633+
"target": "com.amazonaws.bedrockagentcorecontrol#AllowedPorts",
37634+
"traits": {
37635+
"smithy.api#documentation": "<p>The updated additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. Specify one to five non-overlapping entries, each containing either a single port or an inclusive port range. Ports must be between <code>8000</code> and <code>12000</code>, excluding the reserved port <code>8443</code>.</p>"
37636+
}
37637+
},
3751237638
"clientToken": {
3751337639
"target": "com.amazonaws.bedrockagentcorecontrol#ClientToken",
3751437640
"traits": {

‎tools/code-generation/smithy/api-descriptions/bedrock-agentcore.json‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11281,6 +11281,17 @@
1128111281
"smithy.api#httpHeader": "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"
1128211282
}
1128311283
},
11284+
"sessionEndpointUrl": {
11285+
"target": "smithy.api#String",
11286+
"traits": {
11287+
"smithy.api#documentation": "<p>The HTTPS endpoint that addresses this runtime session directly. This value is returned only when the agent runtime is configured with allowed ports and direct runtime access is available for the session. If this value is not present, use <code>InvokeAgentRuntime</code> to communicate with the session.</p>",
11288+
"smithy.api#httpHeader": "X-Amzn-Bedrock-AgentCore-Runtime-Session-Endpoint-Url",
11289+
"smithy.api#length": {
11290+
"min": 1,
11291+
"max": 128
11292+
}
11293+
}
11294+
},
1128411295
"mcpSessionId": {
1128511296
"target": "com.amazonaws.bedrockagentcore#SessionId",
1128611297
"traits": {

‎tools/code-generation/smithy/api-descriptions/cleanrooms.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,12 @@
14181418
"traits": {
14191419
"smithy.api#enumValue": "PYSPARK_1_0"
14201420
}
1421+
},
1422+
"PYSPARK_2_0": {
1423+
"target": "smithy.api#Unit",
1424+
"traits": {
1425+
"smithy.api#enumValue": "PYSPARK_2_0"
1426+
}
14211427
}
14221428
}
14231429
},
@@ -18066,6 +18072,12 @@
1806618072
"com.amazonaws.cleanrooms#ProtectedJobS3OutputConfigurationInput": {
1806718073
"type": "structure",
1806818074
"members": {
18075+
"resultFormat": {
18076+
"target": "com.amazonaws.cleanrooms#ResultFormat",
18077+
"traits": {
18078+
"smithy.api#documentation": "<p>The file format of the protected job results. If you don't specify a format, results are written as CSV.</p>"
18079+
}
18080+
},
1806918081
"bucket": {
1807018082
"target": "smithy.api#String",
1807118083
"traits": {

0 commit comments

Comments
 (0)