@aws-sdk/client-database-migration-service 3.310.0 → 3.312.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/dist-cjs/protocols/Aws_json1_1.js +75 -276
- package/dist-es/protocols/Aws_json1_1.js +75 -276
- package/package.json +2 -2
|
@@ -3,621 +3,414 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
3
3
|
import { DatabaseMigrationServiceServiceException as __BaseException } from "../models/DatabaseMigrationServiceServiceException";
|
|
4
4
|
import { AccessDeniedFault, CollectorNotFoundFault, InsufficientResourceCapacityFault, InvalidCertificateFault, InvalidOperationFault, InvalidResourceStateFault, InvalidSubnet, KMSAccessDeniedFault, KMSDisabledFault, KMSFault, KMSInvalidStateFault, KMSKeyNotAccessibleFault, KMSNotFoundFault, KMSThrottlingFault, ReplicationSubnetGroupDoesNotCoverEnoughAZs, ResourceAlreadyExistsFault, ResourceNotFoundFault, ResourceQuotaExceededFault, S3AccessDeniedFault, S3ResourceNotFoundFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, StorageQuotaExceededFault, SubnetAlreadyInUse, UpgradeDependencyFailureFault, } from "../models/models_0";
|
|
5
5
|
export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
6
|
-
const headers =
|
|
7
|
-
"content-type": "application/x-amz-json-1.1",
|
|
8
|
-
"x-amz-target": "AmazonDMSv20160101.AddTagsToResource",
|
|
9
|
-
};
|
|
6
|
+
const headers = sharedHeaders("AddTagsToResource");
|
|
10
7
|
let body;
|
|
11
8
|
body = JSON.stringify(se_AddTagsToResourceMessage(input, context));
|
|
12
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
10
|
};
|
|
14
11
|
export const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
|
|
15
|
-
const headers =
|
|
16
|
-
"content-type": "application/x-amz-json-1.1",
|
|
17
|
-
"x-amz-target": "AmazonDMSv20160101.ApplyPendingMaintenanceAction",
|
|
18
|
-
};
|
|
12
|
+
const headers = sharedHeaders("ApplyPendingMaintenanceAction");
|
|
19
13
|
let body;
|
|
20
14
|
body = JSON.stringify(se_ApplyPendingMaintenanceActionMessage(input, context));
|
|
21
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
16
|
};
|
|
23
17
|
export const se_BatchStartRecommendationsCommand = async (input, context) => {
|
|
24
|
-
const headers =
|
|
25
|
-
"content-type": "application/x-amz-json-1.1",
|
|
26
|
-
"x-amz-target": "AmazonDMSv20160101.BatchStartRecommendations",
|
|
27
|
-
};
|
|
18
|
+
const headers = sharedHeaders("BatchStartRecommendations");
|
|
28
19
|
let body;
|
|
29
20
|
body = JSON.stringify(se_BatchStartRecommendationsRequest(input, context));
|
|
30
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
22
|
};
|
|
32
23
|
export const se_CancelReplicationTaskAssessmentRunCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "AmazonDMSv20160101.CancelReplicationTaskAssessmentRun",
|
|
36
|
-
};
|
|
24
|
+
const headers = sharedHeaders("CancelReplicationTaskAssessmentRun");
|
|
37
25
|
let body;
|
|
38
26
|
body = JSON.stringify(se_CancelReplicationTaskAssessmentRunMessage(input, context));
|
|
39
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
28
|
};
|
|
41
29
|
export const se_CreateEndpointCommand = async (input, context) => {
|
|
42
|
-
const headers =
|
|
43
|
-
"content-type": "application/x-amz-json-1.1",
|
|
44
|
-
"x-amz-target": "AmazonDMSv20160101.CreateEndpoint",
|
|
45
|
-
};
|
|
30
|
+
const headers = sharedHeaders("CreateEndpoint");
|
|
46
31
|
let body;
|
|
47
32
|
body = JSON.stringify(se_CreateEndpointMessage(input, context));
|
|
48
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
34
|
};
|
|
50
35
|
export const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "AmazonDMSv20160101.CreateEventSubscription",
|
|
54
|
-
};
|
|
36
|
+
const headers = sharedHeaders("CreateEventSubscription");
|
|
55
37
|
let body;
|
|
56
38
|
body = JSON.stringify(se_CreateEventSubscriptionMessage(input, context));
|
|
57
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
40
|
};
|
|
59
41
|
export const se_CreateFleetAdvisorCollectorCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "AmazonDMSv20160101.CreateFleetAdvisorCollector",
|
|
63
|
-
};
|
|
42
|
+
const headers = sharedHeaders("CreateFleetAdvisorCollector");
|
|
64
43
|
let body;
|
|
65
44
|
body = JSON.stringify(se_CreateFleetAdvisorCollectorRequest(input, context));
|
|
66
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
46
|
};
|
|
68
47
|
export const se_CreateReplicationInstanceCommand = async (input, context) => {
|
|
69
|
-
const headers =
|
|
70
|
-
"content-type": "application/x-amz-json-1.1",
|
|
71
|
-
"x-amz-target": "AmazonDMSv20160101.CreateReplicationInstance",
|
|
72
|
-
};
|
|
48
|
+
const headers = sharedHeaders("CreateReplicationInstance");
|
|
73
49
|
let body;
|
|
74
50
|
body = JSON.stringify(se_CreateReplicationInstanceMessage(input, context));
|
|
75
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
52
|
};
|
|
77
53
|
export const se_CreateReplicationSubnetGroupCommand = async (input, context) => {
|
|
78
|
-
const headers =
|
|
79
|
-
"content-type": "application/x-amz-json-1.1",
|
|
80
|
-
"x-amz-target": "AmazonDMSv20160101.CreateReplicationSubnetGroup",
|
|
81
|
-
};
|
|
54
|
+
const headers = sharedHeaders("CreateReplicationSubnetGroup");
|
|
82
55
|
let body;
|
|
83
56
|
body = JSON.stringify(se_CreateReplicationSubnetGroupMessage(input, context));
|
|
84
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
58
|
};
|
|
86
59
|
export const se_CreateReplicationTaskCommand = async (input, context) => {
|
|
87
|
-
const headers =
|
|
88
|
-
"content-type": "application/x-amz-json-1.1",
|
|
89
|
-
"x-amz-target": "AmazonDMSv20160101.CreateReplicationTask",
|
|
90
|
-
};
|
|
60
|
+
const headers = sharedHeaders("CreateReplicationTask");
|
|
91
61
|
let body;
|
|
92
62
|
body = JSON.stringify(se_CreateReplicationTaskMessage(input, context));
|
|
93
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
64
|
};
|
|
95
65
|
export const se_DeleteCertificateCommand = async (input, context) => {
|
|
96
|
-
const headers =
|
|
97
|
-
"content-type": "application/x-amz-json-1.1",
|
|
98
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteCertificate",
|
|
99
|
-
};
|
|
66
|
+
const headers = sharedHeaders("DeleteCertificate");
|
|
100
67
|
let body;
|
|
101
68
|
body = JSON.stringify(se_DeleteCertificateMessage(input, context));
|
|
102
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
70
|
};
|
|
104
71
|
export const se_DeleteConnectionCommand = async (input, context) => {
|
|
105
|
-
const headers =
|
|
106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
107
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteConnection",
|
|
108
|
-
};
|
|
72
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
109
73
|
let body;
|
|
110
74
|
body = JSON.stringify(se_DeleteConnectionMessage(input, context));
|
|
111
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
76
|
};
|
|
113
77
|
export const se_DeleteEndpointCommand = async (input, context) => {
|
|
114
|
-
const headers =
|
|
115
|
-
"content-type": "application/x-amz-json-1.1",
|
|
116
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteEndpoint",
|
|
117
|
-
};
|
|
78
|
+
const headers = sharedHeaders("DeleteEndpoint");
|
|
118
79
|
let body;
|
|
119
80
|
body = JSON.stringify(se_DeleteEndpointMessage(input, context));
|
|
120
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
82
|
};
|
|
122
83
|
export const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteEventSubscription",
|
|
126
|
-
};
|
|
84
|
+
const headers = sharedHeaders("DeleteEventSubscription");
|
|
127
85
|
let body;
|
|
128
86
|
body = JSON.stringify(se_DeleteEventSubscriptionMessage(input, context));
|
|
129
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
88
|
};
|
|
131
89
|
export const se_DeleteFleetAdvisorCollectorCommand = async (input, context) => {
|
|
132
|
-
const headers =
|
|
133
|
-
"content-type": "application/x-amz-json-1.1",
|
|
134
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteFleetAdvisorCollector",
|
|
135
|
-
};
|
|
90
|
+
const headers = sharedHeaders("DeleteFleetAdvisorCollector");
|
|
136
91
|
let body;
|
|
137
92
|
body = JSON.stringify(se_DeleteCollectorRequest(input, context));
|
|
138
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
94
|
};
|
|
140
95
|
export const se_DeleteFleetAdvisorDatabasesCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteFleetAdvisorDatabases",
|
|
144
|
-
};
|
|
96
|
+
const headers = sharedHeaders("DeleteFleetAdvisorDatabases");
|
|
145
97
|
let body;
|
|
146
98
|
body = JSON.stringify(se_DeleteFleetAdvisorDatabasesRequest(input, context));
|
|
147
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
100
|
};
|
|
149
101
|
export const se_DeleteReplicationInstanceCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteReplicationInstance",
|
|
153
|
-
};
|
|
102
|
+
const headers = sharedHeaders("DeleteReplicationInstance");
|
|
154
103
|
let body;
|
|
155
104
|
body = JSON.stringify(se_DeleteReplicationInstanceMessage(input, context));
|
|
156
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
106
|
};
|
|
158
107
|
export const se_DeleteReplicationSubnetGroupCommand = async (input, context) => {
|
|
159
|
-
const headers =
|
|
160
|
-
"content-type": "application/x-amz-json-1.1",
|
|
161
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteReplicationSubnetGroup",
|
|
162
|
-
};
|
|
108
|
+
const headers = sharedHeaders("DeleteReplicationSubnetGroup");
|
|
163
109
|
let body;
|
|
164
110
|
body = JSON.stringify(se_DeleteReplicationSubnetGroupMessage(input, context));
|
|
165
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
112
|
};
|
|
167
113
|
export const se_DeleteReplicationTaskCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-amz-json-1.1",
|
|
170
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteReplicationTask",
|
|
171
|
-
};
|
|
114
|
+
const headers = sharedHeaders("DeleteReplicationTask");
|
|
172
115
|
let body;
|
|
173
116
|
body = JSON.stringify(se_DeleteReplicationTaskMessage(input, context));
|
|
174
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
118
|
};
|
|
176
119
|
export const se_DeleteReplicationTaskAssessmentRunCommand = async (input, context) => {
|
|
177
|
-
const headers =
|
|
178
|
-
"content-type": "application/x-amz-json-1.1",
|
|
179
|
-
"x-amz-target": "AmazonDMSv20160101.DeleteReplicationTaskAssessmentRun",
|
|
180
|
-
};
|
|
120
|
+
const headers = sharedHeaders("DeleteReplicationTaskAssessmentRun");
|
|
181
121
|
let body;
|
|
182
122
|
body = JSON.stringify(se_DeleteReplicationTaskAssessmentRunMessage(input, context));
|
|
183
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
124
|
};
|
|
185
125
|
export const se_DescribeAccountAttributesCommand = async (input, context) => {
|
|
186
|
-
const headers =
|
|
187
|
-
"content-type": "application/x-amz-json-1.1",
|
|
188
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeAccountAttributes",
|
|
189
|
-
};
|
|
126
|
+
const headers = sharedHeaders("DescribeAccountAttributes");
|
|
190
127
|
let body;
|
|
191
128
|
body = JSON.stringify(se_DescribeAccountAttributesMessage(input, context));
|
|
192
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
130
|
};
|
|
194
131
|
export const se_DescribeApplicableIndividualAssessmentsCommand = async (input, context) => {
|
|
195
|
-
const headers =
|
|
196
|
-
"content-type": "application/x-amz-json-1.1",
|
|
197
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeApplicableIndividualAssessments",
|
|
198
|
-
};
|
|
132
|
+
const headers = sharedHeaders("DescribeApplicableIndividualAssessments");
|
|
199
133
|
let body;
|
|
200
134
|
body = JSON.stringify(se_DescribeApplicableIndividualAssessmentsMessage(input, context));
|
|
201
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
136
|
};
|
|
203
137
|
export const se_DescribeCertificatesCommand = async (input, context) => {
|
|
204
|
-
const headers =
|
|
205
|
-
"content-type": "application/x-amz-json-1.1",
|
|
206
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeCertificates",
|
|
207
|
-
};
|
|
138
|
+
const headers = sharedHeaders("DescribeCertificates");
|
|
208
139
|
let body;
|
|
209
140
|
body = JSON.stringify(se_DescribeCertificatesMessage(input, context));
|
|
210
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
142
|
};
|
|
212
143
|
export const se_DescribeConnectionsCommand = async (input, context) => {
|
|
213
|
-
const headers =
|
|
214
|
-
"content-type": "application/x-amz-json-1.1",
|
|
215
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeConnections",
|
|
216
|
-
};
|
|
144
|
+
const headers = sharedHeaders("DescribeConnections");
|
|
217
145
|
let body;
|
|
218
146
|
body = JSON.stringify(se_DescribeConnectionsMessage(input, context));
|
|
219
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
148
|
};
|
|
221
149
|
export const se_DescribeEndpointsCommand = async (input, context) => {
|
|
222
|
-
const headers =
|
|
223
|
-
"content-type": "application/x-amz-json-1.1",
|
|
224
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEndpoints",
|
|
225
|
-
};
|
|
150
|
+
const headers = sharedHeaders("DescribeEndpoints");
|
|
226
151
|
let body;
|
|
227
152
|
body = JSON.stringify(se_DescribeEndpointsMessage(input, context));
|
|
228
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
154
|
};
|
|
230
155
|
export const se_DescribeEndpointSettingsCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEndpointSettings",
|
|
234
|
-
};
|
|
156
|
+
const headers = sharedHeaders("DescribeEndpointSettings");
|
|
235
157
|
let body;
|
|
236
158
|
body = JSON.stringify(se_DescribeEndpointSettingsMessage(input, context));
|
|
237
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
160
|
};
|
|
239
161
|
export const se_DescribeEndpointTypesCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.1",
|
|
242
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEndpointTypes",
|
|
243
|
-
};
|
|
162
|
+
const headers = sharedHeaders("DescribeEndpointTypes");
|
|
244
163
|
let body;
|
|
245
164
|
body = JSON.stringify(se_DescribeEndpointTypesMessage(input, context));
|
|
246
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
166
|
};
|
|
248
167
|
export const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
249
|
-
const headers =
|
|
250
|
-
"content-type": "application/x-amz-json-1.1",
|
|
251
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEventCategories",
|
|
252
|
-
};
|
|
168
|
+
const headers = sharedHeaders("DescribeEventCategories");
|
|
253
169
|
let body;
|
|
254
170
|
body = JSON.stringify(se_DescribeEventCategoriesMessage(input, context));
|
|
255
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
172
|
};
|
|
257
173
|
export const se_DescribeEventsCommand = async (input, context) => {
|
|
258
|
-
const headers =
|
|
259
|
-
"content-type": "application/x-amz-json-1.1",
|
|
260
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEvents",
|
|
261
|
-
};
|
|
174
|
+
const headers = sharedHeaders("DescribeEvents");
|
|
262
175
|
let body;
|
|
263
176
|
body = JSON.stringify(se_DescribeEventsMessage(input, context));
|
|
264
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
178
|
};
|
|
266
179
|
export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
267
|
-
const headers =
|
|
268
|
-
"content-type": "application/x-amz-json-1.1",
|
|
269
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeEventSubscriptions",
|
|
270
|
-
};
|
|
180
|
+
const headers = sharedHeaders("DescribeEventSubscriptions");
|
|
271
181
|
let body;
|
|
272
182
|
body = JSON.stringify(se_DescribeEventSubscriptionsMessage(input, context));
|
|
273
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
184
|
};
|
|
275
185
|
export const se_DescribeFleetAdvisorCollectorsCommand = async (input, context) => {
|
|
276
|
-
const headers =
|
|
277
|
-
"content-type": "application/x-amz-json-1.1",
|
|
278
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeFleetAdvisorCollectors",
|
|
279
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DescribeFleetAdvisorCollectors");
|
|
280
187
|
let body;
|
|
281
188
|
body = JSON.stringify(se_DescribeFleetAdvisorCollectorsRequest(input, context));
|
|
282
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
190
|
};
|
|
284
191
|
export const se_DescribeFleetAdvisorDatabasesCommand = async (input, context) => {
|
|
285
|
-
const headers =
|
|
286
|
-
"content-type": "application/x-amz-json-1.1",
|
|
287
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeFleetAdvisorDatabases",
|
|
288
|
-
};
|
|
192
|
+
const headers = sharedHeaders("DescribeFleetAdvisorDatabases");
|
|
289
193
|
let body;
|
|
290
194
|
body = JSON.stringify(se_DescribeFleetAdvisorDatabasesRequest(input, context));
|
|
291
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
196
|
};
|
|
293
197
|
export const se_DescribeFleetAdvisorLsaAnalysisCommand = async (input, context) => {
|
|
294
|
-
const headers =
|
|
295
|
-
"content-type": "application/x-amz-json-1.1",
|
|
296
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeFleetAdvisorLsaAnalysis",
|
|
297
|
-
};
|
|
198
|
+
const headers = sharedHeaders("DescribeFleetAdvisorLsaAnalysis");
|
|
298
199
|
let body;
|
|
299
200
|
body = JSON.stringify(se_DescribeFleetAdvisorLsaAnalysisRequest(input, context));
|
|
300
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
202
|
};
|
|
302
203
|
export const se_DescribeFleetAdvisorSchemaObjectSummaryCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-amz-json-1.1",
|
|
305
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeFleetAdvisorSchemaObjectSummary",
|
|
306
|
-
};
|
|
204
|
+
const headers = sharedHeaders("DescribeFleetAdvisorSchemaObjectSummary");
|
|
307
205
|
let body;
|
|
308
206
|
body = JSON.stringify(se_DescribeFleetAdvisorSchemaObjectSummaryRequest(input, context));
|
|
309
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
208
|
};
|
|
311
209
|
export const se_DescribeFleetAdvisorSchemasCommand = async (input, context) => {
|
|
312
|
-
const headers =
|
|
313
|
-
"content-type": "application/x-amz-json-1.1",
|
|
314
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeFleetAdvisorSchemas",
|
|
315
|
-
};
|
|
210
|
+
const headers = sharedHeaders("DescribeFleetAdvisorSchemas");
|
|
316
211
|
let body;
|
|
317
212
|
body = JSON.stringify(se_DescribeFleetAdvisorSchemasRequest(input, context));
|
|
318
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
214
|
};
|
|
320
215
|
export const se_DescribeOrderableReplicationInstancesCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeOrderableReplicationInstances",
|
|
324
|
-
};
|
|
216
|
+
const headers = sharedHeaders("DescribeOrderableReplicationInstances");
|
|
325
217
|
let body;
|
|
326
218
|
body = JSON.stringify(se_DescribeOrderableReplicationInstancesMessage(input, context));
|
|
327
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
220
|
};
|
|
329
221
|
export const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
|
|
330
|
-
const headers =
|
|
331
|
-
"content-type": "application/x-amz-json-1.1",
|
|
332
|
-
"x-amz-target": "AmazonDMSv20160101.DescribePendingMaintenanceActions",
|
|
333
|
-
};
|
|
222
|
+
const headers = sharedHeaders("DescribePendingMaintenanceActions");
|
|
334
223
|
let body;
|
|
335
224
|
body = JSON.stringify(se_DescribePendingMaintenanceActionsMessage(input, context));
|
|
336
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
226
|
};
|
|
338
227
|
export const se_DescribeRecommendationLimitationsCommand = async (input, context) => {
|
|
339
|
-
const headers =
|
|
340
|
-
"content-type": "application/x-amz-json-1.1",
|
|
341
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeRecommendationLimitations",
|
|
342
|
-
};
|
|
228
|
+
const headers = sharedHeaders("DescribeRecommendationLimitations");
|
|
343
229
|
let body;
|
|
344
230
|
body = JSON.stringify(se_DescribeRecommendationLimitationsRequest(input, context));
|
|
345
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
232
|
};
|
|
347
233
|
export const se_DescribeRecommendationsCommand = async (input, context) => {
|
|
348
|
-
const headers =
|
|
349
|
-
"content-type": "application/x-amz-json-1.1",
|
|
350
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeRecommendations",
|
|
351
|
-
};
|
|
234
|
+
const headers = sharedHeaders("DescribeRecommendations");
|
|
352
235
|
let body;
|
|
353
236
|
body = JSON.stringify(se_DescribeRecommendationsRequest(input, context));
|
|
354
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
238
|
};
|
|
356
239
|
export const se_DescribeRefreshSchemasStatusCommand = async (input, context) => {
|
|
357
|
-
const headers =
|
|
358
|
-
"content-type": "application/x-amz-json-1.1",
|
|
359
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeRefreshSchemasStatus",
|
|
360
|
-
};
|
|
240
|
+
const headers = sharedHeaders("DescribeRefreshSchemasStatus");
|
|
361
241
|
let body;
|
|
362
242
|
body = JSON.stringify(se_DescribeRefreshSchemasStatusMessage(input, context));
|
|
363
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
244
|
};
|
|
365
245
|
export const se_DescribeReplicationInstancesCommand = async (input, context) => {
|
|
366
|
-
const headers =
|
|
367
|
-
"content-type": "application/x-amz-json-1.1",
|
|
368
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationInstances",
|
|
369
|
-
};
|
|
246
|
+
const headers = sharedHeaders("DescribeReplicationInstances");
|
|
370
247
|
let body;
|
|
371
248
|
body = JSON.stringify(se_DescribeReplicationInstancesMessage(input, context));
|
|
372
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
250
|
};
|
|
374
251
|
export const se_DescribeReplicationInstanceTaskLogsCommand = async (input, context) => {
|
|
375
|
-
const headers =
|
|
376
|
-
"content-type": "application/x-amz-json-1.1",
|
|
377
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationInstanceTaskLogs",
|
|
378
|
-
};
|
|
252
|
+
const headers = sharedHeaders("DescribeReplicationInstanceTaskLogs");
|
|
379
253
|
let body;
|
|
380
254
|
body = JSON.stringify(se_DescribeReplicationInstanceTaskLogsMessage(input, context));
|
|
381
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
256
|
};
|
|
383
257
|
export const se_DescribeReplicationSubnetGroupsCommand = async (input, context) => {
|
|
384
|
-
const headers =
|
|
385
|
-
"content-type": "application/x-amz-json-1.1",
|
|
386
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationSubnetGroups",
|
|
387
|
-
};
|
|
258
|
+
const headers = sharedHeaders("DescribeReplicationSubnetGroups");
|
|
388
259
|
let body;
|
|
389
260
|
body = JSON.stringify(se_DescribeReplicationSubnetGroupsMessage(input, context));
|
|
390
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
262
|
};
|
|
392
263
|
export const se_DescribeReplicationTaskAssessmentResultsCommand = async (input, context) => {
|
|
393
|
-
const headers =
|
|
394
|
-
"content-type": "application/x-amz-json-1.1",
|
|
395
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationTaskAssessmentResults",
|
|
396
|
-
};
|
|
264
|
+
const headers = sharedHeaders("DescribeReplicationTaskAssessmentResults");
|
|
397
265
|
let body;
|
|
398
266
|
body = JSON.stringify(se_DescribeReplicationTaskAssessmentResultsMessage(input, context));
|
|
399
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
268
|
};
|
|
401
269
|
export const se_DescribeReplicationTaskAssessmentRunsCommand = async (input, context) => {
|
|
402
|
-
const headers =
|
|
403
|
-
"content-type": "application/x-amz-json-1.1",
|
|
404
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationTaskAssessmentRuns",
|
|
405
|
-
};
|
|
270
|
+
const headers = sharedHeaders("DescribeReplicationTaskAssessmentRuns");
|
|
406
271
|
let body;
|
|
407
272
|
body = JSON.stringify(se_DescribeReplicationTaskAssessmentRunsMessage(input, context));
|
|
408
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
274
|
};
|
|
410
275
|
export const se_DescribeReplicationTaskIndividualAssessmentsCommand = async (input, context) => {
|
|
411
|
-
const headers =
|
|
412
|
-
"content-type": "application/x-amz-json-1.1",
|
|
413
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationTaskIndividualAssessments",
|
|
414
|
-
};
|
|
276
|
+
const headers = sharedHeaders("DescribeReplicationTaskIndividualAssessments");
|
|
415
277
|
let body;
|
|
416
278
|
body = JSON.stringify(se_DescribeReplicationTaskIndividualAssessmentsMessage(input, context));
|
|
417
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
418
280
|
};
|
|
419
281
|
export const se_DescribeReplicationTasksCommand = async (input, context) => {
|
|
420
|
-
const headers =
|
|
421
|
-
"content-type": "application/x-amz-json-1.1",
|
|
422
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeReplicationTasks",
|
|
423
|
-
};
|
|
282
|
+
const headers = sharedHeaders("DescribeReplicationTasks");
|
|
424
283
|
let body;
|
|
425
284
|
body = JSON.stringify(se_DescribeReplicationTasksMessage(input, context));
|
|
426
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
286
|
};
|
|
428
287
|
export const se_DescribeSchemasCommand = async (input, context) => {
|
|
429
|
-
const headers =
|
|
430
|
-
"content-type": "application/x-amz-json-1.1",
|
|
431
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeSchemas",
|
|
432
|
-
};
|
|
288
|
+
const headers = sharedHeaders("DescribeSchemas");
|
|
433
289
|
let body;
|
|
434
290
|
body = JSON.stringify(se_DescribeSchemasMessage(input, context));
|
|
435
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
292
|
};
|
|
437
293
|
export const se_DescribeTableStatisticsCommand = async (input, context) => {
|
|
438
|
-
const headers =
|
|
439
|
-
"content-type": "application/x-amz-json-1.1",
|
|
440
|
-
"x-amz-target": "AmazonDMSv20160101.DescribeTableStatistics",
|
|
441
|
-
};
|
|
294
|
+
const headers = sharedHeaders("DescribeTableStatistics");
|
|
442
295
|
let body;
|
|
443
296
|
body = JSON.stringify(se_DescribeTableStatisticsMessage(input, context));
|
|
444
297
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
445
298
|
};
|
|
446
299
|
export const se_ImportCertificateCommand = async (input, context) => {
|
|
447
|
-
const headers =
|
|
448
|
-
"content-type": "application/x-amz-json-1.1",
|
|
449
|
-
"x-amz-target": "AmazonDMSv20160101.ImportCertificate",
|
|
450
|
-
};
|
|
300
|
+
const headers = sharedHeaders("ImportCertificate");
|
|
451
301
|
let body;
|
|
452
302
|
body = JSON.stringify(se_ImportCertificateMessage(input, context));
|
|
453
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
454
304
|
};
|
|
455
305
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
456
|
-
const headers =
|
|
457
|
-
"content-type": "application/x-amz-json-1.1",
|
|
458
|
-
"x-amz-target": "AmazonDMSv20160101.ListTagsForResource",
|
|
459
|
-
};
|
|
306
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
460
307
|
let body;
|
|
461
308
|
body = JSON.stringify(se_ListTagsForResourceMessage(input, context));
|
|
462
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
463
310
|
};
|
|
464
311
|
export const se_ModifyEndpointCommand = async (input, context) => {
|
|
465
|
-
const headers =
|
|
466
|
-
"content-type": "application/x-amz-json-1.1",
|
|
467
|
-
"x-amz-target": "AmazonDMSv20160101.ModifyEndpoint",
|
|
468
|
-
};
|
|
312
|
+
const headers = sharedHeaders("ModifyEndpoint");
|
|
469
313
|
let body;
|
|
470
314
|
body = JSON.stringify(se_ModifyEndpointMessage(input, context));
|
|
471
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
472
316
|
};
|
|
473
317
|
export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
474
|
-
const headers =
|
|
475
|
-
"content-type": "application/x-amz-json-1.1",
|
|
476
|
-
"x-amz-target": "AmazonDMSv20160101.ModifyEventSubscription",
|
|
477
|
-
};
|
|
318
|
+
const headers = sharedHeaders("ModifyEventSubscription");
|
|
478
319
|
let body;
|
|
479
320
|
body = JSON.stringify(se_ModifyEventSubscriptionMessage(input, context));
|
|
480
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
481
322
|
};
|
|
482
323
|
export const se_ModifyReplicationInstanceCommand = async (input, context) => {
|
|
483
|
-
const headers =
|
|
484
|
-
"content-type": "application/x-amz-json-1.1",
|
|
485
|
-
"x-amz-target": "AmazonDMSv20160101.ModifyReplicationInstance",
|
|
486
|
-
};
|
|
324
|
+
const headers = sharedHeaders("ModifyReplicationInstance");
|
|
487
325
|
let body;
|
|
488
326
|
body = JSON.stringify(se_ModifyReplicationInstanceMessage(input, context));
|
|
489
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
490
328
|
};
|
|
491
329
|
export const se_ModifyReplicationSubnetGroupCommand = async (input, context) => {
|
|
492
|
-
const headers =
|
|
493
|
-
"content-type": "application/x-amz-json-1.1",
|
|
494
|
-
"x-amz-target": "AmazonDMSv20160101.ModifyReplicationSubnetGroup",
|
|
495
|
-
};
|
|
330
|
+
const headers = sharedHeaders("ModifyReplicationSubnetGroup");
|
|
496
331
|
let body;
|
|
497
332
|
body = JSON.stringify(se_ModifyReplicationSubnetGroupMessage(input, context));
|
|
498
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
499
334
|
};
|
|
500
335
|
export const se_ModifyReplicationTaskCommand = async (input, context) => {
|
|
501
|
-
const headers =
|
|
502
|
-
"content-type": "application/x-amz-json-1.1",
|
|
503
|
-
"x-amz-target": "AmazonDMSv20160101.ModifyReplicationTask",
|
|
504
|
-
};
|
|
336
|
+
const headers = sharedHeaders("ModifyReplicationTask");
|
|
505
337
|
let body;
|
|
506
338
|
body = JSON.stringify(se_ModifyReplicationTaskMessage(input, context));
|
|
507
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
340
|
};
|
|
509
341
|
export const se_MoveReplicationTaskCommand = async (input, context) => {
|
|
510
|
-
const headers =
|
|
511
|
-
"content-type": "application/x-amz-json-1.1",
|
|
512
|
-
"x-amz-target": "AmazonDMSv20160101.MoveReplicationTask",
|
|
513
|
-
};
|
|
342
|
+
const headers = sharedHeaders("MoveReplicationTask");
|
|
514
343
|
let body;
|
|
515
344
|
body = JSON.stringify(se_MoveReplicationTaskMessage(input, context));
|
|
516
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
517
346
|
};
|
|
518
347
|
export const se_RebootReplicationInstanceCommand = async (input, context) => {
|
|
519
|
-
const headers =
|
|
520
|
-
"content-type": "application/x-amz-json-1.1",
|
|
521
|
-
"x-amz-target": "AmazonDMSv20160101.RebootReplicationInstance",
|
|
522
|
-
};
|
|
348
|
+
const headers = sharedHeaders("RebootReplicationInstance");
|
|
523
349
|
let body;
|
|
524
350
|
body = JSON.stringify(se_RebootReplicationInstanceMessage(input, context));
|
|
525
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
526
352
|
};
|
|
527
353
|
export const se_RefreshSchemasCommand = async (input, context) => {
|
|
528
|
-
const headers =
|
|
529
|
-
"content-type": "application/x-amz-json-1.1",
|
|
530
|
-
"x-amz-target": "AmazonDMSv20160101.RefreshSchemas",
|
|
531
|
-
};
|
|
354
|
+
const headers = sharedHeaders("RefreshSchemas");
|
|
532
355
|
let body;
|
|
533
356
|
body = JSON.stringify(se_RefreshSchemasMessage(input, context));
|
|
534
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
535
358
|
};
|
|
536
359
|
export const se_ReloadTablesCommand = async (input, context) => {
|
|
537
|
-
const headers =
|
|
538
|
-
"content-type": "application/x-amz-json-1.1",
|
|
539
|
-
"x-amz-target": "AmazonDMSv20160101.ReloadTables",
|
|
540
|
-
};
|
|
360
|
+
const headers = sharedHeaders("ReloadTables");
|
|
541
361
|
let body;
|
|
542
362
|
body = JSON.stringify(se_ReloadTablesMessage(input, context));
|
|
543
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
544
364
|
};
|
|
545
365
|
export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
546
|
-
const headers =
|
|
547
|
-
"content-type": "application/x-amz-json-1.1",
|
|
548
|
-
"x-amz-target": "AmazonDMSv20160101.RemoveTagsFromResource",
|
|
549
|
-
};
|
|
366
|
+
const headers = sharedHeaders("RemoveTagsFromResource");
|
|
550
367
|
let body;
|
|
551
368
|
body = JSON.stringify(se_RemoveTagsFromResourceMessage(input, context));
|
|
552
369
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
553
370
|
};
|
|
554
371
|
export const se_RunFleetAdvisorLsaAnalysisCommand = async (input, context) => {
|
|
555
|
-
const headers =
|
|
556
|
-
"content-type": "application/x-amz-json-1.1",
|
|
557
|
-
"x-amz-target": "AmazonDMSv20160101.RunFleetAdvisorLsaAnalysis",
|
|
558
|
-
};
|
|
372
|
+
const headers = sharedHeaders("RunFleetAdvisorLsaAnalysis");
|
|
559
373
|
const body = "{}";
|
|
560
374
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
561
375
|
};
|
|
562
376
|
export const se_StartRecommendationsCommand = async (input, context) => {
|
|
563
|
-
const headers =
|
|
564
|
-
"content-type": "application/x-amz-json-1.1",
|
|
565
|
-
"x-amz-target": "AmazonDMSv20160101.StartRecommendations",
|
|
566
|
-
};
|
|
377
|
+
const headers = sharedHeaders("StartRecommendations");
|
|
567
378
|
let body;
|
|
568
379
|
body = JSON.stringify(se_StartRecommendationsRequest(input, context));
|
|
569
380
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
570
381
|
};
|
|
571
382
|
export const se_StartReplicationTaskCommand = async (input, context) => {
|
|
572
|
-
const headers =
|
|
573
|
-
"content-type": "application/x-amz-json-1.1",
|
|
574
|
-
"x-amz-target": "AmazonDMSv20160101.StartReplicationTask",
|
|
575
|
-
};
|
|
383
|
+
const headers = sharedHeaders("StartReplicationTask");
|
|
576
384
|
let body;
|
|
577
385
|
body = JSON.stringify(se_StartReplicationTaskMessage(input, context));
|
|
578
386
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
579
387
|
};
|
|
580
388
|
export const se_StartReplicationTaskAssessmentCommand = async (input, context) => {
|
|
581
|
-
const headers =
|
|
582
|
-
"content-type": "application/x-amz-json-1.1",
|
|
583
|
-
"x-amz-target": "AmazonDMSv20160101.StartReplicationTaskAssessment",
|
|
584
|
-
};
|
|
389
|
+
const headers = sharedHeaders("StartReplicationTaskAssessment");
|
|
585
390
|
let body;
|
|
586
391
|
body = JSON.stringify(se_StartReplicationTaskAssessmentMessage(input, context));
|
|
587
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
588
393
|
};
|
|
589
394
|
export const se_StartReplicationTaskAssessmentRunCommand = async (input, context) => {
|
|
590
|
-
const headers =
|
|
591
|
-
"content-type": "application/x-amz-json-1.1",
|
|
592
|
-
"x-amz-target": "AmazonDMSv20160101.StartReplicationTaskAssessmentRun",
|
|
593
|
-
};
|
|
395
|
+
const headers = sharedHeaders("StartReplicationTaskAssessmentRun");
|
|
594
396
|
let body;
|
|
595
397
|
body = JSON.stringify(se_StartReplicationTaskAssessmentRunMessage(input, context));
|
|
596
398
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
597
399
|
};
|
|
598
400
|
export const se_StopReplicationTaskCommand = async (input, context) => {
|
|
599
|
-
const headers =
|
|
600
|
-
"content-type": "application/x-amz-json-1.1",
|
|
601
|
-
"x-amz-target": "AmazonDMSv20160101.StopReplicationTask",
|
|
602
|
-
};
|
|
401
|
+
const headers = sharedHeaders("StopReplicationTask");
|
|
603
402
|
let body;
|
|
604
403
|
body = JSON.stringify(se_StopReplicationTaskMessage(input, context));
|
|
605
404
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
606
405
|
};
|
|
607
406
|
export const se_TestConnectionCommand = async (input, context) => {
|
|
608
|
-
const headers =
|
|
609
|
-
"content-type": "application/x-amz-json-1.1",
|
|
610
|
-
"x-amz-target": "AmazonDMSv20160101.TestConnection",
|
|
611
|
-
};
|
|
407
|
+
const headers = sharedHeaders("TestConnection");
|
|
612
408
|
let body;
|
|
613
409
|
body = JSON.stringify(se_TestConnectionMessage(input, context));
|
|
614
410
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
615
411
|
};
|
|
616
412
|
export const se_UpdateSubscriptionsToEventBridgeCommand = async (input, context) => {
|
|
617
|
-
const headers =
|
|
618
|
-
"content-type": "application/x-amz-json-1.1",
|
|
619
|
-
"x-amz-target": "AmazonDMSv20160101.UpdateSubscriptionsToEventBridge",
|
|
620
|
-
};
|
|
413
|
+
const headers = sharedHeaders("UpdateSubscriptionsToEventBridge");
|
|
621
414
|
let body;
|
|
622
415
|
body = JSON.stringify(se_UpdateSubscriptionsToEventBridgeMessage(input, context));
|
|
623
416
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -6548,6 +6341,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
6548
6341
|
}
|
|
6549
6342
|
return new __HttpRequest(contents);
|
|
6550
6343
|
};
|
|
6344
|
+
function sharedHeaders(operation) {
|
|
6345
|
+
return {
|
|
6346
|
+
"content-type": "application/x-amz-json-1.1",
|
|
6347
|
+
"x-amz-target": `AmazonDMSv20160101.${operation}`,
|
|
6348
|
+
};
|
|
6349
|
+
}
|
|
6551
6350
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6552
6351
|
if (encoded.length) {
|
|
6553
6352
|
return JSON.parse(encoded);
|