aws_sdk_bedrock/client/update_automated_reasoning_policy_annotations.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateAutomatedReasoningPolicyAnnotations`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_arn(impl Into<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.</p><br>
7 /// - [`build_workflow_id(impl Into<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::build_workflow_id) / [`set_build_workflow_id(Option<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::set_build_workflow_id):<br>required: **true**<br><p>The unique identifier of the build workflow whose annotations you want to update.</p><br>
8 /// - [`annotations(AutomatedReasoningPolicyAnnotation)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::annotations) / [`set_annotations(Option<Vec::<AutomatedReasoningPolicyAnnotation>>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::set_annotations):<br>required: **true**<br><p>The updated annotations containing modified rules, variables, and types for the policy.</p><br>
9 /// - [`last_updated_annotation_set_hash(impl Into<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::last_updated_annotation_set_hash) / [`set_last_updated_annotation_set_hash(Option<String>)`](crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::set_last_updated_annotation_set_hash):<br>required: **true**<br><p>The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.</p><br>
10 /// - On success, responds with [`UpdateAutomatedReasoningPolicyAnnotationsOutput`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsOutput) with field(s):
11 /// - [`policy_arn(String)`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the Automated Reasoning policy.</p>
12 /// - [`build_workflow_id(String)`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsOutput::build_workflow_id): <p>The unique identifier of the build workflow.</p>
13 /// - [`annotation_set_hash(String)`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsOutput::annotation_set_hash): <p>The new hash value representing the updated state of the annotations.</p>
14 /// - [`updated_at(DateTime)`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsOutput::updated_at): <p>The timestamp when the annotations were updated.</p>
15 /// - On failure, responds with [`SdkError<UpdateAutomatedReasoningPolicyAnnotationsError>`](crate::operation::update_automated_reasoning_policy_annotations::UpdateAutomatedReasoningPolicyAnnotationsError)
16 pub fn update_automated_reasoning_policy_annotations(
17 &self,
18 ) -> crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder {
19 crate::operation::update_automated_reasoning_policy_annotations::builders::UpdateAutomatedReasoningPolicyAnnotationsFluentBuilder::new(
20 self.handle.clone(),
21 )
22 }
23}