1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateCreatedArtifact`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`progress_update_stream(impl Into<String>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::progress_update_stream) / [`set_progress_update_stream(Option<String>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::set_progress_update_stream):<br>required: **true**<br><p>The name of the ProgressUpdateStream.</p><br>
    ///   - [`migration_task_name(impl Into<String>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::migration_task_name) / [`set_migration_task_name(Option<String>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::set_migration_task_name):<br>required: **true**<br><p>Unique identifier that references the migration task. <i>Do not store personal data in this field.</i></p><br>
    ///   - [`created_artifact(CreatedArtifact)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::created_artifact) / [`set_created_artifact(Option<CreatedArtifact>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::set_created_artifact):<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>
    ///   - [`dry_run(bool)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::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>
    /// - On success, responds with [`AssociateCreatedArtifactOutput`](crate::operation::associate_created_artifact::AssociateCreatedArtifactOutput)
    /// - On failure, responds with [`SdkError<AssociateCreatedArtifactError>`](crate::operation::associate_created_artifact::AssociateCreatedArtifactError)
    pub fn associate_created_artifact(&self) -> crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder {
        crate::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder::new(self.handle.clone())
    }
}