AgenticRetrieveWarning
A warning generated during agentic retrieval.
Inheritors
Types
Functions
Casts this AgenticRetrieveWarning as a Guardrail and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveGuardrailWarning value. Throws an exception if the AgenticRetrieveWarning is not a Guardrail.
Casts this AgenticRetrieveWarning as a Guardrail and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveGuardrailWarning value. Returns null if the AgenticRetrieveWarning is not a Guardrail.
Casts this AgenticRetrieveWarning as a Message and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveWarningMessage value. Throws an exception if the AgenticRetrieveWarning is not a Message.
Casts this AgenticRetrieveWarning as a Message and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveWarningMessage value. Returns null if the AgenticRetrieveWarning is not a Message.