aws_sdk_migrationhub/client/disassociate_created_artifact.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 [`DisassociateCreatedArtifact`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`progress_update_stream(impl Into<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::progress_update_stream) / [`set_progress_update_stream(Option<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::set_progress_update_stream):<br>required: **true**<br><p>The name of the ProgressUpdateStream.</p><br>
7 /// - [`migration_task_name(impl Into<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::migration_task_name) / [`set_migration_task_name(Option<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::set_migration_task_name):<br>required: **true**<br><p>Unique identifier that references the migration task to be disassociated with the artifact. <i>Do not store personal data in this field.</i></p><br>
8 /// - [`created_artifact_name(impl Into<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::created_artifact_name) / [`set_created_artifact_name(Option<String>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::set_created_artifact_name):<br>required: **true**<br><p>An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)</p><br>
9 /// - [`dry_run(bool)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::set_dry_run):<br>required: **false**<br><p>Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.</p><br>
10 /// - On success, responds with [`DisassociateCreatedArtifactOutput`](crate::operation::disassociate_created_artifact::DisassociateCreatedArtifactOutput)
11 /// - On failure, responds with [`SdkError<DisassociateCreatedArtifactError>`](crate::operation::disassociate_created_artifact::DisassociateCreatedArtifactError)
12 pub fn disassociate_created_artifact(
13 &self,
14 ) -> crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder {
15 crate::operation::disassociate_created_artifact::builders::DisassociateCreatedArtifactFluentBuilder::new(self.handle.clone())
16 }
17}