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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1390
1391
1392
1393
1394
1395
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1390

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.



1390
1391
1392
1393
1394
1395
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1390

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