Skip to content

Commit e2316ab

Browse files
author
awstools
committed
feat(client-database-migration-service): Add skipped status to the Result Statistics of an Assessment Run
1 parent 2657cc9 commit e2316ab

10 files changed

+31
-7
lines changed

clients/client-database-migration-service/src/commands/CancelReplicationTaskAssessmentRunCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface CancelReplicationTaskAssessmentRunCommandOutput
7979
* // Error: Number("int"),
8080
* // Warning: Number("int"),
8181
* // Cancelled: Number("int"),
82+
* // Skipped: Number("int"),
8283
* // },
8384
* // },
8485
* // };

clients/client-database-migration-service/src/commands/DeleteReplicationTaskAssessmentRunCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface DeleteReplicationTaskAssessmentRunCommandOutput
7979
* // Error: Number("int"),
8080
* // Warning: Number("int"),
8181
* // Cancelled: Number("int"),
82+
* // Skipped: Number("int"),
8283
* // },
8384
* // },
8485
* // };

clients/client-database-migration-service/src/commands/DescribeReplicationTaskAssessmentRunsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export interface DescribeReplicationTaskAssessmentRunsCommandOutput
9696
* // Error: Number("int"),
9797
* // Warning: Number("int"),
9898
* // Cancelled: Number("int"),
99+
* // Skipped: Number("int"),
99100
* // },
100101
* // },
101102
* // ],

clients/client-database-migration-service/src/commands/DescribeReplicationsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export interface DescribeReplicationsCommandOutput extends DescribeReplicationsR
9393
* // Error: Number("int"),
9494
* // Warning: Number("int"),
9595
* // Cancelled: Number("int"),
96+
* // Skipped: Number("int"),
9697
* // },
9798
* // },
9899
* // ],

clients/client-database-migration-service/src/commands/StartReplicationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
9090
* // Error: Number("int"),
9191
* // Warning: Number("int"),
9292
* // Cancelled: Number("int"),
93+
* // Skipped: Number("int"),
9394
* // },
9495
* // },
9596
* // ],

clients/client-database-migration-service/src/commands/StartReplicationTaskAssessmentRunCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export interface StartReplicationTaskAssessmentRunCommandOutput
101101
* // Error: Number("int"),
102102
* // Warning: Number("int"),
103103
* // Cancelled: Number("int"),
104+
* // Skipped: Number("int"),
104105
* // },
105106
* // },
106107
* // };

clients/client-database-migration-service/src/commands/StopReplicationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
8383
* // Error: Number("int"),
8484
* // Warning: Number("int"),
8585
* // Cancelled: Number("int"),
86+
* // Skipped: Number("int"),
8687
* // },
8788
* // },
8889
* // ],

clients/client-database-migration-service/src/models/models_0.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,12 @@ export interface ReplicationTaskAssessmentRunResultStatistic {
455455
* @public
456456
*/
457457
Cancelled?: number | undefined;
458+
459+
/**
460+
* <p>The number of individual assessments that were skipped during the assessment run.</p>
461+
* @public
462+
*/
463+
Skipped?: number | undefined;
458464
}
459465

460466
/**
@@ -532,8 +538,7 @@ export interface ReplicationTaskAssessmentRun {
532538
* </li>
533539
* <li>
534540
* <p>
535-
* <code>"warning"</code> – At least one individual assessment completed with
536-
* a <code>warning</code> status.</p>
541+
* <code>"warning"</code> – At least one individual assessment completed with a <code>warning</code> status or all individual assessments were skipped (completed with a <code>skipped</code> status).</p>
537542
* </li>
538543
* </ul>
539544
* @public

clients/client-database-migration-service/src/models/models_1.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ export interface ReplicationTaskIndividualAssessment {
156156
* </li>
157157
* <li>
158158
* <p>
159+
* <code>"skipped"</code>
160+
* </p>
161+
* </li>
162+
* <li>
163+
* <p>
159164
* <code>"running"</code>
160165
* </p>
161166
* </li>
@@ -2205,15 +2210,15 @@ export interface StartReplicationMessage {
22052210
* <ul>
22062211
* <li>
22072212
* <p>
2208-
* <code>ResultLocationFinder</code>: The folder within an Amazon Amazon S3 bucket where
2213+
* <code>ResultLocationFolder</code>: The folder within an Amazon S3 bucket where
22092214
* you want DMS to store the results of this assessment run.</p>
22102215
* </li>
22112216
* <li>
22122217
* <p>
22132218
* <code>ResultEncryptionMode</code>: The supported values are <code>SSE_KMS</code>
22142219
* and <code>SSE_S3</code>. If these values are not provided, then the files are not
22152220
* encrypted at rest. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.KMSKeys">Creating
2216-
* Amazon Web Services KMS keys to encrypt Amazon Amazon S3 target objects</a>.</p>
2221+
* Amazon Web Services KMS keys to encrypt Amazon S3 target objects</a>.</p>
22172222
* </li>
22182223
* <li>
22192224
* <p>

codegen/sdk-codegen/aws-models/database-migration-service.json

+10-3
Original file line numberDiff line numberDiff line change
@@ -16991,7 +16991,7 @@
1699116991
"Status": {
1699216992
"target": "com.amazonaws.databasemigrationservice#String",
1699316993
"traits": {
16994-
"smithy.api#documentation": "<p>Assessment run status. </p>\n <p>This status can have one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>\"cancelling\"</code> – The assessment run was canceled by the\n <code>CancelReplicationTaskAssessmentRun</code> operation.</p>\n </li>\n <li>\n <p>\n <code>\"deleting\"</code> – The assessment run was deleted by the\n <code>DeleteReplicationTaskAssessmentRun</code> operation.</p>\n </li>\n <li>\n <p>\n <code>\"failed\"</code> – At least one individual assessment completed with a\n <code>failed</code> status.</p>\n </li>\n <li>\n <p>\n <code>\"error-provisioning\"</code> – An internal error occurred while\n resources were provisioned (during <code>provisioning</code> status).</p>\n </li>\n <li>\n <p>\n <code>\"error-executing\"</code> – An internal error occurred while\n individual assessments ran (during <code>running</code> status).</p>\n </li>\n <li>\n <p>\n <code>\"invalid state\"</code> – The assessment run is in an unknown\n state.</p>\n </li>\n <li>\n <p>\n <code>\"passed\"</code> – All individual assessments have completed, and none\n has a <code>failed</code> status.</p>\n </li>\n <li>\n <p>\n <code>\"provisioning\"</code> – Resources required to run individual\n assessments are being provisioned.</p>\n </li>\n <li>\n <p>\n <code>\"running\"</code> – Individual assessments are being run.</p>\n </li>\n <li>\n <p>\n <code>\"starting\"</code> – The assessment run is starting, but resources are\n not yet being provisioned for individual assessments.</p>\n </li>\n <li>\n <p>\n <code>\"warning\"</code> – At least one individual assessment completed with\n a <code>warning</code> status.</p>\n </li>\n </ul>"
16994+
"smithy.api#documentation": "<p>Assessment run status. </p>\n <p>This status can have one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>\"cancelling\"</code> – The assessment run was canceled by the\n <code>CancelReplicationTaskAssessmentRun</code> operation.</p>\n </li>\n <li>\n <p>\n <code>\"deleting\"</code> – The assessment run was deleted by the\n <code>DeleteReplicationTaskAssessmentRun</code> operation.</p>\n </li>\n <li>\n <p>\n <code>\"failed\"</code> – At least one individual assessment completed with a\n <code>failed</code> status.</p>\n </li>\n <li>\n <p>\n <code>\"error-provisioning\"</code> – An internal error occurred while\n resources were provisioned (during <code>provisioning</code> status).</p>\n </li>\n <li>\n <p>\n <code>\"error-executing\"</code> – An internal error occurred while\n individual assessments ran (during <code>running</code> status).</p>\n </li>\n <li>\n <p>\n <code>\"invalid state\"</code> – The assessment run is in an unknown\n state.</p>\n </li>\n <li>\n <p>\n <code>\"passed\"</code> – All individual assessments have completed, and none\n has a <code>failed</code> status.</p>\n </li>\n <li>\n <p>\n <code>\"provisioning\"</code> – Resources required to run individual\n assessments are being provisioned.</p>\n </li>\n <li>\n <p>\n <code>\"running\"</code> – Individual assessments are being run.</p>\n </li>\n <li>\n <p>\n <code>\"starting\"</code> – The assessment run is starting, but resources are\n not yet being provisioned for individual assessments.</p>\n </li>\n <li>\n <p>\n <code>\"warning\"</code> – At least one individual assessment completed with a <code>warning</code> status or all individual assessments were skipped (completed with a <code>skipped</code> status).</p>\n </li>\n </ul>"
1699516995
}
1699616996
},
1699716997
"ReplicationTaskAssessmentRunCreationDate": {
@@ -17131,6 +17131,13 @@
1713117131
"smithy.api#default": 0,
1713217132
"smithy.api#documentation": "<p>\n The number of individual assessments that were cancelled during the assessment run.\n </p>"
1713317133
}
17134+
},
17135+
"Skipped": {
17136+
"target": "com.amazonaws.databasemigrationservice#Integer",
17137+
"traits": {
17138+
"smithy.api#default": 0,
17139+
"smithy.api#documentation": "<p>The number of individual assessments that were skipped during the assessment run.</p>"
17140+
}
1713417141
}
1713517142
},
1713617143
"traits": {
@@ -17161,7 +17168,7 @@
1716117168
"Status": {
1716217169
"target": "com.amazonaws.databasemigrationservice#String",
1716317170
"traits": {
17164-
"smithy.api#documentation": "<p>Individual assessment status.</p>\n <p>This status can have one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>\"cancelled\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"error\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"failed\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"passed\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"pending\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"running\"</code>\n </p>\n </li>\n </ul>"
17171+
"smithy.api#documentation": "<p>Individual assessment status.</p>\n <p>This status can have one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>\"cancelled\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"error\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"failed\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"passed\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"pending\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"skipped\"</code>\n </p>\n </li>\n <li>\n <p>\n <code>\"running\"</code>\n </p>\n </li>\n </ul>"
1716517172
}
1716617173
},
1716717174
"ReplicationTaskIndividualAssessmentStartDate": {
@@ -18733,7 +18740,7 @@
1873318740
"PremigrationAssessmentSettings": {
1873418741
"target": "com.amazonaws.databasemigrationservice#String",
1873518742
"traits": {
18736-
"smithy.api#documentation": "<p>User-defined settings for the premigration assessment. The possible values are:</p>\n <ul>\n <li>\n <p>\n <code>ResultLocationFinder</code>: The folder within an Amazon Amazon S3 bucket where\n you want DMS to store the results of this assessment run.</p>\n </li>\n <li>\n <p>\n <code>ResultEncryptionMode</code>: The supported values are <code>SSE_KMS</code>\n and <code>SSE_S3</code>. If these values are not provided, then the files are not\n encrypted at rest. For more information, see <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.KMSKeys\">Creating\n Amazon Web Services KMS keys to encrypt Amazon Amazon S3 target objects</a>.</p>\n </li>\n <li>\n <p>\n <code>ResultKmsKeyArn</code>: The ARN of a customer KMS encryption key that you\n specify when you set <code>ResultEncryptionMode</code> to\n <code>SSE_KMS</code>.</p>\n </li>\n <li>\n <p>\n <code>IncludeOnly</code>: A space-separated list of names for specific individual\n assessments that you want to include. These names come from the default list of\n individual assessments that Database Migration Service supports for the associated migration.</p>\n </li>\n <li>\n <p>\n <code>Exclude</code>: A space-separated list of names for specific individual\n assessments that you want to exclude. These names come from the default list of\n individual assessments that Database Migration Service supports for the associated migration.</p>\n </li>\n <li>\n <p>\n <code>FailOnAssessmentFailure</code>: A configurable setting you can set to\n <code>true</code> (the default setting) or <code>false</code>. Use this setting to\n to stop the replication from starting automatically if the assessment fails. This can\n help you evaluate the issue that is preventing the replication from running\n successfully.</p>\n </li>\n </ul>"
18743+
"smithy.api#documentation": "<p>User-defined settings for the premigration assessment. The possible values are:</p>\n <ul>\n <li>\n <p>\n <code>ResultLocationFolder</code>: The folder within an Amazon S3 bucket where\n you want DMS to store the results of this assessment run.</p>\n </li>\n <li>\n <p>\n <code>ResultEncryptionMode</code>: The supported values are <code>SSE_KMS</code>\n and <code>SSE_S3</code>. If these values are not provided, then the files are not\n encrypted at rest. For more information, see <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.KMSKeys\">Creating\n Amazon Web Services KMS keys to encrypt Amazon S3 target objects</a>.</p>\n </li>\n <li>\n <p>\n <code>ResultKmsKeyArn</code>: The ARN of a customer KMS encryption key that you\n specify when you set <code>ResultEncryptionMode</code> to\n <code>SSE_KMS</code>.</p>\n </li>\n <li>\n <p>\n <code>IncludeOnly</code>: A space-separated list of names for specific individual\n assessments that you want to include. These names come from the default list of\n individual assessments that Database Migration Service supports for the associated migration.</p>\n </li>\n <li>\n <p>\n <code>Exclude</code>: A space-separated list of names for specific individual\n assessments that you want to exclude. These names come from the default list of\n individual assessments that Database Migration Service supports for the associated migration.</p>\n </li>\n <li>\n <p>\n <code>FailOnAssessmentFailure</code>: A configurable setting you can set to\n <code>true</code> (the default setting) or <code>false</code>. Use this setting to\n to stop the replication from starting automatically if the assessment fails. This can\n help you evaluate the issue that is preventing the replication from running\n successfully.</p>\n </li>\n </ul>"
1873718744
}
1873818745
},
1873918746
"CdcStartTime": {

0 commit comments

Comments
 (0)