pub struct DisassociateCreatedArtifact { /* private fields */ }Expand description
Fluent builder constructing a request to DisassociateCreatedArtifact.
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
-
A migration user can call the
DisassociateCreatedArtifactsoperation to disassociate a created AWS Artifact from 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 RDS instance, etc.
Implementations§
source§impl DisassociateCreatedArtifact
impl DisassociateCreatedArtifact
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateCreatedArtifact, AwsResponseRetryClassifier>, SdkError<DisassociateCreatedArtifactError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateCreatedArtifact, AwsResponseRetryClassifier>, SdkError<DisassociateCreatedArtifactError>>
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<DisassociateCreatedArtifactOutput, SdkError<DisassociateCreatedArtifactError>>
pub async fn send(
self
) -> Result<DisassociateCreatedArtifactOutput, SdkError<DisassociateCreatedArtifactError>>
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 to be disassociated with the artifact. 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 to be disassociated with the artifact. Do not store personal data in this field.
sourcepub fn created_artifact_name(self, input: impl Into<String>) -> Self
pub fn created_artifact_name(self, input: impl Into<String>) -> Self
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
sourcepub fn set_created_artifact_name(self, input: Option<String>) -> Self
pub fn set_created_artifact_name(self, input: Option<String>) -> 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 DisassociateCreatedArtifact
impl Clone for DisassociateCreatedArtifact
source§fn clone(&self) -> DisassociateCreatedArtifact
fn clone(&self) -> DisassociateCreatedArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more