@aws-sdk/client-resiliencehub 3.306.0 → 3.309.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/commands/AddDraftAppVersionResourceMappingsCommand.js +2 -2
- package/dist-cjs/commands/CreateAppCommand.js +2 -2
- package/dist-cjs/commands/CreateAppVersionAppComponentCommand.js +2 -2
- package/dist-cjs/commands/CreateAppVersionResourceCommand.js +2 -2
- package/dist-cjs/commands/CreateRecommendationTemplateCommand.js +2 -2
- package/dist-cjs/commands/CreateResiliencyPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteAppAssessmentCommand.js +2 -2
- package/dist-cjs/commands/DeleteAppCommand.js +2 -2
- package/dist-cjs/commands/DeleteAppInputSourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteAppVersionAppComponentCommand.js +2 -2
- package/dist-cjs/commands/DeleteAppVersionResourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteRecommendationTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteResiliencyPolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppAssessmentCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppVersionAppComponentCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppVersionCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppVersionResourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeAppVersionTemplateCommand.js +2 -2
- package/dist-cjs/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeResiliencyPolicyCommand.js +2 -2
- package/dist-cjs/commands/ImportResourcesToDraftAppVersionCommand.js +2 -2
- package/dist-cjs/commands/ListAlarmRecommendationsCommand.js +2 -2
- package/dist-cjs/commands/ListAppAssessmentsCommand.js +2 -2
- package/dist-cjs/commands/ListAppComponentCompliancesCommand.js +2 -2
- package/dist-cjs/commands/ListAppComponentRecommendationsCommand.js +2 -2
- package/dist-cjs/commands/ListAppInputSourcesCommand.js +2 -2
- package/dist-cjs/commands/ListAppVersionAppComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListAppVersionResourceMappingsCommand.js +2 -2
- package/dist-cjs/commands/ListAppVersionResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListAppVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListAppsCommand.js +2 -2
- package/dist-cjs/commands/ListRecommendationTemplatesCommand.js +2 -2
- package/dist-cjs/commands/ListResiliencyPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListSopRecommendationsCommand.js +2 -2
- package/dist-cjs/commands/ListSuggestedResiliencyPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTestRecommendationsCommand.js +2 -2
- package/dist-cjs/commands/ListUnsupportedAppVersionResourcesCommand.js +2 -2
- package/dist-cjs/commands/PublishAppVersionCommand.js +2 -2
- package/dist-cjs/commands/PutDraftAppVersionTemplateCommand.js +2 -2
- package/dist-cjs/commands/RemoveDraftAppVersionResourceMappingsCommand.js +2 -2
- package/dist-cjs/commands/ResolveAppVersionResourcesCommand.js +2 -2
- package/dist-cjs/commands/StartAppAssessmentCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAppCommand.js +2 -2
- package/dist-cjs/commands/UpdateAppVersionAppComponentCommand.js +2 -2
- package/dist-cjs/commands/UpdateAppVersionCommand.js +2 -2
- package/dist-cjs/commands/UpdateAppVersionResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateResiliencyPolicyCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +843 -899
- package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +3 -3
- package/dist-es/commands/CreateAppCommand.js +3 -3
- package/dist-es/commands/CreateAppVersionAppComponentCommand.js +3 -3
- package/dist-es/commands/CreateAppVersionResourceCommand.js +3 -3
- package/dist-es/commands/CreateRecommendationTemplateCommand.js +3 -3
- package/dist-es/commands/CreateResiliencyPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteAppAssessmentCommand.js +3 -3
- package/dist-es/commands/DeleteAppCommand.js +3 -3
- package/dist-es/commands/DeleteAppInputSourceCommand.js +3 -3
- package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +3 -3
- package/dist-es/commands/DeleteAppVersionResourceCommand.js +3 -3
- package/dist-es/commands/DeleteRecommendationTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteResiliencyPolicyCommand.js +3 -3
- package/dist-es/commands/DescribeAppAssessmentCommand.js +3 -3
- package/dist-es/commands/DescribeAppCommand.js +3 -3
- package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +3 -3
- package/dist-es/commands/DescribeAppVersionCommand.js +3 -3
- package/dist-es/commands/DescribeAppVersionResourceCommand.js +3 -3
- package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +3 -3
- package/dist-es/commands/DescribeAppVersionTemplateCommand.js +3 -3
- package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +3 -3
- package/dist-es/commands/DescribeResiliencyPolicyCommand.js +3 -3
- package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +3 -3
- package/dist-es/commands/ListAlarmRecommendationsCommand.js +3 -3
- package/dist-es/commands/ListAppAssessmentsCommand.js +3 -3
- package/dist-es/commands/ListAppComponentCompliancesCommand.js +3 -3
- package/dist-es/commands/ListAppComponentRecommendationsCommand.js +3 -3
- package/dist-es/commands/ListAppInputSourcesCommand.js +3 -3
- package/dist-es/commands/ListAppVersionAppComponentsCommand.js +3 -3
- package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +3 -3
- package/dist-es/commands/ListAppVersionResourcesCommand.js +3 -3
- package/dist-es/commands/ListAppVersionsCommand.js +3 -3
- package/dist-es/commands/ListAppsCommand.js +3 -3
- package/dist-es/commands/ListRecommendationTemplatesCommand.js +3 -3
- package/dist-es/commands/ListResiliencyPoliciesCommand.js +3 -3
- package/dist-es/commands/ListSopRecommendationsCommand.js +3 -3
- package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTestRecommendationsCommand.js +3 -3
- package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +3 -3
- package/dist-es/commands/PublishAppVersionCommand.js +3 -3
- package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +3 -3
- package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +3 -3
- package/dist-es/commands/ResolveAppVersionResourcesCommand.js +3 -3
- package/dist-es/commands/StartAppAssessmentCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAppCommand.js +3 -3
- package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +3 -3
- package/dist-es/commands/UpdateAppVersionCommand.js +3 -3
- package/dist-es/commands/UpdateAppVersionResourceCommand.js +3 -3
- package/dist-es/commands/UpdateResiliencyPolicyCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +736 -792
- package/dist-types/protocols/Aws_restJson1.d.ts +416 -104
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +104 -104
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
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";
|
|
6
|
-
export const
|
|
6
|
+
export const se_AddDraftAppVersionResourceMappingsCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
@@ -13,7 +13,7 @@ export const serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand = a
|
|
|
13
13
|
body = JSON.stringify({
|
|
14
14
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
15
15
|
...(input.resourceMappings != null && {
|
|
16
|
-
resourceMappings:
|
|
16
|
+
resourceMappings: se_ResourceMappingList(input.resourceMappings, context),
|
|
17
17
|
}),
|
|
18
18
|
});
|
|
19
19
|
return new __HttpRequest({
|
|
@@ -26,7 +26,7 @@ export const serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand = a
|
|
|
26
26
|
body,
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
-
export const
|
|
29
|
+
export const se_CreateAppCommand = async (input, context) => {
|
|
30
30
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
31
31
|
const headers = {
|
|
32
32
|
"content-type": "application/json",
|
|
@@ -39,7 +39,7 @@ export const serializeAws_restJson1CreateAppCommand = async (input, context) =>
|
|
|
39
39
|
...(input.description != null && { description: input.description }),
|
|
40
40
|
...(input.name != null && { name: input.name }),
|
|
41
41
|
...(input.policyArn != null && { policyArn: input.policyArn }),
|
|
42
|
-
...(input.tags != null && { tags:
|
|
42
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
43
43
|
});
|
|
44
44
|
return new __HttpRequest({
|
|
45
45
|
protocol,
|
|
@@ -51,7 +51,7 @@ export const serializeAws_restJson1CreateAppCommand = async (input, context) =>
|
|
|
51
51
|
body,
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
|
-
export const
|
|
54
|
+
export const se_CreateAppVersionAppComponentCommand = async (input, context) => {
|
|
55
55
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
56
56
|
const headers = {
|
|
57
57
|
"content-type": "application/json",
|
|
@@ -59,9 +59,7 @@ export const serializeAws_restJson1CreateAppVersionAppComponentCommand = async (
|
|
|
59
59
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app-version-app-component";
|
|
60
60
|
let body;
|
|
61
61
|
body = JSON.stringify({
|
|
62
|
-
...(input.additionalInfo != null && {
|
|
63
|
-
additionalInfo: serializeAws_restJson1AdditionalInfoMap(input.additionalInfo, context),
|
|
64
|
-
}),
|
|
62
|
+
...(input.additionalInfo != null && { additionalInfo: se_AdditionalInfoMap(input.additionalInfo, context) }),
|
|
65
63
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
66
64
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
67
65
|
...(input.id != null && { id: input.id }),
|
|
@@ -78,7 +76,7 @@ export const serializeAws_restJson1CreateAppVersionAppComponentCommand = async (
|
|
|
78
76
|
body,
|
|
79
77
|
});
|
|
80
78
|
};
|
|
81
|
-
export const
|
|
79
|
+
export const se_CreateAppVersionResourceCommand = async (input, context) => {
|
|
82
80
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
83
81
|
const headers = {
|
|
84
82
|
"content-type": "application/json",
|
|
@@ -86,18 +84,14 @@ export const serializeAws_restJson1CreateAppVersionResourceCommand = async (inpu
|
|
|
86
84
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app-version-resource";
|
|
87
85
|
let body;
|
|
88
86
|
body = JSON.stringify({
|
|
89
|
-
...(input.additionalInfo != null && {
|
|
90
|
-
additionalInfo: serializeAws_restJson1AdditionalInfoMap(input.additionalInfo, context),
|
|
91
|
-
}),
|
|
87
|
+
...(input.additionalInfo != null && { additionalInfo: se_AdditionalInfoMap(input.additionalInfo, context) }),
|
|
92
88
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
93
|
-
...(input.appComponents != null && {
|
|
94
|
-
appComponents: serializeAws_restJson1AppComponentNameList(input.appComponents, context),
|
|
95
|
-
}),
|
|
89
|
+
...(input.appComponents != null && { appComponents: se_AppComponentNameList(input.appComponents, context) }),
|
|
96
90
|
...(input.awsAccountId != null && { awsAccountId: input.awsAccountId }),
|
|
97
91
|
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
98
92
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
99
93
|
...(input.logicalResourceId != null && {
|
|
100
|
-
logicalResourceId:
|
|
94
|
+
logicalResourceId: se_LogicalResourceId(input.logicalResourceId, context),
|
|
101
95
|
}),
|
|
102
96
|
...(input.physicalResourceId != null && { physicalResourceId: input.physicalResourceId }),
|
|
103
97
|
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
@@ -113,7 +107,7 @@ export const serializeAws_restJson1CreateAppVersionResourceCommand = async (inpu
|
|
|
113
107
|
body,
|
|
114
108
|
});
|
|
115
109
|
};
|
|
116
|
-
export const
|
|
110
|
+
export const se_CreateRecommendationTemplateCommand = async (input, context) => {
|
|
117
111
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
118
112
|
const headers = {
|
|
119
113
|
"content-type": "application/json",
|
|
@@ -127,12 +121,12 @@ export const serializeAws_restJson1CreateRecommendationTemplateCommand = async (
|
|
|
127
121
|
...(input.format != null && { format: input.format }),
|
|
128
122
|
...(input.name != null && { name: input.name }),
|
|
129
123
|
...(input.recommendationIds != null && {
|
|
130
|
-
recommendationIds:
|
|
124
|
+
recommendationIds: se_RecommendationIdList(input.recommendationIds, context),
|
|
131
125
|
}),
|
|
132
126
|
...(input.recommendationTypes != null && {
|
|
133
|
-
recommendationTypes:
|
|
127
|
+
recommendationTypes: se_RenderRecommendationTypeList(input.recommendationTypes, context),
|
|
134
128
|
}),
|
|
135
|
-
...(input.tags != null && { tags:
|
|
129
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
136
130
|
});
|
|
137
131
|
return new __HttpRequest({
|
|
138
132
|
protocol,
|
|
@@ -144,7 +138,7 @@ export const serializeAws_restJson1CreateRecommendationTemplateCommand = async (
|
|
|
144
138
|
body,
|
|
145
139
|
});
|
|
146
140
|
};
|
|
147
|
-
export const
|
|
141
|
+
export const se_CreateResiliencyPolicyCommand = async (input, context) => {
|
|
148
142
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
149
143
|
const headers = {
|
|
150
144
|
"content-type": "application/json",
|
|
@@ -154,10 +148,10 @@ export const serializeAws_restJson1CreateResiliencyPolicyCommand = async (input,
|
|
|
154
148
|
body = JSON.stringify({
|
|
155
149
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
156
150
|
...(input.dataLocationConstraint != null && { dataLocationConstraint: input.dataLocationConstraint }),
|
|
157
|
-
...(input.policy != null && { policy:
|
|
151
|
+
...(input.policy != null && { policy: se_DisruptionPolicy(input.policy, context) }),
|
|
158
152
|
...(input.policyDescription != null && { policyDescription: input.policyDescription }),
|
|
159
153
|
...(input.policyName != null && { policyName: input.policyName }),
|
|
160
|
-
...(input.tags != null && { tags:
|
|
154
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
161
155
|
...(input.tier != null && { tier: input.tier }),
|
|
162
156
|
});
|
|
163
157
|
return new __HttpRequest({
|
|
@@ -170,7 +164,7 @@ export const serializeAws_restJson1CreateResiliencyPolicyCommand = async (input,
|
|
|
170
164
|
body,
|
|
171
165
|
});
|
|
172
166
|
};
|
|
173
|
-
export const
|
|
167
|
+
export const se_DeleteAppCommand = async (input, context) => {
|
|
174
168
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
175
169
|
const headers = {
|
|
176
170
|
"content-type": "application/json",
|
|
@@ -192,7 +186,7 @@ export const serializeAws_restJson1DeleteAppCommand = async (input, context) =>
|
|
|
192
186
|
body,
|
|
193
187
|
});
|
|
194
188
|
};
|
|
195
|
-
export const
|
|
189
|
+
export const se_DeleteAppAssessmentCommand = async (input, context) => {
|
|
196
190
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
197
191
|
const headers = {
|
|
198
192
|
"content-type": "application/json",
|
|
@@ -213,7 +207,7 @@ export const serializeAws_restJson1DeleteAppAssessmentCommand = async (input, co
|
|
|
213
207
|
body,
|
|
214
208
|
});
|
|
215
209
|
};
|
|
216
|
-
export const
|
|
210
|
+
export const se_DeleteAppInputSourceCommand = async (input, context) => {
|
|
217
211
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
218
212
|
const headers = {
|
|
219
213
|
"content-type": "application/json",
|
|
@@ -224,12 +218,10 @@ export const serializeAws_restJson1DeleteAppInputSourceCommand = async (input, c
|
|
|
224
218
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
225
219
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
226
220
|
...(input.eksSourceClusterNamespace != null && {
|
|
227
|
-
eksSourceClusterNamespace:
|
|
221
|
+
eksSourceClusterNamespace: se_EksSourceClusterNamespace(input.eksSourceClusterNamespace, context),
|
|
228
222
|
}),
|
|
229
223
|
...(input.sourceArn != null && { sourceArn: input.sourceArn }),
|
|
230
|
-
...(input.terraformSource != null && {
|
|
231
|
-
terraformSource: serializeAws_restJson1TerraformSource(input.terraformSource, context),
|
|
232
|
-
}),
|
|
224
|
+
...(input.terraformSource != null && { terraformSource: se_TerraformSource(input.terraformSource, context) }),
|
|
233
225
|
});
|
|
234
226
|
return new __HttpRequest({
|
|
235
227
|
protocol,
|
|
@@ -241,7 +233,7 @@ export const serializeAws_restJson1DeleteAppInputSourceCommand = async (input, c
|
|
|
241
233
|
body,
|
|
242
234
|
});
|
|
243
235
|
};
|
|
244
|
-
export const
|
|
236
|
+
export const se_DeleteAppVersionAppComponentCommand = async (input, context) => {
|
|
245
237
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
246
238
|
const headers = {
|
|
247
239
|
"content-type": "application/json",
|
|
@@ -263,7 +255,7 @@ export const serializeAws_restJson1DeleteAppVersionAppComponentCommand = async (
|
|
|
263
255
|
body,
|
|
264
256
|
});
|
|
265
257
|
};
|
|
266
|
-
export const
|
|
258
|
+
export const se_DeleteAppVersionResourceCommand = async (input, context) => {
|
|
267
259
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
268
260
|
const headers = {
|
|
269
261
|
"content-type": "application/json",
|
|
@@ -276,7 +268,7 @@ export const serializeAws_restJson1DeleteAppVersionResourceCommand = async (inpu
|
|
|
276
268
|
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
277
269
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
278
270
|
...(input.logicalResourceId != null && {
|
|
279
|
-
logicalResourceId:
|
|
271
|
+
logicalResourceId: se_LogicalResourceId(input.logicalResourceId, context),
|
|
280
272
|
}),
|
|
281
273
|
...(input.physicalResourceId != null && { physicalResourceId: input.physicalResourceId }),
|
|
282
274
|
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
@@ -291,7 +283,7 @@ export const serializeAws_restJson1DeleteAppVersionResourceCommand = async (inpu
|
|
|
291
283
|
body,
|
|
292
284
|
});
|
|
293
285
|
};
|
|
294
|
-
export const
|
|
286
|
+
export const se_DeleteRecommendationTemplateCommand = async (input, context) => {
|
|
295
287
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
296
288
|
const headers = {
|
|
297
289
|
"content-type": "application/json",
|
|
@@ -312,7 +304,7 @@ export const serializeAws_restJson1DeleteRecommendationTemplateCommand = async (
|
|
|
312
304
|
body,
|
|
313
305
|
});
|
|
314
306
|
};
|
|
315
|
-
export const
|
|
307
|
+
export const se_DeleteResiliencyPolicyCommand = async (input, context) => {
|
|
316
308
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
317
309
|
const headers = {
|
|
318
310
|
"content-type": "application/json",
|
|
@@ -333,7 +325,7 @@ export const serializeAws_restJson1DeleteResiliencyPolicyCommand = async (input,
|
|
|
333
325
|
body,
|
|
334
326
|
});
|
|
335
327
|
};
|
|
336
|
-
export const
|
|
328
|
+
export const se_DescribeAppCommand = async (input, context) => {
|
|
337
329
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
338
330
|
const headers = {
|
|
339
331
|
"content-type": "application/json",
|
|
@@ -353,7 +345,7 @@ export const serializeAws_restJson1DescribeAppCommand = async (input, context) =
|
|
|
353
345
|
body,
|
|
354
346
|
});
|
|
355
347
|
};
|
|
356
|
-
export const
|
|
348
|
+
export const se_DescribeAppAssessmentCommand = async (input, context) => {
|
|
357
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
358
350
|
const headers = {
|
|
359
351
|
"content-type": "application/json",
|
|
@@ -373,7 +365,7 @@ export const serializeAws_restJson1DescribeAppAssessmentCommand = async (input,
|
|
|
373
365
|
body,
|
|
374
366
|
});
|
|
375
367
|
};
|
|
376
|
-
export const
|
|
368
|
+
export const se_DescribeAppVersionCommand = async (input, context) => {
|
|
377
369
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
378
370
|
const headers = {
|
|
379
371
|
"content-type": "application/json",
|
|
@@ -394,7 +386,7 @@ export const serializeAws_restJson1DescribeAppVersionCommand = async (input, con
|
|
|
394
386
|
body,
|
|
395
387
|
});
|
|
396
388
|
};
|
|
397
|
-
export const
|
|
389
|
+
export const se_DescribeAppVersionAppComponentCommand = async (input, context) => {
|
|
398
390
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
399
391
|
const headers = {
|
|
400
392
|
"content-type": "application/json",
|
|
@@ -416,7 +408,7 @@ export const serializeAws_restJson1DescribeAppVersionAppComponentCommand = async
|
|
|
416
408
|
body,
|
|
417
409
|
});
|
|
418
410
|
};
|
|
419
|
-
export const
|
|
411
|
+
export const se_DescribeAppVersionResourceCommand = async (input, context) => {
|
|
420
412
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
421
413
|
const headers = {
|
|
422
414
|
"content-type": "application/json",
|
|
@@ -429,7 +421,7 @@ export const serializeAws_restJson1DescribeAppVersionResourceCommand = async (in
|
|
|
429
421
|
...(input.awsAccountId != null && { awsAccountId: input.awsAccountId }),
|
|
430
422
|
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
431
423
|
...(input.logicalResourceId != null && {
|
|
432
|
-
logicalResourceId:
|
|
424
|
+
logicalResourceId: se_LogicalResourceId(input.logicalResourceId, context),
|
|
433
425
|
}),
|
|
434
426
|
...(input.physicalResourceId != null && { physicalResourceId: input.physicalResourceId }),
|
|
435
427
|
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
@@ -444,7 +436,7 @@ export const serializeAws_restJson1DescribeAppVersionResourceCommand = async (in
|
|
|
444
436
|
body,
|
|
445
437
|
});
|
|
446
438
|
};
|
|
447
|
-
export const
|
|
439
|
+
export const se_DescribeAppVersionResourcesResolutionStatusCommand = async (input, context) => {
|
|
448
440
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
449
441
|
const headers = {
|
|
450
442
|
"content-type": "application/json",
|
|
@@ -467,7 +459,7 @@ export const serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCo
|
|
|
467
459
|
body,
|
|
468
460
|
});
|
|
469
461
|
};
|
|
470
|
-
export const
|
|
462
|
+
export const se_DescribeAppVersionTemplateCommand = async (input, context) => {
|
|
471
463
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
472
464
|
const headers = {
|
|
473
465
|
"content-type": "application/json",
|
|
@@ -488,7 +480,7 @@ export const serializeAws_restJson1DescribeAppVersionTemplateCommand = async (in
|
|
|
488
480
|
body,
|
|
489
481
|
});
|
|
490
482
|
};
|
|
491
|
-
export const
|
|
483
|
+
export const se_DescribeDraftAppVersionResourcesImportStatusCommand = async (input, context) => {
|
|
492
484
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
493
485
|
const headers = {
|
|
494
486
|
"content-type": "application/json",
|
|
@@ -509,7 +501,7 @@ export const serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusC
|
|
|
509
501
|
body,
|
|
510
502
|
});
|
|
511
503
|
};
|
|
512
|
-
export const
|
|
504
|
+
export const se_DescribeResiliencyPolicyCommand = async (input, context) => {
|
|
513
505
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
514
506
|
const headers = {
|
|
515
507
|
"content-type": "application/json",
|
|
@@ -529,7 +521,7 @@ export const serializeAws_restJson1DescribeResiliencyPolicyCommand = async (inpu
|
|
|
529
521
|
body,
|
|
530
522
|
});
|
|
531
523
|
};
|
|
532
|
-
export const
|
|
524
|
+
export const se_ImportResourcesToDraftAppVersionCommand = async (input, context) => {
|
|
533
525
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
534
526
|
const headers = {
|
|
535
527
|
"content-type": "application/json",
|
|
@@ -538,11 +530,11 @@ export const serializeAws_restJson1ImportResourcesToDraftAppVersionCommand = asy
|
|
|
538
530
|
let body;
|
|
539
531
|
body = JSON.stringify({
|
|
540
532
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
541
|
-
...(input.eksSources != null && { eksSources:
|
|
533
|
+
...(input.eksSources != null && { eksSources: se_EksSourceList(input.eksSources, context) }),
|
|
542
534
|
...(input.importStrategy != null && { importStrategy: input.importStrategy }),
|
|
543
|
-
...(input.sourceArns != null && { sourceArns:
|
|
535
|
+
...(input.sourceArns != null && { sourceArns: se_ArnList(input.sourceArns, context) }),
|
|
544
536
|
...(input.terraformSources != null && {
|
|
545
|
-
terraformSources:
|
|
537
|
+
terraformSources: se_TerraformSourceList(input.terraformSources, context),
|
|
546
538
|
}),
|
|
547
539
|
});
|
|
548
540
|
return new __HttpRequest({
|
|
@@ -555,7 +547,7 @@ export const serializeAws_restJson1ImportResourcesToDraftAppVersionCommand = asy
|
|
|
555
547
|
body,
|
|
556
548
|
});
|
|
557
549
|
};
|
|
558
|
-
export const
|
|
550
|
+
export const se_ListAlarmRecommendationsCommand = async (input, context) => {
|
|
559
551
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
560
552
|
const headers = {
|
|
561
553
|
"content-type": "application/json",
|
|
@@ -577,7 +569,7 @@ export const serializeAws_restJson1ListAlarmRecommendationsCommand = async (inpu
|
|
|
577
569
|
body,
|
|
578
570
|
});
|
|
579
571
|
};
|
|
580
|
-
export const
|
|
572
|
+
export const se_ListAppAssessmentsCommand = async (input, context) => {
|
|
581
573
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
582
574
|
const headers = {};
|
|
583
575
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-assessments";
|
|
@@ -606,7 +598,7 @@ export const serializeAws_restJson1ListAppAssessmentsCommand = async (input, con
|
|
|
606
598
|
body,
|
|
607
599
|
});
|
|
608
600
|
};
|
|
609
|
-
export const
|
|
601
|
+
export const se_ListAppComponentCompliancesCommand = async (input, context) => {
|
|
610
602
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
611
603
|
const headers = {
|
|
612
604
|
"content-type": "application/json",
|
|
@@ -628,7 +620,7 @@ export const serializeAws_restJson1ListAppComponentCompliancesCommand = async (i
|
|
|
628
620
|
body,
|
|
629
621
|
});
|
|
630
622
|
};
|
|
631
|
-
export const
|
|
623
|
+
export const se_ListAppComponentRecommendationsCommand = async (input, context) => {
|
|
632
624
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
633
625
|
const headers = {
|
|
634
626
|
"content-type": "application/json",
|
|
@@ -650,7 +642,7 @@ export const serializeAws_restJson1ListAppComponentRecommendationsCommand = asyn
|
|
|
650
642
|
body,
|
|
651
643
|
});
|
|
652
644
|
};
|
|
653
|
-
export const
|
|
645
|
+
export const se_ListAppInputSourcesCommand = async (input, context) => {
|
|
654
646
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
655
647
|
const headers = {
|
|
656
648
|
"content-type": "application/json",
|
|
@@ -673,7 +665,7 @@ export const serializeAws_restJson1ListAppInputSourcesCommand = async (input, co
|
|
|
673
665
|
body,
|
|
674
666
|
});
|
|
675
667
|
};
|
|
676
|
-
export const
|
|
668
|
+
export const se_ListAppsCommand = async (input, context) => {
|
|
677
669
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
678
670
|
const headers = {};
|
|
679
671
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-apps";
|
|
@@ -695,7 +687,7 @@ export const serializeAws_restJson1ListAppsCommand = async (input, context) => {
|
|
|
695
687
|
body,
|
|
696
688
|
});
|
|
697
689
|
};
|
|
698
|
-
export const
|
|
690
|
+
export const se_ListAppVersionAppComponentsCommand = async (input, context) => {
|
|
699
691
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
700
692
|
const headers = {
|
|
701
693
|
"content-type": "application/json",
|
|
@@ -718,7 +710,7 @@ export const serializeAws_restJson1ListAppVersionAppComponentsCommand = async (i
|
|
|
718
710
|
body,
|
|
719
711
|
});
|
|
720
712
|
};
|
|
721
|
-
export const
|
|
713
|
+
export const se_ListAppVersionResourceMappingsCommand = async (input, context) => {
|
|
722
714
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
723
715
|
const headers = {
|
|
724
716
|
"content-type": "application/json",
|
|
@@ -741,7 +733,7 @@ export const serializeAws_restJson1ListAppVersionResourceMappingsCommand = async
|
|
|
741
733
|
body,
|
|
742
734
|
});
|
|
743
735
|
};
|
|
744
|
-
export const
|
|
736
|
+
export const se_ListAppVersionResourcesCommand = async (input, context) => {
|
|
745
737
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
746
738
|
const headers = {
|
|
747
739
|
"content-type": "application/json",
|
|
@@ -765,7 +757,7 @@ export const serializeAws_restJson1ListAppVersionResourcesCommand = async (input
|
|
|
765
757
|
body,
|
|
766
758
|
});
|
|
767
759
|
};
|
|
768
|
-
export const
|
|
760
|
+
export const se_ListAppVersionsCommand = async (input, context) => {
|
|
769
761
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
770
762
|
const headers = {
|
|
771
763
|
"content-type": "application/json",
|
|
@@ -787,7 +779,7 @@ export const serializeAws_restJson1ListAppVersionsCommand = async (input, contex
|
|
|
787
779
|
body,
|
|
788
780
|
});
|
|
789
781
|
};
|
|
790
|
-
export const
|
|
782
|
+
export const se_ListRecommendationTemplatesCommand = async (input, context) => {
|
|
791
783
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
792
784
|
const headers = {};
|
|
793
785
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-recommendation-templates";
|
|
@@ -812,7 +804,7 @@ export const serializeAws_restJson1ListRecommendationTemplatesCommand = async (i
|
|
|
812
804
|
body,
|
|
813
805
|
});
|
|
814
806
|
};
|
|
815
|
-
export const
|
|
807
|
+
export const se_ListResiliencyPoliciesCommand = async (input, context) => {
|
|
816
808
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
817
809
|
const headers = {};
|
|
818
810
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-resiliency-policies";
|
|
@@ -833,7 +825,7 @@ export const serializeAws_restJson1ListResiliencyPoliciesCommand = async (input,
|
|
|
833
825
|
body,
|
|
834
826
|
});
|
|
835
827
|
};
|
|
836
|
-
export const
|
|
828
|
+
export const se_ListSopRecommendationsCommand = async (input, context) => {
|
|
837
829
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
838
830
|
const headers = {
|
|
839
831
|
"content-type": "application/json",
|
|
@@ -855,7 +847,7 @@ export const serializeAws_restJson1ListSopRecommendationsCommand = async (input,
|
|
|
855
847
|
body,
|
|
856
848
|
});
|
|
857
849
|
};
|
|
858
|
-
export const
|
|
850
|
+
export const se_ListSuggestedResiliencyPoliciesCommand = async (input, context) => {
|
|
859
851
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
860
852
|
const headers = {};
|
|
861
853
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-suggested-resiliency-policies";
|
|
@@ -875,7 +867,7 @@ export const serializeAws_restJson1ListSuggestedResiliencyPoliciesCommand = asyn
|
|
|
875
867
|
body,
|
|
876
868
|
});
|
|
877
869
|
};
|
|
878
|
-
export const
|
|
870
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
879
871
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
880
872
|
const headers = {};
|
|
881
873
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -891,7 +883,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
891
883
|
body,
|
|
892
884
|
});
|
|
893
885
|
};
|
|
894
|
-
export const
|
|
886
|
+
export const se_ListTestRecommendationsCommand = async (input, context) => {
|
|
895
887
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
896
888
|
const headers = {
|
|
897
889
|
"content-type": "application/json",
|
|
@@ -913,7 +905,7 @@ export const serializeAws_restJson1ListTestRecommendationsCommand = async (input
|
|
|
913
905
|
body,
|
|
914
906
|
});
|
|
915
907
|
};
|
|
916
|
-
export const
|
|
908
|
+
export const se_ListUnsupportedAppVersionResourcesCommand = async (input, context) => {
|
|
917
909
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
918
910
|
const headers = {
|
|
919
911
|
"content-type": "application/json",
|
|
@@ -937,7 +929,7 @@ export const serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand = a
|
|
|
937
929
|
body,
|
|
938
930
|
});
|
|
939
931
|
};
|
|
940
|
-
export const
|
|
932
|
+
export const se_PublishAppVersionCommand = async (input, context) => {
|
|
941
933
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
942
934
|
const headers = {
|
|
943
935
|
"content-type": "application/json",
|
|
@@ -957,7 +949,7 @@ export const serializeAws_restJson1PublishAppVersionCommand = async (input, cont
|
|
|
957
949
|
body,
|
|
958
950
|
});
|
|
959
951
|
};
|
|
960
|
-
export const
|
|
952
|
+
export const se_PutDraftAppVersionTemplateCommand = async (input, context) => {
|
|
961
953
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
962
954
|
const headers = {
|
|
963
955
|
"content-type": "application/json",
|
|
@@ -978,7 +970,7 @@ export const serializeAws_restJson1PutDraftAppVersionTemplateCommand = async (in
|
|
|
978
970
|
body,
|
|
979
971
|
});
|
|
980
972
|
};
|
|
981
|
-
export const
|
|
973
|
+
export const se_RemoveDraftAppVersionResourceMappingsCommand = async (input, context) => {
|
|
982
974
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
983
975
|
const headers = {
|
|
984
976
|
"content-type": "application/json",
|
|
@@ -989,22 +981,16 @@ export const serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand
|
|
|
989
981
|
body = JSON.stringify({
|
|
990
982
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
991
983
|
...(input.appRegistryAppNames != null && {
|
|
992
|
-
appRegistryAppNames:
|
|
993
|
-
}),
|
|
994
|
-
...(input.eksSourceNames != null && {
|
|
995
|
-
eksSourceNames: serializeAws_restJson1String255List(input.eksSourceNames, context),
|
|
996
|
-
}),
|
|
997
|
-
...(input.logicalStackNames != null && {
|
|
998
|
-
logicalStackNames: serializeAws_restJson1String255List(input.logicalStackNames, context),
|
|
984
|
+
appRegistryAppNames: se_EntityNameList(input.appRegistryAppNames, context),
|
|
999
985
|
}),
|
|
986
|
+
...(input.eksSourceNames != null && { eksSourceNames: se_String255List(input.eksSourceNames, context) }),
|
|
987
|
+
...(input.logicalStackNames != null && { logicalStackNames: se_String255List(input.logicalStackNames, context) }),
|
|
1000
988
|
...(input.resourceGroupNames != null && {
|
|
1001
|
-
resourceGroupNames:
|
|
1002
|
-
}),
|
|
1003
|
-
...(input.resourceNames != null && {
|
|
1004
|
-
resourceNames: serializeAws_restJson1EntityNameList(input.resourceNames, context),
|
|
989
|
+
resourceGroupNames: se_EntityNameList(input.resourceGroupNames, context),
|
|
1005
990
|
}),
|
|
991
|
+
...(input.resourceNames != null && { resourceNames: se_EntityNameList(input.resourceNames, context) }),
|
|
1006
992
|
...(input.terraformSourceNames != null && {
|
|
1007
|
-
terraformSourceNames:
|
|
993
|
+
terraformSourceNames: se_String255List(input.terraformSourceNames, context),
|
|
1008
994
|
}),
|
|
1009
995
|
});
|
|
1010
996
|
return new __HttpRequest({
|
|
@@ -1017,7 +1003,7 @@ export const serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand
|
|
|
1017
1003
|
body,
|
|
1018
1004
|
});
|
|
1019
1005
|
};
|
|
1020
|
-
export const
|
|
1006
|
+
export const se_ResolveAppVersionResourcesCommand = async (input, context) => {
|
|
1021
1007
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1022
1008
|
const headers = {
|
|
1023
1009
|
"content-type": "application/json",
|
|
@@ -1038,7 +1024,7 @@ export const serializeAws_restJson1ResolveAppVersionResourcesCommand = async (in
|
|
|
1038
1024
|
body,
|
|
1039
1025
|
});
|
|
1040
1026
|
};
|
|
1041
|
-
export const
|
|
1027
|
+
export const se_StartAppAssessmentCommand = async (input, context) => {
|
|
1042
1028
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1043
1029
|
const headers = {
|
|
1044
1030
|
"content-type": "application/json",
|
|
@@ -1050,7 +1036,7 @@ export const serializeAws_restJson1StartAppAssessmentCommand = async (input, con
|
|
|
1050
1036
|
...(input.appVersion != null && { appVersion: input.appVersion }),
|
|
1051
1037
|
...(input.assessmentName != null && { assessmentName: input.assessmentName }),
|
|
1052
1038
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
1053
|
-
...(input.tags != null && { tags:
|
|
1039
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
1054
1040
|
});
|
|
1055
1041
|
return new __HttpRequest({
|
|
1056
1042
|
protocol,
|
|
@@ -1062,7 +1048,7 @@ export const serializeAws_restJson1StartAppAssessmentCommand = async (input, con
|
|
|
1062
1048
|
body,
|
|
1063
1049
|
});
|
|
1064
1050
|
};
|
|
1065
|
-
export const
|
|
1051
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
1066
1052
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1067
1053
|
const headers = {
|
|
1068
1054
|
"content-type": "application/json",
|
|
@@ -1071,7 +1057,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
1071
1057
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1072
1058
|
let body;
|
|
1073
1059
|
body = JSON.stringify({
|
|
1074
|
-
...(input.tags != null && { tags:
|
|
1060
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
1075
1061
|
});
|
|
1076
1062
|
return new __HttpRequest({
|
|
1077
1063
|
protocol,
|
|
@@ -1083,7 +1069,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
1083
1069
|
body,
|
|
1084
1070
|
});
|
|
1085
1071
|
};
|
|
1086
|
-
export const
|
|
1072
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
1087
1073
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1088
1074
|
const headers = {};
|
|
1089
1075
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -1106,7 +1092,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
1106
1092
|
body,
|
|
1107
1093
|
});
|
|
1108
1094
|
};
|
|
1109
|
-
export const
|
|
1095
|
+
export const se_UpdateAppCommand = async (input, context) => {
|
|
1110
1096
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1111
1097
|
const headers = {
|
|
1112
1098
|
"content-type": "application/json",
|
|
@@ -1130,7 +1116,7 @@ export const serializeAws_restJson1UpdateAppCommand = async (input, context) =>
|
|
|
1130
1116
|
body,
|
|
1131
1117
|
});
|
|
1132
1118
|
};
|
|
1133
|
-
export const
|
|
1119
|
+
export const se_UpdateAppVersionCommand = async (input, context) => {
|
|
1134
1120
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1135
1121
|
const headers = {
|
|
1136
1122
|
"content-type": "application/json",
|
|
@@ -1138,9 +1124,7 @@ export const serializeAws_restJson1UpdateAppVersionCommand = async (input, conte
|
|
|
1138
1124
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version";
|
|
1139
1125
|
let body;
|
|
1140
1126
|
body = JSON.stringify({
|
|
1141
|
-
...(input.additionalInfo != null && {
|
|
1142
|
-
additionalInfo: serializeAws_restJson1AdditionalInfoMap(input.additionalInfo, context),
|
|
1143
|
-
}),
|
|
1127
|
+
...(input.additionalInfo != null && { additionalInfo: se_AdditionalInfoMap(input.additionalInfo, context) }),
|
|
1144
1128
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
1145
1129
|
});
|
|
1146
1130
|
return new __HttpRequest({
|
|
@@ -1153,7 +1137,7 @@ export const serializeAws_restJson1UpdateAppVersionCommand = async (input, conte
|
|
|
1153
1137
|
body,
|
|
1154
1138
|
});
|
|
1155
1139
|
};
|
|
1156
|
-
export const
|
|
1140
|
+
export const se_UpdateAppVersionAppComponentCommand = async (input, context) => {
|
|
1157
1141
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1158
1142
|
const headers = {
|
|
1159
1143
|
"content-type": "application/json",
|
|
@@ -1161,9 +1145,7 @@ export const serializeAws_restJson1UpdateAppVersionAppComponentCommand = async (
|
|
|
1161
1145
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version-app-component";
|
|
1162
1146
|
let body;
|
|
1163
1147
|
body = JSON.stringify({
|
|
1164
|
-
...(input.additionalInfo != null && {
|
|
1165
|
-
additionalInfo: serializeAws_restJson1AdditionalInfoMap(input.additionalInfo, context),
|
|
1166
|
-
}),
|
|
1148
|
+
...(input.additionalInfo != null && { additionalInfo: se_AdditionalInfoMap(input.additionalInfo, context) }),
|
|
1167
1149
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
1168
1150
|
...(input.id != null && { id: input.id }),
|
|
1169
1151
|
...(input.name != null && { name: input.name }),
|
|
@@ -1179,7 +1161,7 @@ export const serializeAws_restJson1UpdateAppVersionAppComponentCommand = async (
|
|
|
1179
1161
|
body,
|
|
1180
1162
|
});
|
|
1181
1163
|
};
|
|
1182
|
-
export const
|
|
1164
|
+
export const se_UpdateAppVersionResourceCommand = async (input, context) => {
|
|
1183
1165
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1184
1166
|
const headers = {
|
|
1185
1167
|
"content-type": "application/json",
|
|
@@ -1187,18 +1169,14 @@ export const serializeAws_restJson1UpdateAppVersionResourceCommand = async (inpu
|
|
|
1187
1169
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app-version-resource";
|
|
1188
1170
|
let body;
|
|
1189
1171
|
body = JSON.stringify({
|
|
1190
|
-
...(input.additionalInfo != null && {
|
|
1191
|
-
additionalInfo: serializeAws_restJson1AdditionalInfoMap(input.additionalInfo, context),
|
|
1192
|
-
}),
|
|
1172
|
+
...(input.additionalInfo != null && { additionalInfo: se_AdditionalInfoMap(input.additionalInfo, context) }),
|
|
1193
1173
|
...(input.appArn != null && { appArn: input.appArn }),
|
|
1194
|
-
...(input.appComponents != null && {
|
|
1195
|
-
appComponents: serializeAws_restJson1AppComponentNameList(input.appComponents, context),
|
|
1196
|
-
}),
|
|
1174
|
+
...(input.appComponents != null && { appComponents: se_AppComponentNameList(input.appComponents, context) }),
|
|
1197
1175
|
...(input.awsAccountId != null && { awsAccountId: input.awsAccountId }),
|
|
1198
1176
|
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
1199
1177
|
...(input.excluded != null && { excluded: input.excluded }),
|
|
1200
1178
|
...(input.logicalResourceId != null && {
|
|
1201
|
-
logicalResourceId:
|
|
1179
|
+
logicalResourceId: se_LogicalResourceId(input.logicalResourceId, context),
|
|
1202
1180
|
}),
|
|
1203
1181
|
...(input.physicalResourceId != null && { physicalResourceId: input.physicalResourceId }),
|
|
1204
1182
|
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
@@ -1214,7 +1192,7 @@ export const serializeAws_restJson1UpdateAppVersionResourceCommand = async (inpu
|
|
|
1214
1192
|
body,
|
|
1215
1193
|
});
|
|
1216
1194
|
};
|
|
1217
|
-
export const
|
|
1195
|
+
export const se_UpdateResiliencyPolicyCommand = async (input, context) => {
|
|
1218
1196
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1219
1197
|
const headers = {
|
|
1220
1198
|
"content-type": "application/json",
|
|
@@ -1223,7 +1201,7 @@ export const serializeAws_restJson1UpdateResiliencyPolicyCommand = async (input,
|
|
|
1223
1201
|
let body;
|
|
1224
1202
|
body = JSON.stringify({
|
|
1225
1203
|
...(input.dataLocationConstraint != null && { dataLocationConstraint: input.dataLocationConstraint }),
|
|
1226
|
-
...(input.policy != null && { policy:
|
|
1204
|
+
...(input.policy != null && { policy: se_DisruptionPolicy(input.policy, context) }),
|
|
1227
1205
|
...(input.policyArn != null && { policyArn: input.policyArn }),
|
|
1228
1206
|
...(input.policyDescription != null && { policyDescription: input.policyDescription }),
|
|
1229
1207
|
...(input.policyName != null && { policyName: input.policyName }),
|
|
@@ -1239,9 +1217,9 @@ export const serializeAws_restJson1UpdateResiliencyPolicyCommand = async (input,
|
|
|
1239
1217
|
body,
|
|
1240
1218
|
});
|
|
1241
1219
|
};
|
|
1242
|
-
export const
|
|
1220
|
+
export const de_AddDraftAppVersionResourceMappingsCommand = async (output, context) => {
|
|
1243
1221
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
-
return
|
|
1222
|
+
return de_AddDraftAppVersionResourceMappingsCommandError(output, context);
|
|
1245
1223
|
}
|
|
1246
1224
|
const contents = map({
|
|
1247
1225
|
$metadata: deserializeMetadata(output),
|
|
@@ -1254,11 +1232,11 @@ export const deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommand =
|
|
|
1254
1232
|
contents.appVersion = __expectString(data.appVersion);
|
|
1255
1233
|
}
|
|
1256
1234
|
if (data.resourceMappings != null) {
|
|
1257
|
-
contents.resourceMappings =
|
|
1235
|
+
contents.resourceMappings = de_ResourceMappingList(data.resourceMappings, context);
|
|
1258
1236
|
}
|
|
1259
1237
|
return contents;
|
|
1260
1238
|
};
|
|
1261
|
-
const
|
|
1239
|
+
const de_AddDraftAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
1262
1240
|
const parsedOutput = {
|
|
1263
1241
|
...output,
|
|
1264
1242
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1267,22 +1245,22 @@ const deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommandError = a
|
|
|
1267
1245
|
switch (errorCode) {
|
|
1268
1246
|
case "AccessDeniedException":
|
|
1269
1247
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1270
|
-
throw await
|
|
1248
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1271
1249
|
case "ConflictException":
|
|
1272
1250
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1273
|
-
throw await
|
|
1251
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1274
1252
|
case "InternalServerException":
|
|
1275
1253
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1276
|
-
throw await
|
|
1254
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1277
1255
|
case "ResourceNotFoundException":
|
|
1278
1256
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1279
|
-
throw await
|
|
1257
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1280
1258
|
case "ThrottlingException":
|
|
1281
1259
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1282
|
-
throw await
|
|
1260
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1283
1261
|
case "ValidationException":
|
|
1284
1262
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1285
|
-
throw await
|
|
1263
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1286
1264
|
default:
|
|
1287
1265
|
const parsedBody = parsedOutput.body;
|
|
1288
1266
|
throwDefaultError({
|
|
@@ -1293,20 +1271,20 @@ const deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommandError = a
|
|
|
1293
1271
|
});
|
|
1294
1272
|
}
|
|
1295
1273
|
};
|
|
1296
|
-
export const
|
|
1274
|
+
export const de_CreateAppCommand = async (output, context) => {
|
|
1297
1275
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1298
|
-
return
|
|
1276
|
+
return de_CreateAppCommandError(output, context);
|
|
1299
1277
|
}
|
|
1300
1278
|
const contents = map({
|
|
1301
1279
|
$metadata: deserializeMetadata(output),
|
|
1302
1280
|
});
|
|
1303
1281
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1304
1282
|
if (data.app != null) {
|
|
1305
|
-
contents.app =
|
|
1283
|
+
contents.app = de_App(data.app, context);
|
|
1306
1284
|
}
|
|
1307
1285
|
return contents;
|
|
1308
1286
|
};
|
|
1309
|
-
const
|
|
1287
|
+
const de_CreateAppCommandError = async (output, context) => {
|
|
1310
1288
|
const parsedOutput = {
|
|
1311
1289
|
...output,
|
|
1312
1290
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1315,25 +1293,25 @@ const deserializeAws_restJson1CreateAppCommandError = async (output, context) =>
|
|
|
1315
1293
|
switch (errorCode) {
|
|
1316
1294
|
case "AccessDeniedException":
|
|
1317
1295
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1318
|
-
throw await
|
|
1296
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1319
1297
|
case "ConflictException":
|
|
1320
1298
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1321
|
-
throw await
|
|
1299
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1322
1300
|
case "InternalServerException":
|
|
1323
1301
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1324
|
-
throw await
|
|
1302
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1325
1303
|
case "ResourceNotFoundException":
|
|
1326
1304
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1327
|
-
throw await
|
|
1305
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1328
1306
|
case "ServiceQuotaExceededException":
|
|
1329
1307
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
1330
|
-
throw await
|
|
1308
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1331
1309
|
case "ThrottlingException":
|
|
1332
1310
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1333
|
-
throw await
|
|
1311
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1334
1312
|
case "ValidationException":
|
|
1335
1313
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1336
|
-
throw await
|
|
1314
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1337
1315
|
default:
|
|
1338
1316
|
const parsedBody = parsedOutput.body;
|
|
1339
1317
|
throwDefaultError({
|
|
@@ -1344,9 +1322,9 @@ const deserializeAws_restJson1CreateAppCommandError = async (output, context) =>
|
|
|
1344
1322
|
});
|
|
1345
1323
|
}
|
|
1346
1324
|
};
|
|
1347
|
-
export const
|
|
1325
|
+
export const de_CreateAppVersionAppComponentCommand = async (output, context) => {
|
|
1348
1326
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1349
|
-
return
|
|
1327
|
+
return de_CreateAppVersionAppComponentCommandError(output, context);
|
|
1350
1328
|
}
|
|
1351
1329
|
const contents = map({
|
|
1352
1330
|
$metadata: deserializeMetadata(output),
|
|
@@ -1356,14 +1334,14 @@ export const deserializeAws_restJson1CreateAppVersionAppComponentCommand = async
|
|
|
1356
1334
|
contents.appArn = __expectString(data.appArn);
|
|
1357
1335
|
}
|
|
1358
1336
|
if (data.appComponent != null) {
|
|
1359
|
-
contents.appComponent =
|
|
1337
|
+
contents.appComponent = de_AppComponent(data.appComponent, context);
|
|
1360
1338
|
}
|
|
1361
1339
|
if (data.appVersion != null) {
|
|
1362
1340
|
contents.appVersion = __expectString(data.appVersion);
|
|
1363
1341
|
}
|
|
1364
1342
|
return contents;
|
|
1365
1343
|
};
|
|
1366
|
-
const
|
|
1344
|
+
const de_CreateAppVersionAppComponentCommandError = async (output, context) => {
|
|
1367
1345
|
const parsedOutput = {
|
|
1368
1346
|
...output,
|
|
1369
1347
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1372,25 +1350,25 @@ const deserializeAws_restJson1CreateAppVersionAppComponentCommandError = async (
|
|
|
1372
1350
|
switch (errorCode) {
|
|
1373
1351
|
case "AccessDeniedException":
|
|
1374
1352
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1375
|
-
throw await
|
|
1353
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1376
1354
|
case "ConflictException":
|
|
1377
1355
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1378
|
-
throw await
|
|
1356
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1379
1357
|
case "InternalServerException":
|
|
1380
1358
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1381
|
-
throw await
|
|
1359
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1382
1360
|
case "ResourceNotFoundException":
|
|
1383
1361
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1384
|
-
throw await
|
|
1362
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1385
1363
|
case "ServiceQuotaExceededException":
|
|
1386
1364
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
1387
|
-
throw await
|
|
1365
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1388
1366
|
case "ThrottlingException":
|
|
1389
1367
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1390
|
-
throw await
|
|
1368
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1391
1369
|
case "ValidationException":
|
|
1392
1370
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1393
|
-
throw await
|
|
1371
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1394
1372
|
default:
|
|
1395
1373
|
const parsedBody = parsedOutput.body;
|
|
1396
1374
|
throwDefaultError({
|
|
@@ -1401,9 +1379,9 @@ const deserializeAws_restJson1CreateAppVersionAppComponentCommandError = async (
|
|
|
1401
1379
|
});
|
|
1402
1380
|
}
|
|
1403
1381
|
};
|
|
1404
|
-
export const
|
|
1382
|
+
export const de_CreateAppVersionResourceCommand = async (output, context) => {
|
|
1405
1383
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1406
|
-
return
|
|
1384
|
+
return de_CreateAppVersionResourceCommandError(output, context);
|
|
1407
1385
|
}
|
|
1408
1386
|
const contents = map({
|
|
1409
1387
|
$metadata: deserializeMetadata(output),
|
|
@@ -1416,11 +1394,11 @@ export const deserializeAws_restJson1CreateAppVersionResourceCommand = async (ou
|
|
|
1416
1394
|
contents.appVersion = __expectString(data.appVersion);
|
|
1417
1395
|
}
|
|
1418
1396
|
if (data.physicalResource != null) {
|
|
1419
|
-
contents.physicalResource =
|
|
1397
|
+
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
1420
1398
|
}
|
|
1421
1399
|
return contents;
|
|
1422
1400
|
};
|
|
1423
|
-
const
|
|
1401
|
+
const de_CreateAppVersionResourceCommandError = async (output, context) => {
|
|
1424
1402
|
const parsedOutput = {
|
|
1425
1403
|
...output,
|
|
1426
1404
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1429,25 +1407,25 @@ const deserializeAws_restJson1CreateAppVersionResourceCommandError = async (outp
|
|
|
1429
1407
|
switch (errorCode) {
|
|
1430
1408
|
case "AccessDeniedException":
|
|
1431
1409
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1432
|
-
throw await
|
|
1410
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1433
1411
|
case "ConflictException":
|
|
1434
1412
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1435
|
-
throw await
|
|
1413
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1436
1414
|
case "InternalServerException":
|
|
1437
1415
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1438
|
-
throw await
|
|
1416
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1439
1417
|
case "ResourceNotFoundException":
|
|
1440
1418
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1441
|
-
throw await
|
|
1419
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1442
1420
|
case "ServiceQuotaExceededException":
|
|
1443
1421
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
1444
|
-
throw await
|
|
1422
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1445
1423
|
case "ThrottlingException":
|
|
1446
1424
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1447
|
-
throw await
|
|
1425
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1448
1426
|
case "ValidationException":
|
|
1449
1427
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1450
|
-
throw await
|
|
1428
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1451
1429
|
default:
|
|
1452
1430
|
const parsedBody = parsedOutput.body;
|
|
1453
1431
|
throwDefaultError({
|
|
@@ -1458,20 +1436,20 @@ const deserializeAws_restJson1CreateAppVersionResourceCommandError = async (outp
|
|
|
1458
1436
|
});
|
|
1459
1437
|
}
|
|
1460
1438
|
};
|
|
1461
|
-
export const
|
|
1439
|
+
export const de_CreateRecommendationTemplateCommand = async (output, context) => {
|
|
1462
1440
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1463
|
-
return
|
|
1441
|
+
return de_CreateRecommendationTemplateCommandError(output, context);
|
|
1464
1442
|
}
|
|
1465
1443
|
const contents = map({
|
|
1466
1444
|
$metadata: deserializeMetadata(output),
|
|
1467
1445
|
});
|
|
1468
1446
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1469
1447
|
if (data.recommendationTemplate != null) {
|
|
1470
|
-
contents.recommendationTemplate =
|
|
1448
|
+
contents.recommendationTemplate = de_RecommendationTemplate(data.recommendationTemplate, context);
|
|
1471
1449
|
}
|
|
1472
1450
|
return contents;
|
|
1473
1451
|
};
|
|
1474
|
-
const
|
|
1452
|
+
const de_CreateRecommendationTemplateCommandError = async (output, context) => {
|
|
1475
1453
|
const parsedOutput = {
|
|
1476
1454
|
...output,
|
|
1477
1455
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1480,25 +1458,25 @@ const deserializeAws_restJson1CreateRecommendationTemplateCommandError = async (
|
|
|
1480
1458
|
switch (errorCode) {
|
|
1481
1459
|
case "AccessDeniedException":
|
|
1482
1460
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1483
|
-
throw await
|
|
1461
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1484
1462
|
case "ConflictException":
|
|
1485
1463
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1486
|
-
throw await
|
|
1464
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1487
1465
|
case "InternalServerException":
|
|
1488
1466
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1489
|
-
throw await
|
|
1467
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1490
1468
|
case "ResourceNotFoundException":
|
|
1491
1469
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1492
|
-
throw await
|
|
1470
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1493
1471
|
case "ServiceQuotaExceededException":
|
|
1494
1472
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
1495
|
-
throw await
|
|
1473
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1496
1474
|
case "ThrottlingException":
|
|
1497
1475
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1498
|
-
throw await
|
|
1476
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1499
1477
|
case "ValidationException":
|
|
1500
1478
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1501
|
-
throw await
|
|
1479
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1502
1480
|
default:
|
|
1503
1481
|
const parsedBody = parsedOutput.body;
|
|
1504
1482
|
throwDefaultError({
|
|
@@ -1509,20 +1487,20 @@ const deserializeAws_restJson1CreateRecommendationTemplateCommandError = async (
|
|
|
1509
1487
|
});
|
|
1510
1488
|
}
|
|
1511
1489
|
};
|
|
1512
|
-
export const
|
|
1490
|
+
export const de_CreateResiliencyPolicyCommand = async (output, context) => {
|
|
1513
1491
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1514
|
-
return
|
|
1492
|
+
return de_CreateResiliencyPolicyCommandError(output, context);
|
|
1515
1493
|
}
|
|
1516
1494
|
const contents = map({
|
|
1517
1495
|
$metadata: deserializeMetadata(output),
|
|
1518
1496
|
});
|
|
1519
1497
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1520
1498
|
if (data.policy != null) {
|
|
1521
|
-
contents.policy =
|
|
1499
|
+
contents.policy = de_ResiliencyPolicy(data.policy, context);
|
|
1522
1500
|
}
|
|
1523
1501
|
return contents;
|
|
1524
1502
|
};
|
|
1525
|
-
const
|
|
1503
|
+
const de_CreateResiliencyPolicyCommandError = async (output, context) => {
|
|
1526
1504
|
const parsedOutput = {
|
|
1527
1505
|
...output,
|
|
1528
1506
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1531,22 +1509,22 @@ const deserializeAws_restJson1CreateResiliencyPolicyCommandError = async (output
|
|
|
1531
1509
|
switch (errorCode) {
|
|
1532
1510
|
case "AccessDeniedException":
|
|
1533
1511
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1534
|
-
throw await
|
|
1512
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1535
1513
|
case "ConflictException":
|
|
1536
1514
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1537
|
-
throw await
|
|
1515
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1538
1516
|
case "InternalServerException":
|
|
1539
1517
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1540
|
-
throw await
|
|
1518
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1541
1519
|
case "ServiceQuotaExceededException":
|
|
1542
1520
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
1543
|
-
throw await
|
|
1521
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1544
1522
|
case "ThrottlingException":
|
|
1545
1523
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1546
|
-
throw await
|
|
1524
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1547
1525
|
case "ValidationException":
|
|
1548
1526
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1549
|
-
throw await
|
|
1527
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1550
1528
|
default:
|
|
1551
1529
|
const parsedBody = parsedOutput.body;
|
|
1552
1530
|
throwDefaultError({
|
|
@@ -1557,9 +1535,9 @@ const deserializeAws_restJson1CreateResiliencyPolicyCommandError = async (output
|
|
|
1557
1535
|
});
|
|
1558
1536
|
}
|
|
1559
1537
|
};
|
|
1560
|
-
export const
|
|
1538
|
+
export const de_DeleteAppCommand = async (output, context) => {
|
|
1561
1539
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1562
|
-
return
|
|
1540
|
+
return de_DeleteAppCommandError(output, context);
|
|
1563
1541
|
}
|
|
1564
1542
|
const contents = map({
|
|
1565
1543
|
$metadata: deserializeMetadata(output),
|
|
@@ -1570,7 +1548,7 @@ export const deserializeAws_restJson1DeleteAppCommand = async (output, context)
|
|
|
1570
1548
|
}
|
|
1571
1549
|
return contents;
|
|
1572
1550
|
};
|
|
1573
|
-
const
|
|
1551
|
+
const de_DeleteAppCommandError = async (output, context) => {
|
|
1574
1552
|
const parsedOutput = {
|
|
1575
1553
|
...output,
|
|
1576
1554
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1579,19 +1557,19 @@ const deserializeAws_restJson1DeleteAppCommandError = async (output, context) =>
|
|
|
1579
1557
|
switch (errorCode) {
|
|
1580
1558
|
case "ConflictException":
|
|
1581
1559
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1582
|
-
throw await
|
|
1560
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1583
1561
|
case "InternalServerException":
|
|
1584
1562
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1585
|
-
throw await
|
|
1563
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1586
1564
|
case "ResourceNotFoundException":
|
|
1587
1565
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1588
|
-
throw await
|
|
1566
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1589
1567
|
case "ThrottlingException":
|
|
1590
1568
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1591
|
-
throw await
|
|
1569
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1592
1570
|
case "ValidationException":
|
|
1593
1571
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1594
|
-
throw await
|
|
1572
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1595
1573
|
default:
|
|
1596
1574
|
const parsedBody = parsedOutput.body;
|
|
1597
1575
|
throwDefaultError({
|
|
@@ -1602,9 +1580,9 @@ const deserializeAws_restJson1DeleteAppCommandError = async (output, context) =>
|
|
|
1602
1580
|
});
|
|
1603
1581
|
}
|
|
1604
1582
|
};
|
|
1605
|
-
export const
|
|
1583
|
+
export const de_DeleteAppAssessmentCommand = async (output, context) => {
|
|
1606
1584
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1607
|
-
return
|
|
1585
|
+
return de_DeleteAppAssessmentCommandError(output, context);
|
|
1608
1586
|
}
|
|
1609
1587
|
const contents = map({
|
|
1610
1588
|
$metadata: deserializeMetadata(output),
|
|
@@ -1618,7 +1596,7 @@ export const deserializeAws_restJson1DeleteAppAssessmentCommand = async (output,
|
|
|
1618
1596
|
}
|
|
1619
1597
|
return contents;
|
|
1620
1598
|
};
|
|
1621
|
-
const
|
|
1599
|
+
const de_DeleteAppAssessmentCommandError = async (output, context) => {
|
|
1622
1600
|
const parsedOutput = {
|
|
1623
1601
|
...output,
|
|
1624
1602
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1627,22 +1605,22 @@ const deserializeAws_restJson1DeleteAppAssessmentCommandError = async (output, c
|
|
|
1627
1605
|
switch (errorCode) {
|
|
1628
1606
|
case "AccessDeniedException":
|
|
1629
1607
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1630
|
-
throw await
|
|
1608
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1631
1609
|
case "ConflictException":
|
|
1632
1610
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1633
|
-
throw await
|
|
1611
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1634
1612
|
case "InternalServerException":
|
|
1635
1613
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1636
|
-
throw await
|
|
1614
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1637
1615
|
case "ResourceNotFoundException":
|
|
1638
1616
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1639
|
-
throw await
|
|
1617
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1640
1618
|
case "ThrottlingException":
|
|
1641
1619
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1642
|
-
throw await
|
|
1620
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1643
1621
|
case "ValidationException":
|
|
1644
1622
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1645
|
-
throw await
|
|
1623
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1646
1624
|
default:
|
|
1647
1625
|
const parsedBody = parsedOutput.body;
|
|
1648
1626
|
throwDefaultError({
|
|
@@ -1653,9 +1631,9 @@ const deserializeAws_restJson1DeleteAppAssessmentCommandError = async (output, c
|
|
|
1653
1631
|
});
|
|
1654
1632
|
}
|
|
1655
1633
|
};
|
|
1656
|
-
export const
|
|
1634
|
+
export const de_DeleteAppInputSourceCommand = async (output, context) => {
|
|
1657
1635
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1658
|
-
return
|
|
1636
|
+
return de_DeleteAppInputSourceCommandError(output, context);
|
|
1659
1637
|
}
|
|
1660
1638
|
const contents = map({
|
|
1661
1639
|
$metadata: deserializeMetadata(output),
|
|
@@ -1665,11 +1643,11 @@ export const deserializeAws_restJson1DeleteAppInputSourceCommand = async (output
|
|
|
1665
1643
|
contents.appArn = __expectString(data.appArn);
|
|
1666
1644
|
}
|
|
1667
1645
|
if (data.appInputSource != null) {
|
|
1668
|
-
contents.appInputSource =
|
|
1646
|
+
contents.appInputSource = de_AppInputSource(data.appInputSource, context);
|
|
1669
1647
|
}
|
|
1670
1648
|
return contents;
|
|
1671
1649
|
};
|
|
1672
|
-
const
|
|
1650
|
+
const de_DeleteAppInputSourceCommandError = async (output, context) => {
|
|
1673
1651
|
const parsedOutput = {
|
|
1674
1652
|
...output,
|
|
1675
1653
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1678,22 +1656,22 @@ const deserializeAws_restJson1DeleteAppInputSourceCommandError = async (output,
|
|
|
1678
1656
|
switch (errorCode) {
|
|
1679
1657
|
case "AccessDeniedException":
|
|
1680
1658
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1681
|
-
throw await
|
|
1659
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1682
1660
|
case "ConflictException":
|
|
1683
1661
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1684
|
-
throw await
|
|
1662
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1685
1663
|
case "InternalServerException":
|
|
1686
1664
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1687
|
-
throw await
|
|
1665
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1688
1666
|
case "ResourceNotFoundException":
|
|
1689
1667
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1690
|
-
throw await
|
|
1668
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1691
1669
|
case "ThrottlingException":
|
|
1692
1670
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1693
|
-
throw await
|
|
1671
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1694
1672
|
case "ValidationException":
|
|
1695
1673
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1696
|
-
throw await
|
|
1674
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1697
1675
|
default:
|
|
1698
1676
|
const parsedBody = parsedOutput.body;
|
|
1699
1677
|
throwDefaultError({
|
|
@@ -1704,9 +1682,9 @@ const deserializeAws_restJson1DeleteAppInputSourceCommandError = async (output,
|
|
|
1704
1682
|
});
|
|
1705
1683
|
}
|
|
1706
1684
|
};
|
|
1707
|
-
export const
|
|
1685
|
+
export const de_DeleteAppVersionAppComponentCommand = async (output, context) => {
|
|
1708
1686
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1709
|
-
return
|
|
1687
|
+
return de_DeleteAppVersionAppComponentCommandError(output, context);
|
|
1710
1688
|
}
|
|
1711
1689
|
const contents = map({
|
|
1712
1690
|
$metadata: deserializeMetadata(output),
|
|
@@ -1716,14 +1694,14 @@ export const deserializeAws_restJson1DeleteAppVersionAppComponentCommand = async
|
|
|
1716
1694
|
contents.appArn = __expectString(data.appArn);
|
|
1717
1695
|
}
|
|
1718
1696
|
if (data.appComponent != null) {
|
|
1719
|
-
contents.appComponent =
|
|
1697
|
+
contents.appComponent = de_AppComponent(data.appComponent, context);
|
|
1720
1698
|
}
|
|
1721
1699
|
if (data.appVersion != null) {
|
|
1722
1700
|
contents.appVersion = __expectString(data.appVersion);
|
|
1723
1701
|
}
|
|
1724
1702
|
return contents;
|
|
1725
1703
|
};
|
|
1726
|
-
const
|
|
1704
|
+
const de_DeleteAppVersionAppComponentCommandError = async (output, context) => {
|
|
1727
1705
|
const parsedOutput = {
|
|
1728
1706
|
...output,
|
|
1729
1707
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1732,22 +1710,22 @@ const deserializeAws_restJson1DeleteAppVersionAppComponentCommandError = async (
|
|
|
1732
1710
|
switch (errorCode) {
|
|
1733
1711
|
case "AccessDeniedException":
|
|
1734
1712
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1735
|
-
throw await
|
|
1713
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1736
1714
|
case "ConflictException":
|
|
1737
1715
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1738
|
-
throw await
|
|
1716
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1739
1717
|
case "InternalServerException":
|
|
1740
1718
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1741
|
-
throw await
|
|
1719
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1742
1720
|
case "ResourceNotFoundException":
|
|
1743
1721
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1744
|
-
throw await
|
|
1722
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1745
1723
|
case "ThrottlingException":
|
|
1746
1724
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1747
|
-
throw await
|
|
1725
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1748
1726
|
case "ValidationException":
|
|
1749
1727
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1750
|
-
throw await
|
|
1728
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1751
1729
|
default:
|
|
1752
1730
|
const parsedBody = parsedOutput.body;
|
|
1753
1731
|
throwDefaultError({
|
|
@@ -1758,9 +1736,9 @@ const deserializeAws_restJson1DeleteAppVersionAppComponentCommandError = async (
|
|
|
1758
1736
|
});
|
|
1759
1737
|
}
|
|
1760
1738
|
};
|
|
1761
|
-
export const
|
|
1739
|
+
export const de_DeleteAppVersionResourceCommand = async (output, context) => {
|
|
1762
1740
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1763
|
-
return
|
|
1741
|
+
return de_DeleteAppVersionResourceCommandError(output, context);
|
|
1764
1742
|
}
|
|
1765
1743
|
const contents = map({
|
|
1766
1744
|
$metadata: deserializeMetadata(output),
|
|
@@ -1773,11 +1751,11 @@ export const deserializeAws_restJson1DeleteAppVersionResourceCommand = async (ou
|
|
|
1773
1751
|
contents.appVersion = __expectString(data.appVersion);
|
|
1774
1752
|
}
|
|
1775
1753
|
if (data.physicalResource != null) {
|
|
1776
|
-
contents.physicalResource =
|
|
1754
|
+
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
1777
1755
|
}
|
|
1778
1756
|
return contents;
|
|
1779
1757
|
};
|
|
1780
|
-
const
|
|
1758
|
+
const de_DeleteAppVersionResourceCommandError = async (output, context) => {
|
|
1781
1759
|
const parsedOutput = {
|
|
1782
1760
|
...output,
|
|
1783
1761
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1786,22 +1764,22 @@ const deserializeAws_restJson1DeleteAppVersionResourceCommandError = async (outp
|
|
|
1786
1764
|
switch (errorCode) {
|
|
1787
1765
|
case "AccessDeniedException":
|
|
1788
1766
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1789
|
-
throw await
|
|
1767
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1790
1768
|
case "ConflictException":
|
|
1791
1769
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1792
|
-
throw await
|
|
1770
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1793
1771
|
case "InternalServerException":
|
|
1794
1772
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1795
|
-
throw await
|
|
1773
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1796
1774
|
case "ResourceNotFoundException":
|
|
1797
1775
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1798
|
-
throw await
|
|
1776
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1799
1777
|
case "ThrottlingException":
|
|
1800
1778
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1801
|
-
throw await
|
|
1779
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1802
1780
|
case "ValidationException":
|
|
1803
1781
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1804
|
-
throw await
|
|
1782
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1805
1783
|
default:
|
|
1806
1784
|
const parsedBody = parsedOutput.body;
|
|
1807
1785
|
throwDefaultError({
|
|
@@ -1812,9 +1790,9 @@ const deserializeAws_restJson1DeleteAppVersionResourceCommandError = async (outp
|
|
|
1812
1790
|
});
|
|
1813
1791
|
}
|
|
1814
1792
|
};
|
|
1815
|
-
export const
|
|
1793
|
+
export const de_DeleteRecommendationTemplateCommand = async (output, context) => {
|
|
1816
1794
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1817
|
-
return
|
|
1795
|
+
return de_DeleteRecommendationTemplateCommandError(output, context);
|
|
1818
1796
|
}
|
|
1819
1797
|
const contents = map({
|
|
1820
1798
|
$metadata: deserializeMetadata(output),
|
|
@@ -1828,7 +1806,7 @@ export const deserializeAws_restJson1DeleteRecommendationTemplateCommand = async
|
|
|
1828
1806
|
}
|
|
1829
1807
|
return contents;
|
|
1830
1808
|
};
|
|
1831
|
-
const
|
|
1809
|
+
const de_DeleteRecommendationTemplateCommandError = async (output, context) => {
|
|
1832
1810
|
const parsedOutput = {
|
|
1833
1811
|
...output,
|
|
1834
1812
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1837,19 +1815,19 @@ const deserializeAws_restJson1DeleteRecommendationTemplateCommandError = async (
|
|
|
1837
1815
|
switch (errorCode) {
|
|
1838
1816
|
case "AccessDeniedException":
|
|
1839
1817
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1840
|
-
throw await
|
|
1818
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1841
1819
|
case "InternalServerException":
|
|
1842
1820
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1843
|
-
throw await
|
|
1821
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1844
1822
|
case "ResourceNotFoundException":
|
|
1845
1823
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1846
|
-
throw await
|
|
1824
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1847
1825
|
case "ThrottlingException":
|
|
1848
1826
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1849
|
-
throw await
|
|
1827
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1850
1828
|
case "ValidationException":
|
|
1851
1829
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1852
|
-
throw await
|
|
1830
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1853
1831
|
default:
|
|
1854
1832
|
const parsedBody = parsedOutput.body;
|
|
1855
1833
|
throwDefaultError({
|
|
@@ -1860,9 +1838,9 @@ const deserializeAws_restJson1DeleteRecommendationTemplateCommandError = async (
|
|
|
1860
1838
|
});
|
|
1861
1839
|
}
|
|
1862
1840
|
};
|
|
1863
|
-
export const
|
|
1841
|
+
export const de_DeleteResiliencyPolicyCommand = async (output, context) => {
|
|
1864
1842
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1865
|
-
return
|
|
1843
|
+
return de_DeleteResiliencyPolicyCommandError(output, context);
|
|
1866
1844
|
}
|
|
1867
1845
|
const contents = map({
|
|
1868
1846
|
$metadata: deserializeMetadata(output),
|
|
@@ -1873,7 +1851,7 @@ export const deserializeAws_restJson1DeleteResiliencyPolicyCommand = async (outp
|
|
|
1873
1851
|
}
|
|
1874
1852
|
return contents;
|
|
1875
1853
|
};
|
|
1876
|
-
const
|
|
1854
|
+
const de_DeleteResiliencyPolicyCommandError = async (output, context) => {
|
|
1877
1855
|
const parsedOutput = {
|
|
1878
1856
|
...output,
|
|
1879
1857
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1882,22 +1860,22 @@ const deserializeAws_restJson1DeleteResiliencyPolicyCommandError = async (output
|
|
|
1882
1860
|
switch (errorCode) {
|
|
1883
1861
|
case "AccessDeniedException":
|
|
1884
1862
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1885
|
-
throw await
|
|
1863
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1886
1864
|
case "ConflictException":
|
|
1887
1865
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
1888
|
-
throw await
|
|
1866
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1889
1867
|
case "InternalServerException":
|
|
1890
1868
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1891
|
-
throw await
|
|
1869
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1892
1870
|
case "ResourceNotFoundException":
|
|
1893
1871
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1894
|
-
throw await
|
|
1872
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1895
1873
|
case "ThrottlingException":
|
|
1896
1874
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1897
|
-
throw await
|
|
1875
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1898
1876
|
case "ValidationException":
|
|
1899
1877
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1900
|
-
throw await
|
|
1878
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1901
1879
|
default:
|
|
1902
1880
|
const parsedBody = parsedOutput.body;
|
|
1903
1881
|
throwDefaultError({
|
|
@@ -1908,20 +1886,20 @@ const deserializeAws_restJson1DeleteResiliencyPolicyCommandError = async (output
|
|
|
1908
1886
|
});
|
|
1909
1887
|
}
|
|
1910
1888
|
};
|
|
1911
|
-
export const
|
|
1889
|
+
export const de_DescribeAppCommand = async (output, context) => {
|
|
1912
1890
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1913
|
-
return
|
|
1891
|
+
return de_DescribeAppCommandError(output, context);
|
|
1914
1892
|
}
|
|
1915
1893
|
const contents = map({
|
|
1916
1894
|
$metadata: deserializeMetadata(output),
|
|
1917
1895
|
});
|
|
1918
1896
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1919
1897
|
if (data.app != null) {
|
|
1920
|
-
contents.app =
|
|
1898
|
+
contents.app = de_App(data.app, context);
|
|
1921
1899
|
}
|
|
1922
1900
|
return contents;
|
|
1923
1901
|
};
|
|
1924
|
-
const
|
|
1902
|
+
const de_DescribeAppCommandError = async (output, context) => {
|
|
1925
1903
|
const parsedOutput = {
|
|
1926
1904
|
...output,
|
|
1927
1905
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1930,19 +1908,19 @@ const deserializeAws_restJson1DescribeAppCommandError = async (output, context)
|
|
|
1930
1908
|
switch (errorCode) {
|
|
1931
1909
|
case "AccessDeniedException":
|
|
1932
1910
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1933
|
-
throw await
|
|
1911
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1934
1912
|
case "InternalServerException":
|
|
1935
1913
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1936
|
-
throw await
|
|
1914
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1937
1915
|
case "ResourceNotFoundException":
|
|
1938
1916
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1939
|
-
throw await
|
|
1917
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1940
1918
|
case "ThrottlingException":
|
|
1941
1919
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1942
|
-
throw await
|
|
1920
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1943
1921
|
case "ValidationException":
|
|
1944
1922
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1945
|
-
throw await
|
|
1923
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1946
1924
|
default:
|
|
1947
1925
|
const parsedBody = parsedOutput.body;
|
|
1948
1926
|
throwDefaultError({
|
|
@@ -1953,20 +1931,20 @@ const deserializeAws_restJson1DescribeAppCommandError = async (output, context)
|
|
|
1953
1931
|
});
|
|
1954
1932
|
}
|
|
1955
1933
|
};
|
|
1956
|
-
export const
|
|
1934
|
+
export const de_DescribeAppAssessmentCommand = async (output, context) => {
|
|
1957
1935
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1958
|
-
return
|
|
1936
|
+
return de_DescribeAppAssessmentCommandError(output, context);
|
|
1959
1937
|
}
|
|
1960
1938
|
const contents = map({
|
|
1961
1939
|
$metadata: deserializeMetadata(output),
|
|
1962
1940
|
});
|
|
1963
1941
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1964
1942
|
if (data.assessment != null) {
|
|
1965
|
-
contents.assessment =
|
|
1943
|
+
contents.assessment = de_AppAssessment(data.assessment, context);
|
|
1966
1944
|
}
|
|
1967
1945
|
return contents;
|
|
1968
1946
|
};
|
|
1969
|
-
const
|
|
1947
|
+
const de_DescribeAppAssessmentCommandError = async (output, context) => {
|
|
1970
1948
|
const parsedOutput = {
|
|
1971
1949
|
...output,
|
|
1972
1950
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1975,19 +1953,19 @@ const deserializeAws_restJson1DescribeAppAssessmentCommandError = async (output,
|
|
|
1975
1953
|
switch (errorCode) {
|
|
1976
1954
|
case "AccessDeniedException":
|
|
1977
1955
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
1978
|
-
throw await
|
|
1956
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1979
1957
|
case "InternalServerException":
|
|
1980
1958
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
1981
|
-
throw await
|
|
1959
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1982
1960
|
case "ResourceNotFoundException":
|
|
1983
1961
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
1984
|
-
throw await
|
|
1962
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1985
1963
|
case "ThrottlingException":
|
|
1986
1964
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
1987
|
-
throw await
|
|
1965
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1988
1966
|
case "ValidationException":
|
|
1989
1967
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
1990
|
-
throw await
|
|
1968
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1991
1969
|
default:
|
|
1992
1970
|
const parsedBody = parsedOutput.body;
|
|
1993
1971
|
throwDefaultError({
|
|
@@ -1998,16 +1976,16 @@ const deserializeAws_restJson1DescribeAppAssessmentCommandError = async (output,
|
|
|
1998
1976
|
});
|
|
1999
1977
|
}
|
|
2000
1978
|
};
|
|
2001
|
-
export const
|
|
1979
|
+
export const de_DescribeAppVersionCommand = async (output, context) => {
|
|
2002
1980
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2003
|
-
return
|
|
1981
|
+
return de_DescribeAppVersionCommandError(output, context);
|
|
2004
1982
|
}
|
|
2005
1983
|
const contents = map({
|
|
2006
1984
|
$metadata: deserializeMetadata(output),
|
|
2007
1985
|
});
|
|
2008
1986
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2009
1987
|
if (data.additionalInfo != null) {
|
|
2010
|
-
contents.additionalInfo =
|
|
1988
|
+
contents.additionalInfo = de_AdditionalInfoMap(data.additionalInfo, context);
|
|
2011
1989
|
}
|
|
2012
1990
|
if (data.appArn != null) {
|
|
2013
1991
|
contents.appArn = __expectString(data.appArn);
|
|
@@ -2017,7 +1995,7 @@ export const deserializeAws_restJson1DescribeAppVersionCommand = async (output,
|
|
|
2017
1995
|
}
|
|
2018
1996
|
return contents;
|
|
2019
1997
|
};
|
|
2020
|
-
const
|
|
1998
|
+
const de_DescribeAppVersionCommandError = async (output, context) => {
|
|
2021
1999
|
const parsedOutput = {
|
|
2022
2000
|
...output,
|
|
2023
2001
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2026,19 +2004,19 @@ const deserializeAws_restJson1DescribeAppVersionCommandError = async (output, co
|
|
|
2026
2004
|
switch (errorCode) {
|
|
2027
2005
|
case "AccessDeniedException":
|
|
2028
2006
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2029
|
-
throw await
|
|
2007
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2030
2008
|
case "InternalServerException":
|
|
2031
2009
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2032
|
-
throw await
|
|
2010
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2033
2011
|
case "ResourceNotFoundException":
|
|
2034
2012
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2035
|
-
throw await
|
|
2013
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2036
2014
|
case "ThrottlingException":
|
|
2037
2015
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2038
|
-
throw await
|
|
2016
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2039
2017
|
case "ValidationException":
|
|
2040
2018
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2041
|
-
throw await
|
|
2019
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2042
2020
|
default:
|
|
2043
2021
|
const parsedBody = parsedOutput.body;
|
|
2044
2022
|
throwDefaultError({
|
|
@@ -2049,9 +2027,9 @@ const deserializeAws_restJson1DescribeAppVersionCommandError = async (output, co
|
|
|
2049
2027
|
});
|
|
2050
2028
|
}
|
|
2051
2029
|
};
|
|
2052
|
-
export const
|
|
2030
|
+
export const de_DescribeAppVersionAppComponentCommand = async (output, context) => {
|
|
2053
2031
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2054
|
-
return
|
|
2032
|
+
return de_DescribeAppVersionAppComponentCommandError(output, context);
|
|
2055
2033
|
}
|
|
2056
2034
|
const contents = map({
|
|
2057
2035
|
$metadata: deserializeMetadata(output),
|
|
@@ -2061,14 +2039,14 @@ export const deserializeAws_restJson1DescribeAppVersionAppComponentCommand = asy
|
|
|
2061
2039
|
contents.appArn = __expectString(data.appArn);
|
|
2062
2040
|
}
|
|
2063
2041
|
if (data.appComponent != null) {
|
|
2064
|
-
contents.appComponent =
|
|
2042
|
+
contents.appComponent = de_AppComponent(data.appComponent, context);
|
|
2065
2043
|
}
|
|
2066
2044
|
if (data.appVersion != null) {
|
|
2067
2045
|
contents.appVersion = __expectString(data.appVersion);
|
|
2068
2046
|
}
|
|
2069
2047
|
return contents;
|
|
2070
2048
|
};
|
|
2071
|
-
const
|
|
2049
|
+
const de_DescribeAppVersionAppComponentCommandError = async (output, context) => {
|
|
2072
2050
|
const parsedOutput = {
|
|
2073
2051
|
...output,
|
|
2074
2052
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2077,22 +2055,22 @@ const deserializeAws_restJson1DescribeAppVersionAppComponentCommandError = async
|
|
|
2077
2055
|
switch (errorCode) {
|
|
2078
2056
|
case "AccessDeniedException":
|
|
2079
2057
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2080
|
-
throw await
|
|
2058
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2081
2059
|
case "ConflictException":
|
|
2082
2060
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2083
|
-
throw await
|
|
2061
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2084
2062
|
case "InternalServerException":
|
|
2085
2063
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2086
|
-
throw await
|
|
2064
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2087
2065
|
case "ResourceNotFoundException":
|
|
2088
2066
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2089
|
-
throw await
|
|
2067
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2090
2068
|
case "ThrottlingException":
|
|
2091
2069
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2092
|
-
throw await
|
|
2070
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2093
2071
|
case "ValidationException":
|
|
2094
2072
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2095
|
-
throw await
|
|
2073
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2096
2074
|
default:
|
|
2097
2075
|
const parsedBody = parsedOutput.body;
|
|
2098
2076
|
throwDefaultError({
|
|
@@ -2103,9 +2081,9 @@ const deserializeAws_restJson1DescribeAppVersionAppComponentCommandError = async
|
|
|
2103
2081
|
});
|
|
2104
2082
|
}
|
|
2105
2083
|
};
|
|
2106
|
-
export const
|
|
2084
|
+
export const de_DescribeAppVersionResourceCommand = async (output, context) => {
|
|
2107
2085
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2108
|
-
return
|
|
2086
|
+
return de_DescribeAppVersionResourceCommandError(output, context);
|
|
2109
2087
|
}
|
|
2110
2088
|
const contents = map({
|
|
2111
2089
|
$metadata: deserializeMetadata(output),
|
|
@@ -2118,11 +2096,11 @@ export const deserializeAws_restJson1DescribeAppVersionResourceCommand = async (
|
|
|
2118
2096
|
contents.appVersion = __expectString(data.appVersion);
|
|
2119
2097
|
}
|
|
2120
2098
|
if (data.physicalResource != null) {
|
|
2121
|
-
contents.physicalResource =
|
|
2099
|
+
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
2122
2100
|
}
|
|
2123
2101
|
return contents;
|
|
2124
2102
|
};
|
|
2125
|
-
const
|
|
2103
|
+
const de_DescribeAppVersionResourceCommandError = async (output, context) => {
|
|
2126
2104
|
const parsedOutput = {
|
|
2127
2105
|
...output,
|
|
2128
2106
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2131,22 +2109,22 @@ const deserializeAws_restJson1DescribeAppVersionResourceCommandError = async (ou
|
|
|
2131
2109
|
switch (errorCode) {
|
|
2132
2110
|
case "AccessDeniedException":
|
|
2133
2111
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2134
|
-
throw await
|
|
2112
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2135
2113
|
case "ConflictException":
|
|
2136
2114
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2137
|
-
throw await
|
|
2115
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2138
2116
|
case "InternalServerException":
|
|
2139
2117
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2140
|
-
throw await
|
|
2118
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2141
2119
|
case "ResourceNotFoundException":
|
|
2142
2120
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2143
|
-
throw await
|
|
2121
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2144
2122
|
case "ThrottlingException":
|
|
2145
2123
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2146
|
-
throw await
|
|
2124
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2147
2125
|
case "ValidationException":
|
|
2148
2126
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2149
|
-
throw await
|
|
2127
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2150
2128
|
default:
|
|
2151
2129
|
const parsedBody = parsedOutput.body;
|
|
2152
2130
|
throwDefaultError({
|
|
@@ -2157,9 +2135,9 @@ const deserializeAws_restJson1DescribeAppVersionResourceCommandError = async (ou
|
|
|
2157
2135
|
});
|
|
2158
2136
|
}
|
|
2159
2137
|
};
|
|
2160
|
-
export const
|
|
2138
|
+
export const de_DescribeAppVersionResourcesResolutionStatusCommand = async (output, context) => {
|
|
2161
2139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2162
|
-
return
|
|
2140
|
+
return de_DescribeAppVersionResourcesResolutionStatusCommandError(output, context);
|
|
2163
2141
|
}
|
|
2164
2142
|
const contents = map({
|
|
2165
2143
|
$metadata: deserializeMetadata(output),
|
|
@@ -2182,7 +2160,7 @@ export const deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatus
|
|
|
2182
2160
|
}
|
|
2183
2161
|
return contents;
|
|
2184
2162
|
};
|
|
2185
|
-
const
|
|
2163
|
+
const de_DescribeAppVersionResourcesResolutionStatusCommandError = async (output, context) => {
|
|
2186
2164
|
const parsedOutput = {
|
|
2187
2165
|
...output,
|
|
2188
2166
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2191,19 +2169,19 @@ const deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand
|
|
|
2191
2169
|
switch (errorCode) {
|
|
2192
2170
|
case "AccessDeniedException":
|
|
2193
2171
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2194
|
-
throw await
|
|
2172
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2195
2173
|
case "InternalServerException":
|
|
2196
2174
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2197
|
-
throw await
|
|
2175
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2198
2176
|
case "ResourceNotFoundException":
|
|
2199
2177
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2200
|
-
throw await
|
|
2178
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2201
2179
|
case "ThrottlingException":
|
|
2202
2180
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2203
|
-
throw await
|
|
2181
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2204
2182
|
case "ValidationException":
|
|
2205
2183
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2206
|
-
throw await
|
|
2184
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2207
2185
|
default:
|
|
2208
2186
|
const parsedBody = parsedOutput.body;
|
|
2209
2187
|
throwDefaultError({
|
|
@@ -2214,9 +2192,9 @@ const deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand
|
|
|
2214
2192
|
});
|
|
2215
2193
|
}
|
|
2216
2194
|
};
|
|
2217
|
-
export const
|
|
2195
|
+
export const de_DescribeAppVersionTemplateCommand = async (output, context) => {
|
|
2218
2196
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2219
|
-
return
|
|
2197
|
+
return de_DescribeAppVersionTemplateCommandError(output, context);
|
|
2220
2198
|
}
|
|
2221
2199
|
const contents = map({
|
|
2222
2200
|
$metadata: deserializeMetadata(output),
|
|
@@ -2233,7 +2211,7 @@ export const deserializeAws_restJson1DescribeAppVersionTemplateCommand = async (
|
|
|
2233
2211
|
}
|
|
2234
2212
|
return contents;
|
|
2235
2213
|
};
|
|
2236
|
-
const
|
|
2214
|
+
const de_DescribeAppVersionTemplateCommandError = async (output, context) => {
|
|
2237
2215
|
const parsedOutput = {
|
|
2238
2216
|
...output,
|
|
2239
2217
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2242,19 +2220,19 @@ const deserializeAws_restJson1DescribeAppVersionTemplateCommandError = async (ou
|
|
|
2242
2220
|
switch (errorCode) {
|
|
2243
2221
|
case "AccessDeniedException":
|
|
2244
2222
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2245
|
-
throw await
|
|
2223
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2246
2224
|
case "InternalServerException":
|
|
2247
2225
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2248
|
-
throw await
|
|
2226
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2249
2227
|
case "ResourceNotFoundException":
|
|
2250
2228
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2251
|
-
throw await
|
|
2229
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2252
2230
|
case "ThrottlingException":
|
|
2253
2231
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2254
|
-
throw await
|
|
2232
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2255
2233
|
case "ValidationException":
|
|
2256
2234
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2257
|
-
throw await
|
|
2235
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2258
2236
|
default:
|
|
2259
2237
|
const parsedBody = parsedOutput.body;
|
|
2260
2238
|
throwDefaultError({
|
|
@@ -2265,9 +2243,9 @@ const deserializeAws_restJson1DescribeAppVersionTemplateCommandError = async (ou
|
|
|
2265
2243
|
});
|
|
2266
2244
|
}
|
|
2267
2245
|
};
|
|
2268
|
-
export const
|
|
2246
|
+
export const de_DescribeDraftAppVersionResourcesImportStatusCommand = async (output, context) => {
|
|
2269
2247
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2270
|
-
return
|
|
2248
|
+
return de_DescribeDraftAppVersionResourcesImportStatusCommandError(output, context);
|
|
2271
2249
|
}
|
|
2272
2250
|
const contents = map({
|
|
2273
2251
|
$metadata: deserializeMetadata(output),
|
|
@@ -2290,7 +2268,7 @@ export const deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatu
|
|
|
2290
2268
|
}
|
|
2291
2269
|
return contents;
|
|
2292
2270
|
};
|
|
2293
|
-
const
|
|
2271
|
+
const de_DescribeDraftAppVersionResourcesImportStatusCommandError = async (output, context) => {
|
|
2294
2272
|
const parsedOutput = {
|
|
2295
2273
|
...output,
|
|
2296
2274
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2299,19 +2277,19 @@ const deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusComman
|
|
|
2299
2277
|
switch (errorCode) {
|
|
2300
2278
|
case "AccessDeniedException":
|
|
2301
2279
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2302
|
-
throw await
|
|
2280
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2303
2281
|
case "InternalServerException":
|
|
2304
2282
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2305
|
-
throw await
|
|
2283
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2306
2284
|
case "ResourceNotFoundException":
|
|
2307
2285
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2308
|
-
throw await
|
|
2286
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2309
2287
|
case "ThrottlingException":
|
|
2310
2288
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2311
|
-
throw await
|
|
2289
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2312
2290
|
case "ValidationException":
|
|
2313
2291
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2314
|
-
throw await
|
|
2292
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2315
2293
|
default:
|
|
2316
2294
|
const parsedBody = parsedOutput.body;
|
|
2317
2295
|
throwDefaultError({
|
|
@@ -2322,20 +2300,20 @@ const deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusComman
|
|
|
2322
2300
|
});
|
|
2323
2301
|
}
|
|
2324
2302
|
};
|
|
2325
|
-
export const
|
|
2303
|
+
export const de_DescribeResiliencyPolicyCommand = async (output, context) => {
|
|
2326
2304
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2327
|
-
return
|
|
2305
|
+
return de_DescribeResiliencyPolicyCommandError(output, context);
|
|
2328
2306
|
}
|
|
2329
2307
|
const contents = map({
|
|
2330
2308
|
$metadata: deserializeMetadata(output),
|
|
2331
2309
|
});
|
|
2332
2310
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2333
2311
|
if (data.policy != null) {
|
|
2334
|
-
contents.policy =
|
|
2312
|
+
contents.policy = de_ResiliencyPolicy(data.policy, context);
|
|
2335
2313
|
}
|
|
2336
2314
|
return contents;
|
|
2337
2315
|
};
|
|
2338
|
-
const
|
|
2316
|
+
const de_DescribeResiliencyPolicyCommandError = async (output, context) => {
|
|
2339
2317
|
const parsedOutput = {
|
|
2340
2318
|
...output,
|
|
2341
2319
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2344,19 +2322,19 @@ const deserializeAws_restJson1DescribeResiliencyPolicyCommandError = async (outp
|
|
|
2344
2322
|
switch (errorCode) {
|
|
2345
2323
|
case "AccessDeniedException":
|
|
2346
2324
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2347
|
-
throw await
|
|
2325
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2348
2326
|
case "InternalServerException":
|
|
2349
2327
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2350
|
-
throw await
|
|
2328
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2351
2329
|
case "ResourceNotFoundException":
|
|
2352
2330
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2353
|
-
throw await
|
|
2331
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2354
2332
|
case "ThrottlingException":
|
|
2355
2333
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2356
|
-
throw await
|
|
2334
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2357
2335
|
case "ValidationException":
|
|
2358
2336
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2359
|
-
throw await
|
|
2337
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2360
2338
|
default:
|
|
2361
2339
|
const parsedBody = parsedOutput.body;
|
|
2362
2340
|
throwDefaultError({
|
|
@@ -2367,9 +2345,9 @@ const deserializeAws_restJson1DescribeResiliencyPolicyCommandError = async (outp
|
|
|
2367
2345
|
});
|
|
2368
2346
|
}
|
|
2369
2347
|
};
|
|
2370
|
-
export const
|
|
2348
|
+
export const de_ImportResourcesToDraftAppVersionCommand = async (output, context) => {
|
|
2371
2349
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2372
|
-
return
|
|
2350
|
+
return de_ImportResourcesToDraftAppVersionCommandError(output, context);
|
|
2373
2351
|
}
|
|
2374
2352
|
const contents = map({
|
|
2375
2353
|
$metadata: deserializeMetadata(output),
|
|
@@ -2382,20 +2360,20 @@ export const deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand = a
|
|
|
2382
2360
|
contents.appVersion = __expectString(data.appVersion);
|
|
2383
2361
|
}
|
|
2384
2362
|
if (data.eksSources != null) {
|
|
2385
|
-
contents.eksSources =
|
|
2363
|
+
contents.eksSources = de_EksSourceList(data.eksSources, context);
|
|
2386
2364
|
}
|
|
2387
2365
|
if (data.sourceArns != null) {
|
|
2388
|
-
contents.sourceArns =
|
|
2366
|
+
contents.sourceArns = de_ArnList(data.sourceArns, context);
|
|
2389
2367
|
}
|
|
2390
2368
|
if (data.status != null) {
|
|
2391
2369
|
contents.status = __expectString(data.status);
|
|
2392
2370
|
}
|
|
2393
2371
|
if (data.terraformSources != null) {
|
|
2394
|
-
contents.terraformSources =
|
|
2372
|
+
contents.terraformSources = de_TerraformSourceList(data.terraformSources, context);
|
|
2395
2373
|
}
|
|
2396
2374
|
return contents;
|
|
2397
2375
|
};
|
|
2398
|
-
const
|
|
2376
|
+
const de_ImportResourcesToDraftAppVersionCommandError = async (output, context) => {
|
|
2399
2377
|
const parsedOutput = {
|
|
2400
2378
|
...output,
|
|
2401
2379
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2404,22 +2382,22 @@ const deserializeAws_restJson1ImportResourcesToDraftAppVersionCommandError = asy
|
|
|
2404
2382
|
switch (errorCode) {
|
|
2405
2383
|
case "AccessDeniedException":
|
|
2406
2384
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2407
|
-
throw await
|
|
2385
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2408
2386
|
case "ConflictException":
|
|
2409
2387
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2410
|
-
throw await
|
|
2388
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2411
2389
|
case "InternalServerException":
|
|
2412
2390
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2413
|
-
throw await
|
|
2391
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2414
2392
|
case "ResourceNotFoundException":
|
|
2415
2393
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2416
|
-
throw await
|
|
2394
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2417
2395
|
case "ThrottlingException":
|
|
2418
2396
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2419
|
-
throw await
|
|
2397
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2420
2398
|
case "ValidationException":
|
|
2421
2399
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2422
|
-
throw await
|
|
2400
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2423
2401
|
default:
|
|
2424
2402
|
const parsedBody = parsedOutput.body;
|
|
2425
2403
|
throwDefaultError({
|
|
@@ -2430,23 +2408,23 @@ const deserializeAws_restJson1ImportResourcesToDraftAppVersionCommandError = asy
|
|
|
2430
2408
|
});
|
|
2431
2409
|
}
|
|
2432
2410
|
};
|
|
2433
|
-
export const
|
|
2411
|
+
export const de_ListAlarmRecommendationsCommand = async (output, context) => {
|
|
2434
2412
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2435
|
-
return
|
|
2413
|
+
return de_ListAlarmRecommendationsCommandError(output, context);
|
|
2436
2414
|
}
|
|
2437
2415
|
const contents = map({
|
|
2438
2416
|
$metadata: deserializeMetadata(output),
|
|
2439
2417
|
});
|
|
2440
2418
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2441
2419
|
if (data.alarmRecommendations != null) {
|
|
2442
|
-
contents.alarmRecommendations =
|
|
2420
|
+
contents.alarmRecommendations = de_AlarmRecommendationList(data.alarmRecommendations, context);
|
|
2443
2421
|
}
|
|
2444
2422
|
if (data.nextToken != null) {
|
|
2445
2423
|
contents.nextToken = __expectString(data.nextToken);
|
|
2446
2424
|
}
|
|
2447
2425
|
return contents;
|
|
2448
2426
|
};
|
|
2449
|
-
const
|
|
2427
|
+
const de_ListAlarmRecommendationsCommandError = async (output, context) => {
|
|
2450
2428
|
const parsedOutput = {
|
|
2451
2429
|
...output,
|
|
2452
2430
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2455,19 +2433,19 @@ const deserializeAws_restJson1ListAlarmRecommendationsCommandError = async (outp
|
|
|
2455
2433
|
switch (errorCode) {
|
|
2456
2434
|
case "AccessDeniedException":
|
|
2457
2435
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2458
|
-
throw await
|
|
2436
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2459
2437
|
case "InternalServerException":
|
|
2460
2438
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2461
|
-
throw await
|
|
2439
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2462
2440
|
case "ResourceNotFoundException":
|
|
2463
2441
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2464
|
-
throw await
|
|
2442
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2465
2443
|
case "ThrottlingException":
|
|
2466
2444
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2467
|
-
throw await
|
|
2445
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2468
2446
|
case "ValidationException":
|
|
2469
2447
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2470
|
-
throw await
|
|
2448
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2471
2449
|
default:
|
|
2472
2450
|
const parsedBody = parsedOutput.body;
|
|
2473
2451
|
throwDefaultError({
|
|
@@ -2478,23 +2456,23 @@ const deserializeAws_restJson1ListAlarmRecommendationsCommandError = async (outp
|
|
|
2478
2456
|
});
|
|
2479
2457
|
}
|
|
2480
2458
|
};
|
|
2481
|
-
export const
|
|
2459
|
+
export const de_ListAppAssessmentsCommand = async (output, context) => {
|
|
2482
2460
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2483
|
-
return
|
|
2461
|
+
return de_ListAppAssessmentsCommandError(output, context);
|
|
2484
2462
|
}
|
|
2485
2463
|
const contents = map({
|
|
2486
2464
|
$metadata: deserializeMetadata(output),
|
|
2487
2465
|
});
|
|
2488
2466
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2489
2467
|
if (data.assessmentSummaries != null) {
|
|
2490
|
-
contents.assessmentSummaries =
|
|
2468
|
+
contents.assessmentSummaries = de_AppAssessmentSummaryList(data.assessmentSummaries, context);
|
|
2491
2469
|
}
|
|
2492
2470
|
if (data.nextToken != null) {
|
|
2493
2471
|
contents.nextToken = __expectString(data.nextToken);
|
|
2494
2472
|
}
|
|
2495
2473
|
return contents;
|
|
2496
2474
|
};
|
|
2497
|
-
const
|
|
2475
|
+
const de_ListAppAssessmentsCommandError = async (output, context) => {
|
|
2498
2476
|
const parsedOutput = {
|
|
2499
2477
|
...output,
|
|
2500
2478
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2503,19 +2481,19 @@ const deserializeAws_restJson1ListAppAssessmentsCommandError = async (output, co
|
|
|
2503
2481
|
switch (errorCode) {
|
|
2504
2482
|
case "AccessDeniedException":
|
|
2505
2483
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2506
|
-
throw await
|
|
2484
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2507
2485
|
case "InternalServerException":
|
|
2508
2486
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2509
|
-
throw await
|
|
2487
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2510
2488
|
case "ResourceNotFoundException":
|
|
2511
2489
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2512
|
-
throw await
|
|
2490
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2513
2491
|
case "ThrottlingException":
|
|
2514
2492
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2515
|
-
throw await
|
|
2493
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2516
2494
|
case "ValidationException":
|
|
2517
2495
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2518
|
-
throw await
|
|
2496
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2519
2497
|
default:
|
|
2520
2498
|
const parsedBody = parsedOutput.body;
|
|
2521
2499
|
throwDefaultError({
|
|
@@ -2526,23 +2504,23 @@ const deserializeAws_restJson1ListAppAssessmentsCommandError = async (output, co
|
|
|
2526
2504
|
});
|
|
2527
2505
|
}
|
|
2528
2506
|
};
|
|
2529
|
-
export const
|
|
2507
|
+
export const de_ListAppComponentCompliancesCommand = async (output, context) => {
|
|
2530
2508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2531
|
-
return
|
|
2509
|
+
return de_ListAppComponentCompliancesCommandError(output, context);
|
|
2532
2510
|
}
|
|
2533
2511
|
const contents = map({
|
|
2534
2512
|
$metadata: deserializeMetadata(output),
|
|
2535
2513
|
});
|
|
2536
2514
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2537
2515
|
if (data.componentCompliances != null) {
|
|
2538
|
-
contents.componentCompliances =
|
|
2516
|
+
contents.componentCompliances = de_ComponentCompliancesList(data.componentCompliances, context);
|
|
2539
2517
|
}
|
|
2540
2518
|
if (data.nextToken != null) {
|
|
2541
2519
|
contents.nextToken = __expectString(data.nextToken);
|
|
2542
2520
|
}
|
|
2543
2521
|
return contents;
|
|
2544
2522
|
};
|
|
2545
|
-
const
|
|
2523
|
+
const de_ListAppComponentCompliancesCommandError = async (output, context) => {
|
|
2546
2524
|
const parsedOutput = {
|
|
2547
2525
|
...output,
|
|
2548
2526
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2551,19 +2529,19 @@ const deserializeAws_restJson1ListAppComponentCompliancesCommandError = async (o
|
|
|
2551
2529
|
switch (errorCode) {
|
|
2552
2530
|
case "AccessDeniedException":
|
|
2553
2531
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2554
|
-
throw await
|
|
2532
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2555
2533
|
case "InternalServerException":
|
|
2556
2534
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2557
|
-
throw await
|
|
2535
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2558
2536
|
case "ResourceNotFoundException":
|
|
2559
2537
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2560
|
-
throw await
|
|
2538
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2561
2539
|
case "ThrottlingException":
|
|
2562
2540
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2563
|
-
throw await
|
|
2541
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2564
2542
|
case "ValidationException":
|
|
2565
2543
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2566
|
-
throw await
|
|
2544
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2567
2545
|
default:
|
|
2568
2546
|
const parsedBody = parsedOutput.body;
|
|
2569
2547
|
throwDefaultError({
|
|
@@ -2574,23 +2552,23 @@ const deserializeAws_restJson1ListAppComponentCompliancesCommandError = async (o
|
|
|
2574
2552
|
});
|
|
2575
2553
|
}
|
|
2576
2554
|
};
|
|
2577
|
-
export const
|
|
2555
|
+
export const de_ListAppComponentRecommendationsCommand = async (output, context) => {
|
|
2578
2556
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2579
|
-
return
|
|
2557
|
+
return de_ListAppComponentRecommendationsCommandError(output, context);
|
|
2580
2558
|
}
|
|
2581
2559
|
const contents = map({
|
|
2582
2560
|
$metadata: deserializeMetadata(output),
|
|
2583
2561
|
});
|
|
2584
2562
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2585
2563
|
if (data.componentRecommendations != null) {
|
|
2586
|
-
contents.componentRecommendations =
|
|
2564
|
+
contents.componentRecommendations = de_ComponentRecommendationList(data.componentRecommendations, context);
|
|
2587
2565
|
}
|
|
2588
2566
|
if (data.nextToken != null) {
|
|
2589
2567
|
contents.nextToken = __expectString(data.nextToken);
|
|
2590
2568
|
}
|
|
2591
2569
|
return contents;
|
|
2592
2570
|
};
|
|
2593
|
-
const
|
|
2571
|
+
const de_ListAppComponentRecommendationsCommandError = async (output, context) => {
|
|
2594
2572
|
const parsedOutput = {
|
|
2595
2573
|
...output,
|
|
2596
2574
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2599,19 +2577,19 @@ const deserializeAws_restJson1ListAppComponentRecommendationsCommandError = asyn
|
|
|
2599
2577
|
switch (errorCode) {
|
|
2600
2578
|
case "AccessDeniedException":
|
|
2601
2579
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2602
|
-
throw await
|
|
2580
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2603
2581
|
case "InternalServerException":
|
|
2604
2582
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2605
|
-
throw await
|
|
2583
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2606
2584
|
case "ResourceNotFoundException":
|
|
2607
2585
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2608
|
-
throw await
|
|
2586
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2609
2587
|
case "ThrottlingException":
|
|
2610
2588
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2611
|
-
throw await
|
|
2589
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2612
2590
|
case "ValidationException":
|
|
2613
2591
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2614
|
-
throw await
|
|
2592
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2615
2593
|
default:
|
|
2616
2594
|
const parsedBody = parsedOutput.body;
|
|
2617
2595
|
throwDefaultError({
|
|
@@ -2622,23 +2600,23 @@ const deserializeAws_restJson1ListAppComponentRecommendationsCommandError = asyn
|
|
|
2622
2600
|
});
|
|
2623
2601
|
}
|
|
2624
2602
|
};
|
|
2625
|
-
export const
|
|
2603
|
+
export const de_ListAppInputSourcesCommand = async (output, context) => {
|
|
2626
2604
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2627
|
-
return
|
|
2605
|
+
return de_ListAppInputSourcesCommandError(output, context);
|
|
2628
2606
|
}
|
|
2629
2607
|
const contents = map({
|
|
2630
2608
|
$metadata: deserializeMetadata(output),
|
|
2631
2609
|
});
|
|
2632
2610
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2633
2611
|
if (data.appInputSources != null) {
|
|
2634
|
-
contents.appInputSources =
|
|
2612
|
+
contents.appInputSources = de_AppInputSourceList(data.appInputSources, context);
|
|
2635
2613
|
}
|
|
2636
2614
|
if (data.nextToken != null) {
|
|
2637
2615
|
contents.nextToken = __expectString(data.nextToken);
|
|
2638
2616
|
}
|
|
2639
2617
|
return contents;
|
|
2640
2618
|
};
|
|
2641
|
-
const
|
|
2619
|
+
const de_ListAppInputSourcesCommandError = async (output, context) => {
|
|
2642
2620
|
const parsedOutput = {
|
|
2643
2621
|
...output,
|
|
2644
2622
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2647,19 +2625,19 @@ const deserializeAws_restJson1ListAppInputSourcesCommandError = async (output, c
|
|
|
2647
2625
|
switch (errorCode) {
|
|
2648
2626
|
case "AccessDeniedException":
|
|
2649
2627
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2650
|
-
throw await
|
|
2628
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2651
2629
|
case "InternalServerException":
|
|
2652
2630
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2653
|
-
throw await
|
|
2631
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2654
2632
|
case "ResourceNotFoundException":
|
|
2655
2633
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2656
|
-
throw await
|
|
2634
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2657
2635
|
case "ThrottlingException":
|
|
2658
2636
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2659
|
-
throw await
|
|
2637
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2660
2638
|
case "ValidationException":
|
|
2661
2639
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2662
|
-
throw await
|
|
2640
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2663
2641
|
default:
|
|
2664
2642
|
const parsedBody = parsedOutput.body;
|
|
2665
2643
|
throwDefaultError({
|
|
@@ -2670,23 +2648,23 @@ const deserializeAws_restJson1ListAppInputSourcesCommandError = async (output, c
|
|
|
2670
2648
|
});
|
|
2671
2649
|
}
|
|
2672
2650
|
};
|
|
2673
|
-
export const
|
|
2651
|
+
export const de_ListAppsCommand = async (output, context) => {
|
|
2674
2652
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2675
|
-
return
|
|
2653
|
+
return de_ListAppsCommandError(output, context);
|
|
2676
2654
|
}
|
|
2677
2655
|
const contents = map({
|
|
2678
2656
|
$metadata: deserializeMetadata(output),
|
|
2679
2657
|
});
|
|
2680
2658
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2681
2659
|
if (data.appSummaries != null) {
|
|
2682
|
-
contents.appSummaries =
|
|
2660
|
+
contents.appSummaries = de_AppSummaryList(data.appSummaries, context);
|
|
2683
2661
|
}
|
|
2684
2662
|
if (data.nextToken != null) {
|
|
2685
2663
|
contents.nextToken = __expectString(data.nextToken);
|
|
2686
2664
|
}
|
|
2687
2665
|
return contents;
|
|
2688
2666
|
};
|
|
2689
|
-
const
|
|
2667
|
+
const de_ListAppsCommandError = async (output, context) => {
|
|
2690
2668
|
const parsedOutput = {
|
|
2691
2669
|
...output,
|
|
2692
2670
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2695,16 +2673,16 @@ const deserializeAws_restJson1ListAppsCommandError = async (output, context) =>
|
|
|
2695
2673
|
switch (errorCode) {
|
|
2696
2674
|
case "AccessDeniedException":
|
|
2697
2675
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2698
|
-
throw await
|
|
2676
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2699
2677
|
case "InternalServerException":
|
|
2700
2678
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2701
|
-
throw await
|
|
2679
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2702
2680
|
case "ThrottlingException":
|
|
2703
2681
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2704
|
-
throw await
|
|
2682
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2705
2683
|
case "ValidationException":
|
|
2706
2684
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2707
|
-
throw await
|
|
2685
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2708
2686
|
default:
|
|
2709
2687
|
const parsedBody = parsedOutput.body;
|
|
2710
2688
|
throwDefaultError({
|
|
@@ -2715,9 +2693,9 @@ const deserializeAws_restJson1ListAppsCommandError = async (output, context) =>
|
|
|
2715
2693
|
});
|
|
2716
2694
|
}
|
|
2717
2695
|
};
|
|
2718
|
-
export const
|
|
2696
|
+
export const de_ListAppVersionAppComponentsCommand = async (output, context) => {
|
|
2719
2697
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2720
|
-
return
|
|
2698
|
+
return de_ListAppVersionAppComponentsCommandError(output, context);
|
|
2721
2699
|
}
|
|
2722
2700
|
const contents = map({
|
|
2723
2701
|
$metadata: deserializeMetadata(output),
|
|
@@ -2727,7 +2705,7 @@ export const deserializeAws_restJson1ListAppVersionAppComponentsCommand = async
|
|
|
2727
2705
|
contents.appArn = __expectString(data.appArn);
|
|
2728
2706
|
}
|
|
2729
2707
|
if (data.appComponents != null) {
|
|
2730
|
-
contents.appComponents =
|
|
2708
|
+
contents.appComponents = de_AppComponentList(data.appComponents, context);
|
|
2731
2709
|
}
|
|
2732
2710
|
if (data.appVersion != null) {
|
|
2733
2711
|
contents.appVersion = __expectString(data.appVersion);
|
|
@@ -2737,7 +2715,7 @@ export const deserializeAws_restJson1ListAppVersionAppComponentsCommand = async
|
|
|
2737
2715
|
}
|
|
2738
2716
|
return contents;
|
|
2739
2717
|
};
|
|
2740
|
-
const
|
|
2718
|
+
const de_ListAppVersionAppComponentsCommandError = async (output, context) => {
|
|
2741
2719
|
const parsedOutput = {
|
|
2742
2720
|
...output,
|
|
2743
2721
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2746,22 +2724,22 @@ const deserializeAws_restJson1ListAppVersionAppComponentsCommandError = async (o
|
|
|
2746
2724
|
switch (errorCode) {
|
|
2747
2725
|
case "AccessDeniedException":
|
|
2748
2726
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2749
|
-
throw await
|
|
2727
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2750
2728
|
case "ConflictException":
|
|
2751
2729
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2752
|
-
throw await
|
|
2730
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2753
2731
|
case "InternalServerException":
|
|
2754
2732
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2755
|
-
throw await
|
|
2733
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2756
2734
|
case "ResourceNotFoundException":
|
|
2757
2735
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2758
|
-
throw await
|
|
2736
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2759
2737
|
case "ThrottlingException":
|
|
2760
2738
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2761
|
-
throw await
|
|
2739
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2762
2740
|
case "ValidationException":
|
|
2763
2741
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2764
|
-
throw await
|
|
2742
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2765
2743
|
default:
|
|
2766
2744
|
const parsedBody = parsedOutput.body;
|
|
2767
2745
|
throwDefaultError({
|
|
@@ -2772,9 +2750,9 @@ const deserializeAws_restJson1ListAppVersionAppComponentsCommandError = async (o
|
|
|
2772
2750
|
});
|
|
2773
2751
|
}
|
|
2774
2752
|
};
|
|
2775
|
-
export const
|
|
2753
|
+
export const de_ListAppVersionResourceMappingsCommand = async (output, context) => {
|
|
2776
2754
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2777
|
-
return
|
|
2755
|
+
return de_ListAppVersionResourceMappingsCommandError(output, context);
|
|
2778
2756
|
}
|
|
2779
2757
|
const contents = map({
|
|
2780
2758
|
$metadata: deserializeMetadata(output),
|
|
@@ -2784,11 +2762,11 @@ export const deserializeAws_restJson1ListAppVersionResourceMappingsCommand = asy
|
|
|
2784
2762
|
contents.nextToken = __expectString(data.nextToken);
|
|
2785
2763
|
}
|
|
2786
2764
|
if (data.resourceMappings != null) {
|
|
2787
|
-
contents.resourceMappings =
|
|
2765
|
+
contents.resourceMappings = de_ResourceMappingList(data.resourceMappings, context);
|
|
2788
2766
|
}
|
|
2789
2767
|
return contents;
|
|
2790
2768
|
};
|
|
2791
|
-
const
|
|
2769
|
+
const de_ListAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
2792
2770
|
const parsedOutput = {
|
|
2793
2771
|
...output,
|
|
2794
2772
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2797,19 +2775,19 @@ const deserializeAws_restJson1ListAppVersionResourceMappingsCommandError = async
|
|
|
2797
2775
|
switch (errorCode) {
|
|
2798
2776
|
case "AccessDeniedException":
|
|
2799
2777
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2800
|
-
throw await
|
|
2778
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2801
2779
|
case "InternalServerException":
|
|
2802
2780
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2803
|
-
throw await
|
|
2781
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2804
2782
|
case "ResourceNotFoundException":
|
|
2805
2783
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2806
|
-
throw await
|
|
2784
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2807
2785
|
case "ThrottlingException":
|
|
2808
2786
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2809
|
-
throw await
|
|
2787
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2810
2788
|
case "ValidationException":
|
|
2811
2789
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2812
|
-
throw await
|
|
2790
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2813
2791
|
default:
|
|
2814
2792
|
const parsedBody = parsedOutput.body;
|
|
2815
2793
|
throwDefaultError({
|
|
@@ -2820,9 +2798,9 @@ const deserializeAws_restJson1ListAppVersionResourceMappingsCommandError = async
|
|
|
2820
2798
|
});
|
|
2821
2799
|
}
|
|
2822
2800
|
};
|
|
2823
|
-
export const
|
|
2801
|
+
export const de_ListAppVersionResourcesCommand = async (output, context) => {
|
|
2824
2802
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2825
|
-
return
|
|
2803
|
+
return de_ListAppVersionResourcesCommandError(output, context);
|
|
2826
2804
|
}
|
|
2827
2805
|
const contents = map({
|
|
2828
2806
|
$metadata: deserializeMetadata(output),
|
|
@@ -2832,14 +2810,14 @@ export const deserializeAws_restJson1ListAppVersionResourcesCommand = async (out
|
|
|
2832
2810
|
contents.nextToken = __expectString(data.nextToken);
|
|
2833
2811
|
}
|
|
2834
2812
|
if (data.physicalResources != null) {
|
|
2835
|
-
contents.physicalResources =
|
|
2813
|
+
contents.physicalResources = de_PhysicalResourceList(data.physicalResources, context);
|
|
2836
2814
|
}
|
|
2837
2815
|
if (data.resolutionId != null) {
|
|
2838
2816
|
contents.resolutionId = __expectString(data.resolutionId);
|
|
2839
2817
|
}
|
|
2840
2818
|
return contents;
|
|
2841
2819
|
};
|
|
2842
|
-
const
|
|
2820
|
+
const de_ListAppVersionResourcesCommandError = async (output, context) => {
|
|
2843
2821
|
const parsedOutput = {
|
|
2844
2822
|
...output,
|
|
2845
2823
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2848,22 +2826,22 @@ const deserializeAws_restJson1ListAppVersionResourcesCommandError = async (outpu
|
|
|
2848
2826
|
switch (errorCode) {
|
|
2849
2827
|
case "AccessDeniedException":
|
|
2850
2828
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2851
|
-
throw await
|
|
2829
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2852
2830
|
case "ConflictException":
|
|
2853
2831
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2854
|
-
throw await
|
|
2832
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2855
2833
|
case "InternalServerException":
|
|
2856
2834
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2857
|
-
throw await
|
|
2835
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2858
2836
|
case "ResourceNotFoundException":
|
|
2859
2837
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2860
|
-
throw await
|
|
2838
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2861
2839
|
case "ThrottlingException":
|
|
2862
2840
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2863
|
-
throw await
|
|
2841
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2864
2842
|
case "ValidationException":
|
|
2865
2843
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2866
|
-
throw await
|
|
2844
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2867
2845
|
default:
|
|
2868
2846
|
const parsedBody = parsedOutput.body;
|
|
2869
2847
|
throwDefaultError({
|
|
@@ -2874,23 +2852,23 @@ const deserializeAws_restJson1ListAppVersionResourcesCommandError = async (outpu
|
|
|
2874
2852
|
});
|
|
2875
2853
|
}
|
|
2876
2854
|
};
|
|
2877
|
-
export const
|
|
2855
|
+
export const de_ListAppVersionsCommand = async (output, context) => {
|
|
2878
2856
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2879
|
-
return
|
|
2857
|
+
return de_ListAppVersionsCommandError(output, context);
|
|
2880
2858
|
}
|
|
2881
2859
|
const contents = map({
|
|
2882
2860
|
$metadata: deserializeMetadata(output),
|
|
2883
2861
|
});
|
|
2884
2862
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2885
2863
|
if (data.appVersions != null) {
|
|
2886
|
-
contents.appVersions =
|
|
2864
|
+
contents.appVersions = de_AppVersionList(data.appVersions, context);
|
|
2887
2865
|
}
|
|
2888
2866
|
if (data.nextToken != null) {
|
|
2889
2867
|
contents.nextToken = __expectString(data.nextToken);
|
|
2890
2868
|
}
|
|
2891
2869
|
return contents;
|
|
2892
2870
|
};
|
|
2893
|
-
const
|
|
2871
|
+
const de_ListAppVersionsCommandError = async (output, context) => {
|
|
2894
2872
|
const parsedOutput = {
|
|
2895
2873
|
...output,
|
|
2896
2874
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2899,16 +2877,16 @@ const deserializeAws_restJson1ListAppVersionsCommandError = async (output, conte
|
|
|
2899
2877
|
switch (errorCode) {
|
|
2900
2878
|
case "AccessDeniedException":
|
|
2901
2879
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2902
|
-
throw await
|
|
2880
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2903
2881
|
case "InternalServerException":
|
|
2904
2882
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2905
|
-
throw await
|
|
2883
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2906
2884
|
case "ResourceNotFoundException":
|
|
2907
2885
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2908
|
-
throw await
|
|
2886
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2909
2887
|
case "ValidationException":
|
|
2910
2888
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2911
|
-
throw await
|
|
2889
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2912
2890
|
default:
|
|
2913
2891
|
const parsedBody = parsedOutput.body;
|
|
2914
2892
|
throwDefaultError({
|
|
@@ -2919,9 +2897,9 @@ const deserializeAws_restJson1ListAppVersionsCommandError = async (output, conte
|
|
|
2919
2897
|
});
|
|
2920
2898
|
}
|
|
2921
2899
|
};
|
|
2922
|
-
export const
|
|
2900
|
+
export const de_ListRecommendationTemplatesCommand = async (output, context) => {
|
|
2923
2901
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2924
|
-
return
|
|
2902
|
+
return de_ListRecommendationTemplatesCommandError(output, context);
|
|
2925
2903
|
}
|
|
2926
2904
|
const contents = map({
|
|
2927
2905
|
$metadata: deserializeMetadata(output),
|
|
@@ -2931,11 +2909,11 @@ export const deserializeAws_restJson1ListRecommendationTemplatesCommand = async
|
|
|
2931
2909
|
contents.nextToken = __expectString(data.nextToken);
|
|
2932
2910
|
}
|
|
2933
2911
|
if (data.recommendationTemplates != null) {
|
|
2934
|
-
contents.recommendationTemplates =
|
|
2912
|
+
contents.recommendationTemplates = de_RecommendationTemplateList(data.recommendationTemplates, context);
|
|
2935
2913
|
}
|
|
2936
2914
|
return contents;
|
|
2937
2915
|
};
|
|
2938
|
-
const
|
|
2916
|
+
const de_ListRecommendationTemplatesCommandError = async (output, context) => {
|
|
2939
2917
|
const parsedOutput = {
|
|
2940
2918
|
...output,
|
|
2941
2919
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2944,16 +2922,16 @@ const deserializeAws_restJson1ListRecommendationTemplatesCommandError = async (o
|
|
|
2944
2922
|
switch (errorCode) {
|
|
2945
2923
|
case "AccessDeniedException":
|
|
2946
2924
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2947
|
-
throw await
|
|
2925
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2948
2926
|
case "InternalServerException":
|
|
2949
2927
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2950
|
-
throw await
|
|
2928
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2951
2929
|
case "ThrottlingException":
|
|
2952
2930
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
2953
|
-
throw await
|
|
2931
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2954
2932
|
case "ValidationException":
|
|
2955
2933
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2956
|
-
throw await
|
|
2934
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2957
2935
|
default:
|
|
2958
2936
|
const parsedBody = parsedOutput.body;
|
|
2959
2937
|
throwDefaultError({
|
|
@@ -2964,9 +2942,9 @@ const deserializeAws_restJson1ListRecommendationTemplatesCommandError = async (o
|
|
|
2964
2942
|
});
|
|
2965
2943
|
}
|
|
2966
2944
|
};
|
|
2967
|
-
export const
|
|
2945
|
+
export const de_ListResiliencyPoliciesCommand = async (output, context) => {
|
|
2968
2946
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2969
|
-
return
|
|
2947
|
+
return de_ListResiliencyPoliciesCommandError(output, context);
|
|
2970
2948
|
}
|
|
2971
2949
|
const contents = map({
|
|
2972
2950
|
$metadata: deserializeMetadata(output),
|
|
@@ -2976,11 +2954,11 @@ export const deserializeAws_restJson1ListResiliencyPoliciesCommand = async (outp
|
|
|
2976
2954
|
contents.nextToken = __expectString(data.nextToken);
|
|
2977
2955
|
}
|
|
2978
2956
|
if (data.resiliencyPolicies != null) {
|
|
2979
|
-
contents.resiliencyPolicies =
|
|
2957
|
+
contents.resiliencyPolicies = de_ResiliencyPolicies(data.resiliencyPolicies, context);
|
|
2980
2958
|
}
|
|
2981
2959
|
return contents;
|
|
2982
2960
|
};
|
|
2983
|
-
const
|
|
2961
|
+
const de_ListResiliencyPoliciesCommandError = async (output, context) => {
|
|
2984
2962
|
const parsedOutput = {
|
|
2985
2963
|
...output,
|
|
2986
2964
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2989,19 +2967,19 @@ const deserializeAws_restJson1ListResiliencyPoliciesCommandError = async (output
|
|
|
2989
2967
|
switch (errorCode) {
|
|
2990
2968
|
case "AccessDeniedException":
|
|
2991
2969
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2992
|
-
throw await
|
|
2970
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2993
2971
|
case "InternalServerException":
|
|
2994
2972
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2995
|
-
throw await
|
|
2973
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2996
2974
|
case "ResourceNotFoundException":
|
|
2997
2975
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
2998
|
-
throw await
|
|
2976
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2999
2977
|
case "ThrottlingException":
|
|
3000
2978
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3001
|
-
throw await
|
|
2979
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3002
2980
|
case "ValidationException":
|
|
3003
2981
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3004
|
-
throw await
|
|
2982
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3005
2983
|
default:
|
|
3006
2984
|
const parsedBody = parsedOutput.body;
|
|
3007
2985
|
throwDefaultError({
|
|
@@ -3012,9 +2990,9 @@ const deserializeAws_restJson1ListResiliencyPoliciesCommandError = async (output
|
|
|
3012
2990
|
});
|
|
3013
2991
|
}
|
|
3014
2992
|
};
|
|
3015
|
-
export const
|
|
2993
|
+
export const de_ListSopRecommendationsCommand = async (output, context) => {
|
|
3016
2994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3017
|
-
return
|
|
2995
|
+
return de_ListSopRecommendationsCommandError(output, context);
|
|
3018
2996
|
}
|
|
3019
2997
|
const contents = map({
|
|
3020
2998
|
$metadata: deserializeMetadata(output),
|
|
@@ -3024,11 +3002,11 @@ export const deserializeAws_restJson1ListSopRecommendationsCommand = async (outp
|
|
|
3024
3002
|
contents.nextToken = __expectString(data.nextToken);
|
|
3025
3003
|
}
|
|
3026
3004
|
if (data.sopRecommendations != null) {
|
|
3027
|
-
contents.sopRecommendations =
|
|
3005
|
+
contents.sopRecommendations = de_SopRecommendationList(data.sopRecommendations, context);
|
|
3028
3006
|
}
|
|
3029
3007
|
return contents;
|
|
3030
3008
|
};
|
|
3031
|
-
const
|
|
3009
|
+
const de_ListSopRecommendationsCommandError = async (output, context) => {
|
|
3032
3010
|
const parsedOutput = {
|
|
3033
3011
|
...output,
|
|
3034
3012
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3037,22 +3015,22 @@ const deserializeAws_restJson1ListSopRecommendationsCommandError = async (output
|
|
|
3037
3015
|
switch (errorCode) {
|
|
3038
3016
|
case "AccessDeniedException":
|
|
3039
3017
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3040
|
-
throw await
|
|
3018
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3041
3019
|
case "ConflictException":
|
|
3042
3020
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3043
|
-
throw await
|
|
3021
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3044
3022
|
case "InternalServerException":
|
|
3045
3023
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3046
|
-
throw await
|
|
3024
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3047
3025
|
case "ResourceNotFoundException":
|
|
3048
3026
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3049
|
-
throw await
|
|
3027
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3050
3028
|
case "ThrottlingException":
|
|
3051
3029
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3052
|
-
throw await
|
|
3030
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3053
3031
|
case "ValidationException":
|
|
3054
3032
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3055
|
-
throw await
|
|
3033
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3056
3034
|
default:
|
|
3057
3035
|
const parsedBody = parsedOutput.body;
|
|
3058
3036
|
throwDefaultError({
|
|
@@ -3063,9 +3041,9 @@ const deserializeAws_restJson1ListSopRecommendationsCommandError = async (output
|
|
|
3063
3041
|
});
|
|
3064
3042
|
}
|
|
3065
3043
|
};
|
|
3066
|
-
export const
|
|
3044
|
+
export const de_ListSuggestedResiliencyPoliciesCommand = async (output, context) => {
|
|
3067
3045
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3068
|
-
return
|
|
3046
|
+
return de_ListSuggestedResiliencyPoliciesCommandError(output, context);
|
|
3069
3047
|
}
|
|
3070
3048
|
const contents = map({
|
|
3071
3049
|
$metadata: deserializeMetadata(output),
|
|
@@ -3075,11 +3053,11 @@ export const deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommand = as
|
|
|
3075
3053
|
contents.nextToken = __expectString(data.nextToken);
|
|
3076
3054
|
}
|
|
3077
3055
|
if (data.resiliencyPolicies != null) {
|
|
3078
|
-
contents.resiliencyPolicies =
|
|
3056
|
+
contents.resiliencyPolicies = de_ResiliencyPolicies(data.resiliencyPolicies, context);
|
|
3079
3057
|
}
|
|
3080
3058
|
return contents;
|
|
3081
3059
|
};
|
|
3082
|
-
const
|
|
3060
|
+
const de_ListSuggestedResiliencyPoliciesCommandError = async (output, context) => {
|
|
3083
3061
|
const parsedOutput = {
|
|
3084
3062
|
...output,
|
|
3085
3063
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3088,19 +3066,19 @@ const deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommandError = asyn
|
|
|
3088
3066
|
switch (errorCode) {
|
|
3089
3067
|
case "AccessDeniedException":
|
|
3090
3068
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3091
|
-
throw await
|
|
3069
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3092
3070
|
case "InternalServerException":
|
|
3093
3071
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3094
|
-
throw await
|
|
3072
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3095
3073
|
case "ResourceNotFoundException":
|
|
3096
3074
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3097
|
-
throw await
|
|
3075
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3098
3076
|
case "ThrottlingException":
|
|
3099
3077
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3100
|
-
throw await
|
|
3078
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3101
3079
|
case "ValidationException":
|
|
3102
3080
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3103
|
-
throw await
|
|
3081
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3104
3082
|
default:
|
|
3105
3083
|
const parsedBody = parsedOutput.body;
|
|
3106
3084
|
throwDefaultError({
|
|
@@ -3111,20 +3089,20 @@ const deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommandError = asyn
|
|
|
3111
3089
|
});
|
|
3112
3090
|
}
|
|
3113
3091
|
};
|
|
3114
|
-
export const
|
|
3092
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
3115
3093
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3116
|
-
return
|
|
3094
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
3117
3095
|
}
|
|
3118
3096
|
const contents = map({
|
|
3119
3097
|
$metadata: deserializeMetadata(output),
|
|
3120
3098
|
});
|
|
3121
3099
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3122
3100
|
if (data.tags != null) {
|
|
3123
|
-
contents.tags =
|
|
3101
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
3124
3102
|
}
|
|
3125
3103
|
return contents;
|
|
3126
3104
|
};
|
|
3127
|
-
const
|
|
3105
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
3128
3106
|
const parsedOutput = {
|
|
3129
3107
|
...output,
|
|
3130
3108
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3133,19 +3111,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3133
3111
|
switch (errorCode) {
|
|
3134
3112
|
case "AccessDeniedException":
|
|
3135
3113
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3136
|
-
throw await
|
|
3114
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3137
3115
|
case "InternalServerException":
|
|
3138
3116
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3139
|
-
throw await
|
|
3117
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3140
3118
|
case "ResourceNotFoundException":
|
|
3141
3119
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3142
|
-
throw await
|
|
3120
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3143
3121
|
case "ThrottlingException":
|
|
3144
3122
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3145
|
-
throw await
|
|
3123
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3146
3124
|
case "ValidationException":
|
|
3147
3125
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3148
|
-
throw await
|
|
3126
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3149
3127
|
default:
|
|
3150
3128
|
const parsedBody = parsedOutput.body;
|
|
3151
3129
|
throwDefaultError({
|
|
@@ -3156,9 +3134,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3156
3134
|
});
|
|
3157
3135
|
}
|
|
3158
3136
|
};
|
|
3159
|
-
export const
|
|
3137
|
+
export const de_ListTestRecommendationsCommand = async (output, context) => {
|
|
3160
3138
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3161
|
-
return
|
|
3139
|
+
return de_ListTestRecommendationsCommandError(output, context);
|
|
3162
3140
|
}
|
|
3163
3141
|
const contents = map({
|
|
3164
3142
|
$metadata: deserializeMetadata(output),
|
|
@@ -3168,11 +3146,11 @@ export const deserializeAws_restJson1ListTestRecommendationsCommand = async (out
|
|
|
3168
3146
|
contents.nextToken = __expectString(data.nextToken);
|
|
3169
3147
|
}
|
|
3170
3148
|
if (data.testRecommendations != null) {
|
|
3171
|
-
contents.testRecommendations =
|
|
3149
|
+
contents.testRecommendations = de_TestRecommendationList(data.testRecommendations, context);
|
|
3172
3150
|
}
|
|
3173
3151
|
return contents;
|
|
3174
3152
|
};
|
|
3175
|
-
const
|
|
3153
|
+
const de_ListTestRecommendationsCommandError = async (output, context) => {
|
|
3176
3154
|
const parsedOutput = {
|
|
3177
3155
|
...output,
|
|
3178
3156
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3181,22 +3159,22 @@ const deserializeAws_restJson1ListTestRecommendationsCommandError = async (outpu
|
|
|
3181
3159
|
switch (errorCode) {
|
|
3182
3160
|
case "AccessDeniedException":
|
|
3183
3161
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3184
|
-
throw await
|
|
3162
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3185
3163
|
case "ConflictException":
|
|
3186
3164
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3187
|
-
throw await
|
|
3165
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3188
3166
|
case "InternalServerException":
|
|
3189
3167
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3190
|
-
throw await
|
|
3168
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3191
3169
|
case "ResourceNotFoundException":
|
|
3192
3170
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3193
|
-
throw await
|
|
3171
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3194
3172
|
case "ThrottlingException":
|
|
3195
3173
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3196
|
-
throw await
|
|
3174
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3197
3175
|
case "ValidationException":
|
|
3198
3176
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3199
|
-
throw await
|
|
3177
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3200
3178
|
default:
|
|
3201
3179
|
const parsedBody = parsedOutput.body;
|
|
3202
3180
|
throwDefaultError({
|
|
@@ -3207,9 +3185,9 @@ const deserializeAws_restJson1ListTestRecommendationsCommandError = async (outpu
|
|
|
3207
3185
|
});
|
|
3208
3186
|
}
|
|
3209
3187
|
};
|
|
3210
|
-
export const
|
|
3188
|
+
export const de_ListUnsupportedAppVersionResourcesCommand = async (output, context) => {
|
|
3211
3189
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3212
|
-
return
|
|
3190
|
+
return de_ListUnsupportedAppVersionResourcesCommandError(output, context);
|
|
3213
3191
|
}
|
|
3214
3192
|
const contents = map({
|
|
3215
3193
|
$metadata: deserializeMetadata(output),
|
|
@@ -3222,11 +3200,11 @@ export const deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand =
|
|
|
3222
3200
|
contents.resolutionId = __expectString(data.resolutionId);
|
|
3223
3201
|
}
|
|
3224
3202
|
if (data.unsupportedResources != null) {
|
|
3225
|
-
contents.unsupportedResources =
|
|
3203
|
+
contents.unsupportedResources = de_UnsupportedResourceList(data.unsupportedResources, context);
|
|
3226
3204
|
}
|
|
3227
3205
|
return contents;
|
|
3228
3206
|
};
|
|
3229
|
-
const
|
|
3207
|
+
const de_ListUnsupportedAppVersionResourcesCommandError = async (output, context) => {
|
|
3230
3208
|
const parsedOutput = {
|
|
3231
3209
|
...output,
|
|
3232
3210
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3235,22 +3213,22 @@ const deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommandError = a
|
|
|
3235
3213
|
switch (errorCode) {
|
|
3236
3214
|
case "AccessDeniedException":
|
|
3237
3215
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3238
|
-
throw await
|
|
3216
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3239
3217
|
case "ConflictException":
|
|
3240
3218
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3241
|
-
throw await
|
|
3219
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3242
3220
|
case "InternalServerException":
|
|
3243
3221
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3244
|
-
throw await
|
|
3222
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3245
3223
|
case "ResourceNotFoundException":
|
|
3246
3224
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3247
|
-
throw await
|
|
3225
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3248
3226
|
case "ThrottlingException":
|
|
3249
3227
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3250
|
-
throw await
|
|
3228
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3251
3229
|
case "ValidationException":
|
|
3252
3230
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3253
|
-
throw await
|
|
3231
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3254
3232
|
default:
|
|
3255
3233
|
const parsedBody = parsedOutput.body;
|
|
3256
3234
|
throwDefaultError({
|
|
@@ -3261,9 +3239,9 @@ const deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommandError = a
|
|
|
3261
3239
|
});
|
|
3262
3240
|
}
|
|
3263
3241
|
};
|
|
3264
|
-
export const
|
|
3242
|
+
export const de_PublishAppVersionCommand = async (output, context) => {
|
|
3265
3243
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3266
|
-
return
|
|
3244
|
+
return de_PublishAppVersionCommandError(output, context);
|
|
3267
3245
|
}
|
|
3268
3246
|
const contents = map({
|
|
3269
3247
|
$metadata: deserializeMetadata(output),
|
|
@@ -3277,7 +3255,7 @@ export const deserializeAws_restJson1PublishAppVersionCommand = async (output, c
|
|
|
3277
3255
|
}
|
|
3278
3256
|
return contents;
|
|
3279
3257
|
};
|
|
3280
|
-
const
|
|
3258
|
+
const de_PublishAppVersionCommandError = async (output, context) => {
|
|
3281
3259
|
const parsedOutput = {
|
|
3282
3260
|
...output,
|
|
3283
3261
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3286,22 +3264,22 @@ const deserializeAws_restJson1PublishAppVersionCommandError = async (output, con
|
|
|
3286
3264
|
switch (errorCode) {
|
|
3287
3265
|
case "AccessDeniedException":
|
|
3288
3266
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3289
|
-
throw await
|
|
3267
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3290
3268
|
case "ConflictException":
|
|
3291
3269
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3292
|
-
throw await
|
|
3270
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3293
3271
|
case "InternalServerException":
|
|
3294
3272
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3295
|
-
throw await
|
|
3273
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3296
3274
|
case "ResourceNotFoundException":
|
|
3297
3275
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3298
|
-
throw await
|
|
3276
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3299
3277
|
case "ThrottlingException":
|
|
3300
3278
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3301
|
-
throw await
|
|
3279
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3302
3280
|
case "ValidationException":
|
|
3303
3281
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3304
|
-
throw await
|
|
3282
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3305
3283
|
default:
|
|
3306
3284
|
const parsedBody = parsedOutput.body;
|
|
3307
3285
|
throwDefaultError({
|
|
@@ -3312,9 +3290,9 @@ const deserializeAws_restJson1PublishAppVersionCommandError = async (output, con
|
|
|
3312
3290
|
});
|
|
3313
3291
|
}
|
|
3314
3292
|
};
|
|
3315
|
-
export const
|
|
3293
|
+
export const de_PutDraftAppVersionTemplateCommand = async (output, context) => {
|
|
3316
3294
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3317
|
-
return
|
|
3295
|
+
return de_PutDraftAppVersionTemplateCommandError(output, context);
|
|
3318
3296
|
}
|
|
3319
3297
|
const contents = map({
|
|
3320
3298
|
$metadata: deserializeMetadata(output),
|
|
@@ -3328,7 +3306,7 @@ export const deserializeAws_restJson1PutDraftAppVersionTemplateCommand = async (
|
|
|
3328
3306
|
}
|
|
3329
3307
|
return contents;
|
|
3330
3308
|
};
|
|
3331
|
-
const
|
|
3309
|
+
const de_PutDraftAppVersionTemplateCommandError = async (output, context) => {
|
|
3332
3310
|
const parsedOutput = {
|
|
3333
3311
|
...output,
|
|
3334
3312
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3337,22 +3315,22 @@ const deserializeAws_restJson1PutDraftAppVersionTemplateCommandError = async (ou
|
|
|
3337
3315
|
switch (errorCode) {
|
|
3338
3316
|
case "AccessDeniedException":
|
|
3339
3317
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3340
|
-
throw await
|
|
3318
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3341
3319
|
case "ConflictException":
|
|
3342
3320
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3343
|
-
throw await
|
|
3321
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3344
3322
|
case "InternalServerException":
|
|
3345
3323
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3346
|
-
throw await
|
|
3324
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3347
3325
|
case "ResourceNotFoundException":
|
|
3348
3326
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3349
|
-
throw await
|
|
3327
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3350
3328
|
case "ThrottlingException":
|
|
3351
3329
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3352
|
-
throw await
|
|
3330
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3353
3331
|
case "ValidationException":
|
|
3354
3332
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3355
|
-
throw await
|
|
3333
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3356
3334
|
default:
|
|
3357
3335
|
const parsedBody = parsedOutput.body;
|
|
3358
3336
|
throwDefaultError({
|
|
@@ -3363,9 +3341,9 @@ const deserializeAws_restJson1PutDraftAppVersionTemplateCommandError = async (ou
|
|
|
3363
3341
|
});
|
|
3364
3342
|
}
|
|
3365
3343
|
};
|
|
3366
|
-
export const
|
|
3344
|
+
export const de_RemoveDraftAppVersionResourceMappingsCommand = async (output, context) => {
|
|
3367
3345
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3368
|
-
return
|
|
3346
|
+
return de_RemoveDraftAppVersionResourceMappingsCommandError(output, context);
|
|
3369
3347
|
}
|
|
3370
3348
|
const contents = map({
|
|
3371
3349
|
$metadata: deserializeMetadata(output),
|
|
@@ -3379,7 +3357,7 @@ export const deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsComman
|
|
|
3379
3357
|
}
|
|
3380
3358
|
return contents;
|
|
3381
3359
|
};
|
|
3382
|
-
const
|
|
3360
|
+
const de_RemoveDraftAppVersionResourceMappingsCommandError = async (output, context) => {
|
|
3383
3361
|
const parsedOutput = {
|
|
3384
3362
|
...output,
|
|
3385
3363
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3388,22 +3366,22 @@ const deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommandError
|
|
|
3388
3366
|
switch (errorCode) {
|
|
3389
3367
|
case "AccessDeniedException":
|
|
3390
3368
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3391
|
-
throw await
|
|
3369
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3392
3370
|
case "ConflictException":
|
|
3393
3371
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3394
|
-
throw await
|
|
3372
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3395
3373
|
case "InternalServerException":
|
|
3396
3374
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3397
|
-
throw await
|
|
3375
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3398
3376
|
case "ResourceNotFoundException":
|
|
3399
3377
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3400
|
-
throw await
|
|
3378
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3401
3379
|
case "ThrottlingException":
|
|
3402
3380
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3403
|
-
throw await
|
|
3381
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3404
3382
|
case "ValidationException":
|
|
3405
3383
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3406
|
-
throw await
|
|
3384
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3407
3385
|
default:
|
|
3408
3386
|
const parsedBody = parsedOutput.body;
|
|
3409
3387
|
throwDefaultError({
|
|
@@ -3414,9 +3392,9 @@ const deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommandError
|
|
|
3414
3392
|
});
|
|
3415
3393
|
}
|
|
3416
3394
|
};
|
|
3417
|
-
export const
|
|
3395
|
+
export const de_ResolveAppVersionResourcesCommand = async (output, context) => {
|
|
3418
3396
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3419
|
-
return
|
|
3397
|
+
return de_ResolveAppVersionResourcesCommandError(output, context);
|
|
3420
3398
|
}
|
|
3421
3399
|
const contents = map({
|
|
3422
3400
|
$metadata: deserializeMetadata(output),
|
|
@@ -3436,7 +3414,7 @@ export const deserializeAws_restJson1ResolveAppVersionResourcesCommand = async (
|
|
|
3436
3414
|
}
|
|
3437
3415
|
return contents;
|
|
3438
3416
|
};
|
|
3439
|
-
const
|
|
3417
|
+
const de_ResolveAppVersionResourcesCommandError = async (output, context) => {
|
|
3440
3418
|
const parsedOutput = {
|
|
3441
3419
|
...output,
|
|
3442
3420
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3445,22 +3423,22 @@ const deserializeAws_restJson1ResolveAppVersionResourcesCommandError = async (ou
|
|
|
3445
3423
|
switch (errorCode) {
|
|
3446
3424
|
case "AccessDeniedException":
|
|
3447
3425
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3448
|
-
throw await
|
|
3426
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3449
3427
|
case "ConflictException":
|
|
3450
3428
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3451
|
-
throw await
|
|
3429
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3452
3430
|
case "InternalServerException":
|
|
3453
3431
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3454
|
-
throw await
|
|
3432
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3455
3433
|
case "ResourceNotFoundException":
|
|
3456
3434
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3457
|
-
throw await
|
|
3435
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3458
3436
|
case "ThrottlingException":
|
|
3459
3437
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3460
|
-
throw await
|
|
3438
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3461
3439
|
case "ValidationException":
|
|
3462
3440
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3463
|
-
throw await
|
|
3441
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3464
3442
|
default:
|
|
3465
3443
|
const parsedBody = parsedOutput.body;
|
|
3466
3444
|
throwDefaultError({
|
|
@@ -3471,20 +3449,20 @@ const deserializeAws_restJson1ResolveAppVersionResourcesCommandError = async (ou
|
|
|
3471
3449
|
});
|
|
3472
3450
|
}
|
|
3473
3451
|
};
|
|
3474
|
-
export const
|
|
3452
|
+
export const de_StartAppAssessmentCommand = async (output, context) => {
|
|
3475
3453
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3476
|
-
return
|
|
3454
|
+
return de_StartAppAssessmentCommandError(output, context);
|
|
3477
3455
|
}
|
|
3478
3456
|
const contents = map({
|
|
3479
3457
|
$metadata: deserializeMetadata(output),
|
|
3480
3458
|
});
|
|
3481
3459
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3482
3460
|
if (data.assessment != null) {
|
|
3483
|
-
contents.assessment =
|
|
3461
|
+
contents.assessment = de_AppAssessment(data.assessment, context);
|
|
3484
3462
|
}
|
|
3485
3463
|
return contents;
|
|
3486
3464
|
};
|
|
3487
|
-
const
|
|
3465
|
+
const de_StartAppAssessmentCommandError = async (output, context) => {
|
|
3488
3466
|
const parsedOutput = {
|
|
3489
3467
|
...output,
|
|
3490
3468
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3493,25 +3471,25 @@ const deserializeAws_restJson1StartAppAssessmentCommandError = async (output, co
|
|
|
3493
3471
|
switch (errorCode) {
|
|
3494
3472
|
case "AccessDeniedException":
|
|
3495
3473
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3496
|
-
throw await
|
|
3474
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3497
3475
|
case "ConflictException":
|
|
3498
3476
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3499
|
-
throw await
|
|
3477
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3500
3478
|
case "InternalServerException":
|
|
3501
3479
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3502
|
-
throw await
|
|
3480
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3503
3481
|
case "ResourceNotFoundException":
|
|
3504
3482
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3505
|
-
throw await
|
|
3483
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3506
3484
|
case "ServiceQuotaExceededException":
|
|
3507
3485
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
3508
|
-
throw await
|
|
3486
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3509
3487
|
case "ThrottlingException":
|
|
3510
3488
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3511
|
-
throw await
|
|
3489
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3512
3490
|
case "ValidationException":
|
|
3513
3491
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3514
|
-
throw await
|
|
3492
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3515
3493
|
default:
|
|
3516
3494
|
const parsedBody = parsedOutput.body;
|
|
3517
3495
|
throwDefaultError({
|
|
@@ -3522,9 +3500,9 @@ const deserializeAws_restJson1StartAppAssessmentCommandError = async (output, co
|
|
|
3522
3500
|
});
|
|
3523
3501
|
}
|
|
3524
3502
|
};
|
|
3525
|
-
export const
|
|
3503
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
3526
3504
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3527
|
-
return
|
|
3505
|
+
return de_TagResourceCommandError(output, context);
|
|
3528
3506
|
}
|
|
3529
3507
|
const contents = map({
|
|
3530
3508
|
$metadata: deserializeMetadata(output),
|
|
@@ -3532,7 +3510,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
3532
3510
|
await collectBody(output.body, context);
|
|
3533
3511
|
return contents;
|
|
3534
3512
|
};
|
|
3535
|
-
const
|
|
3513
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
3536
3514
|
const parsedOutput = {
|
|
3537
3515
|
...output,
|
|
3538
3516
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3541,19 +3519,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3541
3519
|
switch (errorCode) {
|
|
3542
3520
|
case "AccessDeniedException":
|
|
3543
3521
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3544
|
-
throw await
|
|
3522
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3545
3523
|
case "InternalServerException":
|
|
3546
3524
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3547
|
-
throw await
|
|
3525
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3548
3526
|
case "ResourceNotFoundException":
|
|
3549
3527
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3550
|
-
throw await
|
|
3528
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3551
3529
|
case "ThrottlingException":
|
|
3552
3530
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3553
|
-
throw await
|
|
3531
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3554
3532
|
case "ValidationException":
|
|
3555
3533
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3556
|
-
throw await
|
|
3534
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3557
3535
|
default:
|
|
3558
3536
|
const parsedBody = parsedOutput.body;
|
|
3559
3537
|
throwDefaultError({
|
|
@@ -3564,9 +3542,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3564
3542
|
});
|
|
3565
3543
|
}
|
|
3566
3544
|
};
|
|
3567
|
-
export const
|
|
3545
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
3568
3546
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3569
|
-
return
|
|
3547
|
+
return de_UntagResourceCommandError(output, context);
|
|
3570
3548
|
}
|
|
3571
3549
|
const contents = map({
|
|
3572
3550
|
$metadata: deserializeMetadata(output),
|
|
@@ -3574,7 +3552,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
3574
3552
|
await collectBody(output.body, context);
|
|
3575
3553
|
return contents;
|
|
3576
3554
|
};
|
|
3577
|
-
const
|
|
3555
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
3578
3556
|
const parsedOutput = {
|
|
3579
3557
|
...output,
|
|
3580
3558
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3583,19 +3561,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3583
3561
|
switch (errorCode) {
|
|
3584
3562
|
case "AccessDeniedException":
|
|
3585
3563
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3586
|
-
throw await
|
|
3564
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3587
3565
|
case "InternalServerException":
|
|
3588
3566
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3589
|
-
throw await
|
|
3567
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3590
3568
|
case "ResourceNotFoundException":
|
|
3591
3569
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3592
|
-
throw await
|
|
3570
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3593
3571
|
case "ThrottlingException":
|
|
3594
3572
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3595
|
-
throw await
|
|
3573
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3596
3574
|
case "ValidationException":
|
|
3597
3575
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3598
|
-
throw await
|
|
3576
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3599
3577
|
default:
|
|
3600
3578
|
const parsedBody = parsedOutput.body;
|
|
3601
3579
|
throwDefaultError({
|
|
@@ -3606,20 +3584,20 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3606
3584
|
});
|
|
3607
3585
|
}
|
|
3608
3586
|
};
|
|
3609
|
-
export const
|
|
3587
|
+
export const de_UpdateAppCommand = async (output, context) => {
|
|
3610
3588
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3611
|
-
return
|
|
3589
|
+
return de_UpdateAppCommandError(output, context);
|
|
3612
3590
|
}
|
|
3613
3591
|
const contents = map({
|
|
3614
3592
|
$metadata: deserializeMetadata(output),
|
|
3615
3593
|
});
|
|
3616
3594
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3617
3595
|
if (data.app != null) {
|
|
3618
|
-
contents.app =
|
|
3596
|
+
contents.app = de_App(data.app, context);
|
|
3619
3597
|
}
|
|
3620
3598
|
return contents;
|
|
3621
3599
|
};
|
|
3622
|
-
const
|
|
3600
|
+
const de_UpdateAppCommandError = async (output, context) => {
|
|
3623
3601
|
const parsedOutput = {
|
|
3624
3602
|
...output,
|
|
3625
3603
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3628,22 +3606,22 @@ const deserializeAws_restJson1UpdateAppCommandError = async (output, context) =>
|
|
|
3628
3606
|
switch (errorCode) {
|
|
3629
3607
|
case "AccessDeniedException":
|
|
3630
3608
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3631
|
-
throw await
|
|
3609
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3632
3610
|
case "ConflictException":
|
|
3633
3611
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3634
|
-
throw await
|
|
3612
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3635
3613
|
case "InternalServerException":
|
|
3636
3614
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3637
|
-
throw await
|
|
3615
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3638
3616
|
case "ResourceNotFoundException":
|
|
3639
3617
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3640
|
-
throw await
|
|
3618
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3641
3619
|
case "ThrottlingException":
|
|
3642
3620
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3643
|
-
throw await
|
|
3621
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3644
3622
|
case "ValidationException":
|
|
3645
3623
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3646
|
-
throw await
|
|
3624
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3647
3625
|
default:
|
|
3648
3626
|
const parsedBody = parsedOutput.body;
|
|
3649
3627
|
throwDefaultError({
|
|
@@ -3654,16 +3632,16 @@ const deserializeAws_restJson1UpdateAppCommandError = async (output, context) =>
|
|
|
3654
3632
|
});
|
|
3655
3633
|
}
|
|
3656
3634
|
};
|
|
3657
|
-
export const
|
|
3635
|
+
export const de_UpdateAppVersionCommand = async (output, context) => {
|
|
3658
3636
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3659
|
-
return
|
|
3637
|
+
return de_UpdateAppVersionCommandError(output, context);
|
|
3660
3638
|
}
|
|
3661
3639
|
const contents = map({
|
|
3662
3640
|
$metadata: deserializeMetadata(output),
|
|
3663
3641
|
});
|
|
3664
3642
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3665
3643
|
if (data.additionalInfo != null) {
|
|
3666
|
-
contents.additionalInfo =
|
|
3644
|
+
contents.additionalInfo = de_AdditionalInfoMap(data.additionalInfo, context);
|
|
3667
3645
|
}
|
|
3668
3646
|
if (data.appArn != null) {
|
|
3669
3647
|
contents.appArn = __expectString(data.appArn);
|
|
@@ -3673,7 +3651,7 @@ export const deserializeAws_restJson1UpdateAppVersionCommand = async (output, co
|
|
|
3673
3651
|
}
|
|
3674
3652
|
return contents;
|
|
3675
3653
|
};
|
|
3676
|
-
const
|
|
3654
|
+
const de_UpdateAppVersionCommandError = async (output, context) => {
|
|
3677
3655
|
const parsedOutput = {
|
|
3678
3656
|
...output,
|
|
3679
3657
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3682,22 +3660,22 @@ const deserializeAws_restJson1UpdateAppVersionCommandError = async (output, cont
|
|
|
3682
3660
|
switch (errorCode) {
|
|
3683
3661
|
case "AccessDeniedException":
|
|
3684
3662
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3685
|
-
throw await
|
|
3663
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3686
3664
|
case "ConflictException":
|
|
3687
3665
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3688
|
-
throw await
|
|
3666
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3689
3667
|
case "InternalServerException":
|
|
3690
3668
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3691
|
-
throw await
|
|
3669
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3692
3670
|
case "ResourceNotFoundException":
|
|
3693
3671
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3694
|
-
throw await
|
|
3672
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3695
3673
|
case "ThrottlingException":
|
|
3696
3674
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3697
|
-
throw await
|
|
3675
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3698
3676
|
case "ValidationException":
|
|
3699
3677
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3700
|
-
throw await
|
|
3678
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3701
3679
|
default:
|
|
3702
3680
|
const parsedBody = parsedOutput.body;
|
|
3703
3681
|
throwDefaultError({
|
|
@@ -3708,9 +3686,9 @@ const deserializeAws_restJson1UpdateAppVersionCommandError = async (output, cont
|
|
|
3708
3686
|
});
|
|
3709
3687
|
}
|
|
3710
3688
|
};
|
|
3711
|
-
export const
|
|
3689
|
+
export const de_UpdateAppVersionAppComponentCommand = async (output, context) => {
|
|
3712
3690
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3713
|
-
return
|
|
3691
|
+
return de_UpdateAppVersionAppComponentCommandError(output, context);
|
|
3714
3692
|
}
|
|
3715
3693
|
const contents = map({
|
|
3716
3694
|
$metadata: deserializeMetadata(output),
|
|
@@ -3720,14 +3698,14 @@ export const deserializeAws_restJson1UpdateAppVersionAppComponentCommand = async
|
|
|
3720
3698
|
contents.appArn = __expectString(data.appArn);
|
|
3721
3699
|
}
|
|
3722
3700
|
if (data.appComponent != null) {
|
|
3723
|
-
contents.appComponent =
|
|
3701
|
+
contents.appComponent = de_AppComponent(data.appComponent, context);
|
|
3724
3702
|
}
|
|
3725
3703
|
if (data.appVersion != null) {
|
|
3726
3704
|
contents.appVersion = __expectString(data.appVersion);
|
|
3727
3705
|
}
|
|
3728
3706
|
return contents;
|
|
3729
3707
|
};
|
|
3730
|
-
const
|
|
3708
|
+
const de_UpdateAppVersionAppComponentCommandError = async (output, context) => {
|
|
3731
3709
|
const parsedOutput = {
|
|
3732
3710
|
...output,
|
|
3733
3711
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3736,22 +3714,22 @@ const deserializeAws_restJson1UpdateAppVersionAppComponentCommandError = async (
|
|
|
3736
3714
|
switch (errorCode) {
|
|
3737
3715
|
case "AccessDeniedException":
|
|
3738
3716
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3739
|
-
throw await
|
|
3717
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3740
3718
|
case "ConflictException":
|
|
3741
3719
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3742
|
-
throw await
|
|
3720
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3743
3721
|
case "InternalServerException":
|
|
3744
3722
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3745
|
-
throw await
|
|
3723
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3746
3724
|
case "ResourceNotFoundException":
|
|
3747
3725
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3748
|
-
throw await
|
|
3726
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3749
3727
|
case "ThrottlingException":
|
|
3750
3728
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3751
|
-
throw await
|
|
3729
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3752
3730
|
case "ValidationException":
|
|
3753
3731
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3754
|
-
throw await
|
|
3732
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3755
3733
|
default:
|
|
3756
3734
|
const parsedBody = parsedOutput.body;
|
|
3757
3735
|
throwDefaultError({
|
|
@@ -3762,9 +3740,9 @@ const deserializeAws_restJson1UpdateAppVersionAppComponentCommandError = async (
|
|
|
3762
3740
|
});
|
|
3763
3741
|
}
|
|
3764
3742
|
};
|
|
3765
|
-
export const
|
|
3743
|
+
export const de_UpdateAppVersionResourceCommand = async (output, context) => {
|
|
3766
3744
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3767
|
-
return
|
|
3745
|
+
return de_UpdateAppVersionResourceCommandError(output, context);
|
|
3768
3746
|
}
|
|
3769
3747
|
const contents = map({
|
|
3770
3748
|
$metadata: deserializeMetadata(output),
|
|
@@ -3777,11 +3755,11 @@ export const deserializeAws_restJson1UpdateAppVersionResourceCommand = async (ou
|
|
|
3777
3755
|
contents.appVersion = __expectString(data.appVersion);
|
|
3778
3756
|
}
|
|
3779
3757
|
if (data.physicalResource != null) {
|
|
3780
|
-
contents.physicalResource =
|
|
3758
|
+
contents.physicalResource = de_PhysicalResource(data.physicalResource, context);
|
|
3781
3759
|
}
|
|
3782
3760
|
return contents;
|
|
3783
3761
|
};
|
|
3784
|
-
const
|
|
3762
|
+
const de_UpdateAppVersionResourceCommandError = async (output, context) => {
|
|
3785
3763
|
const parsedOutput = {
|
|
3786
3764
|
...output,
|
|
3787
3765
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3790,25 +3768,25 @@ const deserializeAws_restJson1UpdateAppVersionResourceCommandError = async (outp
|
|
|
3790
3768
|
switch (errorCode) {
|
|
3791
3769
|
case "AccessDeniedException":
|
|
3792
3770
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3793
|
-
throw await
|
|
3771
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3794
3772
|
case "ConflictException":
|
|
3795
3773
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3796
|
-
throw await
|
|
3774
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3797
3775
|
case "InternalServerException":
|
|
3798
3776
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3799
|
-
throw await
|
|
3777
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3800
3778
|
case "ResourceNotFoundException":
|
|
3801
3779
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3802
|
-
throw await
|
|
3780
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3803
3781
|
case "ServiceQuotaExceededException":
|
|
3804
3782
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
3805
|
-
throw await
|
|
3783
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3806
3784
|
case "ThrottlingException":
|
|
3807
3785
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3808
|
-
throw await
|
|
3786
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3809
3787
|
case "ValidationException":
|
|
3810
3788
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3811
|
-
throw await
|
|
3789
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3812
3790
|
default:
|
|
3813
3791
|
const parsedBody = parsedOutput.body;
|
|
3814
3792
|
throwDefaultError({
|
|
@@ -3819,20 +3797,20 @@ const deserializeAws_restJson1UpdateAppVersionResourceCommandError = async (outp
|
|
|
3819
3797
|
});
|
|
3820
3798
|
}
|
|
3821
3799
|
};
|
|
3822
|
-
export const
|
|
3800
|
+
export const de_UpdateResiliencyPolicyCommand = async (output, context) => {
|
|
3823
3801
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3824
|
-
return
|
|
3802
|
+
return de_UpdateResiliencyPolicyCommandError(output, context);
|
|
3825
3803
|
}
|
|
3826
3804
|
const contents = map({
|
|
3827
3805
|
$metadata: deserializeMetadata(output),
|
|
3828
3806
|
});
|
|
3829
3807
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3830
3808
|
if (data.policy != null) {
|
|
3831
|
-
contents.policy =
|
|
3809
|
+
contents.policy = de_ResiliencyPolicy(data.policy, context);
|
|
3832
3810
|
}
|
|
3833
3811
|
return contents;
|
|
3834
3812
|
};
|
|
3835
|
-
const
|
|
3813
|
+
const de_UpdateResiliencyPolicyCommandError = async (output, context) => {
|
|
3836
3814
|
const parsedOutput = {
|
|
3837
3815
|
...output,
|
|
3838
3816
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3841,22 +3819,22 @@ const deserializeAws_restJson1UpdateResiliencyPolicyCommandError = async (output
|
|
|
3841
3819
|
switch (errorCode) {
|
|
3842
3820
|
case "AccessDeniedException":
|
|
3843
3821
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
3844
|
-
throw await
|
|
3822
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3845
3823
|
case "ConflictException":
|
|
3846
3824
|
case "com.amazonaws.resiliencehub#ConflictException":
|
|
3847
|
-
throw await
|
|
3825
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3848
3826
|
case "InternalServerException":
|
|
3849
3827
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
3850
|
-
throw await
|
|
3828
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3851
3829
|
case "ResourceNotFoundException":
|
|
3852
3830
|
case "com.amazonaws.resiliencehub#ResourceNotFoundException":
|
|
3853
|
-
throw await
|
|
3831
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3854
3832
|
case "ThrottlingException":
|
|
3855
3833
|
case "com.amazonaws.resiliencehub#ThrottlingException":
|
|
3856
|
-
throw await
|
|
3834
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3857
3835
|
case "ValidationException":
|
|
3858
3836
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
3859
|
-
throw await
|
|
3837
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3860
3838
|
default:
|
|
3861
3839
|
const parsedBody = parsedOutput.body;
|
|
3862
3840
|
throwDefaultError({
|
|
@@ -3868,7 +3846,7 @@ const deserializeAws_restJson1UpdateResiliencyPolicyCommandError = async (output
|
|
|
3868
3846
|
}
|
|
3869
3847
|
};
|
|
3870
3848
|
const map = __map;
|
|
3871
|
-
const
|
|
3849
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3872
3850
|
const contents = map({});
|
|
3873
3851
|
const data = parsedOutput.body;
|
|
3874
3852
|
if (data.message != null) {
|
|
@@ -3880,7 +3858,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
3880
3858
|
});
|
|
3881
3859
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3882
3860
|
};
|
|
3883
|
-
const
|
|
3861
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3884
3862
|
const contents = map({});
|
|
3885
3863
|
const data = parsedOutput.body;
|
|
3886
3864
|
if (data.message != null) {
|
|
@@ -3898,7 +3876,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
3898
3876
|
});
|
|
3899
3877
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3900
3878
|
};
|
|
3901
|
-
const
|
|
3879
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3902
3880
|
const contents = map({});
|
|
3903
3881
|
const data = parsedOutput.body;
|
|
3904
3882
|
if (data.message != null) {
|
|
@@ -3910,7 +3888,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
3910
3888
|
});
|
|
3911
3889
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3912
3890
|
};
|
|
3913
|
-
const
|
|
3891
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3914
3892
|
const contents = map({});
|
|
3915
3893
|
const data = parsedOutput.body;
|
|
3916
3894
|
if (data.message != null) {
|
|
@@ -3928,7 +3906,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
3928
3906
|
});
|
|
3929
3907
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3930
3908
|
};
|
|
3931
|
-
const
|
|
3909
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3932
3910
|
const contents = map({});
|
|
3933
3911
|
const data = parsedOutput.body;
|
|
3934
3912
|
if (data.message != null) {
|
|
@@ -3940,7 +3918,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
3940
3918
|
});
|
|
3941
3919
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3942
3920
|
};
|
|
3943
|
-
const
|
|
3921
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3944
3922
|
const contents = map({});
|
|
3945
3923
|
const data = parsedOutput.body;
|
|
3946
3924
|
if (data.message != null) {
|
|
@@ -3955,7 +3933,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
3955
3933
|
});
|
|
3956
3934
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3957
3935
|
};
|
|
3958
|
-
const
|
|
3936
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3959
3937
|
const contents = map({});
|
|
3960
3938
|
const data = parsedOutput.body;
|
|
3961
3939
|
if (data.message != null) {
|
|
@@ -3967,85 +3945,85 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
3967
3945
|
});
|
|
3968
3946
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3969
3947
|
};
|
|
3970
|
-
const
|
|
3948
|
+
const se_AdditionalInfoMap = (input, context) => {
|
|
3971
3949
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3972
3950
|
if (value === null) {
|
|
3973
3951
|
return acc;
|
|
3974
3952
|
}
|
|
3975
|
-
acc[key] =
|
|
3953
|
+
acc[key] = se_AdditionalInfoValueList(value, context);
|
|
3976
3954
|
return acc;
|
|
3977
3955
|
}, {});
|
|
3978
3956
|
};
|
|
3979
|
-
const
|
|
3957
|
+
const se_AdditionalInfoValueList = (input, context) => {
|
|
3980
3958
|
return input
|
|
3981
3959
|
.filter((e) => e != null)
|
|
3982
3960
|
.map((entry) => {
|
|
3983
3961
|
return entry;
|
|
3984
3962
|
});
|
|
3985
3963
|
};
|
|
3986
|
-
const
|
|
3964
|
+
const se_AppComponentNameList = (input, context) => {
|
|
3987
3965
|
return input
|
|
3988
3966
|
.filter((e) => e != null)
|
|
3989
3967
|
.map((entry) => {
|
|
3990
3968
|
return entry;
|
|
3991
3969
|
});
|
|
3992
3970
|
};
|
|
3993
|
-
const
|
|
3971
|
+
const se_ArnList = (input, context) => {
|
|
3994
3972
|
return input
|
|
3995
3973
|
.filter((e) => e != null)
|
|
3996
3974
|
.map((entry) => {
|
|
3997
3975
|
return entry;
|
|
3998
3976
|
});
|
|
3999
3977
|
};
|
|
4000
|
-
const
|
|
3978
|
+
const se_DisruptionPolicy = (input, context) => {
|
|
4001
3979
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
4002
3980
|
if (value === null) {
|
|
4003
3981
|
return acc;
|
|
4004
3982
|
}
|
|
4005
|
-
acc[key] =
|
|
3983
|
+
acc[key] = se_FailurePolicy(value, context);
|
|
4006
3984
|
return acc;
|
|
4007
3985
|
}, {});
|
|
4008
3986
|
};
|
|
4009
|
-
const
|
|
3987
|
+
const se_EksNamespaceList = (input, context) => {
|
|
4010
3988
|
return input
|
|
4011
3989
|
.filter((e) => e != null)
|
|
4012
3990
|
.map((entry) => {
|
|
4013
3991
|
return entry;
|
|
4014
3992
|
});
|
|
4015
3993
|
};
|
|
4016
|
-
const
|
|
3994
|
+
const se_EksSource = (input, context) => {
|
|
4017
3995
|
return {
|
|
4018
3996
|
...(input.eksClusterArn != null && { eksClusterArn: input.eksClusterArn }),
|
|
4019
|
-
...(input.namespaces != null && { namespaces:
|
|
3997
|
+
...(input.namespaces != null && { namespaces: se_EksNamespaceList(input.namespaces, context) }),
|
|
4020
3998
|
};
|
|
4021
3999
|
};
|
|
4022
|
-
const
|
|
4000
|
+
const se_EksSourceClusterNamespace = (input, context) => {
|
|
4023
4001
|
return {
|
|
4024
4002
|
...(input.eksClusterArn != null && { eksClusterArn: input.eksClusterArn }),
|
|
4025
4003
|
...(input.namespace != null && { namespace: input.namespace }),
|
|
4026
4004
|
};
|
|
4027
4005
|
};
|
|
4028
|
-
const
|
|
4006
|
+
const se_EksSourceList = (input, context) => {
|
|
4029
4007
|
return input
|
|
4030
4008
|
.filter((e) => e != null)
|
|
4031
4009
|
.map((entry) => {
|
|
4032
|
-
return
|
|
4010
|
+
return se_EksSource(entry, context);
|
|
4033
4011
|
});
|
|
4034
4012
|
};
|
|
4035
|
-
const
|
|
4013
|
+
const se_EntityNameList = (input, context) => {
|
|
4036
4014
|
return input
|
|
4037
4015
|
.filter((e) => e != null)
|
|
4038
4016
|
.map((entry) => {
|
|
4039
4017
|
return entry;
|
|
4040
4018
|
});
|
|
4041
4019
|
};
|
|
4042
|
-
const
|
|
4020
|
+
const se_FailurePolicy = (input, context) => {
|
|
4043
4021
|
return {
|
|
4044
4022
|
...(input.rpoInSecs != null && { rpoInSecs: input.rpoInSecs }),
|
|
4045
4023
|
...(input.rtoInSecs != null && { rtoInSecs: input.rtoInSecs }),
|
|
4046
4024
|
};
|
|
4047
4025
|
};
|
|
4048
|
-
const
|
|
4026
|
+
const se_LogicalResourceId = (input, context) => {
|
|
4049
4027
|
return {
|
|
4050
4028
|
...(input.eksSourceName != null && { eksSourceName: input.eksSourceName }),
|
|
4051
4029
|
...(input.identifier != null && { identifier: input.identifier }),
|
|
@@ -4054,7 +4032,7 @@ const serializeAws_restJson1LogicalResourceId = (input, context) => {
|
|
|
4054
4032
|
...(input.terraformSourceName != null && { terraformSourceName: input.terraformSourceName }),
|
|
4055
4033
|
};
|
|
4056
4034
|
};
|
|
4057
|
-
const
|
|
4035
|
+
const se_PhysicalResourceId = (input, context) => {
|
|
4058
4036
|
return {
|
|
4059
4037
|
...(input.awsAccountId != null && { awsAccountId: input.awsAccountId }),
|
|
4060
4038
|
...(input.awsRegion != null && { awsRegion: input.awsRegion }),
|
|
@@ -4062,49 +4040,49 @@ const serializeAws_restJson1PhysicalResourceId = (input, context) => {
|
|
|
4062
4040
|
...(input.type != null && { type: input.type }),
|
|
4063
4041
|
};
|
|
4064
4042
|
};
|
|
4065
|
-
const
|
|
4043
|
+
const se_RecommendationIdList = (input, context) => {
|
|
4066
4044
|
return input
|
|
4067
4045
|
.filter((e) => e != null)
|
|
4068
4046
|
.map((entry) => {
|
|
4069
4047
|
return entry;
|
|
4070
4048
|
});
|
|
4071
4049
|
};
|
|
4072
|
-
const
|
|
4050
|
+
const se_RenderRecommendationTypeList = (input, context) => {
|
|
4073
4051
|
return input
|
|
4074
4052
|
.filter((e) => e != null)
|
|
4075
4053
|
.map((entry) => {
|
|
4076
4054
|
return entry;
|
|
4077
4055
|
});
|
|
4078
4056
|
};
|
|
4079
|
-
const
|
|
4057
|
+
const se_ResourceMapping = (input, context) => {
|
|
4080
4058
|
return {
|
|
4081
4059
|
...(input.appRegistryAppName != null && { appRegistryAppName: input.appRegistryAppName }),
|
|
4082
4060
|
...(input.eksSourceName != null && { eksSourceName: input.eksSourceName }),
|
|
4083
4061
|
...(input.logicalStackName != null && { logicalStackName: input.logicalStackName }),
|
|
4084
4062
|
...(input.mappingType != null && { mappingType: input.mappingType }),
|
|
4085
4063
|
...(input.physicalResourceId != null && {
|
|
4086
|
-
physicalResourceId:
|
|
4064
|
+
physicalResourceId: se_PhysicalResourceId(input.physicalResourceId, context),
|
|
4087
4065
|
}),
|
|
4088
4066
|
...(input.resourceGroupName != null && { resourceGroupName: input.resourceGroupName }),
|
|
4089
4067
|
...(input.resourceName != null && { resourceName: input.resourceName }),
|
|
4090
4068
|
...(input.terraformSourceName != null && { terraformSourceName: input.terraformSourceName }),
|
|
4091
4069
|
};
|
|
4092
4070
|
};
|
|
4093
|
-
const
|
|
4071
|
+
const se_ResourceMappingList = (input, context) => {
|
|
4094
4072
|
return input
|
|
4095
4073
|
.filter((e) => e != null)
|
|
4096
4074
|
.map((entry) => {
|
|
4097
|
-
return
|
|
4075
|
+
return se_ResourceMapping(entry, context);
|
|
4098
4076
|
});
|
|
4099
4077
|
};
|
|
4100
|
-
const
|
|
4078
|
+
const se_String255List = (input, context) => {
|
|
4101
4079
|
return input
|
|
4102
4080
|
.filter((e) => e != null)
|
|
4103
4081
|
.map((entry) => {
|
|
4104
4082
|
return entry;
|
|
4105
4083
|
});
|
|
4106
4084
|
};
|
|
4107
|
-
const
|
|
4085
|
+
const se_TagMap = (input, context) => {
|
|
4108
4086
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
4109
4087
|
if (value === null) {
|
|
4110
4088
|
return acc;
|
|
@@ -4113,28 +4091,28 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
4113
4091
|
return acc;
|
|
4114
4092
|
}, {});
|
|
4115
4093
|
};
|
|
4116
|
-
const
|
|
4094
|
+
const se_TerraformSource = (input, context) => {
|
|
4117
4095
|
return {
|
|
4118
4096
|
...(input.s3StateFileUrl != null && { s3StateFileUrl: input.s3StateFileUrl }),
|
|
4119
4097
|
};
|
|
4120
4098
|
};
|
|
4121
|
-
const
|
|
4099
|
+
const se_TerraformSourceList = (input, context) => {
|
|
4122
4100
|
return input
|
|
4123
4101
|
.filter((e) => e != null)
|
|
4124
4102
|
.map((entry) => {
|
|
4125
|
-
return
|
|
4103
|
+
return se_TerraformSource(entry, context);
|
|
4126
4104
|
});
|
|
4127
4105
|
};
|
|
4128
|
-
const
|
|
4106
|
+
const de_AdditionalInfoMap = (output, context) => {
|
|
4129
4107
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4130
4108
|
if (value === null) {
|
|
4131
4109
|
return acc;
|
|
4132
4110
|
}
|
|
4133
|
-
acc[key] =
|
|
4111
|
+
acc[key] = de_AdditionalInfoValueList(value, context);
|
|
4134
4112
|
return acc;
|
|
4135
4113
|
}, {});
|
|
4136
4114
|
};
|
|
4137
|
-
const
|
|
4115
|
+
const de_AdditionalInfoValueList = (output, context) => {
|
|
4138
4116
|
const retVal = (output || [])
|
|
4139
4117
|
.filter((e) => e != null)
|
|
4140
4118
|
.map((entry) => {
|
|
@@ -4145,11 +4123,11 @@ const deserializeAws_restJson1AdditionalInfoValueList = (output, context) => {
|
|
|
4145
4123
|
});
|
|
4146
4124
|
return retVal;
|
|
4147
4125
|
};
|
|
4148
|
-
const
|
|
4126
|
+
const de_AlarmRecommendation = (output, context) => {
|
|
4149
4127
|
return {
|
|
4150
4128
|
appComponentName: __expectString(output.appComponentName),
|
|
4151
4129
|
description: __expectString(output.description),
|
|
4152
|
-
items: output.items != null ?
|
|
4130
|
+
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4153
4131
|
name: __expectString(output.name),
|
|
4154
4132
|
prerequisite: __expectString(output.prerequisite),
|
|
4155
4133
|
recommendationId: __expectString(output.recommendationId),
|
|
@@ -4157,18 +4135,18 @@ const deserializeAws_restJson1AlarmRecommendation = (output, context) => {
|
|
|
4157
4135
|
type: __expectString(output.type),
|
|
4158
4136
|
};
|
|
4159
4137
|
};
|
|
4160
|
-
const
|
|
4138
|
+
const de_AlarmRecommendationList = (output, context) => {
|
|
4161
4139
|
const retVal = (output || [])
|
|
4162
4140
|
.filter((e) => e != null)
|
|
4163
4141
|
.map((entry) => {
|
|
4164
4142
|
if (entry === null) {
|
|
4165
4143
|
return null;
|
|
4166
4144
|
}
|
|
4167
|
-
return
|
|
4145
|
+
return de_AlarmRecommendation(entry, context);
|
|
4168
4146
|
});
|
|
4169
4147
|
return retVal;
|
|
4170
4148
|
};
|
|
4171
|
-
const
|
|
4149
|
+
const de_AlarmReferenceIdList = (output, context) => {
|
|
4172
4150
|
const retVal = (output || [])
|
|
4173
4151
|
.filter((e) => e != null)
|
|
4174
4152
|
.map((entry) => {
|
|
@@ -4179,7 +4157,7 @@ const deserializeAws_restJson1AlarmReferenceIdList = (output, context) => {
|
|
|
4179
4157
|
});
|
|
4180
4158
|
return retVal;
|
|
4181
4159
|
};
|
|
4182
|
-
const
|
|
4160
|
+
const de_App = (output, context) => {
|
|
4183
4161
|
return {
|
|
4184
4162
|
appArn: __expectString(output.appArn),
|
|
4185
4163
|
assessmentSchedule: __expectString(output.assessmentSchedule),
|
|
@@ -4198,34 +4176,32 @@ const deserializeAws_restJson1App = (output, context) => {
|
|
|
4198
4176
|
policyArn: __expectString(output.policyArn),
|
|
4199
4177
|
resiliencyScore: __limitedParseDouble(output.resiliencyScore),
|
|
4200
4178
|
status: __expectString(output.status),
|
|
4201
|
-
tags: output.tags != null ?
|
|
4179
|
+
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4202
4180
|
};
|
|
4203
4181
|
};
|
|
4204
|
-
const
|
|
4182
|
+
const de_AppAssessment = (output, context) => {
|
|
4205
4183
|
return {
|
|
4206
4184
|
appArn: __expectString(output.appArn),
|
|
4207
4185
|
appVersion: __expectString(output.appVersion),
|
|
4208
4186
|
assessmentArn: __expectString(output.assessmentArn),
|
|
4209
4187
|
assessmentName: __expectString(output.assessmentName),
|
|
4210
4188
|
assessmentStatus: __expectString(output.assessmentStatus),
|
|
4211
|
-
compliance: output.compliance != null ?
|
|
4189
|
+
compliance: output.compliance != null ? de_AssessmentCompliance(output.compliance, context) : undefined,
|
|
4212
4190
|
complianceStatus: __expectString(output.complianceStatus),
|
|
4213
|
-
cost: output.cost != null ?
|
|
4191
|
+
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4214
4192
|
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
4215
4193
|
invoker: __expectString(output.invoker),
|
|
4216
4194
|
message: __expectString(output.message),
|
|
4217
|
-
policy: output.policy != null ?
|
|
4218
|
-
resiliencyScore: output.resiliencyScore != null
|
|
4219
|
-
? deserializeAws_restJson1ResiliencyScore(output.resiliencyScore, context)
|
|
4220
|
-
: undefined,
|
|
4195
|
+
policy: output.policy != null ? de_ResiliencyPolicy(output.policy, context) : undefined,
|
|
4196
|
+
resiliencyScore: output.resiliencyScore != null ? de_ResiliencyScore(output.resiliencyScore, context) : undefined,
|
|
4221
4197
|
resourceErrorsDetails: output.resourceErrorsDetails != null
|
|
4222
|
-
?
|
|
4198
|
+
? de_ResourceErrorsDetails(output.resourceErrorsDetails, context)
|
|
4223
4199
|
: undefined,
|
|
4224
4200
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4225
|
-
tags: output.tags != null ?
|
|
4201
|
+
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4226
4202
|
};
|
|
4227
4203
|
};
|
|
4228
|
-
const
|
|
4204
|
+
const de_AppAssessmentSummary = (output, context) => {
|
|
4229
4205
|
return {
|
|
4230
4206
|
appArn: __expectString(output.appArn),
|
|
4231
4207
|
appVersion: __expectString(output.appVersion),
|
|
@@ -4233,7 +4209,7 @@ const deserializeAws_restJson1AppAssessmentSummary = (output, context) => {
|
|
|
4233
4209
|
assessmentName: __expectString(output.assessmentName),
|
|
4234
4210
|
assessmentStatus: __expectString(output.assessmentStatus),
|
|
4235
4211
|
complianceStatus: __expectString(output.complianceStatus),
|
|
4236
|
-
cost: output.cost != null ?
|
|
4212
|
+
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4237
4213
|
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
4238
4214
|
invoker: __expectString(output.invoker),
|
|
4239
4215
|
message: __expectString(output.message),
|
|
@@ -4241,76 +4217,70 @@ const deserializeAws_restJson1AppAssessmentSummary = (output, context) => {
|
|
|
4241
4217
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4242
4218
|
};
|
|
4243
4219
|
};
|
|
4244
|
-
const
|
|
4220
|
+
const de_AppAssessmentSummaryList = (output, context) => {
|
|
4245
4221
|
const retVal = (output || [])
|
|
4246
4222
|
.filter((e) => e != null)
|
|
4247
4223
|
.map((entry) => {
|
|
4248
4224
|
if (entry === null) {
|
|
4249
4225
|
return null;
|
|
4250
4226
|
}
|
|
4251
|
-
return
|
|
4227
|
+
return de_AppAssessmentSummary(entry, context);
|
|
4252
4228
|
});
|
|
4253
4229
|
return retVal;
|
|
4254
4230
|
};
|
|
4255
|
-
const
|
|
4231
|
+
const de_AppComponent = (output, context) => {
|
|
4256
4232
|
return {
|
|
4257
|
-
additionalInfo: output.additionalInfo != null
|
|
4258
|
-
? deserializeAws_restJson1AdditionalInfoMap(output.additionalInfo, context)
|
|
4259
|
-
: undefined,
|
|
4233
|
+
additionalInfo: output.additionalInfo != null ? de_AdditionalInfoMap(output.additionalInfo, context) : undefined,
|
|
4260
4234
|
id: __expectString(output.id),
|
|
4261
4235
|
name: __expectString(output.name),
|
|
4262
4236
|
type: __expectString(output.type),
|
|
4263
4237
|
};
|
|
4264
4238
|
};
|
|
4265
|
-
const
|
|
4239
|
+
const de_AppComponentCompliance = (output, context) => {
|
|
4266
4240
|
return {
|
|
4267
4241
|
appComponentName: __expectString(output.appComponentName),
|
|
4268
|
-
compliance: output.compliance != null ?
|
|
4269
|
-
cost: output.cost != null ?
|
|
4242
|
+
compliance: output.compliance != null ? de_AssessmentCompliance(output.compliance, context) : undefined,
|
|
4243
|
+
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4270
4244
|
message: __expectString(output.message),
|
|
4271
|
-
resiliencyScore: output.resiliencyScore != null
|
|
4272
|
-
? deserializeAws_restJson1ResiliencyScore(output.resiliencyScore, context)
|
|
4273
|
-
: undefined,
|
|
4245
|
+
resiliencyScore: output.resiliencyScore != null ? de_ResiliencyScore(output.resiliencyScore, context) : undefined,
|
|
4274
4246
|
status: __expectString(output.status),
|
|
4275
4247
|
};
|
|
4276
4248
|
};
|
|
4277
|
-
const
|
|
4249
|
+
const de_AppComponentList = (output, context) => {
|
|
4278
4250
|
const retVal = (output || [])
|
|
4279
4251
|
.filter((e) => e != null)
|
|
4280
4252
|
.map((entry) => {
|
|
4281
4253
|
if (entry === null) {
|
|
4282
4254
|
return null;
|
|
4283
4255
|
}
|
|
4284
|
-
return
|
|
4256
|
+
return de_AppComponent(entry, context);
|
|
4285
4257
|
});
|
|
4286
4258
|
return retVal;
|
|
4287
4259
|
};
|
|
4288
|
-
const
|
|
4260
|
+
const de_AppInputSource = (output, context) => {
|
|
4289
4261
|
return {
|
|
4290
4262
|
eksSourceClusterNamespace: output.eksSourceClusterNamespace != null
|
|
4291
|
-
?
|
|
4263
|
+
? de_EksSourceClusterNamespace(output.eksSourceClusterNamespace, context)
|
|
4292
4264
|
: undefined,
|
|
4293
4265
|
importType: __expectString(output.importType),
|
|
4294
4266
|
resourceCount: __expectInt32(output.resourceCount),
|
|
4295
4267
|
sourceArn: __expectString(output.sourceArn),
|
|
4296
4268
|
sourceName: __expectString(output.sourceName),
|
|
4297
|
-
terraformSource: output.terraformSource != null
|
|
4298
|
-
? deserializeAws_restJson1TerraformSource(output.terraformSource, context)
|
|
4299
|
-
: undefined,
|
|
4269
|
+
terraformSource: output.terraformSource != null ? de_TerraformSource(output.terraformSource, context) : undefined,
|
|
4300
4270
|
};
|
|
4301
4271
|
};
|
|
4302
|
-
const
|
|
4272
|
+
const de_AppInputSourceList = (output, context) => {
|
|
4303
4273
|
const retVal = (output || [])
|
|
4304
4274
|
.filter((e) => e != null)
|
|
4305
4275
|
.map((entry) => {
|
|
4306
4276
|
if (entry === null) {
|
|
4307
4277
|
return null;
|
|
4308
4278
|
}
|
|
4309
|
-
return
|
|
4279
|
+
return de_AppInputSource(entry, context);
|
|
4310
4280
|
});
|
|
4311
4281
|
return retVal;
|
|
4312
4282
|
};
|
|
4313
|
-
const
|
|
4283
|
+
const de_AppSummary = (output, context) => {
|
|
4314
4284
|
return {
|
|
4315
4285
|
appArn: __expectString(output.appArn),
|
|
4316
4286
|
assessmentSchedule: __expectString(output.assessmentSchedule),
|
|
@@ -4324,34 +4294,34 @@ const deserializeAws_restJson1AppSummary = (output, context) => {
|
|
|
4324
4294
|
status: __expectString(output.status),
|
|
4325
4295
|
};
|
|
4326
4296
|
};
|
|
4327
|
-
const
|
|
4297
|
+
const de_AppSummaryList = (output, context) => {
|
|
4328
4298
|
const retVal = (output || [])
|
|
4329
4299
|
.filter((e) => e != null)
|
|
4330
4300
|
.map((entry) => {
|
|
4331
4301
|
if (entry === null) {
|
|
4332
4302
|
return null;
|
|
4333
4303
|
}
|
|
4334
|
-
return
|
|
4304
|
+
return de_AppSummary(entry, context);
|
|
4335
4305
|
});
|
|
4336
4306
|
return retVal;
|
|
4337
4307
|
};
|
|
4338
|
-
const
|
|
4308
|
+
const de_AppVersionList = (output, context) => {
|
|
4339
4309
|
const retVal = (output || [])
|
|
4340
4310
|
.filter((e) => e != null)
|
|
4341
4311
|
.map((entry) => {
|
|
4342
4312
|
if (entry === null) {
|
|
4343
4313
|
return null;
|
|
4344
4314
|
}
|
|
4345
|
-
return
|
|
4315
|
+
return de_AppVersionSummary(entry, context);
|
|
4346
4316
|
});
|
|
4347
4317
|
return retVal;
|
|
4348
4318
|
};
|
|
4349
|
-
const
|
|
4319
|
+
const de_AppVersionSummary = (output, context) => {
|
|
4350
4320
|
return {
|
|
4351
4321
|
appVersion: __expectString(output.appVersion),
|
|
4352
4322
|
};
|
|
4353
4323
|
};
|
|
4354
|
-
const
|
|
4324
|
+
const de_ArnList = (output, context) => {
|
|
4355
4325
|
const retVal = (output || [])
|
|
4356
4326
|
.filter((e) => e != null)
|
|
4357
4327
|
.map((entry) => {
|
|
@@ -4362,83 +4332,81 @@ const deserializeAws_restJson1ArnList = (output, context) => {
|
|
|
4362
4332
|
});
|
|
4363
4333
|
return retVal;
|
|
4364
4334
|
};
|
|
4365
|
-
const
|
|
4335
|
+
const de_AssessmentCompliance = (output, context) => {
|
|
4366
4336
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4367
4337
|
if (value === null) {
|
|
4368
4338
|
return acc;
|
|
4369
4339
|
}
|
|
4370
|
-
acc[key] =
|
|
4340
|
+
acc[key] = de_DisruptionCompliance(value, context);
|
|
4371
4341
|
return acc;
|
|
4372
4342
|
}, {});
|
|
4373
4343
|
};
|
|
4374
|
-
const
|
|
4344
|
+
const de_ComponentCompliancesList = (output, context) => {
|
|
4375
4345
|
const retVal = (output || [])
|
|
4376
4346
|
.filter((e) => e != null)
|
|
4377
4347
|
.map((entry) => {
|
|
4378
4348
|
if (entry === null) {
|
|
4379
4349
|
return null;
|
|
4380
4350
|
}
|
|
4381
|
-
return
|
|
4351
|
+
return de_AppComponentCompliance(entry, context);
|
|
4382
4352
|
});
|
|
4383
4353
|
return retVal;
|
|
4384
4354
|
};
|
|
4385
|
-
const
|
|
4355
|
+
const de_ComponentRecommendation = (output, context) => {
|
|
4386
4356
|
return {
|
|
4387
4357
|
appComponentName: __expectString(output.appComponentName),
|
|
4388
4358
|
configRecommendations: output.configRecommendations != null
|
|
4389
|
-
?
|
|
4359
|
+
? de_ConfigRecommendationList(output.configRecommendations, context)
|
|
4390
4360
|
: undefined,
|
|
4391
4361
|
recommendationStatus: __expectString(output.recommendationStatus),
|
|
4392
4362
|
};
|
|
4393
4363
|
};
|
|
4394
|
-
const
|
|
4364
|
+
const de_ComponentRecommendationList = (output, context) => {
|
|
4395
4365
|
const retVal = (output || [])
|
|
4396
4366
|
.filter((e) => e != null)
|
|
4397
4367
|
.map((entry) => {
|
|
4398
4368
|
if (entry === null) {
|
|
4399
4369
|
return null;
|
|
4400
4370
|
}
|
|
4401
|
-
return
|
|
4371
|
+
return de_ComponentRecommendation(entry, context);
|
|
4402
4372
|
});
|
|
4403
4373
|
return retVal;
|
|
4404
4374
|
};
|
|
4405
|
-
const
|
|
4375
|
+
const de_ConfigRecommendation = (output, context) => {
|
|
4406
4376
|
return {
|
|
4407
4377
|
appComponentName: __expectString(output.appComponentName),
|
|
4408
|
-
compliance: output.compliance != null ?
|
|
4409
|
-
cost: output.cost != null ?
|
|
4378
|
+
compliance: output.compliance != null ? de_AssessmentCompliance(output.compliance, context) : undefined,
|
|
4379
|
+
cost: output.cost != null ? de_Cost(output.cost, context) : undefined,
|
|
4410
4380
|
description: __expectString(output.description),
|
|
4411
4381
|
haArchitecture: __expectString(output.haArchitecture),
|
|
4412
4382
|
name: __expectString(output.name),
|
|
4413
4383
|
optimizationType: __expectString(output.optimizationType),
|
|
4414
4384
|
recommendationCompliance: output.recommendationCompliance != null
|
|
4415
|
-
?
|
|
4385
|
+
? de_RecommendationCompliance(output.recommendationCompliance, context)
|
|
4416
4386
|
: undefined,
|
|
4417
4387
|
referenceId: __expectString(output.referenceId),
|
|
4418
|
-
suggestedChanges: output.suggestedChanges != null
|
|
4419
|
-
? deserializeAws_restJson1SuggestedChangesList(output.suggestedChanges, context)
|
|
4420
|
-
: undefined,
|
|
4388
|
+
suggestedChanges: output.suggestedChanges != null ? de_SuggestedChangesList(output.suggestedChanges, context) : undefined,
|
|
4421
4389
|
};
|
|
4422
4390
|
};
|
|
4423
|
-
const
|
|
4391
|
+
const de_ConfigRecommendationList = (output, context) => {
|
|
4424
4392
|
const retVal = (output || [])
|
|
4425
4393
|
.filter((e) => e != null)
|
|
4426
4394
|
.map((entry) => {
|
|
4427
4395
|
if (entry === null) {
|
|
4428
4396
|
return null;
|
|
4429
4397
|
}
|
|
4430
|
-
return
|
|
4398
|
+
return de_ConfigRecommendation(entry, context);
|
|
4431
4399
|
});
|
|
4432
4400
|
return retVal;
|
|
4433
4401
|
};
|
|
4434
|
-
const
|
|
4402
|
+
const de_Cost = (output, context) => {
|
|
4435
4403
|
return {
|
|
4436
4404
|
amount: __limitedParseDouble(output.amount),
|
|
4437
4405
|
currency: __expectString(output.currency),
|
|
4438
4406
|
frequency: __expectString(output.frequency),
|
|
4439
4407
|
};
|
|
4440
4408
|
};
|
|
4441
|
-
const
|
|
4409
|
+
const de_DisruptionCompliance = (output, context) => {
|
|
4442
4410
|
return {
|
|
4443
4411
|
achievableRpoInSecs: __expectInt32(output.achievableRpoInSecs),
|
|
4444
4412
|
achievableRtoInSecs: __expectInt32(output.achievableRtoInSecs),
|
|
@@ -4452,16 +4420,16 @@ const deserializeAws_restJson1DisruptionCompliance = (output, context) => {
|
|
|
4452
4420
|
rtoReferenceId: __expectString(output.rtoReferenceId),
|
|
4453
4421
|
};
|
|
4454
4422
|
};
|
|
4455
|
-
const
|
|
4423
|
+
const de_DisruptionPolicy = (output, context) => {
|
|
4456
4424
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4457
4425
|
if (value === null) {
|
|
4458
4426
|
return acc;
|
|
4459
4427
|
}
|
|
4460
|
-
acc[key] =
|
|
4428
|
+
acc[key] = de_FailurePolicy(value, context);
|
|
4461
4429
|
return acc;
|
|
4462
4430
|
}, {});
|
|
4463
4431
|
};
|
|
4464
|
-
const
|
|
4432
|
+
const de_DisruptionResiliencyScore = (output, context) => {
|
|
4465
4433
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4466
4434
|
if (value === null) {
|
|
4467
4435
|
return acc;
|
|
@@ -4470,7 +4438,7 @@ const deserializeAws_restJson1DisruptionResiliencyScore = (output, context) => {
|
|
|
4470
4438
|
return acc;
|
|
4471
4439
|
}, {});
|
|
4472
4440
|
};
|
|
4473
|
-
const
|
|
4441
|
+
const de_EksNamespaceList = (output, context) => {
|
|
4474
4442
|
const retVal = (output || [])
|
|
4475
4443
|
.filter((e) => e != null)
|
|
4476
4444
|
.map((entry) => {
|
|
@@ -4481,36 +4449,36 @@ const deserializeAws_restJson1EksNamespaceList = (output, context) => {
|
|
|
4481
4449
|
});
|
|
4482
4450
|
return retVal;
|
|
4483
4451
|
};
|
|
4484
|
-
const
|
|
4452
|
+
const de_EksSource = (output, context) => {
|
|
4485
4453
|
return {
|
|
4486
4454
|
eksClusterArn: __expectString(output.eksClusterArn),
|
|
4487
|
-
namespaces: output.namespaces != null ?
|
|
4455
|
+
namespaces: output.namespaces != null ? de_EksNamespaceList(output.namespaces, context) : undefined,
|
|
4488
4456
|
};
|
|
4489
4457
|
};
|
|
4490
|
-
const
|
|
4458
|
+
const de_EksSourceClusterNamespace = (output, context) => {
|
|
4491
4459
|
return {
|
|
4492
4460
|
eksClusterArn: __expectString(output.eksClusterArn),
|
|
4493
4461
|
namespace: __expectString(output.namespace),
|
|
4494
4462
|
};
|
|
4495
4463
|
};
|
|
4496
|
-
const
|
|
4464
|
+
const de_EksSourceList = (output, context) => {
|
|
4497
4465
|
const retVal = (output || [])
|
|
4498
4466
|
.filter((e) => e != null)
|
|
4499
4467
|
.map((entry) => {
|
|
4500
4468
|
if (entry === null) {
|
|
4501
4469
|
return null;
|
|
4502
4470
|
}
|
|
4503
|
-
return
|
|
4471
|
+
return de_EksSource(entry, context);
|
|
4504
4472
|
});
|
|
4505
4473
|
return retVal;
|
|
4506
4474
|
};
|
|
4507
|
-
const
|
|
4475
|
+
const de_FailurePolicy = (output, context) => {
|
|
4508
4476
|
return {
|
|
4509
4477
|
rpoInSecs: __expectInt32(output.rpoInSecs),
|
|
4510
4478
|
rtoInSecs: __expectInt32(output.rtoInSecs),
|
|
4511
4479
|
};
|
|
4512
4480
|
};
|
|
4513
|
-
const
|
|
4481
|
+
const de_LogicalResourceId = (output, context) => {
|
|
4514
4482
|
return {
|
|
4515
4483
|
eksSourceName: __expectString(output.eksSourceName),
|
|
4516
4484
|
identifier: __expectString(output.identifier),
|
|
@@ -4519,26 +4487,18 @@ const deserializeAws_restJson1LogicalResourceId = (output, context) => {
|
|
|
4519
4487
|
terraformSourceName: __expectString(output.terraformSourceName),
|
|
4520
4488
|
};
|
|
4521
4489
|
};
|
|
4522
|
-
const
|
|
4490
|
+
const de_PhysicalResource = (output, context) => {
|
|
4523
4491
|
return {
|
|
4524
|
-
additionalInfo: output.additionalInfo != null
|
|
4525
|
-
|
|
4526
|
-
: undefined,
|
|
4527
|
-
appComponents: output.appComponents != null
|
|
4528
|
-
? deserializeAws_restJson1AppComponentList(output.appComponents, context)
|
|
4529
|
-
: undefined,
|
|
4492
|
+
additionalInfo: output.additionalInfo != null ? de_AdditionalInfoMap(output.additionalInfo, context) : undefined,
|
|
4493
|
+
appComponents: output.appComponents != null ? de_AppComponentList(output.appComponents, context) : undefined,
|
|
4530
4494
|
excluded: __expectBoolean(output.excluded),
|
|
4531
|
-
logicalResourceId: output.logicalResourceId != null
|
|
4532
|
-
|
|
4533
|
-
: undefined,
|
|
4534
|
-
physicalResourceId: output.physicalResourceId != null
|
|
4535
|
-
? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context)
|
|
4536
|
-
: undefined,
|
|
4495
|
+
logicalResourceId: output.logicalResourceId != null ? de_LogicalResourceId(output.logicalResourceId, context) : undefined,
|
|
4496
|
+
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4537
4497
|
resourceName: __expectString(output.resourceName),
|
|
4538
4498
|
resourceType: __expectString(output.resourceType),
|
|
4539
4499
|
};
|
|
4540
4500
|
};
|
|
4541
|
-
const
|
|
4501
|
+
const de_PhysicalResourceId = (output, context) => {
|
|
4542
4502
|
return {
|
|
4543
4503
|
awsAccountId: __expectString(output.awsAccountId),
|
|
4544
4504
|
awsRegion: __expectString(output.awsRegion),
|
|
@@ -4546,27 +4506,27 @@ const deserializeAws_restJson1PhysicalResourceId = (output, context) => {
|
|
|
4546
4506
|
type: __expectString(output.type),
|
|
4547
4507
|
};
|
|
4548
4508
|
};
|
|
4549
|
-
const
|
|
4509
|
+
const de_PhysicalResourceList = (output, context) => {
|
|
4550
4510
|
const retVal = (output || [])
|
|
4551
4511
|
.filter((e) => e != null)
|
|
4552
4512
|
.map((entry) => {
|
|
4553
4513
|
if (entry === null) {
|
|
4554
4514
|
return null;
|
|
4555
4515
|
}
|
|
4556
|
-
return
|
|
4516
|
+
return de_PhysicalResource(entry, context);
|
|
4557
4517
|
});
|
|
4558
4518
|
return retVal;
|
|
4559
4519
|
};
|
|
4560
|
-
const
|
|
4520
|
+
const de_RecommendationCompliance = (output, context) => {
|
|
4561
4521
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4562
4522
|
if (value === null) {
|
|
4563
4523
|
return acc;
|
|
4564
4524
|
}
|
|
4565
|
-
acc[key] =
|
|
4525
|
+
acc[key] = de_RecommendationDisruptionCompliance(value, context);
|
|
4566
4526
|
return acc;
|
|
4567
4527
|
}, {});
|
|
4568
4528
|
};
|
|
4569
|
-
const
|
|
4529
|
+
const de_RecommendationDisruptionCompliance = (output, context) => {
|
|
4570
4530
|
return {
|
|
4571
4531
|
expectedComplianceStatus: __expectString(output.expectedComplianceStatus),
|
|
4572
4532
|
expectedRpoDescription: __expectString(output.expectedRpoDescription),
|
|
@@ -4575,7 +4535,7 @@ const deserializeAws_restJson1RecommendationDisruptionCompliance = (output, cont
|
|
|
4575
4535
|
expectedRtoInSecs: __expectInt32(output.expectedRtoInSecs),
|
|
4576
4536
|
};
|
|
4577
4537
|
};
|
|
4578
|
-
const
|
|
4538
|
+
const de_RecommendationIdList = (output, context) => {
|
|
4579
4539
|
const retVal = (output || [])
|
|
4580
4540
|
.filter((e) => e != null)
|
|
4581
4541
|
.map((entry) => {
|
|
@@ -4586,7 +4546,7 @@ const deserializeAws_restJson1RecommendationIdList = (output, context) => {
|
|
|
4586
4546
|
});
|
|
4587
4547
|
return retVal;
|
|
4588
4548
|
};
|
|
4589
|
-
const
|
|
4549
|
+
const de_RecommendationItem = (output, context) => {
|
|
4590
4550
|
return {
|
|
4591
4551
|
alreadyImplemented: __expectBoolean(output.alreadyImplemented),
|
|
4592
4552
|
resourceId: __expectString(output.resourceId),
|
|
@@ -4594,18 +4554,18 @@ const deserializeAws_restJson1RecommendationItem = (output, context) => {
|
|
|
4594
4554
|
targetRegion: __expectString(output.targetRegion),
|
|
4595
4555
|
};
|
|
4596
4556
|
};
|
|
4597
|
-
const
|
|
4557
|
+
const de_RecommendationItemList = (output, context) => {
|
|
4598
4558
|
const retVal = (output || [])
|
|
4599
4559
|
.filter((e) => e != null)
|
|
4600
4560
|
.map((entry) => {
|
|
4601
4561
|
if (entry === null) {
|
|
4602
4562
|
return null;
|
|
4603
4563
|
}
|
|
4604
|
-
return
|
|
4564
|
+
return de_RecommendationItem(entry, context);
|
|
4605
4565
|
});
|
|
4606
4566
|
return retVal;
|
|
4607
4567
|
};
|
|
4608
|
-
const
|
|
4568
|
+
const de_RecommendationTemplate = (output, context) => {
|
|
4609
4569
|
return {
|
|
4610
4570
|
appArn: __expectString(output.appArn),
|
|
4611
4571
|
assessmentArn: __expectString(output.assessmentArn),
|
|
@@ -4614,33 +4574,29 @@ const deserializeAws_restJson1RecommendationTemplate = (output, context) => {
|
|
|
4614
4574
|
message: __expectString(output.message),
|
|
4615
4575
|
name: __expectString(output.name),
|
|
4616
4576
|
needsReplacements: __expectBoolean(output.needsReplacements),
|
|
4617
|
-
recommendationIds: output.recommendationIds != null
|
|
4618
|
-
? deserializeAws_restJson1RecommendationIdList(output.recommendationIds, context)
|
|
4619
|
-
: undefined,
|
|
4577
|
+
recommendationIds: output.recommendationIds != null ? de_RecommendationIdList(output.recommendationIds, context) : undefined,
|
|
4620
4578
|
recommendationTemplateArn: __expectString(output.recommendationTemplateArn),
|
|
4621
4579
|
recommendationTypes: output.recommendationTypes != null
|
|
4622
|
-
?
|
|
4580
|
+
? de_RenderRecommendationTypeList(output.recommendationTypes, context)
|
|
4623
4581
|
: undefined,
|
|
4624
4582
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4625
4583
|
status: __expectString(output.status),
|
|
4626
|
-
tags: output.tags != null ?
|
|
4627
|
-
templatesLocation: output.templatesLocation != null
|
|
4628
|
-
? deserializeAws_restJson1S3Location(output.templatesLocation, context)
|
|
4629
|
-
: undefined,
|
|
4584
|
+
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4585
|
+
templatesLocation: output.templatesLocation != null ? de_S3Location(output.templatesLocation, context) : undefined,
|
|
4630
4586
|
};
|
|
4631
4587
|
};
|
|
4632
|
-
const
|
|
4588
|
+
const de_RecommendationTemplateList = (output, context) => {
|
|
4633
4589
|
const retVal = (output || [])
|
|
4634
4590
|
.filter((e) => e != null)
|
|
4635
4591
|
.map((entry) => {
|
|
4636
4592
|
if (entry === null) {
|
|
4637
4593
|
return null;
|
|
4638
4594
|
}
|
|
4639
|
-
return
|
|
4595
|
+
return de_RecommendationTemplate(entry, context);
|
|
4640
4596
|
});
|
|
4641
4597
|
return retVal;
|
|
4642
4598
|
};
|
|
4643
|
-
const
|
|
4599
|
+
const de_RenderRecommendationTypeList = (output, context) => {
|
|
4644
4600
|
const retVal = (output || [])
|
|
4645
4601
|
.filter((e) => e != null)
|
|
4646
4602
|
.map((entry) => {
|
|
@@ -4651,102 +4607,96 @@ const deserializeAws_restJson1RenderRecommendationTypeList = (output, context) =
|
|
|
4651
4607
|
});
|
|
4652
4608
|
return retVal;
|
|
4653
4609
|
};
|
|
4654
|
-
const
|
|
4610
|
+
const de_ResiliencyPolicies = (output, context) => {
|
|
4655
4611
|
const retVal = (output || [])
|
|
4656
4612
|
.filter((e) => e != null)
|
|
4657
4613
|
.map((entry) => {
|
|
4658
4614
|
if (entry === null) {
|
|
4659
4615
|
return null;
|
|
4660
4616
|
}
|
|
4661
|
-
return
|
|
4617
|
+
return de_ResiliencyPolicy(entry, context);
|
|
4662
4618
|
});
|
|
4663
4619
|
return retVal;
|
|
4664
4620
|
};
|
|
4665
|
-
const
|
|
4621
|
+
const de_ResiliencyPolicy = (output, context) => {
|
|
4666
4622
|
return {
|
|
4667
4623
|
creationTime: output.creationTime != null
|
|
4668
4624
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
4669
4625
|
: undefined,
|
|
4670
4626
|
dataLocationConstraint: __expectString(output.dataLocationConstraint),
|
|
4671
4627
|
estimatedCostTier: __expectString(output.estimatedCostTier),
|
|
4672
|
-
policy: output.policy != null ?
|
|
4628
|
+
policy: output.policy != null ? de_DisruptionPolicy(output.policy, context) : undefined,
|
|
4673
4629
|
policyArn: __expectString(output.policyArn),
|
|
4674
4630
|
policyDescription: __expectString(output.policyDescription),
|
|
4675
4631
|
policyName: __expectString(output.policyName),
|
|
4676
|
-
tags: output.tags != null ?
|
|
4632
|
+
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
4677
4633
|
tier: __expectString(output.tier),
|
|
4678
4634
|
};
|
|
4679
4635
|
};
|
|
4680
|
-
const
|
|
4636
|
+
const de_ResiliencyScore = (output, context) => {
|
|
4681
4637
|
return {
|
|
4682
|
-
disruptionScore: output.disruptionScore != null
|
|
4683
|
-
? deserializeAws_restJson1DisruptionResiliencyScore(output.disruptionScore, context)
|
|
4684
|
-
: undefined,
|
|
4638
|
+
disruptionScore: output.disruptionScore != null ? de_DisruptionResiliencyScore(output.disruptionScore, context) : undefined,
|
|
4685
4639
|
score: __limitedParseDouble(output.score),
|
|
4686
4640
|
};
|
|
4687
4641
|
};
|
|
4688
|
-
const
|
|
4642
|
+
const de_ResourceError = (output, context) => {
|
|
4689
4643
|
return {
|
|
4690
4644
|
logicalResourceId: __expectString(output.logicalResourceId),
|
|
4691
4645
|
physicalResourceId: __expectString(output.physicalResourceId),
|
|
4692
4646
|
reason: __expectString(output.reason),
|
|
4693
4647
|
};
|
|
4694
4648
|
};
|
|
4695
|
-
const
|
|
4649
|
+
const de_ResourceErrorList = (output, context) => {
|
|
4696
4650
|
const retVal = (output || [])
|
|
4697
4651
|
.filter((e) => e != null)
|
|
4698
4652
|
.map((entry) => {
|
|
4699
4653
|
if (entry === null) {
|
|
4700
4654
|
return null;
|
|
4701
4655
|
}
|
|
4702
|
-
return
|
|
4656
|
+
return de_ResourceError(entry, context);
|
|
4703
4657
|
});
|
|
4704
4658
|
return retVal;
|
|
4705
4659
|
};
|
|
4706
|
-
const
|
|
4660
|
+
const de_ResourceErrorsDetails = (output, context) => {
|
|
4707
4661
|
return {
|
|
4708
4662
|
hasMoreErrors: __expectBoolean(output.hasMoreErrors),
|
|
4709
|
-
resourceErrors: output.resourceErrors != null
|
|
4710
|
-
? deserializeAws_restJson1ResourceErrorList(output.resourceErrors, context)
|
|
4711
|
-
: undefined,
|
|
4663
|
+
resourceErrors: output.resourceErrors != null ? de_ResourceErrorList(output.resourceErrors, context) : undefined,
|
|
4712
4664
|
};
|
|
4713
4665
|
};
|
|
4714
|
-
const
|
|
4666
|
+
const de_ResourceMapping = (output, context) => {
|
|
4715
4667
|
return {
|
|
4716
4668
|
appRegistryAppName: __expectString(output.appRegistryAppName),
|
|
4717
4669
|
eksSourceName: __expectString(output.eksSourceName),
|
|
4718
4670
|
logicalStackName: __expectString(output.logicalStackName),
|
|
4719
4671
|
mappingType: __expectString(output.mappingType),
|
|
4720
|
-
physicalResourceId: output.physicalResourceId != null
|
|
4721
|
-
? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context)
|
|
4722
|
-
: undefined,
|
|
4672
|
+
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4723
4673
|
resourceGroupName: __expectString(output.resourceGroupName),
|
|
4724
4674
|
resourceName: __expectString(output.resourceName),
|
|
4725
4675
|
terraformSourceName: __expectString(output.terraformSourceName),
|
|
4726
4676
|
};
|
|
4727
4677
|
};
|
|
4728
|
-
const
|
|
4678
|
+
const de_ResourceMappingList = (output, context) => {
|
|
4729
4679
|
const retVal = (output || [])
|
|
4730
4680
|
.filter((e) => e != null)
|
|
4731
4681
|
.map((entry) => {
|
|
4732
4682
|
if (entry === null) {
|
|
4733
4683
|
return null;
|
|
4734
4684
|
}
|
|
4735
|
-
return
|
|
4685
|
+
return de_ResourceMapping(entry, context);
|
|
4736
4686
|
});
|
|
4737
4687
|
return retVal;
|
|
4738
4688
|
};
|
|
4739
|
-
const
|
|
4689
|
+
const de_S3Location = (output, context) => {
|
|
4740
4690
|
return {
|
|
4741
4691
|
bucket: __expectString(output.bucket),
|
|
4742
4692
|
prefix: __expectString(output.prefix),
|
|
4743
4693
|
};
|
|
4744
4694
|
};
|
|
4745
|
-
const
|
|
4695
|
+
const de_SopRecommendation = (output, context) => {
|
|
4746
4696
|
return {
|
|
4747
4697
|
appComponentName: __expectString(output.appComponentName),
|
|
4748
4698
|
description: __expectString(output.description),
|
|
4749
|
-
items: output.items != null ?
|
|
4699
|
+
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4750
4700
|
name: __expectString(output.name),
|
|
4751
4701
|
prerequisite: __expectString(output.prerequisite),
|
|
4752
4702
|
recommendationId: __expectString(output.recommendationId),
|
|
@@ -4754,18 +4704,18 @@ const deserializeAws_restJson1SopRecommendation = (output, context) => {
|
|
|
4754
4704
|
serviceType: __expectString(output.serviceType),
|
|
4755
4705
|
};
|
|
4756
4706
|
};
|
|
4757
|
-
const
|
|
4707
|
+
const de_SopRecommendationList = (output, context) => {
|
|
4758
4708
|
const retVal = (output || [])
|
|
4759
4709
|
.filter((e) => e != null)
|
|
4760
4710
|
.map((entry) => {
|
|
4761
4711
|
if (entry === null) {
|
|
4762
4712
|
return null;
|
|
4763
4713
|
}
|
|
4764
|
-
return
|
|
4714
|
+
return de_SopRecommendation(entry, context);
|
|
4765
4715
|
});
|
|
4766
4716
|
return retVal;
|
|
4767
4717
|
};
|
|
4768
|
-
const
|
|
4718
|
+
const de_SuggestedChangesList = (output, context) => {
|
|
4769
4719
|
const retVal = (output || [])
|
|
4770
4720
|
.filter((e) => e != null)
|
|
4771
4721
|
.map((entry) => {
|
|
@@ -4776,7 +4726,7 @@ const deserializeAws_restJson1SuggestedChangesList = (output, context) => {
|
|
|
4776
4726
|
});
|
|
4777
4727
|
return retVal;
|
|
4778
4728
|
};
|
|
4779
|
-
const
|
|
4729
|
+
const de_TagMap = (output, context) => {
|
|
4780
4730
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4781
4731
|
if (value === null) {
|
|
4782
4732
|
return acc;
|
|
@@ -4785,31 +4735,29 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4785
4735
|
return acc;
|
|
4786
4736
|
}, {});
|
|
4787
4737
|
};
|
|
4788
|
-
const
|
|
4738
|
+
const de_TerraformSource = (output, context) => {
|
|
4789
4739
|
return {
|
|
4790
4740
|
s3StateFileUrl: __expectString(output.s3StateFileUrl),
|
|
4791
4741
|
};
|
|
4792
4742
|
};
|
|
4793
|
-
const
|
|
4743
|
+
const de_TerraformSourceList = (output, context) => {
|
|
4794
4744
|
const retVal = (output || [])
|
|
4795
4745
|
.filter((e) => e != null)
|
|
4796
4746
|
.map((entry) => {
|
|
4797
4747
|
if (entry === null) {
|
|
4798
4748
|
return null;
|
|
4799
4749
|
}
|
|
4800
|
-
return
|
|
4750
|
+
return de_TerraformSource(entry, context);
|
|
4801
4751
|
});
|
|
4802
4752
|
return retVal;
|
|
4803
4753
|
};
|
|
4804
|
-
const
|
|
4754
|
+
const de_TestRecommendation = (output, context) => {
|
|
4805
4755
|
return {
|
|
4806
4756
|
appComponentName: __expectString(output.appComponentName),
|
|
4807
|
-
dependsOnAlarms: output.dependsOnAlarms != null
|
|
4808
|
-
? deserializeAws_restJson1AlarmReferenceIdList(output.dependsOnAlarms, context)
|
|
4809
|
-
: undefined,
|
|
4757
|
+
dependsOnAlarms: output.dependsOnAlarms != null ? de_AlarmReferenceIdList(output.dependsOnAlarms, context) : undefined,
|
|
4810
4758
|
description: __expectString(output.description),
|
|
4811
4759
|
intent: __expectString(output.intent),
|
|
4812
|
-
items: output.items != null ?
|
|
4760
|
+
items: output.items != null ? de_RecommendationItemList(output.items, context) : undefined,
|
|
4813
4761
|
name: __expectString(output.name),
|
|
4814
4762
|
prerequisite: __expectString(output.prerequisite),
|
|
4815
4763
|
recommendationId: __expectString(output.recommendationId),
|
|
@@ -4818,37 +4766,33 @@ const deserializeAws_restJson1TestRecommendation = (output, context) => {
|
|
|
4818
4766
|
type: __expectString(output.type),
|
|
4819
4767
|
};
|
|
4820
4768
|
};
|
|
4821
|
-
const
|
|
4769
|
+
const de_TestRecommendationList = (output, context) => {
|
|
4822
4770
|
const retVal = (output || [])
|
|
4823
4771
|
.filter((e) => e != null)
|
|
4824
4772
|
.map((entry) => {
|
|
4825
4773
|
if (entry === null) {
|
|
4826
4774
|
return null;
|
|
4827
4775
|
}
|
|
4828
|
-
return
|
|
4776
|
+
return de_TestRecommendation(entry, context);
|
|
4829
4777
|
});
|
|
4830
4778
|
return retVal;
|
|
4831
4779
|
};
|
|
4832
|
-
const
|
|
4780
|
+
const de_UnsupportedResource = (output, context) => {
|
|
4833
4781
|
return {
|
|
4834
|
-
logicalResourceId: output.logicalResourceId != null
|
|
4835
|
-
|
|
4836
|
-
: undefined,
|
|
4837
|
-
physicalResourceId: output.physicalResourceId != null
|
|
4838
|
-
? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context)
|
|
4839
|
-
: undefined,
|
|
4782
|
+
logicalResourceId: output.logicalResourceId != null ? de_LogicalResourceId(output.logicalResourceId, context) : undefined,
|
|
4783
|
+
physicalResourceId: output.physicalResourceId != null ? de_PhysicalResourceId(output.physicalResourceId, context) : undefined,
|
|
4840
4784
|
resourceType: __expectString(output.resourceType),
|
|
4841
4785
|
unsupportedResourceStatus: __expectString(output.unsupportedResourceStatus),
|
|
4842
4786
|
};
|
|
4843
4787
|
};
|
|
4844
|
-
const
|
|
4788
|
+
const de_UnsupportedResourceList = (output, context) => {
|
|
4845
4789
|
const retVal = (output || [])
|
|
4846
4790
|
.filter((e) => e != null)
|
|
4847
4791
|
.map((entry) => {
|
|
4848
4792
|
if (entry === null) {
|
|
4849
4793
|
return null;
|
|
4850
4794
|
}
|
|
4851
|
-
return
|
|
4795
|
+
return de_UnsupportedResource(entry, context);
|
|
4852
4796
|
});
|
|
4853
4797
|
return retVal;
|
|
4854
4798
|
};
|