aws_sdk_cognitoidentityprovider/client/stop_user_import_job.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 [`StopUserImportJob`](crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_pool_id(impl Into<String>)`](crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The ID of the user pool that you want to stop.</p><br>
7 /// - [`job_id(impl Into<String>)`](crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID of a running user import job.</p><br>
8 /// - On success, responds with [`StopUserImportJobOutput`](crate::operation::stop_user_import_job::StopUserImportJobOutput) with field(s):
9 /// - [`user_import_job(Option<UserImportJobType>)`](crate::operation::stop_user_import_job::StopUserImportJobOutput::user_import_job): <p>The details of the user import job. Includes logging destination, status, and the Amazon S3 pre-signed URL for CSV upload.</p>
10 /// - On failure, responds with [`SdkError<StopUserImportJobError>`](crate::operation::stop_user_import_job::StopUserImportJobError)
11 pub fn stop_user_import_job(&self) -> crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder {
12 crate::operation::stop_user_import_job::builders::StopUserImportJobFluentBuilder::new(self.handle.clone())
13 }
14}