@aws-sdk/client-database-migration-service 3.369.0 → 3.377.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CollectorStatus = exports.SourceType = exports.EndpointSettingTypeValue = exports.InvalidOperationFault = exports.CollectorNotFoundFault = exports.StorageQuotaExceededFault = exports.InsufficientResourceCapacityFault = exports.ReplicationSubnetGroupDoesNotCoverEnoughAZs = exports.InvalidSubnet = exports.MigrationTypeValue = exports.S3ResourceNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.KMSThrottlingFault = exports.KMSNotFoundFault = exports.KMSInvalidStateFault = exports.KMSDisabledFault = exports.KMSAccessDeniedFault = exports.S3AccessDeniedFault = exports.ResourceQuotaExceededFault = exports.ResourceAlreadyExistsFault = exports.KMSKeyNotAccessibleFault = exports.DmsSslModeValue = exports.ParquetVersionValue = exports.EncodingTypeValue = exports.DatePartitionSequenceValue = exports.DatePartitionDelimiterValue = exports.DataFormatValue = exports.CompressionTypeValue = exports.CannedAclForObjectsValue = exports.EncryptionModeValue = exports.SslSecurityProtocolValue = exports.RedisAuthTypeValue = exports.PluginNameValue = exports.LongVarcharMappingType = exports.CharLengthSemantics = exports.AuthTypeValue = exports.AuthMechanismValue = exports.TlogAccessMode = exports.SafeguardPolicy = exports.KafkaSslEndpointIdentificationAlgorithm = exports.KafkaSecurityProtocol = exports.KafkaSaslMechanism = exports.MessageFormatValue = exports.TargetDbType = exports.ReplicationEndpointTypeValue = exports.NestingLevelValue = exports.InvalidResourceStateFault = exports.ResourceNotFoundFault = exports.AccessDeniedFault = void 0;
4
- exports.ModifyEndpointResponseFilterSensitiveLog = exports.ModifyEndpointMessageFilterSensitiveLog = exports.ImportCertificateMessageFilterSensitiveLog = exports.DescribeEndpointsResponseFilterSensitiveLog = exports.DeleteEndpointResponseFilterSensitiveLog = exports.CreateEndpointResponseFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CreateEndpointMessageFilterSensitiveLog = exports.SybaseSettingsFilterSensitiveLog = exports.RedshiftSettingsFilterSensitiveLog = exports.RedisSettingsFilterSensitiveLog = exports.PostgreSQLSettingsFilterSensitiveLog = exports.OracleSettingsFilterSensitiveLog = exports.MySQLSettingsFilterSensitiveLog = exports.MongoDbSettingsFilterSensitiveLog = exports.MicrosoftSQLServerSettingsFilterSensitiveLog = exports.KafkaSettingsFilterSensitiveLog = exports.IBMDb2SettingsFilterSensitiveLog = exports.GcpMySQLSettingsFilterSensitiveLog = exports.DocDbSettingsFilterSensitiveLog = exports.KMSFault = exports.StartReplicationTaskTypeValue = exports.ReloadOptionValue = exports.SubnetAlreadyInUse = exports.UpgradeDependencyFailureFault = exports.InvalidCertificateFault = exports.RefreshSchemasStatusTypeValue = exports.ReleaseStatusValues = exports.VersionStatus = void 0;
3
+ exports.SourceType = exports.EndpointSettingTypeValue = exports.InvalidOperationFault = exports.CollectorNotFoundFault = exports.StorageQuotaExceededFault = exports.InsufficientResourceCapacityFault = exports.ReplicationSubnetGroupDoesNotCoverEnoughAZs = exports.InvalidSubnet = exports.MigrationTypeValue = exports.S3ResourceNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.KMSThrottlingFault = exports.KMSNotFoundFault = exports.KMSInvalidStateFault = exports.KMSDisabledFault = exports.KMSAccessDeniedFault = exports.S3AccessDeniedFault = exports.ResourceQuotaExceededFault = exports.ResourceAlreadyExistsFault = exports.KMSKeyNotAccessibleFault = exports.DmsSslModeValue = exports.ParquetVersionValue = exports.EncodingTypeValue = exports.DatePartitionSequenceValue = exports.DatePartitionDelimiterValue = exports.DataFormatValue = exports.CompressionTypeValue = exports.CannedAclForObjectsValue = exports.EncryptionModeValue = exports.SslSecurityProtocolValue = exports.RedisAuthTypeValue = exports.PluginNameValue = exports.LongVarcharMappingType = exports.DatabaseMode = exports.CharLengthSemantics = exports.AuthTypeValue = exports.AuthMechanismValue = exports.TlogAccessMode = exports.SafeguardPolicy = exports.KafkaSslEndpointIdentificationAlgorithm = exports.KafkaSecurityProtocol = exports.KafkaSaslMechanism = exports.MessageFormatValue = exports.TargetDbType = exports.ReplicationEndpointTypeValue = exports.NestingLevelValue = exports.InvalidResourceStateFault = exports.ResourceNotFoundFault = exports.AccessDeniedFault = void 0;
4
+ exports.ModifyEndpointResponseFilterSensitiveLog = exports.ModifyEndpointMessageFilterSensitiveLog = exports.ImportCertificateMessageFilterSensitiveLog = exports.DescribeEndpointsResponseFilterSensitiveLog = exports.DeleteEndpointResponseFilterSensitiveLog = exports.CreateEndpointResponseFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CreateEndpointMessageFilterSensitiveLog = exports.SybaseSettingsFilterSensitiveLog = exports.RedshiftSettingsFilterSensitiveLog = exports.RedisSettingsFilterSensitiveLog = exports.PostgreSQLSettingsFilterSensitiveLog = exports.OracleSettingsFilterSensitiveLog = exports.MySQLSettingsFilterSensitiveLog = exports.MongoDbSettingsFilterSensitiveLog = exports.MicrosoftSQLServerSettingsFilterSensitiveLog = exports.KafkaSettingsFilterSensitiveLog = exports.IBMDb2SettingsFilterSensitiveLog = exports.GcpMySQLSettingsFilterSensitiveLog = exports.DocDbSettingsFilterSensitiveLog = exports.KMSFault = exports.StartReplicationTaskTypeValue = exports.ReloadOptionValue = exports.SubnetAlreadyInUse = exports.UpgradeDependencyFailureFault = exports.InvalidCertificateFault = exports.RefreshSchemasStatusTypeValue = exports.ReleaseStatusValues = exports.VersionStatus = exports.CollectorStatus = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const DatabaseMigrationServiceServiceException_1 = require("./DatabaseMigrationServiceServiceException");
7
7
  class AccessDeniedFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
@@ -98,6 +98,10 @@ exports.CharLengthSemantics = {
98
98
  CHAR: "char",
99
99
  DEFAULT: "default",
100
100
  };
101
+ exports.DatabaseMode = {
102
+ BABELFISH: "babelfish",
103
+ DEFAULT: "default",
104
+ };
101
105
  exports.LongVarcharMappingType = {
102
106
  CLOB: "clob",
103
107
  NCLOB: "nclob",
@@ -91,6 +91,10 @@ export const CharLengthSemantics = {
91
91
  CHAR: "char",
92
92
  DEFAULT: "default",
93
93
  };
94
+ export const DatabaseMode = {
95
+ BABELFISH: "babelfish",
96
+ DEFAULT: "default",
97
+ };
94
98
  export const LongVarcharMappingType = {
95
99
  CLOB: "clob",
96
100
  NCLOB: "nclob",
@@ -233,6 +233,8 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
233
233
  * MapBooleanAsBoolean: true || false,
234
234
  * MapJsonbAsClob: true || false,
235
235
  * MapLongVarcharAs: "wstring" || "clob" || "nclob",
236
+ * DatabaseMode: "default" || "babelfish",
237
+ * BabelfishDatabaseName: "STRING_VALUE",
236
238
  * },
237
239
  * MySQLSettings: { // MySQLSettings
238
240
  * AfterConnectScript: "STRING_VALUE",
@@ -581,6 +583,8 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
581
583
  * // MapBooleanAsBoolean: true || false,
582
584
  * // MapJsonbAsClob: true || false,
583
585
  * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
586
+ * // DatabaseMode: "default" || "babelfish",
587
+ * // BabelfishDatabaseName: "STRING_VALUE",
584
588
  * // },
585
589
  * // MySQLSettings: { // MySQLSettings
586
590
  * // AfterConnectScript: "STRING_VALUE",
@@ -233,6 +233,8 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
233
233
  * // MapBooleanAsBoolean: true || false,
234
234
  * // MapJsonbAsClob: true || false,
235
235
  * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
236
+ * // DatabaseMode: "default" || "babelfish",
237
+ * // BabelfishDatabaseName: "STRING_VALUE",
236
238
  * // },
237
239
  * // MySQLSettings: { // MySQLSettings
238
240
  * // AfterConnectScript: "STRING_VALUE",
@@ -239,6 +239,8 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
239
239
  * // MapBooleanAsBoolean: true || false,
240
240
  * // MapJsonbAsClob: true || false,
241
241
  * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
242
+ * // DatabaseMode: "default" || "babelfish",
243
+ * // BabelfishDatabaseName: "STRING_VALUE",
242
244
  * // },
243
245
  * // MySQLSettings: { // MySQLSettings
244
246
  * // AfterConnectScript: "STRING_VALUE",
@@ -226,6 +226,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
226
226
  * MapBooleanAsBoolean: true || false,
227
227
  * MapJsonbAsClob: true || false,
228
228
  * MapLongVarcharAs: "wstring" || "clob" || "nclob",
229
+ * DatabaseMode: "default" || "babelfish",
230
+ * BabelfishDatabaseName: "STRING_VALUE",
229
231
  * },
230
232
  * MySQLSettings: { // MySQLSettings
231
233
  * AfterConnectScript: "STRING_VALUE",
@@ -574,6 +576,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
574
576
  * // MapBooleanAsBoolean: true || false,
575
577
  * // MapJsonbAsClob: true || false,
576
578
  * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
579
+ * // DatabaseMode: "default" || "babelfish",
580
+ * // BabelfishDatabaseName: "STRING_VALUE",
577
581
  * // },
578
582
  * // MySQLSettings: { // MySQLSettings
579
583
  * // AfterConnectScript: "STRING_VALUE",
@@ -1887,6 +1887,18 @@ export interface OracleSettings {
1887
1887
  */
1888
1888
  OpenTransactionWindow?: number;
1889
1889
  }
1890
+ /**
1891
+ * @public
1892
+ * @enum
1893
+ */
1894
+ export declare const DatabaseMode: {
1895
+ readonly BABELFISH: "babelfish";
1896
+ readonly DEFAULT: "default";
1897
+ };
1898
+ /**
1899
+ * @public
1900
+ */
1901
+ export type DatabaseMode = (typeof DatabaseMode)[keyof typeof DatabaseMode];
1890
1902
  /**
1891
1903
  * @public
1892
1904
  * @enum
@@ -2069,6 +2081,16 @@ export interface PostgreSQLSettings {
2069
2081
  * <p>When true, DMS migrates LONG values as VARCHAR.</p>
2070
2082
  */
2071
2083
  MapLongVarcharAs?: LongVarcharMappingType | string;
2084
+ /**
2085
+ * <p>Specifies whether to use default or custom replication behavior for
2086
+ * PostgreSQL-compatible endpoints. You can use this setting to specify replication
2087
+ * behavior for endpoints that require additional configuration, such as Babelfish endpoints.</p>
2088
+ */
2089
+ DatabaseMode?: DatabaseMode | string;
2090
+ /**
2091
+ * <p>The Babelfish for Aurora PostgreSQL database name for the endpoint.</p>
2092
+ */
2093
+ BabelfishDatabaseName?: string;
2072
2094
  }
2073
2095
  /**
2074
2096
  * @public
@@ -374,6 +374,11 @@ export interface OracleSettings {
374
374
  ConvertTimestampWithZoneToUTC?: boolean;
375
375
  OpenTransactionWindow?: number;
376
376
  }
377
+ export declare const DatabaseMode: {
378
+ readonly BABELFISH: "babelfish";
379
+ readonly DEFAULT: "default";
380
+ };
381
+ export type DatabaseMode = (typeof DatabaseMode)[keyof typeof DatabaseMode];
377
382
  export declare const LongVarcharMappingType: {
378
383
  readonly CLOB: "clob";
379
384
  readonly NCLOB: "nclob";
@@ -411,6 +416,8 @@ export interface PostgreSQLSettings {
411
416
  MapBooleanAsBoolean?: boolean;
412
417
  MapJsonbAsClob?: boolean;
413
418
  MapLongVarcharAs?: LongVarcharMappingType | string;
419
+ DatabaseMode?: DatabaseMode | string;
420
+ BabelfishDatabaseName?: string;
414
421
  }
415
422
  export declare const RedisAuthTypeValue: {
416
423
  readonly AUTH_ROLE: "auth-role";
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.369.0",
4
+ "version": "3.377.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,29 +21,29 @@
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.369.0",
25
- "@aws-sdk/credential-provider-node": "3.369.0",
26
- "@aws-sdk/middleware-host-header": "3.369.0",
27
- "@aws-sdk/middleware-logger": "3.369.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.369.0",
29
- "@aws-sdk/middleware-signing": "3.369.0",
30
- "@aws-sdk/middleware-user-agent": "3.369.0",
31
- "@aws-sdk/types": "3.369.0",
32
- "@aws-sdk/util-endpoints": "3.369.0",
33
- "@aws-sdk/util-user-agent-browser": "3.369.0",
34
- "@aws-sdk/util-user-agent-node": "3.369.0",
24
+ "@aws-sdk/client-sts": "3.377.0",
25
+ "@aws-sdk/credential-provider-node": "3.370.0",
26
+ "@aws-sdk/middleware-host-header": "3.370.0",
27
+ "@aws-sdk/middleware-logger": "3.370.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.370.0",
29
+ "@aws-sdk/middleware-signing": "3.370.0",
30
+ "@aws-sdk/middleware-user-agent": "3.370.0",
31
+ "@aws-sdk/types": "3.370.0",
32
+ "@aws-sdk/util-endpoints": "3.370.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.370.0",
34
+ "@aws-sdk/util-user-agent-node": "3.370.0",
35
35
  "@smithy/config-resolver": "^1.0.1",
36
36
  "@smithy/fetch-http-handler": "^1.0.1",
37
37
  "@smithy/hash-node": "^1.0.1",
38
38
  "@smithy/invalid-dependency": "^1.0.1",
39
39
  "@smithy/middleware-content-length": "^1.0.1",
40
- "@smithy/middleware-endpoint": "^1.0.1",
41
- "@smithy/middleware-retry": "^1.0.2",
40
+ "@smithy/middleware-endpoint": "^1.0.2",
41
+ "@smithy/middleware-retry": "^1.0.3",
42
42
  "@smithy/middleware-serde": "^1.0.1",
43
43
  "@smithy/middleware-stack": "^1.0.1",
44
44
  "@smithy/node-config-provider": "^1.0.1",
45
45
  "@smithy/node-http-handler": "^1.0.2",
46
- "@smithy/protocol-http": "^1.0.1",
46
+ "@smithy/protocol-http": "^1.1.0",
47
47
  "@smithy/smithy-client": "^1.0.3",
48
48
  "@smithy/types": "^1.1.0",
49
49
  "@smithy/url-parser": "^1.0.1",
@@ -52,13 +52,12 @@
52
52
  "@smithy/util-body-length-node": "^1.0.1",
53
53
  "@smithy/util-defaults-mode-browser": "^1.0.1",
54
54
  "@smithy/util-defaults-mode-node": "^1.0.1",
55
- "@smithy/util-retry": "^1.0.2",
55
+ "@smithy/util-retry": "^1.0.3",
56
56
  "@smithy/util-utf8": "^1.0.1",
57
57
  "@smithy/util-waiter": "^1.0.1",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.310.0",
62
61
  "@smithy/service-client-documentation-generator": "^1.0.1",
63
62
  "@tsconfig/node14": "1.0.3",
64
63
  "@types/node": "^14.14.31",