update_automated_reasoning_policy_annotations
¶
update_automated_reasoning_policy_annotations(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
annotations: AutomatedReasoningPolicyAnnotationList,
last_updated_annotation_set_hash: AutomatedReasoningPolicyHash,
*,
config_overrides: Optional[BedrockClientConfig] = 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/bedrock.py
2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 | |