Class: Aws::BedrockRuntime::Types::GuardrailImageBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailImageBlock
- 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
-
#format ⇒ String
The format details for the file type of the image blocked by the guardrail.
-
#source ⇒ Types::GuardrailImageSource
The image source (image bytes) details of the image blocked by the guardrail.
Instance Attribute Details
#format ⇒ String
The format details for the file type 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 |
#source ⇒ Types::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 |