asImage
Casts this BedrockSessionContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ImageBlock value. Throws an exception if the BedrockSessionContentBlock is not a Image.
Casts this BedrockSessionContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ImageBlock value. Throws an exception if the BedrockSessionContentBlock is not a Image.