pub struct AssociateCreatedArtifact { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateCreatedArtifact.
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
-
Migration tools can call the
AssociateCreatedArtifactoperation to indicate which AWS artifact is associated with a migration task. -
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example:
arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. -
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.
Implementations§
source§impl AssociateCreatedArtifact
impl AssociateCreatedArtifact
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateCreatedArtifact, AwsResponseRetryClassifier>, SdkError<AssociateCreatedArtifactError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateCreatedArtifact, AwsResponseRetryClassifier>, SdkError<AssociateCreatedArtifactError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError>>
pub async fn send(
self
) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn progress_update_stream(self, input: impl Into<String>) -> Self
pub fn progress_update_stream(self, input: impl Into<String>) -> Self
The name of the ProgressUpdateStream.
sourcepub fn set_progress_update_stream(self, input: Option<String>) -> Self
pub fn set_progress_update_stream(self, input: Option<String>) -> Self
The name of the ProgressUpdateStream.
sourcepub fn migration_task_name(self, input: impl Into<String>) -> Self
pub fn migration_task_name(self, input: impl Into<String>) -> Self
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn set_migration_task_name(self, input: Option<String>) -> Self
pub fn set_migration_task_name(self, input: Option<String>) -> Self
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn created_artifact(self, input: CreatedArtifact) -> Self
pub fn created_artifact(self, input: CreatedArtifact) -> Self
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
sourcepub fn set_created_artifact(self, input: Option<CreatedArtifact>) -> Self
pub fn set_created_artifact(self, input: Option<CreatedArtifact>) -> Self
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Trait Implementations§
source§impl Clone for AssociateCreatedArtifact
impl Clone for AssociateCreatedArtifact
source§fn clone(&self) -> AssociateCreatedArtifact
fn clone(&self) -> AssociateCreatedArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more