asImage
Casts this GuardrailContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailImageBlock value. Throws an exception if the GuardrailContentBlock is not a Image.
Casts this GuardrailContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailImageBlock value. Throws an exception if the GuardrailContentBlock is not a Image.