aws_sdk_databasemigration/client/
delete_migration_project.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 [`DeleteMigrationProject`](crate::operation::delete_migration_project::builders::DeleteMigrationProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`migration_project_identifier(impl Into<String>)`](crate::operation::delete_migration_project::builders::DeleteMigrationProjectFluentBuilder::migration_project_identifier) / [`set_migration_project_identifier(Option<String>)`](crate::operation::delete_migration_project::builders::DeleteMigrationProjectFluentBuilder::set_migration_project_identifier):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the migration project to delete.</p><br>
    /// - On success, responds with [`DeleteMigrationProjectOutput`](crate::operation::delete_migration_project::DeleteMigrationProjectOutput) with field(s):
    ///   - [`migration_project(Option<MigrationProject>)`](crate::operation::delete_migration_project::DeleteMigrationProjectOutput::migration_project): <p>The migration project that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteMigrationProjectError>`](crate::operation::delete_migration_project::DeleteMigrationProjectError)
    pub fn delete_migration_project(&self) -> crate::operation::delete_migration_project::builders::DeleteMigrationProjectFluentBuilder {
        crate::operation::delete_migration_project::builders::DeleteMigrationProjectFluentBuilder::new(self.handle.clone())
    }
}