@aws-sdk/client-application-discovery-service 3.312.0 → 3.315.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 +185 -851
- package/dist-es/protocols/Aws_json1_1.js +186 -852
- package/package.json +6 -6
|
@@ -9,98 +9,98 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_AssociateConfigurationItemsToApplicationCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("AssociateConfigurationItemsToApplication");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_AssociateConfigurationItemsToApplicationCommand = se_AssociateConfigurationItemsToApplicationCommand;
|
|
16
16
|
const se_BatchDeleteImportDataCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("BatchDeleteImportData");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_BatchDeleteImportDataCommand = se_BatchDeleteImportDataCommand;
|
|
23
23
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateApplication");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
30
30
|
const se_CreateTagsCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateTags");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateTagsCommand = se_CreateTagsCommand;
|
|
37
37
|
const se_DeleteApplicationsCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("DeleteApplications");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_DeleteApplicationsCommand = se_DeleteApplicationsCommand;
|
|
44
44
|
const se_DeleteTagsCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("DeleteTags");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_DeleteTagsCommand = se_DeleteTagsCommand;
|
|
51
51
|
const se_DescribeAgentsCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("DescribeAgents");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_DescribeAgentsCommand = se_DescribeAgentsCommand;
|
|
58
58
|
const se_DescribeConfigurationsCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("DescribeConfigurations");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DescribeConfigurationsCommand = se_DescribeConfigurationsCommand;
|
|
65
65
|
const se_DescribeContinuousExportsCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DescribeContinuousExports");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DescribeContinuousExportsCommand = se_DescribeContinuousExportsCommand;
|
|
72
72
|
const se_DescribeExportConfigurationsCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DescribeExportConfigurations");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DescribeExportConfigurationsCommand = se_DescribeExportConfigurationsCommand;
|
|
79
79
|
const se_DescribeExportTasksCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DescribeExportTasks");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DescribeExportTasksCommand = se_DescribeExportTasksCommand;
|
|
86
86
|
const se_DescribeImportTasksCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("DescribeImportTasks");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_DescribeImportTasksCommand = se_DescribeImportTasksCommand;
|
|
93
93
|
const se_DescribeTagsCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("DescribeTags");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
100
100
|
const se_DisassociateConfigurationItemsFromApplicationCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("DisassociateConfigurationItemsFromApplication");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_DisassociateConfigurationItemsFromApplicationCommand = se_DisassociateConfigurationItemsFromApplicationCommand;
|
|
@@ -113,35 +113,35 @@ exports.se_ExportConfigurationsCommand = se_ExportConfigurationsCommand;
|
|
|
113
113
|
const se_GetDiscoverySummaryCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("GetDiscoverySummary");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
exports.se_GetDiscoverySummaryCommand = se_GetDiscoverySummaryCommand;
|
|
120
120
|
const se_ListConfigurationsCommand = async (input, context) => {
|
|
121
121
|
const headers = sharedHeaders("ListConfigurations");
|
|
122
122
|
let body;
|
|
123
|
-
body = JSON.stringify(
|
|
123
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
126
|
exports.se_ListConfigurationsCommand = se_ListConfigurationsCommand;
|
|
127
127
|
const se_ListServerNeighborsCommand = async (input, context) => {
|
|
128
128
|
const headers = sharedHeaders("ListServerNeighbors");
|
|
129
129
|
let body;
|
|
130
|
-
body = JSON.stringify(
|
|
130
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
131
131
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
132
|
};
|
|
133
133
|
exports.se_ListServerNeighborsCommand = se_ListServerNeighborsCommand;
|
|
134
134
|
const se_StartContinuousExportCommand = async (input, context) => {
|
|
135
135
|
const headers = sharedHeaders("StartContinuousExport");
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
140
|
exports.se_StartContinuousExportCommand = se_StartContinuousExportCommand;
|
|
141
141
|
const se_StartDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
142
142
|
const headers = sharedHeaders("StartDataCollectionByAgentIds");
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
147
|
exports.se_StartDataCollectionByAgentIdsCommand = se_StartDataCollectionByAgentIdsCommand;
|
|
@@ -162,21 +162,21 @@ exports.se_StartImportTaskCommand = se_StartImportTaskCommand;
|
|
|
162
162
|
const se_StopContinuousExportCommand = async (input, context) => {
|
|
163
163
|
const headers = sharedHeaders("StopContinuousExport");
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
168
|
exports.se_StopContinuousExportCommand = se_StopContinuousExportCommand;
|
|
169
169
|
const se_StopDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
170
170
|
const headers = sharedHeaders("StopDataCollectionByAgentIds");
|
|
171
171
|
let body;
|
|
172
|
-
body = JSON.stringify(
|
|
172
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
173
173
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
174
|
};
|
|
175
175
|
exports.se_StopDataCollectionByAgentIdsCommand = se_StopDataCollectionByAgentIdsCommand;
|
|
176
176
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
177
177
|
const headers = sharedHeaders("UpdateApplication");
|
|
178
178
|
let body;
|
|
179
|
-
body = JSON.stringify(
|
|
179
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
180
180
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
181
181
|
};
|
|
182
182
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
@@ -186,12 +186,12 @@ const de_AssociateConfigurationItemsToApplicationCommand = async (output, contex
|
|
|
186
186
|
}
|
|
187
187
|
const data = await parseBody(output.body, context);
|
|
188
188
|
let contents = {};
|
|
189
|
-
contents =
|
|
189
|
+
contents = (0, smithy_client_1._json)(data);
|
|
190
190
|
const response = {
|
|
191
191
|
$metadata: deserializeMetadata(output),
|
|
192
192
|
...contents,
|
|
193
193
|
};
|
|
194
|
-
return
|
|
194
|
+
return response;
|
|
195
195
|
};
|
|
196
196
|
exports.de_AssociateConfigurationItemsToApplicationCommand = de_AssociateConfigurationItemsToApplicationCommand;
|
|
197
197
|
const de_AssociateConfigurationItemsToApplicationCommandError = async (output, context) => {
|
|
@@ -218,10 +218,9 @@ const de_AssociateConfigurationItemsToApplicationCommandError = async (output, c
|
|
|
218
218
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
219
219
|
default:
|
|
220
220
|
const parsedBody = parsedOutput.body;
|
|
221
|
-
|
|
221
|
+
return throwDefaultError({
|
|
222
222
|
output,
|
|
223
223
|
parsedBody,
|
|
224
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
225
224
|
errorCode,
|
|
226
225
|
});
|
|
227
226
|
}
|
|
@@ -232,12 +231,12 @@ const de_BatchDeleteImportDataCommand = async (output, context) => {
|
|
|
232
231
|
}
|
|
233
232
|
const data = await parseBody(output.body, context);
|
|
234
233
|
let contents = {};
|
|
235
|
-
contents =
|
|
234
|
+
contents = (0, smithy_client_1._json)(data);
|
|
236
235
|
const response = {
|
|
237
236
|
$metadata: deserializeMetadata(output),
|
|
238
237
|
...contents,
|
|
239
238
|
};
|
|
240
|
-
return
|
|
239
|
+
return response;
|
|
241
240
|
};
|
|
242
241
|
exports.de_BatchDeleteImportDataCommand = de_BatchDeleteImportDataCommand;
|
|
243
242
|
const de_BatchDeleteImportDataCommandError = async (output, context) => {
|
|
@@ -264,10 +263,9 @@ const de_BatchDeleteImportDataCommandError = async (output, context) => {
|
|
|
264
263
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
265
264
|
default:
|
|
266
265
|
const parsedBody = parsedOutput.body;
|
|
267
|
-
|
|
266
|
+
return throwDefaultError({
|
|
268
267
|
output,
|
|
269
268
|
parsedBody,
|
|
270
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
271
269
|
errorCode,
|
|
272
270
|
});
|
|
273
271
|
}
|
|
@@ -278,12 +276,12 @@ const de_CreateApplicationCommand = async (output, context) => {
|
|
|
278
276
|
}
|
|
279
277
|
const data = await parseBody(output.body, context);
|
|
280
278
|
let contents = {};
|
|
281
|
-
contents =
|
|
279
|
+
contents = (0, smithy_client_1._json)(data);
|
|
282
280
|
const response = {
|
|
283
281
|
$metadata: deserializeMetadata(output),
|
|
284
282
|
...contents,
|
|
285
283
|
};
|
|
286
|
-
return
|
|
284
|
+
return response;
|
|
287
285
|
};
|
|
288
286
|
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
289
287
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -310,10 +308,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
310
308
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
311
309
|
default:
|
|
312
310
|
const parsedBody = parsedOutput.body;
|
|
313
|
-
|
|
311
|
+
return throwDefaultError({
|
|
314
312
|
output,
|
|
315
313
|
parsedBody,
|
|
316
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
317
314
|
errorCode,
|
|
318
315
|
});
|
|
319
316
|
}
|
|
@@ -324,12 +321,12 @@ const de_CreateTagsCommand = async (output, context) => {
|
|
|
324
321
|
}
|
|
325
322
|
const data = await parseBody(output.body, context);
|
|
326
323
|
let contents = {};
|
|
327
|
-
contents =
|
|
324
|
+
contents = (0, smithy_client_1._json)(data);
|
|
328
325
|
const response = {
|
|
329
326
|
$metadata: deserializeMetadata(output),
|
|
330
327
|
...contents,
|
|
331
328
|
};
|
|
332
|
-
return
|
|
329
|
+
return response;
|
|
333
330
|
};
|
|
334
331
|
exports.de_CreateTagsCommand = de_CreateTagsCommand;
|
|
335
332
|
const de_CreateTagsCommandError = async (output, context) => {
|
|
@@ -359,10 +356,9 @@ const de_CreateTagsCommandError = async (output, context) => {
|
|
|
359
356
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
360
357
|
default:
|
|
361
358
|
const parsedBody = parsedOutput.body;
|
|
362
|
-
|
|
359
|
+
return throwDefaultError({
|
|
363
360
|
output,
|
|
364
361
|
parsedBody,
|
|
365
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
366
362
|
errorCode,
|
|
367
363
|
});
|
|
368
364
|
}
|
|
@@ -373,12 +369,12 @@ const de_DeleteApplicationsCommand = async (output, context) => {
|
|
|
373
369
|
}
|
|
374
370
|
const data = await parseBody(output.body, context);
|
|
375
371
|
let contents = {};
|
|
376
|
-
contents =
|
|
372
|
+
contents = (0, smithy_client_1._json)(data);
|
|
377
373
|
const response = {
|
|
378
374
|
$metadata: deserializeMetadata(output),
|
|
379
375
|
...contents,
|
|
380
376
|
};
|
|
381
|
-
return
|
|
377
|
+
return response;
|
|
382
378
|
};
|
|
383
379
|
exports.de_DeleteApplicationsCommand = de_DeleteApplicationsCommand;
|
|
384
380
|
const de_DeleteApplicationsCommandError = async (output, context) => {
|
|
@@ -405,10 +401,9 @@ const de_DeleteApplicationsCommandError = async (output, context) => {
|
|
|
405
401
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
406
402
|
default:
|
|
407
403
|
const parsedBody = parsedOutput.body;
|
|
408
|
-
|
|
404
|
+
return throwDefaultError({
|
|
409
405
|
output,
|
|
410
406
|
parsedBody,
|
|
411
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
412
407
|
errorCode,
|
|
413
408
|
});
|
|
414
409
|
}
|
|
@@ -419,12 +414,12 @@ const de_DeleteTagsCommand = async (output, context) => {
|
|
|
419
414
|
}
|
|
420
415
|
const data = await parseBody(output.body, context);
|
|
421
416
|
let contents = {};
|
|
422
|
-
contents =
|
|
417
|
+
contents = (0, smithy_client_1._json)(data);
|
|
423
418
|
const response = {
|
|
424
419
|
$metadata: deserializeMetadata(output),
|
|
425
420
|
...contents,
|
|
426
421
|
};
|
|
427
|
-
return
|
|
422
|
+
return response;
|
|
428
423
|
};
|
|
429
424
|
exports.de_DeleteTagsCommand = de_DeleteTagsCommand;
|
|
430
425
|
const de_DeleteTagsCommandError = async (output, context) => {
|
|
@@ -454,10 +449,9 @@ const de_DeleteTagsCommandError = async (output, context) => {
|
|
|
454
449
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
455
450
|
default:
|
|
456
451
|
const parsedBody = parsedOutput.body;
|
|
457
|
-
|
|
452
|
+
return throwDefaultError({
|
|
458
453
|
output,
|
|
459
454
|
parsedBody,
|
|
460
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
461
455
|
errorCode,
|
|
462
456
|
});
|
|
463
457
|
}
|
|
@@ -468,12 +462,12 @@ const de_DescribeAgentsCommand = async (output, context) => {
|
|
|
468
462
|
}
|
|
469
463
|
const data = await parseBody(output.body, context);
|
|
470
464
|
let contents = {};
|
|
471
|
-
contents =
|
|
465
|
+
contents = (0, smithy_client_1._json)(data);
|
|
472
466
|
const response = {
|
|
473
467
|
$metadata: deserializeMetadata(output),
|
|
474
468
|
...contents,
|
|
475
469
|
};
|
|
476
|
-
return
|
|
470
|
+
return response;
|
|
477
471
|
};
|
|
478
472
|
exports.de_DescribeAgentsCommand = de_DescribeAgentsCommand;
|
|
479
473
|
const de_DescribeAgentsCommandError = async (output, context) => {
|
|
@@ -500,10 +494,9 @@ const de_DescribeAgentsCommandError = async (output, context) => {
|
|
|
500
494
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
501
495
|
default:
|
|
502
496
|
const parsedBody = parsedOutput.body;
|
|
503
|
-
|
|
497
|
+
return throwDefaultError({
|
|
504
498
|
output,
|
|
505
499
|
parsedBody,
|
|
506
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
507
500
|
errorCode,
|
|
508
501
|
});
|
|
509
502
|
}
|
|
@@ -514,12 +507,12 @@ const de_DescribeConfigurationsCommand = async (output, context) => {
|
|
|
514
507
|
}
|
|
515
508
|
const data = await parseBody(output.body, context);
|
|
516
509
|
let contents = {};
|
|
517
|
-
contents =
|
|
510
|
+
contents = (0, smithy_client_1._json)(data);
|
|
518
511
|
const response = {
|
|
519
512
|
$metadata: deserializeMetadata(output),
|
|
520
513
|
...contents,
|
|
521
514
|
};
|
|
522
|
-
return
|
|
515
|
+
return response;
|
|
523
516
|
};
|
|
524
517
|
exports.de_DescribeConfigurationsCommand = de_DescribeConfigurationsCommand;
|
|
525
518
|
const de_DescribeConfigurationsCommandError = async (output, context) => {
|
|
@@ -546,10 +539,9 @@ const de_DescribeConfigurationsCommandError = async (output, context) => {
|
|
|
546
539
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
547
540
|
default:
|
|
548
541
|
const parsedBody = parsedOutput.body;
|
|
549
|
-
|
|
542
|
+
return throwDefaultError({
|
|
550
543
|
output,
|
|
551
544
|
parsedBody,
|
|
552
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
553
545
|
errorCode,
|
|
554
546
|
});
|
|
555
547
|
}
|
|
@@ -565,7 +557,7 @@ const de_DescribeContinuousExportsCommand = async (output, context) => {
|
|
|
565
557
|
$metadata: deserializeMetadata(output),
|
|
566
558
|
...contents,
|
|
567
559
|
};
|
|
568
|
-
return
|
|
560
|
+
return response;
|
|
569
561
|
};
|
|
570
562
|
exports.de_DescribeContinuousExportsCommand = de_DescribeContinuousExportsCommand;
|
|
571
563
|
const de_DescribeContinuousExportsCommandError = async (output, context) => {
|
|
@@ -598,10 +590,9 @@ const de_DescribeContinuousExportsCommandError = async (output, context) => {
|
|
|
598
590
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
599
591
|
default:
|
|
600
592
|
const parsedBody = parsedOutput.body;
|
|
601
|
-
|
|
593
|
+
return throwDefaultError({
|
|
602
594
|
output,
|
|
603
595
|
parsedBody,
|
|
604
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
605
596
|
errorCode,
|
|
606
597
|
});
|
|
607
598
|
}
|
|
@@ -617,7 +608,7 @@ const de_DescribeExportConfigurationsCommand = async (output, context) => {
|
|
|
617
608
|
$metadata: deserializeMetadata(output),
|
|
618
609
|
...contents,
|
|
619
610
|
};
|
|
620
|
-
return
|
|
611
|
+
return response;
|
|
621
612
|
};
|
|
622
613
|
exports.de_DescribeExportConfigurationsCommand = de_DescribeExportConfigurationsCommand;
|
|
623
614
|
const de_DescribeExportConfigurationsCommandError = async (output, context) => {
|
|
@@ -647,10 +638,9 @@ const de_DescribeExportConfigurationsCommandError = async (output, context) => {
|
|
|
647
638
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
648
639
|
default:
|
|
649
640
|
const parsedBody = parsedOutput.body;
|
|
650
|
-
|
|
641
|
+
return throwDefaultError({
|
|
651
642
|
output,
|
|
652
643
|
parsedBody,
|
|
653
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
654
644
|
errorCode,
|
|
655
645
|
});
|
|
656
646
|
}
|
|
@@ -666,7 +656,7 @@ const de_DescribeExportTasksCommand = async (output, context) => {
|
|
|
666
656
|
$metadata: deserializeMetadata(output),
|
|
667
657
|
...contents,
|
|
668
658
|
};
|
|
669
|
-
return
|
|
659
|
+
return response;
|
|
670
660
|
};
|
|
671
661
|
exports.de_DescribeExportTasksCommand = de_DescribeExportTasksCommand;
|
|
672
662
|
const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
@@ -693,10 +683,9 @@ const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
|
693
683
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
694
684
|
default:
|
|
695
685
|
const parsedBody = parsedOutput.body;
|
|
696
|
-
|
|
686
|
+
return throwDefaultError({
|
|
697
687
|
output,
|
|
698
688
|
parsedBody,
|
|
699
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
700
689
|
errorCode,
|
|
701
690
|
});
|
|
702
691
|
}
|
|
@@ -712,7 +701,7 @@ const de_DescribeImportTasksCommand = async (output, context) => {
|
|
|
712
701
|
$metadata: deserializeMetadata(output),
|
|
713
702
|
...contents,
|
|
714
703
|
};
|
|
715
|
-
return
|
|
704
|
+
return response;
|
|
716
705
|
};
|
|
717
706
|
exports.de_DescribeImportTasksCommand = de_DescribeImportTasksCommand;
|
|
718
707
|
const de_DescribeImportTasksCommandError = async (output, context) => {
|
|
@@ -739,10 +728,9 @@ const de_DescribeImportTasksCommandError = async (output, context) => {
|
|
|
739
728
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
740
729
|
default:
|
|
741
730
|
const parsedBody = parsedOutput.body;
|
|
742
|
-
|
|
731
|
+
return throwDefaultError({
|
|
743
732
|
output,
|
|
744
733
|
parsedBody,
|
|
745
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
746
734
|
errorCode,
|
|
747
735
|
});
|
|
748
736
|
}
|
|
@@ -758,7 +746,7 @@ const de_DescribeTagsCommand = async (output, context) => {
|
|
|
758
746
|
$metadata: deserializeMetadata(output),
|
|
759
747
|
...contents,
|
|
760
748
|
};
|
|
761
|
-
return
|
|
749
|
+
return response;
|
|
762
750
|
};
|
|
763
751
|
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
764
752
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
@@ -788,10 +776,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
788
776
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
789
777
|
default:
|
|
790
778
|
const parsedBody = parsedOutput.body;
|
|
791
|
-
|
|
779
|
+
return throwDefaultError({
|
|
792
780
|
output,
|
|
793
781
|
parsedBody,
|
|
794
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
795
782
|
errorCode,
|
|
796
783
|
});
|
|
797
784
|
}
|
|
@@ -802,12 +789,12 @@ const de_DisassociateConfigurationItemsFromApplicationCommand = async (output, c
|
|
|
802
789
|
}
|
|
803
790
|
const data = await parseBody(output.body, context);
|
|
804
791
|
let contents = {};
|
|
805
|
-
contents =
|
|
792
|
+
contents = (0, smithy_client_1._json)(data);
|
|
806
793
|
const response = {
|
|
807
794
|
$metadata: deserializeMetadata(output),
|
|
808
795
|
...contents,
|
|
809
796
|
};
|
|
810
|
-
return
|
|
797
|
+
return response;
|
|
811
798
|
};
|
|
812
799
|
exports.de_DisassociateConfigurationItemsFromApplicationCommand = de_DisassociateConfigurationItemsFromApplicationCommand;
|
|
813
800
|
const de_DisassociateConfigurationItemsFromApplicationCommandError = async (output, context) => {
|
|
@@ -834,10 +821,9 @@ const de_DisassociateConfigurationItemsFromApplicationCommandError = async (outp
|
|
|
834
821
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
835
822
|
default:
|
|
836
823
|
const parsedBody = parsedOutput.body;
|
|
837
|
-
|
|
824
|
+
return throwDefaultError({
|
|
838
825
|
output,
|
|
839
826
|
parsedBody,
|
|
840
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
841
827
|
errorCode,
|
|
842
828
|
});
|
|
843
829
|
}
|
|
@@ -848,12 +834,12 @@ const de_ExportConfigurationsCommand = async (output, context) => {
|
|
|
848
834
|
}
|
|
849
835
|
const data = await parseBody(output.body, context);
|
|
850
836
|
let contents = {};
|
|
851
|
-
contents =
|
|
837
|
+
contents = (0, smithy_client_1._json)(data);
|
|
852
838
|
const response = {
|
|
853
839
|
$metadata: deserializeMetadata(output),
|
|
854
840
|
...contents,
|
|
855
841
|
};
|
|
856
|
-
return
|
|
842
|
+
return response;
|
|
857
843
|
};
|
|
858
844
|
exports.de_ExportConfigurationsCommand = de_ExportConfigurationsCommand;
|
|
859
845
|
const de_ExportConfigurationsCommandError = async (output, context) => {
|
|
@@ -883,10 +869,9 @@ const de_ExportConfigurationsCommandError = async (output, context) => {
|
|
|
883
869
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
884
870
|
default:
|
|
885
871
|
const parsedBody = parsedOutput.body;
|
|
886
|
-
|
|
872
|
+
return throwDefaultError({
|
|
887
873
|
output,
|
|
888
874
|
parsedBody,
|
|
889
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
890
875
|
errorCode,
|
|
891
876
|
});
|
|
892
877
|
}
|
|
@@ -897,12 +882,12 @@ const de_GetDiscoverySummaryCommand = async (output, context) => {
|
|
|
897
882
|
}
|
|
898
883
|
const data = await parseBody(output.body, context);
|
|
899
884
|
let contents = {};
|
|
900
|
-
contents =
|
|
885
|
+
contents = (0, smithy_client_1._json)(data);
|
|
901
886
|
const response = {
|
|
902
887
|
$metadata: deserializeMetadata(output),
|
|
903
888
|
...contents,
|
|
904
889
|
};
|
|
905
|
-
return
|
|
890
|
+
return response;
|
|
906
891
|
};
|
|
907
892
|
exports.de_GetDiscoverySummaryCommand = de_GetDiscoverySummaryCommand;
|
|
908
893
|
const de_GetDiscoverySummaryCommandError = async (output, context) => {
|
|
@@ -929,10 +914,9 @@ const de_GetDiscoverySummaryCommandError = async (output, context) => {
|
|
|
929
914
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
930
915
|
default:
|
|
931
916
|
const parsedBody = parsedOutput.body;
|
|
932
|
-
|
|
917
|
+
return throwDefaultError({
|
|
933
918
|
output,
|
|
934
919
|
parsedBody,
|
|
935
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
936
920
|
errorCode,
|
|
937
921
|
});
|
|
938
922
|
}
|
|
@@ -943,12 +927,12 @@ const de_ListConfigurationsCommand = async (output, context) => {
|
|
|
943
927
|
}
|
|
944
928
|
const data = await parseBody(output.body, context);
|
|
945
929
|
let contents = {};
|
|
946
|
-
contents =
|
|
930
|
+
contents = (0, smithy_client_1._json)(data);
|
|
947
931
|
const response = {
|
|
948
932
|
$metadata: deserializeMetadata(output),
|
|
949
933
|
...contents,
|
|
950
934
|
};
|
|
951
|
-
return
|
|
935
|
+
return response;
|
|
952
936
|
};
|
|
953
937
|
exports.de_ListConfigurationsCommand = de_ListConfigurationsCommand;
|
|
954
938
|
const de_ListConfigurationsCommandError = async (output, context) => {
|
|
@@ -978,10 +962,9 @@ const de_ListConfigurationsCommandError = async (output, context) => {
|
|
|
978
962
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
979
963
|
default:
|
|
980
964
|
const parsedBody = parsedOutput.body;
|
|
981
|
-
|
|
965
|
+
return throwDefaultError({
|
|
982
966
|
output,
|
|
983
967
|
parsedBody,
|
|
984
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
985
968
|
errorCode,
|
|
986
969
|
});
|
|
987
970
|
}
|
|
@@ -992,12 +975,12 @@ const de_ListServerNeighborsCommand = async (output, context) => {
|
|
|
992
975
|
}
|
|
993
976
|
const data = await parseBody(output.body, context);
|
|
994
977
|
let contents = {};
|
|
995
|
-
contents =
|
|
978
|
+
contents = (0, smithy_client_1._json)(data);
|
|
996
979
|
const response = {
|
|
997
980
|
$metadata: deserializeMetadata(output),
|
|
998
981
|
...contents,
|
|
999
982
|
};
|
|
1000
|
-
return
|
|
983
|
+
return response;
|
|
1001
984
|
};
|
|
1002
985
|
exports.de_ListServerNeighborsCommand = de_ListServerNeighborsCommand;
|
|
1003
986
|
const de_ListServerNeighborsCommandError = async (output, context) => {
|
|
@@ -1024,10 +1007,9 @@ const de_ListServerNeighborsCommandError = async (output, context) => {
|
|
|
1024
1007
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1025
1008
|
default:
|
|
1026
1009
|
const parsedBody = parsedOutput.body;
|
|
1027
|
-
|
|
1010
|
+
return throwDefaultError({
|
|
1028
1011
|
output,
|
|
1029
1012
|
parsedBody,
|
|
1030
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1031
1013
|
errorCode,
|
|
1032
1014
|
});
|
|
1033
1015
|
}
|
|
@@ -1043,7 +1025,7 @@ const de_StartContinuousExportCommand = async (output, context) => {
|
|
|
1043
1025
|
$metadata: deserializeMetadata(output),
|
|
1044
1026
|
...contents,
|
|
1045
1027
|
};
|
|
1046
|
-
return
|
|
1028
|
+
return response;
|
|
1047
1029
|
};
|
|
1048
1030
|
exports.de_StartContinuousExportCommand = de_StartContinuousExportCommand;
|
|
1049
1031
|
const de_StartContinuousExportCommandError = async (output, context) => {
|
|
@@ -1079,10 +1061,9 @@ const de_StartContinuousExportCommandError = async (output, context) => {
|
|
|
1079
1061
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1080
1062
|
default:
|
|
1081
1063
|
const parsedBody = parsedOutput.body;
|
|
1082
|
-
|
|
1064
|
+
return throwDefaultError({
|
|
1083
1065
|
output,
|
|
1084
1066
|
parsedBody,
|
|
1085
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1086
1067
|
errorCode,
|
|
1087
1068
|
});
|
|
1088
1069
|
}
|
|
@@ -1093,12 +1074,12 @@ const de_StartDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
|
1093
1074
|
}
|
|
1094
1075
|
const data = await parseBody(output.body, context);
|
|
1095
1076
|
let contents = {};
|
|
1096
|
-
contents =
|
|
1077
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1097
1078
|
const response = {
|
|
1098
1079
|
$metadata: deserializeMetadata(output),
|
|
1099
1080
|
...contents,
|
|
1100
1081
|
};
|
|
1101
|
-
return
|
|
1082
|
+
return response;
|
|
1102
1083
|
};
|
|
1103
1084
|
exports.de_StartDataCollectionByAgentIdsCommand = de_StartDataCollectionByAgentIdsCommand;
|
|
1104
1085
|
const de_StartDataCollectionByAgentIdsCommandError = async (output, context) => {
|
|
@@ -1125,10 +1106,9 @@ const de_StartDataCollectionByAgentIdsCommandError = async (output, context) =>
|
|
|
1125
1106
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1126
1107
|
default:
|
|
1127
1108
|
const parsedBody = parsedOutput.body;
|
|
1128
|
-
|
|
1109
|
+
return throwDefaultError({
|
|
1129
1110
|
output,
|
|
1130
1111
|
parsedBody,
|
|
1131
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1132
1112
|
errorCode,
|
|
1133
1113
|
});
|
|
1134
1114
|
}
|
|
@@ -1139,12 +1119,12 @@ const de_StartExportTaskCommand = async (output, context) => {
|
|
|
1139
1119
|
}
|
|
1140
1120
|
const data = await parseBody(output.body, context);
|
|
1141
1121
|
let contents = {};
|
|
1142
|
-
contents =
|
|
1122
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1143
1123
|
const response = {
|
|
1144
1124
|
$metadata: deserializeMetadata(output),
|
|
1145
1125
|
...contents,
|
|
1146
1126
|
};
|
|
1147
|
-
return
|
|
1127
|
+
return response;
|
|
1148
1128
|
};
|
|
1149
1129
|
exports.de_StartExportTaskCommand = de_StartExportTaskCommand;
|
|
1150
1130
|
const de_StartExportTaskCommandError = async (output, context) => {
|
|
@@ -1174,10 +1154,9 @@ const de_StartExportTaskCommandError = async (output, context) => {
|
|
|
1174
1154
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1175
1155
|
default:
|
|
1176
1156
|
const parsedBody = parsedOutput.body;
|
|
1177
|
-
|
|
1157
|
+
return throwDefaultError({
|
|
1178
1158
|
output,
|
|
1179
1159
|
parsedBody,
|
|
1180
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1181
1160
|
errorCode,
|
|
1182
1161
|
});
|
|
1183
1162
|
}
|
|
@@ -1193,7 +1172,7 @@ const de_StartImportTaskCommand = async (output, context) => {
|
|
|
1193
1172
|
$metadata: deserializeMetadata(output),
|
|
1194
1173
|
...contents,
|
|
1195
1174
|
};
|
|
1196
|
-
return
|
|
1175
|
+
return response;
|
|
1197
1176
|
};
|
|
1198
1177
|
exports.de_StartImportTaskCommand = de_StartImportTaskCommand;
|
|
1199
1178
|
const de_StartImportTaskCommandError = async (output, context) => {
|
|
@@ -1223,10 +1202,9 @@ const de_StartImportTaskCommandError = async (output, context) => {
|
|
|
1223
1202
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1224
1203
|
default:
|
|
1225
1204
|
const parsedBody = parsedOutput.body;
|
|
1226
|
-
|
|
1205
|
+
return throwDefaultError({
|
|
1227
1206
|
output,
|
|
1228
1207
|
parsedBody,
|
|
1229
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1230
1208
|
errorCode,
|
|
1231
1209
|
});
|
|
1232
1210
|
}
|
|
@@ -1242,7 +1220,7 @@ const de_StopContinuousExportCommand = async (output, context) => {
|
|
|
1242
1220
|
$metadata: deserializeMetadata(output),
|
|
1243
1221
|
...contents,
|
|
1244
1222
|
};
|
|
1245
|
-
return
|
|
1223
|
+
return response;
|
|
1246
1224
|
};
|
|
1247
1225
|
exports.de_StopContinuousExportCommand = de_StopContinuousExportCommand;
|
|
1248
1226
|
const de_StopContinuousExportCommandError = async (output, context) => {
|
|
@@ -1278,10 +1256,9 @@ const de_StopContinuousExportCommandError = async (output, context) => {
|
|
|
1278
1256
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1279
1257
|
default:
|
|
1280
1258
|
const parsedBody = parsedOutput.body;
|
|
1281
|
-
|
|
1259
|
+
return throwDefaultError({
|
|
1282
1260
|
output,
|
|
1283
1261
|
parsedBody,
|
|
1284
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1285
1262
|
errorCode,
|
|
1286
1263
|
});
|
|
1287
1264
|
}
|
|
@@ -1292,12 +1269,12 @@ const de_StopDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
|
1292
1269
|
}
|
|
1293
1270
|
const data = await parseBody(output.body, context);
|
|
1294
1271
|
let contents = {};
|
|
1295
|
-
contents =
|
|
1272
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1296
1273
|
const response = {
|
|
1297
1274
|
$metadata: deserializeMetadata(output),
|
|
1298
1275
|
...contents,
|
|
1299
1276
|
};
|
|
1300
|
-
return
|
|
1277
|
+
return response;
|
|
1301
1278
|
};
|
|
1302
1279
|
exports.de_StopDataCollectionByAgentIdsCommand = de_StopDataCollectionByAgentIdsCommand;
|
|
1303
1280
|
const de_StopDataCollectionByAgentIdsCommandError = async (output, context) => {
|
|
@@ -1324,10 +1301,9 @@ const de_StopDataCollectionByAgentIdsCommandError = async (output, context) => {
|
|
|
1324
1301
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1325
1302
|
default:
|
|
1326
1303
|
const parsedBody = parsedOutput.body;
|
|
1327
|
-
|
|
1304
|
+
return throwDefaultError({
|
|
1328
1305
|
output,
|
|
1329
1306
|
parsedBody,
|
|
1330
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1331
1307
|
errorCode,
|
|
1332
1308
|
});
|
|
1333
1309
|
}
|
|
@@ -1338,12 +1314,12 @@ const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1338
1314
|
}
|
|
1339
1315
|
const data = await parseBody(output.body, context);
|
|
1340
1316
|
let contents = {};
|
|
1341
|
-
contents =
|
|
1317
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1342
1318
|
const response = {
|
|
1343
1319
|
$metadata: deserializeMetadata(output),
|
|
1344
1320
|
...contents,
|
|
1345
1321
|
};
|
|
1346
|
-
return
|
|
1322
|
+
return response;
|
|
1347
1323
|
};
|
|
1348
1324
|
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
1349
1325
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -1370,17 +1346,16 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1370
1346
|
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1371
1347
|
default:
|
|
1372
1348
|
const parsedBody = parsedOutput.body;
|
|
1373
|
-
|
|
1349
|
+
return throwDefaultError({
|
|
1374
1350
|
output,
|
|
1375
1351
|
parsedBody,
|
|
1376
|
-
exceptionCtor: ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException,
|
|
1377
1352
|
errorCode,
|
|
1378
1353
|
});
|
|
1379
1354
|
}
|
|
1380
1355
|
};
|
|
1381
1356
|
const de_AuthorizationErrorExceptionRes = async (parsedOutput, context) => {
|
|
1382
1357
|
const body = parsedOutput.body;
|
|
1383
|
-
const deserialized =
|
|
1358
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1384
1359
|
const exception = new models_0_1.AuthorizationErrorException({
|
|
1385
1360
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1386
1361
|
...deserialized,
|
|
@@ -1389,7 +1364,7 @@ const de_AuthorizationErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1389
1364
|
};
|
|
1390
1365
|
const de_ConflictErrorExceptionRes = async (parsedOutput, context) => {
|
|
1391
1366
|
const body = parsedOutput.body;
|
|
1392
|
-
const deserialized =
|
|
1367
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1393
1368
|
const exception = new models_0_1.ConflictErrorException({
|
|
1394
1369
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1395
1370
|
...deserialized,
|
|
@@ -1398,7 +1373,7 @@ const de_ConflictErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1398
1373
|
};
|
|
1399
1374
|
const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
1400
1375
|
const body = parsedOutput.body;
|
|
1401
|
-
const deserialized =
|
|
1376
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1402
1377
|
const exception = new models_0_1.HomeRegionNotSetException({
|
|
1403
1378
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1404
1379
|
...deserialized,
|
|
@@ -1407,7 +1382,7 @@ const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
|
1407
1382
|
};
|
|
1408
1383
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1409
1384
|
const body = parsedOutput.body;
|
|
1410
|
-
const deserialized =
|
|
1385
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1411
1386
|
const exception = new models_0_1.InvalidParameterException({
|
|
1412
1387
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1413
1388
|
...deserialized,
|
|
@@ -1416,7 +1391,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
1416
1391
|
};
|
|
1417
1392
|
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1418
1393
|
const body = parsedOutput.body;
|
|
1419
|
-
const deserialized =
|
|
1394
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1420
1395
|
const exception = new models_0_1.InvalidParameterValueException({
|
|
1421
1396
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1422
1397
|
...deserialized,
|
|
@@ -1425,7 +1400,7 @@ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
|
1425
1400
|
};
|
|
1426
1401
|
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1427
1402
|
const body = parsedOutput.body;
|
|
1428
|
-
const deserialized =
|
|
1403
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1429
1404
|
const exception = new models_0_1.OperationNotPermittedException({
|
|
1430
1405
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1431
1406
|
...deserialized,
|
|
@@ -1434,7 +1409,7 @@ const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
|
1434
1409
|
};
|
|
1435
1410
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1436
1411
|
const body = parsedOutput.body;
|
|
1437
|
-
const deserialized =
|
|
1412
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1438
1413
|
const exception = new models_0_1.ResourceInUseException({
|
|
1439
1414
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1440
1415
|
...deserialized,
|
|
@@ -1443,7 +1418,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1443
1418
|
};
|
|
1444
1419
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1445
1420
|
const body = parsedOutput.body;
|
|
1446
|
-
const deserialized =
|
|
1421
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1447
1422
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1448
1423
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1449
1424
|
...deserialized,
|
|
@@ -1452,801 +1427,159 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1452
1427
|
};
|
|
1453
1428
|
const de_ServerInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
1454
1429
|
const body = parsedOutput.body;
|
|
1455
|
-
const deserialized =
|
|
1430
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1456
1431
|
const exception = new models_0_1.ServerInternalErrorException({
|
|
1457
1432
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1458
1433
|
...deserialized,
|
|
1459
1434
|
});
|
|
1460
1435
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1461
1436
|
};
|
|
1462
|
-
const se_AgentIds = (input, context) => {
|
|
1463
|
-
return input
|
|
1464
|
-
.filter((e) => e != null)
|
|
1465
|
-
.map((entry) => {
|
|
1466
|
-
return entry;
|
|
1467
|
-
});
|
|
1468
|
-
};
|
|
1469
|
-
const se_ApplicationIdsList = (input, context) => {
|
|
1470
|
-
return input
|
|
1471
|
-
.filter((e) => e != null)
|
|
1472
|
-
.map((entry) => {
|
|
1473
|
-
return entry;
|
|
1474
|
-
});
|
|
1475
|
-
};
|
|
1476
|
-
const se_AssociateConfigurationItemsToApplicationRequest = (input, context) => {
|
|
1477
|
-
return {
|
|
1478
|
-
...(input.applicationConfigurationId != null && { applicationConfigurationId: input.applicationConfigurationId }),
|
|
1479
|
-
...(input.configurationIds != null && {
|
|
1480
|
-
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1481
|
-
}),
|
|
1482
|
-
};
|
|
1483
|
-
};
|
|
1484
|
-
const se_BatchDeleteImportDataRequest = (input, context) => {
|
|
1485
|
-
return {
|
|
1486
|
-
...(input.importTaskIds != null && { importTaskIds: se_ToDeleteIdentifierList(input.importTaskIds, context) }),
|
|
1487
|
-
};
|
|
1488
|
-
};
|
|
1489
|
-
const se_ConfigurationIdList = (input, context) => {
|
|
1490
|
-
return input
|
|
1491
|
-
.filter((e) => e != null)
|
|
1492
|
-
.map((entry) => {
|
|
1493
|
-
return entry;
|
|
1494
|
-
});
|
|
1495
|
-
};
|
|
1496
|
-
const se_ContinuousExportIds = (input, context) => {
|
|
1497
|
-
return input
|
|
1498
|
-
.filter((e) => e != null)
|
|
1499
|
-
.map((entry) => {
|
|
1500
|
-
return entry;
|
|
1501
|
-
});
|
|
1502
|
-
};
|
|
1503
|
-
const se_CreateApplicationRequest = (input, context) => {
|
|
1504
|
-
return {
|
|
1505
|
-
...(input.description != null && { description: input.description }),
|
|
1506
|
-
...(input.name != null && { name: input.name }),
|
|
1507
|
-
};
|
|
1508
|
-
};
|
|
1509
|
-
const se_CreateTagsRequest = (input, context) => {
|
|
1510
|
-
return {
|
|
1511
|
-
...(input.configurationIds != null && {
|
|
1512
|
-
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1513
|
-
}),
|
|
1514
|
-
...(input.tags != null && { tags: se_TagSet(input.tags, context) }),
|
|
1515
|
-
};
|
|
1516
|
-
};
|
|
1517
|
-
const se_DeleteApplicationsRequest = (input, context) => {
|
|
1518
|
-
return {
|
|
1519
|
-
...(input.configurationIds != null && { configurationIds: se_ApplicationIdsList(input.configurationIds, context) }),
|
|
1520
|
-
};
|
|
1521
|
-
};
|
|
1522
|
-
const se_DeleteTagsRequest = (input, context) => {
|
|
1523
|
-
return {
|
|
1524
|
-
...(input.configurationIds != null && {
|
|
1525
|
-
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1526
|
-
}),
|
|
1527
|
-
...(input.tags != null && { tags: se_TagSet(input.tags, context) }),
|
|
1528
|
-
};
|
|
1529
|
-
};
|
|
1530
|
-
const se_DescribeAgentsRequest = (input, context) => {
|
|
1531
|
-
return {
|
|
1532
|
-
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1533
|
-
...(input.filters != null && { filters: se_Filters(input.filters, context) }),
|
|
1534
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1535
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1536
|
-
};
|
|
1537
|
-
};
|
|
1538
|
-
const se_DescribeConfigurationsRequest = (input, context) => {
|
|
1539
|
-
return {
|
|
1540
|
-
...(input.configurationIds != null && {
|
|
1541
|
-
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1542
|
-
}),
|
|
1543
|
-
};
|
|
1544
|
-
};
|
|
1545
|
-
const se_DescribeContinuousExportsRequest = (input, context) => {
|
|
1546
|
-
return {
|
|
1547
|
-
...(input.exportIds != null && { exportIds: se_ContinuousExportIds(input.exportIds, context) }),
|
|
1548
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1549
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1550
|
-
};
|
|
1551
|
-
};
|
|
1552
|
-
const se_DescribeExportConfigurationsRequest = (input, context) => {
|
|
1553
|
-
return {
|
|
1554
|
-
...(input.exportIds != null && { exportIds: se_ExportIds(input.exportIds, context) }),
|
|
1555
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1556
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1557
|
-
};
|
|
1558
|
-
};
|
|
1559
|
-
const se_DescribeExportTasksRequest = (input, context) => {
|
|
1560
|
-
return {
|
|
1561
|
-
...(input.exportIds != null && { exportIds: se_ExportIds(input.exportIds, context) }),
|
|
1562
|
-
...(input.filters != null && { filters: se_ExportFilters(input.filters, context) }),
|
|
1563
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1564
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1567
|
-
const se_DescribeImportTasksFilterList = (input, context) => {
|
|
1568
|
-
return input
|
|
1569
|
-
.filter((e) => e != null)
|
|
1570
|
-
.map((entry) => {
|
|
1571
|
-
return se_ImportTaskFilter(entry, context);
|
|
1572
|
-
});
|
|
1573
|
-
};
|
|
1574
|
-
const se_DescribeImportTasksRequest = (input, context) => {
|
|
1575
|
-
return {
|
|
1576
|
-
...(input.filters != null && { filters: se_DescribeImportTasksFilterList(input.filters, context) }),
|
|
1577
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1578
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1579
|
-
};
|
|
1580
|
-
};
|
|
1581
|
-
const se_DescribeTagsRequest = (input, context) => {
|
|
1582
|
-
return {
|
|
1583
|
-
...(input.filters != null && { filters: se_TagFilters(input.filters, context) }),
|
|
1584
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1585
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1586
|
-
};
|
|
1587
|
-
};
|
|
1588
|
-
const se_DisassociateConfigurationItemsFromApplicationRequest = (input, context) => {
|
|
1589
|
-
return {
|
|
1590
|
-
...(input.applicationConfigurationId != null && { applicationConfigurationId: input.applicationConfigurationId }),
|
|
1591
|
-
...(input.configurationIds != null && {
|
|
1592
|
-
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1593
|
-
}),
|
|
1594
|
-
};
|
|
1595
|
-
};
|
|
1596
|
-
const se_ExportDataFormats = (input, context) => {
|
|
1597
|
-
return input
|
|
1598
|
-
.filter((e) => e != null)
|
|
1599
|
-
.map((entry) => {
|
|
1600
|
-
return entry;
|
|
1601
|
-
});
|
|
1602
|
-
};
|
|
1603
|
-
const se_ExportFilter = (input, context) => {
|
|
1604
|
-
return {
|
|
1605
|
-
...(input.condition != null && { condition: input.condition }),
|
|
1606
|
-
...(input.name != null && { name: input.name }),
|
|
1607
|
-
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1608
|
-
};
|
|
1609
|
-
};
|
|
1610
|
-
const se_ExportFilters = (input, context) => {
|
|
1611
|
-
return input
|
|
1612
|
-
.filter((e) => e != null)
|
|
1613
|
-
.map((entry) => {
|
|
1614
|
-
return se_ExportFilter(entry, context);
|
|
1615
|
-
});
|
|
1616
|
-
};
|
|
1617
|
-
const se_ExportIds = (input, context) => {
|
|
1618
|
-
return input
|
|
1619
|
-
.filter((e) => e != null)
|
|
1620
|
-
.map((entry) => {
|
|
1621
|
-
return entry;
|
|
1622
|
-
});
|
|
1623
|
-
};
|
|
1624
|
-
const se_Filter = (input, context) => {
|
|
1625
|
-
return {
|
|
1626
|
-
...(input.condition != null && { condition: input.condition }),
|
|
1627
|
-
...(input.name != null && { name: input.name }),
|
|
1628
|
-
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
const se_Filters = (input, context) => {
|
|
1632
|
-
return input
|
|
1633
|
-
.filter((e) => e != null)
|
|
1634
|
-
.map((entry) => {
|
|
1635
|
-
return se_Filter(entry, context);
|
|
1636
|
-
});
|
|
1637
|
-
};
|
|
1638
|
-
const se_FilterValues = (input, context) => {
|
|
1639
|
-
return input
|
|
1640
|
-
.filter((e) => e != null)
|
|
1641
|
-
.map((entry) => {
|
|
1642
|
-
return entry;
|
|
1643
|
-
});
|
|
1644
|
-
};
|
|
1645
|
-
const se_GetDiscoverySummaryRequest = (input, context) => {
|
|
1646
|
-
return {};
|
|
1647
|
-
};
|
|
1648
|
-
const se_ImportTaskFilter = (input, context) => {
|
|
1649
|
-
return {
|
|
1650
|
-
...(input.name != null && { name: input.name }),
|
|
1651
|
-
...(input.values != null && { values: se_ImportTaskFilterValueList(input.values, context) }),
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
const se_ImportTaskFilterValueList = (input, context) => {
|
|
1655
|
-
return input
|
|
1656
|
-
.filter((e) => e != null)
|
|
1657
|
-
.map((entry) => {
|
|
1658
|
-
return entry;
|
|
1659
|
-
});
|
|
1660
|
-
};
|
|
1661
|
-
const se_ListConfigurationsRequest = (input, context) => {
|
|
1662
|
-
return {
|
|
1663
|
-
...(input.configurationType != null && { configurationType: input.configurationType }),
|
|
1664
|
-
...(input.filters != null && { filters: se_Filters(input.filters, context) }),
|
|
1665
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1666
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1667
|
-
...(input.orderBy != null && { orderBy: se_OrderByList(input.orderBy, context) }),
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
const se_ListServerNeighborsRequest = (input, context) => {
|
|
1671
|
-
return {
|
|
1672
|
-
...(input.configurationId != null && { configurationId: input.configurationId }),
|
|
1673
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1674
|
-
...(input.neighborConfigurationIds != null && {
|
|
1675
|
-
neighborConfigurationIds: se_ConfigurationIdList(input.neighborConfigurationIds, context),
|
|
1676
|
-
}),
|
|
1677
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1678
|
-
...(input.portInformationNeeded != null && { portInformationNeeded: input.portInformationNeeded }),
|
|
1679
|
-
};
|
|
1680
|
-
};
|
|
1681
|
-
const se_OrderByElement = (input, context) => {
|
|
1682
|
-
return {
|
|
1683
|
-
...(input.fieldName != null && { fieldName: input.fieldName }),
|
|
1684
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
|
-
const se_OrderByList = (input, context) => {
|
|
1688
|
-
return input
|
|
1689
|
-
.filter((e) => e != null)
|
|
1690
|
-
.map((entry) => {
|
|
1691
|
-
return se_OrderByElement(entry, context);
|
|
1692
|
-
});
|
|
1693
|
-
};
|
|
1694
|
-
const se_StartContinuousExportRequest = (input, context) => {
|
|
1695
|
-
return {};
|
|
1696
|
-
};
|
|
1697
|
-
const se_StartDataCollectionByAgentIdsRequest = (input, context) => {
|
|
1698
|
-
return {
|
|
1699
|
-
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
1437
|
const se_StartExportTaskRequest = (input, context) => {
|
|
1703
|
-
return {
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
};
|
|
1709
|
-
};
|
|
1710
|
-
const se_StartImportTaskRequest = (input, context) => {
|
|
1711
|
-
return {
|
|
1712
|
-
clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
|
|
1713
|
-
...(input.importUrl != null && { importUrl: input.importUrl }),
|
|
1714
|
-
...(input.name != null && { name: input.name }),
|
|
1715
|
-
};
|
|
1716
|
-
};
|
|
1717
|
-
const se_StopContinuousExportRequest = (input, context) => {
|
|
1718
|
-
return {
|
|
1719
|
-
...(input.exportId != null && { exportId: input.exportId }),
|
|
1720
|
-
};
|
|
1721
|
-
};
|
|
1722
|
-
const se_StopDataCollectionByAgentIdsRequest = (input, context) => {
|
|
1723
|
-
return {
|
|
1724
|
-
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1725
|
-
};
|
|
1726
|
-
};
|
|
1727
|
-
const se_Tag = (input, context) => {
|
|
1728
|
-
return {
|
|
1729
|
-
...(input.key != null && { key: input.key }),
|
|
1730
|
-
...(input.value != null && { value: input.value }),
|
|
1731
|
-
};
|
|
1732
|
-
};
|
|
1733
|
-
const se_TagFilter = (input, context) => {
|
|
1734
|
-
return {
|
|
1735
|
-
...(input.name != null && { name: input.name }),
|
|
1736
|
-
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
const se_TagFilters = (input, context) => {
|
|
1740
|
-
return input
|
|
1741
|
-
.filter((e) => e != null)
|
|
1742
|
-
.map((entry) => {
|
|
1743
|
-
return se_TagFilter(entry, context);
|
|
1744
|
-
});
|
|
1745
|
-
};
|
|
1746
|
-
const se_TagSet = (input, context) => {
|
|
1747
|
-
return input
|
|
1748
|
-
.filter((e) => e != null)
|
|
1749
|
-
.map((entry) => {
|
|
1750
|
-
return se_Tag(entry, context);
|
|
1751
|
-
});
|
|
1752
|
-
};
|
|
1753
|
-
const se_ToDeleteIdentifierList = (input, context) => {
|
|
1754
|
-
return input
|
|
1755
|
-
.filter((e) => e != null)
|
|
1756
|
-
.map((entry) => {
|
|
1757
|
-
return entry;
|
|
1758
|
-
});
|
|
1759
|
-
};
|
|
1760
|
-
const se_UpdateApplicationRequest = (input, context) => {
|
|
1761
|
-
return {
|
|
1762
|
-
...(input.configurationId != null && { configurationId: input.configurationId }),
|
|
1763
|
-
...(input.description != null && { description: input.description }),
|
|
1764
|
-
...(input.name != null && { name: input.name }),
|
|
1765
|
-
};
|
|
1766
|
-
};
|
|
1767
|
-
const de_AgentConfigurationStatus = (output, context) => {
|
|
1768
|
-
return {
|
|
1769
|
-
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
1770
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
1771
|
-
operationSucceeded: (0, smithy_client_1.expectBoolean)(output.operationSucceeded),
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
const de_AgentConfigurationStatusList = (output, context) => {
|
|
1775
|
-
const retVal = (output || [])
|
|
1776
|
-
.filter((e) => e != null)
|
|
1777
|
-
.map((entry) => {
|
|
1778
|
-
if (entry === null) {
|
|
1779
|
-
return null;
|
|
1780
|
-
}
|
|
1781
|
-
return de_AgentConfigurationStatus(entry, context);
|
|
1782
|
-
});
|
|
1783
|
-
return retVal;
|
|
1784
|
-
};
|
|
1785
|
-
const de_AgentInfo = (output, context) => {
|
|
1786
|
-
return {
|
|
1787
|
-
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
1788
|
-
agentNetworkInfoList: output.agentNetworkInfoList != null ? de_AgentNetworkInfoList(output.agentNetworkInfoList, context) : undefined,
|
|
1789
|
-
agentType: (0, smithy_client_1.expectString)(output.agentType),
|
|
1790
|
-
collectionStatus: (0, smithy_client_1.expectString)(output.collectionStatus),
|
|
1791
|
-
connectorId: (0, smithy_client_1.expectString)(output.connectorId),
|
|
1792
|
-
health: (0, smithy_client_1.expectString)(output.health),
|
|
1793
|
-
hostName: (0, smithy_client_1.expectString)(output.hostName),
|
|
1794
|
-
lastHealthPingTime: (0, smithy_client_1.expectString)(output.lastHealthPingTime),
|
|
1795
|
-
registeredTime: (0, smithy_client_1.expectString)(output.registeredTime),
|
|
1796
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
1797
|
-
};
|
|
1798
|
-
};
|
|
1799
|
-
const de_AgentNetworkInfo = (output, context) => {
|
|
1800
|
-
return {
|
|
1801
|
-
ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
|
|
1802
|
-
macAddress: (0, smithy_client_1.expectString)(output.macAddress),
|
|
1803
|
-
};
|
|
1804
|
-
};
|
|
1805
|
-
const de_AgentNetworkInfoList = (output, context) => {
|
|
1806
|
-
const retVal = (output || [])
|
|
1807
|
-
.filter((e) => e != null)
|
|
1808
|
-
.map((entry) => {
|
|
1809
|
-
if (entry === null) {
|
|
1810
|
-
return null;
|
|
1811
|
-
}
|
|
1812
|
-
return de_AgentNetworkInfo(entry, context);
|
|
1813
|
-
});
|
|
1814
|
-
return retVal;
|
|
1815
|
-
};
|
|
1816
|
-
const de_AgentsInfo = (output, context) => {
|
|
1817
|
-
const retVal = (output || [])
|
|
1818
|
-
.filter((e) => e != null)
|
|
1819
|
-
.map((entry) => {
|
|
1820
|
-
if (entry === null) {
|
|
1821
|
-
return null;
|
|
1822
|
-
}
|
|
1823
|
-
return de_AgentInfo(entry, context);
|
|
1824
|
-
});
|
|
1825
|
-
return retVal;
|
|
1826
|
-
};
|
|
1827
|
-
const de_AssociateConfigurationItemsToApplicationResponse = (output, context) => {
|
|
1828
|
-
return {};
|
|
1829
|
-
};
|
|
1830
|
-
const de_AuthorizationErrorException = (output, context) => {
|
|
1831
|
-
return {
|
|
1832
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1833
|
-
};
|
|
1834
|
-
};
|
|
1835
|
-
const de_BatchDeleteImportDataError = (output, context) => {
|
|
1836
|
-
return {
|
|
1837
|
-
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
1838
|
-
errorDescription: (0, smithy_client_1.expectString)(output.errorDescription),
|
|
1839
|
-
importTaskId: (0, smithy_client_1.expectString)(output.importTaskId),
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
|
-
const de_BatchDeleteImportDataErrorList = (output, context) => {
|
|
1843
|
-
const retVal = (output || [])
|
|
1844
|
-
.filter((e) => e != null)
|
|
1845
|
-
.map((entry) => {
|
|
1846
|
-
if (entry === null) {
|
|
1847
|
-
return null;
|
|
1848
|
-
}
|
|
1849
|
-
return de_BatchDeleteImportDataError(entry, context);
|
|
1438
|
+
return (0, smithy_client_1.take)(input, {
|
|
1439
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
1440
|
+
exportDataFormat: smithy_client_1._json,
|
|
1441
|
+
filters: smithy_client_1._json,
|
|
1442
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
1850
1443
|
});
|
|
1851
|
-
return retVal;
|
|
1852
1444
|
};
|
|
1853
|
-
const
|
|
1854
|
-
return {
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
const de_Configuration = (output, context) => {
|
|
1859
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1860
|
-
if (value === null) {
|
|
1861
|
-
return acc;
|
|
1862
|
-
}
|
|
1863
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1864
|
-
return acc;
|
|
1865
|
-
}, {});
|
|
1866
|
-
};
|
|
1867
|
-
const de_Configurations = (output, context) => {
|
|
1868
|
-
const retVal = (output || [])
|
|
1869
|
-
.filter((e) => e != null)
|
|
1870
|
-
.map((entry) => {
|
|
1871
|
-
if (entry === null) {
|
|
1872
|
-
return null;
|
|
1873
|
-
}
|
|
1874
|
-
return de_Configuration(entry, context);
|
|
1445
|
+
const se_StartImportTaskRequest = (input, context) => {
|
|
1446
|
+
return (0, smithy_client_1.take)(input, {
|
|
1447
|
+
clientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1448
|
+
importUrl: [],
|
|
1449
|
+
name: [],
|
|
1875
1450
|
});
|
|
1876
|
-
return retVal;
|
|
1877
1451
|
};
|
|
1878
1452
|
const de_ConfigurationTag = (output, context) => {
|
|
1879
|
-
return {
|
|
1880
|
-
configurationId:
|
|
1881
|
-
configurationType:
|
|
1882
|
-
key:
|
|
1883
|
-
timeOfCreation:
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
1887
|
-
};
|
|
1453
|
+
return (0, smithy_client_1.take)(output, {
|
|
1454
|
+
configurationId: smithy_client_1.expectString,
|
|
1455
|
+
configurationType: smithy_client_1.expectString,
|
|
1456
|
+
key: smithy_client_1.expectString,
|
|
1457
|
+
timeOfCreation: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1458
|
+
value: smithy_client_1.expectString,
|
|
1459
|
+
});
|
|
1888
1460
|
};
|
|
1889
1461
|
const de_ConfigurationTagSet = (output, context) => {
|
|
1890
1462
|
const retVal = (output || [])
|
|
1891
1463
|
.filter((e) => e != null)
|
|
1892
1464
|
.map((entry) => {
|
|
1893
|
-
if (entry === null) {
|
|
1894
|
-
return null;
|
|
1895
|
-
}
|
|
1896
1465
|
return de_ConfigurationTag(entry, context);
|
|
1897
1466
|
});
|
|
1898
1467
|
return retVal;
|
|
1899
1468
|
};
|
|
1900
|
-
const de_ConflictErrorException = (output, context) => {
|
|
1901
|
-
return {
|
|
1902
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1903
|
-
};
|
|
1904
|
-
};
|
|
1905
1469
|
const de_ContinuousExportDescription = (output, context) => {
|
|
1906
|
-
return {
|
|
1907
|
-
dataSource:
|
|
1908
|
-
exportId:
|
|
1909
|
-
s3Bucket:
|
|
1910
|
-
schemaStorageConfig:
|
|
1911
|
-
startTime:
|
|
1912
|
-
status:
|
|
1913
|
-
statusDetail:
|
|
1914
|
-
stopTime:
|
|
1915
|
-
};
|
|
1470
|
+
return (0, smithy_client_1.take)(output, {
|
|
1471
|
+
dataSource: smithy_client_1.expectString,
|
|
1472
|
+
exportId: smithy_client_1.expectString,
|
|
1473
|
+
s3Bucket: smithy_client_1.expectString,
|
|
1474
|
+
schemaStorageConfig: smithy_client_1._json,
|
|
1475
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1476
|
+
status: smithy_client_1.expectString,
|
|
1477
|
+
statusDetail: smithy_client_1.expectString,
|
|
1478
|
+
stopTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1479
|
+
});
|
|
1916
1480
|
};
|
|
1917
1481
|
const de_ContinuousExportDescriptions = (output, context) => {
|
|
1918
1482
|
const retVal = (output || [])
|
|
1919
1483
|
.filter((e) => e != null)
|
|
1920
1484
|
.map((entry) => {
|
|
1921
|
-
if (entry === null) {
|
|
1922
|
-
return null;
|
|
1923
|
-
}
|
|
1924
1485
|
return de_ContinuousExportDescription(entry, context);
|
|
1925
1486
|
});
|
|
1926
1487
|
return retVal;
|
|
1927
1488
|
};
|
|
1928
|
-
const de_CreateApplicationResponse = (output, context) => {
|
|
1929
|
-
return {
|
|
1930
|
-
configurationId: (0, smithy_client_1.expectString)(output.configurationId),
|
|
1931
|
-
};
|
|
1932
|
-
};
|
|
1933
|
-
const de_CreateTagsResponse = (output, context) => {
|
|
1934
|
-
return {};
|
|
1935
|
-
};
|
|
1936
|
-
const de_CustomerAgentInfo = (output, context) => {
|
|
1937
|
-
return {
|
|
1938
|
-
activeAgents: (0, smithy_client_1.expectInt32)(output.activeAgents),
|
|
1939
|
-
blackListedAgents: (0, smithy_client_1.expectInt32)(output.blackListedAgents),
|
|
1940
|
-
healthyAgents: (0, smithy_client_1.expectInt32)(output.healthyAgents),
|
|
1941
|
-
shutdownAgents: (0, smithy_client_1.expectInt32)(output.shutdownAgents),
|
|
1942
|
-
totalAgents: (0, smithy_client_1.expectInt32)(output.totalAgents),
|
|
1943
|
-
unhealthyAgents: (0, smithy_client_1.expectInt32)(output.unhealthyAgents),
|
|
1944
|
-
unknownAgents: (0, smithy_client_1.expectInt32)(output.unknownAgents),
|
|
1945
|
-
};
|
|
1946
|
-
};
|
|
1947
|
-
const de_CustomerAgentlessCollectorInfo = (output, context) => {
|
|
1948
|
-
return {
|
|
1949
|
-
activeAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.activeAgentlessCollectors),
|
|
1950
|
-
denyListedAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.denyListedAgentlessCollectors),
|
|
1951
|
-
healthyAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.healthyAgentlessCollectors),
|
|
1952
|
-
shutdownAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.shutdownAgentlessCollectors),
|
|
1953
|
-
totalAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.totalAgentlessCollectors),
|
|
1954
|
-
unhealthyAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.unhealthyAgentlessCollectors),
|
|
1955
|
-
unknownAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.unknownAgentlessCollectors),
|
|
1956
|
-
};
|
|
1957
|
-
};
|
|
1958
|
-
const de_CustomerConnectorInfo = (output, context) => {
|
|
1959
|
-
return {
|
|
1960
|
-
activeConnectors: (0, smithy_client_1.expectInt32)(output.activeConnectors),
|
|
1961
|
-
blackListedConnectors: (0, smithy_client_1.expectInt32)(output.blackListedConnectors),
|
|
1962
|
-
healthyConnectors: (0, smithy_client_1.expectInt32)(output.healthyConnectors),
|
|
1963
|
-
shutdownConnectors: (0, smithy_client_1.expectInt32)(output.shutdownConnectors),
|
|
1964
|
-
totalConnectors: (0, smithy_client_1.expectInt32)(output.totalConnectors),
|
|
1965
|
-
unhealthyConnectors: (0, smithy_client_1.expectInt32)(output.unhealthyConnectors),
|
|
1966
|
-
unknownConnectors: (0, smithy_client_1.expectInt32)(output.unknownConnectors),
|
|
1967
|
-
};
|
|
1968
|
-
};
|
|
1969
|
-
const de_CustomerMeCollectorInfo = (output, context) => {
|
|
1970
|
-
return {
|
|
1971
|
-
activeMeCollectors: (0, smithy_client_1.expectInt32)(output.activeMeCollectors),
|
|
1972
|
-
denyListedMeCollectors: (0, smithy_client_1.expectInt32)(output.denyListedMeCollectors),
|
|
1973
|
-
healthyMeCollectors: (0, smithy_client_1.expectInt32)(output.healthyMeCollectors),
|
|
1974
|
-
shutdownMeCollectors: (0, smithy_client_1.expectInt32)(output.shutdownMeCollectors),
|
|
1975
|
-
totalMeCollectors: (0, smithy_client_1.expectInt32)(output.totalMeCollectors),
|
|
1976
|
-
unhealthyMeCollectors: (0, smithy_client_1.expectInt32)(output.unhealthyMeCollectors),
|
|
1977
|
-
unknownMeCollectors: (0, smithy_client_1.expectInt32)(output.unknownMeCollectors),
|
|
1978
|
-
};
|
|
1979
|
-
};
|
|
1980
|
-
const de_DeleteApplicationsResponse = (output, context) => {
|
|
1981
|
-
return {};
|
|
1982
|
-
};
|
|
1983
|
-
const de_DeleteTagsResponse = (output, context) => {
|
|
1984
|
-
return {};
|
|
1985
|
-
};
|
|
1986
|
-
const de_DescribeAgentsResponse = (output, context) => {
|
|
1987
|
-
return {
|
|
1988
|
-
agentsInfo: output.agentsInfo != null ? de_AgentsInfo(output.agentsInfo, context) : undefined,
|
|
1989
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
const de_DescribeConfigurationsAttribute = (output, context) => {
|
|
1993
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1994
|
-
if (value === null) {
|
|
1995
|
-
return acc;
|
|
1996
|
-
}
|
|
1997
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1998
|
-
return acc;
|
|
1999
|
-
}, {});
|
|
2000
|
-
};
|
|
2001
|
-
const de_DescribeConfigurationsAttributes = (output, context) => {
|
|
2002
|
-
const retVal = (output || [])
|
|
2003
|
-
.filter((e) => e != null)
|
|
2004
|
-
.map((entry) => {
|
|
2005
|
-
if (entry === null) {
|
|
2006
|
-
return null;
|
|
2007
|
-
}
|
|
2008
|
-
return de_DescribeConfigurationsAttribute(entry, context);
|
|
2009
|
-
});
|
|
2010
|
-
return retVal;
|
|
2011
|
-
};
|
|
2012
|
-
const de_DescribeConfigurationsResponse = (output, context) => {
|
|
2013
|
-
return {
|
|
2014
|
-
configurations: output.configurations != null ? de_DescribeConfigurationsAttributes(output.configurations, context) : undefined,
|
|
2015
|
-
};
|
|
2016
|
-
};
|
|
2017
1489
|
const de_DescribeContinuousExportsResponse = (output, context) => {
|
|
2018
|
-
return {
|
|
2019
|
-
descriptions:
|
|
2020
|
-
nextToken:
|
|
2021
|
-
};
|
|
1490
|
+
return (0, smithy_client_1.take)(output, {
|
|
1491
|
+
descriptions: (_) => de_ContinuousExportDescriptions(_, context),
|
|
1492
|
+
nextToken: smithy_client_1.expectString,
|
|
1493
|
+
});
|
|
2022
1494
|
};
|
|
2023
1495
|
const de_DescribeExportConfigurationsResponse = (output, context) => {
|
|
2024
|
-
return {
|
|
2025
|
-
exportsInfo:
|
|
2026
|
-
nextToken:
|
|
2027
|
-
};
|
|
1496
|
+
return (0, smithy_client_1.take)(output, {
|
|
1497
|
+
exportsInfo: (_) => de_ExportsInfo(_, context),
|
|
1498
|
+
nextToken: smithy_client_1.expectString,
|
|
1499
|
+
});
|
|
2028
1500
|
};
|
|
2029
1501
|
const de_DescribeExportTasksResponse = (output, context) => {
|
|
2030
|
-
return {
|
|
2031
|
-
exportsInfo:
|
|
2032
|
-
nextToken:
|
|
2033
|
-
};
|
|
1502
|
+
return (0, smithy_client_1.take)(output, {
|
|
1503
|
+
exportsInfo: (_) => de_ExportsInfo(_, context),
|
|
1504
|
+
nextToken: smithy_client_1.expectString,
|
|
1505
|
+
});
|
|
2034
1506
|
};
|
|
2035
1507
|
const de_DescribeImportTasksResponse = (output, context) => {
|
|
2036
|
-
return {
|
|
2037
|
-
nextToken:
|
|
2038
|
-
tasks:
|
|
2039
|
-
};
|
|
1508
|
+
return (0, smithy_client_1.take)(output, {
|
|
1509
|
+
nextToken: smithy_client_1.expectString,
|
|
1510
|
+
tasks: (_) => de_ImportTaskList(_, context),
|
|
1511
|
+
});
|
|
2040
1512
|
};
|
|
2041
1513
|
const de_DescribeTagsResponse = (output, context) => {
|
|
2042
|
-
return {
|
|
2043
|
-
nextToken:
|
|
2044
|
-
tags:
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2047
|
-
const de_DisassociateConfigurationItemsFromApplicationResponse = (output, context) => {
|
|
2048
|
-
return {};
|
|
2049
|
-
};
|
|
2050
|
-
const de_ExportConfigurationsResponse = (output, context) => {
|
|
2051
|
-
return {
|
|
2052
|
-
exportId: (0, smithy_client_1.expectString)(output.exportId),
|
|
2053
|
-
};
|
|
1514
|
+
return (0, smithy_client_1.take)(output, {
|
|
1515
|
+
nextToken: smithy_client_1.expectString,
|
|
1516
|
+
tags: (_) => de_ConfigurationTagSet(_, context),
|
|
1517
|
+
});
|
|
2054
1518
|
};
|
|
2055
1519
|
const de_ExportInfo = (output, context) => {
|
|
2056
|
-
return {
|
|
2057
|
-
configurationsDownloadUrl:
|
|
2058
|
-
exportId:
|
|
2059
|
-
exportRequestTime:
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
: undefined,
|
|
2067
|
-
requestedStartTime: output.requestedStartTime != null
|
|
2068
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.requestedStartTime)))
|
|
2069
|
-
: undefined,
|
|
2070
|
-
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
2071
|
-
};
|
|
1520
|
+
return (0, smithy_client_1.take)(output, {
|
|
1521
|
+
configurationsDownloadUrl: smithy_client_1.expectString,
|
|
1522
|
+
exportId: smithy_client_1.expectString,
|
|
1523
|
+
exportRequestTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1524
|
+
exportStatus: smithy_client_1.expectString,
|
|
1525
|
+
isTruncated: smithy_client_1.expectBoolean,
|
|
1526
|
+
requestedEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1527
|
+
requestedStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1528
|
+
statusMessage: smithy_client_1.expectString,
|
|
1529
|
+
});
|
|
2072
1530
|
};
|
|
2073
1531
|
const de_ExportsInfo = (output, context) => {
|
|
2074
1532
|
const retVal = (output || [])
|
|
2075
1533
|
.filter((e) => e != null)
|
|
2076
1534
|
.map((entry) => {
|
|
2077
|
-
if (entry === null) {
|
|
2078
|
-
return null;
|
|
2079
|
-
}
|
|
2080
1535
|
return de_ExportInfo(entry, context);
|
|
2081
1536
|
});
|
|
2082
1537
|
return retVal;
|
|
2083
1538
|
};
|
|
2084
|
-
const de_GetDiscoverySummaryResponse = (output, context) => {
|
|
2085
|
-
return {
|
|
2086
|
-
agentSummary: output.agentSummary != null ? de_CustomerAgentInfo(output.agentSummary, context) : undefined,
|
|
2087
|
-
agentlessCollectorSummary: output.agentlessCollectorSummary != null
|
|
2088
|
-
? de_CustomerAgentlessCollectorInfo(output.agentlessCollectorSummary, context)
|
|
2089
|
-
: undefined,
|
|
2090
|
-
applications: (0, smithy_client_1.expectLong)(output.applications),
|
|
2091
|
-
connectorSummary: output.connectorSummary != null ? de_CustomerConnectorInfo(output.connectorSummary, context) : undefined,
|
|
2092
|
-
meCollectorSummary: output.meCollectorSummary != null ? de_CustomerMeCollectorInfo(output.meCollectorSummary, context) : undefined,
|
|
2093
|
-
servers: (0, smithy_client_1.expectLong)(output.servers),
|
|
2094
|
-
serversMappedToApplications: (0, smithy_client_1.expectLong)(output.serversMappedToApplications),
|
|
2095
|
-
serversMappedtoTags: (0, smithy_client_1.expectLong)(output.serversMappedtoTags),
|
|
2096
|
-
};
|
|
2097
|
-
};
|
|
2098
|
-
const de_HomeRegionNotSetException = (output, context) => {
|
|
2099
|
-
return {
|
|
2100
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2101
|
-
};
|
|
2102
|
-
};
|
|
2103
1539
|
const de_ImportTask = (output, context) => {
|
|
2104
|
-
return {
|
|
2105
|
-
applicationImportFailure:
|
|
2106
|
-
applicationImportSuccess:
|
|
2107
|
-
clientRequestToken:
|
|
2108
|
-
errorsAndFailedEntriesZip:
|
|
2109
|
-
importCompletionTime:
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
importUrl: (0, smithy_client_1.expectString)(output.importUrl),
|
|
2120
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2121
|
-
serverImportFailure: (0, smithy_client_1.expectInt32)(output.serverImportFailure),
|
|
2122
|
-
serverImportSuccess: (0, smithy_client_1.expectInt32)(output.serverImportSuccess),
|
|
2123
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2124
|
-
};
|
|
1540
|
+
return (0, smithy_client_1.take)(output, {
|
|
1541
|
+
applicationImportFailure: smithy_client_1.expectInt32,
|
|
1542
|
+
applicationImportSuccess: smithy_client_1.expectInt32,
|
|
1543
|
+
clientRequestToken: smithy_client_1.expectString,
|
|
1544
|
+
errorsAndFailedEntriesZip: smithy_client_1.expectString,
|
|
1545
|
+
importCompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1546
|
+
importDeletedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1547
|
+
importRequestTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1548
|
+
importTaskId: smithy_client_1.expectString,
|
|
1549
|
+
importUrl: smithy_client_1.expectString,
|
|
1550
|
+
name: smithy_client_1.expectString,
|
|
1551
|
+
serverImportFailure: smithy_client_1.expectInt32,
|
|
1552
|
+
serverImportSuccess: smithy_client_1.expectInt32,
|
|
1553
|
+
status: smithy_client_1.expectString,
|
|
1554
|
+
});
|
|
2125
1555
|
};
|
|
2126
1556
|
const de_ImportTaskList = (output, context) => {
|
|
2127
1557
|
const retVal = (output || [])
|
|
2128
1558
|
.filter((e) => e != null)
|
|
2129
1559
|
.map((entry) => {
|
|
2130
|
-
if (entry === null) {
|
|
2131
|
-
return null;
|
|
2132
|
-
}
|
|
2133
1560
|
return de_ImportTask(entry, context);
|
|
2134
1561
|
});
|
|
2135
1562
|
return retVal;
|
|
2136
1563
|
};
|
|
2137
|
-
const de_InvalidParameterException = (output, context) => {
|
|
2138
|
-
return {
|
|
2139
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2140
|
-
};
|
|
2141
|
-
};
|
|
2142
|
-
const de_InvalidParameterValueException = (output, context) => {
|
|
2143
|
-
return {
|
|
2144
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2145
|
-
};
|
|
2146
|
-
};
|
|
2147
|
-
const de_ListConfigurationsResponse = (output, context) => {
|
|
2148
|
-
return {
|
|
2149
|
-
configurations: output.configurations != null ? de_Configurations(output.configurations, context) : undefined,
|
|
2150
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2151
|
-
};
|
|
2152
|
-
};
|
|
2153
|
-
const de_ListServerNeighborsResponse = (output, context) => {
|
|
2154
|
-
return {
|
|
2155
|
-
knownDependencyCount: (0, smithy_client_1.expectLong)(output.knownDependencyCount),
|
|
2156
|
-
neighbors: output.neighbors != null ? de_NeighborDetailsList(output.neighbors, context) : undefined,
|
|
2157
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2158
|
-
};
|
|
2159
|
-
};
|
|
2160
|
-
const de_NeighborConnectionDetail = (output, context) => {
|
|
2161
|
-
return {
|
|
2162
|
-
connectionsCount: (0, smithy_client_1.expectLong)(output.connectionsCount),
|
|
2163
|
-
destinationPort: (0, smithy_client_1.expectInt32)(output.destinationPort),
|
|
2164
|
-
destinationServerId: (0, smithy_client_1.expectString)(output.destinationServerId),
|
|
2165
|
-
sourceServerId: (0, smithy_client_1.expectString)(output.sourceServerId),
|
|
2166
|
-
transportProtocol: (0, smithy_client_1.expectString)(output.transportProtocol),
|
|
2167
|
-
};
|
|
2168
|
-
};
|
|
2169
|
-
const de_NeighborDetailsList = (output, context) => {
|
|
2170
|
-
const retVal = (output || [])
|
|
2171
|
-
.filter((e) => e != null)
|
|
2172
|
-
.map((entry) => {
|
|
2173
|
-
if (entry === null) {
|
|
2174
|
-
return null;
|
|
2175
|
-
}
|
|
2176
|
-
return de_NeighborConnectionDetail(entry, context);
|
|
2177
|
-
});
|
|
2178
|
-
return retVal;
|
|
2179
|
-
};
|
|
2180
|
-
const de_OperationNotPermittedException = (output, context) => {
|
|
2181
|
-
return {
|
|
2182
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2183
|
-
};
|
|
2184
|
-
};
|
|
2185
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2186
|
-
return {
|
|
2187
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2188
|
-
};
|
|
2189
|
-
};
|
|
2190
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2191
|
-
return {
|
|
2192
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2193
|
-
};
|
|
2194
|
-
};
|
|
2195
|
-
const de_SchemaStorageConfig = (output, context) => {
|
|
2196
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2197
|
-
if (value === null) {
|
|
2198
|
-
return acc;
|
|
2199
|
-
}
|
|
2200
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2201
|
-
return acc;
|
|
2202
|
-
}, {});
|
|
2203
|
-
};
|
|
2204
|
-
const de_ServerInternalErrorException = (output, context) => {
|
|
2205
|
-
return {
|
|
2206
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2207
|
-
};
|
|
2208
|
-
};
|
|
2209
1564
|
const de_StartContinuousExportResponse = (output, context) => {
|
|
2210
|
-
return {
|
|
2211
|
-
dataSource:
|
|
2212
|
-
exportId:
|
|
2213
|
-
s3Bucket:
|
|
2214
|
-
schemaStorageConfig:
|
|
2215
|
-
startTime:
|
|
2216
|
-
};
|
|
2217
|
-
};
|
|
2218
|
-
const de_StartDataCollectionByAgentIdsResponse = (output, context) => {
|
|
2219
|
-
return {
|
|
2220
|
-
agentsConfigurationStatus: output.agentsConfigurationStatus != null
|
|
2221
|
-
? de_AgentConfigurationStatusList(output.agentsConfigurationStatus, context)
|
|
2222
|
-
: undefined,
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
const de_StartExportTaskResponse = (output, context) => {
|
|
2226
|
-
return {
|
|
2227
|
-
exportId: (0, smithy_client_1.expectString)(output.exportId),
|
|
2228
|
-
};
|
|
1565
|
+
return (0, smithy_client_1.take)(output, {
|
|
1566
|
+
dataSource: smithy_client_1.expectString,
|
|
1567
|
+
exportId: smithy_client_1.expectString,
|
|
1568
|
+
s3Bucket: smithy_client_1.expectString,
|
|
1569
|
+
schemaStorageConfig: smithy_client_1._json,
|
|
1570
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1571
|
+
});
|
|
2229
1572
|
};
|
|
2230
1573
|
const de_StartImportTaskResponse = (output, context) => {
|
|
2231
|
-
return {
|
|
2232
|
-
task:
|
|
2233
|
-
};
|
|
1574
|
+
return (0, smithy_client_1.take)(output, {
|
|
1575
|
+
task: (_) => de_ImportTask(_, context),
|
|
1576
|
+
});
|
|
2234
1577
|
};
|
|
2235
1578
|
const de_StopContinuousExportResponse = (output, context) => {
|
|
2236
|
-
return {
|
|
2237
|
-
startTime:
|
|
2238
|
-
stopTime:
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
const de_StopDataCollectionByAgentIdsResponse = (output, context) => {
|
|
2242
|
-
return {
|
|
2243
|
-
agentsConfigurationStatus: output.agentsConfigurationStatus != null
|
|
2244
|
-
? de_AgentConfigurationStatusList(output.agentsConfigurationStatus, context)
|
|
2245
|
-
: undefined,
|
|
2246
|
-
};
|
|
2247
|
-
};
|
|
2248
|
-
const de_UpdateApplicationResponse = (output, context) => {
|
|
2249
|
-
return {};
|
|
1579
|
+
return (0, smithy_client_1.take)(output, {
|
|
1580
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1581
|
+
stopTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1582
|
+
});
|
|
2250
1583
|
};
|
|
2251
1584
|
const deserializeMetadata = (output) => ({
|
|
2252
1585
|
httpStatusCode: output.statusCode,
|
|
@@ -2261,6 +1594,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2261
1594
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2262
1595
|
};
|
|
2263
1596
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1597
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException);
|
|
2264
1598
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2265
1599
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2266
1600
|
const contents = {
|