@aws-sdk/client-database-migration-service 3.185.0 → 3.188.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 (109) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/DatabaseMigrationService.js +262 -269
  3. package/dist-es/DatabaseMigrationServiceClient.js +22 -28
  4. package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
  5. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
  6. package/dist-es/commands/CancelReplicationTaskAssessmentRunCommand.js +21 -28
  7. package/dist-es/commands/CreateEndpointCommand.js +21 -28
  8. package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
  9. package/dist-es/commands/CreateFleetAdvisorCollectorCommand.js +21 -28
  10. package/dist-es/commands/CreateReplicationInstanceCommand.js +21 -28
  11. package/dist-es/commands/CreateReplicationSubnetGroupCommand.js +21 -28
  12. package/dist-es/commands/CreateReplicationTaskCommand.js +21 -28
  13. package/dist-es/commands/DeleteCertificateCommand.js +21 -28
  14. package/dist-es/commands/DeleteConnectionCommand.js +21 -28
  15. package/dist-es/commands/DeleteEndpointCommand.js +21 -28
  16. package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
  17. package/dist-es/commands/DeleteFleetAdvisorCollectorCommand.js +22 -29
  18. package/dist-es/commands/DeleteFleetAdvisorDatabasesCommand.js +21 -28
  19. package/dist-es/commands/DeleteReplicationInstanceCommand.js +21 -28
  20. package/dist-es/commands/DeleteReplicationSubnetGroupCommand.js +21 -28
  21. package/dist-es/commands/DeleteReplicationTaskAssessmentRunCommand.js +21 -28
  22. package/dist-es/commands/DeleteReplicationTaskCommand.js +21 -28
  23. package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
  24. package/dist-es/commands/DescribeApplicableIndividualAssessmentsCommand.js +21 -28
  25. package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
  26. package/dist-es/commands/DescribeConnectionsCommand.js +21 -28
  27. package/dist-es/commands/DescribeEndpointSettingsCommand.js +21 -28
  28. package/dist-es/commands/DescribeEndpointTypesCommand.js +21 -28
  29. package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
  30. package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
  31. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
  32. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  33. package/dist-es/commands/DescribeFleetAdvisorCollectorsCommand.js +21 -28
  34. package/dist-es/commands/DescribeFleetAdvisorDatabasesCommand.js +21 -28
  35. package/dist-es/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +21 -28
  36. package/dist-es/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +21 -28
  37. package/dist-es/commands/DescribeFleetAdvisorSchemasCommand.js +21 -28
  38. package/dist-es/commands/DescribeOrderableReplicationInstancesCommand.js +21 -28
  39. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
  40. package/dist-es/commands/DescribeRefreshSchemasStatusCommand.js +21 -28
  41. package/dist-es/commands/DescribeReplicationInstanceTaskLogsCommand.js +21 -28
  42. package/dist-es/commands/DescribeReplicationInstancesCommand.js +21 -28
  43. package/dist-es/commands/DescribeReplicationSubnetGroupsCommand.js +21 -28
  44. package/dist-es/commands/DescribeReplicationTaskAssessmentResultsCommand.js +21 -28
  45. package/dist-es/commands/DescribeReplicationTaskAssessmentRunsCommand.js +21 -28
  46. package/dist-es/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +21 -28
  47. package/dist-es/commands/DescribeReplicationTasksCommand.js +21 -28
  48. package/dist-es/commands/DescribeSchemasCommand.js +21 -28
  49. package/dist-es/commands/DescribeTableStatisticsCommand.js +21 -28
  50. package/dist-es/commands/ImportCertificateCommand.js +21 -28
  51. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  52. package/dist-es/commands/ModifyEndpointCommand.js +21 -28
  53. package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
  54. package/dist-es/commands/ModifyReplicationInstanceCommand.js +21 -28
  55. package/dist-es/commands/ModifyReplicationSubnetGroupCommand.js +21 -28
  56. package/dist-es/commands/ModifyReplicationTaskCommand.js +21 -28
  57. package/dist-es/commands/MoveReplicationTaskCommand.js +21 -28
  58. package/dist-es/commands/RebootReplicationInstanceCommand.js +21 -28
  59. package/dist-es/commands/RefreshSchemasCommand.js +21 -28
  60. package/dist-es/commands/ReloadTablesCommand.js +21 -28
  61. package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
  62. package/dist-es/commands/RunFleetAdvisorLsaAnalysisCommand.js +22 -29
  63. package/dist-es/commands/StartReplicationTaskAssessmentCommand.js +21 -28
  64. package/dist-es/commands/StartReplicationTaskAssessmentRunCommand.js +21 -28
  65. package/dist-es/commands/StartReplicationTaskCommand.js +21 -28
  66. package/dist-es/commands/StopReplicationTaskCommand.js +21 -28
  67. package/dist-es/commands/TestConnectionCommand.js +21 -28
  68. package/dist-es/commands/UpdateSubscriptionsToEventBridgeCommand.js +21 -28
  69. package/dist-es/endpoints.js +8 -8
  70. package/dist-es/models/DatabaseMigrationServiceServiceException.js +5 -10
  71. package/dist-es/models/models_0.js +904 -471
  72. package/dist-es/pagination/DescribeApplicableIndividualAssessmentsPaginator.js +25 -68
  73. package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
  74. package/dist-es/pagination/DescribeConnectionsPaginator.js +25 -68
  75. package/dist-es/pagination/DescribeEndpointSettingsPaginator.js +25 -68
  76. package/dist-es/pagination/DescribeEndpointTypesPaginator.js +25 -68
  77. package/dist-es/pagination/DescribeEndpointsPaginator.js +25 -68
  78. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
  79. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  80. package/dist-es/pagination/DescribeFleetAdvisorCollectorsPaginator.js +25 -68
  81. package/dist-es/pagination/DescribeFleetAdvisorDatabasesPaginator.js +25 -68
  82. package/dist-es/pagination/DescribeFleetAdvisorLsaAnalysisPaginator.js +25 -68
  83. package/dist-es/pagination/DescribeFleetAdvisorSchemaObjectSummaryPaginator.js +25 -68
  84. package/dist-es/pagination/DescribeFleetAdvisorSchemasPaginator.js +25 -68
  85. package/dist-es/pagination/DescribeOrderableReplicationInstancesPaginator.js +25 -68
  86. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
  87. package/dist-es/pagination/DescribeReplicationInstanceTaskLogsPaginator.js +25 -68
  88. package/dist-es/pagination/DescribeReplicationInstancesPaginator.js +25 -68
  89. package/dist-es/pagination/DescribeReplicationSubnetGroupsPaginator.js +25 -68
  90. package/dist-es/pagination/DescribeReplicationTaskAssessmentResultsPaginator.js +25 -68
  91. package/dist-es/pagination/DescribeReplicationTaskAssessmentRunsPaginator.js +25 -68
  92. package/dist-es/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.js +25 -68
  93. package/dist-es/pagination/DescribeReplicationTasksPaginator.js +25 -68
  94. package/dist-es/pagination/DescribeSchemasPaginator.js +25 -68
  95. package/dist-es/pagination/DescribeTableStatisticsPaginator.js +25 -68
  96. package/dist-es/protocols/Aws_json1_1.js +4646 -5431
  97. package/dist-es/runtimeConfig.browser.js +26 -12
  98. package/dist-es/runtimeConfig.js +30 -12
  99. package/dist-es/runtimeConfig.native.js +8 -5
  100. package/dist-es/runtimeConfig.shared.js +8 -11
  101. package/dist-es/waiters/waitForEndpointDeleted.js +49 -90
  102. package/dist-es/waiters/waitForReplicationInstanceAvailable.js +92 -163
  103. package/dist-es/waiters/waitForReplicationInstanceDeleted.js +35 -66
  104. package/dist-es/waiters/waitForReplicationTaskDeleted.js +91 -162
  105. package/dist-es/waiters/waitForReplicationTaskReady.js +148 -259
  106. package/dist-es/waiters/waitForReplicationTaskRunning.js +148 -259
  107. package/dist-es/waiters/waitForReplicationTaskStopped.js +134 -235
  108. package/dist-es/waiters/waitForTestConnectionSucceeds.js +50 -91
  109. package/package.json +34 -34
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var DatabaseMigrationServiceClient = (function (_super) {
13
- __extends(DatabaseMigrationServiceClient, _super);
14
- function DatabaseMigrationServiceClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class DatabaseMigrationServiceClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- DatabaseMigrationServiceClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return DatabaseMigrationServiceClient;
38
- }(__Client));
39
- export { DatabaseMigrationServiceClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AddTagsToResourceMessageFilterSensitiveLog, AddTagsToResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AddTagsToResourceCommand, serializeAws_json1_1AddTagsToResourceCommand, } from "../protocols/Aws_json1_1";
6
- var AddTagsToResourceCommand = (function (_super) {
7
- __extends(AddTagsToResourceCommand, _super);
8
- function AddTagsToResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddTagsToResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddTagsToResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "AddTagsToResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "AddTagsToResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddTagsToResourceMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddTagsToResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddTagsToResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AddTagsToResourceCommand(input, context);
33
- };
34
- AddTagsToResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AddTagsToResourceCommand(output, context);
36
- };
37
- return AddTagsToResourceCommand;
38
- }($Command));
39
- export { AddTagsToResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ApplyPendingMaintenanceActionMessageFilterSensitiveLog, ApplyPendingMaintenanceActionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ApplyPendingMaintenanceActionCommand, serializeAws_json1_1ApplyPendingMaintenanceActionCommand, } from "../protocols/Aws_json1_1";
6
- var ApplyPendingMaintenanceActionCommand = (function (_super) {
7
- __extends(ApplyPendingMaintenanceActionCommand, _super);
8
- function ApplyPendingMaintenanceActionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ApplyPendingMaintenanceActionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ApplyPendingMaintenanceActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "ApplyPendingMaintenanceActionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "ApplyPendingMaintenanceActionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ApplyPendingMaintenanceActionMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplyPendingMaintenanceActionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ApplyPendingMaintenanceActionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ApplyPendingMaintenanceActionCommand(input, context);
33
- };
34
- ApplyPendingMaintenanceActionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ApplyPendingMaintenanceActionCommand(output, context);
36
- };
37
- return ApplyPendingMaintenanceActionCommand;
38
- }($Command));
39
- export { ApplyPendingMaintenanceActionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelReplicationTaskAssessmentRunMessageFilterSensitiveLog, CancelReplicationTaskAssessmentRunResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CancelReplicationTaskAssessmentRunCommand, serializeAws_json1_1CancelReplicationTaskAssessmentRunCommand, } from "../protocols/Aws_json1_1";
6
- var CancelReplicationTaskAssessmentRunCommand = (function (_super) {
7
- __extends(CancelReplicationTaskAssessmentRunCommand, _super);
8
- function CancelReplicationTaskAssessmentRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelReplicationTaskAssessmentRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelReplicationTaskAssessmentRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CancelReplicationTaskAssessmentRunCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CancelReplicationTaskAssessmentRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelReplicationTaskAssessmentRunMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelReplicationTaskAssessmentRunResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelReplicationTaskAssessmentRunCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CancelReplicationTaskAssessmentRunCommand(input, context);
33
- };
34
- CancelReplicationTaskAssessmentRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CancelReplicationTaskAssessmentRunCommand(output, context);
36
- };
37
- return CancelReplicationTaskAssessmentRunCommand;
38
- }($Command));
39
- export { CancelReplicationTaskAssessmentRunCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateEndpointMessageFilterSensitiveLog, CreateEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateEndpointCommand, serializeAws_json1_1CreateEndpointCommand, } from "../protocols/Aws_json1_1";
6
- var CreateEndpointCommand = (function (_super) {
7
- __extends(CreateEndpointCommand, _super);
8
- function CreateEndpointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateEndpointCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateEndpointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateEndpointMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateEndpointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateEndpointCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateEndpointCommand(input, context);
33
- };
34
- CreateEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateEndpointCommand(output, context);
36
- };
37
- return CreateEndpointCommand;
38
- }($Command));
39
- export { CreateEndpointCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateEventSubscriptionMessageFilterSensitiveLog, CreateEventSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateEventSubscriptionCommand, serializeAws_json1_1CreateEventSubscriptionCommand, } from "../protocols/Aws_json1_1";
6
- var CreateEventSubscriptionCommand = (function (_super) {
7
- __extends(CreateEventSubscriptionCommand, _super);
8
- function CreateEventSubscriptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateEventSubscriptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateEventSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateEventSubscriptionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateEventSubscriptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateEventSubscriptionMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateEventSubscriptionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateEventSubscriptionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateEventSubscriptionCommand(input, context);
33
- };
34
- CreateEventSubscriptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateEventSubscriptionCommand(output, context);
36
- };
37
- return CreateEventSubscriptionCommand;
38
- }($Command));
39
- export { CreateEventSubscriptionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateFleetAdvisorCollectorRequestFilterSensitiveLog, CreateFleetAdvisorCollectorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateFleetAdvisorCollectorCommand, serializeAws_json1_1CreateFleetAdvisorCollectorCommand, } from "../protocols/Aws_json1_1";
6
- var CreateFleetAdvisorCollectorCommand = (function (_super) {
7
- __extends(CreateFleetAdvisorCollectorCommand, _super);
8
- function CreateFleetAdvisorCollectorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFleetAdvisorCollectorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFleetAdvisorCollectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateFleetAdvisorCollectorCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateFleetAdvisorCollectorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFleetAdvisorCollectorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFleetAdvisorCollectorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFleetAdvisorCollectorCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateFleetAdvisorCollectorCommand(input, context);
33
- };
34
- CreateFleetAdvisorCollectorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateFleetAdvisorCollectorCommand(output, context);
36
- };
37
- return CreateFleetAdvisorCollectorCommand;
38
- }($Command));
39
- export { CreateFleetAdvisorCollectorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateReplicationInstanceMessageFilterSensitiveLog, CreateReplicationInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateReplicationInstanceCommand, serializeAws_json1_1CreateReplicationInstanceCommand, } from "../protocols/Aws_json1_1";
6
- var CreateReplicationInstanceCommand = (function (_super) {
7
- __extends(CreateReplicationInstanceCommand, _super);
8
- function CreateReplicationInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateReplicationInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReplicationInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateReplicationInstanceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateReplicationInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReplicationInstanceMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateReplicationInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateReplicationInstanceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateReplicationInstanceCommand(input, context);
33
- };
34
- CreateReplicationInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateReplicationInstanceCommand(output, context);
36
- };
37
- return CreateReplicationInstanceCommand;
38
- }($Command));
39
- export { CreateReplicationInstanceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateReplicationSubnetGroupMessageFilterSensitiveLog, CreateReplicationSubnetGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateReplicationSubnetGroupCommand, serializeAws_json1_1CreateReplicationSubnetGroupCommand, } from "../protocols/Aws_json1_1";
6
- var CreateReplicationSubnetGroupCommand = (function (_super) {
7
- __extends(CreateReplicationSubnetGroupCommand, _super);
8
- function CreateReplicationSubnetGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateReplicationSubnetGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReplicationSubnetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateReplicationSubnetGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateReplicationSubnetGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReplicationSubnetGroupMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateReplicationSubnetGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateReplicationSubnetGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateReplicationSubnetGroupCommand(input, context);
33
- };
34
- CreateReplicationSubnetGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateReplicationSubnetGroupCommand(output, context);
36
- };
37
- return CreateReplicationSubnetGroupCommand;
38
- }($Command));
39
- export { CreateReplicationSubnetGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateReplicationTaskMessageFilterSensitiveLog, CreateReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateReplicationTaskCommand, serializeAws_json1_1CreateReplicationTaskCommand, } from "../protocols/Aws_json1_1";
6
- var CreateReplicationTaskCommand = (function (_super) {
7
- __extends(CreateReplicationTaskCommand, _super);
8
- function CreateReplicationTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateReplicationTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReplicationTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DatabaseMigrationServiceClient";
18
- var commandName = "CreateReplicationTaskCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DatabaseMigrationServiceClient";
15
+ const commandName = "CreateReplicationTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReplicationTaskMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateReplicationTaskResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateReplicationTaskCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateReplicationTaskCommand(input, context);
33
- };
34
- CreateReplicationTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateReplicationTaskCommand(output, context);
36
- };
37
- return CreateReplicationTaskCommand;
38
- }($Command));
39
- export { CreateReplicationTaskCommand };
31
+ }
32
+ }