Skip to content

Commit afa89df

Browse files
author
AWS
committed
Amazon Bedrock AgentCore Data Plane Fronting Layer Update: Bedrock AgentCore release for Runtime, and Memory.
1 parent 029cb4d commit afa89df

File tree

2 files changed

+119
-3
lines changed

2 files changed

+119
-3
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 Data Plane Fronting Layer",
4+
"contributor": "",
5+
"description": "Bedrock AgentCore release for Runtime, and Memory."
6+
}

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

Lines changed: 113 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"http":{
1919
"method":"POST",
2020
"requestUri":"/memories/{memoryId}/memoryRecords/batchCreate",
21-
"responseCode":200
21+
"responseCode":201
2222
},
2323
"input":{"shape":"BatchCreateMemoryRecordsInput"},
2424
"output":{"shape":"BatchCreateMemoryRecordsOutput"},
@@ -76,7 +76,7 @@
7676
"http":{
7777
"method":"POST",
7878
"requestUri":"/memories/{memoryId}/events",
79-
"responseCode":200
79+
"responseCode":201
8080
},
8181
"input":{"shape":"CreateEventInput"},
8282
"output":{"shape":"CreateEventOutput"},
@@ -341,7 +341,7 @@
341341
{"shape":"ResourceNotFoundException"},
342342
{"shape":"InternalServerException"}
343343
],
344-
"documentation":"<p>Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time. </p> <p>To invoke an agent you must specify the AgentCore Runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or endpoint of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p> <p>For example code, see <a href=\"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-invoke-agent.html\">Invoke an AgentCore Runtime agent</a>. </p> <p>If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call <code>InvokeAgentRuntime</code>. Instead, make a HTTPS request to <code>InvokeAgentRuntime</code>. For an example, see <a href=\"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html\">Authenticate and authorize with Inbound Auth and Outbound Auth</a>.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:InvokeAgentRuntime</code> permission.</p>"
344+
"documentation":"<p>Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time. </p> <p>To invoke an agent you must specify the AgentCore Runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or endpoint of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p> <p>For example code, see <a href=\"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-invoke-agent.html\">Invoke an AgentCore Runtime agent</a>. </p> <p>If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call <code>InvokeAgentRuntime</code>. Instead, make a HTTPS request to <code>InvokeAgentRuntime</code>. For an example, see <a href=\"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html\">Authenticate and authorize with Inbound Auth and Outbound Auth</a>.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:InvokeAgentRuntime</code> permission. If you are making a call to <code>InvokeAgentRuntime</code> on behalf of a user ID with the <code>X-Amzn-Bedrock-AgentCore-Runtime-User-Id</code> header, You require permissions to both actions (<code>bedrock-agentcore:InvokeAgentRuntime</code> and <code>bedrock-agentcore:InvokeAgentRuntimeForUser</code>). </p>"
345345
},
346346
"InvokeCodeInterpreter":{
347347
"name":"InvokeCodeInterpreter",
@@ -2059,6 +2059,18 @@
20592059
"location":"header",
20602060
"locationName":"x-amzn-code-interpreter-session-id"
20612061
},
2062+
"traceId":{
2063+
"shape":"InvokeCodeInterpreterRequestTraceIdString",
2064+
"documentation":"<p>The trace identifier for request tracking.</p>",
2065+
"location":"header",
2066+
"locationName":"X-Amzn-Trace-Id"
2067+
},
2068+
"traceParent":{
2069+
"shape":"InvokeCodeInterpreterRequestTraceParentString",
2070+
"documentation":"<p>The parent trace information for distributed tracing.</p>",
2071+
"location":"header",
2072+
"locationName":"traceparent"
2073+
},
20622074
"name":{
20632075
"shape":"ToolName",
20642076
"documentation":"<p>The name of the code interpreter to invoke.</p>"
@@ -2069,6 +2081,16 @@
20692081
}
20702082
}
20712083
},
2084+
"InvokeCodeInterpreterRequestTraceIdString":{
2085+
"type":"string",
2086+
"max":1024,
2087+
"min":0
2088+
},
2089+
"InvokeCodeInterpreterRequestTraceParentString":{
2090+
"type":"string",
2091+
"max":1024,
2092+
"min":0
2093+
},
20722094
"InvokeCodeInterpreterResponse":{
20732095
"type":"structure",
20742096
"required":["stream"],
@@ -2971,6 +2993,18 @@
29712993
"type":"structure",
29722994
"required":["browserIdentifier"],
29732995
"members":{
2996+
"traceId":{
2997+
"shape":"StartBrowserSessionRequestTraceIdString",
2998+
"documentation":"<p>The trace identifier for request tracking.</p>",
2999+
"location":"header",
3000+
"locationName":"X-Amzn-Trace-Id"
3001+
},
3002+
"traceParent":{
3003+
"shape":"StartBrowserSessionRequestTraceParentString",
3004+
"documentation":"<p>The parent trace information for distributed tracing.</p>",
3005+
"location":"header",
3006+
"locationName":"traceparent"
3007+
},
29743008
"browserIdentifier":{
29753009
"shape":"String",
29763010
"documentation":"<p>The unique identifier of the browser to use for this session. This identifier specifies which browser environment to initialize for the session.</p>",
@@ -2996,6 +3030,16 @@
29963030
}
29973031
}
29983032
},
3033+
"StartBrowserSessionRequestTraceIdString":{
3034+
"type":"string",
3035+
"max":1024,
3036+
"min":0
3037+
},
3038+
"StartBrowserSessionRequestTraceParentString":{
3039+
"type":"string",
3040+
"max":1024,
3041+
"min":0
3042+
},
29993043
"StartBrowserSessionResponse":{
30003044
"type":"structure",
30013045
"required":[
@@ -3026,6 +3070,18 @@
30263070
"type":"structure",
30273071
"required":["codeInterpreterIdentifier"],
30283072
"members":{
3073+
"traceId":{
3074+
"shape":"StartCodeInterpreterSessionRequestTraceIdString",
3075+
"documentation":"<p>The trace identifier for request tracking.</p>",
3076+
"location":"header",
3077+
"locationName":"X-Amzn-Trace-Id"
3078+
},
3079+
"traceParent":{
3080+
"shape":"StartCodeInterpreterSessionRequestTraceParentString",
3081+
"documentation":"<p>The parent trace information for distributed tracing.</p>",
3082+
"location":"header",
3083+
"locationName":"traceparent"
3084+
},
30293085
"codeInterpreterIdentifier":{
30303086
"shape":"String",
30313087
"documentation":"<p>The unique identifier of the code interpreter to use for this session. This identifier specifies which code interpreter environment to initialize for the session.</p>",
@@ -3047,6 +3103,16 @@
30473103
}
30483104
}
30493105
},
3106+
"StartCodeInterpreterSessionRequestTraceIdString":{
3107+
"type":"string",
3108+
"max":1024,
3109+
"min":0
3110+
},
3111+
"StartCodeInterpreterSessionRequestTraceParentString":{
3112+
"type":"string",
3113+
"max":1024,
3114+
"min":0
3115+
},
30503116
"StartCodeInterpreterSessionResponse":{
30513117
"type":"structure",
30523118
"required":[
@@ -3076,6 +3142,18 @@
30763142
"sessionId"
30773143
],
30783144
"members":{
3145+
"traceId":{
3146+
"shape":"StopBrowserSessionRequestTraceIdString",
3147+
"documentation":"<p>The trace identifier for request tracking.</p>",
3148+
"location":"header",
3149+
"locationName":"X-Amzn-Trace-Id"
3150+
},
3151+
"traceParent":{
3152+
"shape":"StopBrowserSessionRequestTraceParentString",
3153+
"documentation":"<p>The parent trace information for distributed tracing.</p>",
3154+
"location":"header",
3155+
"locationName":"traceparent"
3156+
},
30793157
"browserIdentifier":{
30803158
"shape":"String",
30813159
"documentation":"<p>The unique identifier of the browser associated with the session.</p>",
@@ -3095,6 +3173,16 @@
30953173
}
30963174
}
30973175
},
3176+
"StopBrowserSessionRequestTraceIdString":{
3177+
"type":"string",
3178+
"max":1024,
3179+
"min":0
3180+
},
3181+
"StopBrowserSessionRequestTraceParentString":{
3182+
"type":"string",
3183+
"max":1024,
3184+
"min":0
3185+
},
30983186
"StopBrowserSessionResponse":{
30993187
"type":"structure",
31003188
"required":[
@@ -3124,6 +3212,18 @@
31243212
"sessionId"
31253213
],
31263214
"members":{
3215+
"traceId":{
3216+
"shape":"StopCodeInterpreterSessionRequestTraceIdString",
3217+
"documentation":"<p>The trace identifier for request tracking.</p>",
3218+
"location":"header",
3219+
"locationName":"X-Amzn-Trace-Id"
3220+
},
3221+
"traceParent":{
3222+
"shape":"StopCodeInterpreterSessionRequestTraceParentString",
3223+
"documentation":"<p>The parent trace information for distributed tracing.</p>",
3224+
"location":"header",
3225+
"locationName":"traceparent"
3226+
},
31273227
"codeInterpreterIdentifier":{
31283228
"shape":"String",
31293229
"documentation":"<p>The unique identifier of the code interpreter associated with the session.</p>",
@@ -3143,6 +3243,16 @@
31433243
}
31443244
}
31453245
},
3246+
"StopCodeInterpreterSessionRequestTraceIdString":{
3247+
"type":"string",
3248+
"max":1024,
3249+
"min":0
3250+
},
3251+
"StopCodeInterpreterSessionRequestTraceParentString":{
3252+
"type":"string",
3253+
"max":1024,
3254+
"min":0
3255+
},
31463256
"StopCodeInterpreterSessionResponse":{
31473257
"type":"structure",
31483258
"required":[

0 commit comments

Comments
 (0)