@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,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 { DescribeAccountAttributesMessageFilterSensitiveLog, DescribeAccountAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAccountAttributesCommand, serializeAws_json1_1DescribeAccountAttributesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAccountAttributesCommand = (function (_super) {
7
- __extends(DescribeAccountAttributesCommand, _super);
8
- function DescribeAccountAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccountAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccountAttributesCommand.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 = "DescribeAccountAttributesCommand";
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 = "DescribeAccountAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAccountAttributesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAccountAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccountAttributesCommand.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_1DescribeAccountAttributesCommand(input, context);
33
- };
34
- DescribeAccountAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAccountAttributesCommand(output, context);
36
- };
37
- return DescribeAccountAttributesCommand;
38
- }($Command));
39
- export { DescribeAccountAttributesCommand };
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 { DescribeApplicableIndividualAssessmentsMessageFilterSensitiveLog, DescribeApplicableIndividualAssessmentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeApplicableIndividualAssessmentsCommand, serializeAws_json1_1DescribeApplicableIndividualAssessmentsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeApplicableIndividualAssessmentsCommand = (function (_super) {
7
- __extends(DescribeApplicableIndividualAssessmentsCommand, _super);
8
- function DescribeApplicableIndividualAssessmentsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeApplicableIndividualAssessmentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApplicableIndividualAssessmentsCommand.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 = "DescribeApplicableIndividualAssessmentsCommand";
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 = "DescribeApplicableIndividualAssessmentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeApplicableIndividualAssessmentsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeApplicableIndividualAssessmentsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeApplicableIndividualAssessmentsCommand.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_1DescribeApplicableIndividualAssessmentsCommand(input, context);
33
- };
34
- DescribeApplicableIndividualAssessmentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeApplicableIndividualAssessmentsCommand(output, context);
36
- };
37
- return DescribeApplicableIndividualAssessmentsCommand;
38
- }($Command));
39
- export { DescribeApplicableIndividualAssessmentsCommand };
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 { DescribeCertificatesMessageFilterSensitiveLog, DescribeCertificatesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeCertificatesCommand, serializeAws_json1_1DescribeCertificatesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeCertificatesCommand = (function (_super) {
7
- __extends(DescribeCertificatesCommand, _super);
8
- function DescribeCertificatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCertificatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCertificatesCommand.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 = "DescribeCertificatesCommand";
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 = "DescribeCertificatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCertificatesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCertificatesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCertificatesCommand.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_1DescribeCertificatesCommand(input, context);
33
- };
34
- DescribeCertificatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeCertificatesCommand(output, context);
36
- };
37
- return DescribeCertificatesCommand;
38
- }($Command));
39
- export { DescribeCertificatesCommand };
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 { DescribeConnectionsMessageFilterSensitiveLog, DescribeConnectionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeConnectionsCommand, serializeAws_json1_1DescribeConnectionsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeConnectionsCommand = (function (_super) {
7
- __extends(DescribeConnectionsCommand, _super);
8
- function DescribeConnectionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConnectionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConnectionsCommand.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 = "DescribeConnectionsCommand";
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 = "DescribeConnectionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConnectionsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConnectionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConnectionsCommand.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_1DescribeConnectionsCommand(input, context);
33
- };
34
- DescribeConnectionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeConnectionsCommand(output, context);
36
- };
37
- return DescribeConnectionsCommand;
38
- }($Command));
39
- export { DescribeConnectionsCommand };
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 { DescribeEndpointSettingsMessageFilterSensitiveLog, DescribeEndpointSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEndpointSettingsCommand, serializeAws_json1_1DescribeEndpointSettingsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEndpointSettingsCommand = (function (_super) {
7
- __extends(DescribeEndpointSettingsCommand, _super);
8
- function DescribeEndpointSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEndpointSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEndpointSettingsCommand.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 = "DescribeEndpointSettingsCommand";
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 = "DescribeEndpointSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEndpointSettingsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEndpointSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEndpointSettingsCommand.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_1DescribeEndpointSettingsCommand(input, context);
33
- };
34
- DescribeEndpointSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEndpointSettingsCommand(output, context);
36
- };
37
- return DescribeEndpointSettingsCommand;
38
- }($Command));
39
- export { DescribeEndpointSettingsCommand };
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 { DescribeEndpointTypesMessageFilterSensitiveLog, DescribeEndpointTypesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEndpointTypesCommand, serializeAws_json1_1DescribeEndpointTypesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEndpointTypesCommand = (function (_super) {
7
- __extends(DescribeEndpointTypesCommand, _super);
8
- function DescribeEndpointTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEndpointTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEndpointTypesCommand.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 = "DescribeEndpointTypesCommand";
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 = "DescribeEndpointTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEndpointTypesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEndpointTypesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEndpointTypesCommand.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_1DescribeEndpointTypesCommand(input, context);
33
- };
34
- DescribeEndpointTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEndpointTypesCommand(output, context);
36
- };
37
- return DescribeEndpointTypesCommand;
38
- }($Command));
39
- export { DescribeEndpointTypesCommand };
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 { DescribeEndpointsMessageFilterSensitiveLog, DescribeEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEndpointsCommand, serializeAws_json1_1DescribeEndpointsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEndpointsCommand = (function (_super) {
7
- __extends(DescribeEndpointsCommand, _super);
8
- function DescribeEndpointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEndpointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEndpointsCommand.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 = "DescribeEndpointsCommand";
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 = "DescribeEndpointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEndpointsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEndpointsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEndpointsCommand.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_1DescribeEndpointsCommand(input, context);
33
- };
34
- DescribeEndpointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEndpointsCommand(output, context);
36
- };
37
- return DescribeEndpointsCommand;
38
- }($Command));
39
- export { DescribeEndpointsCommand };
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 { DescribeEventCategoriesMessageFilterSensitiveLog, DescribeEventCategoriesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEventCategoriesCommand, serializeAws_json1_1DescribeEventCategoriesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEventCategoriesCommand = (function (_super) {
7
- __extends(DescribeEventCategoriesCommand, _super);
8
- function DescribeEventCategoriesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEventCategoriesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEventCategoriesCommand.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 = "DescribeEventCategoriesCommand";
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 = "DescribeEventCategoriesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEventCategoriesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEventCategoriesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEventCategoriesCommand.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_1DescribeEventCategoriesCommand(input, context);
33
- };
34
- DescribeEventCategoriesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEventCategoriesCommand(output, context);
36
- };
37
- return DescribeEventCategoriesCommand;
38
- }($Command));
39
- export { DescribeEventCategoriesCommand };
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 { DescribeEventSubscriptionsMessageFilterSensitiveLog, DescribeEventSubscriptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEventSubscriptionsCommand, serializeAws_json1_1DescribeEventSubscriptionsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEventSubscriptionsCommand = (function (_super) {
7
- __extends(DescribeEventSubscriptionsCommand, _super);
8
- function DescribeEventSubscriptionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEventSubscriptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEventSubscriptionsCommand.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 = "DescribeEventSubscriptionsCommand";
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 = "DescribeEventSubscriptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEventSubscriptionsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEventSubscriptionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEventSubscriptionsCommand.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_1DescribeEventSubscriptionsCommand(input, context);
33
- };
34
- DescribeEventSubscriptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEventSubscriptionsCommand(output, context);
36
- };
37
- return DescribeEventSubscriptionsCommand;
38
- }($Command));
39
- export { DescribeEventSubscriptionsCommand };
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 { DescribeEventsMessageFilterSensitiveLog, DescribeEventsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEventsCommand, serializeAws_json1_1DescribeEventsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEventsCommand = (function (_super) {
7
- __extends(DescribeEventsCommand, _super);
8
- function DescribeEventsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEventsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEventsCommand.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 = "DescribeEventsCommand";
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 = "DescribeEventsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEventsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEventsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEventsCommand.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_1DescribeEventsCommand(input, context);
33
- };
34
- DescribeEventsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEventsCommand(output, context);
36
- };
37
- return DescribeEventsCommand;
38
- }($Command));
39
- export { DescribeEventsCommand };
31
+ }
32
+ }