GuardrailConverseContentBlock
A content block for selective guarding with the Converse or ConverseStream API operations.
Inheritors
Types
Functions
Casts this GuardrailConverseContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseImageBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Image.
Casts this GuardrailConverseContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseImageBlock value. Returns null if the GuardrailConverseContentBlock is not a Image.
Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Text.
Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Returns null if the GuardrailConverseContentBlock is not a Text.