Skip to content

aws.dms.describe_replication_task_assessment_runs

Example SQL Queries

SELECT * FROM
aws.dms.describe_replication_task_assessment_runs;

Description

Returns a paginated list of premigration assessment runs based on filter settings.

These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.

This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.

Table Definition

Column NameColumn Data Type
filters Input Column

Filters applied to the premigration assessment runs described in the form of key-value pairs.

Valid filter names: replication-task-assessment-run-arn, replication-task-arn, replication-instance-arn, status

STRUCT(
"name" VARCHAR,
"values" VARCHAR[]
)[]
Show child fields
filters[]
Show child fields
filters[].name

The name of the filter as specified for a Describe* or similar operation.

filters[].values[]
marker Input Column

A pagination token returned for you to pass to a subsequent request. If you pass this token as the Marker value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by MaxRecords.

VARCHAR
max_records Input Column

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

BIGINT
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
replication_task_assessment_runs

One or more premigration assessment runs as specified by Filters.

STRUCT(
"replication_task_assessment_run_arn" VARCHAR,
"replication_task_arn" VARCHAR,
"status" VARCHAR,
"replication_task_assessment_run_creation_date" TIMESTAMP_S,
"assessment_progress" STRUCT(
"individual_assessment_count" BIGINT,
"individual_assessment_completed_count" BIGINT
),
"last_failure_message" VARCHAR,
"service_access_role_arn" VARCHAR,
"result_location_bucket" VARCHAR,
"result_location_folder" VARCHAR,
"result_encryption_mode" VARCHAR,
"result_kms_key_arn" VARCHAR,
"assessment_run_name" VARCHAR
)[]
Show child fields
replication_task_assessment_runs[]
Show child fields
replication_task_assessment_runs[].assessment_progress

Indication of the completion progress for the individual assessments specified to run.

Show child fields
replication_task_assessment_runs[].assessment_progress.individual_assessment_completed_count

The number of individual assessments that have completed, successfully or not.

replication_task_assessment_runs[].assessment_progress.individual_assessment_count

The number of individual assessments that are specified to run.

replication_task_assessment_runs[].assessment_run_name

Unique name of the assessment run.

replication_task_assessment_runs[].last_failure_message

Last message generated by an individual assessment failure.

replication_task_assessment_runs[].replication_task_arn

ARN of the migration task associated with this premigration assessment run.

replication_task_assessment_runs[].replication_task_assessment_run_arn

Amazon Resource Name (ARN) of this assessment run.

replication_task_assessment_runs[].replication_task_assessment_run_creation_date

Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

replication_task_assessment_runs[].result_encryption_mode

Encryption mode used to encrypt the assessment run results.

replication_task_assessment_runs[].result_kms_key_arn

ARN of the KMS encryption key used to encrypt the assessment run results.

replication_task_assessment_runs[].result_location_bucket

Amazon S3 bucket where DMS stores the results of this assessment run.

replication_task_assessment_runs[].result_location_folder

Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

replication_task_assessment_runs[].service_access_role_arn

ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

replication_task_assessment_runs[].status

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.