aws_sdk_databasemigration/client/
delete_data_migration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDataMigration`](crate::operation::delete_data_migration::builders::DeleteDataMigrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`data_migration_identifier(impl Into<String>)`](crate::operation::delete_data_migration::builders::DeleteDataMigrationFluentBuilder::data_migration_identifier) / [`set_data_migration_identifier(Option<String>)`](crate::operation::delete_data_migration::builders::DeleteDataMigrationFluentBuilder::set_data_migration_identifier):<br>required: **true**<br><p>The identifier (name or ARN) of the data migration to delete.</p><br>
    /// - On success, responds with [`DeleteDataMigrationOutput`](crate::operation::delete_data_migration::DeleteDataMigrationOutput) with field(s):
    ///   - [`data_migration(Option<DataMigration>)`](crate::operation::delete_data_migration::DeleteDataMigrationOutput::data_migration): <p>The deleted data migration.</p>
    /// - On failure, responds with [`SdkError<DeleteDataMigrationError>`](crate::operation::delete_data_migration::DeleteDataMigrationError)
    pub fn delete_data_migration(&self) -> crate::operation::delete_data_migration::builders::DeleteDataMigrationFluentBuilder {
        crate::operation::delete_data_migration::builders::DeleteDataMigrationFluentBuilder::new(self.handle.clone())
    }
}