asTextPromptOrNull
Casts this InputPrompt as a TextPrompt and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TextPrompt value. Returns null if the InputPrompt is not a TextPrompt.
Casts this InputPrompt as a TextPrompt and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TextPrompt value. Returns null if the InputPrompt is not a TextPrompt.