@aws-sdk/client-database-migration-service 3.301.0 → 3.303.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.
@@ -43,144 +43,121 @@ class InvalidResourceStateFault extends DatabaseMigrationServiceServiceException
43
43
  }
44
44
  }
45
45
  exports.InvalidResourceStateFault = InvalidResourceStateFault;
46
- var NestingLevelValue;
47
- (function (NestingLevelValue) {
48
- NestingLevelValue["NONE"] = "none";
49
- NestingLevelValue["ONE"] = "one";
50
- })(NestingLevelValue = exports.NestingLevelValue || (exports.NestingLevelValue = {}));
51
- var ReplicationEndpointTypeValue;
52
- (function (ReplicationEndpointTypeValue) {
53
- ReplicationEndpointTypeValue["SOURCE"] = "source";
54
- ReplicationEndpointTypeValue["TARGET"] = "target";
55
- })(ReplicationEndpointTypeValue = exports.ReplicationEndpointTypeValue || (exports.ReplicationEndpointTypeValue = {}));
56
- var TargetDbType;
57
- (function (TargetDbType) {
58
- TargetDbType["MULTIPLE_DATABASES"] = "multiple-databases";
59
- TargetDbType["SPECIFIC_DATABASE"] = "specific-database";
60
- })(TargetDbType = exports.TargetDbType || (exports.TargetDbType = {}));
61
- var MessageFormatValue;
62
- (function (MessageFormatValue) {
63
- MessageFormatValue["JSON"] = "json";
64
- MessageFormatValue["JSON_UNFORMATTED"] = "json-unformatted";
65
- })(MessageFormatValue = exports.MessageFormatValue || (exports.MessageFormatValue = {}));
66
- var KafkaSaslMechanism;
67
- (function (KafkaSaslMechanism) {
68
- KafkaSaslMechanism["PLAIN"] = "plain";
69
- KafkaSaslMechanism["SCRAM_SHA_512"] = "scram-sha-512";
70
- })(KafkaSaslMechanism = exports.KafkaSaslMechanism || (exports.KafkaSaslMechanism = {}));
71
- var KafkaSecurityProtocol;
72
- (function (KafkaSecurityProtocol) {
73
- KafkaSecurityProtocol["PLAINTEXT"] = "plaintext";
74
- KafkaSecurityProtocol["SASL_SSL"] = "sasl-ssl";
75
- KafkaSecurityProtocol["SSL_AUTHENTICATION"] = "ssl-authentication";
76
- KafkaSecurityProtocol["SSL_ENCRYPTION"] = "ssl-encryption";
77
- })(KafkaSecurityProtocol = exports.KafkaSecurityProtocol || (exports.KafkaSecurityProtocol = {}));
78
- var SafeguardPolicy;
79
- (function (SafeguardPolicy) {
80
- SafeguardPolicy["EXCLUSIVE_AUTOMATIC_TRUNCATION"] = "exclusive-automatic-truncation";
81
- SafeguardPolicy["RELY_ON_SQL_SERVER_REPLICATION_AGENT"] = "rely-on-sql-server-replication-agent";
82
- SafeguardPolicy["SHARED_AUTOMATIC_TRUNCATION"] = "shared-automatic-truncation";
83
- })(SafeguardPolicy = exports.SafeguardPolicy || (exports.SafeguardPolicy = {}));
84
- var TlogAccessMode;
85
- (function (TlogAccessMode) {
86
- TlogAccessMode["BackupOnly"] = "BackupOnly";
87
- TlogAccessMode["PreferBackup"] = "PreferBackup";
88
- TlogAccessMode["PreferTlog"] = "PreferTlog";
89
- TlogAccessMode["TlogOnly"] = "TlogOnly";
90
- })(TlogAccessMode = exports.TlogAccessMode || (exports.TlogAccessMode = {}));
91
- var AuthMechanismValue;
92
- (function (AuthMechanismValue) {
93
- AuthMechanismValue["DEFAULT"] = "default";
94
- AuthMechanismValue["MONGODB_CR"] = "mongodb_cr";
95
- AuthMechanismValue["SCRAM_SHA_1"] = "scram_sha_1";
96
- })(AuthMechanismValue = exports.AuthMechanismValue || (exports.AuthMechanismValue = {}));
97
- var AuthTypeValue;
98
- (function (AuthTypeValue) {
99
- AuthTypeValue["NO"] = "no";
100
- AuthTypeValue["PASSWORD"] = "password";
101
- })(AuthTypeValue = exports.AuthTypeValue || (exports.AuthTypeValue = {}));
102
- var CharLengthSemantics;
103
- (function (CharLengthSemantics) {
104
- CharLengthSemantics["BYTE"] = "byte";
105
- CharLengthSemantics["CHAR"] = "char";
106
- CharLengthSemantics["DEFAULT"] = "default";
107
- })(CharLengthSemantics = exports.CharLengthSemantics || (exports.CharLengthSemantics = {}));
108
- var PluginNameValue;
109
- (function (PluginNameValue) {
110
- PluginNameValue["NO_PREFERENCE"] = "no-preference";
111
- PluginNameValue["PGLOGICAL"] = "pglogical";
112
- PluginNameValue["TEST_DECODING"] = "test-decoding";
113
- })(PluginNameValue = exports.PluginNameValue || (exports.PluginNameValue = {}));
114
- var RedisAuthTypeValue;
115
- (function (RedisAuthTypeValue) {
116
- RedisAuthTypeValue["AUTH_ROLE"] = "auth-role";
117
- RedisAuthTypeValue["AUTH_TOKEN"] = "auth-token";
118
- RedisAuthTypeValue["NONE"] = "none";
119
- })(RedisAuthTypeValue = exports.RedisAuthTypeValue || (exports.RedisAuthTypeValue = {}));
120
- var SslSecurityProtocolValue;
121
- (function (SslSecurityProtocolValue) {
122
- SslSecurityProtocolValue["PLAINTEXT"] = "plaintext";
123
- SslSecurityProtocolValue["SSL_ENCRYPTION"] = "ssl-encryption";
124
- })(SslSecurityProtocolValue = exports.SslSecurityProtocolValue || (exports.SslSecurityProtocolValue = {}));
125
- var EncryptionModeValue;
126
- (function (EncryptionModeValue) {
127
- EncryptionModeValue["SSE_KMS"] = "sse-kms";
128
- EncryptionModeValue["SSE_S3"] = "sse-s3";
129
- })(EncryptionModeValue = exports.EncryptionModeValue || (exports.EncryptionModeValue = {}));
130
- var CannedAclForObjectsValue;
131
- (function (CannedAclForObjectsValue) {
132
- CannedAclForObjectsValue["AUTHENTICATED_READ"] = "authenticated-read";
133
- CannedAclForObjectsValue["AWS_EXEC_READ"] = "aws-exec-read";
134
- CannedAclForObjectsValue["BUCKET_OWNER_FULL_CONTROL"] = "bucket-owner-full-control";
135
- CannedAclForObjectsValue["BUCKET_OWNER_READ"] = "bucket-owner-read";
136
- CannedAclForObjectsValue["NONE"] = "none";
137
- CannedAclForObjectsValue["PRIVATE"] = "private";
138
- CannedAclForObjectsValue["PUBLIC_READ"] = "public-read";
139
- CannedAclForObjectsValue["PUBLIC_READ_WRITE"] = "public-read-write";
140
- })(CannedAclForObjectsValue = exports.CannedAclForObjectsValue || (exports.CannedAclForObjectsValue = {}));
141
- var CompressionTypeValue;
142
- (function (CompressionTypeValue) {
143
- CompressionTypeValue["GZIP"] = "gzip";
144
- CompressionTypeValue["NONE"] = "none";
145
- })(CompressionTypeValue = exports.CompressionTypeValue || (exports.CompressionTypeValue = {}));
146
- var DataFormatValue;
147
- (function (DataFormatValue) {
148
- DataFormatValue["CSV"] = "csv";
149
- DataFormatValue["PARQUET"] = "parquet";
150
- })(DataFormatValue = exports.DataFormatValue || (exports.DataFormatValue = {}));
151
- var DatePartitionDelimiterValue;
152
- (function (DatePartitionDelimiterValue) {
153
- DatePartitionDelimiterValue["DASH"] = "DASH";
154
- DatePartitionDelimiterValue["NONE"] = "NONE";
155
- DatePartitionDelimiterValue["SLASH"] = "SLASH";
156
- DatePartitionDelimiterValue["UNDERSCORE"] = "UNDERSCORE";
157
- })(DatePartitionDelimiterValue = exports.DatePartitionDelimiterValue || (exports.DatePartitionDelimiterValue = {}));
158
- var DatePartitionSequenceValue;
159
- (function (DatePartitionSequenceValue) {
160
- DatePartitionSequenceValue["DDMMYYYY"] = "DDMMYYYY";
161
- DatePartitionSequenceValue["MMYYYYDD"] = "MMYYYYDD";
162
- DatePartitionSequenceValue["YYYYMM"] = "YYYYMM";
163
- DatePartitionSequenceValue["YYYYMMDD"] = "YYYYMMDD";
164
- DatePartitionSequenceValue["YYYYMMDDHH"] = "YYYYMMDDHH";
165
- })(DatePartitionSequenceValue = exports.DatePartitionSequenceValue || (exports.DatePartitionSequenceValue = {}));
166
- var EncodingTypeValue;
167
- (function (EncodingTypeValue) {
168
- EncodingTypeValue["PLAIN"] = "plain";
169
- EncodingTypeValue["PLAIN_DICTIONARY"] = "plain-dictionary";
170
- EncodingTypeValue["RLE_DICTIONARY"] = "rle-dictionary";
171
- })(EncodingTypeValue = exports.EncodingTypeValue || (exports.EncodingTypeValue = {}));
172
- var ParquetVersionValue;
173
- (function (ParquetVersionValue) {
174
- ParquetVersionValue["PARQUET_1_0"] = "parquet-1-0";
175
- ParquetVersionValue["PARQUET_2_0"] = "parquet-2-0";
176
- })(ParquetVersionValue = exports.ParquetVersionValue || (exports.ParquetVersionValue = {}));
177
- var DmsSslModeValue;
178
- (function (DmsSslModeValue) {
179
- DmsSslModeValue["NONE"] = "none";
180
- DmsSslModeValue["REQUIRE"] = "require";
181
- DmsSslModeValue["VERIFY_CA"] = "verify-ca";
182
- DmsSslModeValue["VERIFY_FULL"] = "verify-full";
183
- })(DmsSslModeValue = exports.DmsSslModeValue || (exports.DmsSslModeValue = {}));
46
+ exports.NestingLevelValue = {
47
+ NONE: "none",
48
+ ONE: "one",
49
+ };
50
+ exports.ReplicationEndpointTypeValue = {
51
+ SOURCE: "source",
52
+ TARGET: "target",
53
+ };
54
+ exports.TargetDbType = {
55
+ MULTIPLE_DATABASES: "multiple-databases",
56
+ SPECIFIC_DATABASE: "specific-database",
57
+ };
58
+ exports.MessageFormatValue = {
59
+ JSON: "json",
60
+ JSON_UNFORMATTED: "json-unformatted",
61
+ };
62
+ exports.KafkaSaslMechanism = {
63
+ PLAIN: "plain",
64
+ SCRAM_SHA_512: "scram-sha-512",
65
+ };
66
+ exports.KafkaSecurityProtocol = {
67
+ PLAINTEXT: "plaintext",
68
+ SASL_SSL: "sasl-ssl",
69
+ SSL_AUTHENTICATION: "ssl-authentication",
70
+ SSL_ENCRYPTION: "ssl-encryption",
71
+ };
72
+ exports.SafeguardPolicy = {
73
+ EXCLUSIVE_AUTOMATIC_TRUNCATION: "exclusive-automatic-truncation",
74
+ RELY_ON_SQL_SERVER_REPLICATION_AGENT: "rely-on-sql-server-replication-agent",
75
+ SHARED_AUTOMATIC_TRUNCATION: "shared-automatic-truncation",
76
+ };
77
+ exports.TlogAccessMode = {
78
+ BackupOnly: "BackupOnly",
79
+ PreferBackup: "PreferBackup",
80
+ PreferTlog: "PreferTlog",
81
+ TlogOnly: "TlogOnly",
82
+ };
83
+ exports.AuthMechanismValue = {
84
+ DEFAULT: "default",
85
+ MONGODB_CR: "mongodb_cr",
86
+ SCRAM_SHA_1: "scram_sha_1",
87
+ };
88
+ exports.AuthTypeValue = {
89
+ NO: "no",
90
+ PASSWORD: "password",
91
+ };
92
+ exports.CharLengthSemantics = {
93
+ BYTE: "byte",
94
+ CHAR: "char",
95
+ DEFAULT: "default",
96
+ };
97
+ exports.PluginNameValue = {
98
+ NO_PREFERENCE: "no-preference",
99
+ PGLOGICAL: "pglogical",
100
+ TEST_DECODING: "test-decoding",
101
+ };
102
+ exports.RedisAuthTypeValue = {
103
+ AUTH_ROLE: "auth-role",
104
+ AUTH_TOKEN: "auth-token",
105
+ NONE: "none",
106
+ };
107
+ exports.SslSecurityProtocolValue = {
108
+ PLAINTEXT: "plaintext",
109
+ SSL_ENCRYPTION: "ssl-encryption",
110
+ };
111
+ exports.EncryptionModeValue = {
112
+ SSE_KMS: "sse-kms",
113
+ SSE_S3: "sse-s3",
114
+ };
115
+ exports.CannedAclForObjectsValue = {
116
+ AUTHENTICATED_READ: "authenticated-read",
117
+ AWS_EXEC_READ: "aws-exec-read",
118
+ BUCKET_OWNER_FULL_CONTROL: "bucket-owner-full-control",
119
+ BUCKET_OWNER_READ: "bucket-owner-read",
120
+ NONE: "none",
121
+ PRIVATE: "private",
122
+ PUBLIC_READ: "public-read",
123
+ PUBLIC_READ_WRITE: "public-read-write",
124
+ };
125
+ exports.CompressionTypeValue = {
126
+ GZIP: "gzip",
127
+ NONE: "none",
128
+ };
129
+ exports.DataFormatValue = {
130
+ CSV: "csv",
131
+ PARQUET: "parquet",
132
+ };
133
+ exports.DatePartitionDelimiterValue = {
134
+ DASH: "DASH",
135
+ NONE: "NONE",
136
+ SLASH: "SLASH",
137
+ UNDERSCORE: "UNDERSCORE",
138
+ };
139
+ exports.DatePartitionSequenceValue = {
140
+ DDMMYYYY: "DDMMYYYY",
141
+ MMYYYYDD: "MMYYYYDD",
142
+ YYYYMM: "YYYYMM",
143
+ YYYYMMDD: "YYYYMMDD",
144
+ YYYYMMDDHH: "YYYYMMDDHH",
145
+ };
146
+ exports.EncodingTypeValue = {
147
+ PLAIN: "plain",
148
+ PLAIN_DICTIONARY: "plain-dictionary",
149
+ RLE_DICTIONARY: "rle-dictionary",
150
+ };
151
+ exports.ParquetVersionValue = {
152
+ PARQUET_1_0: "parquet-1-0",
153
+ PARQUET_2_0: "parquet-2-0",
154
+ };
155
+ exports.DmsSslModeValue = {
156
+ NONE: "none",
157
+ REQUIRE: "require",
158
+ VERIFY_CA: "verify-ca",
159
+ VERIFY_FULL: "verify-full",
160
+ };
184
161
  class KMSKeyNotAccessibleFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
185
162
  constructor(opts) {
186
163
  super({
@@ -390,12 +367,11 @@ class StorageQuotaExceededFault extends DatabaseMigrationServiceServiceException
390
367
  }
391
368
  }
392
369
  exports.StorageQuotaExceededFault = StorageQuotaExceededFault;
393
- var MigrationTypeValue;
394
- (function (MigrationTypeValue) {
395
- MigrationTypeValue["CDC"] = "cdc";
396
- MigrationTypeValue["FULL_LOAD"] = "full-load";
397
- MigrationTypeValue["FULL_LOAD_AND_CDC"] = "full-load-and-cdc";
398
- })(MigrationTypeValue = exports.MigrationTypeValue || (exports.MigrationTypeValue = {}));
370
+ exports.MigrationTypeValue = {
371
+ CDC: "cdc",
372
+ FULL_LOAD: "full-load",
373
+ FULL_LOAD_AND_CDC: "full-load-and-cdc",
374
+ };
399
375
  class CollectorNotFoundFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
400
376
  constructor(opts) {
401
377
  super({
@@ -422,39 +398,33 @@ class InvalidOperationFault extends DatabaseMigrationServiceServiceException_1.D
422
398
  }
423
399
  }
424
400
  exports.InvalidOperationFault = InvalidOperationFault;
425
- var EndpointSettingTypeValue;
426
- (function (EndpointSettingTypeValue) {
427
- EndpointSettingTypeValue["BOOLEAN"] = "boolean";
428
- EndpointSettingTypeValue["ENUM"] = "enum";
429
- EndpointSettingTypeValue["INTEGER"] = "integer";
430
- EndpointSettingTypeValue["STRING"] = "string";
431
- })(EndpointSettingTypeValue = exports.EndpointSettingTypeValue || (exports.EndpointSettingTypeValue = {}));
432
- var SourceType;
433
- (function (SourceType) {
434
- SourceType["replication_instance"] = "replication-instance";
435
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
436
- var CollectorStatus;
437
- (function (CollectorStatus) {
438
- CollectorStatus["ACTIVE"] = "ACTIVE";
439
- CollectorStatus["UNREGISTERED"] = "UNREGISTERED";
440
- })(CollectorStatus = exports.CollectorStatus || (exports.CollectorStatus = {}));
441
- var VersionStatus;
442
- (function (VersionStatus) {
443
- VersionStatus["OUTDATED"] = "OUTDATED";
444
- VersionStatus["UNSUPPORTED"] = "UNSUPPORTED";
445
- VersionStatus["UP_TO_DATE"] = "UP_TO_DATE";
446
- })(VersionStatus = exports.VersionStatus || (exports.VersionStatus = {}));
447
- var ReleaseStatusValues;
448
- (function (ReleaseStatusValues) {
449
- ReleaseStatusValues["BETA"] = "beta";
450
- ReleaseStatusValues["PROD"] = "prod";
451
- })(ReleaseStatusValues = exports.ReleaseStatusValues || (exports.ReleaseStatusValues = {}));
452
- var RefreshSchemasStatusTypeValue;
453
- (function (RefreshSchemasStatusTypeValue) {
454
- RefreshSchemasStatusTypeValue["FAILED"] = "failed";
455
- RefreshSchemasStatusTypeValue["REFRESHING"] = "refreshing";
456
- RefreshSchemasStatusTypeValue["SUCCESSFUL"] = "successful";
457
- })(RefreshSchemasStatusTypeValue = exports.RefreshSchemasStatusTypeValue || (exports.RefreshSchemasStatusTypeValue = {}));
401
+ exports.EndpointSettingTypeValue = {
402
+ BOOLEAN: "boolean",
403
+ ENUM: "enum",
404
+ INTEGER: "integer",
405
+ STRING: "string",
406
+ };
407
+ exports.SourceType = {
408
+ replication_instance: "replication-instance",
409
+ };
410
+ exports.CollectorStatus = {
411
+ ACTIVE: "ACTIVE",
412
+ UNREGISTERED: "UNREGISTERED",
413
+ };
414
+ exports.VersionStatus = {
415
+ OUTDATED: "OUTDATED",
416
+ UNSUPPORTED: "UNSUPPORTED",
417
+ UP_TO_DATE: "UP_TO_DATE",
418
+ };
419
+ exports.ReleaseStatusValues = {
420
+ BETA: "beta",
421
+ PROD: "prod",
422
+ };
423
+ exports.RefreshSchemasStatusTypeValue = {
424
+ FAILED: "failed",
425
+ REFRESHING: "refreshing",
426
+ SUCCESSFUL: "successful",
427
+ };
458
428
  class InvalidCertificateFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
459
429
  constructor(opts) {
460
430
  super({
@@ -494,17 +464,15 @@ class SubnetAlreadyInUse extends DatabaseMigrationServiceServiceException_1.Data
494
464
  }
495
465
  }
496
466
  exports.SubnetAlreadyInUse = SubnetAlreadyInUse;
497
- var ReloadOptionValue;
498
- (function (ReloadOptionValue) {
499
- ReloadOptionValue["DATA_RELOAD"] = "data-reload";
500
- ReloadOptionValue["VALIDATE_ONLY"] = "validate-only";
501
- })(ReloadOptionValue = exports.ReloadOptionValue || (exports.ReloadOptionValue = {}));
502
- var StartReplicationTaskTypeValue;
503
- (function (StartReplicationTaskTypeValue) {
504
- StartReplicationTaskTypeValue["RELOAD_TARGET"] = "reload-target";
505
- StartReplicationTaskTypeValue["RESUME_PROCESSING"] = "resume-processing";
506
- StartReplicationTaskTypeValue["START_REPLICATION"] = "start-replication";
507
- })(StartReplicationTaskTypeValue = exports.StartReplicationTaskTypeValue || (exports.StartReplicationTaskTypeValue = {}));
467
+ exports.ReloadOptionValue = {
468
+ DATA_RELOAD: "data-reload",
469
+ VALIDATE_ONLY: "validate-only",
470
+ };
471
+ exports.StartReplicationTaskTypeValue = {
472
+ RELOAD_TARGET: "reload-target",
473
+ RESUME_PROCESSING: "resume-processing",
474
+ START_REPLICATION: "start-replication",
475
+ };
508
476
  class KMSFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
509
477
  constructor(opts) {
510
478
  super({