@aws-sdk/client-elastic-beanstalk 3.929.0 → 3.930.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.
Files changed (68) hide show
  1. package/dist-cjs/index.js +1642 -4766
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ElasticBeanstalkClient.js +2 -0
  4. package/dist-es/commands/AbortEnvironmentUpdateCommand.js +3 -9
  5. package/dist-es/commands/ApplyEnvironmentManagedActionCommand.js +3 -9
  6. package/dist-es/commands/AssociateEnvironmentOperationsRoleCommand.js +3 -9
  7. package/dist-es/commands/CheckDNSAvailabilityCommand.js +3 -9
  8. package/dist-es/commands/ComposeEnvironmentsCommand.js +3 -9
  9. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  10. package/dist-es/commands/CreateApplicationVersionCommand.js +3 -9
  11. package/dist-es/commands/CreateConfigurationTemplateCommand.js +3 -9
  12. package/dist-es/commands/CreateEnvironmentCommand.js +3 -9
  13. package/dist-es/commands/CreatePlatformVersionCommand.js +3 -9
  14. package/dist-es/commands/CreateStorageLocationCommand.js +3 -9
  15. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  16. package/dist-es/commands/DeleteApplicationVersionCommand.js +3 -9
  17. package/dist-es/commands/DeleteConfigurationTemplateCommand.js +3 -9
  18. package/dist-es/commands/DeleteEnvironmentConfigurationCommand.js +3 -9
  19. package/dist-es/commands/DeletePlatformVersionCommand.js +3 -9
  20. package/dist-es/commands/DescribeAccountAttributesCommand.js +3 -9
  21. package/dist-es/commands/DescribeApplicationVersionsCommand.js +3 -9
  22. package/dist-es/commands/DescribeApplicationsCommand.js +3 -9
  23. package/dist-es/commands/DescribeConfigurationOptionsCommand.js +3 -9
  24. package/dist-es/commands/DescribeConfigurationSettingsCommand.js +3 -9
  25. package/dist-es/commands/DescribeEnvironmentHealthCommand.js +3 -9
  26. package/dist-es/commands/DescribeEnvironmentManagedActionHistoryCommand.js +3 -9
  27. package/dist-es/commands/DescribeEnvironmentManagedActionsCommand.js +3 -9
  28. package/dist-es/commands/DescribeEnvironmentResourcesCommand.js +3 -9
  29. package/dist-es/commands/DescribeEnvironmentsCommand.js +3 -9
  30. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  31. package/dist-es/commands/DescribeInstancesHealthCommand.js +3 -9
  32. package/dist-es/commands/DescribePlatformVersionCommand.js +3 -9
  33. package/dist-es/commands/DisassociateEnvironmentOperationsRoleCommand.js +3 -9
  34. package/dist-es/commands/ListAvailableSolutionStacksCommand.js +3 -9
  35. package/dist-es/commands/ListPlatformBranchesCommand.js +3 -9
  36. package/dist-es/commands/ListPlatformVersionsCommand.js +3 -9
  37. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  38. package/dist-es/commands/RebuildEnvironmentCommand.js +3 -9
  39. package/dist-es/commands/RequestEnvironmentInfoCommand.js +3 -9
  40. package/dist-es/commands/RestartAppServerCommand.js +3 -9
  41. package/dist-es/commands/RetrieveEnvironmentInfoCommand.js +3 -9
  42. package/dist-es/commands/SwapEnvironmentCNAMEsCommand.js +3 -9
  43. package/dist-es/commands/TerminateEnvironmentCommand.js +3 -9
  44. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  45. package/dist-es/commands/UpdateApplicationResourceLifecycleCommand.js +3 -9
  46. package/dist-es/commands/UpdateApplicationVersionCommand.js +3 -9
  47. package/dist-es/commands/UpdateConfigurationTemplateCommand.js +3 -9
  48. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -9
  49. package/dist-es/commands/UpdateTagsForResourceCommand.js +3 -9
  50. package/dist-es/commands/ValidateConfigurationSettingsCommand.js +3 -9
  51. package/dist-es/runtimeConfig.shared.js +7 -0
  52. package/dist-es/schemas/schemas_0.js +1758 -0
  53. package/dist-types/ElasticBeanstalkClient.d.ts +10 -1
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  55. package/dist-types/runtimeConfig.d.ts +1 -0
  56. package/dist-types/runtimeConfig.native.d.ts +1 -0
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/schemas/schemas_0.d.ts +245 -0
  59. package/dist-types/ts3.4/ElasticBeanstalkClient.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +250 -0
  65. package/package.json +34 -34
  66. package/dist-es/protocols/Aws_query.js +0 -4635
  67. package/dist-types/protocols/Aws_query.d.ts +0 -425
  68. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -569
@@ -1,4635 +0,0 @@
1
- import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
2
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
4
- import { ElasticBeanstalkSyntheticServiceException as __BaseException } from "../models/ElasticBeanstalkSyntheticServiceException";
5
- import { CodeBuildNotInServiceRegionException, ElasticBeanstalkServiceException, InsufficientPrivilegesException, InvalidRequestException, ManagedActionInvalidStateException, OperationInProgressException, PlatformVersionStillReferencedException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3LocationNotInServiceRegionException, S3SubscriptionRequiredException, SourceBundleDeletionException, TooManyApplicationsException, TooManyApplicationVersionsException, TooManyBucketsException, TooManyConfigurationTemplatesException, TooManyEnvironmentsException, TooManyPlatformsException, TooManyTagsException, } from "../models/models_0";
6
- export const se_AbortEnvironmentUpdateCommand = async (input, context) => {
7
- const headers = SHARED_HEADERS;
8
- let body;
9
- body = buildFormUrlencodedString({
10
- ...se_AbortEnvironmentUpdateMessage(input, context),
11
- [_A]: _AEU,
12
- [_V]: _,
13
- });
14
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
15
- };
16
- export const se_ApplyEnvironmentManagedActionCommand = async (input, context) => {
17
- const headers = SHARED_HEADERS;
18
- let body;
19
- body = buildFormUrlencodedString({
20
- ...se_ApplyEnvironmentManagedActionRequest(input, context),
21
- [_A]: _AEMA,
22
- [_V]: _,
23
- });
24
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
25
- };
26
- export const se_AssociateEnvironmentOperationsRoleCommand = async (input, context) => {
27
- const headers = SHARED_HEADERS;
28
- let body;
29
- body = buildFormUrlencodedString({
30
- ...se_AssociateEnvironmentOperationsRoleMessage(input, context),
31
- [_A]: _AEOR,
32
- [_V]: _,
33
- });
34
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
35
- };
36
- export const se_CheckDNSAvailabilityCommand = async (input, context) => {
37
- const headers = SHARED_HEADERS;
38
- let body;
39
- body = buildFormUrlencodedString({
40
- ...se_CheckDNSAvailabilityMessage(input, context),
41
- [_A]: _CDNSA,
42
- [_V]: _,
43
- });
44
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
45
- };
46
- export const se_ComposeEnvironmentsCommand = async (input, context) => {
47
- const headers = SHARED_HEADERS;
48
- let body;
49
- body = buildFormUrlencodedString({
50
- ...se_ComposeEnvironmentsMessage(input, context),
51
- [_A]: _CE,
52
- [_V]: _,
53
- });
54
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
55
- };
56
- export const se_CreateApplicationCommand = async (input, context) => {
57
- const headers = SHARED_HEADERS;
58
- let body;
59
- body = buildFormUrlencodedString({
60
- ...se_CreateApplicationMessage(input, context),
61
- [_A]: _CA,
62
- [_V]: _,
63
- });
64
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
- };
66
- export const se_CreateApplicationVersionCommand = async (input, context) => {
67
- const headers = SHARED_HEADERS;
68
- let body;
69
- body = buildFormUrlencodedString({
70
- ...se_CreateApplicationVersionMessage(input, context),
71
- [_A]: _CAV,
72
- [_V]: _,
73
- });
74
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
75
- };
76
- export const se_CreateConfigurationTemplateCommand = async (input, context) => {
77
- const headers = SHARED_HEADERS;
78
- let body;
79
- body = buildFormUrlencodedString({
80
- ...se_CreateConfigurationTemplateMessage(input, context),
81
- [_A]: _CCT,
82
- [_V]: _,
83
- });
84
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
- };
86
- export const se_CreateEnvironmentCommand = async (input, context) => {
87
- const headers = SHARED_HEADERS;
88
- let body;
89
- body = buildFormUrlencodedString({
90
- ...se_CreateEnvironmentMessage(input, context),
91
- [_A]: _CEr,
92
- [_V]: _,
93
- });
94
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
- };
96
- export const se_CreatePlatformVersionCommand = async (input, context) => {
97
- const headers = SHARED_HEADERS;
98
- let body;
99
- body = buildFormUrlencodedString({
100
- ...se_CreatePlatformVersionRequest(input, context),
101
- [_A]: _CPV,
102
- [_V]: _,
103
- });
104
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
105
- };
106
- export const se_CreateStorageLocationCommand = async (input, context) => {
107
- const headers = SHARED_HEADERS;
108
- const body = buildFormUrlencodedString({
109
- [_A]: _CSL,
110
- [_V]: _,
111
- });
112
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
- };
114
- export const se_DeleteApplicationCommand = async (input, context) => {
115
- const headers = SHARED_HEADERS;
116
- let body;
117
- body = buildFormUrlencodedString({
118
- ...se_DeleteApplicationMessage(input, context),
119
- [_A]: _DA,
120
- [_V]: _,
121
- });
122
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
123
- };
124
- export const se_DeleteApplicationVersionCommand = async (input, context) => {
125
- const headers = SHARED_HEADERS;
126
- let body;
127
- body = buildFormUrlencodedString({
128
- ...se_DeleteApplicationVersionMessage(input, context),
129
- [_A]: _DAV,
130
- [_V]: _,
131
- });
132
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
133
- };
134
- export const se_DeleteConfigurationTemplateCommand = async (input, context) => {
135
- const headers = SHARED_HEADERS;
136
- let body;
137
- body = buildFormUrlencodedString({
138
- ...se_DeleteConfigurationTemplateMessage(input, context),
139
- [_A]: _DCT,
140
- [_V]: _,
141
- });
142
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
143
- };
144
- export const se_DeleteEnvironmentConfigurationCommand = async (input, context) => {
145
- const headers = SHARED_HEADERS;
146
- let body;
147
- body = buildFormUrlencodedString({
148
- ...se_DeleteEnvironmentConfigurationMessage(input, context),
149
- [_A]: _DEC,
150
- [_V]: _,
151
- });
152
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
153
- };
154
- export const se_DeletePlatformVersionCommand = async (input, context) => {
155
- const headers = SHARED_HEADERS;
156
- let body;
157
- body = buildFormUrlencodedString({
158
- ...se_DeletePlatformVersionRequest(input, context),
159
- [_A]: _DPV,
160
- [_V]: _,
161
- });
162
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
163
- };
164
- export const se_DescribeAccountAttributesCommand = async (input, context) => {
165
- const headers = SHARED_HEADERS;
166
- const body = buildFormUrlencodedString({
167
- [_A]: _DAA,
168
- [_V]: _,
169
- });
170
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
171
- };
172
- export const se_DescribeApplicationsCommand = async (input, context) => {
173
- const headers = SHARED_HEADERS;
174
- let body;
175
- body = buildFormUrlencodedString({
176
- ...se_DescribeApplicationsMessage(input, context),
177
- [_A]: _DAe,
178
- [_V]: _,
179
- });
180
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
181
- };
182
- export const se_DescribeApplicationVersionsCommand = async (input, context) => {
183
- const headers = SHARED_HEADERS;
184
- let body;
185
- body = buildFormUrlencodedString({
186
- ...se_DescribeApplicationVersionsMessage(input, context),
187
- [_A]: _DAVe,
188
- [_V]: _,
189
- });
190
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
191
- };
192
- export const se_DescribeConfigurationOptionsCommand = async (input, context) => {
193
- const headers = SHARED_HEADERS;
194
- let body;
195
- body = buildFormUrlencodedString({
196
- ...se_DescribeConfigurationOptionsMessage(input, context),
197
- [_A]: _DCO,
198
- [_V]: _,
199
- });
200
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
201
- };
202
- export const se_DescribeConfigurationSettingsCommand = async (input, context) => {
203
- const headers = SHARED_HEADERS;
204
- let body;
205
- body = buildFormUrlencodedString({
206
- ...se_DescribeConfigurationSettingsMessage(input, context),
207
- [_A]: _DCS,
208
- [_V]: _,
209
- });
210
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
211
- };
212
- export const se_DescribeEnvironmentHealthCommand = async (input, context) => {
213
- const headers = SHARED_HEADERS;
214
- let body;
215
- body = buildFormUrlencodedString({
216
- ...se_DescribeEnvironmentHealthRequest(input, context),
217
- [_A]: _DEH,
218
- [_V]: _,
219
- });
220
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
221
- };
222
- export const se_DescribeEnvironmentManagedActionHistoryCommand = async (input, context) => {
223
- const headers = SHARED_HEADERS;
224
- let body;
225
- body = buildFormUrlencodedString({
226
- ...se_DescribeEnvironmentManagedActionHistoryRequest(input, context),
227
- [_A]: _DEMAH,
228
- [_V]: _,
229
- });
230
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
231
- };
232
- export const se_DescribeEnvironmentManagedActionsCommand = async (input, context) => {
233
- const headers = SHARED_HEADERS;
234
- let body;
235
- body = buildFormUrlencodedString({
236
- ...se_DescribeEnvironmentManagedActionsRequest(input, context),
237
- [_A]: _DEMA,
238
- [_V]: _,
239
- });
240
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
241
- };
242
- export const se_DescribeEnvironmentResourcesCommand = async (input, context) => {
243
- const headers = SHARED_HEADERS;
244
- let body;
245
- body = buildFormUrlencodedString({
246
- ...se_DescribeEnvironmentResourcesMessage(input, context),
247
- [_A]: _DER,
248
- [_V]: _,
249
- });
250
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
251
- };
252
- export const se_DescribeEnvironmentsCommand = async (input, context) => {
253
- const headers = SHARED_HEADERS;
254
- let body;
255
- body = buildFormUrlencodedString({
256
- ...se_DescribeEnvironmentsMessage(input, context),
257
- [_A]: _DE,
258
- [_V]: _,
259
- });
260
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
261
- };
262
- export const se_DescribeEventsCommand = async (input, context) => {
263
- const headers = SHARED_HEADERS;
264
- let body;
265
- body = buildFormUrlencodedString({
266
- ...se_DescribeEventsMessage(input, context),
267
- [_A]: _DEe,
268
- [_V]: _,
269
- });
270
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
271
- };
272
- export const se_DescribeInstancesHealthCommand = async (input, context) => {
273
- const headers = SHARED_HEADERS;
274
- let body;
275
- body = buildFormUrlencodedString({
276
- ...se_DescribeInstancesHealthRequest(input, context),
277
- [_A]: _DIH,
278
- [_V]: _,
279
- });
280
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
281
- };
282
- export const se_DescribePlatformVersionCommand = async (input, context) => {
283
- const headers = SHARED_HEADERS;
284
- let body;
285
- body = buildFormUrlencodedString({
286
- ...se_DescribePlatformVersionRequest(input, context),
287
- [_A]: _DPVe,
288
- [_V]: _,
289
- });
290
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
291
- };
292
- export const se_DisassociateEnvironmentOperationsRoleCommand = async (input, context) => {
293
- const headers = SHARED_HEADERS;
294
- let body;
295
- body = buildFormUrlencodedString({
296
- ...se_DisassociateEnvironmentOperationsRoleMessage(input, context),
297
- [_A]: _DEOR,
298
- [_V]: _,
299
- });
300
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
301
- };
302
- export const se_ListAvailableSolutionStacksCommand = async (input, context) => {
303
- const headers = SHARED_HEADERS;
304
- const body = buildFormUrlencodedString({
305
- [_A]: _LASS,
306
- [_V]: _,
307
- });
308
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
309
- };
310
- export const se_ListPlatformBranchesCommand = async (input, context) => {
311
- const headers = SHARED_HEADERS;
312
- let body;
313
- body = buildFormUrlencodedString({
314
- ...se_ListPlatformBranchesRequest(input, context),
315
- [_A]: _LPB,
316
- [_V]: _,
317
- });
318
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
- };
320
- export const se_ListPlatformVersionsCommand = async (input, context) => {
321
- const headers = SHARED_HEADERS;
322
- let body;
323
- body = buildFormUrlencodedString({
324
- ...se_ListPlatformVersionsRequest(input, context),
325
- [_A]: _LPV,
326
- [_V]: _,
327
- });
328
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
- };
330
- export const se_ListTagsForResourceCommand = async (input, context) => {
331
- const headers = SHARED_HEADERS;
332
- let body;
333
- body = buildFormUrlencodedString({
334
- ...se_ListTagsForResourceMessage(input, context),
335
- [_A]: _LTFR,
336
- [_V]: _,
337
- });
338
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
339
- };
340
- export const se_RebuildEnvironmentCommand = async (input, context) => {
341
- const headers = SHARED_HEADERS;
342
- let body;
343
- body = buildFormUrlencodedString({
344
- ...se_RebuildEnvironmentMessage(input, context),
345
- [_A]: _RE,
346
- [_V]: _,
347
- });
348
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
349
- };
350
- export const se_RequestEnvironmentInfoCommand = async (input, context) => {
351
- const headers = SHARED_HEADERS;
352
- let body;
353
- body = buildFormUrlencodedString({
354
- ...se_RequestEnvironmentInfoMessage(input, context),
355
- [_A]: _REI,
356
- [_V]: _,
357
- });
358
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
359
- };
360
- export const se_RestartAppServerCommand = async (input, context) => {
361
- const headers = SHARED_HEADERS;
362
- let body;
363
- body = buildFormUrlencodedString({
364
- ...se_RestartAppServerMessage(input, context),
365
- [_A]: _RAS,
366
- [_V]: _,
367
- });
368
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
369
- };
370
- export const se_RetrieveEnvironmentInfoCommand = async (input, context) => {
371
- const headers = SHARED_HEADERS;
372
- let body;
373
- body = buildFormUrlencodedString({
374
- ...se_RetrieveEnvironmentInfoMessage(input, context),
375
- [_A]: _REIe,
376
- [_V]: _,
377
- });
378
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
379
- };
380
- export const se_SwapEnvironmentCNAMEsCommand = async (input, context) => {
381
- const headers = SHARED_HEADERS;
382
- let body;
383
- body = buildFormUrlencodedString({
384
- ...se_SwapEnvironmentCNAMEsMessage(input, context),
385
- [_A]: _SECNAME,
386
- [_V]: _,
387
- });
388
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
389
- };
390
- export const se_TerminateEnvironmentCommand = async (input, context) => {
391
- const headers = SHARED_HEADERS;
392
- let body;
393
- body = buildFormUrlencodedString({
394
- ...se_TerminateEnvironmentMessage(input, context),
395
- [_A]: _TE,
396
- [_V]: _,
397
- });
398
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
399
- };
400
- export const se_UpdateApplicationCommand = async (input, context) => {
401
- const headers = SHARED_HEADERS;
402
- let body;
403
- body = buildFormUrlencodedString({
404
- ...se_UpdateApplicationMessage(input, context),
405
- [_A]: _UA,
406
- [_V]: _,
407
- });
408
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
409
- };
410
- export const se_UpdateApplicationResourceLifecycleCommand = async (input, context) => {
411
- const headers = SHARED_HEADERS;
412
- let body;
413
- body = buildFormUrlencodedString({
414
- ...se_UpdateApplicationResourceLifecycleMessage(input, context),
415
- [_A]: _UARL,
416
- [_V]: _,
417
- });
418
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
419
- };
420
- export const se_UpdateApplicationVersionCommand = async (input, context) => {
421
- const headers = SHARED_HEADERS;
422
- let body;
423
- body = buildFormUrlencodedString({
424
- ...se_UpdateApplicationVersionMessage(input, context),
425
- [_A]: _UAV,
426
- [_V]: _,
427
- });
428
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
429
- };
430
- export const se_UpdateConfigurationTemplateCommand = async (input, context) => {
431
- const headers = SHARED_HEADERS;
432
- let body;
433
- body = buildFormUrlencodedString({
434
- ...se_UpdateConfigurationTemplateMessage(input, context),
435
- [_A]: _UCT,
436
- [_V]: _,
437
- });
438
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
439
- };
440
- export const se_UpdateEnvironmentCommand = async (input, context) => {
441
- const headers = SHARED_HEADERS;
442
- let body;
443
- body = buildFormUrlencodedString({
444
- ...se_UpdateEnvironmentMessage(input, context),
445
- [_A]: _UE,
446
- [_V]: _,
447
- });
448
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
- };
450
- export const se_UpdateTagsForResourceCommand = async (input, context) => {
451
- const headers = SHARED_HEADERS;
452
- let body;
453
- body = buildFormUrlencodedString({
454
- ...se_UpdateTagsForResourceMessage(input, context),
455
- [_A]: _UTFR,
456
- [_V]: _,
457
- });
458
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
459
- };
460
- export const se_ValidateConfigurationSettingsCommand = async (input, context) => {
461
- const headers = SHARED_HEADERS;
462
- let body;
463
- body = buildFormUrlencodedString({
464
- ...se_ValidateConfigurationSettingsMessage(input, context),
465
- [_A]: _VCS,
466
- [_V]: _,
467
- });
468
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
469
- };
470
- export const de_AbortEnvironmentUpdateCommand = async (output, context) => {
471
- if (output.statusCode >= 300) {
472
- return de_CommandError(output, context);
473
- }
474
- await collectBody(output.body, context);
475
- const response = {
476
- $metadata: deserializeMetadata(output),
477
- };
478
- return response;
479
- };
480
- export const de_ApplyEnvironmentManagedActionCommand = async (output, context) => {
481
- if (output.statusCode >= 300) {
482
- return de_CommandError(output, context);
483
- }
484
- const data = await parseBody(output.body, context);
485
- let contents = {};
486
- contents = de_ApplyEnvironmentManagedActionResult(data.ApplyEnvironmentManagedActionResult, context);
487
- const response = {
488
- $metadata: deserializeMetadata(output),
489
- ...contents,
490
- };
491
- return response;
492
- };
493
- export const de_AssociateEnvironmentOperationsRoleCommand = async (output, context) => {
494
- if (output.statusCode >= 300) {
495
- return de_CommandError(output, context);
496
- }
497
- await collectBody(output.body, context);
498
- const response = {
499
- $metadata: deserializeMetadata(output),
500
- };
501
- return response;
502
- };
503
- export const de_CheckDNSAvailabilityCommand = async (output, context) => {
504
- if (output.statusCode >= 300) {
505
- return de_CommandError(output, context);
506
- }
507
- const data = await parseBody(output.body, context);
508
- let contents = {};
509
- contents = de_CheckDNSAvailabilityResultMessage(data.CheckDNSAvailabilityResult, context);
510
- const response = {
511
- $metadata: deserializeMetadata(output),
512
- ...contents,
513
- };
514
- return response;
515
- };
516
- export const de_ComposeEnvironmentsCommand = async (output, context) => {
517
- if (output.statusCode >= 300) {
518
- return de_CommandError(output, context);
519
- }
520
- const data = await parseBody(output.body, context);
521
- let contents = {};
522
- contents = de_EnvironmentDescriptionsMessage(data.ComposeEnvironmentsResult, context);
523
- const response = {
524
- $metadata: deserializeMetadata(output),
525
- ...contents,
526
- };
527
- return response;
528
- };
529
- export const de_CreateApplicationCommand = async (output, context) => {
530
- if (output.statusCode >= 300) {
531
- return de_CommandError(output, context);
532
- }
533
- const data = await parseBody(output.body, context);
534
- let contents = {};
535
- contents = de_ApplicationDescriptionMessage(data.CreateApplicationResult, context);
536
- const response = {
537
- $metadata: deserializeMetadata(output),
538
- ...contents,
539
- };
540
- return response;
541
- };
542
- export const de_CreateApplicationVersionCommand = async (output, context) => {
543
- if (output.statusCode >= 300) {
544
- return de_CommandError(output, context);
545
- }
546
- const data = await parseBody(output.body, context);
547
- let contents = {};
548
- contents = de_ApplicationVersionDescriptionMessage(data.CreateApplicationVersionResult, context);
549
- const response = {
550
- $metadata: deserializeMetadata(output),
551
- ...contents,
552
- };
553
- return response;
554
- };
555
- export const de_CreateConfigurationTemplateCommand = async (output, context) => {
556
- if (output.statusCode >= 300) {
557
- return de_CommandError(output, context);
558
- }
559
- const data = await parseBody(output.body, context);
560
- let contents = {};
561
- contents = de_ConfigurationSettingsDescription(data.CreateConfigurationTemplateResult, context);
562
- const response = {
563
- $metadata: deserializeMetadata(output),
564
- ...contents,
565
- };
566
- return response;
567
- };
568
- export const de_CreateEnvironmentCommand = async (output, context) => {
569
- if (output.statusCode >= 300) {
570
- return de_CommandError(output, context);
571
- }
572
- const data = await parseBody(output.body, context);
573
- let contents = {};
574
- contents = de_EnvironmentDescription(data.CreateEnvironmentResult, context);
575
- const response = {
576
- $metadata: deserializeMetadata(output),
577
- ...contents,
578
- };
579
- return response;
580
- };
581
- export const de_CreatePlatformVersionCommand = async (output, context) => {
582
- if (output.statusCode >= 300) {
583
- return de_CommandError(output, context);
584
- }
585
- const data = await parseBody(output.body, context);
586
- let contents = {};
587
- contents = de_CreatePlatformVersionResult(data.CreatePlatformVersionResult, context);
588
- const response = {
589
- $metadata: deserializeMetadata(output),
590
- ...contents,
591
- };
592
- return response;
593
- };
594
- export const de_CreateStorageLocationCommand = async (output, context) => {
595
- if (output.statusCode >= 300) {
596
- return de_CommandError(output, context);
597
- }
598
- const data = await parseBody(output.body, context);
599
- let contents = {};
600
- contents = de_CreateStorageLocationResultMessage(data.CreateStorageLocationResult, context);
601
- const response = {
602
- $metadata: deserializeMetadata(output),
603
- ...contents,
604
- };
605
- return response;
606
- };
607
- export const de_DeleteApplicationCommand = async (output, context) => {
608
- if (output.statusCode >= 300) {
609
- return de_CommandError(output, context);
610
- }
611
- await collectBody(output.body, context);
612
- const response = {
613
- $metadata: deserializeMetadata(output),
614
- };
615
- return response;
616
- };
617
- export const de_DeleteApplicationVersionCommand = async (output, context) => {
618
- if (output.statusCode >= 300) {
619
- return de_CommandError(output, context);
620
- }
621
- await collectBody(output.body, context);
622
- const response = {
623
- $metadata: deserializeMetadata(output),
624
- };
625
- return response;
626
- };
627
- export const de_DeleteConfigurationTemplateCommand = async (output, context) => {
628
- if (output.statusCode >= 300) {
629
- return de_CommandError(output, context);
630
- }
631
- await collectBody(output.body, context);
632
- const response = {
633
- $metadata: deserializeMetadata(output),
634
- };
635
- return response;
636
- };
637
- export const de_DeleteEnvironmentConfigurationCommand = async (output, context) => {
638
- if (output.statusCode >= 300) {
639
- return de_CommandError(output, context);
640
- }
641
- await collectBody(output.body, context);
642
- const response = {
643
- $metadata: deserializeMetadata(output),
644
- };
645
- return response;
646
- };
647
- export const de_DeletePlatformVersionCommand = async (output, context) => {
648
- if (output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const data = await parseBody(output.body, context);
652
- let contents = {};
653
- contents = de_DeletePlatformVersionResult(data.DeletePlatformVersionResult, context);
654
- const response = {
655
- $metadata: deserializeMetadata(output),
656
- ...contents,
657
- };
658
- return response;
659
- };
660
- export const de_DescribeAccountAttributesCommand = async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const data = await parseBody(output.body, context);
665
- let contents = {};
666
- contents = de_DescribeAccountAttributesResult(data.DescribeAccountAttributesResult, context);
667
- const response = {
668
- $metadata: deserializeMetadata(output),
669
- ...contents,
670
- };
671
- return response;
672
- };
673
- export const de_DescribeApplicationsCommand = async (output, context) => {
674
- if (output.statusCode >= 300) {
675
- return de_CommandError(output, context);
676
- }
677
- const data = await parseBody(output.body, context);
678
- let contents = {};
679
- contents = de_ApplicationDescriptionsMessage(data.DescribeApplicationsResult, context);
680
- const response = {
681
- $metadata: deserializeMetadata(output),
682
- ...contents,
683
- };
684
- return response;
685
- };
686
- export const de_DescribeApplicationVersionsCommand = async (output, context) => {
687
- if (output.statusCode >= 300) {
688
- return de_CommandError(output, context);
689
- }
690
- const data = await parseBody(output.body, context);
691
- let contents = {};
692
- contents = de_ApplicationVersionDescriptionsMessage(data.DescribeApplicationVersionsResult, context);
693
- const response = {
694
- $metadata: deserializeMetadata(output),
695
- ...contents,
696
- };
697
- return response;
698
- };
699
- export const de_DescribeConfigurationOptionsCommand = async (output, context) => {
700
- if (output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const data = await parseBody(output.body, context);
704
- let contents = {};
705
- contents = de_ConfigurationOptionsDescription(data.DescribeConfigurationOptionsResult, context);
706
- const response = {
707
- $metadata: deserializeMetadata(output),
708
- ...contents,
709
- };
710
- return response;
711
- };
712
- export const de_DescribeConfigurationSettingsCommand = async (output, context) => {
713
- if (output.statusCode >= 300) {
714
- return de_CommandError(output, context);
715
- }
716
- const data = await parseBody(output.body, context);
717
- let contents = {};
718
- contents = de_ConfigurationSettingsDescriptions(data.DescribeConfigurationSettingsResult, context);
719
- const response = {
720
- $metadata: deserializeMetadata(output),
721
- ...contents,
722
- };
723
- return response;
724
- };
725
- export const de_DescribeEnvironmentHealthCommand = async (output, context) => {
726
- if (output.statusCode >= 300) {
727
- return de_CommandError(output, context);
728
- }
729
- const data = await parseBody(output.body, context);
730
- let contents = {};
731
- contents = de_DescribeEnvironmentHealthResult(data.DescribeEnvironmentHealthResult, context);
732
- const response = {
733
- $metadata: deserializeMetadata(output),
734
- ...contents,
735
- };
736
- return response;
737
- };
738
- export const de_DescribeEnvironmentManagedActionHistoryCommand = async (output, context) => {
739
- if (output.statusCode >= 300) {
740
- return de_CommandError(output, context);
741
- }
742
- const data = await parseBody(output.body, context);
743
- let contents = {};
744
- contents = de_DescribeEnvironmentManagedActionHistoryResult(data.DescribeEnvironmentManagedActionHistoryResult, context);
745
- const response = {
746
- $metadata: deserializeMetadata(output),
747
- ...contents,
748
- };
749
- return response;
750
- };
751
- export const de_DescribeEnvironmentManagedActionsCommand = async (output, context) => {
752
- if (output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const data = await parseBody(output.body, context);
756
- let contents = {};
757
- contents = de_DescribeEnvironmentManagedActionsResult(data.DescribeEnvironmentManagedActionsResult, context);
758
- const response = {
759
- $metadata: deserializeMetadata(output),
760
- ...contents,
761
- };
762
- return response;
763
- };
764
- export const de_DescribeEnvironmentResourcesCommand = async (output, context) => {
765
- if (output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- const data = await parseBody(output.body, context);
769
- let contents = {};
770
- contents = de_EnvironmentResourceDescriptionsMessage(data.DescribeEnvironmentResourcesResult, context);
771
- const response = {
772
- $metadata: deserializeMetadata(output),
773
- ...contents,
774
- };
775
- return response;
776
- };
777
- export const de_DescribeEnvironmentsCommand = async (output, context) => {
778
- if (output.statusCode >= 300) {
779
- return de_CommandError(output, context);
780
- }
781
- const data = await parseBody(output.body, context);
782
- let contents = {};
783
- contents = de_EnvironmentDescriptionsMessage(data.DescribeEnvironmentsResult, context);
784
- const response = {
785
- $metadata: deserializeMetadata(output),
786
- ...contents,
787
- };
788
- return response;
789
- };
790
- export const de_DescribeEventsCommand = async (output, context) => {
791
- if (output.statusCode >= 300) {
792
- return de_CommandError(output, context);
793
- }
794
- const data = await parseBody(output.body, context);
795
- let contents = {};
796
- contents = de_EventDescriptionsMessage(data.DescribeEventsResult, context);
797
- const response = {
798
- $metadata: deserializeMetadata(output),
799
- ...contents,
800
- };
801
- return response;
802
- };
803
- export const de_DescribeInstancesHealthCommand = async (output, context) => {
804
- if (output.statusCode >= 300) {
805
- return de_CommandError(output, context);
806
- }
807
- const data = await parseBody(output.body, context);
808
- let contents = {};
809
- contents = de_DescribeInstancesHealthResult(data.DescribeInstancesHealthResult, context);
810
- const response = {
811
- $metadata: deserializeMetadata(output),
812
- ...contents,
813
- };
814
- return response;
815
- };
816
- export const de_DescribePlatformVersionCommand = async (output, context) => {
817
- if (output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const data = await parseBody(output.body, context);
821
- let contents = {};
822
- contents = de_DescribePlatformVersionResult(data.DescribePlatformVersionResult, context);
823
- const response = {
824
- $metadata: deserializeMetadata(output),
825
- ...contents,
826
- };
827
- return response;
828
- };
829
- export const de_DisassociateEnvironmentOperationsRoleCommand = async (output, context) => {
830
- if (output.statusCode >= 300) {
831
- return de_CommandError(output, context);
832
- }
833
- await collectBody(output.body, context);
834
- const response = {
835
- $metadata: deserializeMetadata(output),
836
- };
837
- return response;
838
- };
839
- export const de_ListAvailableSolutionStacksCommand = async (output, context) => {
840
- if (output.statusCode >= 300) {
841
- return de_CommandError(output, context);
842
- }
843
- const data = await parseBody(output.body, context);
844
- let contents = {};
845
- contents = de_ListAvailableSolutionStacksResultMessage(data.ListAvailableSolutionStacksResult, context);
846
- const response = {
847
- $metadata: deserializeMetadata(output),
848
- ...contents,
849
- };
850
- return response;
851
- };
852
- export const de_ListPlatformBranchesCommand = async (output, context) => {
853
- if (output.statusCode >= 300) {
854
- return de_CommandError(output, context);
855
- }
856
- const data = await parseBody(output.body, context);
857
- let contents = {};
858
- contents = de_ListPlatformBranchesResult(data.ListPlatformBranchesResult, context);
859
- const response = {
860
- $metadata: deserializeMetadata(output),
861
- ...contents,
862
- };
863
- return response;
864
- };
865
- export const de_ListPlatformVersionsCommand = async (output, context) => {
866
- if (output.statusCode >= 300) {
867
- return de_CommandError(output, context);
868
- }
869
- const data = await parseBody(output.body, context);
870
- let contents = {};
871
- contents = de_ListPlatformVersionsResult(data.ListPlatformVersionsResult, context);
872
- const response = {
873
- $metadata: deserializeMetadata(output),
874
- ...contents,
875
- };
876
- return response;
877
- };
878
- export const de_ListTagsForResourceCommand = async (output, context) => {
879
- if (output.statusCode >= 300) {
880
- return de_CommandError(output, context);
881
- }
882
- const data = await parseBody(output.body, context);
883
- let contents = {};
884
- contents = de_ResourceTagsDescriptionMessage(data.ListTagsForResourceResult, context);
885
- const response = {
886
- $metadata: deserializeMetadata(output),
887
- ...contents,
888
- };
889
- return response;
890
- };
891
- export const de_RebuildEnvironmentCommand = async (output, context) => {
892
- if (output.statusCode >= 300) {
893
- return de_CommandError(output, context);
894
- }
895
- await collectBody(output.body, context);
896
- const response = {
897
- $metadata: deserializeMetadata(output),
898
- };
899
- return response;
900
- };
901
- export const de_RequestEnvironmentInfoCommand = async (output, context) => {
902
- if (output.statusCode >= 300) {
903
- return de_CommandError(output, context);
904
- }
905
- await collectBody(output.body, context);
906
- const response = {
907
- $metadata: deserializeMetadata(output),
908
- };
909
- return response;
910
- };
911
- export const de_RestartAppServerCommand = async (output, context) => {
912
- if (output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- await collectBody(output.body, context);
916
- const response = {
917
- $metadata: deserializeMetadata(output),
918
- };
919
- return response;
920
- };
921
- export const de_RetrieveEnvironmentInfoCommand = async (output, context) => {
922
- if (output.statusCode >= 300) {
923
- return de_CommandError(output, context);
924
- }
925
- const data = await parseBody(output.body, context);
926
- let contents = {};
927
- contents = de_RetrieveEnvironmentInfoResultMessage(data.RetrieveEnvironmentInfoResult, context);
928
- const response = {
929
- $metadata: deserializeMetadata(output),
930
- ...contents,
931
- };
932
- return response;
933
- };
934
- export const de_SwapEnvironmentCNAMEsCommand = async (output, context) => {
935
- if (output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- await collectBody(output.body, context);
939
- const response = {
940
- $metadata: deserializeMetadata(output),
941
- };
942
- return response;
943
- };
944
- export const de_TerminateEnvironmentCommand = async (output, context) => {
945
- if (output.statusCode >= 300) {
946
- return de_CommandError(output, context);
947
- }
948
- const data = await parseBody(output.body, context);
949
- let contents = {};
950
- contents = de_EnvironmentDescription(data.TerminateEnvironmentResult, context);
951
- const response = {
952
- $metadata: deserializeMetadata(output),
953
- ...contents,
954
- };
955
- return response;
956
- };
957
- export const de_UpdateApplicationCommand = async (output, context) => {
958
- if (output.statusCode >= 300) {
959
- return de_CommandError(output, context);
960
- }
961
- const data = await parseBody(output.body, context);
962
- let contents = {};
963
- contents = de_ApplicationDescriptionMessage(data.UpdateApplicationResult, context);
964
- const response = {
965
- $metadata: deserializeMetadata(output),
966
- ...contents,
967
- };
968
- return response;
969
- };
970
- export const de_UpdateApplicationResourceLifecycleCommand = async (output, context) => {
971
- if (output.statusCode >= 300) {
972
- return de_CommandError(output, context);
973
- }
974
- const data = await parseBody(output.body, context);
975
- let contents = {};
976
- contents = de_ApplicationResourceLifecycleDescriptionMessage(data.UpdateApplicationResourceLifecycleResult, context);
977
- const response = {
978
- $metadata: deserializeMetadata(output),
979
- ...contents,
980
- };
981
- return response;
982
- };
983
- export const de_UpdateApplicationVersionCommand = async (output, context) => {
984
- if (output.statusCode >= 300) {
985
- return de_CommandError(output, context);
986
- }
987
- const data = await parseBody(output.body, context);
988
- let contents = {};
989
- contents = de_ApplicationVersionDescriptionMessage(data.UpdateApplicationVersionResult, context);
990
- const response = {
991
- $metadata: deserializeMetadata(output),
992
- ...contents,
993
- };
994
- return response;
995
- };
996
- export const de_UpdateConfigurationTemplateCommand = async (output, context) => {
997
- if (output.statusCode >= 300) {
998
- return de_CommandError(output, context);
999
- }
1000
- const data = await parseBody(output.body, context);
1001
- let contents = {};
1002
- contents = de_ConfigurationSettingsDescription(data.UpdateConfigurationTemplateResult, context);
1003
- const response = {
1004
- $metadata: deserializeMetadata(output),
1005
- ...contents,
1006
- };
1007
- return response;
1008
- };
1009
- export const de_UpdateEnvironmentCommand = async (output, context) => {
1010
- if (output.statusCode >= 300) {
1011
- return de_CommandError(output, context);
1012
- }
1013
- const data = await parseBody(output.body, context);
1014
- let contents = {};
1015
- contents = de_EnvironmentDescription(data.UpdateEnvironmentResult, context);
1016
- const response = {
1017
- $metadata: deserializeMetadata(output),
1018
- ...contents,
1019
- };
1020
- return response;
1021
- };
1022
- export const de_UpdateTagsForResourceCommand = async (output, context) => {
1023
- if (output.statusCode >= 300) {
1024
- return de_CommandError(output, context);
1025
- }
1026
- await collectBody(output.body, context);
1027
- const response = {
1028
- $metadata: deserializeMetadata(output),
1029
- };
1030
- return response;
1031
- };
1032
- export const de_ValidateConfigurationSettingsCommand = async (output, context) => {
1033
- if (output.statusCode >= 300) {
1034
- return de_CommandError(output, context);
1035
- }
1036
- const data = await parseBody(output.body, context);
1037
- let contents = {};
1038
- contents = de_ConfigurationSettingsValidationMessages(data.ValidateConfigurationSettingsResult, context);
1039
- const response = {
1040
- $metadata: deserializeMetadata(output),
1041
- ...contents,
1042
- };
1043
- return response;
1044
- };
1045
- const de_CommandError = async (output, context) => {
1046
- const parsedOutput = {
1047
- ...output,
1048
- body: await parseErrorBody(output.body, context),
1049
- };
1050
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1051
- switch (errorCode) {
1052
- case "InsufficientPrivilegesException":
1053
- case "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException":
1054
- throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
1055
- case "ElasticBeanstalkServiceException":
1056
- case "com.amazonaws.elasticbeanstalk#ElasticBeanstalkServiceException":
1057
- throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
1058
- case "ManagedActionInvalidStateException":
1059
- case "com.amazonaws.elasticbeanstalk#ManagedActionInvalidStateException":
1060
- throw await de_ManagedActionInvalidStateExceptionRes(parsedOutput, context);
1061
- case "TooManyEnvironmentsException":
1062
- case "com.amazonaws.elasticbeanstalk#TooManyEnvironmentsException":
1063
- throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
1064
- case "TooManyApplicationsException":
1065
- case "com.amazonaws.elasticbeanstalk#TooManyApplicationsException":
1066
- throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
1067
- case "CodeBuildNotInServiceRegionException":
1068
- case "com.amazonaws.elasticbeanstalk#CodeBuildNotInServiceRegionException":
1069
- throw await de_CodeBuildNotInServiceRegionExceptionRes(parsedOutput, context);
1070
- case "S3LocationNotInServiceRegionException":
1071
- case "com.amazonaws.elasticbeanstalk#S3LocationNotInServiceRegionException":
1072
- throw await de_S3LocationNotInServiceRegionExceptionRes(parsedOutput, context);
1073
- case "TooManyApplicationVersionsException":
1074
- case "com.amazonaws.elasticbeanstalk#TooManyApplicationVersionsException":
1075
- throw await de_TooManyApplicationVersionsExceptionRes(parsedOutput, context);
1076
- case "TooManyBucketsException":
1077
- case "com.amazonaws.elasticbeanstalk#TooManyBucketsException":
1078
- throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
1079
- case "TooManyConfigurationTemplatesException":
1080
- case "com.amazonaws.elasticbeanstalk#TooManyConfigurationTemplatesException":
1081
- throw await de_TooManyConfigurationTemplatesExceptionRes(parsedOutput, context);
1082
- case "TooManyPlatformsException":
1083
- case "com.amazonaws.elasticbeanstalk#TooManyPlatformsException":
1084
- throw await de_TooManyPlatformsExceptionRes(parsedOutput, context);
1085
- case "S3SubscriptionRequiredException":
1086
- case "com.amazonaws.elasticbeanstalk#S3SubscriptionRequiredException":
1087
- throw await de_S3SubscriptionRequiredExceptionRes(parsedOutput, context);
1088
- case "OperationInProgressFailure":
1089
- case "com.amazonaws.elasticbeanstalk#OperationInProgressException":
1090
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
1091
- case "SourceBundleDeletionFailure":
1092
- case "com.amazonaws.elasticbeanstalk#SourceBundleDeletionException":
1093
- throw await de_SourceBundleDeletionExceptionRes(parsedOutput, context);
1094
- case "PlatformVersionStillReferencedException":
1095
- case "com.amazonaws.elasticbeanstalk#PlatformVersionStillReferencedException":
1096
- throw await de_PlatformVersionStillReferencedExceptionRes(parsedOutput, context);
1097
- case "InvalidRequestException":
1098
- case "com.amazonaws.elasticbeanstalk#InvalidRequestException":
1099
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1100
- case "ResourceNotFoundException":
1101
- case "com.amazonaws.elasticbeanstalk#ResourceNotFoundException":
1102
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1103
- case "ResourceTypeNotSupportedException":
1104
- case "com.amazonaws.elasticbeanstalk#ResourceTypeNotSupportedException":
1105
- throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context);
1106
- case "TooManyTagsException":
1107
- case "com.amazonaws.elasticbeanstalk#TooManyTagsException":
1108
- throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1109
- default:
1110
- const parsedBody = parsedOutput.body;
1111
- return throwDefaultError({
1112
- output,
1113
- parsedBody: parsedBody.Error,
1114
- errorCode,
1115
- });
1116
- }
1117
- };
1118
- const de_CodeBuildNotInServiceRegionExceptionRes = async (parsedOutput, context) => {
1119
- const body = parsedOutput.body;
1120
- const deserialized = de_CodeBuildNotInServiceRegionException(body.Error, context);
1121
- const exception = new CodeBuildNotInServiceRegionException({
1122
- $metadata: deserializeMetadata(parsedOutput),
1123
- ...deserialized,
1124
- });
1125
- return __decorateServiceException(exception, body);
1126
- };
1127
- const de_ElasticBeanstalkServiceExceptionRes = async (parsedOutput, context) => {
1128
- const body = parsedOutput.body;
1129
- const deserialized = de_ElasticBeanstalkServiceException(body.Error, context);
1130
- const exception = new ElasticBeanstalkServiceException({
1131
- $metadata: deserializeMetadata(parsedOutput),
1132
- ...deserialized,
1133
- });
1134
- return __decorateServiceException(exception, body);
1135
- };
1136
- const de_InsufficientPrivilegesExceptionRes = async (parsedOutput, context) => {
1137
- const body = parsedOutput.body;
1138
- const deserialized = de_InsufficientPrivilegesException(body.Error, context);
1139
- const exception = new InsufficientPrivilegesException({
1140
- $metadata: deserializeMetadata(parsedOutput),
1141
- ...deserialized,
1142
- });
1143
- return __decorateServiceException(exception, body);
1144
- };
1145
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1146
- const body = parsedOutput.body;
1147
- const deserialized = de_InvalidRequestException(body.Error, context);
1148
- const exception = new InvalidRequestException({
1149
- $metadata: deserializeMetadata(parsedOutput),
1150
- ...deserialized,
1151
- });
1152
- return __decorateServiceException(exception, body);
1153
- };
1154
- const de_ManagedActionInvalidStateExceptionRes = async (parsedOutput, context) => {
1155
- const body = parsedOutput.body;
1156
- const deserialized = de_ManagedActionInvalidStateException(body.Error, context);
1157
- const exception = new ManagedActionInvalidStateException({
1158
- $metadata: deserializeMetadata(parsedOutput),
1159
- ...deserialized,
1160
- });
1161
- return __decorateServiceException(exception, body);
1162
- };
1163
- const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
1164
- const body = parsedOutput.body;
1165
- const deserialized = de_OperationInProgressException(body.Error, context);
1166
- const exception = new OperationInProgressException({
1167
- $metadata: deserializeMetadata(parsedOutput),
1168
- ...deserialized,
1169
- });
1170
- return __decorateServiceException(exception, body);
1171
- };
1172
- const de_PlatformVersionStillReferencedExceptionRes = async (parsedOutput, context) => {
1173
- const body = parsedOutput.body;
1174
- const deserialized = de_PlatformVersionStillReferencedException(body.Error, context);
1175
- const exception = new PlatformVersionStillReferencedException({
1176
- $metadata: deserializeMetadata(parsedOutput),
1177
- ...deserialized,
1178
- });
1179
- return __decorateServiceException(exception, body);
1180
- };
1181
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1182
- const body = parsedOutput.body;
1183
- const deserialized = de_ResourceNotFoundException(body.Error, context);
1184
- const exception = new ResourceNotFoundException({
1185
- $metadata: deserializeMetadata(parsedOutput),
1186
- ...deserialized,
1187
- });
1188
- return __decorateServiceException(exception, body);
1189
- };
1190
- const de_ResourceTypeNotSupportedExceptionRes = async (parsedOutput, context) => {
1191
- const body = parsedOutput.body;
1192
- const deserialized = de_ResourceTypeNotSupportedException(body.Error, context);
1193
- const exception = new ResourceTypeNotSupportedException({
1194
- $metadata: deserializeMetadata(parsedOutput),
1195
- ...deserialized,
1196
- });
1197
- return __decorateServiceException(exception, body);
1198
- };
1199
- const de_S3LocationNotInServiceRegionExceptionRes = async (parsedOutput, context) => {
1200
- const body = parsedOutput.body;
1201
- const deserialized = de_S3LocationNotInServiceRegionException(body.Error, context);
1202
- const exception = new S3LocationNotInServiceRegionException({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...deserialized,
1205
- });
1206
- return __decorateServiceException(exception, body);
1207
- };
1208
- const de_S3SubscriptionRequiredExceptionRes = async (parsedOutput, context) => {
1209
- const body = parsedOutput.body;
1210
- const deserialized = de_S3SubscriptionRequiredException(body.Error, context);
1211
- const exception = new S3SubscriptionRequiredException({
1212
- $metadata: deserializeMetadata(parsedOutput),
1213
- ...deserialized,
1214
- });
1215
- return __decorateServiceException(exception, body);
1216
- };
1217
- const de_SourceBundleDeletionExceptionRes = async (parsedOutput, context) => {
1218
- const body = parsedOutput.body;
1219
- const deserialized = de_SourceBundleDeletionException(body.Error, context);
1220
- const exception = new SourceBundleDeletionException({
1221
- $metadata: deserializeMetadata(parsedOutput),
1222
- ...deserialized,
1223
- });
1224
- return __decorateServiceException(exception, body);
1225
- };
1226
- const de_TooManyApplicationsExceptionRes = async (parsedOutput, context) => {
1227
- const body = parsedOutput.body;
1228
- const deserialized = de_TooManyApplicationsException(body.Error, context);
1229
- const exception = new TooManyApplicationsException({
1230
- $metadata: deserializeMetadata(parsedOutput),
1231
- ...deserialized,
1232
- });
1233
- return __decorateServiceException(exception, body);
1234
- };
1235
- const de_TooManyApplicationVersionsExceptionRes = async (parsedOutput, context) => {
1236
- const body = parsedOutput.body;
1237
- const deserialized = de_TooManyApplicationVersionsException(body.Error, context);
1238
- const exception = new TooManyApplicationVersionsException({
1239
- $metadata: deserializeMetadata(parsedOutput),
1240
- ...deserialized,
1241
- });
1242
- return __decorateServiceException(exception, body);
1243
- };
1244
- const de_TooManyBucketsExceptionRes = async (parsedOutput, context) => {
1245
- const body = parsedOutput.body;
1246
- const deserialized = de_TooManyBucketsException(body.Error, context);
1247
- const exception = new TooManyBucketsException({
1248
- $metadata: deserializeMetadata(parsedOutput),
1249
- ...deserialized,
1250
- });
1251
- return __decorateServiceException(exception, body);
1252
- };
1253
- const de_TooManyConfigurationTemplatesExceptionRes = async (parsedOutput, context) => {
1254
- const body = parsedOutput.body;
1255
- const deserialized = de_TooManyConfigurationTemplatesException(body.Error, context);
1256
- const exception = new TooManyConfigurationTemplatesException({
1257
- $metadata: deserializeMetadata(parsedOutput),
1258
- ...deserialized,
1259
- });
1260
- return __decorateServiceException(exception, body);
1261
- };
1262
- const de_TooManyEnvironmentsExceptionRes = async (parsedOutput, context) => {
1263
- const body = parsedOutput.body;
1264
- const deserialized = de_TooManyEnvironmentsException(body.Error, context);
1265
- const exception = new TooManyEnvironmentsException({
1266
- $metadata: deserializeMetadata(parsedOutput),
1267
- ...deserialized,
1268
- });
1269
- return __decorateServiceException(exception, body);
1270
- };
1271
- const de_TooManyPlatformsExceptionRes = async (parsedOutput, context) => {
1272
- const body = parsedOutput.body;
1273
- const deserialized = de_TooManyPlatformsException(body.Error, context);
1274
- const exception = new TooManyPlatformsException({
1275
- $metadata: deserializeMetadata(parsedOutput),
1276
- ...deserialized,
1277
- });
1278
- return __decorateServiceException(exception, body);
1279
- };
1280
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1281
- const body = parsedOutput.body;
1282
- const deserialized = de_TooManyTagsException(body.Error, context);
1283
- const exception = new TooManyTagsException({
1284
- $metadata: deserializeMetadata(parsedOutput),
1285
- ...deserialized,
1286
- });
1287
- return __decorateServiceException(exception, body);
1288
- };
1289
- const se_AbortEnvironmentUpdateMessage = (input, context) => {
1290
- const entries = {};
1291
- if (input[_EI] != null) {
1292
- entries[_EI] = input[_EI];
1293
- }
1294
- if (input[_EN] != null) {
1295
- entries[_EN] = input[_EN];
1296
- }
1297
- return entries;
1298
- };
1299
- const se_ApplicationNamesList = (input, context) => {
1300
- const entries = {};
1301
- let counter = 1;
1302
- for (const entry of input) {
1303
- if (entry === null) {
1304
- continue;
1305
- }
1306
- entries[`member.${counter}`] = entry;
1307
- counter++;
1308
- }
1309
- return entries;
1310
- };
1311
- const se_ApplicationResourceLifecycleConfig = (input, context) => {
1312
- const entries = {};
1313
- if (input[_SR] != null) {
1314
- entries[_SR] = input[_SR];
1315
- }
1316
- if (input[_VLC] != null) {
1317
- const memberEntries = se_ApplicationVersionLifecycleConfig(input[_VLC], context);
1318
- Object.entries(memberEntries).forEach(([key, value]) => {
1319
- const loc = `VersionLifecycleConfig.${key}`;
1320
- entries[loc] = value;
1321
- });
1322
- }
1323
- return entries;
1324
- };
1325
- const se_ApplicationVersionLifecycleConfig = (input, context) => {
1326
- const entries = {};
1327
- if (input[_MCR] != null) {
1328
- const memberEntries = se_MaxCountRule(input[_MCR], context);
1329
- Object.entries(memberEntries).forEach(([key, value]) => {
1330
- const loc = `MaxCountRule.${key}`;
1331
- entries[loc] = value;
1332
- });
1333
- }
1334
- if (input[_MAR] != null) {
1335
- const memberEntries = se_MaxAgeRule(input[_MAR], context);
1336
- Object.entries(memberEntries).forEach(([key, value]) => {
1337
- const loc = `MaxAgeRule.${key}`;
1338
- entries[loc] = value;
1339
- });
1340
- }
1341
- return entries;
1342
- };
1343
- const se_ApplyEnvironmentManagedActionRequest = (input, context) => {
1344
- const entries = {};
1345
- if (input[_EN] != null) {
1346
- entries[_EN] = input[_EN];
1347
- }
1348
- if (input[_EI] != null) {
1349
- entries[_EI] = input[_EI];
1350
- }
1351
- if (input[_AI] != null) {
1352
- entries[_AI] = input[_AI];
1353
- }
1354
- return entries;
1355
- };
1356
- const se_AssociateEnvironmentOperationsRoleMessage = (input, context) => {
1357
- const entries = {};
1358
- if (input[_EN] != null) {
1359
- entries[_EN] = input[_EN];
1360
- }
1361
- if (input[_OR] != null) {
1362
- entries[_OR] = input[_OR];
1363
- }
1364
- return entries;
1365
- };
1366
- const se_BuildConfiguration = (input, context) => {
1367
- const entries = {};
1368
- if (input[_AN] != null) {
1369
- entries[_AN] = input[_AN];
1370
- }
1371
- if (input[_CBSR] != null) {
1372
- entries[_CBSR] = input[_CBSR];
1373
- }
1374
- if (input[_CT] != null) {
1375
- entries[_CT] = input[_CT];
1376
- }
1377
- if (input[_I] != null) {
1378
- entries[_I] = input[_I];
1379
- }
1380
- if (input[_TIM] != null) {
1381
- entries[_TIM] = input[_TIM];
1382
- }
1383
- return entries;
1384
- };
1385
- const se_CheckDNSAvailabilityMessage = (input, context) => {
1386
- const entries = {};
1387
- if (input[_CNAMEP] != null) {
1388
- entries[_CNAMEP] = input[_CNAMEP];
1389
- }
1390
- return entries;
1391
- };
1392
- const se_ComposeEnvironmentsMessage = (input, context) => {
1393
- const entries = {};
1394
- if (input[_ANp] != null) {
1395
- entries[_ANp] = input[_ANp];
1396
- }
1397
- if (input[_GN] != null) {
1398
- entries[_GN] = input[_GN];
1399
- }
1400
- if (input[_VL] != null) {
1401
- const memberEntries = se_VersionLabels(input[_VL], context);
1402
- if (input[_VL]?.length === 0) {
1403
- entries.VersionLabels = [];
1404
- }
1405
- Object.entries(memberEntries).forEach(([key, value]) => {
1406
- const loc = `VersionLabels.${key}`;
1407
- entries[loc] = value;
1408
- });
1409
- }
1410
- return entries;
1411
- };
1412
- const se_ConfigurationOptionSetting = (input, context) => {
1413
- const entries = {};
1414
- if (input[_RN] != null) {
1415
- entries[_RN] = input[_RN];
1416
- }
1417
- if (input[_N] != null) {
1418
- entries[_N] = input[_N];
1419
- }
1420
- if (input[_ON] != null) {
1421
- entries[_ON] = input[_ON];
1422
- }
1423
- if (input[_Va] != null) {
1424
- entries[_Va] = input[_Va];
1425
- }
1426
- return entries;
1427
- };
1428
- const se_ConfigurationOptionSettingsList = (input, context) => {
1429
- const entries = {};
1430
- let counter = 1;
1431
- for (const entry of input) {
1432
- if (entry === null) {
1433
- continue;
1434
- }
1435
- const memberEntries = se_ConfigurationOptionSetting(entry, context);
1436
- Object.entries(memberEntries).forEach(([key, value]) => {
1437
- entries[`member.${counter}.${key}`] = value;
1438
- });
1439
- counter++;
1440
- }
1441
- return entries;
1442
- };
1443
- const se_CreateApplicationMessage = (input, context) => {
1444
- const entries = {};
1445
- if (input[_ANp] != null) {
1446
- entries[_ANp] = input[_ANp];
1447
- }
1448
- if (input[_D] != null) {
1449
- entries[_D] = input[_D];
1450
- }
1451
- if (input[_RLC] != null) {
1452
- const memberEntries = se_ApplicationResourceLifecycleConfig(input[_RLC], context);
1453
- Object.entries(memberEntries).forEach(([key, value]) => {
1454
- const loc = `ResourceLifecycleConfig.${key}`;
1455
- entries[loc] = value;
1456
- });
1457
- }
1458
- if (input[_T] != null) {
1459
- const memberEntries = se_Tags(input[_T], context);
1460
- if (input[_T]?.length === 0) {
1461
- entries.Tags = [];
1462
- }
1463
- Object.entries(memberEntries).forEach(([key, value]) => {
1464
- const loc = `Tags.${key}`;
1465
- entries[loc] = value;
1466
- });
1467
- }
1468
- return entries;
1469
- };
1470
- const se_CreateApplicationVersionMessage = (input, context) => {
1471
- const entries = {};
1472
- if (input[_ANp] != null) {
1473
- entries[_ANp] = input[_ANp];
1474
- }
1475
- if (input[_VLe] != null) {
1476
- entries[_VLe] = input[_VLe];
1477
- }
1478
- if (input[_D] != null) {
1479
- entries[_D] = input[_D];
1480
- }
1481
- if (input[_SBI] != null) {
1482
- const memberEntries = se_SourceBuildInformation(input[_SBI], context);
1483
- Object.entries(memberEntries).forEach(([key, value]) => {
1484
- const loc = `SourceBuildInformation.${key}`;
1485
- entries[loc] = value;
1486
- });
1487
- }
1488
- if (input[_SB] != null) {
1489
- const memberEntries = se_S3Location(input[_SB], context);
1490
- Object.entries(memberEntries).forEach(([key, value]) => {
1491
- const loc = `SourceBundle.${key}`;
1492
- entries[loc] = value;
1493
- });
1494
- }
1495
- if (input[_BC] != null) {
1496
- const memberEntries = se_BuildConfiguration(input[_BC], context);
1497
- Object.entries(memberEntries).forEach(([key, value]) => {
1498
- const loc = `BuildConfiguration.${key}`;
1499
- entries[loc] = value;
1500
- });
1501
- }
1502
- if (input[_ACA] != null) {
1503
- entries[_ACA] = input[_ACA];
1504
- }
1505
- if (input[_P] != null) {
1506
- entries[_P] = input[_P];
1507
- }
1508
- if (input[_T] != null) {
1509
- const memberEntries = se_Tags(input[_T], context);
1510
- if (input[_T]?.length === 0) {
1511
- entries.Tags = [];
1512
- }
1513
- Object.entries(memberEntries).forEach(([key, value]) => {
1514
- const loc = `Tags.${key}`;
1515
- entries[loc] = value;
1516
- });
1517
- }
1518
- return entries;
1519
- };
1520
- const se_CreateConfigurationTemplateMessage = (input, context) => {
1521
- const entries = {};
1522
- if (input[_ANp] != null) {
1523
- entries[_ANp] = input[_ANp];
1524
- }
1525
- if (input[_TN] != null) {
1526
- entries[_TN] = input[_TN];
1527
- }
1528
- if (input[_SSN] != null) {
1529
- entries[_SSN] = input[_SSN];
1530
- }
1531
- if (input[_PA] != null) {
1532
- entries[_PA] = input[_PA];
1533
- }
1534
- if (input[_SC] != null) {
1535
- const memberEntries = se_SourceConfiguration(input[_SC], context);
1536
- Object.entries(memberEntries).forEach(([key, value]) => {
1537
- const loc = `SourceConfiguration.${key}`;
1538
- entries[loc] = value;
1539
- });
1540
- }
1541
- if (input[_EI] != null) {
1542
- entries[_EI] = input[_EI];
1543
- }
1544
- if (input[_D] != null) {
1545
- entries[_D] = input[_D];
1546
- }
1547
- if (input[_OS] != null) {
1548
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
1549
- if (input[_OS]?.length === 0) {
1550
- entries.OptionSettings = [];
1551
- }
1552
- Object.entries(memberEntries).forEach(([key, value]) => {
1553
- const loc = `OptionSettings.${key}`;
1554
- entries[loc] = value;
1555
- });
1556
- }
1557
- if (input[_T] != null) {
1558
- const memberEntries = se_Tags(input[_T], context);
1559
- if (input[_T]?.length === 0) {
1560
- entries.Tags = [];
1561
- }
1562
- Object.entries(memberEntries).forEach(([key, value]) => {
1563
- const loc = `Tags.${key}`;
1564
- entries[loc] = value;
1565
- });
1566
- }
1567
- return entries;
1568
- };
1569
- const se_CreateEnvironmentMessage = (input, context) => {
1570
- const entries = {};
1571
- if (input[_ANp] != null) {
1572
- entries[_ANp] = input[_ANp];
1573
- }
1574
- if (input[_EN] != null) {
1575
- entries[_EN] = input[_EN];
1576
- }
1577
- if (input[_GN] != null) {
1578
- entries[_GN] = input[_GN];
1579
- }
1580
- if (input[_D] != null) {
1581
- entries[_D] = input[_D];
1582
- }
1583
- if (input[_CNAMEP] != null) {
1584
- entries[_CNAMEP] = input[_CNAMEP];
1585
- }
1586
- if (input[_Ti] != null) {
1587
- const memberEntries = se_EnvironmentTier(input[_Ti], context);
1588
- Object.entries(memberEntries).forEach(([key, value]) => {
1589
- const loc = `Tier.${key}`;
1590
- entries[loc] = value;
1591
- });
1592
- }
1593
- if (input[_T] != null) {
1594
- const memberEntries = se_Tags(input[_T], context);
1595
- if (input[_T]?.length === 0) {
1596
- entries.Tags = [];
1597
- }
1598
- Object.entries(memberEntries).forEach(([key, value]) => {
1599
- const loc = `Tags.${key}`;
1600
- entries[loc] = value;
1601
- });
1602
- }
1603
- if (input[_VLe] != null) {
1604
- entries[_VLe] = input[_VLe];
1605
- }
1606
- if (input[_TN] != null) {
1607
- entries[_TN] = input[_TN];
1608
- }
1609
- if (input[_SSN] != null) {
1610
- entries[_SSN] = input[_SSN];
1611
- }
1612
- if (input[_PA] != null) {
1613
- entries[_PA] = input[_PA];
1614
- }
1615
- if (input[_OS] != null) {
1616
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
1617
- if (input[_OS]?.length === 0) {
1618
- entries.OptionSettings = [];
1619
- }
1620
- Object.entries(memberEntries).forEach(([key, value]) => {
1621
- const loc = `OptionSettings.${key}`;
1622
- entries[loc] = value;
1623
- });
1624
- }
1625
- if (input[_OTR] != null) {
1626
- const memberEntries = se_OptionsSpecifierList(input[_OTR], context);
1627
- if (input[_OTR]?.length === 0) {
1628
- entries.OptionsToRemove = [];
1629
- }
1630
- Object.entries(memberEntries).forEach(([key, value]) => {
1631
- const loc = `OptionsToRemove.${key}`;
1632
- entries[loc] = value;
1633
- });
1634
- }
1635
- if (input[_OR] != null) {
1636
- entries[_OR] = input[_OR];
1637
- }
1638
- return entries;
1639
- };
1640
- const se_CreatePlatformVersionRequest = (input, context) => {
1641
- const entries = {};
1642
- if (input[_PN] != null) {
1643
- entries[_PN] = input[_PN];
1644
- }
1645
- if (input[_PV] != null) {
1646
- entries[_PV] = input[_PV];
1647
- }
1648
- if (input[_PDB] != null) {
1649
- const memberEntries = se_S3Location(input[_PDB], context);
1650
- Object.entries(memberEntries).forEach(([key, value]) => {
1651
- const loc = `PlatformDefinitionBundle.${key}`;
1652
- entries[loc] = value;
1653
- });
1654
- }
1655
- if (input[_EN] != null) {
1656
- entries[_EN] = input[_EN];
1657
- }
1658
- if (input[_OS] != null) {
1659
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
1660
- if (input[_OS]?.length === 0) {
1661
- entries.OptionSettings = [];
1662
- }
1663
- Object.entries(memberEntries).forEach(([key, value]) => {
1664
- const loc = `OptionSettings.${key}`;
1665
- entries[loc] = value;
1666
- });
1667
- }
1668
- if (input[_T] != null) {
1669
- const memberEntries = se_Tags(input[_T], context);
1670
- if (input[_T]?.length === 0) {
1671
- entries.Tags = [];
1672
- }
1673
- Object.entries(memberEntries).forEach(([key, value]) => {
1674
- const loc = `Tags.${key}`;
1675
- entries[loc] = value;
1676
- });
1677
- }
1678
- return entries;
1679
- };
1680
- const se_DeleteApplicationMessage = (input, context) => {
1681
- const entries = {};
1682
- if (input[_ANp] != null) {
1683
- entries[_ANp] = input[_ANp];
1684
- }
1685
- if (input[_TEBF] != null) {
1686
- entries[_TEBF] = input[_TEBF];
1687
- }
1688
- return entries;
1689
- };
1690
- const se_DeleteApplicationVersionMessage = (input, context) => {
1691
- const entries = {};
1692
- if (input[_ANp] != null) {
1693
- entries[_ANp] = input[_ANp];
1694
- }
1695
- if (input[_VLe] != null) {
1696
- entries[_VLe] = input[_VLe];
1697
- }
1698
- if (input[_DSB] != null) {
1699
- entries[_DSB] = input[_DSB];
1700
- }
1701
- return entries;
1702
- };
1703
- const se_DeleteConfigurationTemplateMessage = (input, context) => {
1704
- const entries = {};
1705
- if (input[_ANp] != null) {
1706
- entries[_ANp] = input[_ANp];
1707
- }
1708
- if (input[_TN] != null) {
1709
- entries[_TN] = input[_TN];
1710
- }
1711
- return entries;
1712
- };
1713
- const se_DeleteEnvironmentConfigurationMessage = (input, context) => {
1714
- const entries = {};
1715
- if (input[_ANp] != null) {
1716
- entries[_ANp] = input[_ANp];
1717
- }
1718
- if (input[_EN] != null) {
1719
- entries[_EN] = input[_EN];
1720
- }
1721
- return entries;
1722
- };
1723
- const se_DeletePlatformVersionRequest = (input, context) => {
1724
- const entries = {};
1725
- if (input[_PA] != null) {
1726
- entries[_PA] = input[_PA];
1727
- }
1728
- return entries;
1729
- };
1730
- const se_DescribeApplicationsMessage = (input, context) => {
1731
- const entries = {};
1732
- if (input[_ANpp] != null) {
1733
- const memberEntries = se_ApplicationNamesList(input[_ANpp], context);
1734
- if (input[_ANpp]?.length === 0) {
1735
- entries.ApplicationNames = [];
1736
- }
1737
- Object.entries(memberEntries).forEach(([key, value]) => {
1738
- const loc = `ApplicationNames.${key}`;
1739
- entries[loc] = value;
1740
- });
1741
- }
1742
- return entries;
1743
- };
1744
- const se_DescribeApplicationVersionsMessage = (input, context) => {
1745
- const entries = {};
1746
- if (input[_ANp] != null) {
1747
- entries[_ANp] = input[_ANp];
1748
- }
1749
- if (input[_VL] != null) {
1750
- const memberEntries = se_VersionLabelsList(input[_VL], context);
1751
- if (input[_VL]?.length === 0) {
1752
- entries.VersionLabels = [];
1753
- }
1754
- Object.entries(memberEntries).forEach(([key, value]) => {
1755
- const loc = `VersionLabels.${key}`;
1756
- entries[loc] = value;
1757
- });
1758
- }
1759
- if (input[_MR] != null) {
1760
- entries[_MR] = input[_MR];
1761
- }
1762
- if (input[_NT] != null) {
1763
- entries[_NT] = input[_NT];
1764
- }
1765
- return entries;
1766
- };
1767
- const se_DescribeConfigurationOptionsMessage = (input, context) => {
1768
- const entries = {};
1769
- if (input[_ANp] != null) {
1770
- entries[_ANp] = input[_ANp];
1771
- }
1772
- if (input[_TN] != null) {
1773
- entries[_TN] = input[_TN];
1774
- }
1775
- if (input[_EN] != null) {
1776
- entries[_EN] = input[_EN];
1777
- }
1778
- if (input[_SSN] != null) {
1779
- entries[_SSN] = input[_SSN];
1780
- }
1781
- if (input[_PA] != null) {
1782
- entries[_PA] = input[_PA];
1783
- }
1784
- if (input[_O] != null) {
1785
- const memberEntries = se_OptionsSpecifierList(input[_O], context);
1786
- if (input[_O]?.length === 0) {
1787
- entries.Options = [];
1788
- }
1789
- Object.entries(memberEntries).forEach(([key, value]) => {
1790
- const loc = `Options.${key}`;
1791
- entries[loc] = value;
1792
- });
1793
- }
1794
- return entries;
1795
- };
1796
- const se_DescribeConfigurationSettingsMessage = (input, context) => {
1797
- const entries = {};
1798
- if (input[_ANp] != null) {
1799
- entries[_ANp] = input[_ANp];
1800
- }
1801
- if (input[_TN] != null) {
1802
- entries[_TN] = input[_TN];
1803
- }
1804
- if (input[_EN] != null) {
1805
- entries[_EN] = input[_EN];
1806
- }
1807
- return entries;
1808
- };
1809
- const se_DescribeEnvironmentHealthRequest = (input, context) => {
1810
- const entries = {};
1811
- if (input[_EN] != null) {
1812
- entries[_EN] = input[_EN];
1813
- }
1814
- if (input[_EI] != null) {
1815
- entries[_EI] = input[_EI];
1816
- }
1817
- if (input[_ANt] != null) {
1818
- const memberEntries = se_EnvironmentHealthAttributes(input[_ANt], context);
1819
- if (input[_ANt]?.length === 0) {
1820
- entries.AttributeNames = [];
1821
- }
1822
- Object.entries(memberEntries).forEach(([key, value]) => {
1823
- const loc = `AttributeNames.${key}`;
1824
- entries[loc] = value;
1825
- });
1826
- }
1827
- return entries;
1828
- };
1829
- const se_DescribeEnvironmentManagedActionHistoryRequest = (input, context) => {
1830
- const entries = {};
1831
- if (input[_EI] != null) {
1832
- entries[_EI] = input[_EI];
1833
- }
1834
- if (input[_EN] != null) {
1835
- entries[_EN] = input[_EN];
1836
- }
1837
- if (input[_NT] != null) {
1838
- entries[_NT] = input[_NT];
1839
- }
1840
- if (input[_MI] != null) {
1841
- entries[_MI] = input[_MI];
1842
- }
1843
- return entries;
1844
- };
1845
- const se_DescribeEnvironmentManagedActionsRequest = (input, context) => {
1846
- const entries = {};
1847
- if (input[_EN] != null) {
1848
- entries[_EN] = input[_EN];
1849
- }
1850
- if (input[_EI] != null) {
1851
- entries[_EI] = input[_EI];
1852
- }
1853
- if (input[_S] != null) {
1854
- entries[_S] = input[_S];
1855
- }
1856
- return entries;
1857
- };
1858
- const se_DescribeEnvironmentResourcesMessage = (input, context) => {
1859
- const entries = {};
1860
- if (input[_EI] != null) {
1861
- entries[_EI] = input[_EI];
1862
- }
1863
- if (input[_EN] != null) {
1864
- entries[_EN] = input[_EN];
1865
- }
1866
- return entries;
1867
- };
1868
- const se_DescribeEnvironmentsMessage = (input, context) => {
1869
- const entries = {};
1870
- if (input[_ANp] != null) {
1871
- entries[_ANp] = input[_ANp];
1872
- }
1873
- if (input[_VLe] != null) {
1874
- entries[_VLe] = input[_VLe];
1875
- }
1876
- if (input[_EIn] != null) {
1877
- const memberEntries = se_EnvironmentIdList(input[_EIn], context);
1878
- if (input[_EIn]?.length === 0) {
1879
- entries.EnvironmentIds = [];
1880
- }
1881
- Object.entries(memberEntries).forEach(([key, value]) => {
1882
- const loc = `EnvironmentIds.${key}`;
1883
- entries[loc] = value;
1884
- });
1885
- }
1886
- if (input[_ENn] != null) {
1887
- const memberEntries = se_EnvironmentNamesList(input[_ENn], context);
1888
- if (input[_ENn]?.length === 0) {
1889
- entries.EnvironmentNames = [];
1890
- }
1891
- Object.entries(memberEntries).forEach(([key, value]) => {
1892
- const loc = `EnvironmentNames.${key}`;
1893
- entries[loc] = value;
1894
- });
1895
- }
1896
- if (input[_ID] != null) {
1897
- entries[_ID] = input[_ID];
1898
- }
1899
- if (input[_IDBT] != null) {
1900
- entries[_IDBT] = __serializeDateTime(input[_IDBT]);
1901
- }
1902
- if (input[_MR] != null) {
1903
- entries[_MR] = input[_MR];
1904
- }
1905
- if (input[_NT] != null) {
1906
- entries[_NT] = input[_NT];
1907
- }
1908
- return entries;
1909
- };
1910
- const se_DescribeEventsMessage = (input, context) => {
1911
- const entries = {};
1912
- if (input[_ANp] != null) {
1913
- entries[_ANp] = input[_ANp];
1914
- }
1915
- if (input[_VLe] != null) {
1916
- entries[_VLe] = input[_VLe];
1917
- }
1918
- if (input[_TN] != null) {
1919
- entries[_TN] = input[_TN];
1920
- }
1921
- if (input[_EI] != null) {
1922
- entries[_EI] = input[_EI];
1923
- }
1924
- if (input[_EN] != null) {
1925
- entries[_EN] = input[_EN];
1926
- }
1927
- if (input[_PA] != null) {
1928
- entries[_PA] = input[_PA];
1929
- }
1930
- if (input[_RI] != null) {
1931
- entries[_RI] = input[_RI];
1932
- }
1933
- if (input[_Se] != null) {
1934
- entries[_Se] = input[_Se];
1935
- }
1936
- if (input[_ST] != null) {
1937
- entries[_ST] = __serializeDateTime(input[_ST]);
1938
- }
1939
- if (input[_ET] != null) {
1940
- entries[_ET] = __serializeDateTime(input[_ET]);
1941
- }
1942
- if (input[_MR] != null) {
1943
- entries[_MR] = input[_MR];
1944
- }
1945
- if (input[_NT] != null) {
1946
- entries[_NT] = input[_NT];
1947
- }
1948
- return entries;
1949
- };
1950
- const se_DescribeInstancesHealthRequest = (input, context) => {
1951
- const entries = {};
1952
- if (input[_EN] != null) {
1953
- entries[_EN] = input[_EN];
1954
- }
1955
- if (input[_EI] != null) {
1956
- entries[_EI] = input[_EI];
1957
- }
1958
- if (input[_ANt] != null) {
1959
- const memberEntries = se_InstancesHealthAttributes(input[_ANt], context);
1960
- if (input[_ANt]?.length === 0) {
1961
- entries.AttributeNames = [];
1962
- }
1963
- Object.entries(memberEntries).forEach(([key, value]) => {
1964
- const loc = `AttributeNames.${key}`;
1965
- entries[loc] = value;
1966
- });
1967
- }
1968
- if (input[_NT] != null) {
1969
- entries[_NT] = input[_NT];
1970
- }
1971
- return entries;
1972
- };
1973
- const se_DescribePlatformVersionRequest = (input, context) => {
1974
- const entries = {};
1975
- if (input[_PA] != null) {
1976
- entries[_PA] = input[_PA];
1977
- }
1978
- return entries;
1979
- };
1980
- const se_DisassociateEnvironmentOperationsRoleMessage = (input, context) => {
1981
- const entries = {};
1982
- if (input[_EN] != null) {
1983
- entries[_EN] = input[_EN];
1984
- }
1985
- return entries;
1986
- };
1987
- const se_EnvironmentHealthAttributes = (input, context) => {
1988
- const entries = {};
1989
- let counter = 1;
1990
- for (const entry of input) {
1991
- if (entry === null) {
1992
- continue;
1993
- }
1994
- entries[`member.${counter}`] = entry;
1995
- counter++;
1996
- }
1997
- return entries;
1998
- };
1999
- const se_EnvironmentIdList = (input, context) => {
2000
- const entries = {};
2001
- let counter = 1;
2002
- for (const entry of input) {
2003
- if (entry === null) {
2004
- continue;
2005
- }
2006
- entries[`member.${counter}`] = entry;
2007
- counter++;
2008
- }
2009
- return entries;
2010
- };
2011
- const se_EnvironmentNamesList = (input, context) => {
2012
- const entries = {};
2013
- let counter = 1;
2014
- for (const entry of input) {
2015
- if (entry === null) {
2016
- continue;
2017
- }
2018
- entries[`member.${counter}`] = entry;
2019
- counter++;
2020
- }
2021
- return entries;
2022
- };
2023
- const se_EnvironmentTier = (input, context) => {
2024
- const entries = {};
2025
- if (input[_Na] != null) {
2026
- entries[_Na] = input[_Na];
2027
- }
2028
- if (input[_Ty] != null) {
2029
- entries[_Ty] = input[_Ty];
2030
- }
2031
- if (input[_V] != null) {
2032
- entries[_V] = input[_V];
2033
- }
2034
- return entries;
2035
- };
2036
- const se_InstancesHealthAttributes = (input, context) => {
2037
- const entries = {};
2038
- let counter = 1;
2039
- for (const entry of input) {
2040
- if (entry === null) {
2041
- continue;
2042
- }
2043
- entries[`member.${counter}`] = entry;
2044
- counter++;
2045
- }
2046
- return entries;
2047
- };
2048
- const se_ListPlatformBranchesRequest = (input, context) => {
2049
- const entries = {};
2050
- if (input[_F] != null) {
2051
- const memberEntries = se_SearchFilters(input[_F], context);
2052
- if (input[_F]?.length === 0) {
2053
- entries.Filters = [];
2054
- }
2055
- Object.entries(memberEntries).forEach(([key, value]) => {
2056
- const loc = `Filters.${key}`;
2057
- entries[loc] = value;
2058
- });
2059
- }
2060
- if (input[_MR] != null) {
2061
- entries[_MR] = input[_MR];
2062
- }
2063
- if (input[_NT] != null) {
2064
- entries[_NT] = input[_NT];
2065
- }
2066
- return entries;
2067
- };
2068
- const se_ListPlatformVersionsRequest = (input, context) => {
2069
- const entries = {};
2070
- if (input[_F] != null) {
2071
- const memberEntries = se_PlatformFilters(input[_F], context);
2072
- if (input[_F]?.length === 0) {
2073
- entries.Filters = [];
2074
- }
2075
- Object.entries(memberEntries).forEach(([key, value]) => {
2076
- const loc = `Filters.${key}`;
2077
- entries[loc] = value;
2078
- });
2079
- }
2080
- if (input[_MR] != null) {
2081
- entries[_MR] = input[_MR];
2082
- }
2083
- if (input[_NT] != null) {
2084
- entries[_NT] = input[_NT];
2085
- }
2086
- return entries;
2087
- };
2088
- const se_ListTagsForResourceMessage = (input, context) => {
2089
- const entries = {};
2090
- if (input[_RA] != null) {
2091
- entries[_RA] = input[_RA];
2092
- }
2093
- return entries;
2094
- };
2095
- const se_MaxAgeRule = (input, context) => {
2096
- const entries = {};
2097
- if (input[_E] != null) {
2098
- entries[_E] = input[_E];
2099
- }
2100
- if (input[_MAID] != null) {
2101
- entries[_MAID] = input[_MAID];
2102
- }
2103
- if (input[_DSFS] != null) {
2104
- entries[_DSFS] = input[_DSFS];
2105
- }
2106
- return entries;
2107
- };
2108
- const se_MaxCountRule = (input, context) => {
2109
- const entries = {};
2110
- if (input[_E] != null) {
2111
- entries[_E] = input[_E];
2112
- }
2113
- if (input[_MC] != null) {
2114
- entries[_MC] = input[_MC];
2115
- }
2116
- if (input[_DSFS] != null) {
2117
- entries[_DSFS] = input[_DSFS];
2118
- }
2119
- return entries;
2120
- };
2121
- const se_OptionSpecification = (input, context) => {
2122
- const entries = {};
2123
- if (input[_RN] != null) {
2124
- entries[_RN] = input[_RN];
2125
- }
2126
- if (input[_N] != null) {
2127
- entries[_N] = input[_N];
2128
- }
2129
- if (input[_ON] != null) {
2130
- entries[_ON] = input[_ON];
2131
- }
2132
- return entries;
2133
- };
2134
- const se_OptionsSpecifierList = (input, context) => {
2135
- const entries = {};
2136
- let counter = 1;
2137
- for (const entry of input) {
2138
- if (entry === null) {
2139
- continue;
2140
- }
2141
- const memberEntries = se_OptionSpecification(entry, context);
2142
- Object.entries(memberEntries).forEach(([key, value]) => {
2143
- entries[`member.${counter}.${key}`] = value;
2144
- });
2145
- counter++;
2146
- }
2147
- return entries;
2148
- };
2149
- const se_PlatformFilter = (input, context) => {
2150
- const entries = {};
2151
- if (input[_Ty] != null) {
2152
- entries[_Ty] = input[_Ty];
2153
- }
2154
- if (input[_Op] != null) {
2155
- entries[_Op] = input[_Op];
2156
- }
2157
- if (input[_Val] != null) {
2158
- const memberEntries = se_PlatformFilterValueList(input[_Val], context);
2159
- if (input[_Val]?.length === 0) {
2160
- entries.Values = [];
2161
- }
2162
- Object.entries(memberEntries).forEach(([key, value]) => {
2163
- const loc = `Values.${key}`;
2164
- entries[loc] = value;
2165
- });
2166
- }
2167
- return entries;
2168
- };
2169
- const se_PlatformFilters = (input, context) => {
2170
- const entries = {};
2171
- let counter = 1;
2172
- for (const entry of input) {
2173
- if (entry === null) {
2174
- continue;
2175
- }
2176
- const memberEntries = se_PlatformFilter(entry, context);
2177
- Object.entries(memberEntries).forEach(([key, value]) => {
2178
- entries[`member.${counter}.${key}`] = value;
2179
- });
2180
- counter++;
2181
- }
2182
- return entries;
2183
- };
2184
- const se_PlatformFilterValueList = (input, context) => {
2185
- const entries = {};
2186
- let counter = 1;
2187
- for (const entry of input) {
2188
- if (entry === null) {
2189
- continue;
2190
- }
2191
- entries[`member.${counter}`] = entry;
2192
- counter++;
2193
- }
2194
- return entries;
2195
- };
2196
- const se_RebuildEnvironmentMessage = (input, context) => {
2197
- const entries = {};
2198
- if (input[_EI] != null) {
2199
- entries[_EI] = input[_EI];
2200
- }
2201
- if (input[_EN] != null) {
2202
- entries[_EN] = input[_EN];
2203
- }
2204
- return entries;
2205
- };
2206
- const se_RequestEnvironmentInfoMessage = (input, context) => {
2207
- const entries = {};
2208
- if (input[_EI] != null) {
2209
- entries[_EI] = input[_EI];
2210
- }
2211
- if (input[_EN] != null) {
2212
- entries[_EN] = input[_EN];
2213
- }
2214
- if (input[_IT] != null) {
2215
- entries[_IT] = input[_IT];
2216
- }
2217
- return entries;
2218
- };
2219
- const se_RestartAppServerMessage = (input, context) => {
2220
- const entries = {};
2221
- if (input[_EI] != null) {
2222
- entries[_EI] = input[_EI];
2223
- }
2224
- if (input[_EN] != null) {
2225
- entries[_EN] = input[_EN];
2226
- }
2227
- return entries;
2228
- };
2229
- const se_RetrieveEnvironmentInfoMessage = (input, context) => {
2230
- const entries = {};
2231
- if (input[_EI] != null) {
2232
- entries[_EI] = input[_EI];
2233
- }
2234
- if (input[_EN] != null) {
2235
- entries[_EN] = input[_EN];
2236
- }
2237
- if (input[_IT] != null) {
2238
- entries[_IT] = input[_IT];
2239
- }
2240
- return entries;
2241
- };
2242
- const se_S3Location = (input, context) => {
2243
- const entries = {};
2244
- if (input[_SBu] != null) {
2245
- entries[_SBu] = input[_SBu];
2246
- }
2247
- if (input[_SK] != null) {
2248
- entries[_SK] = input[_SK];
2249
- }
2250
- return entries;
2251
- };
2252
- const se_SearchFilter = (input, context) => {
2253
- const entries = {};
2254
- if (input[_At] != null) {
2255
- entries[_At] = input[_At];
2256
- }
2257
- if (input[_Op] != null) {
2258
- entries[_Op] = input[_Op];
2259
- }
2260
- if (input[_Val] != null) {
2261
- const memberEntries = se_SearchFilterValues(input[_Val], context);
2262
- if (input[_Val]?.length === 0) {
2263
- entries.Values = [];
2264
- }
2265
- Object.entries(memberEntries).forEach(([key, value]) => {
2266
- const loc = `Values.${key}`;
2267
- entries[loc] = value;
2268
- });
2269
- }
2270
- return entries;
2271
- };
2272
- const se_SearchFilters = (input, context) => {
2273
- const entries = {};
2274
- let counter = 1;
2275
- for (const entry of input) {
2276
- if (entry === null) {
2277
- continue;
2278
- }
2279
- const memberEntries = se_SearchFilter(entry, context);
2280
- Object.entries(memberEntries).forEach(([key, value]) => {
2281
- entries[`member.${counter}.${key}`] = value;
2282
- });
2283
- counter++;
2284
- }
2285
- return entries;
2286
- };
2287
- const se_SearchFilterValues = (input, context) => {
2288
- const entries = {};
2289
- let counter = 1;
2290
- for (const entry of input) {
2291
- if (entry === null) {
2292
- continue;
2293
- }
2294
- entries[`member.${counter}`] = entry;
2295
- counter++;
2296
- }
2297
- return entries;
2298
- };
2299
- const se_SourceBuildInformation = (input, context) => {
2300
- const entries = {};
2301
- if (input[_STo] != null) {
2302
- entries[_STo] = input[_STo];
2303
- }
2304
- if (input[_SRo] != null) {
2305
- entries[_SRo] = input[_SRo];
2306
- }
2307
- if (input[_SL] != null) {
2308
- entries[_SL] = input[_SL];
2309
- }
2310
- return entries;
2311
- };
2312
- const se_SourceConfiguration = (input, context) => {
2313
- const entries = {};
2314
- if (input[_ANp] != null) {
2315
- entries[_ANp] = input[_ANp];
2316
- }
2317
- if (input[_TN] != null) {
2318
- entries[_TN] = input[_TN];
2319
- }
2320
- return entries;
2321
- };
2322
- const se_SwapEnvironmentCNAMEsMessage = (input, context) => {
2323
- const entries = {};
2324
- if (input[_SEI] != null) {
2325
- entries[_SEI] = input[_SEI];
2326
- }
2327
- if (input[_SEN] != null) {
2328
- entries[_SEN] = input[_SEN];
2329
- }
2330
- if (input[_DEI] != null) {
2331
- entries[_DEI] = input[_DEI];
2332
- }
2333
- if (input[_DEN] != null) {
2334
- entries[_DEN] = input[_DEN];
2335
- }
2336
- return entries;
2337
- };
2338
- const se_Tag = (input, context) => {
2339
- const entries = {};
2340
- if (input[_K] != null) {
2341
- entries[_K] = input[_K];
2342
- }
2343
- if (input[_Va] != null) {
2344
- entries[_Va] = input[_Va];
2345
- }
2346
- return entries;
2347
- };
2348
- const se_TagKeyList = (input, context) => {
2349
- const entries = {};
2350
- let counter = 1;
2351
- for (const entry of input) {
2352
- if (entry === null) {
2353
- continue;
2354
- }
2355
- entries[`member.${counter}`] = entry;
2356
- counter++;
2357
- }
2358
- return entries;
2359
- };
2360
- const se_TagList = (input, context) => {
2361
- const entries = {};
2362
- let counter = 1;
2363
- for (const entry of input) {
2364
- if (entry === null) {
2365
- continue;
2366
- }
2367
- const memberEntries = se_Tag(entry, context);
2368
- Object.entries(memberEntries).forEach(([key, value]) => {
2369
- entries[`member.${counter}.${key}`] = value;
2370
- });
2371
- counter++;
2372
- }
2373
- return entries;
2374
- };
2375
- const se_Tags = (input, context) => {
2376
- const entries = {};
2377
- let counter = 1;
2378
- for (const entry of input) {
2379
- if (entry === null) {
2380
- continue;
2381
- }
2382
- const memberEntries = se_Tag(entry, context);
2383
- Object.entries(memberEntries).forEach(([key, value]) => {
2384
- entries[`member.${counter}.${key}`] = value;
2385
- });
2386
- counter++;
2387
- }
2388
- return entries;
2389
- };
2390
- const se_TerminateEnvironmentMessage = (input, context) => {
2391
- const entries = {};
2392
- if (input[_EI] != null) {
2393
- entries[_EI] = input[_EI];
2394
- }
2395
- if (input[_EN] != null) {
2396
- entries[_EN] = input[_EN];
2397
- }
2398
- if (input[_TR] != null) {
2399
- entries[_TR] = input[_TR];
2400
- }
2401
- if (input[_FT] != null) {
2402
- entries[_FT] = input[_FT];
2403
- }
2404
- return entries;
2405
- };
2406
- const se_UpdateApplicationMessage = (input, context) => {
2407
- const entries = {};
2408
- if (input[_ANp] != null) {
2409
- entries[_ANp] = input[_ANp];
2410
- }
2411
- if (input[_D] != null) {
2412
- entries[_D] = input[_D];
2413
- }
2414
- return entries;
2415
- };
2416
- const se_UpdateApplicationResourceLifecycleMessage = (input, context) => {
2417
- const entries = {};
2418
- if (input[_ANp] != null) {
2419
- entries[_ANp] = input[_ANp];
2420
- }
2421
- if (input[_RLC] != null) {
2422
- const memberEntries = se_ApplicationResourceLifecycleConfig(input[_RLC], context);
2423
- Object.entries(memberEntries).forEach(([key, value]) => {
2424
- const loc = `ResourceLifecycleConfig.${key}`;
2425
- entries[loc] = value;
2426
- });
2427
- }
2428
- return entries;
2429
- };
2430
- const se_UpdateApplicationVersionMessage = (input, context) => {
2431
- const entries = {};
2432
- if (input[_ANp] != null) {
2433
- entries[_ANp] = input[_ANp];
2434
- }
2435
- if (input[_VLe] != null) {
2436
- entries[_VLe] = input[_VLe];
2437
- }
2438
- if (input[_D] != null) {
2439
- entries[_D] = input[_D];
2440
- }
2441
- return entries;
2442
- };
2443
- const se_UpdateConfigurationTemplateMessage = (input, context) => {
2444
- const entries = {};
2445
- if (input[_ANp] != null) {
2446
- entries[_ANp] = input[_ANp];
2447
- }
2448
- if (input[_TN] != null) {
2449
- entries[_TN] = input[_TN];
2450
- }
2451
- if (input[_D] != null) {
2452
- entries[_D] = input[_D];
2453
- }
2454
- if (input[_OS] != null) {
2455
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
2456
- if (input[_OS]?.length === 0) {
2457
- entries.OptionSettings = [];
2458
- }
2459
- Object.entries(memberEntries).forEach(([key, value]) => {
2460
- const loc = `OptionSettings.${key}`;
2461
- entries[loc] = value;
2462
- });
2463
- }
2464
- if (input[_OTR] != null) {
2465
- const memberEntries = se_OptionsSpecifierList(input[_OTR], context);
2466
- if (input[_OTR]?.length === 0) {
2467
- entries.OptionsToRemove = [];
2468
- }
2469
- Object.entries(memberEntries).forEach(([key, value]) => {
2470
- const loc = `OptionsToRemove.${key}`;
2471
- entries[loc] = value;
2472
- });
2473
- }
2474
- return entries;
2475
- };
2476
- const se_UpdateEnvironmentMessage = (input, context) => {
2477
- const entries = {};
2478
- if (input[_ANp] != null) {
2479
- entries[_ANp] = input[_ANp];
2480
- }
2481
- if (input[_EI] != null) {
2482
- entries[_EI] = input[_EI];
2483
- }
2484
- if (input[_EN] != null) {
2485
- entries[_EN] = input[_EN];
2486
- }
2487
- if (input[_GN] != null) {
2488
- entries[_GN] = input[_GN];
2489
- }
2490
- if (input[_D] != null) {
2491
- entries[_D] = input[_D];
2492
- }
2493
- if (input[_Ti] != null) {
2494
- const memberEntries = se_EnvironmentTier(input[_Ti], context);
2495
- Object.entries(memberEntries).forEach(([key, value]) => {
2496
- const loc = `Tier.${key}`;
2497
- entries[loc] = value;
2498
- });
2499
- }
2500
- if (input[_VLe] != null) {
2501
- entries[_VLe] = input[_VLe];
2502
- }
2503
- if (input[_TN] != null) {
2504
- entries[_TN] = input[_TN];
2505
- }
2506
- if (input[_SSN] != null) {
2507
- entries[_SSN] = input[_SSN];
2508
- }
2509
- if (input[_PA] != null) {
2510
- entries[_PA] = input[_PA];
2511
- }
2512
- if (input[_OS] != null) {
2513
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
2514
- if (input[_OS]?.length === 0) {
2515
- entries.OptionSettings = [];
2516
- }
2517
- Object.entries(memberEntries).forEach(([key, value]) => {
2518
- const loc = `OptionSettings.${key}`;
2519
- entries[loc] = value;
2520
- });
2521
- }
2522
- if (input[_OTR] != null) {
2523
- const memberEntries = se_OptionsSpecifierList(input[_OTR], context);
2524
- if (input[_OTR]?.length === 0) {
2525
- entries.OptionsToRemove = [];
2526
- }
2527
- Object.entries(memberEntries).forEach(([key, value]) => {
2528
- const loc = `OptionsToRemove.${key}`;
2529
- entries[loc] = value;
2530
- });
2531
- }
2532
- return entries;
2533
- };
2534
- const se_UpdateTagsForResourceMessage = (input, context) => {
2535
- const entries = {};
2536
- if (input[_RA] != null) {
2537
- entries[_RA] = input[_RA];
2538
- }
2539
- if (input[_TTA] != null) {
2540
- const memberEntries = se_TagList(input[_TTA], context);
2541
- if (input[_TTA]?.length === 0) {
2542
- entries.TagsToAdd = [];
2543
- }
2544
- Object.entries(memberEntries).forEach(([key, value]) => {
2545
- const loc = `TagsToAdd.${key}`;
2546
- entries[loc] = value;
2547
- });
2548
- }
2549
- if (input[_TTR] != null) {
2550
- const memberEntries = se_TagKeyList(input[_TTR], context);
2551
- if (input[_TTR]?.length === 0) {
2552
- entries.TagsToRemove = [];
2553
- }
2554
- Object.entries(memberEntries).forEach(([key, value]) => {
2555
- const loc = `TagsToRemove.${key}`;
2556
- entries[loc] = value;
2557
- });
2558
- }
2559
- return entries;
2560
- };
2561
- const se_ValidateConfigurationSettingsMessage = (input, context) => {
2562
- const entries = {};
2563
- if (input[_ANp] != null) {
2564
- entries[_ANp] = input[_ANp];
2565
- }
2566
- if (input[_TN] != null) {
2567
- entries[_TN] = input[_TN];
2568
- }
2569
- if (input[_EN] != null) {
2570
- entries[_EN] = input[_EN];
2571
- }
2572
- if (input[_OS] != null) {
2573
- const memberEntries = se_ConfigurationOptionSettingsList(input[_OS], context);
2574
- if (input[_OS]?.length === 0) {
2575
- entries.OptionSettings = [];
2576
- }
2577
- Object.entries(memberEntries).forEach(([key, value]) => {
2578
- const loc = `OptionSettings.${key}`;
2579
- entries[loc] = value;
2580
- });
2581
- }
2582
- return entries;
2583
- };
2584
- const se_VersionLabels = (input, context) => {
2585
- const entries = {};
2586
- let counter = 1;
2587
- for (const entry of input) {
2588
- if (entry === null) {
2589
- continue;
2590
- }
2591
- entries[`member.${counter}`] = entry;
2592
- counter++;
2593
- }
2594
- return entries;
2595
- };
2596
- const se_VersionLabelsList = (input, context) => {
2597
- const entries = {};
2598
- let counter = 1;
2599
- for (const entry of input) {
2600
- if (entry === null) {
2601
- continue;
2602
- }
2603
- entries[`member.${counter}`] = entry;
2604
- counter++;
2605
- }
2606
- return entries;
2607
- };
2608
- const de_ApplicationDescription = (output, context) => {
2609
- const contents = {};
2610
- if (output[_AA] != null) {
2611
- contents[_AA] = __expectString(output[_AA]);
2612
- }
2613
- if (output[_ANp] != null) {
2614
- contents[_ANp] = __expectString(output[_ANp]);
2615
- }
2616
- if (output[_D] != null) {
2617
- contents[_D] = __expectString(output[_D]);
2618
- }
2619
- if (output[_DC] != null) {
2620
- contents[_DC] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DC]));
2621
- }
2622
- if (output[_DU] != null) {
2623
- contents[_DU] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DU]));
2624
- }
2625
- if (String(output.Versions).trim() === "") {
2626
- contents[_Ve] = [];
2627
- }
2628
- else if (output[_Ve] != null && output[_Ve][_m] != null) {
2629
- contents[_Ve] = de_VersionLabelsList(__getArrayIfSingleItem(output[_Ve][_m]), context);
2630
- }
2631
- if (String(output.ConfigurationTemplates).trim() === "") {
2632
- contents[_CTo] = [];
2633
- }
2634
- else if (output[_CTo] != null && output[_CTo][_m] != null) {
2635
- contents[_CTo] = de_ConfigurationTemplateNamesList(__getArrayIfSingleItem(output[_CTo][_m]), context);
2636
- }
2637
- if (output[_RLC] != null) {
2638
- contents[_RLC] = de_ApplicationResourceLifecycleConfig(output[_RLC], context);
2639
- }
2640
- return contents;
2641
- };
2642
- const de_ApplicationDescriptionList = (output, context) => {
2643
- return (output || [])
2644
- .filter((e) => e != null)
2645
- .map((entry) => {
2646
- return de_ApplicationDescription(entry, context);
2647
- });
2648
- };
2649
- const de_ApplicationDescriptionMessage = (output, context) => {
2650
- const contents = {};
2651
- if (output[_Ap] != null) {
2652
- contents[_Ap] = de_ApplicationDescription(output[_Ap], context);
2653
- }
2654
- return contents;
2655
- };
2656
- const de_ApplicationDescriptionsMessage = (output, context) => {
2657
- const contents = {};
2658
- if (String(output.Applications).trim() === "") {
2659
- contents[_App] = [];
2660
- }
2661
- else if (output[_App] != null && output[_App][_m] != null) {
2662
- contents[_App] = de_ApplicationDescriptionList(__getArrayIfSingleItem(output[_App][_m]), context);
2663
- }
2664
- return contents;
2665
- };
2666
- const de_ApplicationMetrics = (output, context) => {
2667
- const contents = {};
2668
- if (output[_Du] != null) {
2669
- contents[_Du] = __strictParseInt32(output[_Du]);
2670
- }
2671
- if (output[_RC] != null) {
2672
- contents[_RC] = __strictParseInt32(output[_RC]);
2673
- }
2674
- if (output[_SCt] != null) {
2675
- contents[_SCt] = de_StatusCodes(output[_SCt], context);
2676
- }
2677
- if (output[_L] != null) {
2678
- contents[_L] = de_Latency(output[_L], context);
2679
- }
2680
- return contents;
2681
- };
2682
- const de_ApplicationResourceLifecycleConfig = (output, context) => {
2683
- const contents = {};
2684
- if (output[_SR] != null) {
2685
- contents[_SR] = __expectString(output[_SR]);
2686
- }
2687
- if (output[_VLC] != null) {
2688
- contents[_VLC] = de_ApplicationVersionLifecycleConfig(output[_VLC], context);
2689
- }
2690
- return contents;
2691
- };
2692
- const de_ApplicationResourceLifecycleDescriptionMessage = (output, context) => {
2693
- const contents = {};
2694
- if (output[_ANp] != null) {
2695
- contents[_ANp] = __expectString(output[_ANp]);
2696
- }
2697
- if (output[_RLC] != null) {
2698
- contents[_RLC] = de_ApplicationResourceLifecycleConfig(output[_RLC], context);
2699
- }
2700
- return contents;
2701
- };
2702
- const de_ApplicationVersionDescription = (output, context) => {
2703
- const contents = {};
2704
- if (output[_AVA] != null) {
2705
- contents[_AVA] = __expectString(output[_AVA]);
2706
- }
2707
- if (output[_ANp] != null) {
2708
- contents[_ANp] = __expectString(output[_ANp]);
2709
- }
2710
- if (output[_D] != null) {
2711
- contents[_D] = __expectString(output[_D]);
2712
- }
2713
- if (output[_VLe] != null) {
2714
- contents[_VLe] = __expectString(output[_VLe]);
2715
- }
2716
- if (output[_SBI] != null) {
2717
- contents[_SBI] = de_SourceBuildInformation(output[_SBI], context);
2718
- }
2719
- if (output[_BA] != null) {
2720
- contents[_BA] = __expectString(output[_BA]);
2721
- }
2722
- if (output[_SB] != null) {
2723
- contents[_SB] = de_S3Location(output[_SB], context);
2724
- }
2725
- if (output[_DC] != null) {
2726
- contents[_DC] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DC]));
2727
- }
2728
- if (output[_DU] != null) {
2729
- contents[_DU] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DU]));
2730
- }
2731
- if (output[_S] != null) {
2732
- contents[_S] = __expectString(output[_S]);
2733
- }
2734
- return contents;
2735
- };
2736
- const de_ApplicationVersionDescriptionList = (output, context) => {
2737
- return (output || [])
2738
- .filter((e) => e != null)
2739
- .map((entry) => {
2740
- return de_ApplicationVersionDescription(entry, context);
2741
- });
2742
- };
2743
- const de_ApplicationVersionDescriptionMessage = (output, context) => {
2744
- const contents = {};
2745
- if (output[_AV] != null) {
2746
- contents[_AV] = de_ApplicationVersionDescription(output[_AV], context);
2747
- }
2748
- return contents;
2749
- };
2750
- const de_ApplicationVersionDescriptionsMessage = (output, context) => {
2751
- const contents = {};
2752
- if (String(output.ApplicationVersions).trim() === "") {
2753
- contents[_AVp] = [];
2754
- }
2755
- else if (output[_AVp] != null && output[_AVp][_m] != null) {
2756
- contents[_AVp] = de_ApplicationVersionDescriptionList(__getArrayIfSingleItem(output[_AVp][_m]), context);
2757
- }
2758
- if (output[_NT] != null) {
2759
- contents[_NT] = __expectString(output[_NT]);
2760
- }
2761
- return contents;
2762
- };
2763
- const de_ApplicationVersionLifecycleConfig = (output, context) => {
2764
- const contents = {};
2765
- if (output[_MCR] != null) {
2766
- contents[_MCR] = de_MaxCountRule(output[_MCR], context);
2767
- }
2768
- if (output[_MAR] != null) {
2769
- contents[_MAR] = de_MaxAgeRule(output[_MAR], context);
2770
- }
2771
- return contents;
2772
- };
2773
- const de_ApplyEnvironmentManagedActionResult = (output, context) => {
2774
- const contents = {};
2775
- if (output[_AI] != null) {
2776
- contents[_AI] = __expectString(output[_AI]);
2777
- }
2778
- if (output[_AD] != null) {
2779
- contents[_AD] = __expectString(output[_AD]);
2780
- }
2781
- if (output[_AT] != null) {
2782
- contents[_AT] = __expectString(output[_AT]);
2783
- }
2784
- if (output[_S] != null) {
2785
- contents[_S] = __expectString(output[_S]);
2786
- }
2787
- return contents;
2788
- };
2789
- const de_AutoScalingGroup = (output, context) => {
2790
- const contents = {};
2791
- if (output[_Na] != null) {
2792
- contents[_Na] = __expectString(output[_Na]);
2793
- }
2794
- return contents;
2795
- };
2796
- const de_AutoScalingGroupList = (output, context) => {
2797
- return (output || [])
2798
- .filter((e) => e != null)
2799
- .map((entry) => {
2800
- return de_AutoScalingGroup(entry, context);
2801
- });
2802
- };
2803
- const de_AvailableSolutionStackDetailsList = (output, context) => {
2804
- return (output || [])
2805
- .filter((e) => e != null)
2806
- .map((entry) => {
2807
- return de_SolutionStackDescription(entry, context);
2808
- });
2809
- };
2810
- const de_AvailableSolutionStackNamesList = (output, context) => {
2811
- return (output || [])
2812
- .filter((e) => e != null)
2813
- .map((entry) => {
2814
- return __expectString(entry);
2815
- });
2816
- };
2817
- const de_Builder = (output, context) => {
2818
- const contents = {};
2819
- if (output[_ARN] != null) {
2820
- contents[_ARN] = __expectString(output[_ARN]);
2821
- }
2822
- return contents;
2823
- };
2824
- const de_Causes = (output, context) => {
2825
- return (output || [])
2826
- .filter((e) => e != null)
2827
- .map((entry) => {
2828
- return __expectString(entry);
2829
- });
2830
- };
2831
- const de_CheckDNSAvailabilityResultMessage = (output, context) => {
2832
- const contents = {};
2833
- if (output[_Av] != null) {
2834
- contents[_Av] = __parseBoolean(output[_Av]);
2835
- }
2836
- if (output[_FQCNAME] != null) {
2837
- contents[_FQCNAME] = __expectString(output[_FQCNAME]);
2838
- }
2839
- return contents;
2840
- };
2841
- const de_CodeBuildNotInServiceRegionException = (output, context) => {
2842
- const contents = {};
2843
- if (output[_me] != null) {
2844
- contents[_me] = __expectString(output[_me]);
2845
- }
2846
- return contents;
2847
- };
2848
- const de_ConfigurationOptionDescription = (output, context) => {
2849
- const contents = {};
2850
- if (output[_N] != null) {
2851
- contents[_N] = __expectString(output[_N]);
2852
- }
2853
- if (output[_Na] != null) {
2854
- contents[_Na] = __expectString(output[_Na]);
2855
- }
2856
- if (output[_DV] != null) {
2857
- contents[_DV] = __expectString(output[_DV]);
2858
- }
2859
- if (output[_CS] != null) {
2860
- contents[_CS] = __expectString(output[_CS]);
2861
- }
2862
- if (output[_UD] != null) {
2863
- contents[_UD] = __parseBoolean(output[_UD]);
2864
- }
2865
- if (output[_VT] != null) {
2866
- contents[_VT] = __expectString(output[_VT]);
2867
- }
2868
- if (String(output.ValueOptions).trim() === "") {
2869
- contents[_VO] = [];
2870
- }
2871
- else if (output[_VO] != null && output[_VO][_m] != null) {
2872
- contents[_VO] = de_ConfigurationOptionPossibleValues(__getArrayIfSingleItem(output[_VO][_m]), context);
2873
- }
2874
- if (output[_MV] != null) {
2875
- contents[_MV] = __strictParseInt32(output[_MV]);
2876
- }
2877
- if (output[_MVa] != null) {
2878
- contents[_MVa] = __strictParseInt32(output[_MVa]);
2879
- }
2880
- if (output[_ML] != null) {
2881
- contents[_ML] = __strictParseInt32(output[_ML]);
2882
- }
2883
- if (output[_R] != null) {
2884
- contents[_R] = de_OptionRestrictionRegex(output[_R], context);
2885
- }
2886
- return contents;
2887
- };
2888
- const de_ConfigurationOptionDescriptionsList = (output, context) => {
2889
- return (output || [])
2890
- .filter((e) => e != null)
2891
- .map((entry) => {
2892
- return de_ConfigurationOptionDescription(entry, context);
2893
- });
2894
- };
2895
- const de_ConfigurationOptionPossibleValues = (output, context) => {
2896
- return (output || [])
2897
- .filter((e) => e != null)
2898
- .map((entry) => {
2899
- return __expectString(entry);
2900
- });
2901
- };
2902
- const de_ConfigurationOptionsDescription = (output, context) => {
2903
- const contents = {};
2904
- if (output[_SSN] != null) {
2905
- contents[_SSN] = __expectString(output[_SSN]);
2906
- }
2907
- if (output[_PA] != null) {
2908
- contents[_PA] = __expectString(output[_PA]);
2909
- }
2910
- if (String(output.Options).trim() === "") {
2911
- contents[_O] = [];
2912
- }
2913
- else if (output[_O] != null && output[_O][_m] != null) {
2914
- contents[_O] = de_ConfigurationOptionDescriptionsList(__getArrayIfSingleItem(output[_O][_m]), context);
2915
- }
2916
- return contents;
2917
- };
2918
- const de_ConfigurationOptionSetting = (output, context) => {
2919
- const contents = {};
2920
- if (output[_RN] != null) {
2921
- contents[_RN] = __expectString(output[_RN]);
2922
- }
2923
- if (output[_N] != null) {
2924
- contents[_N] = __expectString(output[_N]);
2925
- }
2926
- if (output[_ON] != null) {
2927
- contents[_ON] = __expectString(output[_ON]);
2928
- }
2929
- if (output[_Va] != null) {
2930
- contents[_Va] = __expectString(output[_Va]);
2931
- }
2932
- return contents;
2933
- };
2934
- const de_ConfigurationOptionSettingsList = (output, context) => {
2935
- return (output || [])
2936
- .filter((e) => e != null)
2937
- .map((entry) => {
2938
- return de_ConfigurationOptionSetting(entry, context);
2939
- });
2940
- };
2941
- const de_ConfigurationSettingsDescription = (output, context) => {
2942
- const contents = {};
2943
- if (output[_SSN] != null) {
2944
- contents[_SSN] = __expectString(output[_SSN]);
2945
- }
2946
- if (output[_PA] != null) {
2947
- contents[_PA] = __expectString(output[_PA]);
2948
- }
2949
- if (output[_ANp] != null) {
2950
- contents[_ANp] = __expectString(output[_ANp]);
2951
- }
2952
- if (output[_TN] != null) {
2953
- contents[_TN] = __expectString(output[_TN]);
2954
- }
2955
- if (output[_D] != null) {
2956
- contents[_D] = __expectString(output[_D]);
2957
- }
2958
- if (output[_EN] != null) {
2959
- contents[_EN] = __expectString(output[_EN]);
2960
- }
2961
- if (output[_DS] != null) {
2962
- contents[_DS] = __expectString(output[_DS]);
2963
- }
2964
- if (output[_DC] != null) {
2965
- contents[_DC] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DC]));
2966
- }
2967
- if (output[_DU] != null) {
2968
- contents[_DU] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DU]));
2969
- }
2970
- if (String(output.OptionSettings).trim() === "") {
2971
- contents[_OS] = [];
2972
- }
2973
- else if (output[_OS] != null && output[_OS][_m] != null) {
2974
- contents[_OS] = de_ConfigurationOptionSettingsList(__getArrayIfSingleItem(output[_OS][_m]), context);
2975
- }
2976
- return contents;
2977
- };
2978
- const de_ConfigurationSettingsDescriptionList = (output, context) => {
2979
- return (output || [])
2980
- .filter((e) => e != null)
2981
- .map((entry) => {
2982
- return de_ConfigurationSettingsDescription(entry, context);
2983
- });
2984
- };
2985
- const de_ConfigurationSettingsDescriptions = (output, context) => {
2986
- const contents = {};
2987
- if (String(output.ConfigurationSettings).trim() === "") {
2988
- contents[_CSo] = [];
2989
- }
2990
- else if (output[_CSo] != null && output[_CSo][_m] != null) {
2991
- contents[_CSo] = de_ConfigurationSettingsDescriptionList(__getArrayIfSingleItem(output[_CSo][_m]), context);
2992
- }
2993
- return contents;
2994
- };
2995
- const de_ConfigurationSettingsValidationMessages = (output, context) => {
2996
- const contents = {};
2997
- if (String(output.Messages).trim() === "") {
2998
- contents[_M] = [];
2999
- }
3000
- else if (output[_M] != null && output[_M][_m] != null) {
3001
- contents[_M] = de_ValidationMessagesList(__getArrayIfSingleItem(output[_M][_m]), context);
3002
- }
3003
- return contents;
3004
- };
3005
- const de_ConfigurationTemplateNamesList = (output, context) => {
3006
- return (output || [])
3007
- .filter((e) => e != null)
3008
- .map((entry) => {
3009
- return __expectString(entry);
3010
- });
3011
- };
3012
- const de_CPUUtilization = (output, context) => {
3013
- const contents = {};
3014
- if (output[_U] != null) {
3015
- contents[_U] = __strictParseFloat(output[_U]);
3016
- }
3017
- if (output[_Ni] != null) {
3018
- contents[_Ni] = __strictParseFloat(output[_Ni]);
3019
- }
3020
- if (output[_Sy] != null) {
3021
- contents[_Sy] = __strictParseFloat(output[_Sy]);
3022
- }
3023
- if (output[_Id] != null) {
3024
- contents[_Id] = __strictParseFloat(output[_Id]);
3025
- }
3026
- if (output[_IOW] != null) {
3027
- contents[_IOW] = __strictParseFloat(output[_IOW]);
3028
- }
3029
- if (output[_IRQ] != null) {
3030
- contents[_IRQ] = __strictParseFloat(output[_IRQ]);
3031
- }
3032
- if (output[_SIRQ] != null) {
3033
- contents[_SIRQ] = __strictParseFloat(output[_SIRQ]);
3034
- }
3035
- if (output[_Pr] != null) {
3036
- contents[_Pr] = __strictParseFloat(output[_Pr]);
3037
- }
3038
- return contents;
3039
- };
3040
- const de_CreatePlatformVersionResult = (output, context) => {
3041
- const contents = {};
3042
- if (output[_PS] != null) {
3043
- contents[_PS] = de_PlatformSummary(output[_PS], context);
3044
- }
3045
- if (output[_B] != null) {
3046
- contents[_B] = de_Builder(output[_B], context);
3047
- }
3048
- return contents;
3049
- };
3050
- const de_CreateStorageLocationResultMessage = (output, context) => {
3051
- const contents = {};
3052
- if (output[_SBu] != null) {
3053
- contents[_SBu] = __expectString(output[_SBu]);
3054
- }
3055
- return contents;
3056
- };
3057
- const de_CustomAmi = (output, context) => {
3058
- const contents = {};
3059
- if (output[_VTi] != null) {
3060
- contents[_VTi] = __expectString(output[_VTi]);
3061
- }
3062
- if (output[_II] != null) {
3063
- contents[_II] = __expectString(output[_II]);
3064
- }
3065
- return contents;
3066
- };
3067
- const de_CustomAmiList = (output, context) => {
3068
- return (output || [])
3069
- .filter((e) => e != null)
3070
- .map((entry) => {
3071
- return de_CustomAmi(entry, context);
3072
- });
3073
- };
3074
- const de_DeletePlatformVersionResult = (output, context) => {
3075
- const contents = {};
3076
- if (output[_PS] != null) {
3077
- contents[_PS] = de_PlatformSummary(output[_PS], context);
3078
- }
3079
- return contents;
3080
- };
3081
- const de_Deployment = (output, context) => {
3082
- const contents = {};
3083
- if (output[_VLe] != null) {
3084
- contents[_VLe] = __expectString(output[_VLe]);
3085
- }
3086
- if (output[_DI] != null) {
3087
- contents[_DI] = __strictParseLong(output[_DI]);
3088
- }
3089
- if (output[_S] != null) {
3090
- contents[_S] = __expectString(output[_S]);
3091
- }
3092
- if (output[_DT] != null) {
3093
- contents[_DT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DT]));
3094
- }
3095
- return contents;
3096
- };
3097
- const de_DescribeAccountAttributesResult = (output, context) => {
3098
- const contents = {};
3099
- if (output[_RQ] != null) {
3100
- contents[_RQ] = de_ResourceQuotas(output[_RQ], context);
3101
- }
3102
- return contents;
3103
- };
3104
- const de_DescribeEnvironmentHealthResult = (output, context) => {
3105
- const contents = {};
3106
- if (output[_EN] != null) {
3107
- contents[_EN] = __expectString(output[_EN]);
3108
- }
3109
- if (output[_HS] != null) {
3110
- contents[_HS] = __expectString(output[_HS]);
3111
- }
3112
- if (output[_S] != null) {
3113
- contents[_S] = __expectString(output[_S]);
3114
- }
3115
- if (output[_C] != null) {
3116
- contents[_C] = __expectString(output[_C]);
3117
- }
3118
- if (String(output.Causes).trim() === "") {
3119
- contents[_Ca] = [];
3120
- }
3121
- else if (output[_Ca] != null && output[_Ca][_m] != null) {
3122
- contents[_Ca] = de_Causes(__getArrayIfSingleItem(output[_Ca][_m]), context);
3123
- }
3124
- if (output[_AM] != null) {
3125
- contents[_AM] = de_ApplicationMetrics(output[_AM], context);
3126
- }
3127
- if (output[_IH] != null) {
3128
- contents[_IH] = de_InstanceHealthSummary(output[_IH], context);
3129
- }
3130
- if (output[_RAe] != null) {
3131
- contents[_RAe] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_RAe]));
3132
- }
3133
- return contents;
3134
- };
3135
- const de_DescribeEnvironmentManagedActionHistoryResult = (output, context) => {
3136
- const contents = {};
3137
- if (String(output.ManagedActionHistoryItems).trim() === "") {
3138
- contents[_MAHI] = [];
3139
- }
3140
- else if (output[_MAHI] != null && output[_MAHI][_m] != null) {
3141
- contents[_MAHI] = de_ManagedActionHistoryItems(__getArrayIfSingleItem(output[_MAHI][_m]), context);
3142
- }
3143
- if (output[_NT] != null) {
3144
- contents[_NT] = __expectString(output[_NT]);
3145
- }
3146
- return contents;
3147
- };
3148
- const de_DescribeEnvironmentManagedActionsResult = (output, context) => {
3149
- const contents = {};
3150
- if (String(output.ManagedActions).trim() === "") {
3151
- contents[_MA] = [];
3152
- }
3153
- else if (output[_MA] != null && output[_MA][_m] != null) {
3154
- contents[_MA] = de_ManagedActions(__getArrayIfSingleItem(output[_MA][_m]), context);
3155
- }
3156
- return contents;
3157
- };
3158
- const de_DescribeInstancesHealthResult = (output, context) => {
3159
- const contents = {};
3160
- if (String(output.InstanceHealthList).trim() === "") {
3161
- contents[_IHL] = [];
3162
- }
3163
- else if (output[_IHL] != null && output[_IHL][_m] != null) {
3164
- contents[_IHL] = de_InstanceHealthList(__getArrayIfSingleItem(output[_IHL][_m]), context);
3165
- }
3166
- if (output[_RAe] != null) {
3167
- contents[_RAe] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_RAe]));
3168
- }
3169
- if (output[_NT] != null) {
3170
- contents[_NT] = __expectString(output[_NT]);
3171
- }
3172
- return contents;
3173
- };
3174
- const de_DescribePlatformVersionResult = (output, context) => {
3175
- const contents = {};
3176
- if (output[_PD] != null) {
3177
- contents[_PD] = de_PlatformDescription(output[_PD], context);
3178
- }
3179
- return contents;
3180
- };
3181
- const de_ElasticBeanstalkServiceException = (output, context) => {
3182
- const contents = {};
3183
- if (output[_me] != null) {
3184
- contents[_me] = __expectString(output[_me]);
3185
- }
3186
- return contents;
3187
- };
3188
- const de_EnvironmentDescription = (output, context) => {
3189
- const contents = {};
3190
- if (output[_EN] != null) {
3191
- contents[_EN] = __expectString(output[_EN]);
3192
- }
3193
- if (output[_EI] != null) {
3194
- contents[_EI] = __expectString(output[_EI]);
3195
- }
3196
- if (output[_ANp] != null) {
3197
- contents[_ANp] = __expectString(output[_ANp]);
3198
- }
3199
- if (output[_VLe] != null) {
3200
- contents[_VLe] = __expectString(output[_VLe]);
3201
- }
3202
- if (output[_SSN] != null) {
3203
- contents[_SSN] = __expectString(output[_SSN]);
3204
- }
3205
- if (output[_PA] != null) {
3206
- contents[_PA] = __expectString(output[_PA]);
3207
- }
3208
- if (output[_TN] != null) {
3209
- contents[_TN] = __expectString(output[_TN]);
3210
- }
3211
- if (output[_D] != null) {
3212
- contents[_D] = __expectString(output[_D]);
3213
- }
3214
- if (output[_EURL] != null) {
3215
- contents[_EURL] = __expectString(output[_EURL]);
3216
- }
3217
- if (output[_CNAME] != null) {
3218
- contents[_CNAME] = __expectString(output[_CNAME]);
3219
- }
3220
- if (output[_DC] != null) {
3221
- contents[_DC] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DC]));
3222
- }
3223
- if (output[_DU] != null) {
3224
- contents[_DU] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DU]));
3225
- }
3226
- if (output[_S] != null) {
3227
- contents[_S] = __expectString(output[_S]);
3228
- }
3229
- if (output[_AOIP] != null) {
3230
- contents[_AOIP] = __parseBoolean(output[_AOIP]);
3231
- }
3232
- if (output[_H] != null) {
3233
- contents[_H] = __expectString(output[_H]);
3234
- }
3235
- if (output[_HS] != null) {
3236
- contents[_HS] = __expectString(output[_HS]);
3237
- }
3238
- if (output[_Re] != null) {
3239
- contents[_Re] = de_EnvironmentResourcesDescription(output[_Re], context);
3240
- }
3241
- if (output[_Ti] != null) {
3242
- contents[_Ti] = de_EnvironmentTier(output[_Ti], context);
3243
- }
3244
- if (String(output.EnvironmentLinks).trim() === "") {
3245
- contents[_EL] = [];
3246
- }
3247
- else if (output[_EL] != null && output[_EL][_m] != null) {
3248
- contents[_EL] = de_EnvironmentLinks(__getArrayIfSingleItem(output[_EL][_m]), context);
3249
- }
3250
- if (output[_EA] != null) {
3251
- contents[_EA] = __expectString(output[_EA]);
3252
- }
3253
- if (output[_OR] != null) {
3254
- contents[_OR] = __expectString(output[_OR]);
3255
- }
3256
- return contents;
3257
- };
3258
- const de_EnvironmentDescriptionsList = (output, context) => {
3259
- return (output || [])
3260
- .filter((e) => e != null)
3261
- .map((entry) => {
3262
- return de_EnvironmentDescription(entry, context);
3263
- });
3264
- };
3265
- const de_EnvironmentDescriptionsMessage = (output, context) => {
3266
- const contents = {};
3267
- if (String(output.Environments).trim() === "") {
3268
- contents[_En] = [];
3269
- }
3270
- else if (output[_En] != null && output[_En][_m] != null) {
3271
- contents[_En] = de_EnvironmentDescriptionsList(__getArrayIfSingleItem(output[_En][_m]), context);
3272
- }
3273
- if (output[_NT] != null) {
3274
- contents[_NT] = __expectString(output[_NT]);
3275
- }
3276
- return contents;
3277
- };
3278
- const de_EnvironmentInfoDescription = (output, context) => {
3279
- const contents = {};
3280
- if (output[_IT] != null) {
3281
- contents[_IT] = __expectString(output[_IT]);
3282
- }
3283
- if (output[_EII] != null) {
3284
- contents[_EII] = __expectString(output[_EII]);
3285
- }
3286
- if (output[_STa] != null) {
3287
- contents[_STa] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_STa]));
3288
- }
3289
- if (output[_Me] != null) {
3290
- contents[_Me] = __expectString(output[_Me]);
3291
- }
3292
- return contents;
3293
- };
3294
- const de_EnvironmentInfoDescriptionList = (output, context) => {
3295
- return (output || [])
3296
- .filter((e) => e != null)
3297
- .map((entry) => {
3298
- return de_EnvironmentInfoDescription(entry, context);
3299
- });
3300
- };
3301
- const de_EnvironmentLink = (output, context) => {
3302
- const contents = {};
3303
- if (output[_LN] != null) {
3304
- contents[_LN] = __expectString(output[_LN]);
3305
- }
3306
- if (output[_EN] != null) {
3307
- contents[_EN] = __expectString(output[_EN]);
3308
- }
3309
- return contents;
3310
- };
3311
- const de_EnvironmentLinks = (output, context) => {
3312
- return (output || [])
3313
- .filter((e) => e != null)
3314
- .map((entry) => {
3315
- return de_EnvironmentLink(entry, context);
3316
- });
3317
- };
3318
- const de_EnvironmentResourceDescription = (output, context) => {
3319
- const contents = {};
3320
- if (output[_EN] != null) {
3321
- contents[_EN] = __expectString(output[_EN]);
3322
- }
3323
- if (String(output.AutoScalingGroups).trim() === "") {
3324
- contents[_ASG] = [];
3325
- }
3326
- else if (output[_ASG] != null && output[_ASG][_m] != null) {
3327
- contents[_ASG] = de_AutoScalingGroupList(__getArrayIfSingleItem(output[_ASG][_m]), context);
3328
- }
3329
- if (String(output.Instances).trim() === "") {
3330
- contents[_In] = [];
3331
- }
3332
- else if (output[_In] != null && output[_In][_m] != null) {
3333
- contents[_In] = de_InstanceList(__getArrayIfSingleItem(output[_In][_m]), context);
3334
- }
3335
- if (String(output.LaunchConfigurations).trim() === "") {
3336
- contents[_LC] = [];
3337
- }
3338
- else if (output[_LC] != null && output[_LC][_m] != null) {
3339
- contents[_LC] = de_LaunchConfigurationList(__getArrayIfSingleItem(output[_LC][_m]), context);
3340
- }
3341
- if (String(output.LaunchTemplates).trim() === "") {
3342
- contents[_LT] = [];
3343
- }
3344
- else if (output[_LT] != null && output[_LT][_m] != null) {
3345
- contents[_LT] = de_LaunchTemplateList(__getArrayIfSingleItem(output[_LT][_m]), context);
3346
- }
3347
- if (String(output.LoadBalancers).trim() === "") {
3348
- contents[_LB] = [];
3349
- }
3350
- else if (output[_LB] != null && output[_LB][_m] != null) {
3351
- contents[_LB] = de_LoadBalancerList(__getArrayIfSingleItem(output[_LB][_m]), context);
3352
- }
3353
- if (String(output.Triggers).trim() === "") {
3354
- contents[_Tr] = [];
3355
- }
3356
- else if (output[_Tr] != null && output[_Tr][_m] != null) {
3357
- contents[_Tr] = de_TriggerList(__getArrayIfSingleItem(output[_Tr][_m]), context);
3358
- }
3359
- if (String(output.Queues).trim() === "") {
3360
- contents[_Q] = [];
3361
- }
3362
- else if (output[_Q] != null && output[_Q][_m] != null) {
3363
- contents[_Q] = de_QueueList(__getArrayIfSingleItem(output[_Q][_m]), context);
3364
- }
3365
- return contents;
3366
- };
3367
- const de_EnvironmentResourceDescriptionsMessage = (output, context) => {
3368
- const contents = {};
3369
- if (output[_ER] != null) {
3370
- contents[_ER] = de_EnvironmentResourceDescription(output[_ER], context);
3371
- }
3372
- return contents;
3373
- };
3374
- const de_EnvironmentResourcesDescription = (output, context) => {
3375
- const contents = {};
3376
- if (output[_LBo] != null) {
3377
- contents[_LBo] = de_LoadBalancerDescription(output[_LBo], context);
3378
- }
3379
- return contents;
3380
- };
3381
- const de_EnvironmentTier = (output, context) => {
3382
- const contents = {};
3383
- if (output[_Na] != null) {
3384
- contents[_Na] = __expectString(output[_Na]);
3385
- }
3386
- if (output[_Ty] != null) {
3387
- contents[_Ty] = __expectString(output[_Ty]);
3388
- }
3389
- if (output[_V] != null) {
3390
- contents[_V] = __expectString(output[_V]);
3391
- }
3392
- return contents;
3393
- };
3394
- const de_EventDescription = (output, context) => {
3395
- const contents = {};
3396
- if (output[_ED] != null) {
3397
- contents[_ED] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ED]));
3398
- }
3399
- if (output[_Me] != null) {
3400
- contents[_Me] = __expectString(output[_Me]);
3401
- }
3402
- if (output[_ANp] != null) {
3403
- contents[_ANp] = __expectString(output[_ANp]);
3404
- }
3405
- if (output[_VLe] != null) {
3406
- contents[_VLe] = __expectString(output[_VLe]);
3407
- }
3408
- if (output[_TN] != null) {
3409
- contents[_TN] = __expectString(output[_TN]);
3410
- }
3411
- if (output[_EN] != null) {
3412
- contents[_EN] = __expectString(output[_EN]);
3413
- }
3414
- if (output[_PA] != null) {
3415
- contents[_PA] = __expectString(output[_PA]);
3416
- }
3417
- if (output[_RI] != null) {
3418
- contents[_RI] = __expectString(output[_RI]);
3419
- }
3420
- if (output[_Se] != null) {
3421
- contents[_Se] = __expectString(output[_Se]);
3422
- }
3423
- return contents;
3424
- };
3425
- const de_EventDescriptionList = (output, context) => {
3426
- return (output || [])
3427
- .filter((e) => e != null)
3428
- .map((entry) => {
3429
- return de_EventDescription(entry, context);
3430
- });
3431
- };
3432
- const de_EventDescriptionsMessage = (output, context) => {
3433
- const contents = {};
3434
- if (String(output.Events).trim() === "") {
3435
- contents[_Ev] = [];
3436
- }
3437
- else if (output[_Ev] != null && output[_Ev][_m] != null) {
3438
- contents[_Ev] = de_EventDescriptionList(__getArrayIfSingleItem(output[_Ev][_m]), context);
3439
- }
3440
- if (output[_NT] != null) {
3441
- contents[_NT] = __expectString(output[_NT]);
3442
- }
3443
- return contents;
3444
- };
3445
- const de_Instance = (output, context) => {
3446
- const contents = {};
3447
- if (output[_Id_] != null) {
3448
- contents[_Id_] = __expectString(output[_Id_]);
3449
- }
3450
- return contents;
3451
- };
3452
- const de_InstanceHealthList = (output, context) => {
3453
- return (output || [])
3454
- .filter((e) => e != null)
3455
- .map((entry) => {
3456
- return de_SingleInstanceHealth(entry, context);
3457
- });
3458
- };
3459
- const de_InstanceHealthSummary = (output, context) => {
3460
- const contents = {};
3461
- if (output[_ND] != null) {
3462
- contents[_ND] = __strictParseInt32(output[_ND]);
3463
- }
3464
- if (output[_Un] != null) {
3465
- contents[_Un] = __strictParseInt32(output[_Un]);
3466
- }
3467
- if (output[_Pe] != null) {
3468
- contents[_Pe] = __strictParseInt32(output[_Pe]);
3469
- }
3470
- if (output[_Ok] != null) {
3471
- contents[_Ok] = __strictParseInt32(output[_Ok]);
3472
- }
3473
- if (output[_Inf] != null) {
3474
- contents[_Inf] = __strictParseInt32(output[_Inf]);
3475
- }
3476
- if (output[_W] != null) {
3477
- contents[_W] = __strictParseInt32(output[_W]);
3478
- }
3479
- if (output[_De] != null) {
3480
- contents[_De] = __strictParseInt32(output[_De]);
3481
- }
3482
- if (output[_Sev] != null) {
3483
- contents[_Sev] = __strictParseInt32(output[_Sev]);
3484
- }
3485
- return contents;
3486
- };
3487
- const de_InstanceList = (output, context) => {
3488
- return (output || [])
3489
- .filter((e) => e != null)
3490
- .map((entry) => {
3491
- return de_Instance(entry, context);
3492
- });
3493
- };
3494
- const de_InsufficientPrivilegesException = (output, context) => {
3495
- const contents = {};
3496
- if (output[_me] != null) {
3497
- contents[_me] = __expectString(output[_me]);
3498
- }
3499
- return contents;
3500
- };
3501
- const de_InvalidRequestException = (output, context) => {
3502
- const contents = {};
3503
- if (output[_me] != null) {
3504
- contents[_me] = __expectString(output[_me]);
3505
- }
3506
- return contents;
3507
- };
3508
- const de_Latency = (output, context) => {
3509
- const contents = {};
3510
- if (output[_P_] != null) {
3511
- contents[_P_] = __strictParseFloat(output[_P_]);
3512
- }
3513
- if (output[_P__] != null) {
3514
- contents[_P__] = __strictParseFloat(output[_P__]);
3515
- }
3516
- if (output[_P___] != null) {
3517
- contents[_P___] = __strictParseFloat(output[_P___]);
3518
- }
3519
- if (output[_P____] != null) {
3520
- contents[_P____] = __strictParseFloat(output[_P____]);
3521
- }
3522
- if (output[_P_____] != null) {
3523
- contents[_P_____] = __strictParseFloat(output[_P_____]);
3524
- }
3525
- if (output[_P______] != null) {
3526
- contents[_P______] = __strictParseFloat(output[_P______]);
3527
- }
3528
- if (output[_P_______] != null) {
3529
- contents[_P_______] = __strictParseFloat(output[_P_______]);
3530
- }
3531
- if (output[_P________] != null) {
3532
- contents[_P________] = __strictParseFloat(output[_P________]);
3533
- }
3534
- return contents;
3535
- };
3536
- const de_LaunchConfiguration = (output, context) => {
3537
- const contents = {};
3538
- if (output[_Na] != null) {
3539
- contents[_Na] = __expectString(output[_Na]);
3540
- }
3541
- return contents;
3542
- };
3543
- const de_LaunchConfigurationList = (output, context) => {
3544
- return (output || [])
3545
- .filter((e) => e != null)
3546
- .map((entry) => {
3547
- return de_LaunchConfiguration(entry, context);
3548
- });
3549
- };
3550
- const de_LaunchTemplate = (output, context) => {
3551
- const contents = {};
3552
- if (output[_Id_] != null) {
3553
- contents[_Id_] = __expectString(output[_Id_]);
3554
- }
3555
- return contents;
3556
- };
3557
- const de_LaunchTemplateList = (output, context) => {
3558
- return (output || [])
3559
- .filter((e) => e != null)
3560
- .map((entry) => {
3561
- return de_LaunchTemplate(entry, context);
3562
- });
3563
- };
3564
- const de_ListAvailableSolutionStacksResultMessage = (output, context) => {
3565
- const contents = {};
3566
- if (String(output.SolutionStacks).trim() === "") {
3567
- contents[_SS] = [];
3568
- }
3569
- else if (output[_SS] != null && output[_SS][_m] != null) {
3570
- contents[_SS] = de_AvailableSolutionStackNamesList(__getArrayIfSingleItem(output[_SS][_m]), context);
3571
- }
3572
- if (String(output.SolutionStackDetails).trim() === "") {
3573
- contents[_SSD] = [];
3574
- }
3575
- else if (output[_SSD] != null && output[_SSD][_m] != null) {
3576
- contents[_SSD] = de_AvailableSolutionStackDetailsList(__getArrayIfSingleItem(output[_SSD][_m]), context);
3577
- }
3578
- return contents;
3579
- };
3580
- const de_Listener = (output, context) => {
3581
- const contents = {};
3582
- if (output[_Pro] != null) {
3583
- contents[_Pro] = __expectString(output[_Pro]);
3584
- }
3585
- if (output[_Po] != null) {
3586
- contents[_Po] = __strictParseInt32(output[_Po]);
3587
- }
3588
- return contents;
3589
- };
3590
- const de_ListPlatformBranchesResult = (output, context) => {
3591
- const contents = {};
3592
- if (String(output.PlatformBranchSummaryList).trim() === "") {
3593
- contents[_PBSL] = [];
3594
- }
3595
- else if (output[_PBSL] != null && output[_PBSL][_m] != null) {
3596
- contents[_PBSL] = de_PlatformBranchSummaryList(__getArrayIfSingleItem(output[_PBSL][_m]), context);
3597
- }
3598
- if (output[_NT] != null) {
3599
- contents[_NT] = __expectString(output[_NT]);
3600
- }
3601
- return contents;
3602
- };
3603
- const de_ListPlatformVersionsResult = (output, context) => {
3604
- const contents = {};
3605
- if (String(output.PlatformSummaryList).trim() === "") {
3606
- contents[_PSL] = [];
3607
- }
3608
- else if (output[_PSL] != null && output[_PSL][_m] != null) {
3609
- contents[_PSL] = de_PlatformSummaryList(__getArrayIfSingleItem(output[_PSL][_m]), context);
3610
- }
3611
- if (output[_NT] != null) {
3612
- contents[_NT] = __expectString(output[_NT]);
3613
- }
3614
- return contents;
3615
- };
3616
- const de_LoadAverage = (output, context) => {
3617
- return (output || [])
3618
- .filter((e) => e != null)
3619
- .map((entry) => {
3620
- return __strictParseFloat(entry);
3621
- });
3622
- };
3623
- const de_LoadBalancer = (output, context) => {
3624
- const contents = {};
3625
- if (output[_Na] != null) {
3626
- contents[_Na] = __expectString(output[_Na]);
3627
- }
3628
- return contents;
3629
- };
3630
- const de_LoadBalancerDescription = (output, context) => {
3631
- const contents = {};
3632
- if (output[_LBN] != null) {
3633
- contents[_LBN] = __expectString(output[_LBN]);
3634
- }
3635
- if (output[_Do] != null) {
3636
- contents[_Do] = __expectString(output[_Do]);
3637
- }
3638
- if (String(output.Listeners).trim() === "") {
3639
- contents[_Li] = [];
3640
- }
3641
- else if (output[_Li] != null && output[_Li][_m] != null) {
3642
- contents[_Li] = de_LoadBalancerListenersDescription(__getArrayIfSingleItem(output[_Li][_m]), context);
3643
- }
3644
- return contents;
3645
- };
3646
- const de_LoadBalancerList = (output, context) => {
3647
- return (output || [])
3648
- .filter((e) => e != null)
3649
- .map((entry) => {
3650
- return de_LoadBalancer(entry, context);
3651
- });
3652
- };
3653
- const de_LoadBalancerListenersDescription = (output, context) => {
3654
- return (output || [])
3655
- .filter((e) => e != null)
3656
- .map((entry) => {
3657
- return de_Listener(entry, context);
3658
- });
3659
- };
3660
- const de_ManagedAction = (output, context) => {
3661
- const contents = {};
3662
- if (output[_AI] != null) {
3663
- contents[_AI] = __expectString(output[_AI]);
3664
- }
3665
- if (output[_AD] != null) {
3666
- contents[_AD] = __expectString(output[_AD]);
3667
- }
3668
- if (output[_AT] != null) {
3669
- contents[_AT] = __expectString(output[_AT]);
3670
- }
3671
- if (output[_S] != null) {
3672
- contents[_S] = __expectString(output[_S]);
3673
- }
3674
- if (output[_WST] != null) {
3675
- contents[_WST] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_WST]));
3676
- }
3677
- return contents;
3678
- };
3679
- const de_ManagedActionHistoryItem = (output, context) => {
3680
- const contents = {};
3681
- if (output[_AI] != null) {
3682
- contents[_AI] = __expectString(output[_AI]);
3683
- }
3684
- if (output[_AT] != null) {
3685
- contents[_AT] = __expectString(output[_AT]);
3686
- }
3687
- if (output[_AD] != null) {
3688
- contents[_AD] = __expectString(output[_AD]);
3689
- }
3690
- if (output[_FTa] != null) {
3691
- contents[_FTa] = __expectString(output[_FTa]);
3692
- }
3693
- if (output[_S] != null) {
3694
- contents[_S] = __expectString(output[_S]);
3695
- }
3696
- if (output[_FD] != null) {
3697
- contents[_FD] = __expectString(output[_FD]);
3698
- }
3699
- if (output[_ETx] != null) {
3700
- contents[_ETx] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ETx]));
3701
- }
3702
- if (output[_FTi] != null) {
3703
- contents[_FTi] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_FTi]));
3704
- }
3705
- return contents;
3706
- };
3707
- const de_ManagedActionHistoryItems = (output, context) => {
3708
- return (output || [])
3709
- .filter((e) => e != null)
3710
- .map((entry) => {
3711
- return de_ManagedActionHistoryItem(entry, context);
3712
- });
3713
- };
3714
- const de_ManagedActionInvalidStateException = (output, context) => {
3715
- const contents = {};
3716
- if (output[_me] != null) {
3717
- contents[_me] = __expectString(output[_me]);
3718
- }
3719
- return contents;
3720
- };
3721
- const de_ManagedActions = (output, context) => {
3722
- return (output || [])
3723
- .filter((e) => e != null)
3724
- .map((entry) => {
3725
- return de_ManagedAction(entry, context);
3726
- });
3727
- };
3728
- const de_MaxAgeRule = (output, context) => {
3729
- const contents = {};
3730
- if (output[_E] != null) {
3731
- contents[_E] = __parseBoolean(output[_E]);
3732
- }
3733
- if (output[_MAID] != null) {
3734
- contents[_MAID] = __strictParseInt32(output[_MAID]);
3735
- }
3736
- if (output[_DSFS] != null) {
3737
- contents[_DSFS] = __parseBoolean(output[_DSFS]);
3738
- }
3739
- return contents;
3740
- };
3741
- const de_MaxCountRule = (output, context) => {
3742
- const contents = {};
3743
- if (output[_E] != null) {
3744
- contents[_E] = __parseBoolean(output[_E]);
3745
- }
3746
- if (output[_MC] != null) {
3747
- contents[_MC] = __strictParseInt32(output[_MC]);
3748
- }
3749
- if (output[_DSFS] != null) {
3750
- contents[_DSFS] = __parseBoolean(output[_DSFS]);
3751
- }
3752
- return contents;
3753
- };
3754
- const de_OperationInProgressException = (output, context) => {
3755
- const contents = {};
3756
- if (output[_me] != null) {
3757
- contents[_me] = __expectString(output[_me]);
3758
- }
3759
- return contents;
3760
- };
3761
- const de_OptionRestrictionRegex = (output, context) => {
3762
- const contents = {};
3763
- if (output[_Pa] != null) {
3764
- contents[_Pa] = __expectString(output[_Pa]);
3765
- }
3766
- if (output[_La] != null) {
3767
- contents[_La] = __expectString(output[_La]);
3768
- }
3769
- return contents;
3770
- };
3771
- const de_PlatformBranchSummary = (output, context) => {
3772
- const contents = {};
3773
- if (output[_PN] != null) {
3774
- contents[_PN] = __expectString(output[_PN]);
3775
- }
3776
- if (output[_BN] != null) {
3777
- contents[_BN] = __expectString(output[_BN]);
3778
- }
3779
- if (output[_LS] != null) {
3780
- contents[_LS] = __expectString(output[_LS]);
3781
- }
3782
- if (output[_BO] != null) {
3783
- contents[_BO] = __strictParseInt32(output[_BO]);
3784
- }
3785
- if (String(output.SupportedTierList).trim() === "") {
3786
- contents[_STL] = [];
3787
- }
3788
- else if (output[_STL] != null && output[_STL][_m] != null) {
3789
- contents[_STL] = de_SupportedTierList(__getArrayIfSingleItem(output[_STL][_m]), context);
3790
- }
3791
- return contents;
3792
- };
3793
- const de_PlatformBranchSummaryList = (output, context) => {
3794
- return (output || [])
3795
- .filter((e) => e != null)
3796
- .map((entry) => {
3797
- return de_PlatformBranchSummary(entry, context);
3798
- });
3799
- };
3800
- const de_PlatformDescription = (output, context) => {
3801
- const contents = {};
3802
- if (output[_PA] != null) {
3803
- contents[_PA] = __expectString(output[_PA]);
3804
- }
3805
- if (output[_PO] != null) {
3806
- contents[_PO] = __expectString(output[_PO]);
3807
- }
3808
- if (output[_PN] != null) {
3809
- contents[_PN] = __expectString(output[_PN]);
3810
- }
3811
- if (output[_PV] != null) {
3812
- contents[_PV] = __expectString(output[_PV]);
3813
- }
3814
- if (output[_SSN] != null) {
3815
- contents[_SSN] = __expectString(output[_SSN]);
3816
- }
3817
- if (output[_PSl] != null) {
3818
- contents[_PSl] = __expectString(output[_PSl]);
3819
- }
3820
- if (output[_DC] != null) {
3821
- contents[_DC] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DC]));
3822
- }
3823
- if (output[_DU] != null) {
3824
- contents[_DU] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_DU]));
3825
- }
3826
- if (output[_PC] != null) {
3827
- contents[_PC] = __expectString(output[_PC]);
3828
- }
3829
- if (output[_D] != null) {
3830
- contents[_D] = __expectString(output[_D]);
3831
- }
3832
- if (output[_Ma] != null) {
3833
- contents[_Ma] = __expectString(output[_Ma]);
3834
- }
3835
- if (output[_OSN] != null) {
3836
- contents[_OSN] = __expectString(output[_OSN]);
3837
- }
3838
- if (output[_OSV] != null) {
3839
- contents[_OSV] = __expectString(output[_OSV]);
3840
- }
3841
- if (String(output.ProgrammingLanguages).trim() === "") {
3842
- contents[_PL] = [];
3843
- }
3844
- else if (output[_PL] != null && output[_PL][_m] != null) {
3845
- contents[_PL] = de_PlatformProgrammingLanguages(__getArrayIfSingleItem(output[_PL][_m]), context);
3846
- }
3847
- if (String(output.Frameworks).trim() === "") {
3848
- contents[_Fr] = [];
3849
- }
3850
- else if (output[_Fr] != null && output[_Fr][_m] != null) {
3851
- contents[_Fr] = de_PlatformFrameworks(__getArrayIfSingleItem(output[_Fr][_m]), context);
3852
- }
3853
- if (String(output.CustomAmiList).trim() === "") {
3854
- contents[_CAL] = [];
3855
- }
3856
- else if (output[_CAL] != null && output[_CAL][_m] != null) {
3857
- contents[_CAL] = de_CustomAmiList(__getArrayIfSingleItem(output[_CAL][_m]), context);
3858
- }
3859
- if (String(output.SupportedTierList).trim() === "") {
3860
- contents[_STL] = [];
3861
- }
3862
- else if (output[_STL] != null && output[_STL][_m] != null) {
3863
- contents[_STL] = de_SupportedTierList(__getArrayIfSingleItem(output[_STL][_m]), context);
3864
- }
3865
- if (String(output.SupportedAddonList).trim() === "") {
3866
- contents[_SAL] = [];
3867
- }
3868
- else if (output[_SAL] != null && output[_SAL][_m] != null) {
3869
- contents[_SAL] = de_SupportedAddonList(__getArrayIfSingleItem(output[_SAL][_m]), context);
3870
- }
3871
- if (output[_PLS] != null) {
3872
- contents[_PLS] = __expectString(output[_PLS]);
3873
- }
3874
- if (output[_PBN] != null) {
3875
- contents[_PBN] = __expectString(output[_PBN]);
3876
- }
3877
- if (output[_PBLS] != null) {
3878
- contents[_PBLS] = __expectString(output[_PBLS]);
3879
- }
3880
- return contents;
3881
- };
3882
- const de_PlatformFramework = (output, context) => {
3883
- const contents = {};
3884
- if (output[_Na] != null) {
3885
- contents[_Na] = __expectString(output[_Na]);
3886
- }
3887
- if (output[_V] != null) {
3888
- contents[_V] = __expectString(output[_V]);
3889
- }
3890
- return contents;
3891
- };
3892
- const de_PlatformFrameworks = (output, context) => {
3893
- return (output || [])
3894
- .filter((e) => e != null)
3895
- .map((entry) => {
3896
- return de_PlatformFramework(entry, context);
3897
- });
3898
- };
3899
- const de_PlatformProgrammingLanguage = (output, context) => {
3900
- const contents = {};
3901
- if (output[_Na] != null) {
3902
- contents[_Na] = __expectString(output[_Na]);
3903
- }
3904
- if (output[_V] != null) {
3905
- contents[_V] = __expectString(output[_V]);
3906
- }
3907
- return contents;
3908
- };
3909
- const de_PlatformProgrammingLanguages = (output, context) => {
3910
- return (output || [])
3911
- .filter((e) => e != null)
3912
- .map((entry) => {
3913
- return de_PlatformProgrammingLanguage(entry, context);
3914
- });
3915
- };
3916
- const de_PlatformSummary = (output, context) => {
3917
- const contents = {};
3918
- if (output[_PA] != null) {
3919
- contents[_PA] = __expectString(output[_PA]);
3920
- }
3921
- if (output[_PO] != null) {
3922
- contents[_PO] = __expectString(output[_PO]);
3923
- }
3924
- if (output[_PSl] != null) {
3925
- contents[_PSl] = __expectString(output[_PSl]);
3926
- }
3927
- if (output[_PC] != null) {
3928
- contents[_PC] = __expectString(output[_PC]);
3929
- }
3930
- if (output[_OSN] != null) {
3931
- contents[_OSN] = __expectString(output[_OSN]);
3932
- }
3933
- if (output[_OSV] != null) {
3934
- contents[_OSV] = __expectString(output[_OSV]);
3935
- }
3936
- if (String(output.SupportedTierList).trim() === "") {
3937
- contents[_STL] = [];
3938
- }
3939
- else if (output[_STL] != null && output[_STL][_m] != null) {
3940
- contents[_STL] = de_SupportedTierList(__getArrayIfSingleItem(output[_STL][_m]), context);
3941
- }
3942
- if (String(output.SupportedAddonList).trim() === "") {
3943
- contents[_SAL] = [];
3944
- }
3945
- else if (output[_SAL] != null && output[_SAL][_m] != null) {
3946
- contents[_SAL] = de_SupportedAddonList(__getArrayIfSingleItem(output[_SAL][_m]), context);
3947
- }
3948
- if (output[_PLS] != null) {
3949
- contents[_PLS] = __expectString(output[_PLS]);
3950
- }
3951
- if (output[_PV] != null) {
3952
- contents[_PV] = __expectString(output[_PV]);
3953
- }
3954
- if (output[_PBN] != null) {
3955
- contents[_PBN] = __expectString(output[_PBN]);
3956
- }
3957
- if (output[_PBLS] != null) {
3958
- contents[_PBLS] = __expectString(output[_PBLS]);
3959
- }
3960
- return contents;
3961
- };
3962
- const de_PlatformSummaryList = (output, context) => {
3963
- return (output || [])
3964
- .filter((e) => e != null)
3965
- .map((entry) => {
3966
- return de_PlatformSummary(entry, context);
3967
- });
3968
- };
3969
- const de_PlatformVersionStillReferencedException = (output, context) => {
3970
- const contents = {};
3971
- if (output[_me] != null) {
3972
- contents[_me] = __expectString(output[_me]);
3973
- }
3974
- return contents;
3975
- };
3976
- const de_Queue = (output, context) => {
3977
- const contents = {};
3978
- if (output[_Na] != null) {
3979
- contents[_Na] = __expectString(output[_Na]);
3980
- }
3981
- if (output[_URL] != null) {
3982
- contents[_URL] = __expectString(output[_URL]);
3983
- }
3984
- return contents;
3985
- };
3986
- const de_QueueList = (output, context) => {
3987
- return (output || [])
3988
- .filter((e) => e != null)
3989
- .map((entry) => {
3990
- return de_Queue(entry, context);
3991
- });
3992
- };
3993
- const de_ResourceNotFoundException = (output, context) => {
3994
- const contents = {};
3995
- if (output[_me] != null) {
3996
- contents[_me] = __expectString(output[_me]);
3997
- }
3998
- return contents;
3999
- };
4000
- const de_ResourceQuota = (output, context) => {
4001
- const contents = {};
4002
- if (output[_Max] != null) {
4003
- contents[_Max] = __strictParseInt32(output[_Max]);
4004
- }
4005
- return contents;
4006
- };
4007
- const de_ResourceQuotas = (output, context) => {
4008
- const contents = {};
4009
- if (output[_AQ] != null) {
4010
- contents[_AQ] = de_ResourceQuota(output[_AQ], context);
4011
- }
4012
- if (output[_AVQ] != null) {
4013
- contents[_AVQ] = de_ResourceQuota(output[_AVQ], context);
4014
- }
4015
- if (output[_EQ] != null) {
4016
- contents[_EQ] = de_ResourceQuota(output[_EQ], context);
4017
- }
4018
- if (output[_CTQ] != null) {
4019
- contents[_CTQ] = de_ResourceQuota(output[_CTQ], context);
4020
- }
4021
- if (output[_CPQ] != null) {
4022
- contents[_CPQ] = de_ResourceQuota(output[_CPQ], context);
4023
- }
4024
- return contents;
4025
- };
4026
- const de_ResourceTagsDescriptionMessage = (output, context) => {
4027
- const contents = {};
4028
- if (output[_RA] != null) {
4029
- contents[_RA] = __expectString(output[_RA]);
4030
- }
4031
- if (String(output.ResourceTags).trim() === "") {
4032
- contents[_RT] = [];
4033
- }
4034
- else if (output[_RT] != null && output[_RT][_m] != null) {
4035
- contents[_RT] = de_TagList(__getArrayIfSingleItem(output[_RT][_m]), context);
4036
- }
4037
- return contents;
4038
- };
4039
- const de_ResourceTypeNotSupportedException = (output, context) => {
4040
- const contents = {};
4041
- if (output[_me] != null) {
4042
- contents[_me] = __expectString(output[_me]);
4043
- }
4044
- return contents;
4045
- };
4046
- const de_RetrieveEnvironmentInfoResultMessage = (output, context) => {
4047
- const contents = {};
4048
- if (String(output.EnvironmentInfo).trim() === "") {
4049
- contents[_EInv] = [];
4050
- }
4051
- else if (output[_EInv] != null && output[_EInv][_m] != null) {
4052
- contents[_EInv] = de_EnvironmentInfoDescriptionList(__getArrayIfSingleItem(output[_EInv][_m]), context);
4053
- }
4054
- return contents;
4055
- };
4056
- const de_S3Location = (output, context) => {
4057
- const contents = {};
4058
- if (output[_SBu] != null) {
4059
- contents[_SBu] = __expectString(output[_SBu]);
4060
- }
4061
- if (output[_SK] != null) {
4062
- contents[_SK] = __expectString(output[_SK]);
4063
- }
4064
- return contents;
4065
- };
4066
- const de_S3LocationNotInServiceRegionException = (output, context) => {
4067
- const contents = {};
4068
- if (output[_me] != null) {
4069
- contents[_me] = __expectString(output[_me]);
4070
- }
4071
- return contents;
4072
- };
4073
- const de_S3SubscriptionRequiredException = (output, context) => {
4074
- const contents = {};
4075
- if (output[_me] != null) {
4076
- contents[_me] = __expectString(output[_me]);
4077
- }
4078
- return contents;
4079
- };
4080
- const de_SingleInstanceHealth = (output, context) => {
4081
- const contents = {};
4082
- if (output[_IIn] != null) {
4083
- contents[_IIn] = __expectString(output[_IIn]);
4084
- }
4085
- if (output[_HS] != null) {
4086
- contents[_HS] = __expectString(output[_HS]);
4087
- }
4088
- if (output[_C] != null) {
4089
- contents[_C] = __expectString(output[_C]);
4090
- }
4091
- if (String(output.Causes).trim() === "") {
4092
- contents[_Ca] = [];
4093
- }
4094
- else if (output[_Ca] != null && output[_Ca][_m] != null) {
4095
- contents[_Ca] = de_Causes(__getArrayIfSingleItem(output[_Ca][_m]), context);
4096
- }
4097
- if (output[_LA] != null) {
4098
- contents[_LA] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LA]));
4099
- }
4100
- if (output[_AM] != null) {
4101
- contents[_AM] = de_ApplicationMetrics(output[_AM], context);
4102
- }
4103
- if (output[_Sy] != null) {
4104
- contents[_Sy] = de_SystemStatus(output[_Sy], context);
4105
- }
4106
- if (output[_Dep] != null) {
4107
- contents[_Dep] = de_Deployment(output[_Dep], context);
4108
- }
4109
- if (output[_AZ] != null) {
4110
- contents[_AZ] = __expectString(output[_AZ]);
4111
- }
4112
- if (output[_ITn] != null) {
4113
- contents[_ITn] = __expectString(output[_ITn]);
4114
- }
4115
- return contents;
4116
- };
4117
- const de_SolutionStackDescription = (output, context) => {
4118
- const contents = {};
4119
- if (output[_SSN] != null) {
4120
- contents[_SSN] = __expectString(output[_SSN]);
4121
- }
4122
- if (String(output.PermittedFileTypes).trim() === "") {
4123
- contents[_PFT] = [];
4124
- }
4125
- else if (output[_PFT] != null && output[_PFT][_m] != null) {
4126
- contents[_PFT] = de_SolutionStackFileTypeList(__getArrayIfSingleItem(output[_PFT][_m]), context);
4127
- }
4128
- return contents;
4129
- };
4130
- const de_SolutionStackFileTypeList = (output, context) => {
4131
- return (output || [])
4132
- .filter((e) => e != null)
4133
- .map((entry) => {
4134
- return __expectString(entry);
4135
- });
4136
- };
4137
- const de_SourceBuildInformation = (output, context) => {
4138
- const contents = {};
4139
- if (output[_STo] != null) {
4140
- contents[_STo] = __expectString(output[_STo]);
4141
- }
4142
- if (output[_SRo] != null) {
4143
- contents[_SRo] = __expectString(output[_SRo]);
4144
- }
4145
- if (output[_SL] != null) {
4146
- contents[_SL] = __expectString(output[_SL]);
4147
- }
4148
- return contents;
4149
- };
4150
- const de_SourceBundleDeletionException = (output, context) => {
4151
- const contents = {};
4152
- if (output[_me] != null) {
4153
- contents[_me] = __expectString(output[_me]);
4154
- }
4155
- return contents;
4156
- };
4157
- const de_StatusCodes = (output, context) => {
4158
- const contents = {};
4159
- if (output[_St] != null) {
4160
- contents[_St] = __strictParseInt32(output[_St]);
4161
- }
4162
- if (output[_Sta] != null) {
4163
- contents[_Sta] = __strictParseInt32(output[_Sta]);
4164
- }
4165
- if (output[_Stat] != null) {
4166
- contents[_Stat] = __strictParseInt32(output[_Stat]);
4167
- }
4168
- if (output[_Statu] != null) {
4169
- contents[_Statu] = __strictParseInt32(output[_Statu]);
4170
- }
4171
- return contents;
4172
- };
4173
- const de_SupportedAddonList = (output, context) => {
4174
- return (output || [])
4175
- .filter((e) => e != null)
4176
- .map((entry) => {
4177
- return __expectString(entry);
4178
- });
4179
- };
4180
- const de_SupportedTierList = (output, context) => {
4181
- return (output || [])
4182
- .filter((e) => e != null)
4183
- .map((entry) => {
4184
- return __expectString(entry);
4185
- });
4186
- };
4187
- const de_SystemStatus = (output, context) => {
4188
- const contents = {};
4189
- if (output[_CPUU] != null) {
4190
- contents[_CPUU] = de_CPUUtilization(output[_CPUU], context);
4191
- }
4192
- if (String(output.LoadAverage).trim() === "") {
4193
- contents[_LAo] = [];
4194
- }
4195
- else if (output[_LAo] != null && output[_LAo][_m] != null) {
4196
- contents[_LAo] = de_LoadAverage(__getArrayIfSingleItem(output[_LAo][_m]), context);
4197
- }
4198
- return contents;
4199
- };
4200
- const de_Tag = (output, context) => {
4201
- const contents = {};
4202
- if (output[_K] != null) {
4203
- contents[_K] = __expectString(output[_K]);
4204
- }
4205
- if (output[_Va] != null) {
4206
- contents[_Va] = __expectString(output[_Va]);
4207
- }
4208
- return contents;
4209
- };
4210
- const de_TagList = (output, context) => {
4211
- return (output || [])
4212
- .filter((e) => e != null)
4213
- .map((entry) => {
4214
- return de_Tag(entry, context);
4215
- });
4216
- };
4217
- const de_TooManyApplicationsException = (output, context) => {
4218
- const contents = {};
4219
- if (output[_me] != null) {
4220
- contents[_me] = __expectString(output[_me]);
4221
- }
4222
- return contents;
4223
- };
4224
- const de_TooManyApplicationVersionsException = (output, context) => {
4225
- const contents = {};
4226
- if (output[_me] != null) {
4227
- contents[_me] = __expectString(output[_me]);
4228
- }
4229
- return contents;
4230
- };
4231
- const de_TooManyBucketsException = (output, context) => {
4232
- const contents = {};
4233
- if (output[_me] != null) {
4234
- contents[_me] = __expectString(output[_me]);
4235
- }
4236
- return contents;
4237
- };
4238
- const de_TooManyConfigurationTemplatesException = (output, context) => {
4239
- const contents = {};
4240
- if (output[_me] != null) {
4241
- contents[_me] = __expectString(output[_me]);
4242
- }
4243
- return contents;
4244
- };
4245
- const de_TooManyEnvironmentsException = (output, context) => {
4246
- const contents = {};
4247
- if (output[_me] != null) {
4248
- contents[_me] = __expectString(output[_me]);
4249
- }
4250
- return contents;
4251
- };
4252
- const de_TooManyPlatformsException = (output, context) => {
4253
- const contents = {};
4254
- if (output[_me] != null) {
4255
- contents[_me] = __expectString(output[_me]);
4256
- }
4257
- return contents;
4258
- };
4259
- const de_TooManyTagsException = (output, context) => {
4260
- const contents = {};
4261
- if (output[_me] != null) {
4262
- contents[_me] = __expectString(output[_me]);
4263
- }
4264
- return contents;
4265
- };
4266
- const de_Trigger = (output, context) => {
4267
- const contents = {};
4268
- if (output[_Na] != null) {
4269
- contents[_Na] = __expectString(output[_Na]);
4270
- }
4271
- return contents;
4272
- };
4273
- const de_TriggerList = (output, context) => {
4274
- return (output || [])
4275
- .filter((e) => e != null)
4276
- .map((entry) => {
4277
- return de_Trigger(entry, context);
4278
- });
4279
- };
4280
- const de_ValidationMessage = (output, context) => {
4281
- const contents = {};
4282
- if (output[_Me] != null) {
4283
- contents[_Me] = __expectString(output[_Me]);
4284
- }
4285
- if (output[_Se] != null) {
4286
- contents[_Se] = __expectString(output[_Se]);
4287
- }
4288
- if (output[_N] != null) {
4289
- contents[_N] = __expectString(output[_N]);
4290
- }
4291
- if (output[_ON] != null) {
4292
- contents[_ON] = __expectString(output[_ON]);
4293
- }
4294
- return contents;
4295
- };
4296
- const de_ValidationMessagesList = (output, context) => {
4297
- return (output || [])
4298
- .filter((e) => e != null)
4299
- .map((entry) => {
4300
- return de_ValidationMessage(entry, context);
4301
- });
4302
- };
4303
- const de_VersionLabelsList = (output, context) => {
4304
- return (output || [])
4305
- .filter((e) => e != null)
4306
- .map((entry) => {
4307
- return __expectString(entry);
4308
- });
4309
- };
4310
- const deserializeMetadata = (output) => ({
4311
- httpStatusCode: output.statusCode,
4312
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
4313
- extendedRequestId: output.headers["x-amz-id-2"],
4314
- cfId: output.headers["x-amz-cf-id"],
4315
- });
4316
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
4317
- const throwDefaultError = withBaseException(__BaseException);
4318
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
4319
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4320
- const contents = {
4321
- protocol,
4322
- hostname,
4323
- port,
4324
- method: "POST",
4325
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
4326
- headers,
4327
- };
4328
- if (resolvedHostname !== undefined) {
4329
- contents.hostname = resolvedHostname;
4330
- }
4331
- if (body !== undefined) {
4332
- contents.body = body;
4333
- }
4334
- return new __HttpRequest(contents);
4335
- };
4336
- const SHARED_HEADERS = {
4337
- "content-type": "application/x-www-form-urlencoded",
4338
- };
4339
- const _ = "2010-12-01";
4340
- const _A = "Action";
4341
- const _AA = "ApplicationArn";
4342
- const _ACA = "AutoCreateApplication";
4343
- const _AD = "ActionDescription";
4344
- const _AEMA = "ApplyEnvironmentManagedAction";
4345
- const _AEOR = "AssociateEnvironmentOperationsRole";
4346
- const _AEU = "AbortEnvironmentUpdate";
4347
- const _AI = "ActionId";
4348
- const _AM = "ApplicationMetrics";
4349
- const _AN = "ArtifactName";
4350
- const _ANp = "ApplicationName";
4351
- const _ANpp = "ApplicationNames";
4352
- const _ANt = "AttributeNames";
4353
- const _AOIP = "AbortableOperationInProgress";
4354
- const _AQ = "ApplicationQuota";
4355
- const _ARN = "ARN";
4356
- const _ASG = "AutoScalingGroups";
4357
- const _AT = "ActionType";
4358
- const _AV = "ApplicationVersion";
4359
- const _AVA = "ApplicationVersionArn";
4360
- const _AVQ = "ApplicationVersionQuota";
4361
- const _AVp = "ApplicationVersions";
4362
- const _AZ = "AvailabilityZone";
4363
- const _Ap = "Application";
4364
- const _App = "Applications";
4365
- const _At = "Attribute";
4366
- const _Av = "Available";
4367
- const _B = "Builder";
4368
- const _BA = "BuildArn";
4369
- const _BC = "BuildConfiguration";
4370
- const _BN = "BranchName";
4371
- const _BO = "BranchOrder";
4372
- const _C = "Color";
4373
- const _CA = "CreateApplication";
4374
- const _CAL = "CustomAmiList";
4375
- const _CAV = "CreateApplicationVersion";
4376
- const _CBSR = "CodeBuildServiceRole";
4377
- const _CCT = "CreateConfigurationTemplate";
4378
- const _CDNSA = "CheckDNSAvailability";
4379
- const _CE = "ComposeEnvironments";
4380
- const _CEr = "CreateEnvironment";
4381
- const _CNAME = "CNAME";
4382
- const _CNAMEP = "CNAMEPrefix";
4383
- const _CPQ = "CustomPlatformQuota";
4384
- const _CPUU = "CPUUtilization";
4385
- const _CPV = "CreatePlatformVersion";
4386
- const _CS = "ChangeSeverity";
4387
- const _CSL = "CreateStorageLocation";
4388
- const _CSo = "ConfigurationSettings";
4389
- const _CT = "ComputeType";
4390
- const _CTQ = "ConfigurationTemplateQuota";
4391
- const _CTo = "ConfigurationTemplates";
4392
- const _Ca = "Causes";
4393
- const _D = "Description";
4394
- const _DA = "DeleteApplication";
4395
- const _DAA = "DescribeAccountAttributes";
4396
- const _DAV = "DeleteApplicationVersion";
4397
- const _DAVe = "DescribeApplicationVersions";
4398
- const _DAe = "DescribeApplications";
4399
- const _DC = "DateCreated";
4400
- const _DCO = "DescribeConfigurationOptions";
4401
- const _DCS = "DescribeConfigurationSettings";
4402
- const _DCT = "DeleteConfigurationTemplate";
4403
- const _DE = "DescribeEnvironments";
4404
- const _DEC = "DeleteEnvironmentConfiguration";
4405
- const _DEH = "DescribeEnvironmentHealth";
4406
- const _DEI = "DestinationEnvironmentId";
4407
- const _DEMA = "DescribeEnvironmentManagedActions";
4408
- const _DEMAH = "DescribeEnvironmentManagedActionHistory";
4409
- const _DEN = "DestinationEnvironmentName";
4410
- const _DEOR = "DisassociateEnvironmentOperationsRole";
4411
- const _DER = "DescribeEnvironmentResources";
4412
- const _DEe = "DescribeEvents";
4413
- const _DI = "DeploymentId";
4414
- const _DIH = "DescribeInstancesHealth";
4415
- const _DPV = "DeletePlatformVersion";
4416
- const _DPVe = "DescribePlatformVersion";
4417
- const _DS = "DeploymentStatus";
4418
- const _DSB = "DeleteSourceBundle";
4419
- const _DSFS = "DeleteSourceFromS3";
4420
- const _DT = "DeploymentTime";
4421
- const _DU = "DateUpdated";
4422
- const _DV = "DefaultValue";
4423
- const _De = "Degraded";
4424
- const _Dep = "Deployment";
4425
- const _Do = "Domain";
4426
- const _Du = "Duration";
4427
- const _E = "Enabled";
4428
- const _EA = "EnvironmentArn";
4429
- const _ED = "EventDate";
4430
- const _EI = "EnvironmentId";
4431
- const _EII = "Ec2InstanceId";
4432
- const _EIn = "EnvironmentIds";
4433
- const _EInv = "EnvironmentInfo";
4434
- const _EL = "EnvironmentLinks";
4435
- const _EN = "EnvironmentName";
4436
- const _ENn = "EnvironmentNames";
4437
- const _EQ = "EnvironmentQuota";
4438
- const _ER = "EnvironmentResources";
4439
- const _ET = "EndTime";
4440
- const _ETx = "ExecutedTime";
4441
- const _EURL = "EndpointURL";
4442
- const _En = "Environments";
4443
- const _Ev = "Events";
4444
- const _F = "Filters";
4445
- const _FD = "FailureDescription";
4446
- const _FQCNAME = "FullyQualifiedCNAME";
4447
- const _FT = "ForceTerminate";
4448
- const _FTa = "FailureType";
4449
- const _FTi = "FinishedTime";
4450
- const _Fr = "Frameworks";
4451
- const _GN = "GroupName";
4452
- const _H = "Health";
4453
- const _HS = "HealthStatus";
4454
- const _I = "Image";
4455
- const _ID = "IncludeDeleted";
4456
- const _IDBT = "IncludedDeletedBackTo";
4457
- const _IH = "InstancesHealth";
4458
- const _IHL = "InstanceHealthList";
4459
- const _II = "ImageId";
4460
- const _IIn = "InstanceId";
4461
- const _IOW = "IOWait";
4462
- const _IRQ = "IRQ";
4463
- const _IT = "InfoType";
4464
- const _ITn = "InstanceType";
4465
- const _Id = "Idle";
4466
- const _Id_ = "Id";
4467
- const _In = "Instances";
4468
- const _Inf = "Info";
4469
- const _K = "Key";
4470
- const _L = "Latency";
4471
- const _LA = "LaunchedAt";
4472
- const _LASS = "ListAvailableSolutionStacks";
4473
- const _LAo = "LoadAverage";
4474
- const _LB = "LoadBalancers";
4475
- const _LBN = "LoadBalancerName";
4476
- const _LBo = "LoadBalancer";
4477
- const _LC = "LaunchConfigurations";
4478
- const _LN = "LinkName";
4479
- const _LPB = "ListPlatformBranches";
4480
- const _LPV = "ListPlatformVersions";
4481
- const _LS = "LifecycleState";
4482
- const _LT = "LaunchTemplates";
4483
- const _LTFR = "ListTagsForResource";
4484
- const _La = "Label";
4485
- const _Li = "Listeners";
4486
- const _M = "Messages";
4487
- const _MA = "ManagedActions";
4488
- const _MAHI = "ManagedActionHistoryItems";
4489
- const _MAID = "MaxAgeInDays";
4490
- const _MAR = "MaxAgeRule";
4491
- const _MC = "MaxCount";
4492
- const _MCR = "MaxCountRule";
4493
- const _MI = "MaxItems";
4494
- const _ML = "MaxLength";
4495
- const _MR = "MaxRecords";
4496
- const _MV = "MinValue";
4497
- const _MVa = "MaxValue";
4498
- const _Ma = "Maintainer";
4499
- const _Max = "Maximum";
4500
- const _Me = "Message";
4501
- const _N = "Namespace";
4502
- const _ND = "NoData";
4503
- const _NT = "NextToken";
4504
- const _Na = "Name";
4505
- const _Ni = "Nice";
4506
- const _O = "Options";
4507
- const _ON = "OptionName";
4508
- const _OR = "OperationsRole";
4509
- const _OS = "OptionSettings";
4510
- const _OSN = "OperatingSystemName";
4511
- const _OSV = "OperatingSystemVersion";
4512
- const _OTR = "OptionsToRemove";
4513
- const _Ok = "Ok";
4514
- const _Op = "Operator";
4515
- const _P = "Process";
4516
- const _PA = "PlatformArn";
4517
- const _PBLS = "PlatformBranchLifecycleState";
4518
- const _PBN = "PlatformBranchName";
4519
- const _PBSL = "PlatformBranchSummaryList";
4520
- const _PC = "PlatformCategory";
4521
- const _PD = "PlatformDescription";
4522
- const _PDB = "PlatformDefinitionBundle";
4523
- const _PFT = "PermittedFileTypes";
4524
- const _PL = "ProgrammingLanguages";
4525
- const _PLS = "PlatformLifecycleState";
4526
- const _PN = "PlatformName";
4527
- const _PO = "PlatformOwner";
4528
- const _PS = "PlatformSummary";
4529
- const _PSL = "PlatformSummaryList";
4530
- const _PSl = "PlatformStatus";
4531
- const _PV = "PlatformVersion";
4532
- const _P_ = "P999";
4533
- const _P__ = "P99";
4534
- const _P___ = "P95";
4535
- const _P____ = "P90";
4536
- const _P_____ = "P85";
4537
- const _P______ = "P75";
4538
- const _P_______ = "P50";
4539
- const _P________ = "P10";
4540
- const _Pa = "Pattern";
4541
- const _Pe = "Pending";
4542
- const _Po = "Port";
4543
- const _Pr = "Privileged";
4544
- const _Pro = "Protocol";
4545
- const _Q = "Queues";
4546
- const _R = "Regex";
4547
- const _RA = "ResourceArn";
4548
- const _RAS = "RestartAppServer";
4549
- const _RAe = "RefreshedAt";
4550
- const _RC = "RequestCount";
4551
- const _RE = "RebuildEnvironment";
4552
- const _REI = "RequestEnvironmentInfo";
4553
- const _REIe = "RetrieveEnvironmentInfo";
4554
- const _RI = "RequestId";
4555
- const _RLC = "ResourceLifecycleConfig";
4556
- const _RN = "ResourceName";
4557
- const _RQ = "ResourceQuotas";
4558
- const _RT = "ResourceTags";
4559
- const _Re = "Resources";
4560
- const _S = "Status";
4561
- const _SAL = "SupportedAddonList";
4562
- const _SB = "SourceBundle";
4563
- const _SBI = "SourceBuildInformation";
4564
- const _SBu = "S3Bucket";
4565
- const _SC = "SourceConfiguration";
4566
- const _SCt = "StatusCodes";
4567
- const _SECNAME = "SwapEnvironmentCNAMEs";
4568
- const _SEI = "SourceEnvironmentId";
4569
- const _SEN = "SourceEnvironmentName";
4570
- const _SIRQ = "SoftIRQ";
4571
- const _SK = "S3Key";
4572
- const _SL = "SourceLocation";
4573
- const _SR = "ServiceRole";
4574
- const _SRo = "SourceRepository";
4575
- const _SS = "SolutionStacks";
4576
- const _SSD = "SolutionStackDetails";
4577
- const _SSN = "SolutionStackName";
4578
- const _ST = "StartTime";
4579
- const _STL = "SupportedTierList";
4580
- const _STa = "SampleTimestamp";
4581
- const _STo = "SourceType";
4582
- const _Se = "Severity";
4583
- const _Sev = "Severe";
4584
- const _St = "Status2xx";
4585
- const _Sta = "Status3xx";
4586
- const _Stat = "Status4xx";
4587
- const _Statu = "Status5xx";
4588
- const _Sy = "System";
4589
- const _T = "Tags";
4590
- const _TE = "TerminateEnvironment";
4591
- const _TEBF = "TerminateEnvByForce";
4592
- const _TIM = "TimeoutInMinutes";
4593
- const _TN = "TemplateName";
4594
- const _TR = "TerminateResources";
4595
- const _TTA = "TagsToAdd";
4596
- const _TTR = "TagsToRemove";
4597
- const _Ti = "Tier";
4598
- const _Tr = "Triggers";
4599
- const _Ty = "Type";
4600
- const _U = "User";
4601
- const _UA = "UpdateApplication";
4602
- const _UARL = "UpdateApplicationResourceLifecycle";
4603
- const _UAV = "UpdateApplicationVersion";
4604
- const _UCT = "UpdateConfigurationTemplate";
4605
- const _UD = "UserDefined";
4606
- const _UE = "UpdateEnvironment";
4607
- const _URL = "URL";
4608
- const _UTFR = "UpdateTagsForResource";
4609
- const _Un = "Unknown";
4610
- const _V = "Version";
4611
- const _VCS = "ValidateConfigurationSettings";
4612
- const _VL = "VersionLabels";
4613
- const _VLC = "VersionLifecycleConfig";
4614
- const _VLe = "VersionLabel";
4615
- const _VO = "ValueOptions";
4616
- const _VT = "ValueType";
4617
- const _VTi = "VirtualizationType";
4618
- const _Va = "Value";
4619
- const _Val = "Values";
4620
- const _Ve = "Versions";
4621
- const _W = "Warning";
4622
- const _WST = "WindowStartTime";
4623
- const _m = "member";
4624
- const _me = "message";
4625
- const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
4626
- .map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
4627
- .join("&");
4628
- const loadQueryErrorCode = (output, data) => {
4629
- if (data.Error?.Code !== undefined) {
4630
- return data.Error.Code;
4631
- }
4632
- if (output.statusCode == 404) {
4633
- return "NotFound";
4634
- }
4635
- };