Struct aws_sdk_databasemigration::client::fluent_builders::StartReplicationTaskAssessmentRun [−][src]
pub struct StartReplicationTaskAssessmentRun<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
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
impl<C, M, R> StartReplicationTaskAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartReplicationTaskAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartReplicationTaskAssessmentRunOutput, SdkError<StartReplicationTaskAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StartReplicationTaskAssessmentRunInputOperationOutputAlias, StartReplicationTaskAssessmentRunOutput, StartReplicationTaskAssessmentRunError, StartReplicationTaskAssessmentRunInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartReplicationTaskAssessmentRunOutput, SdkError<StartReplicationTaskAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StartReplicationTaskAssessmentRunInputOperationOutputAlias, StartReplicationTaskAssessmentRunOutput, StartReplicationTaskAssessmentRunError, StartReplicationTaskAssessmentRunInputOperationRetryAlias>,
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.
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
Amazon S3 bucket where you want DMS to store the results of this assessment run.
Amazon S3 bucket where you want DMS to store the results of this assessment run.
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
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.
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.
ARN of a custom KMS encryption key that you specify when you set
ResultEncryptionMode
to "SSE_KMS
".
ARN of a custom KMS encryption key that you specify when you set
ResultEncryptionMode
to "SSE_KMS
".
Unique name to identify the assessment run.
Unique name to identify the assessment run.
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.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartReplicationTaskAssessmentRun<C, M, R>
impl<C, M, R> Send for StartReplicationTaskAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartReplicationTaskAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartReplicationTaskAssessmentRun<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartReplicationTaskAssessmentRun<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