@aws-sdk/client-database-migration-service 3.181.0 → 3.183.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 +8 -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,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 { DeleteCertificateMessageFilterSensitiveLog, DeleteCertificateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCertificateCommand, serializeAws_json1_1DeleteCertificateCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCertificateCommand = (function (_super) {
7
- __extends(DeleteCertificateCommand, _super);
8
- function DeleteCertificateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCertificateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCertificateCommand.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 = "DeleteCertificateCommand";
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 = "DeleteCertificateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCertificateMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteCertificateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCertificateCommand.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_1DeleteCertificateCommand(input, context);
33
- };
34
- DeleteCertificateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCertificateCommand(output, context);
36
- };
37
- return DeleteCertificateCommand;
38
- }($Command));
39
- export { DeleteCertificateCommand };
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 { DeleteConnectionMessageFilterSensitiveLog, DeleteConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteConnectionCommand, serializeAws_json1_1DeleteConnectionCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteConnectionCommand = (function (_super) {
7
- __extends(DeleteConnectionCommand, _super);
8
- function DeleteConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConnectionCommand.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 = "DeleteConnectionCommand";
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 = "DeleteConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConnectionMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConnectionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConnectionCommand.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_1DeleteConnectionCommand(input, context);
33
- };
34
- DeleteConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteConnectionCommand(output, context);
36
- };
37
- return DeleteConnectionCommand;
38
- }($Command));
39
- export { DeleteConnectionCommand };
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 { DeleteEndpointMessageFilterSensitiveLog, DeleteEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEndpointCommand, serializeAws_json1_1DeleteEndpointCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteEndpointCommand = (function (_super) {
7
- __extends(DeleteEndpointCommand, _super);
8
- function DeleteEndpointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEndpointCommand.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 = "DeleteEndpointCommand";
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 = "DeleteEndpointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEndpointMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteEndpointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteEndpointCommand.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_1DeleteEndpointCommand(input, context);
33
- };
34
- DeleteEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEndpointCommand(output, context);
36
- };
37
- return DeleteEndpointCommand;
38
- }($Command));
39
- export { DeleteEndpointCommand };
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 { DeleteEventSubscriptionMessageFilterSensitiveLog, DeleteEventSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEventSubscriptionCommand, serializeAws_json1_1DeleteEventSubscriptionCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteEventSubscriptionCommand = (function (_super) {
7
- __extends(DeleteEventSubscriptionCommand, _super);
8
- function DeleteEventSubscriptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteEventSubscriptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEventSubscriptionCommand.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 = "DeleteEventSubscriptionCommand";
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 = "DeleteEventSubscriptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEventSubscriptionMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteEventSubscriptionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteEventSubscriptionCommand.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_1DeleteEventSubscriptionCommand(input, context);
33
- };
34
- DeleteEventSubscriptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEventSubscriptionCommand(output, context);
36
- };
37
- return DeleteEventSubscriptionCommand;
38
- }($Command));
39
- export { DeleteEventSubscriptionCommand };
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 { DeleteCollectorRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFleetAdvisorCollectorCommand, serializeAws_json1_1DeleteFleetAdvisorCollectorCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFleetAdvisorCollectorCommand = (function (_super) {
7
- __extends(DeleteFleetAdvisorCollectorCommand, _super);
8
- function DeleteFleetAdvisorCollectorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFleetAdvisorCollectorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFleetAdvisorCollectorCommand.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 = "DeleteFleetAdvisorCollectorCommand";
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 = "DeleteFleetAdvisorCollectorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCollectorRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFleetAdvisorCollectorCommand.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_1DeleteFleetAdvisorCollectorCommand(input, context);
33
- };
34
- DeleteFleetAdvisorCollectorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFleetAdvisorCollectorCommand(output, context);
36
- };
37
- return DeleteFleetAdvisorCollectorCommand;
38
- }($Command));
39
- export { DeleteFleetAdvisorCollectorCommand };
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 { DeleteFleetAdvisorDatabasesRequestFilterSensitiveLog, DeleteFleetAdvisorDatabasesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFleetAdvisorDatabasesCommand, serializeAws_json1_1DeleteFleetAdvisorDatabasesCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFleetAdvisorDatabasesCommand = (function (_super) {
7
- __extends(DeleteFleetAdvisorDatabasesCommand, _super);
8
- function DeleteFleetAdvisorDatabasesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFleetAdvisorDatabasesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFleetAdvisorDatabasesCommand.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 = "DeleteFleetAdvisorDatabasesCommand";
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 = "DeleteFleetAdvisorDatabasesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFleetAdvisorDatabasesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFleetAdvisorDatabasesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFleetAdvisorDatabasesCommand.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_1DeleteFleetAdvisorDatabasesCommand(input, context);
33
- };
34
- DeleteFleetAdvisorDatabasesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFleetAdvisorDatabasesCommand(output, context);
36
- };
37
- return DeleteFleetAdvisorDatabasesCommand;
38
- }($Command));
39
- export { DeleteFleetAdvisorDatabasesCommand };
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 { DeleteReplicationInstanceMessageFilterSensitiveLog, DeleteReplicationInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteReplicationInstanceCommand, serializeAws_json1_1DeleteReplicationInstanceCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteReplicationInstanceCommand = (function (_super) {
7
- __extends(DeleteReplicationInstanceCommand, _super);
8
- function DeleteReplicationInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReplicationInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationInstanceCommand.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 = "DeleteReplicationInstanceCommand";
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 = "DeleteReplicationInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationInstanceMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReplicationInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReplicationInstanceCommand.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_1DeleteReplicationInstanceCommand(input, context);
33
- };
34
- DeleteReplicationInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteReplicationInstanceCommand(output, context);
36
- };
37
- return DeleteReplicationInstanceCommand;
38
- }($Command));
39
- export { DeleteReplicationInstanceCommand };
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 { DeleteReplicationSubnetGroupMessageFilterSensitiveLog, DeleteReplicationSubnetGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteReplicationSubnetGroupCommand, serializeAws_json1_1DeleteReplicationSubnetGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteReplicationSubnetGroupCommand = (function (_super) {
7
- __extends(DeleteReplicationSubnetGroupCommand, _super);
8
- function DeleteReplicationSubnetGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReplicationSubnetGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationSubnetGroupCommand.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 = "DeleteReplicationSubnetGroupCommand";
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 = "DeleteReplicationSubnetGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationSubnetGroupMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReplicationSubnetGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReplicationSubnetGroupCommand.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_1DeleteReplicationSubnetGroupCommand(input, context);
33
- };
34
- DeleteReplicationSubnetGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteReplicationSubnetGroupCommand(output, context);
36
- };
37
- return DeleteReplicationSubnetGroupCommand;
38
- }($Command));
39
- export { DeleteReplicationSubnetGroupCommand };
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 { DeleteReplicationTaskAssessmentRunMessageFilterSensitiveLog, DeleteReplicationTaskAssessmentRunResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteReplicationTaskAssessmentRunCommand, serializeAws_json1_1DeleteReplicationTaskAssessmentRunCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteReplicationTaskAssessmentRunCommand = (function (_super) {
7
- __extends(DeleteReplicationTaskAssessmentRunCommand, _super);
8
- function DeleteReplicationTaskAssessmentRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReplicationTaskAssessmentRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationTaskAssessmentRunCommand.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 = "DeleteReplicationTaskAssessmentRunCommand";
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 = "DeleteReplicationTaskAssessmentRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationTaskAssessmentRunMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReplicationTaskAssessmentRunResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReplicationTaskAssessmentRunCommand.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_1DeleteReplicationTaskAssessmentRunCommand(input, context);
33
- };
34
- DeleteReplicationTaskAssessmentRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteReplicationTaskAssessmentRunCommand(output, context);
36
- };
37
- return DeleteReplicationTaskAssessmentRunCommand;
38
- }($Command));
39
- export { DeleteReplicationTaskAssessmentRunCommand };
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 { DeleteReplicationTaskMessageFilterSensitiveLog, DeleteReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteReplicationTaskCommand, serializeAws_json1_1DeleteReplicationTaskCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteReplicationTaskCommand = (function (_super) {
7
- __extends(DeleteReplicationTaskCommand, _super);
8
- function DeleteReplicationTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReplicationTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationTaskCommand.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 = "DeleteReplicationTaskCommand";
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 = "DeleteReplicationTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationTaskMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReplicationTaskResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReplicationTaskCommand.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_1DeleteReplicationTaskCommand(input, context);
33
- };
34
- DeleteReplicationTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteReplicationTaskCommand(output, context);
36
- };
37
- return DeleteReplicationTaskCommand;
38
- }($Command));
39
- export { DeleteReplicationTaskCommand };
31
+ }
32
+ }