|
18 | 18 | "http":{ |
19 | 19 | "method":"POST", |
20 | 20 | "requestUri":"/memories/{memoryId}/memoryRecords/batchCreate", |
21 | | - "responseCode":200 |
| 21 | + "responseCode":201 |
22 | 22 | }, |
23 | 23 | "input":{"shape":"BatchCreateMemoryRecordsInput"}, |
24 | 24 | "output":{"shape":"BatchCreateMemoryRecordsOutput"}, |
|
76 | 76 | "http":{ |
77 | 77 | "method":"POST", |
78 | 78 | "requestUri":"/memories/{memoryId}/events", |
79 | | - "responseCode":200 |
| 79 | + "responseCode":201 |
80 | 80 | }, |
81 | 81 | "input":{"shape":"CreateEventInput"}, |
82 | 82 | "output":{"shape":"CreateEventOutput"}, |
|
341 | 341 | {"shape":"ResourceNotFoundException"}, |
342 | 342 | {"shape":"InternalServerException"} |
343 | 343 | ], |
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>" |
345 | 345 | }, |
346 | 346 | "InvokeCodeInterpreter":{ |
347 | 347 | "name":"InvokeCodeInterpreter", |
|
2059 | 2059 | "location":"header", |
2060 | 2060 | "locationName":"x-amzn-code-interpreter-session-id" |
2061 | 2061 | }, |
| 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 | + }, |
2062 | 2074 | "name":{ |
2063 | 2075 | "shape":"ToolName", |
2064 | 2076 | "documentation":"<p>The name of the code interpreter to invoke.</p>" |
|
2069 | 2081 | } |
2070 | 2082 | } |
2071 | 2083 | }, |
| 2084 | + "InvokeCodeInterpreterRequestTraceIdString":{ |
| 2085 | + "type":"string", |
| 2086 | + "max":1024, |
| 2087 | + "min":0 |
| 2088 | + }, |
| 2089 | + "InvokeCodeInterpreterRequestTraceParentString":{ |
| 2090 | + "type":"string", |
| 2091 | + "max":1024, |
| 2092 | + "min":0 |
| 2093 | + }, |
2072 | 2094 | "InvokeCodeInterpreterResponse":{ |
2073 | 2095 | "type":"structure", |
2074 | 2096 | "required":["stream"], |
|
2971 | 2993 | "type":"structure", |
2972 | 2994 | "required":["browserIdentifier"], |
2973 | 2995 | "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 | + }, |
2974 | 3008 | "browserIdentifier":{ |
2975 | 3009 | "shape":"String", |
2976 | 3010 | "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 | 3030 | } |
2997 | 3031 | } |
2998 | 3032 | }, |
| 3033 | + "StartBrowserSessionRequestTraceIdString":{ |
| 3034 | + "type":"string", |
| 3035 | + "max":1024, |
| 3036 | + "min":0 |
| 3037 | + }, |
| 3038 | + "StartBrowserSessionRequestTraceParentString":{ |
| 3039 | + "type":"string", |
| 3040 | + "max":1024, |
| 3041 | + "min":0 |
| 3042 | + }, |
2999 | 3043 | "StartBrowserSessionResponse":{ |
3000 | 3044 | "type":"structure", |
3001 | 3045 | "required":[ |
|
3026 | 3070 | "type":"structure", |
3027 | 3071 | "required":["codeInterpreterIdentifier"], |
3028 | 3072 | "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 | + }, |
3029 | 3085 | "codeInterpreterIdentifier":{ |
3030 | 3086 | "shape":"String", |
3031 | 3087 | "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 | 3103 | } |
3048 | 3104 | } |
3049 | 3105 | }, |
| 3106 | + "StartCodeInterpreterSessionRequestTraceIdString":{ |
| 3107 | + "type":"string", |
| 3108 | + "max":1024, |
| 3109 | + "min":0 |
| 3110 | + }, |
| 3111 | + "StartCodeInterpreterSessionRequestTraceParentString":{ |
| 3112 | + "type":"string", |
| 3113 | + "max":1024, |
| 3114 | + "min":0 |
| 3115 | + }, |
3050 | 3116 | "StartCodeInterpreterSessionResponse":{ |
3051 | 3117 | "type":"structure", |
3052 | 3118 | "required":[ |
|
3076 | 3142 | "sessionId" |
3077 | 3143 | ], |
3078 | 3144 | "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 | + }, |
3079 | 3157 | "browserIdentifier":{ |
3080 | 3158 | "shape":"String", |
3081 | 3159 | "documentation":"<p>The unique identifier of the browser associated with the session.</p>", |
|
3095 | 3173 | } |
3096 | 3174 | } |
3097 | 3175 | }, |
| 3176 | + "StopBrowserSessionRequestTraceIdString":{ |
| 3177 | + "type":"string", |
| 3178 | + "max":1024, |
| 3179 | + "min":0 |
| 3180 | + }, |
| 3181 | + "StopBrowserSessionRequestTraceParentString":{ |
| 3182 | + "type":"string", |
| 3183 | + "max":1024, |
| 3184 | + "min":0 |
| 3185 | + }, |
3098 | 3186 | "StopBrowserSessionResponse":{ |
3099 | 3187 | "type":"structure", |
3100 | 3188 | "required":[ |
|
3124 | 3212 | "sessionId" |
3125 | 3213 | ], |
3126 | 3214 | "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 | + }, |
3127 | 3227 | "codeInterpreterIdentifier":{ |
3128 | 3228 | "shape":"String", |
3129 | 3229 | "documentation":"<p>The unique identifier of the code interpreter associated with the session.</p>", |
|
3143 | 3243 | } |
3144 | 3244 | } |
3145 | 3245 | }, |
| 3246 | + "StopCodeInterpreterSessionRequestTraceIdString":{ |
| 3247 | + "type":"string", |
| 3248 | + "max":1024, |
| 3249 | + "min":0 |
| 3250 | + }, |
| 3251 | + "StopCodeInterpreterSessionRequestTraceParentString":{ |
| 3252 | + "type":"string", |
| 3253 | + "max":1024, |
| 3254 | + "min":0 |
| 3255 | + }, |
3146 | 3256 | "StopCodeInterpreterSessionResponse":{ |
3147 | 3257 | "type":"structure", |
3148 | 3258 | "required":[ |
|
0 commit comments