1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetIngestionJob`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base for which the ingestion job applies.</p><br>
    ///   - [`data_source_id(impl Into<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::set_data_source_id):<br>required: **true**<br><p>The unique identifier of the data source in the ingestion job.</p><br>
    ///   - [`ingestion_job_id(impl Into<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::ingestion_job_id) / [`set_ingestion_job_id(Option<String>)`](crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::set_ingestion_job_id):<br>required: **true**<br><p>The unique identifier of the ingestion job.</p><br>
    /// - On success, responds with [`GetIngestionJobOutput`](crate::operation::get_ingestion_job::GetIngestionJobOutput) with field(s):
    ///   - [`ingestion_job(Option<IngestionJob>)`](crate::operation::get_ingestion_job::GetIngestionJobOutput::ingestion_job): <p>Contains details about the ingestion job.</p>
    /// - On failure, responds with [`SdkError<GetIngestionJobError>`](crate::operation::get_ingestion_job::GetIngestionJobError)
    pub fn get_ingestion_job(&self) -> crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder {
        crate::operation::get_ingestion_job::builders::GetIngestionJobFluentBuilder::new(self.handle.clone())
    }
}