Class: Aws::BedrockRuntime::Types::ImageBlock

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb

Overview

Image content for a message.

Constant Summary collapse

SENSITIVE =
[:source, :error]

Instance Attribute Summary collapse

Instance Attribute Details

#errorTypes::ErrorBlock

Error information if the image block could not be processed or contains invalid data.

Returns:



3037
3038
3039
3040
3041
3042
3043
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3037

class ImageBlock < Struct.new(
  :format,
  :source,
  :error)
  SENSITIVE = [:source, :error]
  include Aws::Structure
end

#formatString

The format of the image.

Returns:

  • (String)


3037
3038
3039
3040
3041
3042
3043
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3037

class ImageBlock < Struct.new(
  :format,
  :source,
  :error)
  SENSITIVE = [:source, :error]
  include Aws::Structure
end

#sourceTypes::ImageSource

The source for the image.

Returns:



3037
3038
3039
3040
3041
3042
3043
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3037

class ImageBlock < Struct.new(
  :format,
  :source,
  :error)
  SENSITIVE = [:source, :error]
  include Aws::Structure
end