AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.BedrockRuntime.Model.AudioBlock

Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class AudioBlock

The AudioBlock type exposes the following members

Constructors

NameDescription
Public Method AudioBlock()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property 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.

Version Information

.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