DatabaseMigrationService.Client.
delete_replication_task_assessment_run
(**kwargs)¶Deletes the record of a single premigration assessment run.
This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.
See also: AWS API Documentation
Request Syntax
response = client.delete_replication_task_assessment_run(
ReplicationTaskAssessmentRunArn='string'
)
[REQUIRED]
Amazon Resource Name (ARN) of the premigration assessment run to be deleted.
{
'ReplicationTaskAssessmentRun': {
'ReplicationTaskAssessmentRunArn': 'string',
'ReplicationTaskArn': 'string',
'Status': 'string',
'ReplicationTaskAssessmentRunCreationDate': datetime(2015, 1, 1),
'AssessmentProgress': {
'IndividualAssessmentCount': 123,
'IndividualAssessmentCompletedCount': 123
},
'LastFailureMessage': 'string',
'ServiceAccessRoleArn': 'string',
'ResultLocationBucket': 'string',
'ResultLocationFolder': 'string',
'ResultEncryptionMode': 'string',
'ResultKmsKeyArn': 'string',
'AssessmentRunName': 'string'
}
}
Response Structure
The ReplicationTaskAssessmentRun
object for the deleted assessment run.
Amazon Resource Name (ARN) of this assessment run.
ARN of the migration task associated with this premigration assessment run.
Assessment run status.
This status can have one of the following values:
"cancelling"
– The assessment run was canceled by the CancelReplicationTaskAssessmentRun
operation."deleting"
– The assessment run was deleted by the DeleteReplicationTaskAssessmentRun
operation."failed"
– At least one individual assessment completed with a failed
status."error-provisioning"
– An internal error occurred while resources were provisioned (during provisioning
status)."error-executing"
– An internal error occurred while individual assessments ran (during running
status)."invalid state"
– The assessment run is in an unknown state."passed"
– All individual assessments have completed, and none has a failed
status."provisioning"
– Resources required to run individual assessments are being provisioned."running"
– Individual assessments are being run."starting"
– The assessment run is starting, but resources are not yet being provisioned for individual assessments.Date on which the assessment run was created using the StartReplicationTaskAssessmentRun
operation.
Indication of the completion progress for the individual assessments specified to run.
The number of individual assessments that are specified to run.
The number of individual assessments that have completed, successfully or not.
Last message generated by an individual assessment failure.
ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun
operation. The role must allow the iam:PassRole
action.
Amazon S3 bucket where DMS stores the results of this assessment run.
Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
Encryption mode used to encrypt the assessment run results.
ARN of the KMS encryption key used to encrypt the assessment run results.
Unique name of the assessment run.
Exceptions
DatabaseMigrationService.Client.exceptions.AccessDeniedFault
DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault
DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault