@aws-sdk/client-database-migration-service 3.929.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +313 -80
  3. package/dist-es/DatabaseMigrationService.js +14 -0
  4. package/dist-es/commands/CancelMetadataModelConversionCommand.js +16 -0
  5. package/dist-es/commands/CancelMetadataModelCreationCommand.js +16 -0
  6. package/dist-es/commands/DescribeMetadataModelChildrenCommand.js +16 -0
  7. package/dist-es/commands/DescribeMetadataModelCommand.js +16 -0
  8. package/dist-es/commands/DescribeMetadataModelCreationsCommand.js +16 -0
  9. package/dist-es/commands/GetTargetSelectionRulesCommand.js +16 -0
  10. package/dist-es/commands/StartMetadataModelCreationCommand.js +16 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +4 -34
  13. package/dist-es/models/models_1.js +0 -4
  14. package/dist-es/pagination/DescribeMetadataModelChildrenPaginator.js +4 -0
  15. package/dist-es/pagination/DescribeMetadataModelCreationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +205 -42
  18. package/dist-types/DatabaseMigrationService.d.ts +49 -0
  19. package/dist-types/DatabaseMigrationServiceClient.d.ts +9 -2
  20. package/dist-types/commands/CancelMetadataModelConversionCommand.d.ts +98 -0
  21. package/dist-types/commands/CancelMetadataModelCreationCommand.d.ts +98 -0
  22. package/dist-types/commands/DescribeMetadataModelChildrenCommand.d.ts +91 -0
  23. package/dist-types/commands/DescribeMetadataModelCommand.d.ts +91 -0
  24. package/dist-types/commands/DescribeMetadataModelCreationsCommand.d.ts +107 -0
  25. package/dist-types/commands/DescribeReplicationSubnetGroupsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeReplicationsCommand.d.ts +2 -1
  29. package/dist-types/commands/GetTargetSelectionRulesCommand.d.ts +85 -0
  30. package/dist-types/commands/StartMetadataModelCreationCommand.d.ts +97 -0
  31. package/dist-types/commands/index.d.ts +7 -0
  32. package/dist-types/models/models_0.d.ts +331 -843
  33. package/dist-types/models/models_1.d.ts +825 -7
  34. package/dist-types/pagination/DescribeMetadataModelChildrenPaginator.d.ts +7 -0
  35. package/dist-types/pagination/DescribeMetadataModelCreationsPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +2 -0
  37. package/dist-types/schemas/schemas_0.d.ts +25 -0
  38. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +119 -0
  39. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/CancelMetadataModelConversionCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/CancelMetadataModelCreationCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DescribeMetadataModelChildrenCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/DescribeMetadataModelCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/DescribeMetadataModelCreationsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/DescribeReplicationSubnetGroupsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeReplicationTableStatisticsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DescribeReplicationsCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/GetTargetSelectionRulesCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/StartMetadataModelCreationCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +87 -151
  53. package/dist-types/ts3.4/models/models_1.d.ts +156 -8
  54. package/dist-types/ts3.4/pagination/DescribeMetadataModelChildrenPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/DescribeMetadataModelCreationsPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  58. package/package.json +34 -34
@@ -1,6 +1,732 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { DatabaseMigrationServiceServiceException as __BaseException } from "./DatabaseMigrationServiceServiceException";
3
- import { Certificate, ComputeConfig, Connection, DataMigration, DataProvider, DataProviderDescriptorDefinition, DataProviderSettings, DmsSslModeValue, DmsTransferSettings, DocDbSettings, DynamoDbSettings, ElasticsearchSettings, Endpoint, EventSubscription, Filter, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, KerberosAuthenticationSettings, KinesisSettings, MicrosoftSQLServerSettings, MigrationProject, MigrationTypeValue, MongoDbSettings, MySQLSettings, NeptuneSettings, OracleSettings, PostgreSQLSettings, RecommendationSettings, RedisSettings, RedshiftSettings, RefreshSchemasStatus, Replication, ReplicationConfig, ReplicationEndpointTypeValue, ReplicationInstance, ReplicationSubnetGroup, ReplicationTask, ReplicationTaskAssessmentRun, S3Settings, SCApplicationAttributes, SourceDataSetting, SybaseSettings, TableStatistics, Tag, TargetDataSetting, TimestreamSettings } from "./models_0";
3
+ import { Certificate, ComputeConfig, Connection, DataMigration, DataProvider, DataProviderDescriptorDefinition, DataProviderSettings, DmsSslModeValue, DmsTransferSettings, DocDbSettings, DynamoDbSettings, ElasticsearchSettings, Endpoint, EventSubscription, Filter, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, KerberosAuthenticationSettings, KinesisSettings, MicrosoftSQLServerSettings, MigrationProject, MigrationTypeValue, MongoDbSettings, MySQLSettings, NeptuneSettings, OracleSettings, OriginTypeValue, PostgreSQLSettings, PremigrationAssessmentStatus, RecommendationSettings, RedisSettings, RedshiftSettings, RefreshSchemasStatus, ReplicationConfig, ReplicationEndpointTypeValue, ReplicationInstance, ReplicationSubnetGroup, ReplicationTask, ReplicationTaskAssessmentRun, S3Settings, SCApplicationAttributes, SourceDataSetting, SybaseSettings, Tag, TargetDataSetting, TimestreamSettings } from "./models_0";
4
+ /**
5
+ * <p>Information about provisioning resources for an DMS serverless replication.</p>
6
+ * @public
7
+ */
8
+ export interface ProvisionData {
9
+ /**
10
+ * <p>The current provisioning state </p>
11
+ * @public
12
+ */
13
+ ProvisionState?: string | undefined;
14
+ /**
15
+ * <p>The number of capacity units the replication is using.</p>
16
+ * @public
17
+ */
18
+ ProvisionedCapacityUnits?: number | undefined;
19
+ /**
20
+ * <p>The timestamp when DMS provisioned replication resources.</p>
21
+ * @public
22
+ */
23
+ DateProvisioned?: Date | undefined;
24
+ /**
25
+ * <p>Whether the new provisioning is available to the replication.</p>
26
+ * @public
27
+ */
28
+ IsNewProvisioningAvailable?: boolean | undefined;
29
+ /**
30
+ * <p>The timestamp when provisioning became available.</p>
31
+ * @public
32
+ */
33
+ DateNewProvisioningDataAvailable?: Date | undefined;
34
+ /**
35
+ * <p>A message describing the reason that DMS provisioned new resources for the serverless
36
+ * replication.</p>
37
+ * @public
38
+ */
39
+ ReasonForNewProvisioningData?: string | undefined;
40
+ }
41
+ /**
42
+ * <p>This object provides a collection of statistics about a serverless replication.</p>
43
+ * @public
44
+ */
45
+ export interface ReplicationStats {
46
+ /**
47
+ * <p>The percent complete for the full load serverless replication.</p>
48
+ * @public
49
+ */
50
+ FullLoadProgressPercent?: number | undefined;
51
+ /**
52
+ * <p>The elapsed time of the replication, in milliseconds.</p>
53
+ * @public
54
+ */
55
+ ElapsedTimeMillis?: number | undefined;
56
+ /**
57
+ * <p>The number of tables loaded for this replication.</p>
58
+ * @public
59
+ */
60
+ TablesLoaded?: number | undefined;
61
+ /**
62
+ * <p>The number of tables currently loading for this replication.</p>
63
+ * @public
64
+ */
65
+ TablesLoading?: number | undefined;
66
+ /**
67
+ * <p>The number of tables queued for this replication.</p>
68
+ * @public
69
+ */
70
+ TablesQueued?: number | undefined;
71
+ /**
72
+ * <p>The number of errors that have occured for this replication.</p>
73
+ * @public
74
+ */
75
+ TablesErrored?: number | undefined;
76
+ /**
77
+ * <p>The date the replication was started either with a fresh start or a target
78
+ * reload.</p>
79
+ * @public
80
+ */
81
+ FreshStartDate?: Date | undefined;
82
+ /**
83
+ * <p>The date the replication is scheduled to start.</p>
84
+ * @public
85
+ */
86
+ StartDate?: Date | undefined;
87
+ /**
88
+ * <p>The date the replication was stopped.</p>
89
+ * @public
90
+ */
91
+ StopDate?: Date | undefined;
92
+ /**
93
+ * <p>The date the replication full load was started.</p>
94
+ * @public
95
+ */
96
+ FullLoadStartDate?: Date | undefined;
97
+ /**
98
+ * <p>The date the replication full load was finished.</p>
99
+ * @public
100
+ */
101
+ FullLoadFinishDate?: Date | undefined;
102
+ }
103
+ /**
104
+ * <p>Provides information that describes a serverless replication created by the
105
+ * <code>CreateReplication</code> operation.</p>
106
+ * @public
107
+ */
108
+ export interface Replication {
109
+ /**
110
+ * <p>The identifier for the <code>ReplicationConfig</code> associated with the
111
+ * replication.</p>
112
+ * @public
113
+ */
114
+ ReplicationConfigIdentifier?: string | undefined;
115
+ /**
116
+ * <p>The Amazon Resource Name for the <code>ReplicationConfig</code> associated with the
117
+ * replication.</p>
118
+ * @public
119
+ */
120
+ ReplicationConfigArn?: string | undefined;
121
+ /**
122
+ * <p>The Amazon Resource Name for an existing <code>Endpoint</code> the serverless
123
+ * replication uses for its data source.</p>
124
+ * @public
125
+ */
126
+ SourceEndpointArn?: string | undefined;
127
+ /**
128
+ * <p>The Amazon Resource Name for an existing <code>Endpoint</code> the serverless
129
+ * replication uses for its data target.</p>
130
+ * @public
131
+ */
132
+ TargetEndpointArn?: string | undefined;
133
+ /**
134
+ * <p>The type of the serverless replication.</p>
135
+ * @public
136
+ */
137
+ ReplicationType?: MigrationTypeValue | undefined;
138
+ /**
139
+ * <p>The current status of the serverless replication.</p>
140
+ * @public
141
+ */
142
+ Status?: string | undefined;
143
+ /**
144
+ * <p>Information about provisioning resources for an DMS serverless replication.</p>
145
+ * @public
146
+ */
147
+ ProvisionData?: ProvisionData | undefined;
148
+ /**
149
+ * <p>The status output of premigration assessment in describe-replications.</p>
150
+ * @public
151
+ */
152
+ PremigrationAssessmentStatuses?: PremigrationAssessmentStatus[] | undefined;
153
+ /**
154
+ * <p>The reason the replication task was stopped. This response parameter can return one of
155
+ * the following values:</p>
156
+ * <ul>
157
+ * <li>
158
+ * <p>
159
+ * <code>"Stop Reason NORMAL"</code>
160
+ * </p>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <code>"Stop Reason RECOVERABLE_ERROR"</code>
165
+ * </p>
166
+ * </li>
167
+ * <li>
168
+ * <p>
169
+ * <code>"Stop Reason FATAL_ERROR"</code>
170
+ * </p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <code>"Stop Reason FULL_LOAD_ONLY_FINISHED"</code>
175
+ * </p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <code>"Stop Reason STOPPED_AFTER_FULL_LOAD"</code> – Full load
180
+ * completed, with cached changes not applied</p>
181
+ * </li>
182
+ * <li>
183
+ * <p>
184
+ * <code>"Stop Reason STOPPED_AFTER_CACHED_EVENTS"</code> – Full
185
+ * load completed, with cached changes applied</p>
186
+ * </li>
187
+ * <li>
188
+ * <p>
189
+ * <code>"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"</code>
190
+ * </p>
191
+ * </li>
192
+ * <li>
193
+ * <p>
194
+ * <code>"Stop Reason STOPPED_AFTER_DDL_APPLY"</code> – User-defined
195
+ * stop task after DDL applied</p>
196
+ * </li>
197
+ * <li>
198
+ * <p>
199
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"</code>
200
+ * </p>
201
+ * </li>
202
+ * <li>
203
+ * <p>
204
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_DISK"</code>
205
+ * </p>
206
+ * </li>
207
+ * <li>
208
+ * <p>
209
+ * <code>"Stop Reason STOPPED_AT_SERVER_TIME"</code> – User-defined
210
+ * server time for stopping task</p>
211
+ * </li>
212
+ * <li>
213
+ * <p>
214
+ * <code>"Stop Reason STOPPED_AT_COMMIT_TIME"</code> – User-defined
215
+ * commit time for stopping task</p>
216
+ * </li>
217
+ * <li>
218
+ * <p>
219
+ * <code>"Stop Reason RECONFIGURATION_RESTART"</code>
220
+ * </p>
221
+ * </li>
222
+ * <li>
223
+ * <p>
224
+ * <code>"Stop Reason RECYCLE_TASK"</code>
225
+ * </p>
226
+ * </li>
227
+ * </ul>
228
+ * @public
229
+ */
230
+ StopReason?: string | undefined;
231
+ /**
232
+ * <p>Error and other information about why a serverless replication failed.</p>
233
+ * @public
234
+ */
235
+ FailureMessages?: string[] | undefined;
236
+ /**
237
+ * <p>This object provides a collection of statistics about a serverless replication.</p>
238
+ * @public
239
+ */
240
+ ReplicationStats?: ReplicationStats | undefined;
241
+ /**
242
+ * <p>The type of replication to start.</p>
243
+ * @public
244
+ */
245
+ StartReplicationType?: string | undefined;
246
+ /**
247
+ * <p>Indicates the start time for a change data capture (CDC) operation. Use either
248
+ * <code>CdcStartTime</code> or <code>CdcStartPosition</code> to specify when you want a
249
+ * CDC operation to start. Specifying both values results in an error.</p>
250
+ * @public
251
+ */
252
+ CdcStartTime?: Date | undefined;
253
+ /**
254
+ * <p>Indicates the start time for a change data capture (CDC) operation. Use either
255
+ * <code>CdcStartTime</code> or <code>CdcStartPosition</code> to specify when you want a
256
+ * CDC operation to start. Specifying both values results in an error.</p>
257
+ * @public
258
+ */
259
+ CdcStartPosition?: string | undefined;
260
+ /**
261
+ * <p>Indicates when you want a change data capture (CDC) operation to stop. The value can be
262
+ * either server time or commit time.</p>
263
+ * @public
264
+ */
265
+ CdcStopPosition?: string | undefined;
266
+ /**
267
+ * <p>Indicates the last checkpoint that occurred during a change data capture (CDC)
268
+ * operation. You can provide this value to the <code>CdcStartPosition</code> parameter to
269
+ * start a CDC operation that begins at that checkpoint.</p>
270
+ * @public
271
+ */
272
+ RecoveryCheckpoint?: string | undefined;
273
+ /**
274
+ * <p>The time the serverless replication was created.</p>
275
+ * @public
276
+ */
277
+ ReplicationCreateTime?: Date | undefined;
278
+ /**
279
+ * <p>The time the serverless replication was updated.</p>
280
+ * @public
281
+ */
282
+ ReplicationUpdateTime?: Date | undefined;
283
+ /**
284
+ * <p>The timestamp when replication was last stopped.</p>
285
+ * @public
286
+ */
287
+ ReplicationLastStopTime?: Date | undefined;
288
+ /**
289
+ * <p>The timestamp when DMS will deprovision the replication.</p>
290
+ * @public
291
+ */
292
+ ReplicationDeprovisionTime?: Date | undefined;
293
+ }
294
+ /**
295
+ * <p></p>
296
+ * @public
297
+ */
298
+ export interface DescribeReplicationsResponse {
299
+ /**
300
+ * <p>An optional pagination token provided by a previous request. If this parameter is
301
+ * specified, the response includes only records beyond the marker, up to the value specified
302
+ * by <code>MaxRecords</code>. </p>
303
+ * @public
304
+ */
305
+ Marker?: string | undefined;
306
+ /**
307
+ * <p>The replication descriptions.</p>
308
+ * @public
309
+ */
310
+ Replications?: Replication[] | undefined;
311
+ }
312
+ /**
313
+ * <p></p>
314
+ * @public
315
+ */
316
+ export interface DescribeReplicationSubnetGroupsMessage {
317
+ /**
318
+ * <p>Filters applied to replication subnet groups.</p>
319
+ * <p>Valid filter names: replication-subnet-group-id</p>
320
+ * @public
321
+ */
322
+ Filters?: Filter[] | undefined;
323
+ /**
324
+ * <p> The maximum number of records to include in the response. If more records exist than
325
+ * the specified <code>MaxRecords</code> value, a pagination token called a marker is included
326
+ * in the response so that the remaining results can be retrieved. </p>
327
+ * <p>Default: 100</p>
328
+ * <p>Constraints: Minimum 20, maximum 100.</p>
329
+ * @public
330
+ */
331
+ MaxRecords?: number | undefined;
332
+ /**
333
+ * <p> An optional pagination token provided by a previous request. If this parameter is
334
+ * specified, the response includes only records beyond the marker, up to the value specified
335
+ * by <code>MaxRecords</code>. </p>
336
+ * @public
337
+ */
338
+ Marker?: string | undefined;
339
+ }
340
+ /**
341
+ * <p></p>
342
+ * @public
343
+ */
344
+ export interface DescribeReplicationSubnetGroupsResponse {
345
+ /**
346
+ * <p> An optional pagination token provided by a previous request. If this parameter is
347
+ * specified, the response includes only records beyond the marker, up to the value specified
348
+ * by <code>MaxRecords</code>. </p>
349
+ * @public
350
+ */
351
+ Marker?: string | undefined;
352
+ /**
353
+ * <p>A description of the replication subnet groups.</p>
354
+ * @public
355
+ */
356
+ ReplicationSubnetGroups?: ReplicationSubnetGroup[] | undefined;
357
+ }
358
+ /**
359
+ * <p></p>
360
+ * @public
361
+ */
362
+ export interface DescribeReplicationTableStatisticsMessage {
363
+ /**
364
+ * <p>The replication config to describe.</p>
365
+ * @public
366
+ */
367
+ ReplicationConfigArn: string | undefined;
368
+ /**
369
+ * <p>The maximum number of records to include in the response. If more records exist than the
370
+ * specified <code>MaxRecords</code> value, a pagination token called a marker is included in
371
+ * the response so that the remaining results can be retrieved. </p>
372
+ * @public
373
+ */
374
+ MaxRecords?: number | undefined;
375
+ /**
376
+ * <p>An optional pagination token provided by a previous request. If this parameter is
377
+ * specified, the response includes only records beyond the marker, up to the value specified
378
+ * by <code>MaxRecords</code>. </p>
379
+ * @public
380
+ */
381
+ Marker?: string | undefined;
382
+ /**
383
+ * <p>Filters applied to the replication table statistics.</p>
384
+ * @public
385
+ */
386
+ Filters?: Filter[] | undefined;
387
+ }
388
+ /**
389
+ * <p>Provides a collection of table statistics in response to a request by the
390
+ * <code>DescribeTableStatistics</code> operation.</p>
391
+ * @public
392
+ */
393
+ export interface TableStatistics {
394
+ /**
395
+ * <p>The schema name.</p>
396
+ * @public
397
+ */
398
+ SchemaName?: string | undefined;
399
+ /**
400
+ * <p>The name of the table.</p>
401
+ * @public
402
+ */
403
+ TableName?: string | undefined;
404
+ /**
405
+ * <p>The number of insert actions performed on a table.</p>
406
+ * @public
407
+ */
408
+ Inserts?: number | undefined;
409
+ /**
410
+ * <p>The number of delete actions performed on a table.</p>
411
+ * @public
412
+ */
413
+ Deletes?: number | undefined;
414
+ /**
415
+ * <p>The number of update actions performed on a table.</p>
416
+ * @public
417
+ */
418
+ Updates?: number | undefined;
419
+ /**
420
+ * <p>The data definition language (DDL) used to build and modify the structure of your
421
+ * tables.</p>
422
+ * @public
423
+ */
424
+ Ddls?: number | undefined;
425
+ /**
426
+ * <p>The number of insert actions applied on a target table.</p>
427
+ * @public
428
+ */
429
+ AppliedInserts?: number | undefined;
430
+ /**
431
+ * <p>The number of delete actions applied on a target table.</p>
432
+ * @public
433
+ */
434
+ AppliedDeletes?: number | undefined;
435
+ /**
436
+ * <p>The number of update actions applied on a target table.</p>
437
+ * @public
438
+ */
439
+ AppliedUpdates?: number | undefined;
440
+ /**
441
+ * <p>The number of data definition language (DDL) statements used to build and modify the
442
+ * structure of your tables applied on the target.</p>
443
+ * @public
444
+ */
445
+ AppliedDdls?: number | undefined;
446
+ /**
447
+ * <p>The number of rows added during the full load operation.</p>
448
+ * @public
449
+ */
450
+ FullLoadRows?: number | undefined;
451
+ /**
452
+ * <p>The number of rows that failed conditional checks during the full load operation (valid
453
+ * only for migrations where DynamoDB is the target).</p>
454
+ * @public
455
+ */
456
+ FullLoadCondtnlChkFailedRows?: number | undefined;
457
+ /**
458
+ * <p>The number of rows that failed to load during the full load operation (valid only for
459
+ * migrations where DynamoDB is the target).</p>
460
+ * @public
461
+ */
462
+ FullLoadErrorRows?: number | undefined;
463
+ /**
464
+ * <p>The time when the full load operation started.</p>
465
+ * @public
466
+ */
467
+ FullLoadStartTime?: Date | undefined;
468
+ /**
469
+ * <p>The time when the full load operation completed.</p>
470
+ * @public
471
+ */
472
+ FullLoadEndTime?: Date | undefined;
473
+ /**
474
+ * <p>A value that indicates if the table was reloaded (<code>true</code>) or loaded as part
475
+ * of a new full load operation (<code>false</code>).</p>
476
+ * @public
477
+ */
478
+ FullLoadReloaded?: boolean | undefined;
479
+ /**
480
+ * <p>The last time a table was updated.</p>
481
+ * @public
482
+ */
483
+ LastUpdateTime?: Date | undefined;
484
+ /**
485
+ * <p>The state of the tables described.</p>
486
+ * <p>Valid states: Table does not exist | Before load | Full load | Table completed | Table
487
+ * cancelled | Table error | Table is being reloaded</p>
488
+ * @public
489
+ */
490
+ TableState?: string | undefined;
491
+ /**
492
+ * <p>The number of records that have yet to be validated.</p>
493
+ * @public
494
+ */
495
+ ValidationPendingRecords?: number | undefined;
496
+ /**
497
+ * <p>The number of records that failed validation.</p>
498
+ * @public
499
+ */
500
+ ValidationFailedRecords?: number | undefined;
501
+ /**
502
+ * <p>The number of records that couldn't be validated.</p>
503
+ * @public
504
+ */
505
+ ValidationSuspendedRecords?: number | undefined;
506
+ /**
507
+ * <p>The validation state of the table.</p>
508
+ * <p>This parameter can have the following values:</p>
509
+ * <ul>
510
+ * <li>
511
+ * <p>Not enabled – Validation isn't enabled for the table in the migration
512
+ * task.</p>
513
+ * </li>
514
+ * <li>
515
+ * <p>Pending records – Some records in the table are waiting for
516
+ * validation.</p>
517
+ * </li>
518
+ * <li>
519
+ * <p>Mismatched records – Some records in the table don't match between the
520
+ * source and target.</p>
521
+ * </li>
522
+ * <li>
523
+ * <p>Suspended records – Some records in the table couldn't be
524
+ * validated.</p>
525
+ * </li>
526
+ * <li>
527
+ * <p>No primary key –The table couldn't be validated because it has no
528
+ * primary key.</p>
529
+ * </li>
530
+ * <li>
531
+ * <p>Table error – The table wasn't validated because it's in an error
532
+ * state and some data wasn't migrated.</p>
533
+ * </li>
534
+ * <li>
535
+ * <p>Validated – All rows in the table are validated. If the table is updated,
536
+ * the status can change from Validated.</p>
537
+ * </li>
538
+ * <li>
539
+ * <p>Error – The table couldn't be validated because of an unexpected
540
+ * error.</p>
541
+ * </li>
542
+ * <li>
543
+ * <p>Pending validation – The table is waiting validation.</p>
544
+ * </li>
545
+ * <li>
546
+ * <p>Preparing table – Preparing the table enabled in the migration task for
547
+ * validation.</p>
548
+ * </li>
549
+ * <li>
550
+ * <p>Pending revalidation – All rows in the table are pending validation after
551
+ * the table was updated.</p>
552
+ * </li>
553
+ * </ul>
554
+ * @public
555
+ */
556
+ ValidationState?: string | undefined;
557
+ /**
558
+ * <p>Additional details about the state of validation.</p>
559
+ * @public
560
+ */
561
+ ValidationStateDetails?: string | undefined;
562
+ /**
563
+ * <p>Records the current state of table resynchronization in the migration task.</p>
564
+ * <p>This parameter can have the following values:</p>
565
+ * <ul>
566
+ * <li>
567
+ * <p>Not enabled – Resync is not enabled for the table in the migration task.</p>
568
+ * </li>
569
+ * <li>
570
+ * <p>Pending – The tables are waiting for resync.</p>
571
+ * </li>
572
+ * <li>
573
+ * <p>In progress – Resync in progress for some records in the table.</p>
574
+ * </li>
575
+ * <li>
576
+ * <p>No primary key – The table could not be resynced because it has no primary key.</p>
577
+ * </li>
578
+ * <li>
579
+ * <p>Last resync at: <code>date/time</code> – Resync session is finished at time. Time provided in UTC format.</p>
580
+ * </li>
581
+ * </ul>
582
+ * @public
583
+ */
584
+ ResyncState?: string | undefined;
585
+ /**
586
+ * <p>Records the total number of mismatched data rows where the system attempted to apply
587
+ * fixes in the target database.</p>
588
+ * @public
589
+ */
590
+ ResyncRowsAttempted?: number | undefined;
591
+ /**
592
+ * <p>Records the total number of mismatched data rows where fixes were successfully applied in the target database.</p>
593
+ * @public
594
+ */
595
+ ResyncRowsSucceeded?: number | undefined;
596
+ /**
597
+ * <p>Records the total number of mismatched data rows where fix attempts failed in the target
598
+ * database.</p>
599
+ * @public
600
+ */
601
+ ResyncRowsFailed?: number | undefined;
602
+ /**
603
+ * <p>Calculates the percentage of failed validations that were successfully resynced to the system.</p>
604
+ * @public
605
+ */
606
+ ResyncProgress?: number | undefined;
607
+ }
608
+ /**
609
+ * <p></p>
610
+ * @public
611
+ */
612
+ export interface DescribeReplicationTableStatisticsResponse {
613
+ /**
614
+ * <p>The Amazon Resource Name of the replication config.</p>
615
+ * @public
616
+ */
617
+ ReplicationConfigArn?: string | undefined;
618
+ /**
619
+ * <p>An optional pagination token provided by a previous request. If this parameter is
620
+ * specified, the response includes only records beyond the marker, up to the value specified
621
+ * by <code>MaxRecords</code>. </p>
622
+ * @public
623
+ */
624
+ Marker?: string | undefined;
625
+ /**
626
+ * <p>Returns table statistics on the replication, including table name, rows inserted, rows
627
+ * updated, and rows deleted.</p>
628
+ * @public
629
+ */
630
+ ReplicationTableStatistics?: TableStatistics[] | undefined;
631
+ }
632
+ /**
633
+ * <p></p>
634
+ * @public
635
+ */
636
+ export interface DescribeReplicationTaskAssessmentResultsMessage {
637
+ /**
638
+ * <p>The Amazon Resource Name (ARN) string that uniquely identifies the task. When this input
639
+ * parameter is specified, the API returns only one result and ignore the values of the
640
+ * <code>MaxRecords</code> and <code>Marker</code> parameters. </p>
641
+ * @public
642
+ */
643
+ ReplicationTaskArn?: string | undefined;
644
+ /**
645
+ * <p> The maximum number of records to include in the response. If more records exist than
646
+ * the specified <code>MaxRecords</code> value, a pagination token called a marker is included
647
+ * in the response so that the remaining results can be retrieved. </p>
648
+ * <p>Default: 100</p>
649
+ * <p>Constraints: Minimum 20, maximum 100.</p>
650
+ * @public
651
+ */
652
+ MaxRecords?: number | undefined;
653
+ /**
654
+ * <p> An optional pagination token provided by a previous request. If this parameter is
655
+ * specified, the response includes only records beyond the marker, up to the value specified
656
+ * by <code>MaxRecords</code>. </p>
657
+ * @public
658
+ */
659
+ Marker?: string | undefined;
660
+ }
661
+ /**
662
+ * <p> The task assessment report in JSON format. </p>
663
+ * @public
664
+ */
665
+ export interface ReplicationTaskAssessmentResult {
666
+ /**
667
+ * <p> The replication task identifier of the task on which the task assessment was run.
668
+ * </p>
669
+ * @public
670
+ */
671
+ ReplicationTaskIdentifier?: string | undefined;
672
+ /**
673
+ * <p>The Amazon Resource Name (ARN) of the replication task. </p>
674
+ * @public
675
+ */
676
+ ReplicationTaskArn?: string | undefined;
677
+ /**
678
+ * <p>The date the task assessment was completed. </p>
679
+ * @public
680
+ */
681
+ ReplicationTaskLastAssessmentDate?: Date | undefined;
682
+ /**
683
+ * <p> The status of the task assessment. </p>
684
+ * @public
685
+ */
686
+ AssessmentStatus?: string | undefined;
687
+ /**
688
+ * <p> The file containing the results of the task assessment. </p>
689
+ * @public
690
+ */
691
+ AssessmentResultsFile?: string | undefined;
692
+ /**
693
+ * <p> The task assessment results in JSON format. </p>
694
+ * <p>The response object only contains this field if you provide <a>DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn</a> in the
695
+ * request.</p>
696
+ * @public
697
+ */
698
+ AssessmentResults?: string | undefined;
699
+ /**
700
+ * <p> The URL of the S3 object containing the task assessment results. </p>
701
+ * <p>The response object only contains this field if you provide <a>DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn</a> in the
702
+ * request.</p>
703
+ * @public
704
+ */
705
+ S3ObjectUrl?: string | undefined;
706
+ }
707
+ /**
708
+ * <p></p>
709
+ * @public
710
+ */
711
+ export interface DescribeReplicationTaskAssessmentResultsResponse {
712
+ /**
713
+ * <p> An optional pagination token provided by a previous request. If this parameter is
714
+ * specified, the response includes only records beyond the marker, up to the value specified
715
+ * by <code>MaxRecords</code>. </p>
716
+ * @public
717
+ */
718
+ Marker?: string | undefined;
719
+ /**
720
+ * <p>- The Amazon S3 bucket where the task assessment report is located. </p>
721
+ * @public
722
+ */
723
+ BucketName?: string | undefined;
724
+ /**
725
+ * <p> The task assessment report. </p>
726
+ * @public
727
+ */
728
+ ReplicationTaskAssessmentResults?: ReplicationTaskAssessmentResult[] | undefined;
729
+ }
4
730
  /**
5
731
  * <p></p>
6
732
  * @public
@@ -395,6 +1121,31 @@ export interface ExportMetadataModelAssessmentResponse {
395
1121
  */
396
1122
  CsvReport?: ExportMetadataModelAssessmentResultEntry | undefined;
397
1123
  }
1124
+ /**
1125
+ * @public
1126
+ */
1127
+ export interface GetTargetSelectionRulesMessage {
1128
+ /**
1129
+ * <p>The migration project name or Amazon Resource Name (ARN).</p>
1130
+ * @public
1131
+ */
1132
+ MigrationProjectIdentifier: string | undefined;
1133
+ /**
1134
+ * <p>The JSON string representing the source selection rules for conversion. Selection rules must contain only supported metadata model types. For more information, see Selection Rules in the DMS User Guide.</p>
1135
+ * @public
1136
+ */
1137
+ SelectionRules: string | undefined;
1138
+ }
1139
+ /**
1140
+ * @public
1141
+ */
1142
+ export interface GetTargetSelectionRulesResponse {
1143
+ /**
1144
+ * <p>The JSON string representing the counterpart selection rules in the target.</p>
1145
+ * @public
1146
+ */
1147
+ TargetSelectionRules?: string | undefined;
1148
+ }
398
1149
  /**
399
1150
  * @public
400
1151
  */
@@ -1781,17 +2532,84 @@ export interface StartMetadataModelConversionResponse {
1781
2532
  RequestIdentifier?: string | undefined;
1782
2533
  }
1783
2534
  /**
2535
+ * <p>The properties of the statement for metadata model creation.</p>
1784
2536
  * @public
1785
- * @enum
1786
2537
  */
1787
- export declare const OriginTypeValue: {
1788
- readonly SOURCE: "SOURCE";
1789
- readonly TARGET: "TARGET";
1790
- };
2538
+ export interface StatementProperties {
2539
+ /**
2540
+ * <p>The SQL text of the statement.</p>
2541
+ * @public
2542
+ */
2543
+ Definition: string | undefined;
2544
+ }
2545
+ /**
2546
+ * <p>The properties of metadata model in JSON format. This object is a Union. Only one member of this object can be specified or returned.</p>
2547
+ * @public
2548
+ */
2549
+ export type MetadataModelProperties = MetadataModelProperties.StatementPropertiesMember | MetadataModelProperties.$UnknownMember;
2550
+ /**
2551
+ * @public
2552
+ */
2553
+ export declare namespace MetadataModelProperties {
2554
+ /**
2555
+ * <p>The properties of the statement.</p>
2556
+ * @public
2557
+ */
2558
+ interface StatementPropertiesMember {
2559
+ StatementProperties: StatementProperties;
2560
+ $unknown?: never;
2561
+ }
2562
+ /**
2563
+ * @public
2564
+ */
2565
+ interface $UnknownMember {
2566
+ StatementProperties?: never;
2567
+ $unknown: [string, any];
2568
+ }
2569
+ /**
2570
+ * @deprecated unused in schema-serde mode.
2571
+ *
2572
+ */
2573
+ interface Visitor<T> {
2574
+ StatementProperties: (value: StatementProperties) => T;
2575
+ _: (name: string, value: any) => T;
2576
+ }
2577
+ }
2578
+ /**
2579
+ * @public
2580
+ */
2581
+ export interface StartMetadataModelCreationMessage {
2582
+ /**
2583
+ * <p>The migration project name or Amazon Resource Name (ARN).</p>
2584
+ * @public
2585
+ */
2586
+ MigrationProjectIdentifier: string | undefined;
2587
+ /**
2588
+ * <p>The JSON string that specifies the location where the metadata model will be created. Selection rules must specify a single schema. For more information, see Selection Rules in the DMS User Guide.</p>
2589
+ * @public
2590
+ */
2591
+ SelectionRules: string | undefined;
2592
+ /**
2593
+ * <p>The name of the metadata model.</p>
2594
+ * @public
2595
+ */
2596
+ MetadataModelName: string | undefined;
2597
+ /**
2598
+ * <p>The properties of metadata model in JSON format. This object is a Union. Only one member of this object can be specified or returned.</p>
2599
+ * @public
2600
+ */
2601
+ Properties: MetadataModelProperties | undefined;
2602
+ }
1791
2603
  /**
1792
2604
  * @public
1793
2605
  */
1794
- export type OriginTypeValue = (typeof OriginTypeValue)[keyof typeof OriginTypeValue];
2606
+ export interface StartMetadataModelCreationResponse {
2607
+ /**
2608
+ * <p>The identifier for the metadata model creation operation.</p>
2609
+ * @public
2610
+ */
2611
+ RequestIdentifier?: string | undefined;
2612
+ }
1795
2613
  /**
1796
2614
  * @public
1797
2615
  */