Class: Aws::BedrockRuntime::Types::GuardrailImageBlock

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

Overview

Contain an image which user wants guarded. This block is accepted by the guardrails independent API.

Constant Summary collapse

SENSITIVE =
[:source]

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

The format details for the file type of the image blocked by the guardrail.

Returns:

  • (String)


1369
1370
1371
1372
1373
1374
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1369

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

#sourceTypes::GuardrailImageSource

The image source (image bytes) details of the image blocked by the guardrail.



1369
1370
1371
1372
1373
1374
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1369

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