aws_sdk_bedrock/client/
get_automated_reasoning_policy_build_workflow.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 [`GetAutomatedReasoningPolicyBuildWorkflow`](crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`policy_arn(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to retrieve.</p><br>
7    ///   - [`build_workflow_id(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder::build_workflow_id) / [`set_build_workflow_id(Option<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder::set_build_workflow_id):<br>required: **true**<br><p>The unique identifier of the build workflow to retrieve.</p><br>
8    /// - On success, responds with [`GetAutomatedReasoningPolicyBuildWorkflowOutput`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput) with field(s):
9    ///   - [`policy_arn(String)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the Automated Reasoning policy.</p>
10    ///   - [`build_workflow_id(String)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::build_workflow_id): <p>The unique identifier of the build workflow.</p>
11    ///   - [`status(AutomatedReasoningPolicyBuildWorkflowStatus)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::status): <p>The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED).</p>
12    ///   - [`build_workflow_type(AutomatedReasoningPolicyBuildWorkflowType)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::build_workflow_type): <p>The type of build workflow being executed (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).</p>
13    ///   - [`document_name(Option<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::document_name): <p>The name of the source document used in the build workflow.</p>
14    ///   - [`document_content_type(Option<AutomatedReasoningPolicyBuildDocumentContentType>)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::document_content_type): <p>The content type of the source document (e.g., text/plain, application/pdf).</p>
15    ///   - [`document_description(Option<String>)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::document_description): <p>A detailed description of the document's content and how it should be used in the policy generation process.</p>
16    ///   - [`created_at(DateTime)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::created_at): <p>The timestamp when the build workflow was created.</p>
17    ///   - [`updated_at(DateTime)`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowOutput::updated_at): <p>The timestamp when the build workflow was last updated.</p>
18    /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyBuildWorkflowError>`](crate::operation::get_automated_reasoning_policy_build_workflow::GetAutomatedReasoningPolicyBuildWorkflowError)
19    pub fn get_automated_reasoning_policy_build_workflow(
20        &self,
21    ) -> crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder {
22        crate::operation::get_automated_reasoning_policy_build_workflow::builders::GetAutomatedReasoningPolicyBuildWorkflowFluentBuilder::new(
23            self.handle.clone(),
24        )
25    }
26}