Class: Aws::BedrockRuntime::Types::AudioBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::AudioBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
An audio content block that contains audio data in various supported formats.
Constant Summary collapse
- SENSITIVE =
[:source, :error]
Instance Attribute Summary collapse
-
#error ⇒ Types::ErrorBlock
Error information if the audio block could not be processed or contains invalid data.
-
#format ⇒ String
The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.
-
#source ⇒ Types::AudioSource
The source of the audio data, which can be provided as raw bytes or an S3 location.
Instance Attribute Details
#error ⇒ Types::ErrorBlock
Error information if the audio block could not be processed or contains invalid data.
284 285 286 287 288 289 290 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 284 class AudioBlock < Struct.new( :format, :source, :error) SENSITIVE = [:source, :error] include Aws::Structure end |
#format ⇒ String
The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.
284 285 286 287 288 289 290 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 284 class AudioBlock < Struct.new( :format, :source, :error) SENSITIVE = [:source, :error] include Aws::Structure end |
#source ⇒ Types::AudioSource
The source of the audio data, which can be provided as raw bytes or an S3 location.
284 285 286 287 288 289 290 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 284 class AudioBlock < Struct.new( :format, :source, :error) SENSITIVE = [:source, :error] include Aws::Structure end |