@aws-sdk/client-database-migration-service 3.363.0 → 3.368.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/README.md +72 -0
- package/dist-cjs/DatabaseMigrationService.js +18 -0
- package/dist-cjs/commands/CreateReplicationConfigCommand.js +46 -0
- package/dist-cjs/commands/DeleteReplicationConfigCommand.js +46 -0
- package/dist-cjs/commands/DescribeReplicationConfigsCommand.js +46 -0
- package/dist-cjs/commands/DescribeReplicationTableStatisticsCommand.js +46 -0
- package/dist-cjs/commands/DescribeReplicationsCommand.js +46 -0
- package/dist-cjs/commands/ModifyReplicationConfigCommand.js +46 -0
- package/dist-cjs/commands/ReloadReplicationTablesCommand.js +46 -0
- package/dist-cjs/commands/StartReplicationCommand.js +46 -0
- package/dist-cjs/commands/StopReplicationCommand.js +46 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +29 -20
- package/dist-cjs/pagination/DescribeReplicationConfigsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeReplicationTableStatisticsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeReplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +565 -3
- package/dist-es/DatabaseMigrationService.js +18 -0
- package/dist-es/commands/CreateReplicationConfigCommand.js +42 -0
- package/dist-es/commands/DeleteReplicationConfigCommand.js +42 -0
- package/dist-es/commands/DescribeReplicationConfigsCommand.js +42 -0
- package/dist-es/commands/DescribeReplicationTableStatisticsCommand.js +42 -0
- package/dist-es/commands/DescribeReplicationsCommand.js +42 -0
- package/dist-es/commands/ModifyReplicationConfigCommand.js +42 -0
- package/dist-es/commands/ReloadReplicationTablesCommand.js +42 -0
- package/dist-es/commands/StartReplicationCommand.js +42 -0
- package/dist-es/commands/StopReplicationCommand.js +42 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +26 -17
- package/dist-es/pagination/DescribeReplicationConfigsPaginator.js +25 -0
- package/dist-es/pagination/DescribeReplicationTableStatisticsPaginator.js +25 -0
- package/dist-es/pagination/DescribeReplicationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +543 -0
- package/dist-types/DatabaseMigrationService.d.ts +63 -0
- package/dist-types/DatabaseMigrationServiceClient.d.ts +11 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +30 -0
- package/dist-types/commands/CreateReplicationConfigCommand.d.ts +151 -0
- package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +5 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +15 -0
- package/dist-types/commands/DeleteReplicationConfigCommand.d.ts +109 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationConfigsCommand.d.ts +112 -0
- package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +118 -0
- package/dist-types/commands/DescribeReplicationsCommand.d.ts +129 -0
- package/dist-types/commands/ModifyEndpointCommand.d.ts +30 -0
- package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +143 -0
- package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +89 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +130 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +1235 -344
- package/dist-types/pagination/DescribeReplicationConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeReplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
- package/dist-types/ts3.4/DatabaseMigrationService.d.ts +159 -0
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateReplicationConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteReplicationConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeReplicationConfigsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeReplicationTableStatisticsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeReplicationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +235 -47
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeReplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { CancelReplicationTaskAssessmentRunCommand, } from "./commands/CancelRep
|
|
|
6
6
|
import { CreateEndpointCommand, } from "./commands/CreateEndpointCommand";
|
|
7
7
|
import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscriptionCommand";
|
|
8
8
|
import { CreateFleetAdvisorCollectorCommand, } from "./commands/CreateFleetAdvisorCollectorCommand";
|
|
9
|
+
import { CreateReplicationConfigCommand, } from "./commands/CreateReplicationConfigCommand";
|
|
9
10
|
import { CreateReplicationInstanceCommand, } from "./commands/CreateReplicationInstanceCommand";
|
|
10
11
|
import { CreateReplicationSubnetGroupCommand, } from "./commands/CreateReplicationSubnetGroupCommand";
|
|
11
12
|
import { CreateReplicationTaskCommand, } from "./commands/CreateReplicationTaskCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteEndpointCommand, } from "./commands/DeleteEndpointCommand";
|
|
|
15
16
|
import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscriptionCommand";
|
|
16
17
|
import { DeleteFleetAdvisorCollectorCommand, } from "./commands/DeleteFleetAdvisorCollectorCommand";
|
|
17
18
|
import { DeleteFleetAdvisorDatabasesCommand, } from "./commands/DeleteFleetAdvisorDatabasesCommand";
|
|
19
|
+
import { DeleteReplicationConfigCommand, } from "./commands/DeleteReplicationConfigCommand";
|
|
18
20
|
import { DeleteReplicationInstanceCommand, } from "./commands/DeleteReplicationInstanceCommand";
|
|
19
21
|
import { DeleteReplicationSubnetGroupCommand, } from "./commands/DeleteReplicationSubnetGroupCommand";
|
|
20
22
|
import { DeleteReplicationTaskAssessmentRunCommand, } from "./commands/DeleteReplicationTaskAssessmentRunCommand";
|
|
@@ -39,9 +41,12 @@ import { DescribePendingMaintenanceActionsCommand, } from "./commands/DescribePe
|
|
|
39
41
|
import { DescribeRecommendationLimitationsCommand, } from "./commands/DescribeRecommendationLimitationsCommand";
|
|
40
42
|
import { DescribeRecommendationsCommand, } from "./commands/DescribeRecommendationsCommand";
|
|
41
43
|
import { DescribeRefreshSchemasStatusCommand, } from "./commands/DescribeRefreshSchemasStatusCommand";
|
|
44
|
+
import { DescribeReplicationConfigsCommand, } from "./commands/DescribeReplicationConfigsCommand";
|
|
42
45
|
import { DescribeReplicationInstancesCommand, } from "./commands/DescribeReplicationInstancesCommand";
|
|
43
46
|
import { DescribeReplicationInstanceTaskLogsCommand, } from "./commands/DescribeReplicationInstanceTaskLogsCommand";
|
|
47
|
+
import { DescribeReplicationsCommand, } from "./commands/DescribeReplicationsCommand";
|
|
44
48
|
import { DescribeReplicationSubnetGroupsCommand, } from "./commands/DescribeReplicationSubnetGroupsCommand";
|
|
49
|
+
import { DescribeReplicationTableStatisticsCommand, } from "./commands/DescribeReplicationTableStatisticsCommand";
|
|
45
50
|
import { DescribeReplicationTaskAssessmentResultsCommand, } from "./commands/DescribeReplicationTaskAssessmentResultsCommand";
|
|
46
51
|
import { DescribeReplicationTaskAssessmentRunsCommand, } from "./commands/DescribeReplicationTaskAssessmentRunsCommand";
|
|
47
52
|
import { DescribeReplicationTaskIndividualAssessmentsCommand, } from "./commands/DescribeReplicationTaskIndividualAssessmentsCommand";
|
|
@@ -52,19 +57,23 @@ import { ImportCertificateCommand, } from "./commands/ImportCertificateCommand";
|
|
|
52
57
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
53
58
|
import { ModifyEndpointCommand, } from "./commands/ModifyEndpointCommand";
|
|
54
59
|
import { ModifyEventSubscriptionCommand, } from "./commands/ModifyEventSubscriptionCommand";
|
|
60
|
+
import { ModifyReplicationConfigCommand, } from "./commands/ModifyReplicationConfigCommand";
|
|
55
61
|
import { ModifyReplicationInstanceCommand, } from "./commands/ModifyReplicationInstanceCommand";
|
|
56
62
|
import { ModifyReplicationSubnetGroupCommand, } from "./commands/ModifyReplicationSubnetGroupCommand";
|
|
57
63
|
import { ModifyReplicationTaskCommand, } from "./commands/ModifyReplicationTaskCommand";
|
|
58
64
|
import { MoveReplicationTaskCommand, } from "./commands/MoveReplicationTaskCommand";
|
|
59
65
|
import { RebootReplicationInstanceCommand, } from "./commands/RebootReplicationInstanceCommand";
|
|
60
66
|
import { RefreshSchemasCommand, } from "./commands/RefreshSchemasCommand";
|
|
67
|
+
import { ReloadReplicationTablesCommand, } from "./commands/ReloadReplicationTablesCommand";
|
|
61
68
|
import { ReloadTablesCommand, } from "./commands/ReloadTablesCommand";
|
|
62
69
|
import { RemoveTagsFromResourceCommand, } from "./commands/RemoveTagsFromResourceCommand";
|
|
63
70
|
import { RunFleetAdvisorLsaAnalysisCommand, } from "./commands/RunFleetAdvisorLsaAnalysisCommand";
|
|
64
71
|
import { StartRecommendationsCommand, } from "./commands/StartRecommendationsCommand";
|
|
72
|
+
import { StartReplicationCommand, } from "./commands/StartReplicationCommand";
|
|
65
73
|
import { StartReplicationTaskAssessmentCommand, } from "./commands/StartReplicationTaskAssessmentCommand";
|
|
66
74
|
import { StartReplicationTaskAssessmentRunCommand, } from "./commands/StartReplicationTaskAssessmentRunCommand";
|
|
67
75
|
import { StartReplicationTaskCommand, } from "./commands/StartReplicationTaskCommand";
|
|
76
|
+
import { StopReplicationCommand, } from "./commands/StopReplicationCommand";
|
|
68
77
|
import { StopReplicationTaskCommand, } from "./commands/StopReplicationTaskCommand";
|
|
69
78
|
import { TestConnectionCommand, } from "./commands/TestConnectionCommand";
|
|
70
79
|
import { UpdateSubscriptionsToEventBridgeCommand, } from "./commands/UpdateSubscriptionsToEventBridgeCommand";
|
|
@@ -77,6 +86,7 @@ const commands = {
|
|
|
77
86
|
CreateEndpointCommand,
|
|
78
87
|
CreateEventSubscriptionCommand,
|
|
79
88
|
CreateFleetAdvisorCollectorCommand,
|
|
89
|
+
CreateReplicationConfigCommand,
|
|
80
90
|
CreateReplicationInstanceCommand,
|
|
81
91
|
CreateReplicationSubnetGroupCommand,
|
|
82
92
|
CreateReplicationTaskCommand,
|
|
@@ -86,6 +96,7 @@ const commands = {
|
|
|
86
96
|
DeleteEventSubscriptionCommand,
|
|
87
97
|
DeleteFleetAdvisorCollectorCommand,
|
|
88
98
|
DeleteFleetAdvisorDatabasesCommand,
|
|
99
|
+
DeleteReplicationConfigCommand,
|
|
89
100
|
DeleteReplicationInstanceCommand,
|
|
90
101
|
DeleteReplicationSubnetGroupCommand,
|
|
91
102
|
DeleteReplicationTaskCommand,
|
|
@@ -110,9 +121,12 @@ const commands = {
|
|
|
110
121
|
DescribeRecommendationLimitationsCommand,
|
|
111
122
|
DescribeRecommendationsCommand,
|
|
112
123
|
DescribeRefreshSchemasStatusCommand,
|
|
124
|
+
DescribeReplicationConfigsCommand,
|
|
113
125
|
DescribeReplicationInstancesCommand,
|
|
114
126
|
DescribeReplicationInstanceTaskLogsCommand,
|
|
127
|
+
DescribeReplicationsCommand,
|
|
115
128
|
DescribeReplicationSubnetGroupsCommand,
|
|
129
|
+
DescribeReplicationTableStatisticsCommand,
|
|
116
130
|
DescribeReplicationTaskAssessmentResultsCommand,
|
|
117
131
|
DescribeReplicationTaskAssessmentRunsCommand,
|
|
118
132
|
DescribeReplicationTaskIndividualAssessmentsCommand,
|
|
@@ -123,19 +137,23 @@ const commands = {
|
|
|
123
137
|
ListTagsForResourceCommand,
|
|
124
138
|
ModifyEndpointCommand,
|
|
125
139
|
ModifyEventSubscriptionCommand,
|
|
140
|
+
ModifyReplicationConfigCommand,
|
|
126
141
|
ModifyReplicationInstanceCommand,
|
|
127
142
|
ModifyReplicationSubnetGroupCommand,
|
|
128
143
|
ModifyReplicationTaskCommand,
|
|
129
144
|
MoveReplicationTaskCommand,
|
|
130
145
|
RebootReplicationInstanceCommand,
|
|
131
146
|
RefreshSchemasCommand,
|
|
147
|
+
ReloadReplicationTablesCommand,
|
|
132
148
|
ReloadTablesCommand,
|
|
133
149
|
RemoveTagsFromResourceCommand,
|
|
134
150
|
RunFleetAdvisorLsaAnalysisCommand,
|
|
135
151
|
StartRecommendationsCommand,
|
|
152
|
+
StartReplicationCommand,
|
|
136
153
|
StartReplicationTaskCommand,
|
|
137
154
|
StartReplicationTaskAssessmentCommand,
|
|
138
155
|
StartReplicationTaskAssessmentRunCommand,
|
|
156
|
+
StopReplicationCommand,
|
|
139
157
|
StopReplicationTaskCommand,
|
|
140
158
|
TestConnectionCommand,
|
|
141
159
|
UpdateSubscriptionsToEventBridgeCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_CreateReplicationConfigCommand, se_CreateReplicationConfigCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateReplicationConfigCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateReplicationConfigCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "CreateReplicationConfigCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateReplicationConfigCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateReplicationConfigCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteReplicationConfigCommand, se_DeleteReplicationConfigCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteReplicationConfigCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteReplicationConfigCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "DeleteReplicationConfigCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteReplicationConfigCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteReplicationConfigCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DescribeReplicationConfigsCommand, se_DescribeReplicationConfigsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeReplicationConfigsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReplicationConfigsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "DescribeReplicationConfigsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeReplicationConfigsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeReplicationConfigsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DescribeReplicationTableStatisticsCommand, se_DescribeReplicationTableStatisticsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeReplicationTableStatisticsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReplicationTableStatisticsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "DescribeReplicationTableStatisticsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeReplicationTableStatisticsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeReplicationTableStatisticsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DescribeReplicationsCommand, se_DescribeReplicationsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeReplicationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReplicationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "DescribeReplicationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeReplicationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeReplicationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ModifyReplicationConfigCommand, se_ModifyReplicationConfigCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ModifyReplicationConfigCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyReplicationConfigCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "ModifyReplicationConfigCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ModifyReplicationConfigCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ModifyReplicationConfigCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ReloadReplicationTablesCommand, se_ReloadReplicationTablesCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ReloadReplicationTablesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ReloadReplicationTablesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "ReloadReplicationTablesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ReloadReplicationTablesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ReloadReplicationTablesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartReplicationCommand, se_StartReplicationCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartReplicationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartReplicationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "StartReplicationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartReplicationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartReplicationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StopReplicationCommand, se_StopReplicationCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopReplicationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopReplicationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DatabaseMigrationServiceClient";
|
|
25
|
+
const commandName = "StopReplicationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StopReplicationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StopReplicationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./CancelReplicationTaskAssessmentRunCommand";
|
|
|
5
5
|
export * from "./CreateEndpointCommand";
|
|
6
6
|
export * from "./CreateEventSubscriptionCommand";
|
|
7
7
|
export * from "./CreateFleetAdvisorCollectorCommand";
|
|
8
|
+
export * from "./CreateReplicationConfigCommand";
|
|
8
9
|
export * from "./CreateReplicationInstanceCommand";
|
|
9
10
|
export * from "./CreateReplicationSubnetGroupCommand";
|
|
10
11
|
export * from "./CreateReplicationTaskCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteEndpointCommand";
|
|
|
14
15
|
export * from "./DeleteEventSubscriptionCommand";
|
|
15
16
|
export * from "./DeleteFleetAdvisorCollectorCommand";
|
|
16
17
|
export * from "./DeleteFleetAdvisorDatabasesCommand";
|
|
18
|
+
export * from "./DeleteReplicationConfigCommand";
|
|
17
19
|
export * from "./DeleteReplicationInstanceCommand";
|
|
18
20
|
export * from "./DeleteReplicationSubnetGroupCommand";
|
|
19
21
|
export * from "./DeleteReplicationTaskAssessmentRunCommand";
|
|
@@ -38,32 +40,39 @@ export * from "./DescribePendingMaintenanceActionsCommand";
|
|
|
38
40
|
export * from "./DescribeRecommendationLimitationsCommand";
|
|
39
41
|
export * from "./DescribeRecommendationsCommand";
|
|
40
42
|
export * from "./DescribeRefreshSchemasStatusCommand";
|
|
43
|
+
export * from "./DescribeReplicationConfigsCommand";
|
|
41
44
|
export * from "./DescribeReplicationInstanceTaskLogsCommand";
|
|
42
45
|
export * from "./DescribeReplicationInstancesCommand";
|
|
43
46
|
export * from "./DescribeReplicationSubnetGroupsCommand";
|
|
47
|
+
export * from "./DescribeReplicationTableStatisticsCommand";
|
|
44
48
|
export * from "./DescribeReplicationTaskAssessmentResultsCommand";
|
|
45
49
|
export * from "./DescribeReplicationTaskAssessmentRunsCommand";
|
|
46
50
|
export * from "./DescribeReplicationTaskIndividualAssessmentsCommand";
|
|
47
51
|
export * from "./DescribeReplicationTasksCommand";
|
|
52
|
+
export * from "./DescribeReplicationsCommand";
|
|
48
53
|
export * from "./DescribeSchemasCommand";
|
|
49
54
|
export * from "./DescribeTableStatisticsCommand";
|
|
50
55
|
export * from "./ImportCertificateCommand";
|
|
51
56
|
export * from "./ListTagsForResourceCommand";
|
|
52
57
|
export * from "./ModifyEndpointCommand";
|
|
53
58
|
export * from "./ModifyEventSubscriptionCommand";
|
|
59
|
+
export * from "./ModifyReplicationConfigCommand";
|
|
54
60
|
export * from "./ModifyReplicationInstanceCommand";
|
|
55
61
|
export * from "./ModifyReplicationSubnetGroupCommand";
|
|
56
62
|
export * from "./ModifyReplicationTaskCommand";
|
|
57
63
|
export * from "./MoveReplicationTaskCommand";
|
|
58
64
|
export * from "./RebootReplicationInstanceCommand";
|
|
59
65
|
export * from "./RefreshSchemasCommand";
|
|
66
|
+
export * from "./ReloadReplicationTablesCommand";
|
|
60
67
|
export * from "./ReloadTablesCommand";
|
|
61
68
|
export * from "./RemoveTagsFromResourceCommand";
|
|
62
69
|
export * from "./RunFleetAdvisorLsaAnalysisCommand";
|
|
63
70
|
export * from "./StartRecommendationsCommand";
|
|
71
|
+
export * from "./StartReplicationCommand";
|
|
64
72
|
export * from "./StartReplicationTaskAssessmentCommand";
|
|
65
73
|
export * from "./StartReplicationTaskAssessmentRunCommand";
|
|
66
74
|
export * from "./StartReplicationTaskCommand";
|
|
75
|
+
export * from "./StopReplicationCommand";
|
|
67
76
|
export * from "./StopReplicationTaskCommand";
|
|
68
77
|
export * from "./TestConnectionCommand";
|
|
69
78
|
export * from "./UpdateSubscriptionsToEventBridgeCommand";
|
|
@@ -62,6 +62,10 @@ export const KafkaSecurityProtocol = {
|
|
|
62
62
|
SSL_AUTHENTICATION: "ssl-authentication",
|
|
63
63
|
SSL_ENCRYPTION: "ssl-encryption",
|
|
64
64
|
};
|
|
65
|
+
export const KafkaSslEndpointIdentificationAlgorithm = {
|
|
66
|
+
HTTPS: "https",
|
|
67
|
+
NONE: "none",
|
|
68
|
+
};
|
|
65
69
|
export const SafeguardPolicy = {
|
|
66
70
|
EXCLUSIVE_AUTOMATIC_TRUNCATION: "exclusive-automatic-truncation",
|
|
67
71
|
RELY_ON_SQL_SERVER_REPLICATION_AGENT: "rely-on-sql-server-replication-agent",
|
|
@@ -87,6 +91,11 @@ export const CharLengthSemantics = {
|
|
|
87
91
|
CHAR: "char",
|
|
88
92
|
DEFAULT: "default",
|
|
89
93
|
};
|
|
94
|
+
export const LongVarcharMappingType = {
|
|
95
|
+
CLOB: "clob",
|
|
96
|
+
NCLOB: "nclob",
|
|
97
|
+
WSTRING: "wstring",
|
|
98
|
+
};
|
|
90
99
|
export const PluginNameValue = {
|
|
91
100
|
NO_PREFERENCE: "no-preference",
|
|
92
101
|
PGLOGICAL: "pglogical",
|
|
@@ -296,18 +305,11 @@ export class S3ResourceNotFoundFault extends __BaseException {
|
|
|
296
305
|
Object.setPrototypeOf(this, S3ResourceNotFoundFault.prototype);
|
|
297
306
|
}
|
|
298
307
|
}
|
|
299
|
-
export
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
...opts,
|
|
305
|
-
});
|
|
306
|
-
this.name = "InsufficientResourceCapacityFault";
|
|
307
|
-
this.$fault = "client";
|
|
308
|
-
Object.setPrototypeOf(this, InsufficientResourceCapacityFault.prototype);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
308
|
+
export const MigrationTypeValue = {
|
|
309
|
+
CDC: "cdc",
|
|
310
|
+
FULL_LOAD: "full-load",
|
|
311
|
+
FULL_LOAD_AND_CDC: "full-load-and-cdc",
|
|
312
|
+
};
|
|
311
313
|
export class InvalidSubnet extends __BaseException {
|
|
312
314
|
constructor(opts) {
|
|
313
315
|
super({
|
|
@@ -332,6 +334,18 @@ export class ReplicationSubnetGroupDoesNotCoverEnoughAZs extends __BaseException
|
|
|
332
334
|
Object.setPrototypeOf(this, ReplicationSubnetGroupDoesNotCoverEnoughAZs.prototype);
|
|
333
335
|
}
|
|
334
336
|
}
|
|
337
|
+
export class InsufficientResourceCapacityFault extends __BaseException {
|
|
338
|
+
constructor(opts) {
|
|
339
|
+
super({
|
|
340
|
+
name: "InsufficientResourceCapacityFault",
|
|
341
|
+
$fault: "client",
|
|
342
|
+
...opts,
|
|
343
|
+
});
|
|
344
|
+
this.name = "InsufficientResourceCapacityFault";
|
|
345
|
+
this.$fault = "client";
|
|
346
|
+
Object.setPrototypeOf(this, InsufficientResourceCapacityFault.prototype);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
335
349
|
export class StorageQuotaExceededFault extends __BaseException {
|
|
336
350
|
constructor(opts) {
|
|
337
351
|
super({
|
|
@@ -344,11 +358,6 @@ export class StorageQuotaExceededFault extends __BaseException {
|
|
|
344
358
|
Object.setPrototypeOf(this, StorageQuotaExceededFault.prototype);
|
|
345
359
|
}
|
|
346
360
|
}
|
|
347
|
-
export const MigrationTypeValue = {
|
|
348
|
-
CDC: "cdc",
|
|
349
|
-
FULL_LOAD: "full-load",
|
|
350
|
-
FULL_LOAD_AND_CDC: "full-load-and-cdc",
|
|
351
|
-
};
|
|
352
361
|
export class CollectorNotFoundFault extends __BaseException {
|
|
353
362
|
constructor(opts) {
|
|
354
363
|
super({
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DescribeReplicationConfigsCommand, } from "../commands/DescribeReplicationConfigsCommand";
|
|
2
|
+
import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeReplicationConfigsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeReplicationConfigs(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.Marker = token;
|
|
12
|
+
input["MaxRecords"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof DatabaseMigrationServiceClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.Marker;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|