Skip to content

Commit 96f7b0a

Browse files
Updated API models and rebuilt service gems.
1 parent 4405132 commit 96f7b0a

File tree

102 files changed

+3451
-846
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+3451
-846
lines changed

apis/bedrock-agent-runtime/2023-07-26/api-2.json

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"input":{"shape":"DeleteAgentMemoryRequest"},
6464
"output":{"shape":"DeleteAgentMemoryResponse"},
6565
"errors":[
66-
{"shape":"ConflictException"},
6766
{"shape":"ResourceNotFoundException"},
67+
{"shape":"ConflictException"},
6868
{"shape":"ValidationException"},
6969
{"shape":"InternalServerException"},
7070
{"shape":"DependencyFailedException"},
@@ -85,8 +85,8 @@
8585
"input":{"shape":"DeleteSessionRequest"},
8686
"output":{"shape":"DeleteSessionResponse"},
8787
"errors":[
88-
{"shape":"ConflictException"},
8988
{"shape":"ResourceNotFoundException"},
89+
{"shape":"ConflictException"},
9090
{"shape":"ValidationException"},
9191
{"shape":"InternalServerException"},
9292
{"shape":"ThrottlingException"},
@@ -104,8 +104,8 @@
104104
"input":{"shape":"EndSessionRequest"},
105105
"output":{"shape":"EndSessionResponse"},
106106
"errors":[
107-
{"shape":"ConflictException"},
108107
{"shape":"ResourceNotFoundException"},
108+
{"shape":"ConflictException"},
109109
{"shape":"ValidationException"},
110110
{"shape":"InternalServerException"},
111111
{"shape":"ThrottlingException"},
@@ -123,8 +123,8 @@
123123
"input":{"shape":"GenerateQueryRequest"},
124124
"output":{"shape":"GenerateQueryResponse"},
125125
"errors":[
126-
{"shape":"ConflictException"},
127126
{"shape":"ResourceNotFoundException"},
127+
{"shape":"ConflictException"},
128128
{"shape":"ValidationException"},
129129
{"shape":"InternalServerException"},
130130
{"shape":"DependencyFailedException"},
@@ -144,8 +144,8 @@
144144
"input":{"shape":"GetAgentMemoryRequest"},
145145
"output":{"shape":"GetAgentMemoryResponse"},
146146
"errors":[
147-
{"shape":"ConflictException"},
148147
{"shape":"ResourceNotFoundException"},
148+
{"shape":"ConflictException"},
149149
{"shape":"ValidationException"},
150150
{"shape":"InternalServerException"},
151151
{"shape":"DependencyFailedException"},
@@ -200,8 +200,8 @@
200200
"output":{"shape":"InvokeAgentResponse"},
201201
"errors":[
202202
{"shape":"ModelNotReadyException"},
203-
{"shape":"ConflictException"},
204203
{"shape":"ResourceNotFoundException"},
204+
{"shape":"ConflictException"},
205205
{"shape":"ValidationException"},
206206
{"shape":"InternalServerException"},
207207
{"shape":"DependencyFailedException"},
@@ -221,8 +221,8 @@
221221
"input":{"shape":"InvokeFlowRequest"},
222222
"output":{"shape":"InvokeFlowResponse"},
223223
"errors":[
224-
{"shape":"ConflictException"},
225224
{"shape":"ResourceNotFoundException"},
225+
{"shape":"ConflictException"},
226226
{"shape":"ValidationException"},
227227
{"shape":"InternalServerException"},
228228
{"shape":"DependencyFailedException"},
@@ -242,8 +242,8 @@
242242
"input":{"shape":"InvokeInlineAgentRequest"},
243243
"output":{"shape":"InvokeInlineAgentResponse"},
244244
"errors":[
245-
{"shape":"ConflictException"},
246245
{"shape":"ResourceNotFoundException"},
246+
{"shape":"ConflictException"},
247247
{"shape":"ValidationException"},
248248
{"shape":"InternalServerException"},
249249
{"shape":"DependencyFailedException"},
@@ -348,8 +348,8 @@
348348
"input":{"shape":"PutInvocationStepRequest"},
349349
"output":{"shape":"PutInvocationStepResponse"},
350350
"errors":[
351-
{"shape":"ConflictException"},
352351
{"shape":"ResourceNotFoundException"},
352+
{"shape":"ConflictException"},
353353
{"shape":"ValidationException"},
354354
{"shape":"InternalServerException"},
355355
{"shape":"ThrottlingException"},
@@ -368,8 +368,8 @@
368368
"input":{"shape":"RerankRequest"},
369369
"output":{"shape":"RerankResponse"},
370370
"errors":[
371-
{"shape":"ConflictException"},
372371
{"shape":"ResourceNotFoundException"},
372+
{"shape":"ConflictException"},
373373
{"shape":"ValidationException"},
374374
{"shape":"InternalServerException"},
375375
{"shape":"DependencyFailedException"},
@@ -389,8 +389,8 @@
389389
"input":{"shape":"RetrieveRequest"},
390390
"output":{"shape":"RetrieveResponse"},
391391
"errors":[
392-
{"shape":"ConflictException"},
393392
{"shape":"ResourceNotFoundException"},
393+
{"shape":"ConflictException"},
394394
{"shape":"ValidationException"},
395395
{"shape":"InternalServerException"},
396396
{"shape":"DependencyFailedException"},
@@ -410,8 +410,8 @@
410410
"input":{"shape":"RetrieveAndGenerateRequest"},
411411
"output":{"shape":"RetrieveAndGenerateResponse"},
412412
"errors":[
413-
{"shape":"ConflictException"},
414413
{"shape":"ResourceNotFoundException"},
414+
{"shape":"ConflictException"},
415415
{"shape":"ValidationException"},
416416
{"shape":"InternalServerException"},
417417
{"shape":"DependencyFailedException"},
@@ -431,8 +431,8 @@
431431
"input":{"shape":"RetrieveAndGenerateStreamRequest"},
432432
"output":{"shape":"RetrieveAndGenerateStreamResponse"},
433433
"errors":[
434-
{"shape":"ConflictException"},
435434
{"shape":"ResourceNotFoundException"},
435+
{"shape":"ConflictException"},
436436
{"shape":"ValidationException"},
437437
{"shape":"InternalServerException"},
438438
{"shape":"DependencyFailedException"},
@@ -1097,6 +1097,12 @@
10971097
"type":"string",
10981098
"enum":["RETURN_CONTROL"]
10991099
},
1100+
"CustomOrchestration":{
1101+
"type":"structure",
1102+
"members":{
1103+
"executor":{"shape":"OrchestrationExecutor"}
1104+
}
1105+
},
11001106
"CustomOrchestrationTrace":{
11011107
"type":"structure",
11021108
"members":{
@@ -2295,6 +2301,9 @@
22952301
"InlineAgentTracePart":{
22962302
"type":"structure",
22972303
"members":{
2304+
"callerChain":{"shape":"CallerChain"},
2305+
"collaboratorName":{"shape":"Name"},
2306+
"eventTime":{"shape":"SyntheticTimestamp_date_time"},
22982307
"sessionId":{"shape":"SessionId"},
22992308
"trace":{"shape":"Trace"}
23002309
},
@@ -2595,9 +2604,11 @@
25952604
"members":{
25962605
"actionGroups":{"shape":"AgentActionGroups"},
25972606
"agentCollaboration":{"shape":"AgentCollaboration"},
2607+
"agentName":{"shape":"Name"},
25982608
"bedrockModelConfigurations":{"shape":"InlineBedrockModelConfigurations"},
25992609
"collaboratorConfigurations":{"shape":"CollaboratorConfigurations"},
26002610
"collaborators":{"shape":"Collaborators"},
2611+
"customOrchestration":{"shape":"CustomOrchestration"},
26012612
"customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
26022613
"enableTrace":{"shape":"Boolean"},
26032614
"endSession":{"shape":"Boolean"},
@@ -2608,6 +2619,7 @@
26082619
"inputText":{"shape":"InputText"},
26092620
"instruction":{"shape":"Instruction"},
26102621
"knowledgeBases":{"shape":"KnowledgeBases"},
2622+
"orchestrationType":{"shape":"OrchestrationType"},
26112623
"promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"},
26122624
"sessionId":{
26132625
"shape":"SessionId",
@@ -3146,6 +3158,13 @@
31463158
"queryTransformationConfiguration":{"shape":"QueryTransformationConfiguration"}
31473159
}
31483160
},
3161+
"OrchestrationExecutor":{
3162+
"type":"structure",
3163+
"members":{
3164+
"lambda":{"shape":"LambdaArn"}
3165+
},
3166+
"union":true
3167+
},
31493168
"OrchestrationModelInvocationOutput":{
31503169
"type":"structure",
31513170
"members":{
@@ -3168,6 +3187,13 @@
31683187
"sensitive":true,
31693188
"union":true
31703189
},
3190+
"OrchestrationType":{
3191+
"type":"string",
3192+
"enum":[
3193+
"DEFAULT",
3194+
"CUSTOM_ORCHESTRATION"
3195+
]
3196+
},
31713197
"OutputFile":{
31723198
"type":"structure",
31733199
"members":{

apis/bedrock-agent-runtime/2023-07-26/docs-2.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"GetAgentMemory": "<p>Gets the sessions stored in the memory of the agent.</p>",
1212
"GetInvocationStep": "<p>Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html\">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>",
1313
"GetSession": "<p>Retrieves details about a specific session. For more information about sessions, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html\">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>",
14-
"InvokeAgent": "<note> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events\">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response contains both <b>chunk</b> and <b>trace</b> attributes.</p> <p>The final response is returned in the <code>bytes</code> field of the <code>chunk</code> object. The <code>InvokeAgent</code> returns one chunk for the entire interaction.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul>",
14+
"InvokeAgent": "<p><note> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events\">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response contains both <b>chunk</b> and <b>trace</b> attributes.</p> <p>The final response is returned in the <code>bytes</code> field of the <code>chunk</code> object. The <code>InvokeAgent</code> returns one chunk for the entire interaction.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul></p>",
1515
"InvokeFlow": "<p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>",
1616
"InvokeInlineAgent": "<p> Invokes an inline Amazon Bedrock agent using the configurations you provide with the request. </p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul> <note> </note>",
1717
"ListInvocationSteps": "<p>Lists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html\">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>",
@@ -367,7 +367,7 @@
367367
"InvokeAgentRequest$enableTrace": "<p>Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events\">Trace enablement</a>.</p>",
368368
"InvokeAgentRequest$endSession": "<p>Specifies whether to end the session with the agent or not.</p>",
369369
"InvokeFlowRequest$enableTrace": "<p>Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html\">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>",
370-
"InvokeInlineAgentRequest$enableTrace": "<p> Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html\">Using trace</a>. <pre><code> &lt;/p&gt; </code></pre>",
370+
"InvokeInlineAgentRequest$enableTrace": "<p> Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html\">Using trace</a>. </p>",
371371
"InvokeInlineAgentRequest$endSession": "<p> Specifies whether to end the session with the inline agent or not. </p>",
372372
"ParameterDetail$required": "<p> Whether the parameter is required for the agent to complete the function for action group invocation. </p>",
373373
"PreProcessingParsedResponse$isValid": "<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>",
@@ -402,6 +402,7 @@
402402
"CallerChain": {
403403
"base": null,
404404
"refs": {
405+
"InlineAgentTracePart$callerChain": "<p>The caller chain for the trace part.</p>",
405406
"TracePart$callerChain": "<p>The part's caller chain.</p>"
406407
}
407408
},
@@ -562,6 +563,12 @@
562563
"ActionGroupExecutor$customControl": "<p> To return the action group invocation results directly in the <code>InvokeInlineAgent</code> response, specify <code>RETURN_CONTROL</code>. </p>"
563564
}
564565
},
566+
"CustomOrchestration": {
567+
"base": "<p>Contains details of the custom orchestration configured for the agent. </p>",
568+
"refs": {
569+
"InvokeInlineAgentRequest$customOrchestration": "<p>Contains details of the custom orchestration configured for the agent. </p>"
570+
}
571+
},
565572
"CustomOrchestrationTrace": {
566573
"base": "<p> The trace behavior for the custom orchestration. </p>",
567574
"refs": {
@@ -1419,7 +1426,7 @@
14191426
"InlineAgentResponseStream": {
14201427
"base": "<p>The response from invoking the agent and associated citations and trace information.</p>",
14211428
"refs": {
1422-
"InvokeInlineAgentResponse$completion": "<p> <pre><code> &lt;/p&gt; </code></pre>"
1429+
"InvokeInlineAgentResponse$completion": "<p>The inline agent's response to the user prompt. </p>"
14231430
}
14241431
},
14251432
"InlineAgentReturnControlPayload": {
@@ -1738,7 +1745,8 @@
17381745
"LambdaArn": {
17391746
"base": null,
17401747
"refs": {
1741-
"ModelInvocationInput$overrideLambda": "<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence.</p>"
1748+
"ModelInvocationInput$overrideLambda": "<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence.</p>",
1749+
"OrchestrationExecutor$lambda": "<p>The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action. </p>"
17421750
}
17431751
},
17441752
"LambdaResourceArn": {
@@ -1940,6 +1948,8 @@
19401948
"Collaborator$agentName": "<p> Name of the inline collaborator agent which must be the same name as specified for <code>collaboratorName</code>. </p>",
19411949
"CollaboratorConfiguration$collaboratorName": "<p> Name of the inline collaborator agent which must be the same name as specified for <code>agentName</code>. </p>",
19421950
"FunctionInvocationInput$collaboratorName": "<p>The collaborator's name.</p>",
1951+
"InlineAgentTracePart$collaboratorName": "<p>The collaborator name for the trace part.</p>",
1952+
"InvokeInlineAgentRequest$agentName": "<p>The name for the agent.</p>",
19431953
"TracePart$collaboratorName": "<p>The part's collaborator name.</p>"
19441954
}
19451955
},
@@ -2057,6 +2067,12 @@
20572067
"KnowledgeBaseRetrieveAndGenerateConfiguration$orchestrationConfiguration": "<p>Settings for how the model processes the prompt prior to retrieval and generation.</p>"
20582068
}
20592069
},
2070+
"OrchestrationExecutor": {
2071+
"base": "<p>The structure of the executor invoking the actions in custom orchestration.</p>",
2072+
"refs": {
2073+
"CustomOrchestration$executor": "<p>The structure of the executor invoking the actions in custom orchestration. </p>"
2074+
}
2075+
},
20602076
"OrchestrationModelInvocationOutput": {
20612077
"base": "<p>The foundation model output from the orchestration step.</p>",
20622078
"refs": {
@@ -2069,6 +2085,12 @@
20692085
"Trace$orchestrationTrace": "<p>Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.</p>"
20702086
}
20712087
},
2088+
"OrchestrationType": {
2089+
"base": null,
2090+
"refs": {
2091+
"InvokeInlineAgentRequest$orchestrationType": "<p>Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default. </p>"
2092+
}
2093+
},
20722094
"OutputFile": {
20732095
"base": "<p>Contains details of the response from code interpreter.</p>",
20742096
"refs": {
@@ -3096,6 +3118,7 @@
30963118
"SyntheticTimestamp_date_time": {
30973119
"base": null,
30983120
"refs": {
3121+
"InlineAgentTracePart$eventTime": "<p>The time that trace occurred. </p>",
30993122
"TracePart$eventTime": "<p> The time of the trace. </p>"
31003123
}
31013124
},

0 commit comments

Comments
 (0)