AutomatedReasoningPolicyAnnotation
Contains the various operations that can be performed on an Automated Reasoning policy, including adding, updating, and deleting rules, variables, and types.
Inheritors
Types
An operation to add a new logical rule to the policy using formal mathematical expressions.
An operation to add a new rule by converting natural language descriptions into formal logical expressions.
An operation to add a new custom type to the policy, defining a set of possible values for policy variables.
An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.
An operation to remove a rule from the policy.
An operation to remove a custom type from the policy. The type must not be referenced by any variables or rules.
An operation to remove a variable from the policy. The variable must not be referenced by any rules.
An operation to process and incorporate new content into the policy, extracting additional rules and concepts.
An operation to update the policy based on feedback about how specific rules performed during testing or validation.
An operation to update the policy based on feedback about how it performed on specific test scenarios.
An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.
An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.
An operation to modify an existing variable in the policy, such as changing its name, type, or description.
Functions
Casts this AutomatedReasoningPolicyAnnotation as a AddRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddRuleAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a AddRule.
Casts this AutomatedReasoningPolicyAnnotation as a AddRuleFromNaturalLanguage and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a AddRuleFromNaturalLanguage.
Casts this AutomatedReasoningPolicyAnnotation as a AddRuleFromNaturalLanguage and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a AddRuleFromNaturalLanguage.
Casts this AutomatedReasoningPolicyAnnotation as a AddRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddRuleAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a AddRule.
Casts this AutomatedReasoningPolicyAnnotation as a AddType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddTypeAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a AddType.
Casts this AutomatedReasoningPolicyAnnotation as a AddType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddTypeAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a AddType.
Casts this AutomatedReasoningPolicyAnnotation as a AddVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddVariableAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a AddVariable.
Casts this AutomatedReasoningPolicyAnnotation as a AddVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAddVariableAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a AddVariable.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteRuleAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a DeleteRule.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteRuleAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a DeleteRule.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteTypeAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a DeleteType.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteTypeAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a DeleteType.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteVariableAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a DeleteVariable.
Casts this AutomatedReasoningPolicyAnnotation as a DeleteVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDeleteVariableAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a DeleteVariable.
Casts this AutomatedReasoningPolicyAnnotation as a IngestContent and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyIngestContentAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a IngestContent.
Casts this AutomatedReasoningPolicyAnnotation as a IngestContent and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyIngestContentAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a IngestContent.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateFromRulesFeedback and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a UpdateFromRulesFeedback.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateFromRulesFeedback and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a UpdateFromRulesFeedback.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateFromScenarioFeedback and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a UpdateFromScenarioFeedback.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateFromScenarioFeedback and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a UpdateFromScenarioFeedback.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateRuleAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a UpdateRule.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateRuleAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a UpdateRule.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateTypeAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a UpdateType.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateTypeAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a UpdateType.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateVariableAnnotation value. Throws an exception if the AutomatedReasoningPolicyAnnotation is not a UpdateVariable.
Casts this AutomatedReasoningPolicyAnnotation as a UpdateVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyUpdateVariableAnnotation value. Returns null if the AutomatedReasoningPolicyAnnotation is not a UpdateVariable.