Skip to content

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 DeleteAutomatedReasoningPolicyOutput.

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 DeleteAutomatedReasoningPolicyOutput.

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.

policy_arn instance-attribute
policy_arn: Required[str]

The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.

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.

policy_arn class-attribute instance-attribute
policy_arn: str | None = ...

The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.

Output

DeleteAutomatedReasoningPolicyOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteAutomatedReasoningPolicyOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.