CustomPromptInput
The custom prompt input for an agent. This is a union type that can be either an existing prompt profile or new prompt parameters.
Inheritors
Types
Functions
Casts this CustomPromptInput as a ExistingPrompt and retrieves its aws.sdk.kotlin.services.quicksight.model.CustomPromptProfile value. Throws an exception if the CustomPromptInput is not a ExistingPrompt.
Casts this CustomPromptInput as a ExistingPrompt and retrieves its aws.sdk.kotlin.services.quicksight.model.CustomPromptProfile value. Returns null if the CustomPromptInput is not a ExistingPrompt.
Casts this CustomPromptInput as a NewPrompt and retrieves its aws.sdk.kotlin.services.quicksight.model.CustomPromptInputParameters value. Throws an exception if the CustomPromptInput is not a NewPrompt.
Casts this CustomPromptInput as a NewPrompt and retrieves its aws.sdk.kotlin.services.quicksight.model.CustomPromptInputParameters value. Returns null if the CustomPromptInput is not a NewPrompt.