aws_sdk_bedrock/client/get_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 [`GetAutomatedReasoningPolicyAnnotations`](crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_arn(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to retrieve.</p><br>
7 /// - [`build_workflow_id(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder::build_workflow_id) / [`set_build_workflow_id(Option<String>)`](crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder::set_build_workflow_id):<br>required: **true**<br><p>The unique identifier of the build workflow whose annotations you want to retrieve.</p><br>
8 /// - On success, responds with [`GetAutomatedReasoningPolicyAnnotationsOutput`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput) with field(s):
9 /// - [`policy_arn(String)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the Automated Reasoning policy.</p>
10 /// - [`name(String)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::name): <p>The name of the Automated Reasoning policy.</p>
11 /// - [`build_workflow_id(String)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::build_workflow_id): <p>The unique identifier of the build workflow.</p>
12 /// - [`annotations(Vec::<AutomatedReasoningPolicyAnnotation>)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::annotations): <p>The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.</p>
13 /// - [`annotation_set_hash(String)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::annotation_set_hash): <p>A hash value representing the current state of the annotations. This is used for optimistic concurrency control when updating annotations.</p>
14 /// - [`updated_at(DateTime)`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsOutput::updated_at): <p>The timestamp when the annotations were last updated.</p>
15 /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyAnnotationsError>`](crate::operation::get_automated_reasoning_policy_annotations::GetAutomatedReasoningPolicyAnnotationsError)
16 pub fn get_automated_reasoning_policy_annotations(
17 &self,
18 ) -> crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder {
19 crate::operation::get_automated_reasoning_policy_annotations::builders::GetAutomatedReasoningPolicyAnnotationsFluentBuilder::new(
20 self.handle.clone(),
21 )
22 }
23}