aws_sdk_qconnect/client/list_import_jobs.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 [`ListImportJobs`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
9 /// - [`knowledge_base_id(impl Into<String>)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
10 /// - On success, responds with [`ListImportJobsOutput`](crate::operation::list_import_jobs::ListImportJobsOutput) with field(s):
11 /// - [`import_job_summaries(Vec::<ImportJobSummary>)`](crate::operation::list_import_jobs::ListImportJobsOutput::import_job_summaries): <p>Summary information about the import jobs.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_import_jobs::ListImportJobsOutput::next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
13 /// - On failure, responds with [`SdkError<ListImportJobsError>`](crate::operation::list_import_jobs::ListImportJobsError)
14 pub fn list_import_jobs(&self) -> crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder {
15 crate::operation::list_import_jobs::builders::ListImportJobsFluentBuilder::new(self.handle.clone())
16 }
17}