AnalyzePromptEvent
An event in which the prompt was analyzed in preparation for optimization.
Inherited functions
Casts this OptimizedPromptStream as a AnalyzePromptEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AnalyzePromptEvent value. Throws an exception if the OptimizedPromptStream is not a AnalyzePromptEvent.
Casts this OptimizedPromptStream as a AnalyzePromptEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AnalyzePromptEvent value. Returns null if the OptimizedPromptStream is not a AnalyzePromptEvent.
Casts this OptimizedPromptStream as a OptimizedPromptEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OptimizedPromptEvent value. Throws an exception if the OptimizedPromptStream is not a OptimizedPromptEvent.
Casts this OptimizedPromptStream as a OptimizedPromptEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OptimizedPromptEvent value. Returns null if the OptimizedPromptStream is not a OptimizedPromptEvent.