@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.
- package/CHANGELOG.md +16 -0
- package/dist-es/DatabaseMigrationService.js +262 -269
- package/dist-es/DatabaseMigrationServiceClient.js +22 -28
- package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
- package/dist-es/commands/CancelReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/CreateEndpointCommand.js +21 -28
- package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateFleetAdvisorCollectorCommand.js +21 -28
- package/dist-es/commands/CreateReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/CreateReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/CreateReplicationTaskCommand.js +21 -28
- package/dist-es/commands/DeleteCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteConnectionCommand.js +21 -28
- package/dist-es/commands/DeleteEndpointCommand.js +21 -28
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/DeleteFleetAdvisorCollectorCommand.js +22 -29
- package/dist-es/commands/DeleteFleetAdvisorDatabasesCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationTaskCommand.js +21 -28
- package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeApplicableIndividualAssessmentsCommand.js +21 -28
- package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionsCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointTypesCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
- package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
- package/dist-es/commands/DescribeEventsCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorCollectorsCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorDatabasesCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorSchemasCommand.js +21 -28
- package/dist-es/commands/DescribeOrderableReplicationInstancesCommand.js +21 -28
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
- package/dist-es/commands/DescribeRefreshSchemasStatusCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationInstanceTaskLogsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationInstancesCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationSubnetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskAssessmentResultsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskAssessmentRunsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTasksCommand.js +21 -28
- package/dist-es/commands/DescribeSchemasCommand.js +21 -28
- package/dist-es/commands/DescribeTableStatisticsCommand.js +21 -28
- package/dist-es/commands/ImportCertificateCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ModifyEndpointCommand.js +21 -28
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationTaskCommand.js +21 -28
- package/dist-es/commands/MoveReplicationTaskCommand.js +21 -28
- package/dist-es/commands/RebootReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/RefreshSchemasCommand.js +21 -28
- package/dist-es/commands/ReloadTablesCommand.js +21 -28
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
- package/dist-es/commands/RunFleetAdvisorLsaAnalysisCommand.js +22 -29
- package/dist-es/commands/StartReplicationTaskAssessmentCommand.js +21 -28
- package/dist-es/commands/StartReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/StartReplicationTaskCommand.js +21 -28
- package/dist-es/commands/StopReplicationTaskCommand.js +21 -28
- package/dist-es/commands/TestConnectionCommand.js +21 -28
- package/dist-es/commands/UpdateSubscriptionsToEventBridgeCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DatabaseMigrationServiceServiceException.js +5 -10
- package/dist-es/models/models_0.js +904 -471
- package/dist-es/pagination/DescribeApplicableIndividualAssessmentsPaginator.js +25 -68
- package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
- package/dist-es/pagination/DescribeConnectionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointSettingsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointTypesPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorCollectorsPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorDatabasesPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorLsaAnalysisPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorSchemaObjectSummaryPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorSchemasPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrderableReplicationInstancesPaginator.js +25 -68
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationInstanceTaskLogsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationInstancesPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationSubnetGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskAssessmentResultsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskAssessmentRunsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTasksPaginator.js +25 -68
- package/dist-es/pagination/DescribeSchemasPaginator.js +25 -68
- package/dist-es/pagination/DescribeTableStatisticsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +4646 -5431
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForEndpointDeleted.js +49 -90
- package/dist-es/waiters/waitForReplicationInstanceAvailable.js +92 -163
- package/dist-es/waiters/waitForReplicationInstanceDeleted.js +35 -66
- package/dist-es/waiters/waitForReplicationTaskDeleted.js +91 -162
- package/dist-es/waiters/waitForReplicationTaskReady.js +148 -259
- package/dist-es/waiters/waitForReplicationTaskRunning.js +148 -259
- package/dist-es/waiters/waitForReplicationTaskStopped.js +134 -235
- package/dist-es/waiters/waitForTestConnectionSucceeds.js +50 -91
- 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 { StartReplicationTaskAssessmentMessageFilterSensitiveLog, StartReplicationTaskAssessmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1StartReplicationTaskAssessmentCommand, serializeAws_json1_1StartReplicationTaskAssessmentCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class StartReplicationTaskAssessmentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "StartReplicationTaskAssessmentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: StartReplicationTaskAssessmentMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: StartReplicationTaskAssessmentResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
StartReplicationTaskAssessmentCommand.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_1StartReplicationTaskAssessmentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1StartReplicationTaskAssessmentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { StartReplicationTaskAssessmentCommand };
|
|
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 { StartReplicationTaskAssessmentRunMessageFilterSensitiveLog, StartReplicationTaskAssessmentRunResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1StartReplicationTaskAssessmentRunCommand, serializeAws_json1_1StartReplicationTaskAssessmentRunCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class StartReplicationTaskAssessmentRunCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "StartReplicationTaskAssessmentRunCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: StartReplicationTaskAssessmentRunMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: StartReplicationTaskAssessmentRunResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
StartReplicationTaskAssessmentRunCommand.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_1StartReplicationTaskAssessmentRunCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1StartReplicationTaskAssessmentRunCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { StartReplicationTaskAssessmentRunCommand };
|
|
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 { StartReplicationTaskMessageFilterSensitiveLog, StartReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1StartReplicationTaskCommand, serializeAws_json1_1StartReplicationTaskCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class StartReplicationTaskCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "StartReplicationTaskCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: StartReplicationTaskMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: StartReplicationTaskResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
StartReplicationTaskCommand.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_1StartReplicationTaskCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1StartReplicationTaskCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { StartReplicationTaskCommand };
|
|
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 { StopReplicationTaskMessageFilterSensitiveLog, StopReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1StopReplicationTaskCommand, serializeAws_json1_1StopReplicationTaskCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class StopReplicationTaskCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "StopReplicationTaskCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: StopReplicationTaskMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: StopReplicationTaskResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
StopReplicationTaskCommand.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_1StopReplicationTaskCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1StopReplicationTaskCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { StopReplicationTaskCommand };
|
|
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 { TestConnectionMessageFilterSensitiveLog, TestConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1TestConnectionCommand, serializeAws_json1_1TestConnectionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class TestConnectionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "TestConnectionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: TestConnectionMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: TestConnectionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
TestConnectionCommand.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_1TestConnectionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1TestConnectionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { TestConnectionCommand };
|
|
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 { UpdateSubscriptionsToEventBridgeMessageFilterSensitiveLog, UpdateSubscriptionsToEventBridgeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateSubscriptionsToEventBridgeCommand, serializeAws_json1_1UpdateSubscriptionsToEventBridgeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateSubscriptionsToEventBridgeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
15
|
+
const commandName = "UpdateSubscriptionsToEventBridgeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateSubscriptionsToEventBridgeMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateSubscriptionsToEventBridgeResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateSubscriptionsToEventBridgeCommand.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_1UpdateSubscriptionsToEventBridgeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateSubscriptionsToEventBridgeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateSubscriptionsToEventBridgeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -74,7 +73,7 @@ var regionHash = {
|
|
|
74
73
|
],
|
|
75
74
|
},
|
|
76
75
|
};
|
|
77
|
-
|
|
76
|
+
const partitionHash = {
|
|
78
77
|
aws: {
|
|
79
78
|
regions: [
|
|
80
79
|
"af-south-1",
|
|
@@ -200,8 +199,9 @@ var partitionHash = {
|
|
|
200
199
|
],
|
|
201
200
|
},
|
|
202
201
|
};
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
203
|
+
...options,
|
|
204
|
+
signingService: "dms",
|
|
205
|
+
regionHash,
|
|
206
|
+
partitionHash,
|
|
207
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, DatabaseMigrationServiceServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class DatabaseMigrationServiceServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, DatabaseMigrationServiceServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { DatabaseMigrationServiceServiceException };
|
|
7
|
+
}
|