Struct aws_sdk_databasemigration::client::fluent_builders::StartReplicationTaskAssessmentRun
source · pub struct StartReplicationTaskAssessmentRun { /* private fields */ }
Expand description
Fluent builder constructing a request to StartReplicationTaskAssessmentRun
.
Starts a new premigration assessment run for one or more individual assessments of a migration task.
The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.
Implementations§
source§impl StartReplicationTaskAssessmentRun
impl StartReplicationTaskAssessmentRun
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartReplicationTaskAssessmentRun, AwsResponseRetryClassifier>, SdkError<StartReplicationTaskAssessmentRunError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartReplicationTaskAssessmentRun, AwsResponseRetryClassifier>, SdkError<StartReplicationTaskAssessmentRunError>>
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<StartReplicationTaskAssessmentRunOutput, SdkError<StartReplicationTaskAssessmentRunError>>
pub async fn send(
self
) -> Result<StartReplicationTaskAssessmentRunOutput, SdkError<StartReplicationTaskAssessmentRunError>>
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 replication_task_arn(self, input: impl Into<String>) -> Self
pub fn replication_task_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
sourcepub fn set_replication_task_arn(self, input: Option<String>) -> Self
pub fn set_replication_task_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
sourcepub fn service_access_role_arn(self, input: impl Into<String>) -> Self
pub fn service_access_role_arn(self, input: impl Into<String>) -> Self
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
sourcepub fn set_service_access_role_arn(self, input: Option<String>) -> Self
pub fn set_service_access_role_arn(self, input: Option<String>) -> Self
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
sourcepub fn result_location_bucket(self, input: impl Into<String>) -> Self
pub fn result_location_bucket(self, input: impl Into<String>) -> Self
Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn set_result_location_bucket(self, input: Option<String>) -> Self
pub fn set_result_location_bucket(self, input: Option<String>) -> Self
Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn result_location_folder(self, input: impl Into<String>) -> Self
pub fn result_location_folder(self, input: impl Into<String>) -> Self
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn set_result_location_folder(self, input: Option<String>) -> Self
pub fn set_result_location_folder(self, input: Option<String>) -> Self
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn result_encryption_mode(self, input: impl Into<String>) -> Self
pub fn result_encryption_mode(self, input: impl Into<String>) -> Self
Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, DMS stores the assessment run results without encryption. You can specify one of the options following:
-
"SSE_S3"
– The server-side encryption provided as a default by Amazon S3. -
"SSE_KMS"
– Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.
sourcepub fn set_result_encryption_mode(self, input: Option<String>) -> Self
pub fn set_result_encryption_mode(self, input: Option<String>) -> Self
Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, DMS stores the assessment run results without encryption. You can specify one of the options following:
-
"SSE_S3"
– The server-side encryption provided as a default by Amazon S3. -
"SSE_KMS"
– Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.
sourcepub fn result_kms_key_arn(self, input: impl Into<String>) -> Self
pub fn result_kms_key_arn(self, input: impl Into<String>) -> Self
ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to "SSE_KMS
".
sourcepub fn set_result_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_result_kms_key_arn(self, input: Option<String>) -> Self
ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to "SSE_KMS
".
sourcepub fn assessment_run_name(self, input: impl Into<String>) -> Self
pub fn assessment_run_name(self, input: impl Into<String>) -> Self
Unique name to identify the assessment run.
sourcepub fn set_assessment_run_name(self, input: Option<String>) -> Self
pub fn set_assessment_run_name(self, input: Option<String>) -> Self
Unique name to identify the assessment run.
sourcepub fn include_only(self, input: impl Into<String>) -> Self
pub fn include_only(self, input: impl Into<String>) -> Self
Appends an item to IncludeOnly
.
To override the contents of this collection use set_include_only
.
Space-separated list of names for specific individual assessments that you want to include. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn
.
You can't set a value for IncludeOnly
if you also set a value for Exclude
in the API operation.
To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments
operation using its own ReplicationTaskArn
request parameter.
sourcepub fn set_include_only(self, input: Option<Vec<String>>) -> Self
pub fn set_include_only(self, input: Option<Vec<String>>) -> Self
Space-separated list of names for specific individual assessments that you want to include. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn
.
You can't set a value for IncludeOnly
if you also set a value for Exclude
in the API operation.
To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments
operation using its own ReplicationTaskArn
request parameter.
sourcepub fn exclude(self, input: impl Into<String>) -> Self
pub fn exclude(self, input: impl Into<String>) -> Self
Appends an item to Exclude
.
To override the contents of this collection use set_exclude
.
Space-separated list of names for specific individual assessments that you want to exclude. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn
.
You can't set a value for Exclude
if you also set a value for IncludeOnly
in the API operation.
To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments
operation using its own ReplicationTaskArn
request parameter.
sourcepub fn set_exclude(self, input: Option<Vec<String>>) -> Self
pub fn set_exclude(self, input: Option<Vec<String>>) -> Self
Space-separated list of names for specific individual assessments that you want to exclude. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn
.
You can't set a value for Exclude
if you also set a value for IncludeOnly
in the API operation.
To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments
operation using its own ReplicationTaskArn
request parameter.
Trait Implementations§
source§impl Clone for StartReplicationTaskAssessmentRun
impl Clone for StartReplicationTaskAssessmentRun
source§fn clone(&self) -> StartReplicationTaskAssessmentRun
fn clone(&self) -> StartReplicationTaskAssessmentRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more