|
392 | 392 | "min":0,
|
393 | 393 | "sensitive":true
|
394 | 394 | },
|
| 395 | + "CachePointBlock":{ |
| 396 | + "type":"structure", |
| 397 | + "required":["type"], |
| 398 | + "members":{ |
| 399 | + "type":{ |
| 400 | + "shape":"CachePointType", |
| 401 | + "documentation":"<p>Specifies the type of cache point within the CachePointBlock.</p>" |
| 402 | + } |
| 403 | + }, |
| 404 | + "documentation":"<p>Defines a section of content to be cached for reuse in subsequent API calls.</p>" |
| 405 | + }, |
| 406 | + "CachePointType":{ |
| 407 | + "type":"string", |
| 408 | + "enum":["default"] |
| 409 | + }, |
395 | 410 | "ConflictException":{
|
396 | 411 | "type":"structure",
|
397 | 412 | "members":{
|
|
435 | 450 | "shape":"GuardrailConverseContentBlock",
|
436 | 451 | "documentation":"<p>Contains the content to assess with the guardrail. If you don't specify <code>guardContent</code> in a call to the Converse API, the guardrail (if passed in the Converse API) assesses the entire message.</p> <p>For more information, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. <pre><code> </p> </code></pre>"
|
437 | 452 | },
|
| 453 | + "cachePoint":{ |
| 454 | + "shape":"CachePointBlock", |
| 455 | + "documentation":"<p>CachePoint to include in the message.</p>" |
| 456 | + }, |
438 | 457 | "reasoningContent":{
|
439 | 458 | "shape":"ReasoningContentBlock",
|
440 | 459 | "documentation":"<p>Contains content regarding the reasoning that is carried out by the model. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>"
|
|
2641 | 2660 | "guardContent":{
|
2642 | 2661 | "shape":"GuardrailConverseContentBlock",
|
2643 | 2662 | "documentation":"<p>A content block to assess with the guardrail. Use with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> API operations. </p> <p>For more information, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.</p>"
|
| 2663 | + }, |
| 2664 | + "cachePoint":{ |
| 2665 | + "shape":"CachePointBlock", |
| 2666 | + "documentation":"<p>CachePoint to include in the system prompt.</p>" |
2644 | 2667 | }
|
2645 | 2668 | },
|
2646 | 2669 | "documentation":"<p>A system content block.</p>",
|
|
2729 | 2752 | "totalTokens":{
|
2730 | 2753 | "shape":"TokenUsageTotalTokensInteger",
|
2731 | 2754 | "documentation":"<p>The total of input tokens and tokens generated by the model.</p>"
|
| 2755 | + }, |
| 2756 | + "cacheReadInputTokens":{ |
| 2757 | + "shape":"TokenUsageCacheReadInputTokensInteger", |
| 2758 | + "documentation":"<p>The number of input tokens read from the cache for the request.</p>" |
| 2759 | + }, |
| 2760 | + "cacheWriteInputTokens":{ |
| 2761 | + "shape":"TokenUsageCacheWriteInputTokensInteger", |
| 2762 | + "documentation":"<p>The number of input tokens written to the cache for the request.</p>" |
2732 | 2763 | }
|
2733 | 2764 | },
|
2734 | 2765 | "documentation":"<p>The tokens used in a message API inference call. </p>"
|
2735 | 2766 | },
|
| 2767 | + "TokenUsageCacheReadInputTokensInteger":{ |
| 2768 | + "type":"integer", |
| 2769 | + "box":true, |
| 2770 | + "min":0 |
| 2771 | + }, |
| 2772 | + "TokenUsageCacheWriteInputTokensInteger":{ |
| 2773 | + "type":"integer", |
| 2774 | + "box":true, |
| 2775 | + "min":0 |
| 2776 | + }, |
2736 | 2777 | "TokenUsageInputTokensInteger":{
|
2737 | 2778 | "type":"integer",
|
2738 | 2779 | "box":true,
|
|
2754 | 2795 | "toolSpec":{
|
2755 | 2796 | "shape":"ToolSpecification",
|
2756 | 2797 | "documentation":"<p>The specfication for the tool.</p>"
|
| 2798 | + }, |
| 2799 | + "cachePoint":{ |
| 2800 | + "shape":"CachePointBlock", |
| 2801 | + "documentation":"<p>CachePoint to include in the tool configuration.</p>" |
2757 | 2802 | }
|
2758 | 2803 | },
|
2759 | 2804 | "documentation":"<p>Information about a tool that you can use with the Converse API. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html\">Tool use (function calling)</a> in the Amazon Bedrock User Guide.</p>",
|
|
0 commit comments