|
463 | 463 | }, |
464 | 464 | "documentation":"<p>A summary of an asynchronous invocation.</p>" |
465 | 465 | }, |
| 466 | + "AudioBlock":{ |
| 467 | + "type":"structure", |
| 468 | + "required":[ |
| 469 | + "format", |
| 470 | + "source" |
| 471 | + ], |
| 472 | + "members":{ |
| 473 | + "format":{ |
| 474 | + "shape":"AudioFormat", |
| 475 | + "documentation":"<p>The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.</p>" |
| 476 | + }, |
| 477 | + "source":{ |
| 478 | + "shape":"AudioSource", |
| 479 | + "documentation":"<p>The source of the audio data, which can be provided as raw bytes or an S3 location.</p>" |
| 480 | + }, |
| 481 | + "error":{ |
| 482 | + "shape":"ErrorBlock", |
| 483 | + "documentation":"<p>Error information if the audio block could not be processed or contains invalid data.</p>" |
| 484 | + } |
| 485 | + }, |
| 486 | + "documentation":"<p>An audio content block that contains audio data in various supported formats.</p>" |
| 487 | + }, |
| 488 | + "AudioFormat":{ |
| 489 | + "type":"string", |
| 490 | + "enum":[ |
| 491 | + "mp3", |
| 492 | + "opus", |
| 493 | + "wav", |
| 494 | + "aac", |
| 495 | + "flac", |
| 496 | + "mp4", |
| 497 | + "ogg", |
| 498 | + "mkv", |
| 499 | + "mka", |
| 500 | + "x-aac", |
| 501 | + "m4a", |
| 502 | + "mpeg", |
| 503 | + "mpga", |
| 504 | + "pcm", |
| 505 | + "webm" |
| 506 | + ] |
| 507 | + }, |
| 508 | + "AudioSource":{ |
| 509 | + "type":"structure", |
| 510 | + "members":{ |
| 511 | + "bytes":{ |
| 512 | + "shape":"AudioSourceBytesBlob", |
| 513 | + "documentation":"<p>Audio data encoded in base64.</p>" |
| 514 | + }, |
| 515 | + "s3Location":{ |
| 516 | + "shape":"S3Location", |
| 517 | + "documentation":"<p>A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>" |
| 518 | + } |
| 519 | + }, |
| 520 | + "documentation":"<p>The source of audio data, which can be provided either as raw bytes or a reference to an S3 location.</p>", |
| 521 | + "sensitive":true, |
| 522 | + "union":true |
| 523 | + }, |
| 524 | + "AudioSourceBytesBlob":{ |
| 525 | + "type":"blob", |
| 526 | + "min":1 |
| 527 | + }, |
466 | 528 | "AutoToolChoice":{ |
467 | 529 | "type":"structure", |
468 | 530 | "members":{}, |
|
699 | 761 | "shape":"VideoBlock", |
700 | 762 | "documentation":"<p>Video to include in the message. </p>" |
701 | 763 | }, |
| 764 | + "audio":{ |
| 765 | + "shape":"AudioBlock", |
| 766 | + "documentation":"<p>An audio content block containing audio data in the conversation.</p>" |
| 767 | + }, |
702 | 768 | "toolUse":{ |
703 | 769 | "shape":"ToolUseBlock", |
704 | 770 | "documentation":"<p>Information about a tool use request from a model.</p>" |
|
753 | 819 | "citation":{ |
754 | 820 | "shape":"CitationsDelta", |
755 | 821 | "documentation":"<p>Incremental citation information that is streamed as part of the response generation process.</p>" |
| 822 | + }, |
| 823 | + "image":{ |
| 824 | + "shape":"ImageBlockDelta", |
| 825 | + "documentation":"<p>A streaming delta event containing incremental image data.</p>" |
756 | 826 | } |
757 | 827 | }, |
758 | 828 | "documentation":"<p>A block of content in a streaming response.</p>", |
|
787 | 857 | "toolResult":{ |
788 | 858 | "shape":"ToolResultBlockStart", |
789 | 859 | "documentation":"<p>The </p>" |
| 860 | + }, |
| 861 | + "image":{ |
| 862 | + "shape":"ImageBlockStart", |
| 863 | + "documentation":"<p>The initial event indicating the start of a streaming image block.</p>" |
790 | 864 | } |
791 | 865 | }, |
792 | 866 | "documentation":"<p>Content block start information.</p>", |
|
1431 | 1505 | "type":"blob", |
1432 | 1506 | "min":1 |
1433 | 1507 | }, |
| 1508 | + "ErrorBlock":{ |
| 1509 | + "type":"structure", |
| 1510 | + "members":{ |
| 1511 | + "message":{ |
| 1512 | + "shape":"String", |
| 1513 | + "documentation":"<p>A human-readable error message describing what went wrong during content processing.</p>" |
| 1514 | + } |
| 1515 | + }, |
| 1516 | + "documentation":"<p>A block containing error information when content processing fails.</p>", |
| 1517 | + "sensitive":true |
| 1518 | + }, |
1434 | 1519 | "FoundationModelVersionIdentifier":{ |
1435 | 1520 | "type":"string", |
1436 | 1521 | "documentation":"<p>ARN or ID of a Bedrock model</p>", |
|
2768 | 2853 | "source":{ |
2769 | 2854 | "shape":"ImageSource", |
2770 | 2855 | "documentation":"<p>The source for the image.</p>" |
| 2856 | + }, |
| 2857 | + "error":{ |
| 2858 | + "shape":"ErrorBlock", |
| 2859 | + "documentation":"<p>Error information if the image block could not be processed or contains invalid data.</p>" |
2771 | 2860 | } |
2772 | 2861 | }, |
2773 | 2862 | "documentation":"<p>Image content for a message.</p>" |
2774 | 2863 | }, |
| 2864 | + "ImageBlockDelta":{ |
| 2865 | + "type":"structure", |
| 2866 | + "members":{ |
| 2867 | + "source":{ |
| 2868 | + "shape":"ImageSource", |
| 2869 | + "documentation":"<p>The incremental image source data for this delta event.</p>" |
| 2870 | + }, |
| 2871 | + "error":{ |
| 2872 | + "shape":"ErrorBlock", |
| 2873 | + "documentation":"<p>Error information if this image delta could not be processed.</p>" |
| 2874 | + } |
| 2875 | + }, |
| 2876 | + "documentation":"<p>A streaming delta event that contains incremental image data during streaming responses.</p>" |
| 2877 | + }, |
| 2878 | + "ImageBlockStart":{ |
| 2879 | + "type":"structure", |
| 2880 | + "required":["format"], |
| 2881 | + "members":{ |
| 2882 | + "format":{ |
| 2883 | + "shape":"ImageFormat", |
| 2884 | + "documentation":"<p>The format of the image data that will be streamed in subsequent delta events.</p>" |
| 2885 | + } |
| 2886 | + }, |
| 2887 | + "documentation":"<p>The initial event in a streaming image block that indicates the start of image content.</p>" |
| 2888 | + }, |
2775 | 2889 | "ImageFormat":{ |
2776 | 2890 | "type":"string", |
2777 | 2891 | "enum":[ |
|
2794 | 2908 | } |
2795 | 2909 | }, |
2796 | 2910 | "documentation":"<p>The source for an image.</p>", |
| 2911 | + "sensitive":true, |
2797 | 2912 | "union":true |
2798 | 2913 | }, |
2799 | 2914 | "ImageSourceBytesBlob":{ |
|
3771 | 3886 | "stop_sequence", |
3772 | 3887 | "guardrail_intervened", |
3773 | 3888 | "content_filtered", |
| 3889 | + "malformed_model_output", |
| 3890 | + "malformed_tool_use", |
3774 | 3891 | "model_context_window_exceeded" |
3775 | 3892 | ] |
3776 | 3893 | }, |
|
4032 | 4149 | "text":{ |
4033 | 4150 | "shape":"String", |
4034 | 4151 | "documentation":"<p>The reasoning the model used to return the output.</p>" |
| 4152 | + }, |
| 4153 | + "json":{ |
| 4154 | + "shape":"Document", |
| 4155 | + "documentation":"<p>The JSON schema for the tool result content block. see <a href=\"https://json-schema.org/understanding-json-schema/reference\">JSON Schema Reference</a>.</p>" |
4035 | 4156 | } |
4036 | 4157 | }, |
4037 | 4158 | "documentation":"<p>Contains incremental updates to tool results information during streaming responses. This allows clients to build up tool results data progressively as the response is generated.</p>", |
|
0 commit comments