update_automated_reasoning_policy_annotations
async
¶
update_automated_reasoning_policy_annotations(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
annotations: AutomatedReasoningPolicyAnnotationList,
last_updated_annotation_set_hash: AutomatedReasoningPolicyHash,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
) -> UpdateAutomatedReasoningPolicyAnnotationsResponse
Updates the annotations for an Automated Reasoning policy build workflow. This allows you to modify extracted rules, variables, and types before finalizing the policy.
Parameters:
-
policy_arn(AutomatedReasoningPolicyArn) –The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.
-
build_workflow_id(AutomatedReasoningPolicyBuildWorkflowId) –The unique identifier of the build workflow whose annotations you want to update.
-
annotations(AutomatedReasoningPolicyAnnotationList) –The updated annotations containing modified rules, variables, and types for the policy.
-
last_updated_annotation_set_hash(AutomatedReasoningPolicyHash) –The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–Error occurred because of a conflict while performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/async_bedrock.py
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 | |