Bedrock / Client / delete_automated_reasoning_policy

delete_automated_reasoning_policy

Bedrock.Client.delete_automated_reasoning_policy(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_automated_reasoning_policy(
    policyArn='string',
    force=True|False
)
Parameters:
  • policyArn (string) –

    [REQUIRED]

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

  • force (boolean) – 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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions