|
127 | 127 | "traits": { |
128 | 128 | "smithy.api#documentation": "<p>The JSON-formatted string returned by the API invoked by the action group.</p>" |
129 | 129 | } |
| 130 | + }, |
| 131 | + "metadata": { |
| 132 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 133 | + "traits": { |
| 134 | + "smithy.api#documentation": "<p>Contains information about the action group output.</p>" |
| 135 | + } |
130 | 136 | } |
131 | 137 | }, |
132 | 138 | "traits": { |
|
413 | 419 | "traits": { |
414 | 420 | "smithy.api#documentation": "<p>The output's output.</p>" |
415 | 421 | } |
| 422 | + }, |
| 423 | + "metadata": { |
| 424 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 425 | + "traits": { |
| 426 | + "smithy.api#documentation": "<p>Contains information about the output from the agent collaborator.</p>" |
| 427 | + } |
416 | 428 | } |
417 | 429 | }, |
418 | 430 | "traits": { |
|
1750 | 1762 | "traits": { |
1751 | 1763 | "smithy.api#documentation": "<p>Indicates if the execution of the code timed out.</p>" |
1752 | 1764 | } |
| 1765 | + }, |
| 1766 | + "metadata": { |
| 1767 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 1768 | + "traits": { |
| 1769 | + "smithy.api#documentation": "<p>Contains information about the output from the code interpreter.</p>" |
| 1770 | + } |
1753 | 1771 | } |
1754 | 1772 | }, |
1755 | 1773 | "traits": { |
|
2702 | 2720 | "traits": { |
2703 | 2721 | "smithy.api#documentation": "<p>The reason the interaction failed.</p>" |
2704 | 2722 | } |
| 2723 | + }, |
| 2724 | + "failureCode": { |
| 2725 | + "target": "smithy.api#Integer", |
| 2726 | + "traits": { |
| 2727 | + "smithy.api#documentation": "<p>The failure code for the trace.</p>" |
| 2728 | + } |
| 2729 | + }, |
| 2730 | + "metadata": { |
| 2731 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 2732 | + "traits": { |
| 2733 | + "smithy.api#documentation": "<p>Information about the failure that occurred.</p>" |
| 2734 | + } |
2705 | 2735 | } |
2706 | 2736 | }, |
2707 | 2737 | "traits": { |
|
2873 | 2903 | "traits": { |
2874 | 2904 | "smithy.api#documentation": "<p>The text in the response to the user.</p>" |
2875 | 2905 | } |
| 2906 | + }, |
| 2907 | + "metadata": { |
| 2908 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 2909 | + "traits": { |
| 2910 | + "smithy.api#documentation": "<p>Contains information about the invoke agent operation.</p>" |
| 2911 | + } |
2876 | 2912 | } |
2877 | 2913 | }, |
2878 | 2914 | "traits": { |
|
4953 | 4989 | "traits": { |
4954 | 4990 | "smithy.api#documentation": "<p>The details of the output assessments used in the Guardrail Trace.</p>" |
4955 | 4991 | } |
| 4992 | + }, |
| 4993 | + "metadata": { |
| 4994 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 4995 | + "traits": { |
| 4996 | + "smithy.api#documentation": "<p>Contains information about the Guardrail output.</p>" |
| 4997 | + } |
4956 | 4998 | } |
4957 | 4999 | }, |
4958 | 5000 | "traits": { |
|
6535 | 6577 | "traits": { |
6536 | 6578 | "smithy.api#documentation": "<p>Contains metadata about the sources cited for the generated response.</p>" |
6537 | 6579 | } |
| 6580 | + }, |
| 6581 | + "metadata": { |
| 6582 | + "target": "com.amazonaws.bedrockagentruntime#Metadata", |
| 6583 | + "traits": { |
| 6584 | + "smithy.api#documentation": "<p>Contains information about the knowledge base output.</p>" |
| 6585 | + } |
6538 | 6586 | } |
6539 | 6587 | }, |
6540 | 6588 | "traits": { |
|
7207 | 7255 | "com.amazonaws.bedrockagentruntime#Metadata": { |
7208 | 7256 | "type": "structure", |
7209 | 7257 | "members": { |
| 7258 | + "startTime": { |
| 7259 | + "target": "com.amazonaws.bedrockagentruntime#DateTimestamp", |
| 7260 | + "traits": { |
| 7261 | + "smithy.api#documentation": "<p>In the final response, <code>startTime</code> is the start time of the agent invocation operation.</p>", |
| 7262 | + "smithy.api#timestampFormat": "date-time" |
| 7263 | + } |
| 7264 | + }, |
| 7265 | + "endTime": { |
| 7266 | + "target": "com.amazonaws.bedrockagentruntime#DateTimestamp", |
| 7267 | + "traits": { |
| 7268 | + "smithy.api#documentation": "<p>In the final response, <code>endTime</code> is the end time time of the agent invocation operation.</p>", |
| 7269 | + "smithy.api#timestampFormat": "date-time" |
| 7270 | + } |
| 7271 | + }, |
| 7272 | + "totalTimeMs": { |
| 7273 | + "target": "smithy.api#Long", |
| 7274 | + "traits": { |
| 7275 | + "smithy.api#documentation": "<p> The total execution time for the specific invocation being processed (model, knowledge base, guardrail, agent collaborator, or code interpreter). It represents how long the individual invocation took.</p>" |
| 7276 | + } |
| 7277 | + }, |
| 7278 | + "operationTotalTimeMs": { |
| 7279 | + "target": "smithy.api#Long", |
| 7280 | + "traits": { |
| 7281 | + "smithy.api#documentation": "<p>The total time it took for the agent to complete execution. This field is only set for the final response.</p>" |
| 7282 | + } |
| 7283 | + }, |
| 7284 | + "clientRequestId": { |
| 7285 | + "target": "smithy.api#String", |
| 7286 | + "traits": { |
| 7287 | + "smithy.api#documentation": "<p>A unique identifier associated with the downstream invocation. This ID can be used for tracing, debugging, and identifying specific invocations in customer logs or systems.</p>" |
| 7288 | + } |
| 7289 | + }, |
7210 | 7290 | "usage": { |
7211 | 7291 | "target": "com.amazonaws.bedrockagentruntime#Usage", |
7212 | 7292 | "traits": { |
7213 | | - "smithy.api#documentation": "<p>Contains details of the foundation model usage.</p>" |
| 7293 | + "smithy.api#documentation": "<p>Specific to model invocation and contains details about the usage of a foundation model.</p>" |
7214 | 7294 | } |
7215 | 7295 | } |
7216 | 7296 | }, |
7217 | 7297 | "traits": { |
7218 | | - "smithy.api#documentation": "<p>Provides details of the foundation model.</p>", |
| 7298 | + "smithy.api#documentation": "<p>Provides information about the execution process for different types of invocations, such as model invocation, knowledge base invocation, agent collaborator invocation, guardrail invocation, and code interpreter Invocation.</p>", |
7219 | 7299 | "smithy.api#sensitive": {} |
7220 | 7300 | } |
7221 | 7301 | }, |
|
0 commit comments