AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An audio content block that contains audio data in various supported formats.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class AudioBlock
The AudioBlock type exposes the following members
| Name | Description | |
|---|---|---|
|
AudioBlock() |
| Name | Type | Description | |
|---|---|---|---|
|
Error | Amazon.BedrockRuntime.Model.ErrorBlock |
Gets and sets the property Error. Error information if the audio block could not be processed or contains invalid data. |
|
Format | Amazon.BedrockRuntime.AudioFormat |
Gets and sets the property Format. The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats. |
|
Source | Amazon.BedrockRuntime.Model.AudioSource |
Gets and sets the property Source. The source of the audio data, which can be provided as raw bytes or an S3 location. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer