@aws-sdk/client-database-migration-service 3.675.0 → 3.676.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.
package/dist-cjs/index.js CHANGED
@@ -3911,6 +3911,7 @@ var de_CreateReplicationTaskResponse = /* @__PURE__ */ __name((output, context)
3911
3911
  var de_DataMigration = /* @__PURE__ */ __name((output, context) => {
3912
3912
  return (0, import_smithy_client.take)(output, {
3913
3913
  DataMigrationArn: import_smithy_client.expectString,
3914
+ DataMigrationCidrBlocks: import_smithy_client._json,
3914
3915
  DataMigrationCreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3915
3916
  DataMigrationEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3916
3917
  DataMigrationName: import_smithy_client.expectString,
@@ -4506,6 +4507,7 @@ var de_ReplicationTaskAssessmentRun = /* @__PURE__ */ __name((output, context) =
4506
4507
  return (0, import_smithy_client.take)(output, {
4507
4508
  AssessmentProgress: import_smithy_client._json,
4508
4509
  AssessmentRunName: import_smithy_client.expectString,
4510
+ IsLatestTaskAssessmentRun: import_smithy_client.expectBoolean,
4509
4511
  LastFailureMessage: import_smithy_client.expectString,
4510
4512
  ReplicationTaskArn: import_smithy_client.expectString,
4511
4513
  ReplicationTaskAssessmentRunArn: import_smithy_client.expectString,
@@ -4514,6 +4516,7 @@ var de_ReplicationTaskAssessmentRun = /* @__PURE__ */ __name((output, context) =
4514
4516
  ResultKmsKeyArn: import_smithy_client.expectString,
4515
4517
  ResultLocationBucket: import_smithy_client.expectString,
4516
4518
  ResultLocationFolder: import_smithy_client.expectString,
4519
+ ResultStatistic: import_smithy_client._json,
4517
4520
  ServiceAccessRoleArn: import_smithy_client.expectString,
4518
4521
  Status: import_smithy_client.expectString
4519
4522
  });
@@ -2632,6 +2632,7 @@ const de_CreateReplicationTaskResponse = (output, context) => {
2632
2632
  const de_DataMigration = (output, context) => {
2633
2633
  return take(output, {
2634
2634
  DataMigrationArn: __expectString,
2635
+ DataMigrationCidrBlocks: _json,
2635
2636
  DataMigrationCreateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2636
2637
  DataMigrationEndTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2637
2638
  DataMigrationName: __expectString,
@@ -3257,6 +3258,7 @@ const de_ReplicationTaskAssessmentRun = (output, context) => {
3257
3258
  return take(output, {
3258
3259
  AssessmentProgress: _json,
3259
3260
  AssessmentRunName: __expectString,
3261
+ IsLatestTaskAssessmentRun: __expectBoolean,
3260
3262
  LastFailureMessage: __expectString,
3261
3263
  ReplicationTaskArn: __expectString,
3262
3264
  ReplicationTaskAssessmentRunArn: __expectString,
@@ -3265,6 +3267,7 @@ const de_ReplicationTaskAssessmentRun = (output, context) => {
3265
3267
  ResultKmsKeyArn: __expectString,
3266
3268
  ResultLocationBucket: __expectString,
3267
3269
  ResultLocationFolder: __expectString,
3270
+ ResultStatistic: _json,
3268
3271
  ServiceAccessRoleArn: __expectString,
3269
3272
  Status: __expectString,
3270
3273
  });
@@ -59,6 +59,14 @@ declare const CancelReplicationTaskAssessmentRunCommand_base: {
59
59
  * // ResultEncryptionMode: "STRING_VALUE",
60
60
  * // ResultKmsKeyArn: "STRING_VALUE",
61
61
  * // AssessmentRunName: "STRING_VALUE",
62
+ * // IsLatestTaskAssessmentRun: true || false,
63
+ * // ResultStatistic: { // ReplicationTaskAssessmentRunResultStatistic
64
+ * // Passed: Number("int"),
65
+ * // Failed: Number("int"),
66
+ * // Error: Number("int"),
67
+ * // Warning: Number("int"),
68
+ * // Cancelled: Number("int"),
69
+ * // },
62
70
  * // },
63
71
  * // };
64
72
  *
@@ -98,6 +98,9 @@ declare const CreateDataMigrationCommand_base: {
98
98
  * // PublicIpAddresses: [ // PublicIpAddressList
99
99
  * // "STRING_VALUE",
100
100
  * // ],
101
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
102
+ * // "STRING_VALUE",
103
+ * // ],
101
104
  * // LastFailureMessage: "STRING_VALUE",
102
105
  * // StopReason: "STRING_VALUE",
103
106
  * // },
@@ -77,6 +77,9 @@ declare const DeleteDataMigrationCommand_base: {
77
77
  * // PublicIpAddresses: [ // PublicIpAddressList
78
78
  * // "STRING_VALUE",
79
79
  * // ],
80
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
81
+ * // "STRING_VALUE",
82
+ * // ],
80
83
  * // LastFailureMessage: "STRING_VALUE",
81
84
  * // StopReason: "STRING_VALUE",
82
85
  * // },
@@ -59,6 +59,14 @@ declare const DeleteReplicationTaskAssessmentRunCommand_base: {
59
59
  * // ResultEncryptionMode: "STRING_VALUE",
60
60
  * // ResultKmsKeyArn: "STRING_VALUE",
61
61
  * // AssessmentRunName: "STRING_VALUE",
62
+ * // IsLatestTaskAssessmentRun: true || false,
63
+ * // ResultStatistic: { // ReplicationTaskAssessmentRunResultStatistic
64
+ * // Passed: Number("int"),
65
+ * // Failed: Number("int"),
66
+ * // Error: Number("int"),
67
+ * // Warning: Number("int"),
68
+ * // Cancelled: Number("int"),
69
+ * // },
62
70
  * // },
63
71
  * // };
64
72
  *
@@ -89,6 +89,9 @@ declare const DescribeDataMigrationsCommand_base: {
89
89
  * // PublicIpAddresses: [ // PublicIpAddressList
90
90
  * // "STRING_VALUE",
91
91
  * // ],
92
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
93
+ * // "STRING_VALUE",
94
+ * // ],
92
95
  * // LastFailureMessage: "STRING_VALUE",
93
96
  * // StopReason: "STRING_VALUE",
94
97
  * // },
@@ -75,6 +75,14 @@ declare const DescribeReplicationTaskAssessmentRunsCommand_base: {
75
75
  * // ResultEncryptionMode: "STRING_VALUE",
76
76
  * // ResultKmsKeyArn: "STRING_VALUE",
77
77
  * // AssessmentRunName: "STRING_VALUE",
78
+ * // IsLatestTaskAssessmentRun: true || false,
79
+ * // ResultStatistic: { // ReplicationTaskAssessmentRunResultStatistic
80
+ * // Passed: Number("int"),
81
+ * // Failed: Number("int"),
82
+ * // Error: Number("int"),
83
+ * // Warning: Number("int"),
84
+ * // Cancelled: Number("int"),
85
+ * // },
78
86
  * // },
79
87
  * // ],
80
88
  * // };
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
- import { DescribeTableStatisticsMessage, DescribeTableStatisticsResponse } from "../models/models_0";
4
+ import { DescribeTableStatisticsMessage } from "../models/models_0";
5
+ import { DescribeTableStatisticsResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -91,6 +91,9 @@ declare const ModifyDataMigrationCommand_base: {
91
91
  * // PublicIpAddresses: [ // PublicIpAddressList
92
92
  * // "STRING_VALUE",
93
93
  * // ],
94
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
95
+ * // "STRING_VALUE",
96
+ * // ],
94
97
  * // LastFailureMessage: "STRING_VALUE",
95
98
  * // StopReason: "STRING_VALUE",
96
99
  * // },
@@ -78,6 +78,9 @@ declare const StartDataMigrationCommand_base: {
78
78
  * // PublicIpAddresses: [ // PublicIpAddressList
79
79
  * // "STRING_VALUE",
80
80
  * // ],
81
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
82
+ * // "STRING_VALUE",
83
+ * // ],
81
84
  * // LastFailureMessage: "STRING_VALUE",
82
85
  * // StopReason: "STRING_VALUE",
83
86
  * // },
@@ -54,6 +54,13 @@ declare const StartReplicationTaskAssessmentRunCommand_base: {
54
54
  * Exclude: [ // ExcludeTestList
55
55
  * "STRING_VALUE",
56
56
  * ],
57
+ * Tags: [ // TagList
58
+ * { // Tag
59
+ * Key: "STRING_VALUE",
60
+ * Value: "STRING_VALUE",
61
+ * ResourceArn: "STRING_VALUE",
62
+ * },
63
+ * ],
57
64
  * };
58
65
  * const command = new StartReplicationTaskAssessmentRunCommand(input);
59
66
  * const response = await client.send(command);
@@ -74,6 +81,14 @@ declare const StartReplicationTaskAssessmentRunCommand_base: {
74
81
  * // ResultEncryptionMode: "STRING_VALUE",
75
82
  * // ResultKmsKeyArn: "STRING_VALUE",
76
83
  * // AssessmentRunName: "STRING_VALUE",
84
+ * // IsLatestTaskAssessmentRun: true || false,
85
+ * // ResultStatistic: { // ReplicationTaskAssessmentRunResultStatistic
86
+ * // Passed: Number("int"),
87
+ * // Failed: Number("int"),
88
+ * // Error: Number("int"),
89
+ * // Warning: Number("int"),
90
+ * // Cancelled: Number("int"),
91
+ * // },
77
92
  * // },
78
93
  * // };
79
94
  *
@@ -77,6 +77,9 @@ declare const StopDataMigrationCommand_base: {
77
77
  * // PublicIpAddresses: [ // PublicIpAddressList
78
78
  * // "STRING_VALUE",
79
79
  * // ],
80
+ * // DataMigrationCidrBlocks: [ // DataMigrationCidrBlock
81
+ * // "STRING_VALUE",
82
+ * // ],
80
83
  * // LastFailureMessage: "STRING_VALUE",
81
84
  * // StopReason: "STRING_VALUE",
82
85
  * // },
@@ -356,6 +356,39 @@ export interface ReplicationTaskAssessmentRunProgress {
356
356
  */
357
357
  IndividualAssessmentCompletedCount?: number;
358
358
  }
359
+ /**
360
+ * <p>The object containing the result statistics for a completed assessment run.</p>
361
+ * @public
362
+ */
363
+ export interface ReplicationTaskAssessmentRunResultStatistic {
364
+ /**
365
+ * <p>The number of individual assessments that successfully passed all checks in the assessment run.</p>
366
+ * @public
367
+ */
368
+ Passed?: number;
369
+ /**
370
+ * <p>The number of individual assessments that failed to meet the criteria defined in the assessment run.</p>
371
+ * @public
372
+ */
373
+ Failed?: number;
374
+ /**
375
+ * <p>The number of individual assessments that encountered a critical error and could not complete properly.</p>
376
+ * @public
377
+ */
378
+ Error?: number;
379
+ /**
380
+ * <p>Indicates that the recent completed AssessmentRun triggered a warning.</p>
381
+ * @public
382
+ */
383
+ Warning?: number;
384
+ /**
385
+ * <p>
386
+ * The number of individual assessments that were cancelled during the assessment run.
387
+ * </p>
388
+ * @public
389
+ */
390
+ Cancelled?: number;
391
+ }
359
392
  /**
360
393
  * <p>Provides information that describes a premigration assessment run that you have started
361
394
  * using the <code>StartReplicationTaskAssessmentRun</code> operation.</p>
@@ -480,6 +513,18 @@ export interface ReplicationTaskAssessmentRun {
480
513
  * @public
481
514
  */
482
515
  AssessmentRunName?: string;
516
+ /**
517
+ * <p>Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.</p>
518
+ * @public
519
+ */
520
+ IsLatestTaskAssessmentRun?: boolean;
521
+ /**
522
+ * <p>
523
+ * Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.
524
+ * </p>
525
+ * @public
526
+ */
527
+ ResultStatistic?: ReplicationTaskAssessmentRunResultStatistic;
483
528
  }
484
529
  /**
485
530
  * <p></p>
@@ -741,6 +786,11 @@ export interface DataMigration {
741
786
  * @public
742
787
  */
743
788
  PublicIpAddresses?: string[];
789
+ /**
790
+ * <p>The CIDR blocks of the endpoints for the data migration.</p>
791
+ * @public
792
+ */
793
+ DataMigrationCidrBlocks?: string[];
744
794
  /**
745
795
  * <p>Information about the data migration's most recent error or failure.</p>
746
796
  * @public
@@ -11171,29 +11221,6 @@ export interface DescribeTableStatisticsMessage {
11171
11221
  */
11172
11222
  Filters?: Filter[];
11173
11223
  }
11174
- /**
11175
- * <p></p>
11176
- * @public
11177
- */
11178
- export interface DescribeTableStatisticsResponse {
11179
- /**
11180
- * <p>The Amazon Resource Name (ARN) of the replication task.</p>
11181
- * @public
11182
- */
11183
- ReplicationTaskArn?: string;
11184
- /**
11185
- * <p>The table statistics.</p>
11186
- * @public
11187
- */
11188
- TableStatistics?: TableStatistics[];
11189
- /**
11190
- * <p> An optional pagination token provided by a previous request. If this parameter is
11191
- * specified, the response includes only records beyond the marker, up to the value specified
11192
- * by <code>MaxRecords</code>. </p>
11193
- * @public
11194
- */
11195
- Marker?: string;
11196
- }
11197
11224
  /**
11198
11225
  * @internal
11199
11226
  */
@@ -1,6 +1,29 @@
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, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, KinesisSettings, MicrosoftSQLServerSettings, MigrationProject, MigrationTypeValue, MongoDbSettings, MySQLSettings, NeptuneSettings, OracleSettings, PostgreSQLSettings, RecommendationSettings, RedisSettings, RedshiftSettings, RefreshSchemasStatus, Replication, ReplicationConfig, ReplicationEndpointTypeValue, ReplicationInstance, ReplicationSubnetGroup, ReplicationTask, ReplicationTaskAssessmentRun, S3Settings, SCApplicationAttributes, SourceDataSetting, SybaseSettings, Tag, TimestreamSettings } from "./models_0";
3
+ import { Certificate, ComputeConfig, Connection, DataMigration, DataProvider, DataProviderDescriptorDefinition, DataProviderSettings, DmsSslModeValue, DmsTransferSettings, DocDbSettings, DynamoDbSettings, ElasticsearchSettings, Endpoint, EventSubscription, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, 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, TimestreamSettings } from "./models_0";
4
+ /**
5
+ * <p></p>
6
+ * @public
7
+ */
8
+ export interface DescribeTableStatisticsResponse {
9
+ /**
10
+ * <p>The Amazon Resource Name (ARN) of the replication task.</p>
11
+ * @public
12
+ */
13
+ ReplicationTaskArn?: string;
14
+ /**
15
+ * <p>The table statistics.</p>
16
+ * @public
17
+ */
18
+ TableStatistics?: TableStatistics[];
19
+ /**
20
+ * <p> An optional pagination token provided by a previous request. If this parameter is
21
+ * specified, the response includes only records beyond the marker, up to the value specified
22
+ * by <code>MaxRecords</code>. </p>
23
+ * @public
24
+ */
25
+ Marker?: string;
26
+ }
4
27
  /**
5
28
  * @public
6
29
  * @enum
@@ -1827,6 +1850,11 @@ export interface StartReplicationTaskAssessmentRunMessage {
1827
1850
  * @public
1828
1851
  */
1829
1852
  Exclude?: string[];
1853
+ /**
1854
+ * <p>One or more tags to be assigned to the premigration assessment run that you want to start.</p>
1855
+ * @public
1856
+ */
1857
+ Tags?: Tag[];
1830
1858
  }
1831
1859
  /**
1832
1860
  * <p></p>
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DatabaseMigrationServiceClient";
8
- import {
9
- DescribeTableStatisticsMessage,
10
- DescribeTableStatisticsResponse,
11
- } from "../models/models_0";
8
+ import { DescribeTableStatisticsMessage } from "../models/models_0";
9
+ import { DescribeTableStatisticsResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeTableStatisticsCommandInput
@@ -80,6 +80,13 @@ export interface ReplicationTaskAssessmentRunProgress {
80
80
  IndividualAssessmentCount?: number;
81
81
  IndividualAssessmentCompletedCount?: number;
82
82
  }
83
+ export interface ReplicationTaskAssessmentRunResultStatistic {
84
+ Passed?: number;
85
+ Failed?: number;
86
+ Error?: number;
87
+ Warning?: number;
88
+ Cancelled?: number;
89
+ }
83
90
  export interface ReplicationTaskAssessmentRun {
84
91
  ReplicationTaskAssessmentRunArn?: string;
85
92
  ReplicationTaskArn?: string;
@@ -93,6 +100,8 @@ export interface ReplicationTaskAssessmentRun {
93
100
  ResultEncryptionMode?: string;
94
101
  ResultKmsKeyArn?: string;
95
102
  AssessmentRunName?: string;
103
+ IsLatestTaskAssessmentRun?: boolean;
104
+ ResultStatistic?: ReplicationTaskAssessmentRunResultStatistic;
96
105
  }
97
106
  export interface CancelReplicationTaskAssessmentRunResponse {
98
107
  ReplicationTaskAssessmentRun?: ReplicationTaskAssessmentRun;
@@ -151,6 +160,7 @@ export interface DataMigration {
151
160
  DataMigrationStatistics?: DataMigrationStatistics;
152
161
  DataMigrationStatus?: string;
153
162
  PublicIpAddresses?: string[];
163
+ DataMigrationCidrBlocks?: string[];
154
164
  LastFailureMessage?: string;
155
165
  StopReason?: string;
156
166
  }
@@ -2213,11 +2223,6 @@ export interface DescribeTableStatisticsMessage {
2213
2223
  Marker?: string;
2214
2224
  Filters?: Filter[];
2215
2225
  }
2216
- export interface DescribeTableStatisticsResponse {
2217
- ReplicationTaskArn?: string;
2218
- TableStatistics?: TableStatistics[];
2219
- Marker?: string;
2220
- }
2221
2226
  export declare const CreateDataMigrationMessageFilterSensitiveLog: (
2222
2227
  obj: CreateDataMigrationMessage
2223
2228
  ) => any;
@@ -43,9 +43,15 @@ import {
43
43
  SCApplicationAttributes,
44
44
  SourceDataSetting,
45
45
  SybaseSettings,
46
+ TableStatistics,
46
47
  Tag,
47
48
  TimestreamSettings,
48
49
  } from "./models_0";
50
+ export interface DescribeTableStatisticsResponse {
51
+ ReplicationTaskArn?: string;
52
+ TableStatistics?: TableStatistics[];
53
+ Marker?: string;
54
+ }
49
55
  export declare const AssessmentReportType: {
50
56
  readonly CSV: "csv";
51
57
  readonly PDF: "pdf";
@@ -436,6 +442,7 @@ export interface StartReplicationTaskAssessmentRunMessage {
436
442
  AssessmentRunName: string | undefined;
437
443
  IncludeOnly?: string[];
438
444
  Exclude?: string[];
445
+ Tags?: Tag[];
439
446
  }
440
447
  export interface StartReplicationTaskAssessmentRunResponse {
441
448
  ReplicationTaskAssessmentRun?: ReplicationTaskAssessmentRun;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-database-migration-service",
3
3
  "description": "AWS SDK for JavaScript Database Migration Service Client for Node.js, Browser and React Native",
4
- "version": "3.675.0",
4
+ "version": "3.676.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-database-migration-service",