@aws-sdk/client-database-migration-service 3.449.0 → 3.450.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/README.md CHANGED
@@ -175,7 +175,7 @@ try {
175
175
  const data = await client.send(command);
176
176
  // process data.
177
177
  } catch (error) {
178
- const { requestId, cfId, extendedRequestId } = error.$$metadata;
178
+ const { requestId, cfId, extendedRequestId } = error.$metadata;
179
179
  console.log({ requestId, cfId, extendedRequestId });
180
180
  /**
181
181
  * The keys within exceptions are also parsed.
@@ -5632,6 +5632,7 @@ const de_Replication = (output, context) => {
5632
5632
  ReplicationConfigArn: smithy_client_1.expectString,
5633
5633
  ReplicationConfigIdentifier: smithy_client_1.expectString,
5634
5634
  ReplicationCreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
5635
+ ReplicationDeprovisionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
5635
5636
  ReplicationLastStopTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
5636
5637
  ReplicationStats: (_) => de_ReplicationStats(_, context),
5637
5638
  ReplicationType: smithy_client_1.expectString,
@@ -5413,6 +5413,7 @@ const de_Replication = (output, context) => {
5413
5413
  ReplicationConfigArn: __expectString,
5414
5414
  ReplicationConfigIdentifier: __expectString,
5415
5415
  ReplicationCreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5416
+ ReplicationDeprovisionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5416
5417
  ReplicationLastStopTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5417
5418
  ReplicationStats: (_) => de_ReplicationStats(_, context),
5418
5419
  ReplicationType: __expectString,
@@ -251,6 +251,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
251
251
  * Username: "STRING_VALUE",
252
252
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
253
253
  * SecretsManagerSecretId: "STRING_VALUE",
254
+ * ExecuteTimeout: Number("int"),
254
255
  * },
255
256
  * OracleSettings: { // OracleSettings
256
257
  * AddSupplementalLogging: true || false,
@@ -338,6 +339,10 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
338
339
  * Username: "STRING_VALUE",
339
340
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
340
341
  * SecretsManagerSecretId: "STRING_VALUE",
342
+ * LoadTimeout: Number("int"),
343
+ * WriteBufferSize: Number("int"),
344
+ * MaxFileSize: Number("int"),
345
+ * KeepCsvFiles: true || false,
341
346
  * },
342
347
  * ResourceIdentifier: "STRING_VALUE",
343
348
  * DocDbSettings: { // DocDbSettings
@@ -601,6 +606,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
601
606
  * // Username: "STRING_VALUE",
602
607
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
603
608
  * // SecretsManagerSecretId: "STRING_VALUE",
609
+ * // ExecuteTimeout: Number("int"),
604
610
  * // },
605
611
  * // OracleSettings: { // OracleSettings
606
612
  * // AddSupplementalLogging: true || false,
@@ -688,6 +694,10 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
688
694
  * // Username: "STRING_VALUE",
689
695
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
690
696
  * // SecretsManagerSecretId: "STRING_VALUE",
697
+ * // LoadTimeout: Number("int"),
698
+ * // WriteBufferSize: Number("int"),
699
+ * // MaxFileSize: Number("int"),
700
+ * // KeepCsvFiles: true || false,
691
701
  * // },
692
702
  * // DocDbSettings: { // DocDbSettings
693
703
  * // Username: "STRING_VALUE",
@@ -251,6 +251,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
251
251
  * // Username: "STRING_VALUE",
252
252
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
253
253
  * // SecretsManagerSecretId: "STRING_VALUE",
254
+ * // ExecuteTimeout: Number("int"),
254
255
  * // },
255
256
  * // OracleSettings: { // OracleSettings
256
257
  * // AddSupplementalLogging: true || false,
@@ -338,6 +339,10 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
338
339
  * // Username: "STRING_VALUE",
339
340
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
340
341
  * // SecretsManagerSecretId: "STRING_VALUE",
342
+ * // LoadTimeout: Number("int"),
343
+ * // WriteBufferSize: Number("int"),
344
+ * // MaxFileSize: Number("int"),
345
+ * // KeepCsvFiles: true || false,
341
346
  * // },
342
347
  * // DocDbSettings: { // DocDbSettings
343
348
  * // Username: "STRING_VALUE",
@@ -257,6 +257,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
257
257
  * // Username: "STRING_VALUE",
258
258
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
259
259
  * // SecretsManagerSecretId: "STRING_VALUE",
260
+ * // ExecuteTimeout: Number("int"),
260
261
  * // },
261
262
  * // OracleSettings: { // OracleSettings
262
263
  * // AddSupplementalLogging: true || false,
@@ -344,6 +345,10 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
344
345
  * // Username: "STRING_VALUE",
345
346
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
346
347
  * // SecretsManagerSecretId: "STRING_VALUE",
348
+ * // LoadTimeout: Number("int"),
349
+ * // WriteBufferSize: Number("int"),
350
+ * // MaxFileSize: Number("int"),
351
+ * // KeepCsvFiles: true || false,
347
352
  * // },
348
353
  * // DocDbSettings: { // DocDbSettings
349
354
  * // Username: "STRING_VALUE",
@@ -88,6 +88,7 @@ export interface DescribeReplicationsCommandOutput extends DescribeReplicationsR
88
88
  * // ReplicationCreateTime: new Date("TIMESTAMP"),
89
89
  * // ReplicationUpdateTime: new Date("TIMESTAMP"),
90
90
  * // ReplicationLastStopTime: new Date("TIMESTAMP"),
91
+ * // ReplicationDeprovisionTime: new Date("TIMESTAMP"),
91
92
  * // },
92
93
  * // ],
93
94
  * // };
@@ -244,6 +244,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
244
244
  * Username: "STRING_VALUE",
245
245
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
246
246
  * SecretsManagerSecretId: "STRING_VALUE",
247
+ * ExecuteTimeout: Number("int"),
247
248
  * },
248
249
  * OracleSettings: { // OracleSettings
249
250
  * AddSupplementalLogging: true || false,
@@ -331,6 +332,10 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
331
332
  * Username: "STRING_VALUE",
332
333
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
333
334
  * SecretsManagerSecretId: "STRING_VALUE",
335
+ * LoadTimeout: Number("int"),
336
+ * WriteBufferSize: Number("int"),
337
+ * MaxFileSize: Number("int"),
338
+ * KeepCsvFiles: true || false,
334
339
  * },
335
340
  * DocDbSettings: { // DocDbSettings
336
341
  * Username: "STRING_VALUE",
@@ -594,6 +599,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
594
599
  * // Username: "STRING_VALUE",
595
600
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
596
601
  * // SecretsManagerSecretId: "STRING_VALUE",
602
+ * // ExecuteTimeout: Number("int"),
597
603
  * // },
598
604
  * // OracleSettings: { // OracleSettings
599
605
  * // AddSupplementalLogging: true || false,
@@ -681,6 +687,10 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
681
687
  * // Username: "STRING_VALUE",
682
688
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
683
689
  * // SecretsManagerSecretId: "STRING_VALUE",
690
+ * // LoadTimeout: Number("int"),
691
+ * // WriteBufferSize: Number("int"),
692
+ * // MaxFileSize: Number("int"),
693
+ * // KeepCsvFiles: true || false,
684
694
  * // },
685
695
  * // DocDbSettings: { // DocDbSettings
686
696
  * // Username: "STRING_VALUE",
@@ -83,6 +83,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
83
83
  * // ReplicationCreateTime: new Date("TIMESTAMP"),
84
84
  * // ReplicationUpdateTime: new Date("TIMESTAMP"),
85
85
  * // ReplicationLastStopTime: new Date("TIMESTAMP"),
86
+ * // ReplicationDeprovisionTime: new Date("TIMESTAMP"),
86
87
  * // },
87
88
  * // };
88
89
  *
@@ -77,6 +77,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
77
77
  * // ReplicationCreateTime: new Date("TIMESTAMP"),
78
78
  * // ReplicationUpdateTime: new Date("TIMESTAMP"),
79
79
  * // ReplicationLastStopTime: new Date("TIMESTAMP"),
80
+ * // ReplicationDeprovisionTime: new Date("TIMESTAMP"),
80
81
  * // },
81
82
  * // };
82
83
  *
@@ -990,8 +990,8 @@ export interface CreateDataProviderMessage {
990
990
  /**
991
991
  * @public
992
992
  * <p>The type of database engine for the data provider. Valid values include <code>"aurora"</code>,
993
- * <code>"aurora_postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
994
- * and <code>"sqlserver"</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
993
+ * <code>"aurora-postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
994
+ * <code>"sqlserver"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
995
995
  */
996
996
  Engine: string | undefined;
997
997
  /**
@@ -1035,8 +1035,8 @@ export interface DataProvider {
1035
1035
  /**
1036
1036
  * @public
1037
1037
  * <p>The type of database engine for the data provider. Valid values include <code>"aurora"</code>,
1038
- * <code>"aurora_postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
1039
- * and <code>"sqlserver"</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
1038
+ * <code>"aurora-postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
1039
+ * <code>"sqlserver"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
1040
1040
  */
1041
1041
  Engine?: string;
1042
1042
  /**
@@ -1487,6 +1487,30 @@ export interface IBMDb2Settings {
1487
1487
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the Db2 LUW endpoint connection details.</p>
1488
1488
  */
1489
1489
  SecretsManagerSecretId?: string;
1490
+ /**
1491
+ * @public
1492
+ * <p>The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target.
1493
+ * The default value is 1200 (20 minutes).</p>
1494
+ */
1495
+ LoadTimeout?: number;
1496
+ /**
1497
+ * @public
1498
+ * <p>The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk
1499
+ * on the DMS replication instance. The default value is 1024 (1 MB).</p>
1500
+ */
1501
+ WriteBufferSize?: number;
1502
+ /**
1503
+ * @public
1504
+ * <p>Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.</p>
1505
+ */
1506
+ MaxFileSize?: number;
1507
+ /**
1508
+ * @public
1509
+ * <p>If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these
1510
+ * files for analysis and troubleshooting.</p>
1511
+ * <p>The default value is false. </p>
1512
+ */
1513
+ KeepCsvFiles?: boolean;
1490
1514
  }
1491
1515
  /**
1492
1516
  * @public
@@ -2196,6 +2220,11 @@ export interface MySQLSettings {
2196
2220
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the MySQL endpoint connection details.</p>
2197
2221
  */
2198
2222
  SecretsManagerSecretId?: string;
2223
+ /**
2224
+ * @public
2225
+ * <p>Sets the client statement timeout (in seconds) for a MySQL source endpoint.</p>
2226
+ */
2227
+ ExecuteTimeout?: number;
2199
2228
  }
2200
2229
  /**
2201
2230
  * @public
@@ -4335,7 +4364,7 @@ export interface Endpoint {
4335
4364
  * <p>The database engine name. Valid values, depending on the EndpointType, include
4336
4365
  * <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
4337
4366
  * <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>,
4338
- * <code>"redshift"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>,
4367
+ * <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>,
4339
4368
  * <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>,
4340
4369
  * <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>,
4341
4370
  * <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>,
@@ -6057,7 +6086,7 @@ export interface CreateReplicationSubnetGroupMessage {
6057
6086
  ReplicationSubnetGroupDescription: string | undefined;
6058
6087
  /**
6059
6088
  * @public
6060
- * <p>One or more subnet IDs to be assigned to the subnet group.</p>
6089
+ * <p>Two or more subnet IDs to be assigned to the subnet group.</p>
6061
6090
  */
6062
6091
  SubnetIds: string[] | undefined;
6063
6092
  /**
@@ -7259,6 +7288,7 @@ export interface DescribeDataProvidersMessage {
7259
7288
  /**
7260
7289
  * @public
7261
7290
  * <p>Filters applied to the data providers described in the form of key-value pairs.</p>
7291
+ * <p>Valid filter names: data-provider-identifier</p>
7262
7292
  */
7263
7293
  Filters?: Filter[];
7264
7294
  /**
@@ -10116,6 +10146,11 @@ export interface Replication {
10116
10146
  * <p>The timestamp when replication was last stopped.</p>
10117
10147
  */
10118
10148
  ReplicationLastStopTime?: Date;
10149
+ /**
10150
+ * @public
10151
+ * <p>The timestamp when DMS will deprovision the replication.</p>
10152
+ */
10153
+ ReplicationDeprovisionTime?: Date;
10119
10154
  }
10120
10155
  /**
10121
10156
  * @public
@@ -25,8 +25,8 @@ export interface ModifyDataProviderMessage {
25
25
  /**
26
26
  * @public
27
27
  * <p>The type of database engine for the data provider. Valid values include <code>"aurora"</code>,
28
- * <code>"aurora_postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
29
- * and <code>"sqlserver"</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
28
+ * <code>"aurora-postgresql"</code>, <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>,
29
+ * <code>"sqlserver"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>"aurora"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>
30
30
  */
31
31
  Engine?: string;
32
32
  /**
@@ -408,6 +408,10 @@ export interface IBMDb2Settings {
408
408
  Username?: string;
409
409
  SecretsManagerAccessRoleArn?: string;
410
410
  SecretsManagerSecretId?: string;
411
+ LoadTimeout?: number;
412
+ WriteBufferSize?: number;
413
+ MaxFileSize?: number;
414
+ KeepCsvFiles?: boolean;
411
415
  }
412
416
  export declare const MessageFormatValue: {
413
417
  readonly JSON: "json";
@@ -536,6 +540,7 @@ export interface MySQLSettings {
536
540
  Username?: string;
537
541
  SecretsManagerAccessRoleArn?: string;
538
542
  SecretsManagerSecretId?: string;
543
+ ExecuteTimeout?: number;
539
544
  }
540
545
  export interface NeptuneSettings {
541
546
  ServiceAccessRoleArn?: string;
@@ -2011,6 +2016,7 @@ export interface Replication {
2011
2016
  ReplicationCreateTime?: Date;
2012
2017
  ReplicationUpdateTime?: Date;
2013
2018
  ReplicationLastStopTime?: Date;
2019
+ ReplicationDeprovisionTime?: Date;
2014
2020
  }
2015
2021
  export interface DescribeReplicationsResponse {
2016
2022
  Marker?: string;
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.449.0",
4
+ "version": "3.450.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.449.0",
24
+ "@aws-sdk/client-sts": "3.450.0",
25
25
  "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.449.0",
26
+ "@aws-sdk/credential-provider-node": "3.450.0",
27
27
  "@aws-sdk/middleware-host-header": "3.449.0",
28
28
  "@aws-sdk/middleware-logger": "3.449.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.449.0",