@aws-sdk/client-database-migration-service 3.363.0 → 3.368.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.
Files changed (80) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/DatabaseMigrationService.js +18 -0
  3. package/dist-cjs/commands/CreateReplicationConfigCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteReplicationConfigCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeReplicationConfigsCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeReplicationTableStatisticsCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeReplicationsCommand.js +46 -0
  8. package/dist-cjs/commands/ModifyReplicationConfigCommand.js +46 -0
  9. package/dist-cjs/commands/ReloadReplicationTablesCommand.js +46 -0
  10. package/dist-cjs/commands/StartReplicationCommand.js +46 -0
  11. package/dist-cjs/commands/StopReplicationCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +29 -20
  14. package/dist-cjs/pagination/DescribeReplicationConfigsPaginator.js +29 -0
  15. package/dist-cjs/pagination/DescribeReplicationTableStatisticsPaginator.js +29 -0
  16. package/dist-cjs/pagination/DescribeReplicationsPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_json1_1.js +565 -3
  19. package/dist-es/DatabaseMigrationService.js +18 -0
  20. package/dist-es/commands/CreateReplicationConfigCommand.js +42 -0
  21. package/dist-es/commands/DeleteReplicationConfigCommand.js +42 -0
  22. package/dist-es/commands/DescribeReplicationConfigsCommand.js +42 -0
  23. package/dist-es/commands/DescribeReplicationTableStatisticsCommand.js +42 -0
  24. package/dist-es/commands/DescribeReplicationsCommand.js +42 -0
  25. package/dist-es/commands/ModifyReplicationConfigCommand.js +42 -0
  26. package/dist-es/commands/ReloadReplicationTablesCommand.js +42 -0
  27. package/dist-es/commands/StartReplicationCommand.js +42 -0
  28. package/dist-es/commands/StopReplicationCommand.js +42 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/models/models_0.js +26 -17
  31. package/dist-es/pagination/DescribeReplicationConfigsPaginator.js +25 -0
  32. package/dist-es/pagination/DescribeReplicationTableStatisticsPaginator.js +25 -0
  33. package/dist-es/pagination/DescribeReplicationsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +3 -0
  35. package/dist-es/protocols/Aws_json1_1.js +543 -0
  36. package/dist-types/DatabaseMigrationService.d.ts +63 -0
  37. package/dist-types/DatabaseMigrationServiceClient.d.ts +11 -2
  38. package/dist-types/commands/CreateEndpointCommand.d.ts +30 -0
  39. package/dist-types/commands/CreateReplicationConfigCommand.d.ts +151 -0
  40. package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +5 -1
  42. package/dist-types/commands/DeleteEndpointCommand.d.ts +15 -0
  43. package/dist-types/commands/DeleteReplicationConfigCommand.d.ts +109 -0
  44. package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -0
  45. package/dist-types/commands/DescribeRecommendationsCommand.d.ts +2 -0
  46. package/dist-types/commands/DescribeReplicationConfigsCommand.d.ts +112 -0
  47. package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +118 -0
  48. package/dist-types/commands/DescribeReplicationsCommand.d.ts +129 -0
  49. package/dist-types/commands/ModifyEndpointCommand.d.ts +30 -0
  50. package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +143 -0
  51. package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
  52. package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +89 -0
  53. package/dist-types/commands/StartReplicationCommand.d.ts +130 -0
  54. package/dist-types/commands/StopReplicationCommand.d.ts +124 -0
  55. package/dist-types/commands/index.d.ts +9 -0
  56. package/dist-types/models/models_0.d.ts +1235 -344
  57. package/dist-types/pagination/DescribeReplicationConfigsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/DescribeReplicationsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/index.d.ts +3 -0
  61. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  62. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +159 -0
  63. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +54 -0
  64. package/dist-types/ts3.4/commands/CreateReplicationConfigCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DeleteReplicationConfigCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/DescribeReplicationConfigsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/DescribeReplicationTableStatisticsCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/DescribeReplicationsCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +235 -47
  75. package/dist-types/ts3.4/pagination/DescribeReplicationConfigsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/DescribeReplicationsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  79. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  80. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopReplicationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class StopReplicationCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopReplicationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "DatabaseMigrationServiceClient";
28
+ const commandName = "StopReplicationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.se_StopReplicationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.de_StopReplicationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.StopReplicationCommand = StopReplicationCommand;
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./CancelReplicationTaskAssessmentRunCommand"), exp
8
8
  tslib_1.__exportStar(require("./CreateEndpointCommand"), exports);
9
9
  tslib_1.__exportStar(require("./CreateEventSubscriptionCommand"), exports);
10
10
  tslib_1.__exportStar(require("./CreateFleetAdvisorCollectorCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateReplicationConfigCommand"), exports);
11
12
  tslib_1.__exportStar(require("./CreateReplicationInstanceCommand"), exports);
12
13
  tslib_1.__exportStar(require("./CreateReplicationSubnetGroupCommand"), exports);
13
14
  tslib_1.__exportStar(require("./CreateReplicationTaskCommand"), exports);
@@ -17,6 +18,7 @@ tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
17
18
  tslib_1.__exportStar(require("./DeleteEventSubscriptionCommand"), exports);
18
19
  tslib_1.__exportStar(require("./DeleteFleetAdvisorCollectorCommand"), exports);
19
20
  tslib_1.__exportStar(require("./DeleteFleetAdvisorDatabasesCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteReplicationConfigCommand"), exports);
20
22
  tslib_1.__exportStar(require("./DeleteReplicationInstanceCommand"), exports);
21
23
  tslib_1.__exportStar(require("./DeleteReplicationSubnetGroupCommand"), exports);
22
24
  tslib_1.__exportStar(require("./DeleteReplicationTaskAssessmentRunCommand"), exports);
@@ -41,32 +43,39 @@ tslib_1.__exportStar(require("./DescribePendingMaintenanceActionsCommand"), expo
41
43
  tslib_1.__exportStar(require("./DescribeRecommendationLimitationsCommand"), exports);
42
44
  tslib_1.__exportStar(require("./DescribeRecommendationsCommand"), exports);
43
45
  tslib_1.__exportStar(require("./DescribeRefreshSchemasStatusCommand"), exports);
46
+ tslib_1.__exportStar(require("./DescribeReplicationConfigsCommand"), exports);
44
47
  tslib_1.__exportStar(require("./DescribeReplicationInstanceTaskLogsCommand"), exports);
45
48
  tslib_1.__exportStar(require("./DescribeReplicationInstancesCommand"), exports);
46
49
  tslib_1.__exportStar(require("./DescribeReplicationSubnetGroupsCommand"), exports);
50
+ tslib_1.__exportStar(require("./DescribeReplicationTableStatisticsCommand"), exports);
47
51
  tslib_1.__exportStar(require("./DescribeReplicationTaskAssessmentResultsCommand"), exports);
48
52
  tslib_1.__exportStar(require("./DescribeReplicationTaskAssessmentRunsCommand"), exports);
49
53
  tslib_1.__exportStar(require("./DescribeReplicationTaskIndividualAssessmentsCommand"), exports);
50
54
  tslib_1.__exportStar(require("./DescribeReplicationTasksCommand"), exports);
55
+ tslib_1.__exportStar(require("./DescribeReplicationsCommand"), exports);
51
56
  tslib_1.__exportStar(require("./DescribeSchemasCommand"), exports);
52
57
  tslib_1.__exportStar(require("./DescribeTableStatisticsCommand"), exports);
53
58
  tslib_1.__exportStar(require("./ImportCertificateCommand"), exports);
54
59
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
55
60
  tslib_1.__exportStar(require("./ModifyEndpointCommand"), exports);
56
61
  tslib_1.__exportStar(require("./ModifyEventSubscriptionCommand"), exports);
62
+ tslib_1.__exportStar(require("./ModifyReplicationConfigCommand"), exports);
57
63
  tslib_1.__exportStar(require("./ModifyReplicationInstanceCommand"), exports);
58
64
  tslib_1.__exportStar(require("./ModifyReplicationSubnetGroupCommand"), exports);
59
65
  tslib_1.__exportStar(require("./ModifyReplicationTaskCommand"), exports);
60
66
  tslib_1.__exportStar(require("./MoveReplicationTaskCommand"), exports);
61
67
  tslib_1.__exportStar(require("./RebootReplicationInstanceCommand"), exports);
62
68
  tslib_1.__exportStar(require("./RefreshSchemasCommand"), exports);
69
+ tslib_1.__exportStar(require("./ReloadReplicationTablesCommand"), exports);
63
70
  tslib_1.__exportStar(require("./ReloadTablesCommand"), exports);
64
71
  tslib_1.__exportStar(require("./RemoveTagsFromResourceCommand"), exports);
65
72
  tslib_1.__exportStar(require("./RunFleetAdvisorLsaAnalysisCommand"), exports);
66
73
  tslib_1.__exportStar(require("./StartRecommendationsCommand"), exports);
74
+ tslib_1.__exportStar(require("./StartReplicationCommand"), exports);
67
75
  tslib_1.__exportStar(require("./StartReplicationTaskAssessmentCommand"), exports);
68
76
  tslib_1.__exportStar(require("./StartReplicationTaskAssessmentRunCommand"), exports);
69
77
  tslib_1.__exportStar(require("./StartReplicationTaskCommand"), exports);
78
+ tslib_1.__exportStar(require("./StopReplicationCommand"), exports);
70
79
  tslib_1.__exportStar(require("./StopReplicationTaskCommand"), exports);
71
80
  tslib_1.__exportStar(require("./TestConnectionCommand"), exports);
72
81
  tslib_1.__exportStar(require("./UpdateSubscriptionsToEventBridgeCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReleaseStatusValues = exports.VersionStatus = exports.CollectorStatus = exports.SourceType = exports.EndpointSettingTypeValue = exports.InvalidOperationFault = exports.CollectorNotFoundFault = exports.MigrationTypeValue = exports.StorageQuotaExceededFault = exports.ReplicationSubnetGroupDoesNotCoverEnoughAZs = exports.InvalidSubnet = exports.InsufficientResourceCapacityFault = 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.CharLengthSemantics = exports.AuthTypeValue = exports.AuthMechanismValue = exports.TlogAccessMode = exports.SafeguardPolicy = 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 = void 0;
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;
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 {
@@ -69,6 +69,10 @@ exports.KafkaSecurityProtocol = {
69
69
  SSL_AUTHENTICATION: "ssl-authentication",
70
70
  SSL_ENCRYPTION: "ssl-encryption",
71
71
  };
72
+ exports.KafkaSslEndpointIdentificationAlgorithm = {
73
+ HTTPS: "https",
74
+ NONE: "none",
75
+ };
72
76
  exports.SafeguardPolicy = {
73
77
  EXCLUSIVE_AUTOMATIC_TRUNCATION: "exclusive-automatic-truncation",
74
78
  RELY_ON_SQL_SERVER_REPLICATION_AGENT: "rely-on-sql-server-replication-agent",
@@ -94,6 +98,11 @@ exports.CharLengthSemantics = {
94
98
  CHAR: "char",
95
99
  DEFAULT: "default",
96
100
  };
101
+ exports.LongVarcharMappingType = {
102
+ CLOB: "clob",
103
+ NCLOB: "nclob",
104
+ WSTRING: "wstring",
105
+ };
97
106
  exports.PluginNameValue = {
98
107
  NO_PREFERENCE: "no-preference",
99
108
  PGLOGICAL: "pglogical",
@@ -315,19 +324,11 @@ class S3ResourceNotFoundFault extends DatabaseMigrationServiceServiceException_1
315
324
  }
316
325
  }
317
326
  exports.S3ResourceNotFoundFault = S3ResourceNotFoundFault;
318
- class InsufficientResourceCapacityFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
319
- constructor(opts) {
320
- super({
321
- name: "InsufficientResourceCapacityFault",
322
- $fault: "client",
323
- ...opts,
324
- });
325
- this.name = "InsufficientResourceCapacityFault";
326
- this.$fault = "client";
327
- Object.setPrototypeOf(this, InsufficientResourceCapacityFault.prototype);
328
- }
329
- }
330
- exports.InsufficientResourceCapacityFault = InsufficientResourceCapacityFault;
327
+ exports.MigrationTypeValue = {
328
+ CDC: "cdc",
329
+ FULL_LOAD: "full-load",
330
+ FULL_LOAD_AND_CDC: "full-load-and-cdc",
331
+ };
331
332
  class InvalidSubnet extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
332
333
  constructor(opts) {
333
334
  super({
@@ -354,6 +355,19 @@ class ReplicationSubnetGroupDoesNotCoverEnoughAZs extends DatabaseMigrationServi
354
355
  }
355
356
  }
356
357
  exports.ReplicationSubnetGroupDoesNotCoverEnoughAZs = ReplicationSubnetGroupDoesNotCoverEnoughAZs;
358
+ class InsufficientResourceCapacityFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
359
+ constructor(opts) {
360
+ super({
361
+ name: "InsufficientResourceCapacityFault",
362
+ $fault: "client",
363
+ ...opts,
364
+ });
365
+ this.name = "InsufficientResourceCapacityFault";
366
+ this.$fault = "client";
367
+ Object.setPrototypeOf(this, InsufficientResourceCapacityFault.prototype);
368
+ }
369
+ }
370
+ exports.InsufficientResourceCapacityFault = InsufficientResourceCapacityFault;
357
371
  class StorageQuotaExceededFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
358
372
  constructor(opts) {
359
373
  super({
@@ -367,11 +381,6 @@ class StorageQuotaExceededFault extends DatabaseMigrationServiceServiceException
367
381
  }
368
382
  }
369
383
  exports.StorageQuotaExceededFault = StorageQuotaExceededFault;
370
- exports.MigrationTypeValue = {
371
- CDC: "cdc",
372
- FULL_LOAD: "full-load",
373
- FULL_LOAD_AND_CDC: "full-load-and-cdc",
374
- };
375
384
  class CollectorNotFoundFault extends DatabaseMigrationServiceServiceException_1.DatabaseMigrationServiceServiceException {
376
385
  constructor(opts) {
377
386
  super({
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeReplicationConfigs = void 0;
4
+ const DescribeReplicationConfigsCommand_1 = require("../commands/DescribeReplicationConfigsCommand");
5
+ const DatabaseMigrationServiceClient_1 = require("../DatabaseMigrationServiceClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeReplicationConfigsCommand_1.DescribeReplicationConfigsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeReplicationConfigs(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.Marker = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof DatabaseMigrationServiceClient_1.DatabaseMigrationServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.Marker;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeReplicationConfigs = paginateDescribeReplicationConfigs;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeReplicationTableStatistics = void 0;
4
+ const DescribeReplicationTableStatisticsCommand_1 = require("../commands/DescribeReplicationTableStatisticsCommand");
5
+ const DatabaseMigrationServiceClient_1 = require("../DatabaseMigrationServiceClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeReplicationTableStatisticsCommand_1.DescribeReplicationTableStatisticsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeReplicationTableStatistics(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.Marker = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof DatabaseMigrationServiceClient_1.DatabaseMigrationServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.Marker;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeReplicationTableStatistics = paginateDescribeReplicationTableStatistics;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeReplications = void 0;
4
+ const DescribeReplicationsCommand_1 = require("../commands/DescribeReplicationsCommand");
5
+ const DatabaseMigrationServiceClient_1 = require("../DatabaseMigrationServiceClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeReplicationsCommand_1.DescribeReplicationsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeReplications(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.Marker = token;
15
+ input["MaxRecords"] = config.pageSize;
16
+ if (config.client instanceof DatabaseMigrationServiceClient_1.DatabaseMigrationServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.Marker;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeReplications = paginateDescribeReplications;
@@ -19,12 +19,15 @@ tslib_1.__exportStar(require("./DescribeOrderableReplicationInstancesPaginator")
19
19
  tslib_1.__exportStar(require("./DescribePendingMaintenanceActionsPaginator"), exports);
20
20
  tslib_1.__exportStar(require("./DescribeRecommendationLimitationsPaginator"), exports);
21
21
  tslib_1.__exportStar(require("./DescribeRecommendationsPaginator"), exports);
22
+ tslib_1.__exportStar(require("./DescribeReplicationConfigsPaginator"), exports);
22
23
  tslib_1.__exportStar(require("./DescribeReplicationInstanceTaskLogsPaginator"), exports);
23
24
  tslib_1.__exportStar(require("./DescribeReplicationInstancesPaginator"), exports);
24
25
  tslib_1.__exportStar(require("./DescribeReplicationSubnetGroupsPaginator"), exports);
26
+ tslib_1.__exportStar(require("./DescribeReplicationTableStatisticsPaginator"), exports);
25
27
  tslib_1.__exportStar(require("./DescribeReplicationTaskAssessmentResultsPaginator"), exports);
26
28
  tslib_1.__exportStar(require("./DescribeReplicationTaskAssessmentRunsPaginator"), exports);
27
29
  tslib_1.__exportStar(require("./DescribeReplicationTaskIndividualAssessmentsPaginator"), exports);
28
30
  tslib_1.__exportStar(require("./DescribeReplicationTasksPaginator"), exports);
31
+ tslib_1.__exportStar(require("./DescribeReplicationsPaginator"), exports);
29
32
  tslib_1.__exportStar(require("./DescribeSchemasPaginator"), exports);
30
33
  tslib_1.__exportStar(require("./DescribeTableStatisticsPaginator"), exports);