aws_sdk_bedrockagent/client/stop_ingestion_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopIngestionJob`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`knowledge_base_id(impl Into<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base for the data ingestion job you want to stop.</p><br>
/// - [`data_source_id(impl Into<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::set_data_source_id):<br>required: **true**<br><p>The unique identifier of the data source for the data ingestion job you want to stop.</p><br>
/// - [`ingestion_job_id(impl Into<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::ingestion_job_id) / [`set_ingestion_job_id(Option<String>)`](crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::set_ingestion_job_id):<br>required: **true**<br><p>The unique identifier of the data ingestion job you want to stop.</p><br>
/// - On success, responds with [`StopIngestionJobOutput`](crate::operation::stop_ingestion_job::StopIngestionJobOutput) with field(s):
/// - [`ingestion_job(Option<IngestionJob>)`](crate::operation::stop_ingestion_job::StopIngestionJobOutput::ingestion_job): <p>Contains information about the stopped data ingestion job.</p>
/// - On failure, responds with [`SdkError<StopIngestionJobError>`](crate::operation::stop_ingestion_job::StopIngestionJobError)
pub fn stop_ingestion_job(&self) -> crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder {
crate::operation::stop_ingestion_job::builders::StopIngestionJobFluentBuilder::new(self.handle.clone())
}
}