asGuardContent
Casts this ContentBlock as a GuardContent and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseContentBlock value. Throws an exception if the ContentBlock is not a GuardContent.
Casts this ContentBlock as a GuardContent and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseContentBlock value. Throws an exception if the ContentBlock is not a GuardContent.