aws_sdk_databasemigration/client/stop_data_migration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopDataMigration`](crate::operation::stop_data_migration::builders::StopDataMigrationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`data_migration_identifier(impl Into<String>)`](crate::operation::stop_data_migration::builders::StopDataMigrationFluentBuilder::data_migration_identifier) / [`set_data_migration_identifier(Option<String>)`](crate::operation::stop_data_migration::builders::StopDataMigrationFluentBuilder::set_data_migration_identifier):<br>required: **true**<br><p>The identifier (name or ARN) of the data migration to stop.</p><br>
/// - On success, responds with [`StopDataMigrationOutput`](crate::operation::stop_data_migration::StopDataMigrationOutput) with field(s):
/// - [`data_migration(Option<DataMigration>)`](crate::operation::stop_data_migration::StopDataMigrationOutput::data_migration): <p>The data migration that DMS stopped.</p>
/// - On failure, responds with [`SdkError<StopDataMigrationError>`](crate::operation::stop_data_migration::StopDataMigrationError)
pub fn stop_data_migration(&self) -> crate::operation::stop_data_migration::builders::StopDataMigrationFluentBuilder {
crate::operation::stop_data_migration::builders::StopDataMigrationFluentBuilder::new(self.handle.clone())
}
}