AutomatedReasoningPolicyDefinitionElement
Represents a single element in an Automated Reasoning policy definition, such as a rule, variable, or type definition.
Inheritors
Types
A rule element within the policy definition that contains a formal logical expression used for validation.
A custom type element within the policy definition that defines a set of possible values for variables.
A variable element within the policy definition that represents a concept used in logical expressions and rules.
Functions
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionRule value. Throws an exception if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionRule.
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionRule and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionRule value. Returns null if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionRule.
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionType value. Throws an exception if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionType.
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionType and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionType value. Returns null if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionType.
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionVariable value. Throws an exception if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionVariable.
Casts this AutomatedReasoningPolicyDefinitionElement as a PolicyDefinitionVariable and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyDefinitionVariable value. Returns null if the AutomatedReasoningPolicyDefinitionElement is not a PolicyDefinitionVariable.