Class: Aws::BedrockRuntime::Types::GuardrailImageBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailImageBlock
- 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
-
#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.
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 |
#source ⇒ Types::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 |