delete_automated_reasoning_policy¶
Operation¶
delete_automated_reasoning_policy
¶
delete_automated_reasoning_policy(request: DeleteAutomatedReasoningPolicyInput | DeleteAutomatedReasoningPolicyInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAutomatedReasoningPolicyInputDict]) -> 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 |
|---|---|---|---|
request
|
DeleteAutomatedReasoningPolicyInput | DeleteAutomatedReasoningPolicyInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAutomatedReasoningPolicyInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAutomatedReasoningPolicyOutput
|
An instance of |
delete_automated_reasoning_policy
async
¶
delete_automated_reasoning_policy(request: DeleteAutomatedReasoningPolicyInput | DeleteAutomatedReasoningPolicyInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAutomatedReasoningPolicyInputDict]) -> 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 |
|---|---|---|---|
request
|
DeleteAutomatedReasoningPolicyInput | DeleteAutomatedReasoningPolicyInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAutomatedReasoningPolicyInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAutomatedReasoningPolicyOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DeleteAutomatedReasoningPolicyInputDict
¶
Bases: TypedDict
Dictionary form of DeleteAutomatedReasoningPolicyInput.
Attributes¶
force
instance-attribute
¶
force: bool | None
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.
DeleteAutomatedReasoningPolicyInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAutomatedReasoningPolicyInput structure.
Attributes¶
force
class-attribute
instance-attribute
¶
force: bool = ...
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.
Output¶
DeleteAutomatedReasoningPolicyOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAutomatedReasoningPolicyOutput structure.