delete_automated_reasoning_policy¶
Operation¶
delete_automated_reasoning_policy
async
¶
delete_automated_reasoning_policy(input: DeleteAutomatedReasoningPolicyInput, plugins: list[Plugin] | None = None) -> DeleteAutomatedReasoningPolicyOutput
Deletes an Automated Reasoning policy or policy version. This operation is idempotent. If you delete a policy more than once, each call succeeds. Deleting a policy removes it permanently and cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteAutomatedReasoningPolicyInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteAutomatedReasoningPolicyOutput
|
An instance of |
Input¶
DeleteAutomatedReasoningPolicyInput
dataclass
¶
Dataclass for DeleteAutomatedReasoningPolicyInput structure.
Attributes¶
force
class-attribute
instance-attribute
¶
force: bool = False
Specifies whether to force delete the automated reasoning policy even if
it has active resources. When false, Amazon Bedrock validates if all
artifacts have been deleted (e.g. policy version, test case, test
result) for a policy before deletion. When true, Amazon Bedrock will
delete the policy and all its artifacts without validation. Default is
false.
policy_arn
class-attribute
instance-attribute
¶
policy_arn: str | None = None
The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.
Output¶
DeleteAutomatedReasoningPolicyOutput
dataclass
¶
Dataclass for DeleteAutomatedReasoningPolicyOutput structure.