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