Skip to content

Commit 5d1b069

Browse files
author
AWS
committed
Amazon Bedrock AgentCore Control Update: Adds support for direct code deploy with CreateAgentRuntime and UpdateAgentRuntime
1 parent 2130362 commit 5d1b069

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock AgentCore Control",
4+
"contributor": "",
5+
"description": "Adds support for direct code deploy with CreateAgentRuntime and UpdateAgentRuntime"
6+
}

services/bedrockagentcorecontrol/src/main/resources/codegen-resources/service-2.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,15 @@
11351135
"max":256,
11361136
"min":1
11371137
},
1138+
"AgentManagedRuntimeType":{
1139+
"type":"string",
1140+
"enum":[
1141+
"PYTHON_3_10",
1142+
"PYTHON_3_11",
1143+
"PYTHON_3_12",
1144+
"PYTHON_3_13"
1145+
]
1146+
},
11381147
"AgentRuntime":{
11391148
"type":"structure",
11401149
"required":[
@@ -1188,6 +1197,10 @@
11881197
"containerConfiguration":{
11891198
"shape":"ContainerConfiguration",
11901199
"documentation":"<p>The container configuration for the agent artifact.</p>"
1200+
},
1201+
"codeConfiguration":{
1202+
"shape":"CodeConfiguration",
1203+
"documentation":"<p>The code configuration for the agent runtime artifact, including the source code location and execution settings.</p>"
11911204
}
11921205
},
11931206
"documentation":"<p>The artifact of the agent.</p>",
@@ -1592,6 +1605,46 @@
15921605
"min":33,
15931606
"pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}"
15941607
},
1608+
"Code":{
1609+
"type":"structure",
1610+
"members":{
1611+
"s3":{
1612+
"shape":"S3Location",
1613+
"documentation":"<p>The Amazon Amazon S3 object that contains the source code for the agent runtime.</p>"
1614+
}
1615+
},
1616+
"documentation":"<p>The source code configuration that specifies the location and details of the code to be executed.</p>",
1617+
"union":true
1618+
},
1619+
"CodeConfiguration":{
1620+
"type":"structure",
1621+
"required":[
1622+
"code",
1623+
"runtime",
1624+
"entryPoint"
1625+
],
1626+
"members":{
1627+
"code":{
1628+
"shape":"Code",
1629+
"documentation":"<p>The source code location and configuration details.</p>"
1630+
},
1631+
"runtime":{
1632+
"shape":"AgentManagedRuntimeType",
1633+
"documentation":"<p>The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).</p>"
1634+
},
1635+
"entryPoint":{
1636+
"shape":"CodeConfigurationEntryPointList",
1637+
"documentation":"<p>The entry point for the code execution, specifying the function or method that should be invoked when the code runs.</p>"
1638+
}
1639+
},
1640+
"documentation":"<p>The configuration for the source code that defines how the agent runtime code should be executed, including the code location, runtime environment, and entry point.</p>"
1641+
},
1642+
"CodeConfigurationEntryPointList":{
1643+
"type":"list",
1644+
"member":{"shape":"entryPoint"},
1645+
"max":2,
1646+
"min":1
1647+
},
15951648
"CodeInterpreterArn":{
15961649
"type":"string",
15971650
"pattern":"arn:(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:(aws|[0-9]{12}):code-interpreter(-custom)?/(aws\\.codeinterpreter\\.v1|[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10})"
@@ -2780,6 +2833,13 @@
27802833
"documentation":"<p>The unique identifier of the AgentCore Runtime to delete.</p>",
27812834
"location":"uri",
27822835
"locationName":"agentRuntimeId"
2836+
},
2837+
"clientToken":{
2838+
"shape":"ClientToken",
2839+
"documentation":"<p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.</p>",
2840+
"idempotencyToken":true,
2841+
"location":"querystring",
2842+
"locationName":"clientToken"
27832843
}
27842844
}
27852845
},
@@ -5553,6 +5613,10 @@
55535613
"prefix":{
55545614
"shape":"S3LocationPrefixString",
55555615
"documentation":"<p>The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.</p>"
5616+
},
5617+
"versionId":{
5618+
"shape":"S3LocationVersionIdString",
5619+
"documentation":"<p>The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.</p>"
55565620
}
55575621
},
55585622
"documentation":"<p>The Amazon S3 location for storing data. This structure defines where in Amazon S3 data is stored.</p>"
@@ -5563,8 +5627,14 @@
55635627
},
55645628
"S3LocationPrefixString":{
55655629
"type":"string",
5630+
"max":1024,
55665631
"min":1
55675632
},
5633+
"S3LocationVersionIdString":{
5634+
"type":"string",
5635+
"max":1024,
5636+
"min":3
5637+
},
55685638
"SalesforceOauth2ProviderConfigInput":{
55695639
"type":"structure",
55705640
"required":[
@@ -7276,6 +7346,11 @@
72767346
}
72777347
},
72787348
"documentation":"<p>Contains information about a workload identity.</p>"
7349+
},
7350+
"entryPoint":{
7351+
"type":"string",
7352+
"max":128,
7353+
"min":1
72797354
}
72807355
},
72817356
"documentation":"<p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>"

0 commit comments

Comments
 (0)