pub struct AssociateCreatedArtifact<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> AssociateCreatedArtifact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateCreatedArtifact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError>> where
R::Policy: SmithyRetryPolicy<AssociateCreatedArtifactInputOperationOutputAlias, AssociateCreatedArtifactOutput, AssociateCreatedArtifactError, AssociateCreatedArtifactInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError>> where
R::Policy: SmithyRetryPolicy<AssociateCreatedArtifactInputOperationOutputAlias, AssociateCreatedArtifactOutput, AssociateCreatedArtifactError, AssociateCreatedArtifactInputOperationRetryAlias>,
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.
The name of the ProgressUpdateStream.
The name of the ProgressUpdateStream.
Unique identifier that references the migration task. Do not store personal data in this field.
Unique identifier that references the migration task. Do not store personal data in this field.
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AssociateCreatedArtifact<C, M, R>
impl<C, M, R> Send for AssociateCreatedArtifact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateCreatedArtifact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateCreatedArtifact<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AssociateCreatedArtifact<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more