GuardrailImageBlock
Contain an image which user wants guarded. This block is accepted by the guardrails independent API.
Contents
- format
-
The format details for the file type of the image blocked by the guardrail.
Type: String
Valid Values:
png | jpeg
Required: Yes
- source
-
The image source (image bytes) details of the image blocked by the guardrail.
Type: GuardrailImageSource object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: