PromptGenAiResource
Contains specifications for a generative AI resource with which to use the prompt. For more information, see Create a prompt using Prompt management.
Inheritors
Types
Functions
Link copied to clipboard
Casts this PromptGenAiResource as a Agent and retrieves its aws.sdk.kotlin.services.bedrockagent.model.PromptAgentResource value. Throws an exception if the PromptGenAiResource is not a Agent.
Link copied to clipboard
Casts this PromptGenAiResource as a Agent and retrieves its aws.sdk.kotlin.services.bedrockagent.model.PromptAgentResource value. Returns null if the PromptGenAiResource is not a Agent.