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