Struct aws_sdk_migrationhub::operation::associate_created_artifact::builders::AssociateCreatedArtifactFluentBuilder
source · pub struct AssociateCreatedArtifactFluentBuilder { /* 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 AssociateCreatedArtifactFluentBuilder
impl AssociateCreatedArtifactFluentBuilder
sourcepub fn as_input(&self) -> &AssociateCreatedArtifactInputBuilder
pub fn as_input(&self) -> &AssociateCreatedArtifactInputBuilder
Access the AssociateCreatedArtifact as a reference.
sourcepub async fn send(
self
) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateCreatedArtifactOutput, SdkError<AssociateCreatedArtifactError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<AssociateCreatedArtifactOutput, AssociateCreatedArtifactError>, SdkError<AssociateCreatedArtifactError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AssociateCreatedArtifactOutput, AssociateCreatedArtifactError>, SdkError<AssociateCreatedArtifactError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_progress_update_stream(&self) -> &Option<String>
pub fn get_progress_update_stream(&self) -> &Option<String>
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 get_migration_task_name(&self) -> &Option<String>
pub fn get_migration_task_name(&self) -> &Option<String>
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 get_created_artifact(&self) -> &Option<CreatedArtifact>
pub fn get_created_artifact(&self) -> &Option<CreatedArtifact>
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.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
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 AssociateCreatedArtifactFluentBuilder
impl Clone for AssociateCreatedArtifactFluentBuilder
source§fn clone(&self) -> AssociateCreatedArtifactFluentBuilder
fn clone(&self) -> AssociateCreatedArtifactFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more