@aws-sdk/client-database-migration-service 3.118.0 → 3.122.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.
@@ -581,6 +581,11 @@ export interface ElasticsearchSettings {
581
581
  * OpenSearch cluster.</p>
582
582
  */
583
583
  ErrorRetryDuration?: number;
584
+ /**
585
+ * <p>Set this option to <code>true</code> for DMS to migrate documentation using the documentation type <code>_doc</code>. OpenSearch and
586
+ * an Elasticsearch cluster only support the _doc documentation type in versions 7. x and later. The default value is <code>false</code>.</p>
587
+ */
588
+ UseNewMappingType?: boolean;
584
589
  }
585
590
  export declare namespace ElasticsearchSettings {
586
591
  /**
@@ -1092,6 +1097,11 @@ export interface MicrosoftSQLServerSettings {
1092
1097
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the SQL Server endpoint connection details.</p>
1093
1098
  */
1094
1099
  SecretsManagerSecretId?: string;
1100
+ /**
1101
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1102
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1103
+ */
1104
+ TrimSpaceInChar?: boolean;
1095
1105
  }
1096
1106
  export declare namespace MicrosoftSQLServerSettings {
1097
1107
  /**
@@ -1720,6 +1730,11 @@ export interface OracleSettings {
1720
1730
  * that contains the Oracle ASM connection details for the Oracle endpoint.</p>
1721
1731
  */
1722
1732
  SecretsManagerOracleAsmSecretId?: string;
1733
+ /**
1734
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1735
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1736
+ */
1737
+ TrimSpaceInChar?: boolean;
1723
1738
  }
1724
1739
  export declare namespace OracleSettings {
1725
1740
  /**
@@ -1862,6 +1877,11 @@ export interface PostgreSQLSettings {
1862
1877
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the PostgreSQL endpoint connection details.</p>
1863
1878
  */
1864
1879
  SecretsManagerSecretId?: string;
1880
+ /**
1881
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1882
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1883
+ */
1884
+ TrimSpaceInChar?: boolean;
1865
1885
  }
1866
1886
  export declare namespace PostgreSQLSettings {
1867
1887
  /**
@@ -2712,6 +2732,20 @@ export interface S3Settings {
2712
2732
  * </p>
2713
2733
  */
2714
2734
  DatePartitionTimezone?: string;
2735
+ /**
2736
+ * <p>Use the S3 target endpoint setting <code>AddTrailingPaddingCharacter</code> to add
2737
+ * padding on string data. The default value is <code>false</code>.</p>
2738
+ */
2739
+ AddTrailingPaddingCharacter?: boolean;
2740
+ /**
2741
+ * <p>To specify a bucket owner and prevent sniping, you can use the
2742
+ * <code>ExpectedBucketOwner</code> endpoint setting. </p>
2743
+ * <p>Example: <code>--s3-settings='{"ExpectedBucketOwner": "<i>AWS_Account_ID</i>"}'</code>
2744
+ * </p>
2745
+ * <p>When you make a request to test a connection or perform a migration, S3 checks the account
2746
+ * ID of the bucket owner against the specified parameter.</p>
2747
+ */
2748
+ ExpectedBucketOwner?: string;
2715
2749
  }
2716
2750
  export declare namespace S3Settings {
2717
2751
  /**
@@ -4488,24 +4522,68 @@ export interface ReplicationTask {
4488
4522
  * <ul>
4489
4523
  * <li>
4490
4524
  * <p>
4491
- * <code>"STOP_REASON_FULL_LOAD_COMPLETED"</code> – Full-load migration
4492
- * completed.</p>
4525
+ * <code>"Stop Reason NORMAL"</code>
4526
+ * </p>
4493
4527
  * </li>
4494
4528
  * <li>
4495
4529
  * <p>
4496
- * <code>"STOP_REASON_CACHED_CHANGES_APPLIED"</code> – Change data capture (CDC)
4497
- * load completed.</p>
4530
+ * <code>"Stop Reason RECOVERABLE_ERROR"</code>
4531
+ * </p>
4498
4532
  * </li>
4499
4533
  * <li>
4500
4534
  * <p>
4501
- * <code>"STOP_REASON_CACHED_CHANGES_NOT_APPLIED"</code> – In a
4502
- * full-load and CDC migration, the full load stopped as specified before starting the
4503
- * CDC migration.</p>
4535
+ * <code>"Stop Reason FATAL_ERROR"</code>
4536
+ * </p>
4504
4537
  * </li>
4505
4538
  * <li>
4506
4539
  * <p>
4507
- * <code>"STOP_REASON_SERVER_TIME"</code> – The migration stopped at the
4508
- * specified server time.</p>
4540
+ * <code>"Stop Reason FULL_LOAD_ONLY_FINISHED"</code>
4541
+ * </p>
4542
+ * </li>
4543
+ * <li>
4544
+ * <p>
4545
+ * <code>"Stop Reason STOPPED_AFTER_FULL_LOAD"</code> – Full load completed, with cached changes not applied</p>
4546
+ * </li>
4547
+ * <li>
4548
+ * <p>
4549
+ * <code>"Stop Reason STOPPED_AFTER_CACHED_EVENTS"</code> – Full load completed, with cached changes applied</p>
4550
+ * </li>
4551
+ * <li>
4552
+ * <p>
4553
+ * <code>"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"</code>
4554
+ * </p>
4555
+ * </li>
4556
+ * <li>
4557
+ * <p>
4558
+ * <code>"Stop Reason STOPPED_AFTER_DDL_APPLY"</code> – User-defined stop task after DDL applied</p>
4559
+ * </li>
4560
+ * <li>
4561
+ * <p>
4562
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"</code>
4563
+ * </p>
4564
+ * </li>
4565
+ * <li>
4566
+ * <p>
4567
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_DISK"</code>
4568
+ * </p>
4569
+ * </li>
4570
+ * <li>
4571
+ * <p>
4572
+ * <code>"Stop Reason STOPPED_AT_SERVER_TIME"</code> – User-defined server time for stopping task</p>
4573
+ * </li>
4574
+ * <li>
4575
+ * <p>
4576
+ * <code>"Stop Reason STOPPED_AT_COMMIT_TIME"</code> – User-defined commit time for stopping task</p>
4577
+ * </li>
4578
+ * <li>
4579
+ * <p>
4580
+ * <code>"Stop Reason RECONFIGURATION_RESTART"</code>
4581
+ * </p>
4582
+ * </li>
4583
+ * <li>
4584
+ * <p>
4585
+ * <code>"Stop Reason RECYCLE_TASK"</code>
4586
+ * </p>
4509
4587
  * </li>
4510
4588
  * </ul>
4511
4589
  */
@@ -5884,8 +5962,7 @@ export interface DescribeFleetAdvisorDatabasesRequest {
5884
5962
  * <ul>
5885
5963
  * <li>
5886
5964
  * <p>
5887
- * <code>database-id</code> – The ID of the database, for example
5888
- * <code>d4610ac5-e323-4ad9-bc50-eaf7249dfe9d</code>.</p>
5965
+ * <code>database-id</code> – The ID of the database.</p>
5889
5966
  * </li>
5890
5967
  * <li>
5891
5968
  * <p>
@@ -5910,7 +5987,7 @@ export interface DescribeFleetAdvisorDatabasesRequest {
5910
5987
  * </ul>
5911
5988
  *
5912
5989
  * <p>An example is: <code>describe-fleet-advisor-databases --filter
5913
- * Name="database-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"</code>
5990
+ * Name="database-id",Values="45"</code>
5914
5991
  * </p>
5915
5992
  */
5916
5993
  Filters?: Filter[];
@@ -240,6 +240,8 @@ export interface ElasticsearchSettings {
240
240
  FullLoadErrorPercentage?: number;
241
241
 
242
242
  ErrorRetryDuration?: number;
243
+
244
+ UseNewMappingType?: boolean;
243
245
  }
244
246
  export declare namespace ElasticsearchSettings {
245
247
 
@@ -430,6 +432,8 @@ export interface MicrosoftSQLServerSettings {
430
432
  SecretsManagerAccessRoleArn?: string;
431
433
 
432
434
  SecretsManagerSecretId?: string;
435
+
436
+ TrimSpaceInChar?: boolean;
433
437
  }
434
438
  export declare namespace MicrosoftSQLServerSettings {
435
439
 
@@ -622,6 +626,8 @@ export interface OracleSettings {
622
626
  SecretsManagerOracleAsmAccessRoleArn?: string;
623
627
 
624
628
  SecretsManagerOracleAsmSecretId?: string;
629
+
630
+ TrimSpaceInChar?: boolean;
625
631
  }
626
632
  export declare namespace OracleSettings {
627
633
 
@@ -670,6 +676,8 @@ export interface PostgreSQLSettings {
670
676
  SecretsManagerAccessRoleArn?: string;
671
677
 
672
678
  SecretsManagerSecretId?: string;
679
+
680
+ TrimSpaceInChar?: boolean;
673
681
  }
674
682
  export declare namespace PostgreSQLSettings {
675
683
 
@@ -894,6 +902,10 @@ export interface S3Settings {
894
902
  Rfc4180?: boolean;
895
903
 
896
904
  DatePartitionTimezone?: string;
905
+
906
+ AddTrailingPaddingCharacter?: boolean;
907
+
908
+ ExpectedBucketOwner?: string;
897
909
  }
898
910
  export declare namespace S3Settings {
899
911
 
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.118.0",
4
+ "version": "3.122.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.118.0",
21
+ "@aws-sdk/client-sts": "3.121.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.118.0",
23
+ "@aws-sdk/credential-provider-node": "3.121.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,13 +28,13 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-serde": "3.110.0",
33
33
  "@aws-sdk/middleware-signing": "3.110.0",
34
34
  "@aws-sdk/middleware-stack": "3.110.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.110.0",
36
36
  "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.118.1",
38
38
  "@aws-sdk/protocol-http": "3.110.0",
39
39
  "@aws-sdk/smithy-client": "3.110.0",
40
40
  "@aws-sdk/types": "3.110.0",
@@ -49,7 +49,7 @@
49
49
  "@aws-sdk/util-user-agent-node": "3.118.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
- "@aws-sdk/util-waiter": "3.110.0",
52
+ "@aws-sdk/util-waiter": "3.118.1",
53
53
  "tslib": "^2.3.1"
54
54
  },
55
55
  "devDependencies": {