Class: Aws::BedrockRuntime::Types::GuardrailConverseImageSource

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Note:

GuardrailConverseImageSource is a union - when making an API calls you must set exactly one of the members.

Note:

GuardrailConverseImageSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GuardrailConverseImageSource corresponding to the set member.

The image source (image bytes) of the guardrail converse image source.

Direct Known Subclasses

Bytes, Unknown

Defined Under Namespace

Classes: Bytes, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bytesString

The raw image bytes for the image.

Returns:

  • (String)


1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1267

class GuardrailConverseImageSource < Struct.new(
  :bytes,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Bytes < GuardrailConverseImageSource; end
  class Unknown < GuardrailConverseImageSource; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1267
1268
1269
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1267

def unknown
  @unknown
end