@aws-sdk/client-resiliencehub 3.312.0 → 3.316.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/Resiliencehub.js +56 -728
- package/dist-cjs/protocols/Aws_restJson1.js +804 -1612
- package/dist-es/Resiliencehub.js +56 -728
- package/dist-es/protocols/Aws_restJson1.js +740 -1548
- package/dist-types/Resiliencehub.d.ts +63 -239
- package/dist-types/ts3.4/Resiliencehub.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { ResiliencehubServiceException as __BaseException } from "../models/ResiliencehubServiceException";
|
|
@@ -10,12 +10,10 @@ export const se_AddDraftAppVersionResourceMappingsCommand = async (input, contex
|
|
|
10
10
|
};
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/add-draft-app-version-resource-mappings";
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}),
|
|
18
|
-
});
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
appArn: [],
|
|
15
|
+
resourceMappings: (_) => _json(_),
|
|
16
|
+
}));
|
|
19
17
|
return new __HttpRequest({
|
|
20
18
|
protocol,
|
|
21
19
|
hostname,
|
|
@@ -33,14 +31,14 @@ export const se_CreateAppCommand = async (input, context) => {
|
|
|
33
31
|
};
|
|
34
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app";
|
|
35
33
|
let body;
|
|
36
|
-
body = JSON.stringify({
|
|
37
|
-
|
|
38
|
-
clientToken:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
34
|
+
body = JSON.stringify(take(input, {
|
|
35
|
+
assessmentSchedule: [],
|
|
36
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
37
|
+
description: [],
|
|
38
|
+
name: [],
|
|
39
|
+
policyArn: [],
|
|
40
|
+
tags: (_) => _json(_),
|
|
41
|
+
}));
|
|
44
42
|
return new __HttpRequest({
|
|
45
43
|
protocol,
|
|
46
44
|
hostname,
|
|
@@ -58,14 +56,14 @@ export const se_CreateAppVersionAppComponentCommand = async (input, context) =>
|
|
|
58
56
|
};
|
|
59
57
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app-version-app-component";
|
|
60
58
|
let body;
|
|
61
|
-
body = JSON.stringify({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
clientToken:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
});
|
|
59
|
+
body = JSON.stringify(take(input, {
|
|
60
|
+
additionalInfo: (_) => _json(_),
|
|
61
|
+
appArn: [],
|
|
62
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
63
|
+
id: [],
|
|
64
|
+
name: [],
|
|
65
|
+
type: [],
|
|
66
|
+
}));
|
|
69
67
|
return new __HttpRequest({
|
|
70
68
|
protocol,
|
|
71
69
|
hostname,
|
|
@@ -83,20 +81,18 @@ export const se_CreateAppVersionResourceCommand = async (input, context) => {
|
|
|
83
81
|
};
|
|
84
82
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app-version-resource";
|
|
85
83
|
let body;
|
|
86
|
-
body = JSON.stringify({
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
clientToken:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
...(input.resourceType != null && { resourceType: input.resourceType }),
|
|
99
|
-
});
|
|
84
|
+
body = JSON.stringify(take(input, {
|
|
85
|
+
additionalInfo: (_) => _json(_),
|
|
86
|
+
appArn: [],
|
|
87
|
+
appComponents: (_) => _json(_),
|
|
88
|
+
awsAccountId: [],
|
|
89
|
+
awsRegion: [],
|
|
90
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
91
|
+
logicalResourceId: (_) => _json(_),
|
|
92
|
+
physicalResourceId: [],
|
|
93
|
+
resourceName: [],
|
|
94
|
+
resourceType: [],
|
|
95
|
+
}));
|
|
100
96
|
return new __HttpRequest({
|
|
101
97
|
protocol,
|
|
102
98
|
hostname,
|
|
@@ -114,20 +110,16 @@ export const se_CreateRecommendationTemplateCommand = async (input, context) =>
|
|
|
114
110
|
};
|
|
115
111
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-recommendation-template";
|
|
116
112
|
let body;
|
|
117
|
-
body = JSON.stringify({
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
clientToken:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
recommendationTypes: se_RenderRecommendationTypeList(input.recommendationTypes, context),
|
|
128
|
-
}),
|
|
129
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
130
|
-
});
|
|
113
|
+
body = JSON.stringify(take(input, {
|
|
114
|
+
assessmentArn: [],
|
|
115
|
+
bucketName: [],
|
|
116
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
117
|
+
format: [],
|
|
118
|
+
name: [],
|
|
119
|
+
recommendationIds: (_) => _json(_),
|
|
120
|
+
recommendationTypes: (_) => _json(_),
|
|
121
|
+
tags: (_) => _json(_),
|
|
122
|
+
}));
|
|
131
123
|
return new __HttpRequest({
|
|
132
124
|
protocol,
|
|
133
125
|
hostname,
|
|
@@ -145,15 +137,15 @@ export const se_CreateResiliencyPolicyCommand = async (input, context) => {
|
|
|
145
137
|
};
|
|
146
138
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-resiliency-policy";
|
|
147
139
|
let body;
|
|
148
|
-
body = JSON.stringify({
|
|
149
|
-
clientToken:
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
});
|
|
140
|
+
body = JSON.stringify(take(input, {
|
|
141
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
142
|
+
dataLocationConstraint: [],
|
|
143
|
+
policy: (_) => _json(_),
|
|
144
|
+
policyDescription: [],
|
|
145
|
+
policyName: [],
|
|
146
|
+
tags: (_) => _json(_),
|
|
147
|
+
tier: [],
|
|
148
|
+
}));
|
|
157
149
|
return new __HttpRequest({
|
|
158
150
|
protocol,
|
|
159
151
|
hostname,
|
|
@@ -171,11 +163,11 @@ export const se_DeleteAppCommand = async (input, context) => {
|
|
|
171
163
|
};
|
|
172
164
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app";
|
|
173
165
|
let body;
|
|
174
|
-
body = JSON.stringify({
|
|
175
|
-
|
|
176
|
-
clientToken:
|
|
177
|
-
|
|
178
|
-
});
|
|
166
|
+
body = JSON.stringify(take(input, {
|
|
167
|
+
appArn: [],
|
|
168
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
169
|
+
forceDelete: [],
|
|
170
|
+
}));
|
|
179
171
|
return new __HttpRequest({
|
|
180
172
|
protocol,
|
|
181
173
|
hostname,
|
|
@@ -193,10 +185,10 @@ export const se_DeleteAppAssessmentCommand = async (input, context) => {
|
|
|
193
185
|
};
|
|
194
186
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app-assessment";
|
|
195
187
|
let body;
|
|
196
|
-
body = JSON.stringify({
|
|
197
|
-
|
|
198
|
-
clientToken:
|
|
199
|
-
});
|
|
188
|
+
body = JSON.stringify(take(input, {
|
|
189
|
+
assessmentArn: [],
|
|
190
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
191
|
+
}));
|
|
200
192
|
return new __HttpRequest({
|
|
201
193
|
protocol,
|
|
202
194
|
hostname,
|
|
@@ -214,15 +206,13 @@ export const se_DeleteAppInputSourceCommand = async (input, context) => {
|
|
|
214
206
|
};
|
|
215
207
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app-input-source";
|
|
216
208
|
let body;
|
|
217
|
-
body = JSON.stringify({
|
|
218
|
-
|
|
219
|
-
clientToken:
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
...(input.terraformSource != null && { terraformSource: se_TerraformSource(input.terraformSource, context) }),
|
|
225
|
-
});
|
|
209
|
+
body = JSON.stringify(take(input, {
|
|
210
|
+
appArn: [],
|
|
211
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
212
|
+
eksSourceClusterNamespace: (_) => _json(_),
|
|
213
|
+
sourceArn: [],
|
|
214
|
+
terraformSource: (_) => _json(_),
|
|
215
|
+
}));
|
|
226
216
|
return new __HttpRequest({
|
|
227
217
|
protocol,
|
|
228
218
|
hostname,
|
|
@@ -240,11 +230,11 @@ export const se_DeleteAppVersionAppComponentCommand = async (input, context) =>
|
|
|
240
230
|
};
|
|
241
231
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app-version-app-component";
|
|
242
232
|
let body;
|
|
243
|
-
body = JSON.stringify({
|
|
244
|
-
|
|
245
|
-
clientToken:
|
|
246
|
-
|
|
247
|
-
});
|
|
233
|
+
body = JSON.stringify(take(input, {
|
|
234
|
+
appArn: [],
|
|
235
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
236
|
+
id: [],
|
|
237
|
+
}));
|
|
248
238
|
return new __HttpRequest({
|
|
249
239
|
protocol,
|
|
250
240
|
hostname,
|
|
@@ -262,17 +252,15 @@ export const se_DeleteAppVersionResourceCommand = async (input, context) => {
|
|
|
262
252
|
};
|
|
263
253
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app-version-resource";
|
|
264
254
|
let body;
|
|
265
|
-
body = JSON.stringify({
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
clientToken:
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
275
|
-
});
|
|
255
|
+
body = JSON.stringify(take(input, {
|
|
256
|
+
appArn: [],
|
|
257
|
+
awsAccountId: [],
|
|
258
|
+
awsRegion: [],
|
|
259
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
260
|
+
logicalResourceId: (_) => _json(_),
|
|
261
|
+
physicalResourceId: [],
|
|
262
|
+
resourceName: [],
|
|
263
|
+
}));
|
|
276
264
|
return new __HttpRequest({
|
|
277
265
|
protocol,
|
|
278
266
|
hostname,
|
|
@@ -290,10 +278,10 @@ export const se_DeleteRecommendationTemplateCommand = async (input, context) =>
|
|
|
290
278
|
};
|
|
291
279
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-recommendation-template";
|
|
292
280
|
let body;
|
|
293
|
-
body = JSON.stringify({
|
|
294
|
-
clientToken:
|
|
295
|
-
|
|
296
|
-
});
|
|
281
|
+
body = JSON.stringify(take(input, {
|
|
282
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
283
|
+
recommendationTemplateArn: [],
|
|
284
|
+
}));
|
|
297
285
|
return new __HttpRequest({
|
|
298
286
|
protocol,
|
|
299
287
|
hostname,
|
|
@@ -311,10 +299,10 @@ export const se_DeleteResiliencyPolicyCommand = async (input, context) => {
|
|
|
311
299
|
};
|
|
312
300
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-resiliency-policy";
|
|
313
301
|
let body;
|
|
314
|
-
body = JSON.stringify({
|
|
315
|
-
clientToken:
|
|
316
|
-
|
|
317
|
-
});
|
|
302
|
+
body = JSON.stringify(take(input, {
|
|
303
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
304
|
+
policyArn: [],
|
|
305
|
+
}));
|
|
318
306
|
return new __HttpRequest({
|
|
319
307
|
protocol,
|
|
320
308
|
hostname,
|
|
@@ -332,9 +320,9 @@ export const se_DescribeAppCommand = async (input, context) => {
|
|
|
332
320
|
};
|
|
333
321
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app";
|
|
334
322
|
let body;
|
|
335
|
-
body = JSON.stringify({
|
|
336
|
-
|
|
337
|
-
});
|
|
323
|
+
body = JSON.stringify(take(input, {
|
|
324
|
+
appArn: [],
|
|
325
|
+
}));
|
|
338
326
|
return new __HttpRequest({
|
|
339
327
|
protocol,
|
|
340
328
|
hostname,
|
|
@@ -352,9 +340,9 @@ export const se_DescribeAppAssessmentCommand = async (input, context) => {
|
|
|
352
340
|
};
|
|
353
341
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-assessment";
|
|
354
342
|
let body;
|
|
355
|
-
body = JSON.stringify({
|
|
356
|
-
|
|
357
|
-
});
|
|
343
|
+
body = JSON.stringify(take(input, {
|
|
344
|
+
assessmentArn: [],
|
|
345
|
+
}));
|
|
358
346
|
return new __HttpRequest({
|
|
359
347
|
protocol,
|
|
360
348
|
hostname,
|
|
@@ -372,10 +360,10 @@ export const se_DescribeAppVersionCommand = async (input, context) => {
|
|
|
372
360
|
};
|
|
373
361
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-version";
|
|
374
362
|
let body;
|
|
375
|
-
body = JSON.stringify({
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
});
|
|
363
|
+
body = JSON.stringify(take(input, {
|
|
364
|
+
appArn: [],
|
|
365
|
+
appVersion: [],
|
|
366
|
+
}));
|
|
379
367
|
return new __HttpRequest({
|
|
380
368
|
protocol,
|
|
381
369
|
hostname,
|
|
@@ -393,11 +381,11 @@ export const se_DescribeAppVersionAppComponentCommand = async (input, context) =
|
|
|
393
381
|
};
|
|
394
382
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-version-app-component";
|
|
395
383
|
let body;
|
|
396
|
-
body = JSON.stringify({
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
});
|
|
384
|
+
body = JSON.stringify(take(input, {
|
|
385
|
+
appArn: [],
|
|
386
|
+
appVersion: [],
|
|
387
|
+
id: [],
|
|
388
|
+
}));
|
|
401
389
|
return new __HttpRequest({
|
|
402
390
|
protocol,
|
|
403
391
|
hostname,
|
|
@@ -415,17 +403,15 @@ export const se_DescribeAppVersionResourceCommand = async (input, context) => {
|
|
|
415
403
|
};
|
|
416
404
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-version-resource";
|
|
417
405
|
let body;
|
|
418
|
-
body = JSON.stringify({
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
428
|
-
});
|
|
406
|
+
body = JSON.stringify(take(input, {
|
|
407
|
+
appArn: [],
|
|
408
|
+
appVersion: [],
|
|
409
|
+
awsAccountId: [],
|
|
410
|
+
awsRegion: [],
|
|
411
|
+
logicalResourceId: (_) => _json(_),
|
|
412
|
+
physicalResourceId: [],
|
|
413
|
+
resourceName: [],
|
|
414
|
+
}));
|
|
429
415
|
return new __HttpRequest({
|
|
430
416
|
protocol,
|
|
431
417
|
hostname,
|
|
@@ -444,11 +430,11 @@ export const se_DescribeAppVersionResourcesResolutionStatusCommand = async (inpu
|
|
|
444
430
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
445
431
|
"/describe-app-version-resources-resolution-status";
|
|
446
432
|
let body;
|
|
447
|
-
body = JSON.stringify({
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
});
|
|
433
|
+
body = JSON.stringify(take(input, {
|
|
434
|
+
appArn: [],
|
|
435
|
+
appVersion: [],
|
|
436
|
+
resolutionId: [],
|
|
437
|
+
}));
|
|
452
438
|
return new __HttpRequest({
|
|
453
439
|
protocol,
|
|
454
440
|
hostname,
|
|
@@ -466,10 +452,10 @@ export const se_DescribeAppVersionTemplateCommand = async (input, context) => {
|
|
|
466
452
|
};
|
|
467
453
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-version-template";
|
|
468
454
|
let body;
|
|
469
|
-
body = JSON.stringify({
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
});
|
|
455
|
+
body = JSON.stringify(take(input, {
|
|
456
|
+
appArn: [],
|
|
457
|
+
appVersion: [],
|
|
458
|
+
}));
|
|
473
459
|
return new __HttpRequest({
|
|
474
460
|
protocol,
|
|
475
461
|
hostname,
|
|
@@ -488,9 +474,9 @@ export const se_DescribeDraftAppVersionResourcesImportStatusCommand = async (inp
|
|
|
488
474
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
489
475
|
"/describe-draft-app-version-resources-import-status";
|
|
490
476
|
let body;
|
|
491
|
-
body = JSON.stringify({
|
|
492
|
-
|
|
493
|
-
});
|
|
477
|
+
body = JSON.stringify(take(input, {
|
|
478
|
+
appArn: [],
|
|
479
|
+
}));
|
|
494
480
|
return new __HttpRequest({
|
|
495
481
|
protocol,
|
|
496
482
|
hostname,
|
|
@@ -508,9 +494,9 @@ export const se_DescribeResiliencyPolicyCommand = async (input, context) => {
|
|
|
508
494
|
};
|
|
509
495
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-resiliency-policy";
|
|
510
496
|
let body;
|
|
511
|
-
body = JSON.stringify({
|
|
512
|
-
|
|
513
|
-
});
|
|
497
|
+
body = JSON.stringify(take(input, {
|
|
498
|
+
policyArn: [],
|
|
499
|
+
}));
|
|
514
500
|
return new __HttpRequest({
|
|
515
501
|
protocol,
|
|
516
502
|
hostname,
|
|
@@ -528,15 +514,13 @@ export const se_ImportResourcesToDraftAppVersionCommand = async (input, context)
|
|
|
528
514
|
};
|
|
529
515
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/import-resources-to-draft-app-version";
|
|
530
516
|
let body;
|
|
531
|
-
body = JSON.stringify({
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}),
|
|
539
|
-
});
|
|
517
|
+
body = JSON.stringify(take(input, {
|
|
518
|
+
appArn: [],
|
|
519
|
+
eksSources: (_) => _json(_),
|
|
520
|
+
importStrategy: [],
|
|
521
|
+
sourceArns: (_) => _json(_),
|
|
522
|
+
terraformSources: (_) => _json(_),
|
|
523
|
+
}));
|
|
540
524
|
return new __HttpRequest({
|
|
541
525
|
protocol,
|
|
542
526
|
hostname,
|
|
@@ -554,11 +538,11 @@ export const se_ListAlarmRecommendationsCommand = async (input, context) => {
|
|
|
554
538
|
};
|
|
555
539
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-alarm-recommendations";
|
|
556
540
|
let body;
|
|
557
|
-
body = JSON.stringify({
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
});
|
|
541
|
+
body = JSON.stringify(take(input, {
|
|
542
|
+
assessmentArn: [],
|
|
543
|
+
maxResults: [],
|
|
544
|
+
nextToken: [],
|
|
545
|
+
}));
|
|
562
546
|
return new __HttpRequest({
|
|
563
547
|
protocol,
|
|
564
548
|
hostname,
|
|
@@ -605,11 +589,11 @@ export const se_ListAppComponentCompliancesCommand = async (input, context) => {
|
|
|
605
589
|
};
|
|
606
590
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-component-compliances";
|
|
607
591
|
let body;
|
|
608
|
-
body = JSON.stringify({
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
});
|
|
592
|
+
body = JSON.stringify(take(input, {
|
|
593
|
+
assessmentArn: [],
|
|
594
|
+
maxResults: [],
|
|
595
|
+
nextToken: [],
|
|
596
|
+
}));
|
|
613
597
|
return new __HttpRequest({
|
|
614
598
|
protocol,
|
|
615
599
|
hostname,
|
|
@@ -627,11 +611,11 @@ export const se_ListAppComponentRecommendationsCommand = async (input, context)
|
|
|
627
611
|
};
|
|
628
612
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-component-recommendations";
|
|
629
613
|
let body;
|
|
630
|
-
body = JSON.stringify({
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
});
|
|
614
|
+
body = JSON.stringify(take(input, {
|
|
615
|
+
assessmentArn: [],
|
|
616
|
+
maxResults: [],
|
|
617
|
+
nextToken: [],
|
|
618
|
+
}));
|
|
635
619
|
return new __HttpRequest({
|
|
636
620
|
protocol,
|
|
637
621
|
hostname,
|
|
@@ -649,12 +633,12 @@ export const se_ListAppInputSourcesCommand = async (input, context) => {
|
|
|
649
633
|
};
|
|
650
634
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-input-sources";
|
|
651
635
|
let body;
|
|
652
|
-
body = JSON.stringify({
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
});
|
|
636
|
+
body = JSON.stringify(take(input, {
|
|
637
|
+
appArn: [],
|
|
638
|
+
appVersion: [],
|
|
639
|
+
maxResults: [],
|
|
640
|
+
nextToken: [],
|
|
641
|
+
}));
|
|
658
642
|
return new __HttpRequest({
|
|
659
643
|
protocol,
|
|
660
644
|
hostname,
|
|
@@ -694,12 +678,12 @@ export const se_ListAppVersionAppComponentsCommand = async (input, context) => {
|
|
|
694
678
|
};
|
|
695
679
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-version-app-components";
|
|
696
680
|
let body;
|
|
697
|
-
body = JSON.stringify({
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
});
|
|
681
|
+
body = JSON.stringify(take(input, {
|
|
682
|
+
appArn: [],
|
|
683
|
+
appVersion: [],
|
|
684
|
+
maxResults: [],
|
|
685
|
+
nextToken: [],
|
|
686
|
+
}));
|
|
703
687
|
return new __HttpRequest({
|
|
704
688
|
protocol,
|
|
705
689
|
hostname,
|
|
@@ -717,12 +701,12 @@ export const se_ListAppVersionResourceMappingsCommand = async (input, context) =
|
|
|
717
701
|
};
|
|
718
702
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-version-resource-mappings";
|
|
719
703
|
let body;
|
|
720
|
-
body = JSON.stringify({
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
});
|
|
704
|
+
body = JSON.stringify(take(input, {
|
|
705
|
+
appArn: [],
|
|
706
|
+
appVersion: [],
|
|
707
|
+
maxResults: [],
|
|
708
|
+
nextToken: [],
|
|
709
|
+
}));
|
|
726
710
|
return new __HttpRequest({
|
|
727
711
|
protocol,
|
|
728
712
|
hostname,
|
|
@@ -740,13 +724,13 @@ export const se_ListAppVersionResourcesCommand = async (input, context) => {
|
|
|
740
724
|
};
|
|
741
725
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-version-resources";
|
|
742
726
|
let body;
|
|
743
|
-
body = JSON.stringify({
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
});
|
|
727
|
+
body = JSON.stringify(take(input, {
|
|
728
|
+
appArn: [],
|
|
729
|
+
appVersion: [],
|
|
730
|
+
maxResults: [],
|
|
731
|
+
nextToken: [],
|
|
732
|
+
resolutionId: [],
|
|
733
|
+
}));
|
|
750
734
|
return new __HttpRequest({
|
|
751
735
|
protocol,
|
|
752
736
|
hostname,
|
|
@@ -764,11 +748,11 @@ export const se_ListAppVersionsCommand = async (input, context) => {
|
|
|
764
748
|
};
|
|
765
749
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-versions";
|
|
766
750
|
let body;
|
|
767
|
-
body = JSON.stringify({
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
});
|
|
751
|
+
body = JSON.stringify(take(input, {
|
|
752
|
+
appArn: [],
|
|
753
|
+
maxResults: [],
|
|
754
|
+
nextToken: [],
|
|
755
|
+
}));
|
|
772
756
|
return new __HttpRequest({
|
|
773
757
|
protocol,
|
|
774
758
|
hostname,
|
|
@@ -832,11 +816,11 @@ export const se_ListSopRecommendationsCommand = async (input, context) => {
|
|
|
832
816
|
};
|
|
833
817
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-sop-recommendations";
|
|
834
818
|
let body;
|
|
835
|
-
body = JSON.stringify({
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
});
|
|
819
|
+
body = JSON.stringify(take(input, {
|
|
820
|
+
assessmentArn: [],
|
|
821
|
+
maxResults: [],
|
|
822
|
+
nextToken: [],
|
|
823
|
+
}));
|
|
840
824
|
return new __HttpRequest({
|
|
841
825
|
protocol,
|
|
842
826
|
hostname,
|
|
@@ -890,11 +874,11 @@ export const se_ListTestRecommendationsCommand = async (input, context) => {
|
|
|
890
874
|
};
|
|
891
875
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-test-recommendations";
|
|
892
876
|
let body;
|
|
893
|
-
body = JSON.stringify({
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
});
|
|
877
|
+
body = JSON.stringify(take(input, {
|
|
878
|
+
assessmentArn: [],
|
|
879
|
+
maxResults: [],
|
|
880
|
+
nextToken: [],
|
|
881
|
+
}));
|
|
898
882
|
return new __HttpRequest({
|
|
899
883
|
protocol,
|
|
900
884
|
hostname,
|
|
@@ -912,13 +896,13 @@ export const se_ListUnsupportedAppVersionResourcesCommand = async (input, contex
|
|
|
912
896
|
};
|
|
913
897
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-unsupported-app-version-resources";
|
|
914
898
|
let body;
|
|
915
|
-
body = JSON.stringify({
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
});
|
|
899
|
+
body = JSON.stringify(take(input, {
|
|
900
|
+
appArn: [],
|
|
901
|
+
appVersion: [],
|
|
902
|
+
maxResults: [],
|
|
903
|
+
nextToken: [],
|
|
904
|
+
resolutionId: [],
|
|
905
|
+
}));
|
|
922
906
|
return new __HttpRequest({
|
|
923
907
|
protocol,
|
|
924
908
|
hostname,
|
|
@@ -936,9 +920,9 @@ export const se_PublishAppVersionCommand = async (input, context) => {
|
|
|
936
920
|
};
|
|
937
921
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/publish-app-version";
|
|
938
922
|
let body;
|
|
939
|
-
body = JSON.stringify({
|
|
940
|
-
|
|
941
|
-
});
|
|
923
|
+
body = JSON.stringify(take(input, {
|
|
924
|
+
appArn: [],
|
|
925
|
+
}));
|
|
942
926
|
return new __HttpRequest({
|
|
943
927
|
protocol,
|
|
944
928
|
hostname,
|
|
@@ -956,10 +940,10 @@ export const se_PutDraftAppVersionTemplateCommand = async (input, context) => {
|
|
|
956
940
|
};
|
|
957
941
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/put-draft-app-version-template";
|
|
958
942
|
let body;
|
|
959
|
-
body = JSON.stringify({
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
});
|
|
943
|
+
body = JSON.stringify(take(input, {
|
|
944
|
+
appArn: [],
|
|
945
|
+
appTemplateBody: [],
|
|
946
|
+
}));
|
|
963
947
|
return new __HttpRequest({
|
|
964
948
|
protocol,
|
|
965
949
|
hostname,
|
|
@@ -978,21 +962,15 @@ export const se_RemoveDraftAppVersionResourceMappingsCommand = async (input, con
|
|
|
978
962
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
979
963
|
"/remove-draft-app-version-resource-mappings";
|
|
980
964
|
let body;
|
|
981
|
-
body = JSON.stringify({
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
}),
|
|
991
|
-
...(input.resourceNames != null && { resourceNames: se_EntityNameList(input.resourceNames, context) }),
|
|
992
|
-
...(input.terraformSourceNames != null && {
|
|
993
|
-
terraformSourceNames: se_String255List(input.terraformSourceNames, context),
|
|
994
|
-
}),
|
|
995
|
-
});
|
|
965
|
+
body = JSON.stringify(take(input, {
|
|
966
|
+
appArn: [],
|
|
967
|
+
appRegistryAppNames: (_) => _json(_),
|
|
968
|
+
eksSourceNames: (_) => _json(_),
|
|
969
|
+
logicalStackNames: (_) => _json(_),
|
|
970
|
+
resourceGroupNames: (_) => _json(_),
|
|
971
|
+
resourceNames: (_) => _json(_),
|
|
972
|
+
terraformSourceNames: (_) => _json(_),
|
|
973
|
+
}));
|
|
996
974
|
return new __HttpRequest({
|
|
997
975
|
protocol,
|
|
998
976
|
hostname,
|
|
@@ -1010,10 +988,10 @@ export const se_ResolveAppVersionResourcesCommand = async (input, context) => {
|
|
|
1010
988
|
};
|
|
1011
989
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resolve-app-version-resources";
|
|
1012
990
|
let body;
|
|
1013
|
-
body = JSON.stringify({
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
});
|
|
991
|
+
body = JSON.stringify(take(input, {
|
|
992
|
+
appArn: [],
|
|
993
|
+
appVersion: [],
|
|
994
|
+
}));
|
|
1017
995
|
return new __HttpRequest({
|
|
1018
996
|
protocol,
|
|
1019
997
|
hostname,
|
|
@@ -1031,13 +1009,13 @@ export const se_StartAppAssessmentCommand = async (input, context) => {
|
|
|
1031
1009
|
};
|
|
1032
1010
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-app-assessment";
|
|
1033
1011
|
let body;
|
|
1034
|
-
body = JSON.stringify({
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
clientToken:
|
|
1039
|
-
|
|
1040
|
-
});
|
|
1012
|
+
body = JSON.stringify(take(input, {
|
|
1013
|
+
appArn: [],
|
|
1014
|
+
appVersion: [],
|
|
1015
|
+
assessmentName: [],
|
|
1016
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1017
|
+
tags: (_) => _json(_),
|
|
1018
|
+
}));
|
|
1041
1019
|
return new __HttpRequest({
|
|
1042
1020
|
protocol,
|
|
1043
1021
|
hostname,
|
|
@@ -1056,9 +1034,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1056
1034
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1057
1035
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1058
1036
|
let body;
|
|
1059
|
-
body = JSON.stringify({
|
|
1060
|
-
|
|
1061
|
-
});
|
|
1037
|
+
body = JSON.stringify(take(input, {
|
|
1038
|
+
tags: (_) => _json(_),
|
|
1039
|
+
}));
|
|
1062
1040
|
return new __HttpRequest({
|
|
1063
1041
|
protocol,
|
|
1064
1042
|
hostname,
|
|
@@ -1099,13 +1077,13 @@ export const se_UpdateAppCommand = async (input, context) => {
|
|
|
1099
1077
|
};
|
|
1100
1078
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app";
|
|
1101
1079
|
let body;
|
|
1102
|
-
body = JSON.stringify({
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
});
|
|
1080
|
+
body = JSON.stringify(take(input, {
|
|
1081
|
+
appArn: [],
|
|
1082
|
+
assessmentSchedule: [],
|
|
1083
|
+
clearResiliencyPolicyArn: [],
|
|
1084
|
+
description: [],
|
|
1085
|
+
policyArn: [],
|
|
1086
|
+
}));
|
|
1109
1087
|
return new __HttpRequest({
|
|
1110
1088
|
protocol,
|
|
1111
1089
|
hostname,
|
|
@@ -1123,10 +1101,10 @@ export const se_UpdateAppVersionCommand = async (input, context) => {
|
|
|
1123
1101
|
};
|
|
1124
1102
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version";
|
|
1125
1103
|
let body;
|
|
1126
|
-
body = JSON.stringify({
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
});
|
|
1104
|
+
body = JSON.stringify(take(input, {
|
|
1105
|
+
additionalInfo: (_) => _json(_),
|
|
1106
|
+
appArn: [],
|
|
1107
|
+
}));
|
|
1130
1108
|
return new __HttpRequest({
|
|
1131
1109
|
protocol,
|
|
1132
1110
|
hostname,
|
|
@@ -1144,13 +1122,13 @@ export const se_UpdateAppVersionAppComponentCommand = async (input, context) =>
|
|
|
1144
1122
|
};
|
|
1145
1123
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version-app-component";
|
|
1146
1124
|
let body;
|
|
1147
|
-
body = JSON.stringify({
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
});
|
|
1125
|
+
body = JSON.stringify(take(input, {
|
|
1126
|
+
additionalInfo: (_) => _json(_),
|
|
1127
|
+
appArn: [],
|
|
1128
|
+
id: [],
|
|
1129
|
+
name: [],
|
|
1130
|
+
type: [],
|
|
1131
|
+
}));
|
|
1154
1132
|
return new __HttpRequest({
|
|
1155
1133
|
protocol,
|
|
1156
1134
|
hostname,
|
|
@@ -1168,20 +1146,18 @@ export const se_UpdateAppVersionResourceCommand = async (input, context) => {
|
|
|
1168
1146
|
};
|
|
1169
1147
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version-resource";
|
|
1170
1148
|
let body;
|
|
1171
|
-
body = JSON.stringify({
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
...(input.resourceType != null && { resourceType: input.resourceType }),
|
|
1184
|
-
});
|
|
1149
|
+
body = JSON.stringify(take(input, {
|
|
1150
|
+
additionalInfo: (_) => _json(_),
|
|
1151
|
+
appArn: [],
|
|
1152
|
+
appComponents: (_) => _json(_),
|
|
1153
|
+
awsAccountId: [],
|
|
1154
|
+
awsRegion: [],
|
|
1155
|
+
excluded: [],
|
|
1156
|
+
logicalResourceId: (_) => _json(_),
|
|
1157
|
+
physicalResourceId: [],
|
|
1158
|
+
resourceName: [],
|
|
1159
|
+
resourceType: [],
|
|
1160
|
+
}));
|
|
1185
1161
|
return new __HttpRequest({
|
|
1186
1162
|
protocol,
|
|
1187
1163
|
hostname,
|
|
@@ -1199,14 +1175,14 @@ export const se_UpdateResiliencyPolicyCommand = async (input, context) => {
|
|
|
1199
1175
|
};
|
|
1200
1176
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-resiliency-policy";
|
|
1201
1177
|
let body;
|
|
1202
|
-
body = JSON.stringify({
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
});
|
|
1178
|
+
body = JSON.stringify(take(input, {
|
|
1179
|
+
dataLocationConstraint: [],
|
|
1180
|
+
policy: (_) => _json(_),
|
|
1181
|
+
policyArn: [],
|
|
1182
|
+
policyDescription: [],
|
|
1183
|
+
policyName: [],
|
|
1184
|
+
tier: [],
|
|
1185
|
+
}));
|
|
1210
1186
|
return new __HttpRequest({
|
|
1211
1187
|
protocol,
|
|
1212
1188
|
hostname,
|
|
@@ -1225,15 +1201,12 @@ export const de_AddDraftAppVersionResourceMappingsCommand = async (output, conte
|
|
|
1225
1201
|
$metadata: deserializeMetadata(output),
|
|
1226
1202
|
});
|
|
1227
1203
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
if (data.resourceMappings != null) {
|
|
1235
|
-
contents.resourceMappings = de_ResourceMappingList(data.resourceMappings, context);
|
|
1236
|
-
}
|
|
1204
|
+
const doc = take(data, {
|
|
1205
|
+
appArn: __expectString,
|
|
1206
|
+
appVersion: __expectString,
|
|
1207
|
+
resourceMappings: _json,
|
|
1208
|
+
});
|
|
1209
|
+
Object.assign(contents, doc);
|
|
1237
1210
|
return contents;
|
|
1238
1211
|
};
|
|
1239
1212
|
const de_AddDraftAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
@@ -1263,10 +1236,9 @@ const de_AddDraftAppVersionResourceMappingsCommandError = async (output, context
|
|
|
1263
1236
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1264
1237
|
default:
|
|
1265
1238
|
const parsedBody = parsedOutput.body;
|
|
1266
|
-
throwDefaultError({
|
|
1239
|
+
return throwDefaultError({
|
|
1267
1240
|
output,
|
|
1268
1241
|
parsedBody,
|
|
1269
|
-
exceptionCtor: __BaseException,
|
|
1270
1242
|
errorCode,
|
|
1271
1243
|
});
|
|
1272
1244
|
}
|
|
@@ -1279,9 +1251,10 @@ export const de_CreateAppCommand = async (output, context) => {
|
|
|
1279
1251
|
$metadata: deserializeMetadata(output),
|
|
1280
1252
|
});
|
|
1281
1253
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1254
|
+
const doc = take(data, {
|
|
1255
|
+
app: (_) => de_App(_, context),
|
|
1256
|
+
});
|
|
1257
|
+
Object.assign(contents, doc);
|
|
1285
1258
|
return contents;
|
|
1286
1259
|
};
|
|
1287
1260
|
const de_CreateAppCommandError = async (output, context) => {
|
|
@@ -1314,10 +1287,9 @@ const de_CreateAppCommandError = async (output, context) => {
|
|
|
1314
1287
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1315
1288
|
default:
|
|
1316
1289
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
throwDefaultError({
|
|
1290
|
+
return throwDefaultError({
|
|
1318
1291
|
output,
|
|
1319
1292
|
parsedBody,
|
|
1320
|
-
exceptionCtor: __BaseException,
|
|
1321
1293
|
errorCode,
|
|
1322
1294
|
});
|
|
1323
1295
|
}
|
|
@@ -1330,15 +1302,12 @@ export const de_CreateAppVersionAppComponentCommand = async (output, context) =>
|
|
|
1330
1302
|
$metadata: deserializeMetadata(output),
|
|
1331
1303
|
});
|
|
1332
1304
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
if (data.appVersion != null) {
|
|
1340
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
1341
|
-
}
|
|
1305
|
+
const doc = take(data, {
|
|
1306
|
+
appArn: __expectString,
|
|
1307
|
+
appComponent: _json,
|
|
1308
|
+
appVersion: __expectString,
|
|
1309
|
+
});
|
|
1310
|
+
Object.assign(contents, doc);
|
|
1342
1311
|
return contents;
|
|
1343
1312
|
};
|
|
1344
1313
|
const de_CreateAppVersionAppComponentCommandError = async (output, context) => {
|
|
@@ -1371,10 +1340,9 @@ const de_CreateAppVersionAppComponentCommandError = async (output, context) => {
|
|
|
1371
1340
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1372
1341
|
default:
|
|
1373
1342
|
const parsedBody = parsedOutput.body;
|
|
1374
|
-
throwDefaultError({
|
|
1343
|
+
return throwDefaultError({
|
|
1375
1344
|
output,
|
|
1376
1345
|
parsedBody,
|
|
1377
|
-
exceptionCtor: __BaseException,
|
|
1378
1346
|
errorCode,
|
|
1379
1347
|
});
|
|
1380
1348
|
}
|
|
@@ -1387,15 +1355,12 @@ export const de_CreateAppVersionResourceCommand = async (output, context) => {
|
|
|
1387
1355
|
$metadata: deserializeMetadata(output),
|
|
1388
1356
|
});
|
|
1389
1357
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
if (data.physicalResource != null) {
|
|
1397
|
-
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
1398
|
-
}
|
|
1358
|
+
const doc = take(data, {
|
|
1359
|
+
appArn: __expectString,
|
|
1360
|
+
appVersion: __expectString,
|
|
1361
|
+
physicalResource: _json,
|
|
1362
|
+
});
|
|
1363
|
+
Object.assign(contents, doc);
|
|
1399
1364
|
return contents;
|
|
1400
1365
|
};
|
|
1401
1366
|
const de_CreateAppVersionResourceCommandError = async (output, context) => {
|
|
@@ -1428,10 +1393,9 @@ const de_CreateAppVersionResourceCommandError = async (output, context) => {
|
|
|
1428
1393
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1429
1394
|
default:
|
|
1430
1395
|
const parsedBody = parsedOutput.body;
|
|
1431
|
-
throwDefaultError({
|
|
1396
|
+
return throwDefaultError({
|
|
1432
1397
|
output,
|
|
1433
1398
|
parsedBody,
|
|
1434
|
-
exceptionCtor: __BaseException,
|
|
1435
1399
|
errorCode,
|
|
1436
1400
|
});
|
|
1437
1401
|
}
|
|
@@ -1444,9 +1408,10 @@ export const de_CreateRecommendationTemplateCommand = async (output, context) =>
|
|
|
1444
1408
|
$metadata: deserializeMetadata(output),
|
|
1445
1409
|
});
|
|
1446
1410
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
}
|
|
1411
|
+
const doc = take(data, {
|
|
1412
|
+
recommendationTemplate: (_) => de_RecommendationTemplate(_, context),
|
|
1413
|
+
});
|
|
1414
|
+
Object.assign(contents, doc);
|
|
1450
1415
|
return contents;
|
|
1451
1416
|
};
|
|
1452
1417
|
const de_CreateRecommendationTemplateCommandError = async (output, context) => {
|
|
@@ -1479,10 +1444,9 @@ const de_CreateRecommendationTemplateCommandError = async (output, context) => {
|
|
|
1479
1444
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1480
1445
|
default:
|
|
1481
1446
|
const parsedBody = parsedOutput.body;
|
|
1482
|
-
throwDefaultError({
|
|
1447
|
+
return throwDefaultError({
|
|
1483
1448
|
output,
|
|
1484
1449
|
parsedBody,
|
|
1485
|
-
exceptionCtor: __BaseException,
|
|
1486
1450
|
errorCode,
|
|
1487
1451
|
});
|
|
1488
1452
|
}
|
|
@@ -1495,9 +1459,10 @@ export const de_CreateResiliencyPolicyCommand = async (output, context) => {
|
|
|
1495
1459
|
$metadata: deserializeMetadata(output),
|
|
1496
1460
|
});
|
|
1497
1461
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
}
|
|
1462
|
+
const doc = take(data, {
|
|
1463
|
+
policy: (_) => de_ResiliencyPolicy(_, context),
|
|
1464
|
+
});
|
|
1465
|
+
Object.assign(contents, doc);
|
|
1501
1466
|
return contents;
|
|
1502
1467
|
};
|
|
1503
1468
|
const de_CreateResiliencyPolicyCommandError = async (output, context) => {
|
|
@@ -1527,10 +1492,9 @@ const de_CreateResiliencyPolicyCommandError = async (output, context) => {
|
|
|
1527
1492
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1528
1493
|
default:
|
|
1529
1494
|
const parsedBody = parsedOutput.body;
|
|
1530
|
-
throwDefaultError({
|
|
1495
|
+
return throwDefaultError({
|
|
1531
1496
|
output,
|
|
1532
1497
|
parsedBody,
|
|
1533
|
-
exceptionCtor: __BaseException,
|
|
1534
1498
|
errorCode,
|
|
1535
1499
|
});
|
|
1536
1500
|
}
|
|
@@ -1543,9 +1507,10 @@ export const de_DeleteAppCommand = async (output, context) => {
|
|
|
1543
1507
|
$metadata: deserializeMetadata(output),
|
|
1544
1508
|
});
|
|
1545
1509
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
}
|
|
1510
|
+
const doc = take(data, {
|
|
1511
|
+
appArn: __expectString,
|
|
1512
|
+
});
|
|
1513
|
+
Object.assign(contents, doc);
|
|
1549
1514
|
return contents;
|
|
1550
1515
|
};
|
|
1551
1516
|
const de_DeleteAppCommandError = async (output, context) => {
|
|
@@ -1572,10 +1537,9 @@ const de_DeleteAppCommandError = async (output, context) => {
|
|
|
1572
1537
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1573
1538
|
default:
|
|
1574
1539
|
const parsedBody = parsedOutput.body;
|
|
1575
|
-
throwDefaultError({
|
|
1540
|
+
return throwDefaultError({
|
|
1576
1541
|
output,
|
|
1577
1542
|
parsedBody,
|
|
1578
|
-
exceptionCtor: __BaseException,
|
|
1579
1543
|
errorCode,
|
|
1580
1544
|
});
|
|
1581
1545
|
}
|
|
@@ -1588,12 +1552,11 @@ export const de_DeleteAppAssessmentCommand = async (output, context) => {
|
|
|
1588
1552
|
$metadata: deserializeMetadata(output),
|
|
1589
1553
|
});
|
|
1590
1554
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
}
|
|
1555
|
+
const doc = take(data, {
|
|
1556
|
+
assessmentArn: __expectString,
|
|
1557
|
+
assessmentStatus: __expectString,
|
|
1558
|
+
});
|
|
1559
|
+
Object.assign(contents, doc);
|
|
1597
1560
|
return contents;
|
|
1598
1561
|
};
|
|
1599
1562
|
const de_DeleteAppAssessmentCommandError = async (output, context) => {
|
|
@@ -1623,10 +1586,9 @@ const de_DeleteAppAssessmentCommandError = async (output, context) => {
|
|
|
1623
1586
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1624
1587
|
default:
|
|
1625
1588
|
const parsedBody = parsedOutput.body;
|
|
1626
|
-
throwDefaultError({
|
|
1589
|
+
return throwDefaultError({
|
|
1627
1590
|
output,
|
|
1628
1591
|
parsedBody,
|
|
1629
|
-
exceptionCtor: __BaseException,
|
|
1630
1592
|
errorCode,
|
|
1631
1593
|
});
|
|
1632
1594
|
}
|
|
@@ -1639,12 +1601,11 @@ export const de_DeleteAppInputSourceCommand = async (output, context) => {
|
|
|
1639
1601
|
$metadata: deserializeMetadata(output),
|
|
1640
1602
|
});
|
|
1641
1603
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
}
|
|
1604
|
+
const doc = take(data, {
|
|
1605
|
+
appArn: __expectString,
|
|
1606
|
+
appInputSource: _json,
|
|
1607
|
+
});
|
|
1608
|
+
Object.assign(contents, doc);
|
|
1648
1609
|
return contents;
|
|
1649
1610
|
};
|
|
1650
1611
|
const de_DeleteAppInputSourceCommandError = async (output, context) => {
|
|
@@ -1674,10 +1635,9 @@ const de_DeleteAppInputSourceCommandError = async (output, context) => {
|
|
|
1674
1635
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1675
1636
|
default:
|
|
1676
1637
|
const parsedBody = parsedOutput.body;
|
|
1677
|
-
throwDefaultError({
|
|
1638
|
+
return throwDefaultError({
|
|
1678
1639
|
output,
|
|
1679
1640
|
parsedBody,
|
|
1680
|
-
exceptionCtor: __BaseException,
|
|
1681
1641
|
errorCode,
|
|
1682
1642
|
});
|
|
1683
1643
|
}
|
|
@@ -1690,15 +1650,12 @@ export const de_DeleteAppVersionAppComponentCommand = async (output, context) =>
|
|
|
1690
1650
|
$metadata: deserializeMetadata(output),
|
|
1691
1651
|
});
|
|
1692
1652
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
if (data.appVersion != null) {
|
|
1700
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
1701
|
-
}
|
|
1653
|
+
const doc = take(data, {
|
|
1654
|
+
appArn: __expectString,
|
|
1655
|
+
appComponent: _json,
|
|
1656
|
+
appVersion: __expectString,
|
|
1657
|
+
});
|
|
1658
|
+
Object.assign(contents, doc);
|
|
1702
1659
|
return contents;
|
|
1703
1660
|
};
|
|
1704
1661
|
const de_DeleteAppVersionAppComponentCommandError = async (output, context) => {
|
|
@@ -1728,10 +1685,9 @@ const de_DeleteAppVersionAppComponentCommandError = async (output, context) => {
|
|
|
1728
1685
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1729
1686
|
default:
|
|
1730
1687
|
const parsedBody = parsedOutput.body;
|
|
1731
|
-
throwDefaultError({
|
|
1688
|
+
return throwDefaultError({
|
|
1732
1689
|
output,
|
|
1733
1690
|
parsedBody,
|
|
1734
|
-
exceptionCtor: __BaseException,
|
|
1735
1691
|
errorCode,
|
|
1736
1692
|
});
|
|
1737
1693
|
}
|
|
@@ -1744,15 +1700,12 @@ export const de_DeleteAppVersionResourceCommand = async (output, context) => {
|
|
|
1744
1700
|
$metadata: deserializeMetadata(output),
|
|
1745
1701
|
});
|
|
1746
1702
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
if (data.physicalResource != null) {
|
|
1754
|
-
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
1755
|
-
}
|
|
1703
|
+
const doc = take(data, {
|
|
1704
|
+
appArn: __expectString,
|
|
1705
|
+
appVersion: __expectString,
|
|
1706
|
+
physicalResource: _json,
|
|
1707
|
+
});
|
|
1708
|
+
Object.assign(contents, doc);
|
|
1756
1709
|
return contents;
|
|
1757
1710
|
};
|
|
1758
1711
|
const de_DeleteAppVersionResourceCommandError = async (output, context) => {
|
|
@@ -1782,10 +1735,9 @@ const de_DeleteAppVersionResourceCommandError = async (output, context) => {
|
|
|
1782
1735
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1783
1736
|
default:
|
|
1784
1737
|
const parsedBody = parsedOutput.body;
|
|
1785
|
-
throwDefaultError({
|
|
1738
|
+
return throwDefaultError({
|
|
1786
1739
|
output,
|
|
1787
1740
|
parsedBody,
|
|
1788
|
-
exceptionCtor: __BaseException,
|
|
1789
1741
|
errorCode,
|
|
1790
1742
|
});
|
|
1791
1743
|
}
|
|
@@ -1798,12 +1750,11 @@ export const de_DeleteRecommendationTemplateCommand = async (output, context) =>
|
|
|
1798
1750
|
$metadata: deserializeMetadata(output),
|
|
1799
1751
|
});
|
|
1800
1752
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
}
|
|
1753
|
+
const doc = take(data, {
|
|
1754
|
+
recommendationTemplateArn: __expectString,
|
|
1755
|
+
status: __expectString,
|
|
1756
|
+
});
|
|
1757
|
+
Object.assign(contents, doc);
|
|
1807
1758
|
return contents;
|
|
1808
1759
|
};
|
|
1809
1760
|
const de_DeleteRecommendationTemplateCommandError = async (output, context) => {
|
|
@@ -1830,10 +1781,9 @@ const de_DeleteRecommendationTemplateCommandError = async (output, context) => {
|
|
|
1830
1781
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1831
1782
|
default:
|
|
1832
1783
|
const parsedBody = parsedOutput.body;
|
|
1833
|
-
throwDefaultError({
|
|
1784
|
+
return throwDefaultError({
|
|
1834
1785
|
output,
|
|
1835
1786
|
parsedBody,
|
|
1836
|
-
exceptionCtor: __BaseException,
|
|
1837
1787
|
errorCode,
|
|
1838
1788
|
});
|
|
1839
1789
|
}
|
|
@@ -1846,9 +1796,10 @@ export const de_DeleteResiliencyPolicyCommand = async (output, context) => {
|
|
|
1846
1796
|
$metadata: deserializeMetadata(output),
|
|
1847
1797
|
});
|
|
1848
1798
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
}
|
|
1799
|
+
const doc = take(data, {
|
|
1800
|
+
policyArn: __expectString,
|
|
1801
|
+
});
|
|
1802
|
+
Object.assign(contents, doc);
|
|
1852
1803
|
return contents;
|
|
1853
1804
|
};
|
|
1854
1805
|
const de_DeleteResiliencyPolicyCommandError = async (output, context) => {
|
|
@@ -1878,10 +1829,9 @@ const de_DeleteResiliencyPolicyCommandError = async (output, context) => {
|
|
|
1878
1829
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1879
1830
|
default:
|
|
1880
1831
|
const parsedBody = parsedOutput.body;
|
|
1881
|
-
throwDefaultError({
|
|
1832
|
+
return throwDefaultError({
|
|
1882
1833
|
output,
|
|
1883
1834
|
parsedBody,
|
|
1884
|
-
exceptionCtor: __BaseException,
|
|
1885
1835
|
errorCode,
|
|
1886
1836
|
});
|
|
1887
1837
|
}
|
|
@@ -1894,9 +1844,10 @@ export const de_DescribeAppCommand = async (output, context) => {
|
|
|
1894
1844
|
$metadata: deserializeMetadata(output),
|
|
1895
1845
|
});
|
|
1896
1846
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
}
|
|
1847
|
+
const doc = take(data, {
|
|
1848
|
+
app: (_) => de_App(_, context),
|
|
1849
|
+
});
|
|
1850
|
+
Object.assign(contents, doc);
|
|
1900
1851
|
return contents;
|
|
1901
1852
|
};
|
|
1902
1853
|
const de_DescribeAppCommandError = async (output, context) => {
|
|
@@ -1923,10 +1874,9 @@ const de_DescribeAppCommandError = async (output, context) => {
|
|
|
1923
1874
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1924
1875
|
default:
|
|
1925
1876
|
const parsedBody = parsedOutput.body;
|
|
1926
|
-
throwDefaultError({
|
|
1877
|
+
return throwDefaultError({
|
|
1927
1878
|
output,
|
|
1928
1879
|
parsedBody,
|
|
1929
|
-
exceptionCtor: __BaseException,
|
|
1930
1880
|
errorCode,
|
|
1931
1881
|
});
|
|
1932
1882
|
}
|
|
@@ -1939,9 +1889,10 @@ export const de_DescribeAppAssessmentCommand = async (output, context) => {
|
|
|
1939
1889
|
$metadata: deserializeMetadata(output),
|
|
1940
1890
|
});
|
|
1941
1891
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
}
|
|
1892
|
+
const doc = take(data, {
|
|
1893
|
+
assessment: (_) => de_AppAssessment(_, context),
|
|
1894
|
+
});
|
|
1895
|
+
Object.assign(contents, doc);
|
|
1945
1896
|
return contents;
|
|
1946
1897
|
};
|
|
1947
1898
|
const de_DescribeAppAssessmentCommandError = async (output, context) => {
|
|
@@ -1968,10 +1919,9 @@ const de_DescribeAppAssessmentCommandError = async (output, context) => {
|
|
|
1968
1919
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1969
1920
|
default:
|
|
1970
1921
|
const parsedBody = parsedOutput.body;
|
|
1971
|
-
throwDefaultError({
|
|
1922
|
+
return throwDefaultError({
|
|
1972
1923
|
output,
|
|
1973
1924
|
parsedBody,
|
|
1974
|
-
exceptionCtor: __BaseException,
|
|
1975
1925
|
errorCode,
|
|
1976
1926
|
});
|
|
1977
1927
|
}
|
|
@@ -1984,15 +1934,12 @@ export const de_DescribeAppVersionCommand = async (output, context) => {
|
|
|
1984
1934
|
$metadata: deserializeMetadata(output),
|
|
1985
1935
|
});
|
|
1986
1936
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
if (data.appVersion != null) {
|
|
1994
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
1995
|
-
}
|
|
1937
|
+
const doc = take(data, {
|
|
1938
|
+
additionalInfo: _json,
|
|
1939
|
+
appArn: __expectString,
|
|
1940
|
+
appVersion: __expectString,
|
|
1941
|
+
});
|
|
1942
|
+
Object.assign(contents, doc);
|
|
1996
1943
|
return contents;
|
|
1997
1944
|
};
|
|
1998
1945
|
const de_DescribeAppVersionCommandError = async (output, context) => {
|
|
@@ -2019,10 +1966,9 @@ const de_DescribeAppVersionCommandError = async (output, context) => {
|
|
|
2019
1966
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2020
1967
|
default:
|
|
2021
1968
|
const parsedBody = parsedOutput.body;
|
|
2022
|
-
throwDefaultError({
|
|
1969
|
+
return throwDefaultError({
|
|
2023
1970
|
output,
|
|
2024
1971
|
parsedBody,
|
|
2025
|
-
exceptionCtor: __BaseException,
|
|
2026
1972
|
errorCode,
|
|
2027
1973
|
});
|
|
2028
1974
|
}
|
|
@@ -2035,15 +1981,12 @@ export const de_DescribeAppVersionAppComponentCommand = async (output, context)
|
|
|
2035
1981
|
$metadata: deserializeMetadata(output),
|
|
2036
1982
|
});
|
|
2037
1983
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
if (data.appVersion != null) {
|
|
2045
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
2046
|
-
}
|
|
1984
|
+
const doc = take(data, {
|
|
1985
|
+
appArn: __expectString,
|
|
1986
|
+
appComponent: _json,
|
|
1987
|
+
appVersion: __expectString,
|
|
1988
|
+
});
|
|
1989
|
+
Object.assign(contents, doc);
|
|
2047
1990
|
return contents;
|
|
2048
1991
|
};
|
|
2049
1992
|
const de_DescribeAppVersionAppComponentCommandError = async (output, context) => {
|
|
@@ -2073,10 +2016,9 @@ const de_DescribeAppVersionAppComponentCommandError = async (output, context) =>
|
|
|
2073
2016
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2074
2017
|
default:
|
|
2075
2018
|
const parsedBody = parsedOutput.body;
|
|
2076
|
-
throwDefaultError({
|
|
2019
|
+
return throwDefaultError({
|
|
2077
2020
|
output,
|
|
2078
2021
|
parsedBody,
|
|
2079
|
-
exceptionCtor: __BaseException,
|
|
2080
2022
|
errorCode,
|
|
2081
2023
|
});
|
|
2082
2024
|
}
|
|
@@ -2089,15 +2031,12 @@ export const de_DescribeAppVersionResourceCommand = async (output, context) => {
|
|
|
2089
2031
|
$metadata: deserializeMetadata(output),
|
|
2090
2032
|
});
|
|
2091
2033
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
if (data.physicalResource != null) {
|
|
2099
|
-
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
2100
|
-
}
|
|
2034
|
+
const doc = take(data, {
|
|
2035
|
+
appArn: __expectString,
|
|
2036
|
+
appVersion: __expectString,
|
|
2037
|
+
physicalResource: _json,
|
|
2038
|
+
});
|
|
2039
|
+
Object.assign(contents, doc);
|
|
2101
2040
|
return contents;
|
|
2102
2041
|
};
|
|
2103
2042
|
const de_DescribeAppVersionResourceCommandError = async (output, context) => {
|
|
@@ -2127,10 +2066,9 @@ const de_DescribeAppVersionResourceCommandError = async (output, context) => {
|
|
|
2127
2066
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2128
2067
|
default:
|
|
2129
2068
|
const parsedBody = parsedOutput.body;
|
|
2130
|
-
throwDefaultError({
|
|
2069
|
+
return throwDefaultError({
|
|
2131
2070
|
output,
|
|
2132
2071
|
parsedBody,
|
|
2133
|
-
exceptionCtor: __BaseException,
|
|
2134
2072
|
errorCode,
|
|
2135
2073
|
});
|
|
2136
2074
|
}
|
|
@@ -2143,21 +2081,14 @@ export const de_DescribeAppVersionResourcesResolutionStatusCommand = async (outp
|
|
|
2143
2081
|
$metadata: deserializeMetadata(output),
|
|
2144
2082
|
});
|
|
2145
2083
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
}
|
|
2155
|
-
if (data.resolutionId != null) {
|
|
2156
|
-
contents.resolutionId = __expectString(data.resolutionId);
|
|
2157
|
-
}
|
|
2158
|
-
if (data.status != null) {
|
|
2159
|
-
contents.status = __expectString(data.status);
|
|
2160
|
-
}
|
|
2084
|
+
const doc = take(data, {
|
|
2085
|
+
appArn: __expectString,
|
|
2086
|
+
appVersion: __expectString,
|
|
2087
|
+
errorMessage: __expectString,
|
|
2088
|
+
resolutionId: __expectString,
|
|
2089
|
+
status: __expectString,
|
|
2090
|
+
});
|
|
2091
|
+
Object.assign(contents, doc);
|
|
2161
2092
|
return contents;
|
|
2162
2093
|
};
|
|
2163
2094
|
const de_DescribeAppVersionResourcesResolutionStatusCommandError = async (output, context) => {
|
|
@@ -2184,10 +2115,9 @@ const de_DescribeAppVersionResourcesResolutionStatusCommandError = async (output
|
|
|
2184
2115
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2185
2116
|
default:
|
|
2186
2117
|
const parsedBody = parsedOutput.body;
|
|
2187
|
-
throwDefaultError({
|
|
2118
|
+
return throwDefaultError({
|
|
2188
2119
|
output,
|
|
2189
2120
|
parsedBody,
|
|
2190
|
-
exceptionCtor: __BaseException,
|
|
2191
2121
|
errorCode,
|
|
2192
2122
|
});
|
|
2193
2123
|
}
|
|
@@ -2200,15 +2130,12 @@ export const de_DescribeAppVersionTemplateCommand = async (output, context) => {
|
|
|
2200
2130
|
$metadata: deserializeMetadata(output),
|
|
2201
2131
|
});
|
|
2202
2132
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
if (data.appVersion != null) {
|
|
2210
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
2211
|
-
}
|
|
2133
|
+
const doc = take(data, {
|
|
2134
|
+
appArn: __expectString,
|
|
2135
|
+
appTemplateBody: __expectString,
|
|
2136
|
+
appVersion: __expectString,
|
|
2137
|
+
});
|
|
2138
|
+
Object.assign(contents, doc);
|
|
2212
2139
|
return contents;
|
|
2213
2140
|
};
|
|
2214
2141
|
const de_DescribeAppVersionTemplateCommandError = async (output, context) => {
|
|
@@ -2235,10 +2162,9 @@ const de_DescribeAppVersionTemplateCommandError = async (output, context) => {
|
|
|
2235
2162
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2236
2163
|
default:
|
|
2237
2164
|
const parsedBody = parsedOutput.body;
|
|
2238
|
-
throwDefaultError({
|
|
2165
|
+
return throwDefaultError({
|
|
2239
2166
|
output,
|
|
2240
2167
|
parsedBody,
|
|
2241
|
-
exceptionCtor: __BaseException,
|
|
2242
2168
|
errorCode,
|
|
2243
2169
|
});
|
|
2244
2170
|
}
|
|
@@ -2251,21 +2177,14 @@ export const de_DescribeDraftAppVersionResourcesImportStatusCommand = async (out
|
|
|
2251
2177
|
$metadata: deserializeMetadata(output),
|
|
2252
2178
|
});
|
|
2253
2179
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
}
|
|
2263
|
-
if (data.status != null) {
|
|
2264
|
-
contents.status = __expectString(data.status);
|
|
2265
|
-
}
|
|
2266
|
-
if (data.statusChangeTime != null) {
|
|
2267
|
-
contents.statusChangeTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.statusChangeTime)));
|
|
2268
|
-
}
|
|
2180
|
+
const doc = take(data, {
|
|
2181
|
+
appArn: __expectString,
|
|
2182
|
+
appVersion: __expectString,
|
|
2183
|
+
errorMessage: __expectString,
|
|
2184
|
+
status: __expectString,
|
|
2185
|
+
statusChangeTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2186
|
+
});
|
|
2187
|
+
Object.assign(contents, doc);
|
|
2269
2188
|
return contents;
|
|
2270
2189
|
};
|
|
2271
2190
|
const de_DescribeDraftAppVersionResourcesImportStatusCommandError = async (output, context) => {
|
|
@@ -2292,10 +2211,9 @@ const de_DescribeDraftAppVersionResourcesImportStatusCommandError = async (outpu
|
|
|
2292
2211
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2293
2212
|
default:
|
|
2294
2213
|
const parsedBody = parsedOutput.body;
|
|
2295
|
-
throwDefaultError({
|
|
2214
|
+
return throwDefaultError({
|
|
2296
2215
|
output,
|
|
2297
2216
|
parsedBody,
|
|
2298
|
-
exceptionCtor: __BaseException,
|
|
2299
2217
|
errorCode,
|
|
2300
2218
|
});
|
|
2301
2219
|
}
|
|
@@ -2308,9 +2226,10 @@ export const de_DescribeResiliencyPolicyCommand = async (output, context) => {
|
|
|
2308
2226
|
$metadata: deserializeMetadata(output),
|
|
2309
2227
|
});
|
|
2310
2228
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
}
|
|
2229
|
+
const doc = take(data, {
|
|
2230
|
+
policy: (_) => de_ResiliencyPolicy(_, context),
|
|
2231
|
+
});
|
|
2232
|
+
Object.assign(contents, doc);
|
|
2314
2233
|
return contents;
|
|
2315
2234
|
};
|
|
2316
2235
|
const de_DescribeResiliencyPolicyCommandError = async (output, context) => {
|
|
@@ -2337,10 +2256,9 @@ const de_DescribeResiliencyPolicyCommandError = async (output, context) => {
|
|
|
2337
2256
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2338
2257
|
default:
|
|
2339
2258
|
const parsedBody = parsedOutput.body;
|
|
2340
|
-
throwDefaultError({
|
|
2259
|
+
return throwDefaultError({
|
|
2341
2260
|
output,
|
|
2342
2261
|
parsedBody,
|
|
2343
|
-
exceptionCtor: __BaseException,
|
|
2344
2262
|
errorCode,
|
|
2345
2263
|
});
|
|
2346
2264
|
}
|
|
@@ -2353,24 +2271,15 @@ export const de_ImportResourcesToDraftAppVersionCommand = async (output, context
|
|
|
2353
2271
|
$metadata: deserializeMetadata(output),
|
|
2354
2272
|
});
|
|
2355
2273
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
if (data.sourceArns != null) {
|
|
2366
|
-
contents.sourceArns = de_ArnList(data.sourceArns, context);
|
|
2367
|
-
}
|
|
2368
|
-
if (data.status != null) {
|
|
2369
|
-
contents.status = __expectString(data.status);
|
|
2370
|
-
}
|
|
2371
|
-
if (data.terraformSources != null) {
|
|
2372
|
-
contents.terraformSources = de_TerraformSourceList(data.terraformSources, context);
|
|
2373
|
-
}
|
|
2274
|
+
const doc = take(data, {
|
|
2275
|
+
appArn: __expectString,
|
|
2276
|
+
appVersion: __expectString,
|
|
2277
|
+
eksSources: _json,
|
|
2278
|
+
sourceArns: _json,
|
|
2279
|
+
status: __expectString,
|
|
2280
|
+
terraformSources: _json,
|
|
2281
|
+
});
|
|
2282
|
+
Object.assign(contents, doc);
|
|
2374
2283
|
return contents;
|
|
2375
2284
|
};
|
|
2376
2285
|
const de_ImportResourcesToDraftAppVersionCommandError = async (output, context) => {
|
|
@@ -2400,10 +2309,9 @@ const de_ImportResourcesToDraftAppVersionCommandError = async (output, context)
|
|
|
2400
2309
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2401
2310
|
default:
|
|
2402
2311
|
const parsedBody = parsedOutput.body;
|
|
2403
|
-
throwDefaultError({
|
|
2312
|
+
return throwDefaultError({
|
|
2404
2313
|
output,
|
|
2405
2314
|
parsedBody,
|
|
2406
|
-
exceptionCtor: __BaseException,
|
|
2407
2315
|
errorCode,
|
|
2408
2316
|
});
|
|
2409
2317
|
}
|
|
@@ -2416,12 +2324,11 @@ export const de_ListAlarmRecommendationsCommand = async (output, context) => {
|
|
|
2416
2324
|
$metadata: deserializeMetadata(output),
|
|
2417
2325
|
});
|
|
2418
2326
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
}
|
|
2327
|
+
const doc = take(data, {
|
|
2328
|
+
alarmRecommendations: _json,
|
|
2329
|
+
nextToken: __expectString,
|
|
2330
|
+
});
|
|
2331
|
+
Object.assign(contents, doc);
|
|
2425
2332
|
return contents;
|
|
2426
2333
|
};
|
|
2427
2334
|
const de_ListAlarmRecommendationsCommandError = async (output, context) => {
|
|
@@ -2448,10 +2355,9 @@ const de_ListAlarmRecommendationsCommandError = async (output, context) => {
|
|
|
2448
2355
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2449
2356
|
default:
|
|
2450
2357
|
const parsedBody = parsedOutput.body;
|
|
2451
|
-
throwDefaultError({
|
|
2358
|
+
return throwDefaultError({
|
|
2452
2359
|
output,
|
|
2453
2360
|
parsedBody,
|
|
2454
|
-
exceptionCtor: __BaseException,
|
|
2455
2361
|
errorCode,
|
|
2456
2362
|
});
|
|
2457
2363
|
}
|
|
@@ -2464,12 +2370,11 @@ export const de_ListAppAssessmentsCommand = async (output, context) => {
|
|
|
2464
2370
|
$metadata: deserializeMetadata(output),
|
|
2465
2371
|
});
|
|
2466
2372
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
}
|
|
2373
|
+
const doc = take(data, {
|
|
2374
|
+
assessmentSummaries: (_) => de_AppAssessmentSummaryList(_, context),
|
|
2375
|
+
nextToken: __expectString,
|
|
2376
|
+
});
|
|
2377
|
+
Object.assign(contents, doc);
|
|
2473
2378
|
return contents;
|
|
2474
2379
|
};
|
|
2475
2380
|
const de_ListAppAssessmentsCommandError = async (output, context) => {
|
|
@@ -2496,10 +2401,9 @@ const de_ListAppAssessmentsCommandError = async (output, context) => {
|
|
|
2496
2401
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2497
2402
|
default:
|
|
2498
2403
|
const parsedBody = parsedOutput.body;
|
|
2499
|
-
throwDefaultError({
|
|
2404
|
+
return throwDefaultError({
|
|
2500
2405
|
output,
|
|
2501
2406
|
parsedBody,
|
|
2502
|
-
exceptionCtor: __BaseException,
|
|
2503
2407
|
errorCode,
|
|
2504
2408
|
});
|
|
2505
2409
|
}
|
|
@@ -2512,12 +2416,11 @@ export const de_ListAppComponentCompliancesCommand = async (output, context) =>
|
|
|
2512
2416
|
$metadata: deserializeMetadata(output),
|
|
2513
2417
|
});
|
|
2514
2418
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
}
|
|
2419
|
+
const doc = take(data, {
|
|
2420
|
+
componentCompliances: (_) => de_ComponentCompliancesList(_, context),
|
|
2421
|
+
nextToken: __expectString,
|
|
2422
|
+
});
|
|
2423
|
+
Object.assign(contents, doc);
|
|
2521
2424
|
return contents;
|
|
2522
2425
|
};
|
|
2523
2426
|
const de_ListAppComponentCompliancesCommandError = async (output, context) => {
|
|
@@ -2544,10 +2447,9 @@ const de_ListAppComponentCompliancesCommandError = async (output, context) => {
|
|
|
2544
2447
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2545
2448
|
default:
|
|
2546
2449
|
const parsedBody = parsedOutput.body;
|
|
2547
|
-
throwDefaultError({
|
|
2450
|
+
return throwDefaultError({
|
|
2548
2451
|
output,
|
|
2549
2452
|
parsedBody,
|
|
2550
|
-
exceptionCtor: __BaseException,
|
|
2551
2453
|
errorCode,
|
|
2552
2454
|
});
|
|
2553
2455
|
}
|
|
@@ -2560,12 +2462,11 @@ export const de_ListAppComponentRecommendationsCommand = async (output, context)
|
|
|
2560
2462
|
$metadata: deserializeMetadata(output),
|
|
2561
2463
|
});
|
|
2562
2464
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2465
|
+
const doc = take(data, {
|
|
2466
|
+
componentRecommendations: (_) => de_ComponentRecommendationList(_, context),
|
|
2467
|
+
nextToken: __expectString,
|
|
2468
|
+
});
|
|
2469
|
+
Object.assign(contents, doc);
|
|
2569
2470
|
return contents;
|
|
2570
2471
|
};
|
|
2571
2472
|
const de_ListAppComponentRecommendationsCommandError = async (output, context) => {
|
|
@@ -2592,10 +2493,9 @@ const de_ListAppComponentRecommendationsCommandError = async (output, context) =
|
|
|
2592
2493
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2593
2494
|
default:
|
|
2594
2495
|
const parsedBody = parsedOutput.body;
|
|
2595
|
-
throwDefaultError({
|
|
2496
|
+
return throwDefaultError({
|
|
2596
2497
|
output,
|
|
2597
2498
|
parsedBody,
|
|
2598
|
-
exceptionCtor: __BaseException,
|
|
2599
2499
|
errorCode,
|
|
2600
2500
|
});
|
|
2601
2501
|
}
|
|
@@ -2608,12 +2508,11 @@ export const de_ListAppInputSourcesCommand = async (output, context) => {
|
|
|
2608
2508
|
$metadata: deserializeMetadata(output),
|
|
2609
2509
|
});
|
|
2610
2510
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
}
|
|
2511
|
+
const doc = take(data, {
|
|
2512
|
+
appInputSources: _json,
|
|
2513
|
+
nextToken: __expectString,
|
|
2514
|
+
});
|
|
2515
|
+
Object.assign(contents, doc);
|
|
2617
2516
|
return contents;
|
|
2618
2517
|
};
|
|
2619
2518
|
const de_ListAppInputSourcesCommandError = async (output, context) => {
|
|
@@ -2640,10 +2539,9 @@ const de_ListAppInputSourcesCommandError = async (output, context) => {
|
|
|
2640
2539
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2641
2540
|
default:
|
|
2642
2541
|
const parsedBody = parsedOutput.body;
|
|
2643
|
-
throwDefaultError({
|
|
2542
|
+
return throwDefaultError({
|
|
2644
2543
|
output,
|
|
2645
2544
|
parsedBody,
|
|
2646
|
-
exceptionCtor: __BaseException,
|
|
2647
2545
|
errorCode,
|
|
2648
2546
|
});
|
|
2649
2547
|
}
|
|
@@ -2656,12 +2554,11 @@ export const de_ListAppsCommand = async (output, context) => {
|
|
|
2656
2554
|
$metadata: deserializeMetadata(output),
|
|
2657
2555
|
});
|
|
2658
2556
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
}
|
|
2557
|
+
const doc = take(data, {
|
|
2558
|
+
appSummaries: (_) => de_AppSummaryList(_, context),
|
|
2559
|
+
nextToken: __expectString,
|
|
2560
|
+
});
|
|
2561
|
+
Object.assign(contents, doc);
|
|
2665
2562
|
return contents;
|
|
2666
2563
|
};
|
|
2667
2564
|
const de_ListAppsCommandError = async (output, context) => {
|
|
@@ -2685,10 +2582,9 @@ const de_ListAppsCommandError = async (output, context) => {
|
|
|
2685
2582
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2686
2583
|
default:
|
|
2687
2584
|
const parsedBody = parsedOutput.body;
|
|
2688
|
-
throwDefaultError({
|
|
2585
|
+
return throwDefaultError({
|
|
2689
2586
|
output,
|
|
2690
2587
|
parsedBody,
|
|
2691
|
-
exceptionCtor: __BaseException,
|
|
2692
2588
|
errorCode,
|
|
2693
2589
|
});
|
|
2694
2590
|
}
|
|
@@ -2701,18 +2597,13 @@ export const de_ListAppVersionAppComponentsCommand = async (output, context) =>
|
|
|
2701
2597
|
$metadata: deserializeMetadata(output),
|
|
2702
2598
|
});
|
|
2703
2599
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
}
|
|
2710
|
-
|
|
2711
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
2712
|
-
}
|
|
2713
|
-
if (data.nextToken != null) {
|
|
2714
|
-
contents.nextToken = __expectString(data.nextToken);
|
|
2715
|
-
}
|
|
2600
|
+
const doc = take(data, {
|
|
2601
|
+
appArn: __expectString,
|
|
2602
|
+
appComponents: _json,
|
|
2603
|
+
appVersion: __expectString,
|
|
2604
|
+
nextToken: __expectString,
|
|
2605
|
+
});
|
|
2606
|
+
Object.assign(contents, doc);
|
|
2716
2607
|
return contents;
|
|
2717
2608
|
};
|
|
2718
2609
|
const de_ListAppVersionAppComponentsCommandError = async (output, context) => {
|
|
@@ -2742,10 +2633,9 @@ const de_ListAppVersionAppComponentsCommandError = async (output, context) => {
|
|
|
2742
2633
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2743
2634
|
default:
|
|
2744
2635
|
const parsedBody = parsedOutput.body;
|
|
2745
|
-
throwDefaultError({
|
|
2636
|
+
return throwDefaultError({
|
|
2746
2637
|
output,
|
|
2747
2638
|
parsedBody,
|
|
2748
|
-
exceptionCtor: __BaseException,
|
|
2749
2639
|
errorCode,
|
|
2750
2640
|
});
|
|
2751
2641
|
}
|
|
@@ -2758,12 +2648,11 @@ export const de_ListAppVersionResourceMappingsCommand = async (output, context)
|
|
|
2758
2648
|
$metadata: deserializeMetadata(output),
|
|
2759
2649
|
});
|
|
2760
2650
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
}
|
|
2651
|
+
const doc = take(data, {
|
|
2652
|
+
nextToken: __expectString,
|
|
2653
|
+
resourceMappings: _json,
|
|
2654
|
+
});
|
|
2655
|
+
Object.assign(contents, doc);
|
|
2767
2656
|
return contents;
|
|
2768
2657
|
};
|
|
2769
2658
|
const de_ListAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
@@ -2790,10 +2679,9 @@ const de_ListAppVersionResourceMappingsCommandError = async (output, context) =>
|
|
|
2790
2679
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2791
2680
|
default:
|
|
2792
2681
|
const parsedBody = parsedOutput.body;
|
|
2793
|
-
throwDefaultError({
|
|
2682
|
+
return throwDefaultError({
|
|
2794
2683
|
output,
|
|
2795
2684
|
parsedBody,
|
|
2796
|
-
exceptionCtor: __BaseException,
|
|
2797
2685
|
errorCode,
|
|
2798
2686
|
});
|
|
2799
2687
|
}
|
|
@@ -2806,15 +2694,12 @@ export const de_ListAppVersionResourcesCommand = async (output, context) => {
|
|
|
2806
2694
|
$metadata: deserializeMetadata(output),
|
|
2807
2695
|
});
|
|
2808
2696
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
if (data.resolutionId != null) {
|
|
2816
|
-
contents.resolutionId = __expectString(data.resolutionId);
|
|
2817
|
-
}
|
|
2697
|
+
const doc = take(data, {
|
|
2698
|
+
nextToken: __expectString,
|
|
2699
|
+
physicalResources: _json,
|
|
2700
|
+
resolutionId: __expectString,
|
|
2701
|
+
});
|
|
2702
|
+
Object.assign(contents, doc);
|
|
2818
2703
|
return contents;
|
|
2819
2704
|
};
|
|
2820
2705
|
const de_ListAppVersionResourcesCommandError = async (output, context) => {
|
|
@@ -2844,10 +2729,9 @@ const de_ListAppVersionResourcesCommandError = async (output, context) => {
|
|
|
2844
2729
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2845
2730
|
default:
|
|
2846
2731
|
const parsedBody = parsedOutput.body;
|
|
2847
|
-
throwDefaultError({
|
|
2732
|
+
return throwDefaultError({
|
|
2848
2733
|
output,
|
|
2849
2734
|
parsedBody,
|
|
2850
|
-
exceptionCtor: __BaseException,
|
|
2851
2735
|
errorCode,
|
|
2852
2736
|
});
|
|
2853
2737
|
}
|
|
@@ -2860,12 +2744,11 @@ export const de_ListAppVersionsCommand = async (output, context) => {
|
|
|
2860
2744
|
$metadata: deserializeMetadata(output),
|
|
2861
2745
|
});
|
|
2862
2746
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
}
|
|
2747
|
+
const doc = take(data, {
|
|
2748
|
+
appVersions: _json,
|
|
2749
|
+
nextToken: __expectString,
|
|
2750
|
+
});
|
|
2751
|
+
Object.assign(contents, doc);
|
|
2869
2752
|
return contents;
|
|
2870
2753
|
};
|
|
2871
2754
|
const de_ListAppVersionsCommandError = async (output, context) => {
|
|
@@ -2889,10 +2772,9 @@ const de_ListAppVersionsCommandError = async (output, context) => {
|
|
|
2889
2772
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2890
2773
|
default:
|
|
2891
2774
|
const parsedBody = parsedOutput.body;
|
|
2892
|
-
throwDefaultError({
|
|
2775
|
+
return throwDefaultError({
|
|
2893
2776
|
output,
|
|
2894
2777
|
parsedBody,
|
|
2895
|
-
exceptionCtor: __BaseException,
|
|
2896
2778
|
errorCode,
|
|
2897
2779
|
});
|
|
2898
2780
|
}
|
|
@@ -2905,12 +2787,11 @@ export const de_ListRecommendationTemplatesCommand = async (output, context) =>
|
|
|
2905
2787
|
$metadata: deserializeMetadata(output),
|
|
2906
2788
|
});
|
|
2907
2789
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
}
|
|
2790
|
+
const doc = take(data, {
|
|
2791
|
+
nextToken: __expectString,
|
|
2792
|
+
recommendationTemplates: (_) => de_RecommendationTemplateList(_, context),
|
|
2793
|
+
});
|
|
2794
|
+
Object.assign(contents, doc);
|
|
2914
2795
|
return contents;
|
|
2915
2796
|
};
|
|
2916
2797
|
const de_ListRecommendationTemplatesCommandError = async (output, context) => {
|
|
@@ -2934,10 +2815,9 @@ const de_ListRecommendationTemplatesCommandError = async (output, context) => {
|
|
|
2934
2815
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2935
2816
|
default:
|
|
2936
2817
|
const parsedBody = parsedOutput.body;
|
|
2937
|
-
throwDefaultError({
|
|
2818
|
+
return throwDefaultError({
|
|
2938
2819
|
output,
|
|
2939
2820
|
parsedBody,
|
|
2940
|
-
exceptionCtor: __BaseException,
|
|
2941
2821
|
errorCode,
|
|
2942
2822
|
});
|
|
2943
2823
|
}
|
|
@@ -2950,12 +2830,11 @@ export const de_ListResiliencyPoliciesCommand = async (output, context) => {
|
|
|
2950
2830
|
$metadata: deserializeMetadata(output),
|
|
2951
2831
|
});
|
|
2952
2832
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
}
|
|
2833
|
+
const doc = take(data, {
|
|
2834
|
+
nextToken: __expectString,
|
|
2835
|
+
resiliencyPolicies: (_) => de_ResiliencyPolicies(_, context),
|
|
2836
|
+
});
|
|
2837
|
+
Object.assign(contents, doc);
|
|
2959
2838
|
return contents;
|
|
2960
2839
|
};
|
|
2961
2840
|
const de_ListResiliencyPoliciesCommandError = async (output, context) => {
|
|
@@ -2982,10 +2861,9 @@ const de_ListResiliencyPoliciesCommandError = async (output, context) => {
|
|
|
2982
2861
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2983
2862
|
default:
|
|
2984
2863
|
const parsedBody = parsedOutput.body;
|
|
2985
|
-
throwDefaultError({
|
|
2864
|
+
return throwDefaultError({
|
|
2986
2865
|
output,
|
|
2987
2866
|
parsedBody,
|
|
2988
|
-
exceptionCtor: __BaseException,
|
|
2989
2867
|
errorCode,
|
|
2990
2868
|
});
|
|
2991
2869
|
}
|
|
@@ -2998,12 +2876,11 @@ export const de_ListSopRecommendationsCommand = async (output, context) => {
|
|
|
2998
2876
|
$metadata: deserializeMetadata(output),
|
|
2999
2877
|
});
|
|
3000
2878
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
}
|
|
2879
|
+
const doc = take(data, {
|
|
2880
|
+
nextToken: __expectString,
|
|
2881
|
+
sopRecommendations: _json,
|
|
2882
|
+
});
|
|
2883
|
+
Object.assign(contents, doc);
|
|
3007
2884
|
return contents;
|
|
3008
2885
|
};
|
|
3009
2886
|
const de_ListSopRecommendationsCommandError = async (output, context) => {
|
|
@@ -3033,10 +2910,9 @@ const de_ListSopRecommendationsCommandError = async (output, context) => {
|
|
|
3033
2910
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3034
2911
|
default:
|
|
3035
2912
|
const parsedBody = parsedOutput.body;
|
|
3036
|
-
throwDefaultError({
|
|
2913
|
+
return throwDefaultError({
|
|
3037
2914
|
output,
|
|
3038
2915
|
parsedBody,
|
|
3039
|
-
exceptionCtor: __BaseException,
|
|
3040
2916
|
errorCode,
|
|
3041
2917
|
});
|
|
3042
2918
|
}
|
|
@@ -3049,12 +2925,11 @@ export const de_ListSuggestedResiliencyPoliciesCommand = async (output, context)
|
|
|
3049
2925
|
$metadata: deserializeMetadata(output),
|
|
3050
2926
|
});
|
|
3051
2927
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
}
|
|
2928
|
+
const doc = take(data, {
|
|
2929
|
+
nextToken: __expectString,
|
|
2930
|
+
resiliencyPolicies: (_) => de_ResiliencyPolicies(_, context),
|
|
2931
|
+
});
|
|
2932
|
+
Object.assign(contents, doc);
|
|
3058
2933
|
return contents;
|
|
3059
2934
|
};
|
|
3060
2935
|
const de_ListSuggestedResiliencyPoliciesCommandError = async (output, context) => {
|
|
@@ -3081,10 +2956,9 @@ const de_ListSuggestedResiliencyPoliciesCommandError = async (output, context) =
|
|
|
3081
2956
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3082
2957
|
default:
|
|
3083
2958
|
const parsedBody = parsedOutput.body;
|
|
3084
|
-
throwDefaultError({
|
|
2959
|
+
return throwDefaultError({
|
|
3085
2960
|
output,
|
|
3086
2961
|
parsedBody,
|
|
3087
|
-
exceptionCtor: __BaseException,
|
|
3088
2962
|
errorCode,
|
|
3089
2963
|
});
|
|
3090
2964
|
}
|
|
@@ -3097,9 +2971,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
3097
2971
|
$metadata: deserializeMetadata(output),
|
|
3098
2972
|
});
|
|
3099
2973
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
}
|
|
2974
|
+
const doc = take(data, {
|
|
2975
|
+
tags: _json,
|
|
2976
|
+
});
|
|
2977
|
+
Object.assign(contents, doc);
|
|
3103
2978
|
return contents;
|
|
3104
2979
|
};
|
|
3105
2980
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -3126,10 +3001,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
3126
3001
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3127
3002
|
default:
|
|
3128
3003
|
const parsedBody = parsedOutput.body;
|
|
3129
|
-
throwDefaultError({
|
|
3004
|
+
return throwDefaultError({
|
|
3130
3005
|
output,
|
|
3131
3006
|
parsedBody,
|
|
3132
|
-
exceptionCtor: __BaseException,
|
|
3133
3007
|
errorCode,
|
|
3134
3008
|
});
|
|
3135
3009
|
}
|
|
@@ -3142,12 +3016,11 @@ export const de_ListTestRecommendationsCommand = async (output, context) => {
|
|
|
3142
3016
|
$metadata: deserializeMetadata(output),
|
|
3143
3017
|
});
|
|
3144
3018
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
}
|
|
3019
|
+
const doc = take(data, {
|
|
3020
|
+
nextToken: __expectString,
|
|
3021
|
+
testRecommendations: _json,
|
|
3022
|
+
});
|
|
3023
|
+
Object.assign(contents, doc);
|
|
3151
3024
|
return contents;
|
|
3152
3025
|
};
|
|
3153
3026
|
const de_ListTestRecommendationsCommandError = async (output, context) => {
|
|
@@ -3177,10 +3050,9 @@ const de_ListTestRecommendationsCommandError = async (output, context) => {
|
|
|
3177
3050
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3178
3051
|
default:
|
|
3179
3052
|
const parsedBody = parsedOutput.body;
|
|
3180
|
-
throwDefaultError({
|
|
3053
|
+
return throwDefaultError({
|
|
3181
3054
|
output,
|
|
3182
3055
|
parsedBody,
|
|
3183
|
-
exceptionCtor: __BaseException,
|
|
3184
3056
|
errorCode,
|
|
3185
3057
|
});
|
|
3186
3058
|
}
|
|
@@ -3193,15 +3065,12 @@ export const de_ListUnsupportedAppVersionResourcesCommand = async (output, conte
|
|
|
3193
3065
|
$metadata: deserializeMetadata(output),
|
|
3194
3066
|
});
|
|
3195
3067
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
if (data.unsupportedResources != null) {
|
|
3203
|
-
contents.unsupportedResources = de_UnsupportedResourceList(data.unsupportedResources, context);
|
|
3204
|
-
}
|
|
3068
|
+
const doc = take(data, {
|
|
3069
|
+
nextToken: __expectString,
|
|
3070
|
+
resolutionId: __expectString,
|
|
3071
|
+
unsupportedResources: _json,
|
|
3072
|
+
});
|
|
3073
|
+
Object.assign(contents, doc);
|
|
3205
3074
|
return contents;
|
|
3206
3075
|
};
|
|
3207
3076
|
const de_ListUnsupportedAppVersionResourcesCommandError = async (output, context) => {
|
|
@@ -3231,10 +3100,9 @@ const de_ListUnsupportedAppVersionResourcesCommandError = async (output, context
|
|
|
3231
3100
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3232
3101
|
default:
|
|
3233
3102
|
const parsedBody = parsedOutput.body;
|
|
3234
|
-
throwDefaultError({
|
|
3103
|
+
return throwDefaultError({
|
|
3235
3104
|
output,
|
|
3236
3105
|
parsedBody,
|
|
3237
|
-
exceptionCtor: __BaseException,
|
|
3238
3106
|
errorCode,
|
|
3239
3107
|
});
|
|
3240
3108
|
}
|
|
@@ -3247,12 +3115,11 @@ export const de_PublishAppVersionCommand = async (output, context) => {
|
|
|
3247
3115
|
$metadata: deserializeMetadata(output),
|
|
3248
3116
|
});
|
|
3249
3117
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
}
|
|
3118
|
+
const doc = take(data, {
|
|
3119
|
+
appArn: __expectString,
|
|
3120
|
+
appVersion: __expectString,
|
|
3121
|
+
});
|
|
3122
|
+
Object.assign(contents, doc);
|
|
3256
3123
|
return contents;
|
|
3257
3124
|
};
|
|
3258
3125
|
const de_PublishAppVersionCommandError = async (output, context) => {
|
|
@@ -3282,10 +3149,9 @@ const de_PublishAppVersionCommandError = async (output, context) => {
|
|
|
3282
3149
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3283
3150
|
default:
|
|
3284
3151
|
const parsedBody = parsedOutput.body;
|
|
3285
|
-
throwDefaultError({
|
|
3152
|
+
return throwDefaultError({
|
|
3286
3153
|
output,
|
|
3287
3154
|
parsedBody,
|
|
3288
|
-
exceptionCtor: __BaseException,
|
|
3289
3155
|
errorCode,
|
|
3290
3156
|
});
|
|
3291
3157
|
}
|
|
@@ -3298,12 +3164,11 @@ export const de_PutDraftAppVersionTemplateCommand = async (output, context) => {
|
|
|
3298
3164
|
$metadata: deserializeMetadata(output),
|
|
3299
3165
|
});
|
|
3300
3166
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
}
|
|
3167
|
+
const doc = take(data, {
|
|
3168
|
+
appArn: __expectString,
|
|
3169
|
+
appVersion: __expectString,
|
|
3170
|
+
});
|
|
3171
|
+
Object.assign(contents, doc);
|
|
3307
3172
|
return contents;
|
|
3308
3173
|
};
|
|
3309
3174
|
const de_PutDraftAppVersionTemplateCommandError = async (output, context) => {
|
|
@@ -3333,10 +3198,9 @@ const de_PutDraftAppVersionTemplateCommandError = async (output, context) => {
|
|
|
3333
3198
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3334
3199
|
default:
|
|
3335
3200
|
const parsedBody = parsedOutput.body;
|
|
3336
|
-
throwDefaultError({
|
|
3201
|
+
return throwDefaultError({
|
|
3337
3202
|
output,
|
|
3338
3203
|
parsedBody,
|
|
3339
|
-
exceptionCtor: __BaseException,
|
|
3340
3204
|
errorCode,
|
|
3341
3205
|
});
|
|
3342
3206
|
}
|
|
@@ -3349,12 +3213,11 @@ export const de_RemoveDraftAppVersionResourceMappingsCommand = async (output, co
|
|
|
3349
3213
|
$metadata: deserializeMetadata(output),
|
|
3350
3214
|
});
|
|
3351
3215
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
}
|
|
3216
|
+
const doc = take(data, {
|
|
3217
|
+
appArn: __expectString,
|
|
3218
|
+
appVersion: __expectString,
|
|
3219
|
+
});
|
|
3220
|
+
Object.assign(contents, doc);
|
|
3358
3221
|
return contents;
|
|
3359
3222
|
};
|
|
3360
3223
|
const de_RemoveDraftAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
@@ -3384,10 +3247,9 @@ const de_RemoveDraftAppVersionResourceMappingsCommandError = async (output, cont
|
|
|
3384
3247
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3385
3248
|
default:
|
|
3386
3249
|
const parsedBody = parsedOutput.body;
|
|
3387
|
-
throwDefaultError({
|
|
3250
|
+
return throwDefaultError({
|
|
3388
3251
|
output,
|
|
3389
3252
|
parsedBody,
|
|
3390
|
-
exceptionCtor: __BaseException,
|
|
3391
3253
|
errorCode,
|
|
3392
3254
|
});
|
|
3393
3255
|
}
|
|
@@ -3400,18 +3262,13 @@ export const de_ResolveAppVersionResourcesCommand = async (output, context) => {
|
|
|
3400
3262
|
$metadata: deserializeMetadata(output),
|
|
3401
3263
|
});
|
|
3402
3264
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
}
|
|
3409
|
-
|
|
3410
|
-
contents.resolutionId = __expectString(data.resolutionId);
|
|
3411
|
-
}
|
|
3412
|
-
if (data.status != null) {
|
|
3413
|
-
contents.status = __expectString(data.status);
|
|
3414
|
-
}
|
|
3265
|
+
const doc = take(data, {
|
|
3266
|
+
appArn: __expectString,
|
|
3267
|
+
appVersion: __expectString,
|
|
3268
|
+
resolutionId: __expectString,
|
|
3269
|
+
status: __expectString,
|
|
3270
|
+
});
|
|
3271
|
+
Object.assign(contents, doc);
|
|
3415
3272
|
return contents;
|
|
3416
3273
|
};
|
|
3417
3274
|
const de_ResolveAppVersionResourcesCommandError = async (output, context) => {
|
|
@@ -3441,10 +3298,9 @@ const de_ResolveAppVersionResourcesCommandError = async (output, context) => {
|
|
|
3441
3298
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3442
3299
|
default:
|
|
3443
3300
|
const parsedBody = parsedOutput.body;
|
|
3444
|
-
throwDefaultError({
|
|
3301
|
+
return throwDefaultError({
|
|
3445
3302
|
output,
|
|
3446
3303
|
parsedBody,
|
|
3447
|
-
exceptionCtor: __BaseException,
|
|
3448
3304
|
errorCode,
|
|
3449
3305
|
});
|
|
3450
3306
|
}
|
|
@@ -3457,9 +3313,10 @@ export const de_StartAppAssessmentCommand = async (output, context) => {
|
|
|
3457
3313
|
$metadata: deserializeMetadata(output),
|
|
3458
3314
|
});
|
|
3459
3315
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
}
|
|
3316
|
+
const doc = take(data, {
|
|
3317
|
+
assessment: (_) => de_AppAssessment(_, context),
|
|
3318
|
+
});
|
|
3319
|
+
Object.assign(contents, doc);
|
|
3463
3320
|
return contents;
|
|
3464
3321
|
};
|
|
3465
3322
|
const de_StartAppAssessmentCommandError = async (output, context) => {
|
|
@@ -3492,10 +3349,9 @@ const de_StartAppAssessmentCommandError = async (output, context) => {
|
|
|
3492
3349
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3493
3350
|
default:
|
|
3494
3351
|
const parsedBody = parsedOutput.body;
|
|
3495
|
-
throwDefaultError({
|
|
3352
|
+
return throwDefaultError({
|
|
3496
3353
|
output,
|
|
3497
3354
|
parsedBody,
|
|
3498
|
-
exceptionCtor: __BaseException,
|
|
3499
3355
|
errorCode,
|
|
3500
3356
|
});
|
|
3501
3357
|
}
|
|
@@ -3534,10 +3390,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3534
3390
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3535
3391
|
default:
|
|
3536
3392
|
const parsedBody = parsedOutput.body;
|
|
3537
|
-
throwDefaultError({
|
|
3393
|
+
return throwDefaultError({
|
|
3538
3394
|
output,
|
|
3539
3395
|
parsedBody,
|
|
3540
|
-
exceptionCtor: __BaseException,
|
|
3541
3396
|
errorCode,
|
|
3542
3397
|
});
|
|
3543
3398
|
}
|
|
@@ -3576,10 +3431,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3576
3431
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3577
3432
|
default:
|
|
3578
3433
|
const parsedBody = parsedOutput.body;
|
|
3579
|
-
throwDefaultError({
|
|
3434
|
+
return throwDefaultError({
|
|
3580
3435
|
output,
|
|
3581
3436
|
parsedBody,
|
|
3582
|
-
exceptionCtor: __BaseException,
|
|
3583
3437
|
errorCode,
|
|
3584
3438
|
});
|
|
3585
3439
|
}
|
|
@@ -3592,9 +3446,10 @@ export const de_UpdateAppCommand = async (output, context) => {
|
|
|
3592
3446
|
$metadata: deserializeMetadata(output),
|
|
3593
3447
|
});
|
|
3594
3448
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
}
|
|
3449
|
+
const doc = take(data, {
|
|
3450
|
+
app: (_) => de_App(_, context),
|
|
3451
|
+
});
|
|
3452
|
+
Object.assign(contents, doc);
|
|
3598
3453
|
return contents;
|
|
3599
3454
|
};
|
|
3600
3455
|
const de_UpdateAppCommandError = async (output, context) => {
|
|
@@ -3624,10 +3479,9 @@ const de_UpdateAppCommandError = async (output, context) => {
|
|
|
3624
3479
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3625
3480
|
default:
|
|
3626
3481
|
const parsedBody = parsedOutput.body;
|
|
3627
|
-
throwDefaultError({
|
|
3482
|
+
return throwDefaultError({
|
|
3628
3483
|
output,
|
|
3629
3484
|
parsedBody,
|
|
3630
|
-
exceptionCtor: __BaseException,
|
|
3631
3485
|
errorCode,
|
|
3632
3486
|
});
|
|
3633
3487
|
}
|
|
@@ -3640,15 +3494,12 @@ export const de_UpdateAppVersionCommand = async (output, context) => {
|
|
|
3640
3494
|
$metadata: deserializeMetadata(output),
|
|
3641
3495
|
});
|
|
3642
3496
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
if (data.appVersion != null) {
|
|
3650
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
3651
|
-
}
|
|
3497
|
+
const doc = take(data, {
|
|
3498
|
+
additionalInfo: _json,
|
|
3499
|
+
appArn: __expectString,
|
|
3500
|
+
appVersion: __expectString,
|
|
3501
|
+
});
|
|
3502
|
+
Object.assign(contents, doc);
|
|
3652
3503
|
return contents;
|
|
3653
3504
|
};
|
|
3654
3505
|
const de_UpdateAppVersionCommandError = async (output, context) => {
|
|
@@ -3678,10 +3529,9 @@ const de_UpdateAppVersionCommandError = async (output, context) => {
|
|
|
3678
3529
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3679
3530
|
default:
|
|
3680
3531
|
const parsedBody = parsedOutput.body;
|
|
3681
|
-
throwDefaultError({
|
|
3532
|
+
return throwDefaultError({
|
|
3682
3533
|
output,
|
|
3683
3534
|
parsedBody,
|
|
3684
|
-
exceptionCtor: __BaseException,
|
|
3685
3535
|
errorCode,
|
|
3686
3536
|
});
|
|
3687
3537
|
}
|
|
@@ -3694,15 +3544,12 @@ export const de_UpdateAppVersionAppComponentCommand = async (output, context) =>
|
|
|
3694
3544
|
$metadata: deserializeMetadata(output),
|
|
3695
3545
|
});
|
|
3696
3546
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
if (data.appVersion != null) {
|
|
3704
|
-
contents.appVersion = __expectString(data.appVersion);
|
|
3705
|
-
}
|
|
3547
|
+
const doc = take(data, {
|
|
3548
|
+
appArn: __expectString,
|
|
3549
|
+
appComponent: _json,
|
|
3550
|
+
appVersion: __expectString,
|
|
3551
|
+
});
|
|
3552
|
+
Object.assign(contents, doc);
|
|
3706
3553
|
return contents;
|
|
3707
3554
|
};
|
|
3708
3555
|
const de_UpdateAppVersionAppComponentCommandError = async (output, context) => {
|
|
@@ -3732,10 +3579,9 @@ const de_UpdateAppVersionAppComponentCommandError = async (output, context) => {
|
|
|
3732
3579
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3733
3580
|
default:
|
|
3734
3581
|
const parsedBody = parsedOutput.body;
|
|
3735
|
-
throwDefaultError({
|
|
3582
|
+
return throwDefaultError({
|
|
3736
3583
|
output,
|
|
3737
3584
|
parsedBody,
|
|
3738
|
-
exceptionCtor: __BaseException,
|
|
3739
3585
|
errorCode,
|
|
3740
3586
|
});
|
|
3741
3587
|
}
|
|
@@ -3748,15 +3594,12 @@ export const de_UpdateAppVersionResourceCommand = async (output, context) => {
|
|
|
3748
3594
|
$metadata: deserializeMetadata(output),
|
|
3749
3595
|
});
|
|
3750
3596
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
if (data.physicalResource != null) {
|
|
3758
|
-
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
3759
|
-
}
|
|
3597
|
+
const doc = take(data, {
|
|
3598
|
+
appArn: __expectString,
|
|
3599
|
+
appVersion: __expectString,
|
|
3600
|
+
physicalResource: _json,
|
|
3601
|
+
});
|
|
3602
|
+
Object.assign(contents, doc);
|
|
3760
3603
|
return contents;
|
|
3761
3604
|
};
|
|
3762
3605
|
const de_UpdateAppVersionResourceCommandError = async (output, context) => {
|
|
@@ -3789,10 +3632,9 @@ const de_UpdateAppVersionResourceCommandError = async (output, context) => {
|
|
|
3789
3632
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3790
3633
|
default:
|
|
3791
3634
|
const parsedBody = parsedOutput.body;
|
|
3792
|
-
throwDefaultError({
|
|
3635
|
+
return throwDefaultError({
|
|
3793
3636
|
output,
|
|
3794
3637
|
parsedBody,
|
|
3795
|
-
exceptionCtor: __BaseException,
|
|
3796
3638
|
errorCode,
|
|
3797
3639
|
});
|
|
3798
3640
|
}
|
|
@@ -3805,9 +3647,10 @@ export const de_UpdateResiliencyPolicyCommand = async (output, context) => {
|
|
|
3805
3647
|
$metadata: deserializeMetadata(output),
|
|
3806
3648
|
});
|
|
3807
3649
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
}
|
|
3650
|
+
const doc = take(data, {
|
|
3651
|
+
policy: (_) => de_ResiliencyPolicy(_, context),
|
|
3652
|
+
});
|
|
3653
|
+
Object.assign(contents, doc);
|
|
3811
3654
|
return contents;
|
|
3812
3655
|
};
|
|
3813
3656
|
const de_UpdateResiliencyPolicyCommandError = async (output, context) => {
|
|
@@ -3837,21 +3680,21 @@ const de_UpdateResiliencyPolicyCommandError = async (output, context) => {
|
|
|
3837
3680
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3838
3681
|
default:
|
|
3839
3682
|
const parsedBody = parsedOutput.body;
|
|
3840
|
-
throwDefaultError({
|
|
3683
|
+
return throwDefaultError({
|
|
3841
3684
|
output,
|
|
3842
3685
|
parsedBody,
|
|
3843
|
-
exceptionCtor: __BaseException,
|
|
3844
3686
|
errorCode,
|
|
3845
3687
|
});
|
|
3846
3688
|
}
|
|
3847
3689
|
};
|
|
3848
|
-
const
|
|
3690
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3849
3691
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3850
3692
|
const contents = map({});
|
|
3851
3693
|
const data = parsedOutput.body;
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
}
|
|
3694
|
+
const doc = take(data, {
|
|
3695
|
+
message: __expectString,
|
|
3696
|
+
});
|
|
3697
|
+
Object.assign(contents, doc);
|
|
3855
3698
|
const exception = new AccessDeniedException({
|
|
3856
3699
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3857
3700
|
...contents,
|
|
@@ -3861,15 +3704,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3861
3704
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3862
3705
|
const contents = map({});
|
|
3863
3706
|
const data = parsedOutput.body;
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
if (data.resourceType != null) {
|
|
3871
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
3872
|
-
}
|
|
3707
|
+
const doc = take(data, {
|
|
3708
|
+
message: __expectString,
|
|
3709
|
+
resourceId: __expectString,
|
|
3710
|
+
resourceType: __expectString,
|
|
3711
|
+
});
|
|
3712
|
+
Object.assign(contents, doc);
|
|
3873
3713
|
const exception = new ConflictException({
|
|
3874
3714
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3875
3715
|
...contents,
|
|
@@ -3879,9 +3719,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3879
3719
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3880
3720
|
const contents = map({});
|
|
3881
3721
|
const data = parsedOutput.body;
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
}
|
|
3722
|
+
const doc = take(data, {
|
|
3723
|
+
message: __expectString,
|
|
3724
|
+
});
|
|
3725
|
+
Object.assign(contents, doc);
|
|
3885
3726
|
const exception = new InternalServerException({
|
|
3886
3727
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3887
3728
|
...contents,
|
|
@@ -3891,15 +3732,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
3891
3732
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3892
3733
|
const contents = map({});
|
|
3893
3734
|
const data = parsedOutput.body;
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
if (data.resourceType != null) {
|
|
3901
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
3902
|
-
}
|
|
3735
|
+
const doc = take(data, {
|
|
3736
|
+
message: __expectString,
|
|
3737
|
+
resourceId: __expectString,
|
|
3738
|
+
resourceType: __expectString,
|
|
3739
|
+
});
|
|
3740
|
+
Object.assign(contents, doc);
|
|
3903
3741
|
const exception = new ResourceNotFoundException({
|
|
3904
3742
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3905
3743
|
...contents,
|
|
@@ -3909,9 +3747,10 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3909
3747
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3910
3748
|
const contents = map({});
|
|
3911
3749
|
const data = parsedOutput.body;
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
}
|
|
3750
|
+
const doc = take(data, {
|
|
3751
|
+
message: __expectString,
|
|
3752
|
+
});
|
|
3753
|
+
Object.assign(contents, doc);
|
|
3915
3754
|
const exception = new ServiceQuotaExceededException({
|
|
3916
3755
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3917
3756
|
...contents,
|
|
@@ -3921,12 +3760,11 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3921
3760
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3922
3761
|
const contents = map({});
|
|
3923
3762
|
const data = parsedOutput.body;
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
}
|
|
3763
|
+
const doc = take(data, {
|
|
3764
|
+
message: __expectString,
|
|
3765
|
+
retryAfterSeconds: __expectInt32,
|
|
3766
|
+
});
|
|
3767
|
+
Object.assign(contents, doc);
|
|
3930
3768
|
const exception = new ThrottlingException({
|
|
3931
3769
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3932
3770
|
...contents,
|
|
@@ -3936,498 +3774,157 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
3936
3774
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3937
3775
|
const contents = map({});
|
|
3938
3776
|
const data = parsedOutput.body;
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
}
|
|
3777
|
+
const doc = take(data, {
|
|
3778
|
+
message: __expectString,
|
|
3779
|
+
});
|
|
3780
|
+
Object.assign(contents, doc);
|
|
3942
3781
|
const exception = new ValidationException({
|
|
3943
3782
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3944
3783
|
...contents,
|
|
3945
3784
|
});
|
|
3946
3785
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3947
3786
|
};
|
|
3948
|
-
const
|
|
3949
|
-
return
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3787
|
+
const de_App = (output, context) => {
|
|
3788
|
+
return take(output, {
|
|
3789
|
+
appArn: __expectString,
|
|
3790
|
+
assessmentSchedule: __expectString,
|
|
3791
|
+
complianceStatus: __expectString,
|
|
3792
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3793
|
+
description: __expectString,
|
|
3794
|
+
lastAppComplianceEvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3795
|
+
lastResiliencyScoreEvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3796
|
+
name: __expectString,
|
|
3797
|
+
policyArn: __expectString,
|
|
3798
|
+
resiliencyScore: __limitedParseDouble,
|
|
3799
|
+
status: __expectString,
|
|
3800
|
+
tags: _json,
|
|
3801
|
+
});
|
|
3956
3802
|
};
|
|
3957
|
-
const
|
|
3958
|
-
return
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3803
|
+
const de_AppAssessment = (output, context) => {
|
|
3804
|
+
return take(output, {
|
|
3805
|
+
appArn: __expectString,
|
|
3806
|
+
appVersion: __expectString,
|
|
3807
|
+
assessmentArn: __expectString,
|
|
3808
|
+
assessmentName: __expectString,
|
|
3809
|
+
assessmentStatus: __expectString,
|
|
3810
|
+
compliance: _json,
|
|
3811
|
+
complianceStatus: __expectString,
|
|
3812
|
+
cost: (_) => de_Cost(_, context),
|
|
3813
|
+
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3814
|
+
invoker: __expectString,
|
|
3815
|
+
message: __expectString,
|
|
3816
|
+
policy: (_) => de_ResiliencyPolicy(_, context),
|
|
3817
|
+
resiliencyScore: (_) => de_ResiliencyScore(_, context),
|
|
3818
|
+
resourceErrorsDetails: _json,
|
|
3819
|
+
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3820
|
+
tags: _json,
|
|
3962
3821
|
});
|
|
3963
3822
|
};
|
|
3964
|
-
const
|
|
3965
|
-
return
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3823
|
+
const de_AppAssessmentSummary = (output, context) => {
|
|
3824
|
+
return take(output, {
|
|
3825
|
+
appArn: __expectString,
|
|
3826
|
+
appVersion: __expectString,
|
|
3827
|
+
assessmentArn: __expectString,
|
|
3828
|
+
assessmentName: __expectString,
|
|
3829
|
+
assessmentStatus: __expectString,
|
|
3830
|
+
complianceStatus: __expectString,
|
|
3831
|
+
cost: (_) => de_Cost(_, context),
|
|
3832
|
+
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3833
|
+
invoker: __expectString,
|
|
3834
|
+
message: __expectString,
|
|
3835
|
+
resiliencyScore: __limitedParseDouble,
|
|
3836
|
+
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3969
3837
|
});
|
|
3970
3838
|
};
|
|
3971
|
-
const
|
|
3972
|
-
|
|
3839
|
+
const de_AppAssessmentSummaryList = (output, context) => {
|
|
3840
|
+
const retVal = (output || [])
|
|
3973
3841
|
.filter((e) => e != null)
|
|
3974
3842
|
.map((entry) => {
|
|
3975
|
-
return entry;
|
|
3843
|
+
return de_AppAssessmentSummary(entry, context);
|
|
3976
3844
|
});
|
|
3845
|
+
return retVal;
|
|
3977
3846
|
};
|
|
3978
|
-
const
|
|
3979
|
-
return
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
};
|
|
3987
|
-
const se_EksNamespaceList = (input, context) => {
|
|
3988
|
-
return input
|
|
3989
|
-
.filter((e) => e != null)
|
|
3990
|
-
.map((entry) => {
|
|
3991
|
-
return entry;
|
|
3847
|
+
const de_AppComponentCompliance = (output, context) => {
|
|
3848
|
+
return take(output, {
|
|
3849
|
+
appComponentName: __expectString,
|
|
3850
|
+
compliance: _json,
|
|
3851
|
+
cost: (_) => de_Cost(_, context),
|
|
3852
|
+
message: __expectString,
|
|
3853
|
+
resiliencyScore: (_) => de_ResiliencyScore(_, context),
|
|
3854
|
+
status: __expectString,
|
|
3992
3855
|
});
|
|
3993
3856
|
};
|
|
3994
|
-
const
|
|
3995
|
-
return {
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
};
|
|
4005
|
-
};
|
|
4006
|
-
const se_EksSourceList = (input, context) => {
|
|
4007
|
-
return input
|
|
4008
|
-
.filter((e) => e != null)
|
|
4009
|
-
.map((entry) => {
|
|
4010
|
-
return se_EksSource(entry, context);
|
|
4011
|
-
});
|
|
4012
|
-
};
|
|
4013
|
-
const se_EntityNameList = (input, context) => {
|
|
4014
|
-
return input
|
|
4015
|
-
.filter((e) => e != null)
|
|
4016
|
-
.map((entry) => {
|
|
4017
|
-
return entry;
|
|
4018
|
-
});
|
|
4019
|
-
};
|
|
4020
|
-
const se_FailurePolicy = (input, context) => {
|
|
4021
|
-
return {
|
|
4022
|
-
...(input.rpoInSecs != null && { rpoInSecs: input.rpoInSecs }),
|
|
4023
|
-
...(input.rtoInSecs != null && { rtoInSecs: input.rtoInSecs }),
|
|
4024
|
-
};
|
|
4025
|
-
};
|
|
4026
|
-
const se_LogicalResourceId = (input, context) => {
|
|
4027
|
-
return {
|
|
4028
|
-
...(input.eksSourceName != null && { eksSourceName: input.eksSourceName }),
|
|
4029
|
-
...(input.identifier != null && { identifier: input.identifier }),
|
|
4030
|
-
...(input.logicalStackName != null && { logicalStackName: input.logicalStackName }),
|
|
4031
|
-
...(input.resourceGroupName != null && { resourceGroupName: input.resourceGroupName }),
|
|
4032
|
-
...(input.terraformSourceName != null && { terraformSourceName: input.terraformSourceName }),
|
|
4033
|
-
};
|
|
4034
|
-
};
|
|
4035
|
-
const se_PhysicalResourceId = (input, context) => {
|
|
4036
|
-
return {
|
|
4037
|
-
...(input.awsAccountId != null && { awsAccountId: input.awsAccountId }),
|
|
4038
|
-
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
4039
|
-
...(input.identifier != null && { identifier: input.identifier }),
|
|
4040
|
-
...(input.type != null && { type: input.type }),
|
|
4041
|
-
};
|
|
4042
|
-
};
|
|
4043
|
-
const se_RecommendationIdList = (input, context) => {
|
|
4044
|
-
return input
|
|
4045
|
-
.filter((e) => e != null)
|
|
4046
|
-
.map((entry) => {
|
|
4047
|
-
return entry;
|
|
4048
|
-
});
|
|
4049
|
-
};
|
|
4050
|
-
const se_RenderRecommendationTypeList = (input, context) => {
|
|
4051
|
-
return input
|
|
4052
|
-
.filter((e) => e != null)
|
|
4053
|
-
.map((entry) => {
|
|
4054
|
-
return entry;
|
|
4055
|
-
});
|
|
4056
|
-
};
|
|
4057
|
-
const se_ResourceMapping = (input, context) => {
|
|
4058
|
-
return {
|
|
4059
|
-
...(input.appRegistryAppName != null && { appRegistryAppName: input.appRegistryAppName }),
|
|
4060
|
-
...(input.eksSourceName != null && { eksSourceName: input.eksSourceName }),
|
|
4061
|
-
...(input.logicalStackName != null && { logicalStackName: input.logicalStackName }),
|
|
4062
|
-
...(input.mappingType != null && { mappingType: input.mappingType }),
|
|
4063
|
-
...(input.physicalResourceId != null && {
|
|
4064
|
-
physicalResourceId: se_PhysicalResourceId(input.physicalResourceId, context),
|
|
4065
|
-
}),
|
|
4066
|
-
...(input.resourceGroupName != null && { resourceGroupName: input.resourceGroupName }),
|
|
4067
|
-
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
4068
|
-
...(input.terraformSourceName != null && { terraformSourceName: input.terraformSourceName }),
|
|
4069
|
-
};
|
|
4070
|
-
};
|
|
4071
|
-
const se_ResourceMappingList = (input, context) => {
|
|
4072
|
-
return input
|
|
4073
|
-
.filter((e) => e != null)
|
|
4074
|
-
.map((entry) => {
|
|
4075
|
-
return se_ResourceMapping(entry, context);
|
|
4076
|
-
});
|
|
4077
|
-
};
|
|
4078
|
-
const se_String255List = (input, context) => {
|
|
4079
|
-
return input
|
|
4080
|
-
.filter((e) => e != null)
|
|
4081
|
-
.map((entry) => {
|
|
4082
|
-
return entry;
|
|
4083
|
-
});
|
|
4084
|
-
};
|
|
4085
|
-
const se_TagMap = (input, context) => {
|
|
4086
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
4087
|
-
if (value === null) {
|
|
4088
|
-
return acc;
|
|
4089
|
-
}
|
|
4090
|
-
acc[key] = value;
|
|
4091
|
-
return acc;
|
|
4092
|
-
}, {});
|
|
4093
|
-
};
|
|
4094
|
-
const se_TerraformSource = (input, context) => {
|
|
4095
|
-
return {
|
|
4096
|
-
...(input.s3StateFileUrl != null && { s3StateFileUrl: input.s3StateFileUrl }),
|
|
4097
|
-
};
|
|
4098
|
-
};
|
|
4099
|
-
const se_TerraformSourceList = (input, context) => {
|
|
4100
|
-
return input
|
|
4101
|
-
.filter((e) => e != null)
|
|
4102
|
-
.map((entry) => {
|
|
4103
|
-
return se_TerraformSource(entry, context);
|
|
4104
|
-
});
|
|
4105
|
-
};
|
|
4106
|
-
const de_AdditionalInfoMap = (output, context) => {
|
|
4107
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4108
|
-
if (value === null) {
|
|
4109
|
-
return acc;
|
|
4110
|
-
}
|
|
4111
|
-
acc[key] = de_AdditionalInfoValueList(value, context);
|
|
4112
|
-
return acc;
|
|
4113
|
-
}, {});
|
|
4114
|
-
};
|
|
4115
|
-
const de_AdditionalInfoValueList = (output, context) => {
|
|
4116
|
-
const retVal = (output || [])
|
|
4117
|
-
.filter((e) => e != null)
|
|
4118
|
-
.map((entry) => {
|
|
4119
|
-
if (entry === null) {
|
|
4120
|
-
return null;
|
|
4121
|
-
}
|
|
4122
|
-
return __expectString(entry);
|
|
4123
|
-
});
|
|
4124
|
-
return retVal;
|
|
4125
|
-
};
|
|
4126
|
-
const de_AlarmRecommendation = (output, context) => {
|
|
4127
|
-
return {
|
|
4128
|
-
appComponentName: __expectString(output.appComponentName),
|
|
4129
|
-
description: __expectString(output.description),
|
|
4130
|
-
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4131
|
-
name: __expectString(output.name),
|
|
4132
|
-
prerequisite: __expectString(output.prerequisite),
|
|
4133
|
-
recommendationId: __expectString(output.recommendationId),
|
|
4134
|
-
referenceId: __expectString(output.referenceId),
|
|
4135
|
-
type: __expectString(output.type),
|
|
4136
|
-
};
|
|
4137
|
-
};
|
|
4138
|
-
const de_AlarmRecommendationList = (output, context) => {
|
|
4139
|
-
const retVal = (output || [])
|
|
4140
|
-
.filter((e) => e != null)
|
|
4141
|
-
.map((entry) => {
|
|
4142
|
-
if (entry === null) {
|
|
4143
|
-
return null;
|
|
4144
|
-
}
|
|
4145
|
-
return de_AlarmRecommendation(entry, context);
|
|
4146
|
-
});
|
|
4147
|
-
return retVal;
|
|
4148
|
-
};
|
|
4149
|
-
const de_AlarmReferenceIdList = (output, context) => {
|
|
4150
|
-
const retVal = (output || [])
|
|
4151
|
-
.filter((e) => e != null)
|
|
4152
|
-
.map((entry) => {
|
|
4153
|
-
if (entry === null) {
|
|
4154
|
-
return null;
|
|
4155
|
-
}
|
|
4156
|
-
return __expectString(entry);
|
|
4157
|
-
});
|
|
4158
|
-
return retVal;
|
|
4159
|
-
};
|
|
4160
|
-
const de_App = (output, context) => {
|
|
4161
|
-
return {
|
|
4162
|
-
appArn: __expectString(output.appArn),
|
|
4163
|
-
assessmentSchedule: __expectString(output.assessmentSchedule),
|
|
4164
|
-
complianceStatus: __expectString(output.complianceStatus),
|
|
4165
|
-
creationTime: output.creationTime != null
|
|
4166
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
4167
|
-
: undefined,
|
|
4168
|
-
description: __expectString(output.description),
|
|
4169
|
-
lastAppComplianceEvaluationTime: output.lastAppComplianceEvaluationTime != null
|
|
4170
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastAppComplianceEvaluationTime)))
|
|
4171
|
-
: undefined,
|
|
4172
|
-
lastResiliencyScoreEvaluationTime: output.lastResiliencyScoreEvaluationTime != null
|
|
4173
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastResiliencyScoreEvaluationTime)))
|
|
4174
|
-
: undefined,
|
|
4175
|
-
name: __expectString(output.name),
|
|
4176
|
-
policyArn: __expectString(output.policyArn),
|
|
4177
|
-
resiliencyScore: __limitedParseDouble(output.resiliencyScore),
|
|
4178
|
-
status: __expectString(output.status),
|
|
4179
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4180
|
-
};
|
|
4181
|
-
};
|
|
4182
|
-
const de_AppAssessment = (output, context) => {
|
|
4183
|
-
return {
|
|
4184
|
-
appArn: __expectString(output.appArn),
|
|
4185
|
-
appVersion: __expectString(output.appVersion),
|
|
4186
|
-
assessmentArn: __expectString(output.assessmentArn),
|
|
4187
|
-
assessmentName: __expectString(output.assessmentName),
|
|
4188
|
-
assessmentStatus: __expectString(output.assessmentStatus),
|
|
4189
|
-
compliance: output.compliance != null ? de_AssessmentCompliance(output.compliance, context) : undefined,
|
|
4190
|
-
complianceStatus: __expectString(output.complianceStatus),
|
|
4191
|
-
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4192
|
-
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
4193
|
-
invoker: __expectString(output.invoker),
|
|
4194
|
-
message: __expectString(output.message),
|
|
4195
|
-
policy: output.policy != null ? de_ResiliencyPolicy(output.policy, context) : undefined,
|
|
4196
|
-
resiliencyScore: output.resiliencyScore != null ? de_ResiliencyScore(output.resiliencyScore, context) : undefined,
|
|
4197
|
-
resourceErrorsDetails: output.resourceErrorsDetails != null
|
|
4198
|
-
? de_ResourceErrorsDetails(output.resourceErrorsDetails, context)
|
|
4199
|
-
: undefined,
|
|
4200
|
-
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4201
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4202
|
-
};
|
|
4203
|
-
};
|
|
4204
|
-
const de_AppAssessmentSummary = (output, context) => {
|
|
4205
|
-
return {
|
|
4206
|
-
appArn: __expectString(output.appArn),
|
|
4207
|
-
appVersion: __expectString(output.appVersion),
|
|
4208
|
-
assessmentArn: __expectString(output.assessmentArn),
|
|
4209
|
-
assessmentName: __expectString(output.assessmentName),
|
|
4210
|
-
assessmentStatus: __expectString(output.assessmentStatus),
|
|
4211
|
-
complianceStatus: __expectString(output.complianceStatus),
|
|
4212
|
-
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4213
|
-
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
4214
|
-
invoker: __expectString(output.invoker),
|
|
4215
|
-
message: __expectString(output.message),
|
|
4216
|
-
resiliencyScore: __limitedParseDouble(output.resiliencyScore),
|
|
4217
|
-
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4218
|
-
};
|
|
4219
|
-
};
|
|
4220
|
-
const de_AppAssessmentSummaryList = (output, context) => {
|
|
4221
|
-
const retVal = (output || [])
|
|
4222
|
-
.filter((e) => e != null)
|
|
4223
|
-
.map((entry) => {
|
|
4224
|
-
if (entry === null) {
|
|
4225
|
-
return null;
|
|
4226
|
-
}
|
|
4227
|
-
return de_AppAssessmentSummary(entry, context);
|
|
4228
|
-
});
|
|
4229
|
-
return retVal;
|
|
4230
|
-
};
|
|
4231
|
-
const de_AppComponent = (output, context) => {
|
|
4232
|
-
return {
|
|
4233
|
-
additionalInfo: output.additionalInfo != null ? de_AdditionalInfoMap(output.additionalInfo, context) : undefined,
|
|
4234
|
-
id: __expectString(output.id),
|
|
4235
|
-
name: __expectString(output.name),
|
|
4236
|
-
type: __expectString(output.type),
|
|
4237
|
-
};
|
|
4238
|
-
};
|
|
4239
|
-
const de_AppComponentCompliance = (output, context) => {
|
|
4240
|
-
return {
|
|
4241
|
-
appComponentName: __expectString(output.appComponentName),
|
|
4242
|
-
compliance: output.compliance != null ? de_AssessmentCompliance(output.compliance, context) : undefined,
|
|
4243
|
-
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4244
|
-
message: __expectString(output.message),
|
|
4245
|
-
resiliencyScore: output.resiliencyScore != null ? de_ResiliencyScore(output.resiliencyScore, context) : undefined,
|
|
4246
|
-
status: __expectString(output.status),
|
|
4247
|
-
};
|
|
4248
|
-
};
|
|
4249
|
-
const de_AppComponentList = (output, context) => {
|
|
4250
|
-
const retVal = (output || [])
|
|
4251
|
-
.filter((e) => e != null)
|
|
4252
|
-
.map((entry) => {
|
|
4253
|
-
if (entry === null) {
|
|
4254
|
-
return null;
|
|
4255
|
-
}
|
|
4256
|
-
return de_AppComponent(entry, context);
|
|
4257
|
-
});
|
|
4258
|
-
return retVal;
|
|
4259
|
-
};
|
|
4260
|
-
const de_AppInputSource = (output, context) => {
|
|
4261
|
-
return {
|
|
4262
|
-
eksSourceClusterNamespace: output.eksSourceClusterNamespace != null
|
|
4263
|
-
? de_EksSourceClusterNamespace(output.eksSourceClusterNamespace, context)
|
|
4264
|
-
: undefined,
|
|
4265
|
-
importType: __expectString(output.importType),
|
|
4266
|
-
resourceCount: __expectInt32(output.resourceCount),
|
|
4267
|
-
sourceArn: __expectString(output.sourceArn),
|
|
4268
|
-
sourceName: __expectString(output.sourceName),
|
|
4269
|
-
terraformSource: output.terraformSource != null ? de_TerraformSource(output.terraformSource, context) : undefined,
|
|
4270
|
-
};
|
|
4271
|
-
};
|
|
4272
|
-
const de_AppInputSourceList = (output, context) => {
|
|
4273
|
-
const retVal = (output || [])
|
|
4274
|
-
.filter((e) => e != null)
|
|
4275
|
-
.map((entry) => {
|
|
4276
|
-
if (entry === null) {
|
|
4277
|
-
return null;
|
|
4278
|
-
}
|
|
4279
|
-
return de_AppInputSource(entry, context);
|
|
4280
|
-
});
|
|
4281
|
-
return retVal;
|
|
4282
|
-
};
|
|
4283
|
-
const de_AppSummary = (output, context) => {
|
|
4284
|
-
return {
|
|
4285
|
-
appArn: __expectString(output.appArn),
|
|
4286
|
-
assessmentSchedule: __expectString(output.assessmentSchedule),
|
|
4287
|
-
complianceStatus: __expectString(output.complianceStatus),
|
|
4288
|
-
creationTime: output.creationTime != null
|
|
4289
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
4290
|
-
: undefined,
|
|
4291
|
-
description: __expectString(output.description),
|
|
4292
|
-
name: __expectString(output.name),
|
|
4293
|
-
resiliencyScore: __limitedParseDouble(output.resiliencyScore),
|
|
4294
|
-
status: __expectString(output.status),
|
|
4295
|
-
};
|
|
3857
|
+
const de_AppSummary = (output, context) => {
|
|
3858
|
+
return take(output, {
|
|
3859
|
+
appArn: __expectString,
|
|
3860
|
+
assessmentSchedule: __expectString,
|
|
3861
|
+
complianceStatus: __expectString,
|
|
3862
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3863
|
+
description: __expectString,
|
|
3864
|
+
name: __expectString,
|
|
3865
|
+
resiliencyScore: __limitedParseDouble,
|
|
3866
|
+
status: __expectString,
|
|
3867
|
+
});
|
|
4296
3868
|
};
|
|
4297
3869
|
const de_AppSummaryList = (output, context) => {
|
|
4298
3870
|
const retVal = (output || [])
|
|
4299
3871
|
.filter((e) => e != null)
|
|
4300
3872
|
.map((entry) => {
|
|
4301
|
-
if (entry === null) {
|
|
4302
|
-
return null;
|
|
4303
|
-
}
|
|
4304
3873
|
return de_AppSummary(entry, context);
|
|
4305
3874
|
});
|
|
4306
3875
|
return retVal;
|
|
4307
3876
|
};
|
|
4308
|
-
const de_AppVersionList = (output, context) => {
|
|
4309
|
-
const retVal = (output || [])
|
|
4310
|
-
.filter((e) => e != null)
|
|
4311
|
-
.map((entry) => {
|
|
4312
|
-
if (entry === null) {
|
|
4313
|
-
return null;
|
|
4314
|
-
}
|
|
4315
|
-
return de_AppVersionSummary(entry, context);
|
|
4316
|
-
});
|
|
4317
|
-
return retVal;
|
|
4318
|
-
};
|
|
4319
|
-
const de_AppVersionSummary = (output, context) => {
|
|
4320
|
-
return {
|
|
4321
|
-
appVersion: __expectString(output.appVersion),
|
|
4322
|
-
};
|
|
4323
|
-
};
|
|
4324
|
-
const de_ArnList = (output, context) => {
|
|
4325
|
-
const retVal = (output || [])
|
|
4326
|
-
.filter((e) => e != null)
|
|
4327
|
-
.map((entry) => {
|
|
4328
|
-
if (entry === null) {
|
|
4329
|
-
return null;
|
|
4330
|
-
}
|
|
4331
|
-
return __expectString(entry);
|
|
4332
|
-
});
|
|
4333
|
-
return retVal;
|
|
4334
|
-
};
|
|
4335
|
-
const de_AssessmentCompliance = (output, context) => {
|
|
4336
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4337
|
-
if (value === null) {
|
|
4338
|
-
return acc;
|
|
4339
|
-
}
|
|
4340
|
-
acc[key] = de_DisruptionCompliance(value, context);
|
|
4341
|
-
return acc;
|
|
4342
|
-
}, {});
|
|
4343
|
-
};
|
|
4344
3877
|
const de_ComponentCompliancesList = (output, context) => {
|
|
4345
3878
|
const retVal = (output || [])
|
|
4346
3879
|
.filter((e) => e != null)
|
|
4347
3880
|
.map((entry) => {
|
|
4348
|
-
if (entry === null) {
|
|
4349
|
-
return null;
|
|
4350
|
-
}
|
|
4351
3881
|
return de_AppComponentCompliance(entry, context);
|
|
4352
3882
|
});
|
|
4353
3883
|
return retVal;
|
|
4354
3884
|
};
|
|
4355
3885
|
const de_ComponentRecommendation = (output, context) => {
|
|
4356
|
-
return {
|
|
4357
|
-
appComponentName: __expectString
|
|
4358
|
-
configRecommendations:
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
recommendationStatus: __expectString(output.recommendationStatus),
|
|
4362
|
-
};
|
|
3886
|
+
return take(output, {
|
|
3887
|
+
appComponentName: __expectString,
|
|
3888
|
+
configRecommendations: (_) => de_ConfigRecommendationList(_, context),
|
|
3889
|
+
recommendationStatus: __expectString,
|
|
3890
|
+
});
|
|
4363
3891
|
};
|
|
4364
3892
|
const de_ComponentRecommendationList = (output, context) => {
|
|
4365
3893
|
const retVal = (output || [])
|
|
4366
3894
|
.filter((e) => e != null)
|
|
4367
3895
|
.map((entry) => {
|
|
4368
|
-
if (entry === null) {
|
|
4369
|
-
return null;
|
|
4370
|
-
}
|
|
4371
3896
|
return de_ComponentRecommendation(entry, context);
|
|
4372
3897
|
});
|
|
4373
3898
|
return retVal;
|
|
4374
3899
|
};
|
|
4375
3900
|
const de_ConfigRecommendation = (output, context) => {
|
|
4376
|
-
return {
|
|
4377
|
-
appComponentName: __expectString
|
|
4378
|
-
compliance:
|
|
4379
|
-
cost:
|
|
4380
|
-
description: __expectString
|
|
4381
|
-
haArchitecture: __expectString
|
|
4382
|
-
name: __expectString
|
|
4383
|
-
optimizationType: __expectString
|
|
4384
|
-
recommendationCompliance:
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
suggestedChanges: output.suggestedChanges != null ? de_SuggestedChangesList(output.suggestedChanges, context) : undefined,
|
|
4389
|
-
};
|
|
3901
|
+
return take(output, {
|
|
3902
|
+
appComponentName: __expectString,
|
|
3903
|
+
compliance: _json,
|
|
3904
|
+
cost: (_) => de_Cost(_, context),
|
|
3905
|
+
description: __expectString,
|
|
3906
|
+
haArchitecture: __expectString,
|
|
3907
|
+
name: __expectString,
|
|
3908
|
+
optimizationType: __expectString,
|
|
3909
|
+
recommendationCompliance: _json,
|
|
3910
|
+
referenceId: __expectString,
|
|
3911
|
+
suggestedChanges: _json,
|
|
3912
|
+
});
|
|
4390
3913
|
};
|
|
4391
3914
|
const de_ConfigRecommendationList = (output, context) => {
|
|
4392
3915
|
const retVal = (output || [])
|
|
4393
3916
|
.filter((e) => e != null)
|
|
4394
3917
|
.map((entry) => {
|
|
4395
|
-
if (entry === null) {
|
|
4396
|
-
return null;
|
|
4397
|
-
}
|
|
4398
3918
|
return de_ConfigRecommendation(entry, context);
|
|
4399
3919
|
});
|
|
4400
3920
|
return retVal;
|
|
4401
3921
|
};
|
|
4402
3922
|
const de_Cost = (output, context) => {
|
|
4403
|
-
return {
|
|
4404
|
-
amount: __limitedParseDouble
|
|
4405
|
-
currency: __expectString
|
|
4406
|
-
frequency: __expectString
|
|
4407
|
-
};
|
|
4408
|
-
};
|
|
4409
|
-
const de_DisruptionCompliance = (output, context) => {
|
|
4410
|
-
return {
|
|
4411
|
-
achievableRpoInSecs: __expectInt32(output.achievableRpoInSecs),
|
|
4412
|
-
achievableRtoInSecs: __expectInt32(output.achievableRtoInSecs),
|
|
4413
|
-
complianceStatus: __expectString(output.complianceStatus),
|
|
4414
|
-
currentRpoInSecs: __expectInt32(output.currentRpoInSecs),
|
|
4415
|
-
currentRtoInSecs: __expectInt32(output.currentRtoInSecs),
|
|
4416
|
-
message: __expectString(output.message),
|
|
4417
|
-
rpoDescription: __expectString(output.rpoDescription),
|
|
4418
|
-
rpoReferenceId: __expectString(output.rpoReferenceId),
|
|
4419
|
-
rtoDescription: __expectString(output.rtoDescription),
|
|
4420
|
-
rtoReferenceId: __expectString(output.rtoReferenceId),
|
|
4421
|
-
};
|
|
4422
|
-
};
|
|
4423
|
-
const de_DisruptionPolicy = (output, context) => {
|
|
4424
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4425
|
-
if (value === null) {
|
|
4426
|
-
return acc;
|
|
4427
|
-
}
|
|
4428
|
-
acc[key] = de_FailurePolicy(value, context);
|
|
4429
|
-
return acc;
|
|
4430
|
-
}, {});
|
|
3923
|
+
return take(output, {
|
|
3924
|
+
amount: __limitedParseDouble,
|
|
3925
|
+
currency: __expectString,
|
|
3926
|
+
frequency: __expectString,
|
|
3927
|
+
});
|
|
4431
3928
|
};
|
|
4432
3929
|
const de_DisruptionResiliencyScore = (output, context) => {
|
|
4433
3930
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -4438,363 +3935,58 @@ const de_DisruptionResiliencyScore = (output, context) => {
|
|
|
4438
3935
|
return acc;
|
|
4439
3936
|
}, {});
|
|
4440
3937
|
};
|
|
4441
|
-
const de_EksNamespaceList = (output, context) => {
|
|
4442
|
-
const retVal = (output || [])
|
|
4443
|
-
.filter((e) => e != null)
|
|
4444
|
-
.map((entry) => {
|
|
4445
|
-
if (entry === null) {
|
|
4446
|
-
return null;
|
|
4447
|
-
}
|
|
4448
|
-
return __expectString(entry);
|
|
4449
|
-
});
|
|
4450
|
-
return retVal;
|
|
4451
|
-
};
|
|
4452
|
-
const de_EksSource = (output, context) => {
|
|
4453
|
-
return {
|
|
4454
|
-
eksClusterArn: __expectString(output.eksClusterArn),
|
|
4455
|
-
namespaces: output.namespaces != null ? de_EksNamespaceList(output.namespaces, context) : undefined,
|
|
4456
|
-
};
|
|
4457
|
-
};
|
|
4458
|
-
const de_EksSourceClusterNamespace = (output, context) => {
|
|
4459
|
-
return {
|
|
4460
|
-
eksClusterArn: __expectString(output.eksClusterArn),
|
|
4461
|
-
namespace: __expectString(output.namespace),
|
|
4462
|
-
};
|
|
4463
|
-
};
|
|
4464
|
-
const de_EksSourceList = (output, context) => {
|
|
4465
|
-
const retVal = (output || [])
|
|
4466
|
-
.filter((e) => e != null)
|
|
4467
|
-
.map((entry) => {
|
|
4468
|
-
if (entry === null) {
|
|
4469
|
-
return null;
|
|
4470
|
-
}
|
|
4471
|
-
return de_EksSource(entry, context);
|
|
4472
|
-
});
|
|
4473
|
-
return retVal;
|
|
4474
|
-
};
|
|
4475
|
-
const de_FailurePolicy = (output, context) => {
|
|
4476
|
-
return {
|
|
4477
|
-
rpoInSecs: __expectInt32(output.rpoInSecs),
|
|
4478
|
-
rtoInSecs: __expectInt32(output.rtoInSecs),
|
|
4479
|
-
};
|
|
4480
|
-
};
|
|
4481
|
-
const de_LogicalResourceId = (output, context) => {
|
|
4482
|
-
return {
|
|
4483
|
-
eksSourceName: __expectString(output.eksSourceName),
|
|
4484
|
-
identifier: __expectString(output.identifier),
|
|
4485
|
-
logicalStackName: __expectString(output.logicalStackName),
|
|
4486
|
-
resourceGroupName: __expectString(output.resourceGroupName),
|
|
4487
|
-
terraformSourceName: __expectString(output.terraformSourceName),
|
|
4488
|
-
};
|
|
4489
|
-
};
|
|
4490
|
-
const de_PhysicalResource = (output, context) => {
|
|
4491
|
-
return {
|
|
4492
|
-
additionalInfo: output.additionalInfo != null ? de_AdditionalInfoMap(output.additionalInfo, context) : undefined,
|
|
4493
|
-
appComponents: output.appComponents != null ? de_AppComponentList(output.appComponents, context) : undefined,
|
|
4494
|
-
excluded: __expectBoolean(output.excluded),
|
|
4495
|
-
logicalResourceId: output.logicalResourceId != null ? de_LogicalResourceId(output.logicalResourceId, context) : undefined,
|
|
4496
|
-
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4497
|
-
resourceName: __expectString(output.resourceName),
|
|
4498
|
-
resourceType: __expectString(output.resourceType),
|
|
4499
|
-
};
|
|
4500
|
-
};
|
|
4501
|
-
const de_PhysicalResourceId = (output, context) => {
|
|
4502
|
-
return {
|
|
4503
|
-
awsAccountId: __expectString(output.awsAccountId),
|
|
4504
|
-
awsRegion: __expectString(output.awsRegion),
|
|
4505
|
-
identifier: __expectString(output.identifier),
|
|
4506
|
-
type: __expectString(output.type),
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
const de_PhysicalResourceList = (output, context) => {
|
|
4510
|
-
const retVal = (output || [])
|
|
4511
|
-
.filter((e) => e != null)
|
|
4512
|
-
.map((entry) => {
|
|
4513
|
-
if (entry === null) {
|
|
4514
|
-
return null;
|
|
4515
|
-
}
|
|
4516
|
-
return de_PhysicalResource(entry, context);
|
|
4517
|
-
});
|
|
4518
|
-
return retVal;
|
|
4519
|
-
};
|
|
4520
|
-
const de_RecommendationCompliance = (output, context) => {
|
|
4521
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4522
|
-
if (value === null) {
|
|
4523
|
-
return acc;
|
|
4524
|
-
}
|
|
4525
|
-
acc[key] = de_RecommendationDisruptionCompliance(value, context);
|
|
4526
|
-
return acc;
|
|
4527
|
-
}, {});
|
|
4528
|
-
};
|
|
4529
|
-
const de_RecommendationDisruptionCompliance = (output, context) => {
|
|
4530
|
-
return {
|
|
4531
|
-
expectedComplianceStatus: __expectString(output.expectedComplianceStatus),
|
|
4532
|
-
expectedRpoDescription: __expectString(output.expectedRpoDescription),
|
|
4533
|
-
expectedRpoInSecs: __expectInt32(output.expectedRpoInSecs),
|
|
4534
|
-
expectedRtoDescription: __expectString(output.expectedRtoDescription),
|
|
4535
|
-
expectedRtoInSecs: __expectInt32(output.expectedRtoInSecs),
|
|
4536
|
-
};
|
|
4537
|
-
};
|
|
4538
|
-
const de_RecommendationIdList = (output, context) => {
|
|
4539
|
-
const retVal = (output || [])
|
|
4540
|
-
.filter((e) => e != null)
|
|
4541
|
-
.map((entry) => {
|
|
4542
|
-
if (entry === null) {
|
|
4543
|
-
return null;
|
|
4544
|
-
}
|
|
4545
|
-
return __expectString(entry);
|
|
4546
|
-
});
|
|
4547
|
-
return retVal;
|
|
4548
|
-
};
|
|
4549
|
-
const de_RecommendationItem = (output, context) => {
|
|
4550
|
-
return {
|
|
4551
|
-
alreadyImplemented: __expectBoolean(output.alreadyImplemented),
|
|
4552
|
-
resourceId: __expectString(output.resourceId),
|
|
4553
|
-
targetAccountId: __expectString(output.targetAccountId),
|
|
4554
|
-
targetRegion: __expectString(output.targetRegion),
|
|
4555
|
-
};
|
|
4556
|
-
};
|
|
4557
|
-
const de_RecommendationItemList = (output, context) => {
|
|
4558
|
-
const retVal = (output || [])
|
|
4559
|
-
.filter((e) => e != null)
|
|
4560
|
-
.map((entry) => {
|
|
4561
|
-
if (entry === null) {
|
|
4562
|
-
return null;
|
|
4563
|
-
}
|
|
4564
|
-
return de_RecommendationItem(entry, context);
|
|
4565
|
-
});
|
|
4566
|
-
return retVal;
|
|
4567
|
-
};
|
|
4568
3938
|
const de_RecommendationTemplate = (output, context) => {
|
|
4569
|
-
return {
|
|
4570
|
-
appArn: __expectString
|
|
4571
|
-
assessmentArn: __expectString
|
|
4572
|
-
endTime:
|
|
4573
|
-
format: __expectString
|
|
4574
|
-
message: __expectString
|
|
4575
|
-
name: __expectString
|
|
4576
|
-
needsReplacements: __expectBoolean
|
|
4577
|
-
recommendationIds:
|
|
4578
|
-
recommendationTemplateArn: __expectString
|
|
4579
|
-
recommendationTypes:
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
templatesLocation: output.templatesLocation != null ? de_S3Location(output.templatesLocation, context) : undefined,
|
|
4586
|
-
};
|
|
3939
|
+
return take(output, {
|
|
3940
|
+
appArn: __expectString,
|
|
3941
|
+
assessmentArn: __expectString,
|
|
3942
|
+
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3943
|
+
format: __expectString,
|
|
3944
|
+
message: __expectString,
|
|
3945
|
+
name: __expectString,
|
|
3946
|
+
needsReplacements: __expectBoolean,
|
|
3947
|
+
recommendationIds: _json,
|
|
3948
|
+
recommendationTemplateArn: __expectString,
|
|
3949
|
+
recommendationTypes: _json,
|
|
3950
|
+
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3951
|
+
status: __expectString,
|
|
3952
|
+
tags: _json,
|
|
3953
|
+
templatesLocation: _json,
|
|
3954
|
+
});
|
|
4587
3955
|
};
|
|
4588
3956
|
const de_RecommendationTemplateList = (output, context) => {
|
|
4589
3957
|
const retVal = (output || [])
|
|
4590
3958
|
.filter((e) => e != null)
|
|
4591
3959
|
.map((entry) => {
|
|
4592
|
-
if (entry === null) {
|
|
4593
|
-
return null;
|
|
4594
|
-
}
|
|
4595
3960
|
return de_RecommendationTemplate(entry, context);
|
|
4596
3961
|
});
|
|
4597
3962
|
return retVal;
|
|
4598
3963
|
};
|
|
4599
|
-
const de_RenderRecommendationTypeList = (output, context) => {
|
|
4600
|
-
const retVal = (output || [])
|
|
4601
|
-
.filter((e) => e != null)
|
|
4602
|
-
.map((entry) => {
|
|
4603
|
-
if (entry === null) {
|
|
4604
|
-
return null;
|
|
4605
|
-
}
|
|
4606
|
-
return __expectString(entry);
|
|
4607
|
-
});
|
|
4608
|
-
return retVal;
|
|
4609
|
-
};
|
|
4610
3964
|
const de_ResiliencyPolicies = (output, context) => {
|
|
4611
3965
|
const retVal = (output || [])
|
|
4612
3966
|
.filter((e) => e != null)
|
|
4613
3967
|
.map((entry) => {
|
|
4614
|
-
if (entry === null) {
|
|
4615
|
-
return null;
|
|
4616
|
-
}
|
|
4617
3968
|
return de_ResiliencyPolicy(entry, context);
|
|
4618
3969
|
});
|
|
4619
3970
|
return retVal;
|
|
4620
3971
|
};
|
|
4621
3972
|
const de_ResiliencyPolicy = (output, context) => {
|
|
4622
|
-
return {
|
|
4623
|
-
creationTime:
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4633
|
-
tier: __expectString(output.tier),
|
|
4634
|
-
};
|
|
4635
|
-
};
|
|
4636
|
-
const de_ResiliencyScore = (output, context) => {
|
|
4637
|
-
return {
|
|
4638
|
-
disruptionScore: output.disruptionScore != null ? de_DisruptionResiliencyScore(output.disruptionScore, context) : undefined,
|
|
4639
|
-
score: __limitedParseDouble(output.score),
|
|
4640
|
-
};
|
|
4641
|
-
};
|
|
4642
|
-
const de_ResourceError = (output, context) => {
|
|
4643
|
-
return {
|
|
4644
|
-
logicalResourceId: __expectString(output.logicalResourceId),
|
|
4645
|
-
physicalResourceId: __expectString(output.physicalResourceId),
|
|
4646
|
-
reason: __expectString(output.reason),
|
|
4647
|
-
};
|
|
4648
|
-
};
|
|
4649
|
-
const de_ResourceErrorList = (output, context) => {
|
|
4650
|
-
const retVal = (output || [])
|
|
4651
|
-
.filter((e) => e != null)
|
|
4652
|
-
.map((entry) => {
|
|
4653
|
-
if (entry === null) {
|
|
4654
|
-
return null;
|
|
4655
|
-
}
|
|
4656
|
-
return de_ResourceError(entry, context);
|
|
4657
|
-
});
|
|
4658
|
-
return retVal;
|
|
4659
|
-
};
|
|
4660
|
-
const de_ResourceErrorsDetails = (output, context) => {
|
|
4661
|
-
return {
|
|
4662
|
-
hasMoreErrors: __expectBoolean(output.hasMoreErrors),
|
|
4663
|
-
resourceErrors: output.resourceErrors != null ? de_ResourceErrorList(output.resourceErrors, context) : undefined,
|
|
4664
|
-
};
|
|
4665
|
-
};
|
|
4666
|
-
const de_ResourceMapping = (output, context) => {
|
|
4667
|
-
return {
|
|
4668
|
-
appRegistryAppName: __expectString(output.appRegistryAppName),
|
|
4669
|
-
eksSourceName: __expectString(output.eksSourceName),
|
|
4670
|
-
logicalStackName: __expectString(output.logicalStackName),
|
|
4671
|
-
mappingType: __expectString(output.mappingType),
|
|
4672
|
-
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4673
|
-
resourceGroupName: __expectString(output.resourceGroupName),
|
|
4674
|
-
resourceName: __expectString(output.resourceName),
|
|
4675
|
-
terraformSourceName: __expectString(output.terraformSourceName),
|
|
4676
|
-
};
|
|
4677
|
-
};
|
|
4678
|
-
const de_ResourceMappingList = (output, context) => {
|
|
4679
|
-
const retVal = (output || [])
|
|
4680
|
-
.filter((e) => e != null)
|
|
4681
|
-
.map((entry) => {
|
|
4682
|
-
if (entry === null) {
|
|
4683
|
-
return null;
|
|
4684
|
-
}
|
|
4685
|
-
return de_ResourceMapping(entry, context);
|
|
3973
|
+
return take(output, {
|
|
3974
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3975
|
+
dataLocationConstraint: __expectString,
|
|
3976
|
+
estimatedCostTier: __expectString,
|
|
3977
|
+
policy: _json,
|
|
3978
|
+
policyArn: __expectString,
|
|
3979
|
+
policyDescription: __expectString,
|
|
3980
|
+
policyName: __expectString,
|
|
3981
|
+
tags: _json,
|
|
3982
|
+
tier: __expectString,
|
|
4686
3983
|
});
|
|
4687
|
-
return retVal;
|
|
4688
3984
|
};
|
|
4689
|
-
const
|
|
4690
|
-
return {
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
};
|
|
4694
|
-
};
|
|
4695
|
-
const de_SopRecommendation = (output, context) => {
|
|
4696
|
-
return {
|
|
4697
|
-
appComponentName: __expectString(output.appComponentName),
|
|
4698
|
-
description: __expectString(output.description),
|
|
4699
|
-
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4700
|
-
name: __expectString(output.name),
|
|
4701
|
-
prerequisite: __expectString(output.prerequisite),
|
|
4702
|
-
recommendationId: __expectString(output.recommendationId),
|
|
4703
|
-
referenceId: __expectString(output.referenceId),
|
|
4704
|
-
serviceType: __expectString(output.serviceType),
|
|
4705
|
-
};
|
|
4706
|
-
};
|
|
4707
|
-
const de_SopRecommendationList = (output, context) => {
|
|
4708
|
-
const retVal = (output || [])
|
|
4709
|
-
.filter((e) => e != null)
|
|
4710
|
-
.map((entry) => {
|
|
4711
|
-
if (entry === null) {
|
|
4712
|
-
return null;
|
|
4713
|
-
}
|
|
4714
|
-
return de_SopRecommendation(entry, context);
|
|
4715
|
-
});
|
|
4716
|
-
return retVal;
|
|
4717
|
-
};
|
|
4718
|
-
const de_SuggestedChangesList = (output, context) => {
|
|
4719
|
-
const retVal = (output || [])
|
|
4720
|
-
.filter((e) => e != null)
|
|
4721
|
-
.map((entry) => {
|
|
4722
|
-
if (entry === null) {
|
|
4723
|
-
return null;
|
|
4724
|
-
}
|
|
4725
|
-
return __expectString(entry);
|
|
4726
|
-
});
|
|
4727
|
-
return retVal;
|
|
4728
|
-
};
|
|
4729
|
-
const de_TagMap = (output, context) => {
|
|
4730
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4731
|
-
if (value === null) {
|
|
4732
|
-
return acc;
|
|
4733
|
-
}
|
|
4734
|
-
acc[key] = __expectString(value);
|
|
4735
|
-
return acc;
|
|
4736
|
-
}, {});
|
|
4737
|
-
};
|
|
4738
|
-
const de_TerraformSource = (output, context) => {
|
|
4739
|
-
return {
|
|
4740
|
-
s3StateFileUrl: __expectString(output.s3StateFileUrl),
|
|
4741
|
-
};
|
|
4742
|
-
};
|
|
4743
|
-
const de_TerraformSourceList = (output, context) => {
|
|
4744
|
-
const retVal = (output || [])
|
|
4745
|
-
.filter((e) => e != null)
|
|
4746
|
-
.map((entry) => {
|
|
4747
|
-
if (entry === null) {
|
|
4748
|
-
return null;
|
|
4749
|
-
}
|
|
4750
|
-
return de_TerraformSource(entry, context);
|
|
4751
|
-
});
|
|
4752
|
-
return retVal;
|
|
4753
|
-
};
|
|
4754
|
-
const de_TestRecommendation = (output, context) => {
|
|
4755
|
-
return {
|
|
4756
|
-
appComponentName: __expectString(output.appComponentName),
|
|
4757
|
-
dependsOnAlarms: output.dependsOnAlarms != null ? de_AlarmReferenceIdList(output.dependsOnAlarms, context) : undefined,
|
|
4758
|
-
description: __expectString(output.description),
|
|
4759
|
-
intent: __expectString(output.intent),
|
|
4760
|
-
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4761
|
-
name: __expectString(output.name),
|
|
4762
|
-
prerequisite: __expectString(output.prerequisite),
|
|
4763
|
-
recommendationId: __expectString(output.recommendationId),
|
|
4764
|
-
referenceId: __expectString(output.referenceId),
|
|
4765
|
-
risk: __expectString(output.risk),
|
|
4766
|
-
type: __expectString(output.type),
|
|
4767
|
-
};
|
|
4768
|
-
};
|
|
4769
|
-
const de_TestRecommendationList = (output, context) => {
|
|
4770
|
-
const retVal = (output || [])
|
|
4771
|
-
.filter((e) => e != null)
|
|
4772
|
-
.map((entry) => {
|
|
4773
|
-
if (entry === null) {
|
|
4774
|
-
return null;
|
|
4775
|
-
}
|
|
4776
|
-
return de_TestRecommendation(entry, context);
|
|
4777
|
-
});
|
|
4778
|
-
return retVal;
|
|
4779
|
-
};
|
|
4780
|
-
const de_UnsupportedResource = (output, context) => {
|
|
4781
|
-
return {
|
|
4782
|
-
logicalResourceId: output.logicalResourceId != null ? de_LogicalResourceId(output.logicalResourceId, context) : undefined,
|
|
4783
|
-
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4784
|
-
resourceType: __expectString(output.resourceType),
|
|
4785
|
-
unsupportedResourceStatus: __expectString(output.unsupportedResourceStatus),
|
|
4786
|
-
};
|
|
4787
|
-
};
|
|
4788
|
-
const de_UnsupportedResourceList = (output, context) => {
|
|
4789
|
-
const retVal = (output || [])
|
|
4790
|
-
.filter((e) => e != null)
|
|
4791
|
-
.map((entry) => {
|
|
4792
|
-
if (entry === null) {
|
|
4793
|
-
return null;
|
|
4794
|
-
}
|
|
4795
|
-
return de_UnsupportedResource(entry, context);
|
|
3985
|
+
const de_ResiliencyScore = (output, context) => {
|
|
3986
|
+
return take(output, {
|
|
3987
|
+
disruptionScore: (_) => de_DisruptionResiliencyScore(_, context),
|
|
3988
|
+
score: __limitedParseDouble,
|
|
4796
3989
|
});
|
|
4797
|
-
return retVal;
|
|
4798
3990
|
};
|
|
4799
3991
|
const deserializeMetadata = (output) => ({
|
|
4800
3992
|
httpStatusCode: output.statusCode,
|