aws_sdk_migrationhub/client/
disassociate_source_resource.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 [`DisassociateSourceResource`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`progress_update_stream(impl Into<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::progress_update_stream) / [`set_progress_update_stream(Option<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::set_progress_update_stream):<br>required: **true**<br><p>The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.</p><br>
7    ///   - [`migration_task_name(impl Into<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::migration_task_name) / [`set_migration_task_name(Option<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::set_migration_task_name):<br>required: **true**<br><p>A unique identifier that references the migration task. <i>Do not include sensitive data in this field.</i></p><br>
8    ///   - [`source_resource_name(impl Into<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::source_resource_name) / [`set_source_resource_name(Option<String>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::set_source_resource_name):<br>required: **true**<br><p>The name that was specified for the source resource.</p><br>
9    ///   - [`dry_run(bool)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::set_dry_run):<br>required: **false**<br><p>This is an optional parameter that you can use to test whether the call will succeed. Set this parameter to <code>true</code> to verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.</p><br>
10    /// - On success, responds with [`DisassociateSourceResourceOutput`](crate::operation::disassociate_source_resource::DisassociateSourceResourceOutput)
11    /// - On failure, responds with [`SdkError<DisassociateSourceResourceError>`](crate::operation::disassociate_source_resource::DisassociateSourceResourceError)
12    pub fn disassociate_source_resource(&self) -> crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder {
13        crate::operation::disassociate_source_resource::builders::DisassociateSourceResourceFluentBuilder::new(self.handle.clone())
14    }
15}