Bedrock / Client / cancel_automated_reasoning_policy_build_workflow

cancel_automated_reasoning_policy_build_workflow

Bedrock.Client.cancel_automated_reasoning_policy_build_workflow(**kwargs)

Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.

See also: AWS API Documentation

Request Syntax

response = client.cancel_automated_reasoning_policy_build_workflow(
    policyArn='string',
    buildWorkflowId='string'
)
Parameters:
  • policyArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to cancel.

  • buildWorkflowId (string) –

    [REQUIRED]

    The unique identifier of the build workflow to cancel. You can get this ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by listing build workflows.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Bedrock.Client.exceptions.ResourceNotFoundException

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException