aws_sdk_wisdom/client/
get_import_job.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetImportJob`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`import_job_id(impl Into<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::import_job_id) / [`set_import_job_id(Option<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::set_import_job_id):<br>required: **true**<br><p>The identifier of the import job to retrieve.</p><br>
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base that the import job belongs to.</p><br>
    /// - On success, responds with [`GetImportJobOutput`](crate::operation::get_import_job::GetImportJobOutput) with field(s):
    ///   - [`import_job(Option<ImportJobData>)`](crate::operation::get_import_job::GetImportJobOutput::import_job): <p>The import job.</p>
    /// - On failure, responds with [`SdkError<GetImportJobError>`](crate::operation::get_import_job::GetImportJobError)
    pub fn get_import_job(&self) -> crate::operation::get_import_job::builders::GetImportJobFluentBuilder {
        crate::operation::get_import_job::builders::GetImportJobFluentBuilder::new(self.handle.clone())
    }
}