1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartIngestionJob`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base to which to add the data source.</p><br>
    ///   - [`data_source_id(impl Into<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::set_data_source_id):<br>required: **true**<br><p>The unique identifier of the data source to ingest.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::set_description):<br>required: **false**<br><p>A description of the ingestion job.</p><br>
    /// - On success, responds with [`StartIngestionJobOutput`](crate::operation::start_ingestion_job::StartIngestionJobOutput) with field(s):
    ///   - [`ingestion_job(Option<IngestionJob>)`](crate::operation::start_ingestion_job::StartIngestionJobOutput::ingestion_job): <p>An object containing information about the ingestion job.</p>
    /// - On failure, responds with [`SdkError<StartIngestionJobError>`](crate::operation::start_ingestion_job::StartIngestionJobError)
    pub fn start_ingestion_job(&self) -> crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder {
        crate::operation::start_ingestion_job::builders::StartIngestionJobFluentBuilder::new(self.handle.clone())
    }
}