asText
Casts this PromptTemplateConfiguration as a Text and retrieves its aws.sdk.kotlin.services.bedrockagent.model.TextPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Text.
Casts this PromptTemplateConfiguration as a Text and retrieves its aws.sdk.kotlin.services.bedrockagent.model.TextPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Text.