@aws-sdk/client-lambda 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/LambdaClient.js +13 -13
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +3 -3
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/CreateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetAliasCommand.js +3 -3
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/InvokeAsyncCommand.js +3 -3
- package/dist-cjs/commands/InvokeCommand.js +3 -3
- package/dist-cjs/commands/ListAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListLayerVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListLayersCommand.js +3 -3
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +3 -3
- package/dist-cjs/commands/PublishLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/PublishVersionCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +651 -649
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForFunctionActive.js +3 -3
- package/dist-cjs/waiters/waitForFunctionActiveV2.js +3 -3
- package/dist-cjs/waiters/waitForFunctionExists.js +3 -3
- package/dist-cjs/waiters/waitForFunctionUpdated.js +3 -3
- package/dist-cjs/waiters/waitForFunctionUpdatedV2.js +3 -3
- package/dist-es/Lambda.js +58 -58
- package/dist-es/pagination/ListAliasesPaginator.js +4 -4
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -4
- package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListLayersPaginator.js +4 -4
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +61 -60
- package/dist-types/Lambda.d.ts +9 -7
- package/dist-types/LambdaClient.d.ts +2 -2
- package/dist-types/commands/AddPermissionCommand.d.ts +9 -7
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/LambdaClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -19,7 +19,7 @@ const serializeAws_restJson1AddLayerVersionPermissionCommand = async (input, con
|
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
20
20
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
21
21
|
}
|
|
22
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
22
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -29,7 +29,7 @@ const serializeAws_restJson1AddLayerVersionPermissionCommand = async (input, con
|
|
|
29
29
|
if (labelValue.length <= 0) {
|
|
30
30
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
31
31
|
}
|
|
32
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
32
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -69,7 +69,7 @@ const serializeAws_restJson1AddPermissionCommand = async (input, context) => {
|
|
|
69
69
|
if (labelValue.length <= 0) {
|
|
70
70
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
71
71
|
}
|
|
72
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
72
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
75
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -83,6 +83,8 @@ const serializeAws_restJson1AddPermissionCommand = async (input, context) => {
|
|
|
83
83
|
...(input.EventSourceToken !== undefined &&
|
|
84
84
|
input.EventSourceToken !== null && { EventSourceToken: input.EventSourceToken }),
|
|
85
85
|
...(input.Principal !== undefined && input.Principal !== null && { Principal: input.Principal }),
|
|
86
|
+
...(input.PrincipalOrgID !== undefined &&
|
|
87
|
+
input.PrincipalOrgID !== null && { PrincipalOrgID: input.PrincipalOrgID }),
|
|
86
88
|
...(input.RevisionId !== undefined && input.RevisionId !== null && { RevisionId: input.RevisionId }),
|
|
87
89
|
...(input.SourceAccount !== undefined && input.SourceAccount !== null && { SourceAccount: input.SourceAccount }),
|
|
88
90
|
...(input.SourceArn !== undefined && input.SourceArn !== null && { SourceArn: input.SourceArn }),
|
|
@@ -112,7 +114,7 @@ const serializeAws_restJson1CreateAliasCommand = async (input, context) => {
|
|
|
112
114
|
if (labelValue.length <= 0) {
|
|
113
115
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
114
116
|
}
|
|
115
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
117
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
116
118
|
}
|
|
117
119
|
else {
|
|
118
120
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -306,7 +308,7 @@ const serializeAws_restJson1DeleteAliasCommand = async (input, context) => {
|
|
|
306
308
|
if (labelValue.length <= 0) {
|
|
307
309
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
308
310
|
}
|
|
309
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
311
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
310
312
|
}
|
|
311
313
|
else {
|
|
312
314
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -316,7 +318,7 @@ const serializeAws_restJson1DeleteAliasCommand = async (input, context) => {
|
|
|
316
318
|
if (labelValue.length <= 0) {
|
|
317
319
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
318
320
|
}
|
|
319
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
321
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
320
322
|
}
|
|
321
323
|
else {
|
|
322
324
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -343,7 +345,7 @@ const serializeAws_restJson1DeleteCodeSigningConfigCommand = async (input, conte
|
|
|
343
345
|
if (labelValue.length <= 0) {
|
|
344
346
|
throw new Error("Empty value provided for input HTTP label: CodeSigningConfigArn.");
|
|
345
347
|
}
|
|
346
|
-
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
348
|
+
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
347
349
|
}
|
|
348
350
|
else {
|
|
349
351
|
throw new Error("No value provided for input HTTP label: CodeSigningConfigArn.");
|
|
@@ -369,7 +371,7 @@ const serializeAws_restJson1DeleteEventSourceMappingCommand = async (input, cont
|
|
|
369
371
|
if (labelValue.length <= 0) {
|
|
370
372
|
throw new Error("Empty value provided for input HTTP label: UUID.");
|
|
371
373
|
}
|
|
372
|
-
resolvedPath = resolvedPath.replace("{UUID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
374
|
+
resolvedPath = resolvedPath.replace("{UUID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
373
375
|
}
|
|
374
376
|
else {
|
|
375
377
|
throw new Error("No value provided for input HTTP label: UUID.");
|
|
@@ -395,7 +397,7 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
|
|
|
395
397
|
if (labelValue.length <= 0) {
|
|
396
398
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
397
399
|
}
|
|
398
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
400
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
399
401
|
}
|
|
400
402
|
else {
|
|
401
403
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -426,7 +428,7 @@ const serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = async (inpu
|
|
|
426
428
|
if (labelValue.length <= 0) {
|
|
427
429
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
428
430
|
}
|
|
429
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
431
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
430
432
|
}
|
|
431
433
|
else {
|
|
432
434
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -453,7 +455,7 @@ const serializeAws_restJson1DeleteFunctionConcurrencyCommand = async (input, con
|
|
|
453
455
|
if (labelValue.length <= 0) {
|
|
454
456
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
455
457
|
}
|
|
456
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
458
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
457
459
|
}
|
|
458
460
|
else {
|
|
459
461
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -480,7 +482,7 @@ const serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = async (inpu
|
|
|
480
482
|
if (labelValue.length <= 0) {
|
|
481
483
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
482
484
|
}
|
|
483
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
485
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
484
486
|
}
|
|
485
487
|
else {
|
|
486
488
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -511,7 +513,7 @@ const serializeAws_restJson1DeleteLayerVersionCommand = async (input, context) =
|
|
|
511
513
|
if (labelValue.length <= 0) {
|
|
512
514
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
513
515
|
}
|
|
514
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
516
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
515
517
|
}
|
|
516
518
|
else {
|
|
517
519
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -521,7 +523,7 @@ const serializeAws_restJson1DeleteLayerVersionCommand = async (input, context) =
|
|
|
521
523
|
if (labelValue.length <= 0) {
|
|
522
524
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
523
525
|
}
|
|
524
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
526
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
525
527
|
}
|
|
526
528
|
else {
|
|
527
529
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -548,7 +550,7 @@ const serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = async (i
|
|
|
548
550
|
if (labelValue.length <= 0) {
|
|
549
551
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
550
552
|
}
|
|
551
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
553
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
552
554
|
}
|
|
553
555
|
else {
|
|
554
556
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -598,7 +600,7 @@ const serializeAws_restJson1GetAliasCommand = async (input, context) => {
|
|
|
598
600
|
if (labelValue.length <= 0) {
|
|
599
601
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
600
602
|
}
|
|
601
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
603
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
602
604
|
}
|
|
603
605
|
else {
|
|
604
606
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -608,7 +610,7 @@ const serializeAws_restJson1GetAliasCommand = async (input, context) => {
|
|
|
608
610
|
if (labelValue.length <= 0) {
|
|
609
611
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
610
612
|
}
|
|
611
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
613
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
612
614
|
}
|
|
613
615
|
else {
|
|
614
616
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -635,7 +637,7 @@ const serializeAws_restJson1GetCodeSigningConfigCommand = async (input, context)
|
|
|
635
637
|
if (labelValue.length <= 0) {
|
|
636
638
|
throw new Error("Empty value provided for input HTTP label: CodeSigningConfigArn.");
|
|
637
639
|
}
|
|
638
|
-
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
640
|
+
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
639
641
|
}
|
|
640
642
|
else {
|
|
641
643
|
throw new Error("No value provided for input HTTP label: CodeSigningConfigArn.");
|
|
@@ -661,7 +663,7 @@ const serializeAws_restJson1GetEventSourceMappingCommand = async (input, context
|
|
|
661
663
|
if (labelValue.length <= 0) {
|
|
662
664
|
throw new Error("Empty value provided for input HTTP label: UUID.");
|
|
663
665
|
}
|
|
664
|
-
resolvedPath = resolvedPath.replace("{UUID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
666
|
+
resolvedPath = resolvedPath.replace("{UUID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
665
667
|
}
|
|
666
668
|
else {
|
|
667
669
|
throw new Error("No value provided for input HTTP label: UUID.");
|
|
@@ -687,7 +689,7 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
|
|
|
687
689
|
if (labelValue.length <= 0) {
|
|
688
690
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
689
691
|
}
|
|
690
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
692
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
691
693
|
}
|
|
692
694
|
else {
|
|
693
695
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -718,7 +720,7 @@ const serializeAws_restJson1GetFunctionCodeSigningConfigCommand = async (input,
|
|
|
718
720
|
if (labelValue.length <= 0) {
|
|
719
721
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
720
722
|
}
|
|
721
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
723
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
722
724
|
}
|
|
723
725
|
else {
|
|
724
726
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -745,7 +747,7 @@ const serializeAws_restJson1GetFunctionConcurrencyCommand = async (input, contex
|
|
|
745
747
|
if (labelValue.length <= 0) {
|
|
746
748
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
747
749
|
}
|
|
748
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
750
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
749
751
|
}
|
|
750
752
|
else {
|
|
751
753
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -772,7 +774,7 @@ const serializeAws_restJson1GetFunctionConfigurationCommand = async (input, cont
|
|
|
772
774
|
if (labelValue.length <= 0) {
|
|
773
775
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
774
776
|
}
|
|
775
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
777
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
776
778
|
}
|
|
777
779
|
else {
|
|
778
780
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -803,7 +805,7 @@ const serializeAws_restJson1GetFunctionEventInvokeConfigCommand = async (input,
|
|
|
803
805
|
if (labelValue.length <= 0) {
|
|
804
806
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
805
807
|
}
|
|
806
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
808
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
807
809
|
}
|
|
808
810
|
else {
|
|
809
811
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -834,7 +836,7 @@ const serializeAws_restJson1GetLayerVersionCommand = async (input, context) => {
|
|
|
834
836
|
if (labelValue.length <= 0) {
|
|
835
837
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
836
838
|
}
|
|
837
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
839
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
838
840
|
}
|
|
839
841
|
else {
|
|
840
842
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -844,7 +846,7 @@ const serializeAws_restJson1GetLayerVersionCommand = async (input, context) => {
|
|
|
844
846
|
if (labelValue.length <= 0) {
|
|
845
847
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
846
848
|
}
|
|
847
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
849
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
848
850
|
}
|
|
849
851
|
else {
|
|
850
852
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -892,7 +894,7 @@ const serializeAws_restJson1GetLayerVersionPolicyCommand = async (input, context
|
|
|
892
894
|
if (labelValue.length <= 0) {
|
|
893
895
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
894
896
|
}
|
|
895
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
897
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
896
898
|
}
|
|
897
899
|
else {
|
|
898
900
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -902,7 +904,7 @@ const serializeAws_restJson1GetLayerVersionPolicyCommand = async (input, context
|
|
|
902
904
|
if (labelValue.length <= 0) {
|
|
903
905
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
904
906
|
}
|
|
905
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
907
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
906
908
|
}
|
|
907
909
|
else {
|
|
908
910
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -929,7 +931,7 @@ const serializeAws_restJson1GetPolicyCommand = async (input, context) => {
|
|
|
929
931
|
if (labelValue.length <= 0) {
|
|
930
932
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
931
933
|
}
|
|
932
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
934
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
933
935
|
}
|
|
934
936
|
else {
|
|
935
937
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -960,7 +962,7 @@ const serializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (inpu
|
|
|
960
962
|
if (labelValue.length <= 0) {
|
|
961
963
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
962
964
|
}
|
|
963
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
965
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
964
966
|
}
|
|
965
967
|
else {
|
|
966
968
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -996,7 +998,7 @@ const serializeAws_restJson1InvokeCommand = async (input, context) => {
|
|
|
996
998
|
if (labelValue.length <= 0) {
|
|
997
999
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
998
1000
|
}
|
|
999
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1001
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1000
1002
|
}
|
|
1001
1003
|
else {
|
|
1002
1004
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1032,7 +1034,7 @@ const serializeAws_restJson1InvokeAsyncCommand = async (input, context) => {
|
|
|
1032
1034
|
if (labelValue.length <= 0) {
|
|
1033
1035
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1034
1036
|
}
|
|
1035
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1037
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1036
1038
|
}
|
|
1037
1039
|
else {
|
|
1038
1040
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1062,7 +1064,7 @@ const serializeAws_restJson1ListAliasesCommand = async (input, context) => {
|
|
|
1062
1064
|
if (labelValue.length <= 0) {
|
|
1063
1065
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1064
1066
|
}
|
|
1065
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1067
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1066
1068
|
}
|
|
1067
1069
|
else {
|
|
1068
1070
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1139,7 +1141,7 @@ const serializeAws_restJson1ListFunctionEventInvokeConfigsCommand = async (input
|
|
|
1139
1141
|
if (labelValue.length <= 0) {
|
|
1140
1142
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1141
1143
|
}
|
|
1142
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1144
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1143
1145
|
}
|
|
1144
1146
|
else {
|
|
1145
1147
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1194,7 +1196,7 @@ const serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = async (inp
|
|
|
1194
1196
|
if (labelValue.length <= 0) {
|
|
1195
1197
|
throw new Error("Empty value provided for input HTTP label: CodeSigningConfigArn.");
|
|
1196
1198
|
}
|
|
1197
|
-
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1199
|
+
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1198
1200
|
}
|
|
1199
1201
|
else {
|
|
1200
1202
|
throw new Error("No value provided for input HTTP label: CodeSigningConfigArn.");
|
|
@@ -1248,7 +1250,7 @@ const serializeAws_restJson1ListLayerVersionsCommand = async (input, context) =>
|
|
|
1248
1250
|
if (labelValue.length <= 0) {
|
|
1249
1251
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
1250
1252
|
}
|
|
1251
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1253
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1252
1254
|
}
|
|
1253
1255
|
else {
|
|
1254
1256
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -1282,7 +1284,7 @@ const serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = async (in
|
|
|
1282
1284
|
if (labelValue.length <= 0) {
|
|
1283
1285
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1284
1286
|
}
|
|
1285
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1287
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1286
1288
|
}
|
|
1287
1289
|
else {
|
|
1288
1290
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1314,7 +1316,7 @@ const serializeAws_restJson1ListTagsCommand = async (input, context) => {
|
|
|
1314
1316
|
if (labelValue.length <= 0) {
|
|
1315
1317
|
throw new Error("Empty value provided for input HTTP label: Resource.");
|
|
1316
1318
|
}
|
|
1317
|
-
resolvedPath = resolvedPath.replace("{Resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1319
|
+
resolvedPath = resolvedPath.replace("{Resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1318
1320
|
}
|
|
1319
1321
|
else {
|
|
1320
1322
|
throw new Error("No value provided for input HTTP label: Resource.");
|
|
@@ -1341,7 +1343,7 @@ const serializeAws_restJson1ListVersionsByFunctionCommand = async (input, contex
|
|
|
1341
1343
|
if (labelValue.length <= 0) {
|
|
1342
1344
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1343
1345
|
}
|
|
1344
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1346
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1345
1347
|
}
|
|
1346
1348
|
else {
|
|
1347
1349
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1374,7 +1376,7 @@ const serializeAws_restJson1PublishLayerVersionCommand = async (input, context)
|
|
|
1374
1376
|
if (labelValue.length <= 0) {
|
|
1375
1377
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
1376
1378
|
}
|
|
1377
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1379
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1378
1380
|
}
|
|
1379
1381
|
else {
|
|
1380
1382
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -1417,7 +1419,7 @@ const serializeAws_restJson1PublishVersionCommand = async (input, context) => {
|
|
|
1417
1419
|
if (labelValue.length <= 0) {
|
|
1418
1420
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1419
1421
|
}
|
|
1420
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1422
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1421
1423
|
}
|
|
1422
1424
|
else {
|
|
1423
1425
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1451,7 +1453,7 @@ const serializeAws_restJson1PutFunctionCodeSigningConfigCommand = async (input,
|
|
|
1451
1453
|
if (labelValue.length <= 0) {
|
|
1452
1454
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1453
1455
|
}
|
|
1454
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1456
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1455
1457
|
}
|
|
1456
1458
|
else {
|
|
1457
1459
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1484,7 +1486,7 @@ const serializeAws_restJson1PutFunctionConcurrencyCommand = async (input, contex
|
|
|
1484
1486
|
if (labelValue.length <= 0) {
|
|
1485
1487
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1486
1488
|
}
|
|
1487
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1489
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1488
1490
|
}
|
|
1489
1491
|
else {
|
|
1490
1492
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1519,7 +1521,7 @@ const serializeAws_restJson1PutFunctionEventInvokeConfigCommand = async (input,
|
|
|
1519
1521
|
if (labelValue.length <= 0) {
|
|
1520
1522
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1521
1523
|
}
|
|
1522
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1524
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1523
1525
|
}
|
|
1524
1526
|
else {
|
|
1525
1527
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1562,7 +1564,7 @@ const serializeAws_restJson1PutProvisionedConcurrencyConfigCommand = async (inpu
|
|
|
1562
1564
|
if (labelValue.length <= 0) {
|
|
1563
1565
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1564
1566
|
}
|
|
1565
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1567
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1566
1568
|
}
|
|
1567
1569
|
else {
|
|
1568
1570
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1599,7 +1601,7 @@ const serializeAws_restJson1RemoveLayerVersionPermissionCommand = async (input,
|
|
|
1599
1601
|
if (labelValue.length <= 0) {
|
|
1600
1602
|
throw new Error("Empty value provided for input HTTP label: LayerName.");
|
|
1601
1603
|
}
|
|
1602
|
-
resolvedPath = resolvedPath.replace("{LayerName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1604
|
+
resolvedPath = resolvedPath.replace("{LayerName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1603
1605
|
}
|
|
1604
1606
|
else {
|
|
1605
1607
|
throw new Error("No value provided for input HTTP label: LayerName.");
|
|
@@ -1609,7 +1611,7 @@ const serializeAws_restJson1RemoveLayerVersionPermissionCommand = async (input,
|
|
|
1609
1611
|
if (labelValue.length <= 0) {
|
|
1610
1612
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
1611
1613
|
}
|
|
1612
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1614
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1613
1615
|
}
|
|
1614
1616
|
else {
|
|
1615
1617
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -1619,7 +1621,7 @@ const serializeAws_restJson1RemoveLayerVersionPermissionCommand = async (input,
|
|
|
1619
1621
|
if (labelValue.length <= 0) {
|
|
1620
1622
|
throw new Error("Empty value provided for input HTTP label: StatementId.");
|
|
1621
1623
|
}
|
|
1622
|
-
resolvedPath = resolvedPath.replace("{StatementId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1624
|
+
resolvedPath = resolvedPath.replace("{StatementId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1623
1625
|
}
|
|
1624
1626
|
else {
|
|
1625
1627
|
throw new Error("No value provided for input HTTP label: StatementId.");
|
|
@@ -1650,7 +1652,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
1650
1652
|
if (labelValue.length <= 0) {
|
|
1651
1653
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1652
1654
|
}
|
|
1653
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1655
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1654
1656
|
}
|
|
1655
1657
|
else {
|
|
1656
1658
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1660,7 +1662,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
1660
1662
|
if (labelValue.length <= 0) {
|
|
1661
1663
|
throw new Error("Empty value provided for input HTTP label: StatementId.");
|
|
1662
1664
|
}
|
|
1663
|
-
resolvedPath = resolvedPath.replace("{StatementId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1665
|
+
resolvedPath = resolvedPath.replace("{StatementId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1664
1666
|
}
|
|
1665
1667
|
else {
|
|
1666
1668
|
throw new Error("No value provided for input HTTP label: StatementId.");
|
|
@@ -1693,7 +1695,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1693
1695
|
if (labelValue.length <= 0) {
|
|
1694
1696
|
throw new Error("Empty value provided for input HTTP label: Resource.");
|
|
1695
1697
|
}
|
|
1696
|
-
resolvedPath = resolvedPath.replace("{Resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1698
|
+
resolvedPath = resolvedPath.replace("{Resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1697
1699
|
}
|
|
1698
1700
|
else {
|
|
1699
1701
|
throw new Error("No value provided for input HTTP label: Resource.");
|
|
@@ -1722,7 +1724,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1722
1724
|
if (labelValue.length <= 0) {
|
|
1723
1725
|
throw new Error("Empty value provided for input HTTP label: Resource.");
|
|
1724
1726
|
}
|
|
1725
|
-
resolvedPath = resolvedPath.replace("{Resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1727
|
+
resolvedPath = resolvedPath.replace("{Resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1726
1728
|
}
|
|
1727
1729
|
else {
|
|
1728
1730
|
throw new Error("No value provided for input HTTP label: Resource.");
|
|
@@ -1755,7 +1757,7 @@ const serializeAws_restJson1UpdateAliasCommand = async (input, context) => {
|
|
|
1755
1757
|
if (labelValue.length <= 0) {
|
|
1756
1758
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1757
1759
|
}
|
|
1758
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1760
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1759
1761
|
}
|
|
1760
1762
|
else {
|
|
1761
1763
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1765,7 +1767,7 @@ const serializeAws_restJson1UpdateAliasCommand = async (input, context) => {
|
|
|
1765
1767
|
if (labelValue.length <= 0) {
|
|
1766
1768
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1767
1769
|
}
|
|
1768
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1770
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1769
1771
|
}
|
|
1770
1772
|
else {
|
|
1771
1773
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1804,7 +1806,7 @@ const serializeAws_restJson1UpdateCodeSigningConfigCommand = async (input, conte
|
|
|
1804
1806
|
if (labelValue.length <= 0) {
|
|
1805
1807
|
throw new Error("Empty value provided for input HTTP label: CodeSigningConfigArn.");
|
|
1806
1808
|
}
|
|
1807
|
-
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1809
|
+
resolvedPath = resolvedPath.replace("{CodeSigningConfigArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1808
1810
|
}
|
|
1809
1811
|
else {
|
|
1810
1812
|
throw new Error("No value provided for input HTTP label: CodeSigningConfigArn.");
|
|
@@ -1843,7 +1845,7 @@ const serializeAws_restJson1UpdateEventSourceMappingCommand = async (input, cont
|
|
|
1843
1845
|
if (labelValue.length <= 0) {
|
|
1844
1846
|
throw new Error("Empty value provided for input HTTP label: UUID.");
|
|
1845
1847
|
}
|
|
1846
|
-
resolvedPath = resolvedPath.replace("{UUID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1848
|
+
resolvedPath = resolvedPath.replace("{UUID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1847
1849
|
}
|
|
1848
1850
|
else {
|
|
1849
1851
|
throw new Error("No value provided for input HTTP label: UUID.");
|
|
@@ -1906,7 +1908,7 @@ const serializeAws_restJson1UpdateFunctionCodeCommand = async (input, context) =
|
|
|
1906
1908
|
if (labelValue.length <= 0) {
|
|
1907
1909
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1908
1910
|
}
|
|
1909
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1911
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1910
1912
|
}
|
|
1911
1913
|
else {
|
|
1912
1914
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -1950,7 +1952,7 @@ const serializeAws_restJson1UpdateFunctionConfigurationCommand = async (input, c
|
|
|
1950
1952
|
if (labelValue.length <= 0) {
|
|
1951
1953
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
1952
1954
|
}
|
|
1953
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1955
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1954
1956
|
}
|
|
1955
1957
|
else {
|
|
1956
1958
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -2009,7 +2011,7 @@ const serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand = async (inpu
|
|
|
2009
2011
|
if (labelValue.length <= 0) {
|
|
2010
2012
|
throw new Error("Empty value provided for input HTTP label: FunctionName.");
|
|
2011
2013
|
}
|
|
2012
|
-
resolvedPath = resolvedPath.replace("{FunctionName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2014
|
+
resolvedPath = resolvedPath.replace("{FunctionName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2013
2015
|
}
|
|
2014
2016
|
else {
|
|
2015
2017
|
throw new Error("No value provided for input HTTP label: FunctionName.");
|
|
@@ -2049,12 +2051,12 @@ const deserializeAws_restJson1AddLayerVersionPermissionCommand = async (output,
|
|
|
2049
2051
|
RevisionId: undefined,
|
|
2050
2052
|
Statement: undefined,
|
|
2051
2053
|
};
|
|
2052
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2054
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2053
2055
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
2054
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
2056
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
2055
2057
|
}
|
|
2056
2058
|
if (data.Statement !== undefined && data.Statement !== null) {
|
|
2057
|
-
contents.Statement = smithy_client_1.expectString(data.Statement);
|
|
2059
|
+
contents.Statement = (0, smithy_client_1.expectString)(data.Statement);
|
|
2058
2060
|
}
|
|
2059
2061
|
return Promise.resolve(contents);
|
|
2060
2062
|
};
|
|
@@ -2096,7 +2098,7 @@ const deserializeAws_restJson1AddLayerVersionPermissionCommandError = async (out
|
|
|
2096
2098
|
$fault: "client",
|
|
2097
2099
|
$metadata: deserializeMetadata(output),
|
|
2098
2100
|
});
|
|
2099
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2101
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2100
2102
|
}
|
|
2101
2103
|
};
|
|
2102
2104
|
const deserializeAws_restJson1AddPermissionCommand = async (output, context) => {
|
|
@@ -2107,9 +2109,9 @@ const deserializeAws_restJson1AddPermissionCommand = async (output, context) =>
|
|
|
2107
2109
|
$metadata: deserializeMetadata(output),
|
|
2108
2110
|
Statement: undefined,
|
|
2109
2111
|
};
|
|
2110
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2112
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2111
2113
|
if (data.Statement !== undefined && data.Statement !== null) {
|
|
2112
|
-
contents.Statement = smithy_client_1.expectString(data.Statement);
|
|
2114
|
+
contents.Statement = (0, smithy_client_1.expectString)(data.Statement);
|
|
2113
2115
|
}
|
|
2114
2116
|
return Promise.resolve(contents);
|
|
2115
2117
|
};
|
|
@@ -2151,7 +2153,7 @@ const deserializeAws_restJson1AddPermissionCommandError = async (output, context
|
|
|
2151
2153
|
$fault: "client",
|
|
2152
2154
|
$metadata: deserializeMetadata(output),
|
|
2153
2155
|
});
|
|
2154
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2156
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2155
2157
|
}
|
|
2156
2158
|
};
|
|
2157
2159
|
const deserializeAws_restJson1CreateAliasCommand = async (output, context) => {
|
|
@@ -2167,21 +2169,21 @@ const deserializeAws_restJson1CreateAliasCommand = async (output, context) => {
|
|
|
2167
2169
|
RevisionId: undefined,
|
|
2168
2170
|
RoutingConfig: undefined,
|
|
2169
2171
|
};
|
|
2170
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2172
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2171
2173
|
if (data.AliasArn !== undefined && data.AliasArn !== null) {
|
|
2172
|
-
contents.AliasArn = smithy_client_1.expectString(data.AliasArn);
|
|
2174
|
+
contents.AliasArn = (0, smithy_client_1.expectString)(data.AliasArn);
|
|
2173
2175
|
}
|
|
2174
2176
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2175
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2177
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
2176
2178
|
}
|
|
2177
2179
|
if (data.FunctionVersion !== undefined && data.FunctionVersion !== null) {
|
|
2178
|
-
contents.FunctionVersion = smithy_client_1.expectString(data.FunctionVersion);
|
|
2180
|
+
contents.FunctionVersion = (0, smithy_client_1.expectString)(data.FunctionVersion);
|
|
2179
2181
|
}
|
|
2180
2182
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2181
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2183
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2182
2184
|
}
|
|
2183
2185
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
2184
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
2186
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
2185
2187
|
}
|
|
2186
2188
|
if (data.RoutingConfig !== undefined && data.RoutingConfig !== null) {
|
|
2187
2189
|
contents.RoutingConfig = deserializeAws_restJson1AliasRoutingConfiguration(data.RoutingConfig, context);
|
|
@@ -2220,7 +2222,7 @@ const deserializeAws_restJson1CreateAliasCommandError = async (output, context)
|
|
|
2220
2222
|
$fault: "client",
|
|
2221
2223
|
$metadata: deserializeMetadata(output),
|
|
2222
2224
|
});
|
|
2223
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2225
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2224
2226
|
}
|
|
2225
2227
|
};
|
|
2226
2228
|
const deserializeAws_restJson1CreateCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -2231,7 +2233,7 @@ const deserializeAws_restJson1CreateCodeSigningConfigCommand = async (output, co
|
|
|
2231
2233
|
$metadata: deserializeMetadata(output),
|
|
2232
2234
|
CodeSigningConfig: undefined,
|
|
2233
2235
|
};
|
|
2234
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2236
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2235
2237
|
if (data.CodeSigningConfig !== undefined && data.CodeSigningConfig !== null) {
|
|
2236
2238
|
contents.CodeSigningConfig = deserializeAws_restJson1CodeSigningConfig(data.CodeSigningConfig, context);
|
|
2237
2239
|
}
|
|
@@ -2260,7 +2262,7 @@ const deserializeAws_restJson1CreateCodeSigningConfigCommandError = async (outpu
|
|
|
2260
2262
|
$fault: "client",
|
|
2261
2263
|
$metadata: deserializeMetadata(output),
|
|
2262
2264
|
});
|
|
2263
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2265
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2264
2266
|
}
|
|
2265
2267
|
};
|
|
2266
2268
|
const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, context) => {
|
|
@@ -2293,45 +2295,45 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
|
|
|
2293
2295
|
TumblingWindowInSeconds: undefined,
|
|
2294
2296
|
UUID: undefined,
|
|
2295
2297
|
};
|
|
2296
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2298
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2297
2299
|
if (data.BatchSize !== undefined && data.BatchSize !== null) {
|
|
2298
|
-
contents.BatchSize = smithy_client_1.expectInt32(data.BatchSize);
|
|
2300
|
+
contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
|
|
2299
2301
|
}
|
|
2300
2302
|
if (data.BisectBatchOnFunctionError !== undefined && data.BisectBatchOnFunctionError !== null) {
|
|
2301
|
-
contents.BisectBatchOnFunctionError = smithy_client_1.expectBoolean(data.BisectBatchOnFunctionError);
|
|
2303
|
+
contents.BisectBatchOnFunctionError = (0, smithy_client_1.expectBoolean)(data.BisectBatchOnFunctionError);
|
|
2302
2304
|
}
|
|
2303
2305
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
2304
2306
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
2305
2307
|
}
|
|
2306
2308
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
2307
|
-
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
2309
|
+
contents.EventSourceArn = (0, smithy_client_1.expectString)(data.EventSourceArn);
|
|
2308
2310
|
}
|
|
2309
2311
|
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
2310
2312
|
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
2311
2313
|
}
|
|
2312
2314
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
2313
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
2315
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
2314
2316
|
}
|
|
2315
2317
|
if (data.FunctionResponseTypes !== undefined && data.FunctionResponseTypes !== null) {
|
|
2316
2318
|
contents.FunctionResponseTypes = deserializeAws_restJson1FunctionResponseTypeList(data.FunctionResponseTypes, context);
|
|
2317
2319
|
}
|
|
2318
2320
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
2319
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
2321
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
2320
2322
|
}
|
|
2321
2323
|
if (data.LastProcessingResult !== undefined && data.LastProcessingResult !== null) {
|
|
2322
|
-
contents.LastProcessingResult = smithy_client_1.expectString(data.LastProcessingResult);
|
|
2324
|
+
contents.LastProcessingResult = (0, smithy_client_1.expectString)(data.LastProcessingResult);
|
|
2323
2325
|
}
|
|
2324
2326
|
if (data.MaximumBatchingWindowInSeconds !== undefined && data.MaximumBatchingWindowInSeconds !== null) {
|
|
2325
|
-
contents.MaximumBatchingWindowInSeconds = smithy_client_1.expectInt32(data.MaximumBatchingWindowInSeconds);
|
|
2327
|
+
contents.MaximumBatchingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumBatchingWindowInSeconds);
|
|
2326
2328
|
}
|
|
2327
2329
|
if (data.MaximumRecordAgeInSeconds !== undefined && data.MaximumRecordAgeInSeconds !== null) {
|
|
2328
|
-
contents.MaximumRecordAgeInSeconds = smithy_client_1.expectInt32(data.MaximumRecordAgeInSeconds);
|
|
2330
|
+
contents.MaximumRecordAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumRecordAgeInSeconds);
|
|
2329
2331
|
}
|
|
2330
2332
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
2331
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
2333
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
2332
2334
|
}
|
|
2333
2335
|
if (data.ParallelizationFactor !== undefined && data.ParallelizationFactor !== null) {
|
|
2334
|
-
contents.ParallelizationFactor = smithy_client_1.expectInt32(data.ParallelizationFactor);
|
|
2336
|
+
contents.ParallelizationFactor = (0, smithy_client_1.expectInt32)(data.ParallelizationFactor);
|
|
2335
2337
|
}
|
|
2336
2338
|
if (data.Queues !== undefined && data.Queues !== null) {
|
|
2337
2339
|
contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
|
|
@@ -2343,25 +2345,25 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
|
|
|
2343
2345
|
contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
|
|
2344
2346
|
}
|
|
2345
2347
|
if (data.StartingPosition !== undefined && data.StartingPosition !== null) {
|
|
2346
|
-
contents.StartingPosition = smithy_client_1.expectString(data.StartingPosition);
|
|
2348
|
+
contents.StartingPosition = (0, smithy_client_1.expectString)(data.StartingPosition);
|
|
2347
2349
|
}
|
|
2348
2350
|
if (data.StartingPositionTimestamp !== undefined && data.StartingPositionTimestamp !== null) {
|
|
2349
|
-
contents.StartingPositionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartingPositionTimestamp)));
|
|
2351
|
+
contents.StartingPositionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartingPositionTimestamp)));
|
|
2350
2352
|
}
|
|
2351
2353
|
if (data.State !== undefined && data.State !== null) {
|
|
2352
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
2354
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
2353
2355
|
}
|
|
2354
2356
|
if (data.StateTransitionReason !== undefined && data.StateTransitionReason !== null) {
|
|
2355
|
-
contents.StateTransitionReason = smithy_client_1.expectString(data.StateTransitionReason);
|
|
2357
|
+
contents.StateTransitionReason = (0, smithy_client_1.expectString)(data.StateTransitionReason);
|
|
2356
2358
|
}
|
|
2357
2359
|
if (data.Topics !== undefined && data.Topics !== null) {
|
|
2358
2360
|
contents.Topics = deserializeAws_restJson1Topics(data.Topics, context);
|
|
2359
2361
|
}
|
|
2360
2362
|
if (data.TumblingWindowInSeconds !== undefined && data.TumblingWindowInSeconds !== null) {
|
|
2361
|
-
contents.TumblingWindowInSeconds = smithy_client_1.expectInt32(data.TumblingWindowInSeconds);
|
|
2363
|
+
contents.TumblingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.TumblingWindowInSeconds);
|
|
2362
2364
|
}
|
|
2363
2365
|
if (data.UUID !== undefined && data.UUID !== null) {
|
|
2364
|
-
contents.UUID = smithy_client_1.expectString(data.UUID);
|
|
2366
|
+
contents.UUID = (0, smithy_client_1.expectString)(data.UUID);
|
|
2365
2367
|
}
|
|
2366
2368
|
return Promise.resolve(contents);
|
|
2367
2369
|
};
|
|
@@ -2397,7 +2399,7 @@ const deserializeAws_restJson1CreateEventSourceMappingCommandError = async (outp
|
|
|
2397
2399
|
$fault: "client",
|
|
2398
2400
|
$metadata: deserializeMetadata(output),
|
|
2399
2401
|
});
|
|
2400
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2401
2403
|
}
|
|
2402
2404
|
};
|
|
2403
2405
|
const deserializeAws_restJson1CreateFunctionCommand = async (output, context) => {
|
|
@@ -2439,21 +2441,21 @@ const deserializeAws_restJson1CreateFunctionCommand = async (output, context) =>
|
|
|
2439
2441
|
Version: undefined,
|
|
2440
2442
|
VpcConfig: undefined,
|
|
2441
2443
|
};
|
|
2442
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2444
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2443
2445
|
if (data.Architectures !== undefined && data.Architectures !== null) {
|
|
2444
2446
|
contents.Architectures = deserializeAws_restJson1ArchitecturesList(data.Architectures, context);
|
|
2445
2447
|
}
|
|
2446
2448
|
if (data.CodeSha256 !== undefined && data.CodeSha256 !== null) {
|
|
2447
|
-
contents.CodeSha256 = smithy_client_1.expectString(data.CodeSha256);
|
|
2449
|
+
contents.CodeSha256 = (0, smithy_client_1.expectString)(data.CodeSha256);
|
|
2448
2450
|
}
|
|
2449
2451
|
if (data.CodeSize !== undefined && data.CodeSize !== null) {
|
|
2450
|
-
contents.CodeSize = smithy_client_1.expectLong(data.CodeSize);
|
|
2452
|
+
contents.CodeSize = (0, smithy_client_1.expectLong)(data.CodeSize);
|
|
2451
2453
|
}
|
|
2452
2454
|
if (data.DeadLetterConfig !== undefined && data.DeadLetterConfig !== null) {
|
|
2453
2455
|
contents.DeadLetterConfig = deserializeAws_restJson1DeadLetterConfig(data.DeadLetterConfig, context);
|
|
2454
2456
|
}
|
|
2455
2457
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2456
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2458
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
2457
2459
|
}
|
|
2458
2460
|
if (data.Environment !== undefined && data.Environment !== null) {
|
|
2459
2461
|
contents.Environment = deserializeAws_restJson1EnvironmentResponse(data.Environment, context);
|
|
@@ -2462,76 +2464,76 @@ const deserializeAws_restJson1CreateFunctionCommand = async (output, context) =>
|
|
|
2462
2464
|
contents.FileSystemConfigs = deserializeAws_restJson1FileSystemConfigList(data.FileSystemConfigs, context);
|
|
2463
2465
|
}
|
|
2464
2466
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
2465
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
2467
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
2466
2468
|
}
|
|
2467
2469
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
2468
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
2470
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
2469
2471
|
}
|
|
2470
2472
|
if (data.Handler !== undefined && data.Handler !== null) {
|
|
2471
|
-
contents.Handler = smithy_client_1.expectString(data.Handler);
|
|
2473
|
+
contents.Handler = (0, smithy_client_1.expectString)(data.Handler);
|
|
2472
2474
|
}
|
|
2473
2475
|
if (data.ImageConfigResponse !== undefined && data.ImageConfigResponse !== null) {
|
|
2474
2476
|
contents.ImageConfigResponse = deserializeAws_restJson1ImageConfigResponse(data.ImageConfigResponse, context);
|
|
2475
2477
|
}
|
|
2476
2478
|
if (data.KMSKeyArn !== undefined && data.KMSKeyArn !== null) {
|
|
2477
|
-
contents.KMSKeyArn = smithy_client_1.expectString(data.KMSKeyArn);
|
|
2479
|
+
contents.KMSKeyArn = (0, smithy_client_1.expectString)(data.KMSKeyArn);
|
|
2478
2480
|
}
|
|
2479
2481
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
2480
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
2482
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
2481
2483
|
}
|
|
2482
2484
|
if (data.LastUpdateStatus !== undefined && data.LastUpdateStatus !== null) {
|
|
2483
|
-
contents.LastUpdateStatus = smithy_client_1.expectString(data.LastUpdateStatus);
|
|
2485
|
+
contents.LastUpdateStatus = (0, smithy_client_1.expectString)(data.LastUpdateStatus);
|
|
2484
2486
|
}
|
|
2485
2487
|
if (data.LastUpdateStatusReason !== undefined && data.LastUpdateStatusReason !== null) {
|
|
2486
|
-
contents.LastUpdateStatusReason = smithy_client_1.expectString(data.LastUpdateStatusReason);
|
|
2488
|
+
contents.LastUpdateStatusReason = (0, smithy_client_1.expectString)(data.LastUpdateStatusReason);
|
|
2487
2489
|
}
|
|
2488
2490
|
if (data.LastUpdateStatusReasonCode !== undefined && data.LastUpdateStatusReasonCode !== null) {
|
|
2489
|
-
contents.LastUpdateStatusReasonCode = smithy_client_1.expectString(data.LastUpdateStatusReasonCode);
|
|
2491
|
+
contents.LastUpdateStatusReasonCode = (0, smithy_client_1.expectString)(data.LastUpdateStatusReasonCode);
|
|
2490
2492
|
}
|
|
2491
2493
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
2492
2494
|
contents.Layers = deserializeAws_restJson1LayersReferenceList(data.Layers, context);
|
|
2493
2495
|
}
|
|
2494
2496
|
if (data.MasterArn !== undefined && data.MasterArn !== null) {
|
|
2495
|
-
contents.MasterArn = smithy_client_1.expectString(data.MasterArn);
|
|
2497
|
+
contents.MasterArn = (0, smithy_client_1.expectString)(data.MasterArn);
|
|
2496
2498
|
}
|
|
2497
2499
|
if (data.MemorySize !== undefined && data.MemorySize !== null) {
|
|
2498
|
-
contents.MemorySize = smithy_client_1.expectInt32(data.MemorySize);
|
|
2500
|
+
contents.MemorySize = (0, smithy_client_1.expectInt32)(data.MemorySize);
|
|
2499
2501
|
}
|
|
2500
2502
|
if (data.PackageType !== undefined && data.PackageType !== null) {
|
|
2501
|
-
contents.PackageType = smithy_client_1.expectString(data.PackageType);
|
|
2503
|
+
contents.PackageType = (0, smithy_client_1.expectString)(data.PackageType);
|
|
2502
2504
|
}
|
|
2503
2505
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
2504
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
2506
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
2505
2507
|
}
|
|
2506
2508
|
if (data.Role !== undefined && data.Role !== null) {
|
|
2507
|
-
contents.Role = smithy_client_1.expectString(data.Role);
|
|
2509
|
+
contents.Role = (0, smithy_client_1.expectString)(data.Role);
|
|
2508
2510
|
}
|
|
2509
2511
|
if (data.Runtime !== undefined && data.Runtime !== null) {
|
|
2510
|
-
contents.Runtime = smithy_client_1.expectString(data.Runtime);
|
|
2512
|
+
contents.Runtime = (0, smithy_client_1.expectString)(data.Runtime);
|
|
2511
2513
|
}
|
|
2512
2514
|
if (data.SigningJobArn !== undefined && data.SigningJobArn !== null) {
|
|
2513
|
-
contents.SigningJobArn = smithy_client_1.expectString(data.SigningJobArn);
|
|
2515
|
+
contents.SigningJobArn = (0, smithy_client_1.expectString)(data.SigningJobArn);
|
|
2514
2516
|
}
|
|
2515
2517
|
if (data.SigningProfileVersionArn !== undefined && data.SigningProfileVersionArn !== null) {
|
|
2516
|
-
contents.SigningProfileVersionArn = smithy_client_1.expectString(data.SigningProfileVersionArn);
|
|
2518
|
+
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
2517
2519
|
}
|
|
2518
2520
|
if (data.State !== undefined && data.State !== null) {
|
|
2519
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
2521
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
2520
2522
|
}
|
|
2521
2523
|
if (data.StateReason !== undefined && data.StateReason !== null) {
|
|
2522
|
-
contents.StateReason = smithy_client_1.expectString(data.StateReason);
|
|
2524
|
+
contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
|
|
2523
2525
|
}
|
|
2524
2526
|
if (data.StateReasonCode !== undefined && data.StateReasonCode !== null) {
|
|
2525
|
-
contents.StateReasonCode = smithy_client_1.expectString(data.StateReasonCode);
|
|
2527
|
+
contents.StateReasonCode = (0, smithy_client_1.expectString)(data.StateReasonCode);
|
|
2526
2528
|
}
|
|
2527
2529
|
if (data.Timeout !== undefined && data.Timeout !== null) {
|
|
2528
|
-
contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
|
|
2530
|
+
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
2529
2531
|
}
|
|
2530
2532
|
if (data.TracingConfig !== undefined && data.TracingConfig !== null) {
|
|
2531
2533
|
contents.TracingConfig = deserializeAws_restJson1TracingConfigResponse(data.TracingConfig, context);
|
|
2532
2534
|
}
|
|
2533
2535
|
if (data.Version !== undefined && data.Version !== null) {
|
|
2534
|
-
contents.Version = smithy_client_1.expectString(data.Version);
|
|
2536
|
+
contents.Version = (0, smithy_client_1.expectString)(data.Version);
|
|
2535
2537
|
}
|
|
2536
2538
|
if (data.VpcConfig !== undefined && data.VpcConfig !== null) {
|
|
2537
2539
|
contents.VpcConfig = deserializeAws_restJson1VpcConfigResponse(data.VpcConfig, context);
|
|
@@ -2582,7 +2584,7 @@ const deserializeAws_restJson1CreateFunctionCommandError = async (output, contex
|
|
|
2582
2584
|
$fault: "client",
|
|
2583
2585
|
$metadata: deserializeMetadata(output),
|
|
2584
2586
|
});
|
|
2585
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2587
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2586
2588
|
}
|
|
2587
2589
|
};
|
|
2588
2590
|
const deserializeAws_restJson1DeleteAliasCommand = async (output, context) => {
|
|
@@ -2624,7 +2626,7 @@ const deserializeAws_restJson1DeleteAliasCommandError = async (output, context)
|
|
|
2624
2626
|
$fault: "client",
|
|
2625
2627
|
$metadata: deserializeMetadata(output),
|
|
2626
2628
|
});
|
|
2627
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2629
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2628
2630
|
}
|
|
2629
2631
|
};
|
|
2630
2632
|
const deserializeAws_restJson1DeleteCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -2666,7 +2668,7 @@ const deserializeAws_restJson1DeleteCodeSigningConfigCommandError = async (outpu
|
|
|
2666
2668
|
$fault: "client",
|
|
2667
2669
|
$metadata: deserializeMetadata(output),
|
|
2668
2670
|
});
|
|
2669
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2671
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2670
2672
|
}
|
|
2671
2673
|
};
|
|
2672
2674
|
const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, context) => {
|
|
@@ -2699,45 +2701,45 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
|
|
|
2699
2701
|
TumblingWindowInSeconds: undefined,
|
|
2700
2702
|
UUID: undefined,
|
|
2701
2703
|
};
|
|
2702
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2704
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2703
2705
|
if (data.BatchSize !== undefined && data.BatchSize !== null) {
|
|
2704
|
-
contents.BatchSize = smithy_client_1.expectInt32(data.BatchSize);
|
|
2706
|
+
contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
|
|
2705
2707
|
}
|
|
2706
2708
|
if (data.BisectBatchOnFunctionError !== undefined && data.BisectBatchOnFunctionError !== null) {
|
|
2707
|
-
contents.BisectBatchOnFunctionError = smithy_client_1.expectBoolean(data.BisectBatchOnFunctionError);
|
|
2709
|
+
contents.BisectBatchOnFunctionError = (0, smithy_client_1.expectBoolean)(data.BisectBatchOnFunctionError);
|
|
2708
2710
|
}
|
|
2709
2711
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
2710
2712
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
2711
2713
|
}
|
|
2712
2714
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
2713
|
-
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
2715
|
+
contents.EventSourceArn = (0, smithy_client_1.expectString)(data.EventSourceArn);
|
|
2714
2716
|
}
|
|
2715
2717
|
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
2716
2718
|
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
2717
2719
|
}
|
|
2718
2720
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
2719
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
2721
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
2720
2722
|
}
|
|
2721
2723
|
if (data.FunctionResponseTypes !== undefined && data.FunctionResponseTypes !== null) {
|
|
2722
2724
|
contents.FunctionResponseTypes = deserializeAws_restJson1FunctionResponseTypeList(data.FunctionResponseTypes, context);
|
|
2723
2725
|
}
|
|
2724
2726
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
2725
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
2727
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
2726
2728
|
}
|
|
2727
2729
|
if (data.LastProcessingResult !== undefined && data.LastProcessingResult !== null) {
|
|
2728
|
-
contents.LastProcessingResult = smithy_client_1.expectString(data.LastProcessingResult);
|
|
2730
|
+
contents.LastProcessingResult = (0, smithy_client_1.expectString)(data.LastProcessingResult);
|
|
2729
2731
|
}
|
|
2730
2732
|
if (data.MaximumBatchingWindowInSeconds !== undefined && data.MaximumBatchingWindowInSeconds !== null) {
|
|
2731
|
-
contents.MaximumBatchingWindowInSeconds = smithy_client_1.expectInt32(data.MaximumBatchingWindowInSeconds);
|
|
2733
|
+
contents.MaximumBatchingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumBatchingWindowInSeconds);
|
|
2732
2734
|
}
|
|
2733
2735
|
if (data.MaximumRecordAgeInSeconds !== undefined && data.MaximumRecordAgeInSeconds !== null) {
|
|
2734
|
-
contents.MaximumRecordAgeInSeconds = smithy_client_1.expectInt32(data.MaximumRecordAgeInSeconds);
|
|
2736
|
+
contents.MaximumRecordAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumRecordAgeInSeconds);
|
|
2735
2737
|
}
|
|
2736
2738
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
2737
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
2739
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
2738
2740
|
}
|
|
2739
2741
|
if (data.ParallelizationFactor !== undefined && data.ParallelizationFactor !== null) {
|
|
2740
|
-
contents.ParallelizationFactor = smithy_client_1.expectInt32(data.ParallelizationFactor);
|
|
2742
|
+
contents.ParallelizationFactor = (0, smithy_client_1.expectInt32)(data.ParallelizationFactor);
|
|
2741
2743
|
}
|
|
2742
2744
|
if (data.Queues !== undefined && data.Queues !== null) {
|
|
2743
2745
|
contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
|
|
@@ -2749,25 +2751,25 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
|
|
|
2749
2751
|
contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
|
|
2750
2752
|
}
|
|
2751
2753
|
if (data.StartingPosition !== undefined && data.StartingPosition !== null) {
|
|
2752
|
-
contents.StartingPosition = smithy_client_1.expectString(data.StartingPosition);
|
|
2754
|
+
contents.StartingPosition = (0, smithy_client_1.expectString)(data.StartingPosition);
|
|
2753
2755
|
}
|
|
2754
2756
|
if (data.StartingPositionTimestamp !== undefined && data.StartingPositionTimestamp !== null) {
|
|
2755
|
-
contents.StartingPositionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartingPositionTimestamp)));
|
|
2757
|
+
contents.StartingPositionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartingPositionTimestamp)));
|
|
2756
2758
|
}
|
|
2757
2759
|
if (data.State !== undefined && data.State !== null) {
|
|
2758
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
2760
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
2759
2761
|
}
|
|
2760
2762
|
if (data.StateTransitionReason !== undefined && data.StateTransitionReason !== null) {
|
|
2761
|
-
contents.StateTransitionReason = smithy_client_1.expectString(data.StateTransitionReason);
|
|
2763
|
+
contents.StateTransitionReason = (0, smithy_client_1.expectString)(data.StateTransitionReason);
|
|
2762
2764
|
}
|
|
2763
2765
|
if (data.Topics !== undefined && data.Topics !== null) {
|
|
2764
2766
|
contents.Topics = deserializeAws_restJson1Topics(data.Topics, context);
|
|
2765
2767
|
}
|
|
2766
2768
|
if (data.TumblingWindowInSeconds !== undefined && data.TumblingWindowInSeconds !== null) {
|
|
2767
|
-
contents.TumblingWindowInSeconds = smithy_client_1.expectInt32(data.TumblingWindowInSeconds);
|
|
2769
|
+
contents.TumblingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.TumblingWindowInSeconds);
|
|
2768
2770
|
}
|
|
2769
2771
|
if (data.UUID !== undefined && data.UUID !== null) {
|
|
2770
|
-
contents.UUID = smithy_client_1.expectString(data.UUID);
|
|
2772
|
+
contents.UUID = (0, smithy_client_1.expectString)(data.UUID);
|
|
2771
2773
|
}
|
|
2772
2774
|
return Promise.resolve(contents);
|
|
2773
2775
|
};
|
|
@@ -2803,7 +2805,7 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommandError = async (outp
|
|
|
2803
2805
|
$fault: "client",
|
|
2804
2806
|
$metadata: deserializeMetadata(output),
|
|
2805
2807
|
});
|
|
2806
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2808
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2807
2809
|
}
|
|
2808
2810
|
};
|
|
2809
2811
|
const deserializeAws_restJson1DeleteFunctionCommand = async (output, context) => {
|
|
@@ -2848,7 +2850,7 @@ const deserializeAws_restJson1DeleteFunctionCommandError = async (output, contex
|
|
|
2848
2850
|
$fault: "client",
|
|
2849
2851
|
$metadata: deserializeMetadata(output),
|
|
2850
2852
|
});
|
|
2851
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2853
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2852
2854
|
}
|
|
2853
2855
|
};
|
|
2854
2856
|
const deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -2896,7 +2898,7 @@ const deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommandError = asyn
|
|
|
2896
2898
|
$fault: "client",
|
|
2897
2899
|
$metadata: deserializeMetadata(output),
|
|
2898
2900
|
});
|
|
2899
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2900
2902
|
}
|
|
2901
2903
|
};
|
|
2902
2904
|
const deserializeAws_restJson1DeleteFunctionConcurrencyCommand = async (output, context) => {
|
|
@@ -2941,7 +2943,7 @@ const deserializeAws_restJson1DeleteFunctionConcurrencyCommandError = async (out
|
|
|
2941
2943
|
$fault: "client",
|
|
2942
2944
|
$metadata: deserializeMetadata(output),
|
|
2943
2945
|
});
|
|
2944
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2946
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2945
2947
|
}
|
|
2946
2948
|
};
|
|
2947
2949
|
const deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = async (output, context) => {
|
|
@@ -2986,7 +2988,7 @@ const deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommandError = asyn
|
|
|
2986
2988
|
$fault: "client",
|
|
2987
2989
|
$metadata: deserializeMetadata(output),
|
|
2988
2990
|
});
|
|
2989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2991
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2990
2992
|
}
|
|
2991
2993
|
};
|
|
2992
2994
|
const deserializeAws_restJson1DeleteLayerVersionCommand = async (output, context) => {
|
|
@@ -3022,7 +3024,7 @@ const deserializeAws_restJson1DeleteLayerVersionCommandError = async (output, co
|
|
|
3022
3024
|
$fault: "client",
|
|
3023
3025
|
$metadata: deserializeMetadata(output),
|
|
3024
3026
|
});
|
|
3025
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3027
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3026
3028
|
}
|
|
3027
3029
|
};
|
|
3028
3030
|
const deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = async (output, context) => {
|
|
@@ -3067,7 +3069,7 @@ const deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommandError = a
|
|
|
3067
3069
|
$fault: "client",
|
|
3068
3070
|
$metadata: deserializeMetadata(output),
|
|
3069
3071
|
});
|
|
3070
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3072
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3071
3073
|
}
|
|
3072
3074
|
};
|
|
3073
3075
|
const deserializeAws_restJson1GetAccountSettingsCommand = async (output, context) => {
|
|
@@ -3079,7 +3081,7 @@ const deserializeAws_restJson1GetAccountSettingsCommand = async (output, context
|
|
|
3079
3081
|
AccountLimit: undefined,
|
|
3080
3082
|
AccountUsage: undefined,
|
|
3081
3083
|
};
|
|
3082
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3084
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3083
3085
|
if (data.AccountLimit !== undefined && data.AccountLimit !== null) {
|
|
3084
3086
|
contents.AccountLimit = deserializeAws_restJson1AccountLimit(data.AccountLimit, context);
|
|
3085
3087
|
}
|
|
@@ -3111,7 +3113,7 @@ const deserializeAws_restJson1GetAccountSettingsCommandError = async (output, co
|
|
|
3111
3113
|
$fault: "client",
|
|
3112
3114
|
$metadata: deserializeMetadata(output),
|
|
3113
3115
|
});
|
|
3114
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3116
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3115
3117
|
}
|
|
3116
3118
|
};
|
|
3117
3119
|
const deserializeAws_restJson1GetAliasCommand = async (output, context) => {
|
|
@@ -3127,21 +3129,21 @@ const deserializeAws_restJson1GetAliasCommand = async (output, context) => {
|
|
|
3127
3129
|
RevisionId: undefined,
|
|
3128
3130
|
RoutingConfig: undefined,
|
|
3129
3131
|
};
|
|
3130
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3132
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3131
3133
|
if (data.AliasArn !== undefined && data.AliasArn !== null) {
|
|
3132
|
-
contents.AliasArn = smithy_client_1.expectString(data.AliasArn);
|
|
3134
|
+
contents.AliasArn = (0, smithy_client_1.expectString)(data.AliasArn);
|
|
3133
3135
|
}
|
|
3134
3136
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3135
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3137
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
3136
3138
|
}
|
|
3137
3139
|
if (data.FunctionVersion !== undefined && data.FunctionVersion !== null) {
|
|
3138
|
-
contents.FunctionVersion = smithy_client_1.expectString(data.FunctionVersion);
|
|
3140
|
+
contents.FunctionVersion = (0, smithy_client_1.expectString)(data.FunctionVersion);
|
|
3139
3141
|
}
|
|
3140
3142
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3141
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3143
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
3142
3144
|
}
|
|
3143
3145
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
3144
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
3146
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
3145
3147
|
}
|
|
3146
3148
|
if (data.RoutingConfig !== undefined && data.RoutingConfig !== null) {
|
|
3147
3149
|
contents.RoutingConfig = deserializeAws_restJson1AliasRoutingConfiguration(data.RoutingConfig, context);
|
|
@@ -3177,7 +3179,7 @@ const deserializeAws_restJson1GetAliasCommandError = async (output, context) =>
|
|
|
3177
3179
|
$fault: "client",
|
|
3178
3180
|
$metadata: deserializeMetadata(output),
|
|
3179
3181
|
});
|
|
3180
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3182
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3181
3183
|
}
|
|
3182
3184
|
};
|
|
3183
3185
|
const deserializeAws_restJson1GetCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -3188,7 +3190,7 @@ const deserializeAws_restJson1GetCodeSigningConfigCommand = async (output, conte
|
|
|
3188
3190
|
$metadata: deserializeMetadata(output),
|
|
3189
3191
|
CodeSigningConfig: undefined,
|
|
3190
3192
|
};
|
|
3191
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3193
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3192
3194
|
if (data.CodeSigningConfig !== undefined && data.CodeSigningConfig !== null) {
|
|
3193
3195
|
contents.CodeSigningConfig = deserializeAws_restJson1CodeSigningConfig(data.CodeSigningConfig, context);
|
|
3194
3196
|
}
|
|
@@ -3220,7 +3222,7 @@ const deserializeAws_restJson1GetCodeSigningConfigCommandError = async (output,
|
|
|
3220
3222
|
$fault: "client",
|
|
3221
3223
|
$metadata: deserializeMetadata(output),
|
|
3222
3224
|
});
|
|
3223
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3225
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3224
3226
|
}
|
|
3225
3227
|
};
|
|
3226
3228
|
const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, context) => {
|
|
@@ -3253,45 +3255,45 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
|
|
|
3253
3255
|
TumblingWindowInSeconds: undefined,
|
|
3254
3256
|
UUID: undefined,
|
|
3255
3257
|
};
|
|
3256
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3258
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3257
3259
|
if (data.BatchSize !== undefined && data.BatchSize !== null) {
|
|
3258
|
-
contents.BatchSize = smithy_client_1.expectInt32(data.BatchSize);
|
|
3260
|
+
contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
|
|
3259
3261
|
}
|
|
3260
3262
|
if (data.BisectBatchOnFunctionError !== undefined && data.BisectBatchOnFunctionError !== null) {
|
|
3261
|
-
contents.BisectBatchOnFunctionError = smithy_client_1.expectBoolean(data.BisectBatchOnFunctionError);
|
|
3263
|
+
contents.BisectBatchOnFunctionError = (0, smithy_client_1.expectBoolean)(data.BisectBatchOnFunctionError);
|
|
3262
3264
|
}
|
|
3263
3265
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
3264
3266
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
3265
3267
|
}
|
|
3266
3268
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
3267
|
-
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
3269
|
+
contents.EventSourceArn = (0, smithy_client_1.expectString)(data.EventSourceArn);
|
|
3268
3270
|
}
|
|
3269
3271
|
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
3270
3272
|
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
3271
3273
|
}
|
|
3272
3274
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
3273
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
3275
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
3274
3276
|
}
|
|
3275
3277
|
if (data.FunctionResponseTypes !== undefined && data.FunctionResponseTypes !== null) {
|
|
3276
3278
|
contents.FunctionResponseTypes = deserializeAws_restJson1FunctionResponseTypeList(data.FunctionResponseTypes, context);
|
|
3277
3279
|
}
|
|
3278
3280
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
3279
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
3281
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
3280
3282
|
}
|
|
3281
3283
|
if (data.LastProcessingResult !== undefined && data.LastProcessingResult !== null) {
|
|
3282
|
-
contents.LastProcessingResult = smithy_client_1.expectString(data.LastProcessingResult);
|
|
3284
|
+
contents.LastProcessingResult = (0, smithy_client_1.expectString)(data.LastProcessingResult);
|
|
3283
3285
|
}
|
|
3284
3286
|
if (data.MaximumBatchingWindowInSeconds !== undefined && data.MaximumBatchingWindowInSeconds !== null) {
|
|
3285
|
-
contents.MaximumBatchingWindowInSeconds = smithy_client_1.expectInt32(data.MaximumBatchingWindowInSeconds);
|
|
3287
|
+
contents.MaximumBatchingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumBatchingWindowInSeconds);
|
|
3286
3288
|
}
|
|
3287
3289
|
if (data.MaximumRecordAgeInSeconds !== undefined && data.MaximumRecordAgeInSeconds !== null) {
|
|
3288
|
-
contents.MaximumRecordAgeInSeconds = smithy_client_1.expectInt32(data.MaximumRecordAgeInSeconds);
|
|
3290
|
+
contents.MaximumRecordAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumRecordAgeInSeconds);
|
|
3289
3291
|
}
|
|
3290
3292
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
3291
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
3293
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
3292
3294
|
}
|
|
3293
3295
|
if (data.ParallelizationFactor !== undefined && data.ParallelizationFactor !== null) {
|
|
3294
|
-
contents.ParallelizationFactor = smithy_client_1.expectInt32(data.ParallelizationFactor);
|
|
3296
|
+
contents.ParallelizationFactor = (0, smithy_client_1.expectInt32)(data.ParallelizationFactor);
|
|
3295
3297
|
}
|
|
3296
3298
|
if (data.Queues !== undefined && data.Queues !== null) {
|
|
3297
3299
|
contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
|
|
@@ -3303,25 +3305,25 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
|
|
|
3303
3305
|
contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
|
|
3304
3306
|
}
|
|
3305
3307
|
if (data.StartingPosition !== undefined && data.StartingPosition !== null) {
|
|
3306
|
-
contents.StartingPosition = smithy_client_1.expectString(data.StartingPosition);
|
|
3308
|
+
contents.StartingPosition = (0, smithy_client_1.expectString)(data.StartingPosition);
|
|
3307
3309
|
}
|
|
3308
3310
|
if (data.StartingPositionTimestamp !== undefined && data.StartingPositionTimestamp !== null) {
|
|
3309
|
-
contents.StartingPositionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartingPositionTimestamp)));
|
|
3311
|
+
contents.StartingPositionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartingPositionTimestamp)));
|
|
3310
3312
|
}
|
|
3311
3313
|
if (data.State !== undefined && data.State !== null) {
|
|
3312
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
3314
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
3313
3315
|
}
|
|
3314
3316
|
if (data.StateTransitionReason !== undefined && data.StateTransitionReason !== null) {
|
|
3315
|
-
contents.StateTransitionReason = smithy_client_1.expectString(data.StateTransitionReason);
|
|
3317
|
+
contents.StateTransitionReason = (0, smithy_client_1.expectString)(data.StateTransitionReason);
|
|
3316
3318
|
}
|
|
3317
3319
|
if (data.Topics !== undefined && data.Topics !== null) {
|
|
3318
3320
|
contents.Topics = deserializeAws_restJson1Topics(data.Topics, context);
|
|
3319
3321
|
}
|
|
3320
3322
|
if (data.TumblingWindowInSeconds !== undefined && data.TumblingWindowInSeconds !== null) {
|
|
3321
|
-
contents.TumblingWindowInSeconds = smithy_client_1.expectInt32(data.TumblingWindowInSeconds);
|
|
3323
|
+
contents.TumblingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.TumblingWindowInSeconds);
|
|
3322
3324
|
}
|
|
3323
3325
|
if (data.UUID !== undefined && data.UUID !== null) {
|
|
3324
|
-
contents.UUID = smithy_client_1.expectString(data.UUID);
|
|
3326
|
+
contents.UUID = (0, smithy_client_1.expectString)(data.UUID);
|
|
3325
3327
|
}
|
|
3326
3328
|
return Promise.resolve(contents);
|
|
3327
3329
|
};
|
|
@@ -3354,7 +3356,7 @@ const deserializeAws_restJson1GetEventSourceMappingCommandError = async (output,
|
|
|
3354
3356
|
$fault: "client",
|
|
3355
3357
|
$metadata: deserializeMetadata(output),
|
|
3356
3358
|
});
|
|
3357
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3359
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3358
3360
|
}
|
|
3359
3361
|
};
|
|
3360
3362
|
const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
|
|
@@ -3368,7 +3370,7 @@ const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
|
|
|
3368
3370
|
Configuration: undefined,
|
|
3369
3371
|
Tags: undefined,
|
|
3370
3372
|
};
|
|
3371
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3373
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3372
3374
|
if (data.Code !== undefined && data.Code !== null) {
|
|
3373
3375
|
contents.Code = deserializeAws_restJson1FunctionCodeLocation(data.Code, context);
|
|
3374
3376
|
}
|
|
@@ -3412,7 +3414,7 @@ const deserializeAws_restJson1GetFunctionCommandError = async (output, context)
|
|
|
3412
3414
|
$fault: "client",
|
|
3413
3415
|
$metadata: deserializeMetadata(output),
|
|
3414
3416
|
});
|
|
3415
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3417
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3416
3418
|
}
|
|
3417
3419
|
};
|
|
3418
3420
|
const deserializeAws_restJson1GetFunctionCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -3424,12 +3426,12 @@ const deserializeAws_restJson1GetFunctionCodeSigningConfigCommand = async (outpu
|
|
|
3424
3426
|
CodeSigningConfigArn: undefined,
|
|
3425
3427
|
FunctionName: undefined,
|
|
3426
3428
|
};
|
|
3427
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3429
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3428
3430
|
if (data.CodeSigningConfigArn !== undefined && data.CodeSigningConfigArn !== null) {
|
|
3429
|
-
contents.CodeSigningConfigArn = smithy_client_1.expectString(data.CodeSigningConfigArn);
|
|
3431
|
+
contents.CodeSigningConfigArn = (0, smithy_client_1.expectString)(data.CodeSigningConfigArn);
|
|
3430
3432
|
}
|
|
3431
3433
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
3432
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
3434
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
3433
3435
|
}
|
|
3434
3436
|
return Promise.resolve(contents);
|
|
3435
3437
|
};
|
|
@@ -3462,7 +3464,7 @@ const deserializeAws_restJson1GetFunctionCodeSigningConfigCommandError = async (
|
|
|
3462
3464
|
$fault: "client",
|
|
3463
3465
|
$metadata: deserializeMetadata(output),
|
|
3464
3466
|
});
|
|
3465
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3467
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3466
3468
|
}
|
|
3467
3469
|
};
|
|
3468
3470
|
const deserializeAws_restJson1GetFunctionConcurrencyCommand = async (output, context) => {
|
|
@@ -3473,9 +3475,9 @@ const deserializeAws_restJson1GetFunctionConcurrencyCommand = async (output, con
|
|
|
3473
3475
|
$metadata: deserializeMetadata(output),
|
|
3474
3476
|
ReservedConcurrentExecutions: undefined,
|
|
3475
3477
|
};
|
|
3476
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3478
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3477
3479
|
if (data.ReservedConcurrentExecutions !== undefined && data.ReservedConcurrentExecutions !== null) {
|
|
3478
|
-
contents.ReservedConcurrentExecutions = smithy_client_1.expectInt32(data.ReservedConcurrentExecutions);
|
|
3480
|
+
contents.ReservedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.ReservedConcurrentExecutions);
|
|
3479
3481
|
}
|
|
3480
3482
|
return Promise.resolve(contents);
|
|
3481
3483
|
};
|
|
@@ -3508,7 +3510,7 @@ const deserializeAws_restJson1GetFunctionConcurrencyCommandError = async (output
|
|
|
3508
3510
|
$fault: "client",
|
|
3509
3511
|
$metadata: deserializeMetadata(output),
|
|
3510
3512
|
});
|
|
3511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3513
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3512
3514
|
}
|
|
3513
3515
|
};
|
|
3514
3516
|
const deserializeAws_restJson1GetFunctionConfigurationCommand = async (output, context) => {
|
|
@@ -3550,21 +3552,21 @@ const deserializeAws_restJson1GetFunctionConfigurationCommand = async (output, c
|
|
|
3550
3552
|
Version: undefined,
|
|
3551
3553
|
VpcConfig: undefined,
|
|
3552
3554
|
};
|
|
3553
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3555
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3554
3556
|
if (data.Architectures !== undefined && data.Architectures !== null) {
|
|
3555
3557
|
contents.Architectures = deserializeAws_restJson1ArchitecturesList(data.Architectures, context);
|
|
3556
3558
|
}
|
|
3557
3559
|
if (data.CodeSha256 !== undefined && data.CodeSha256 !== null) {
|
|
3558
|
-
contents.CodeSha256 = smithy_client_1.expectString(data.CodeSha256);
|
|
3560
|
+
contents.CodeSha256 = (0, smithy_client_1.expectString)(data.CodeSha256);
|
|
3559
3561
|
}
|
|
3560
3562
|
if (data.CodeSize !== undefined && data.CodeSize !== null) {
|
|
3561
|
-
contents.CodeSize = smithy_client_1.expectLong(data.CodeSize);
|
|
3563
|
+
contents.CodeSize = (0, smithy_client_1.expectLong)(data.CodeSize);
|
|
3562
3564
|
}
|
|
3563
3565
|
if (data.DeadLetterConfig !== undefined && data.DeadLetterConfig !== null) {
|
|
3564
3566
|
contents.DeadLetterConfig = deserializeAws_restJson1DeadLetterConfig(data.DeadLetterConfig, context);
|
|
3565
3567
|
}
|
|
3566
3568
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3567
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3569
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
3568
3570
|
}
|
|
3569
3571
|
if (data.Environment !== undefined && data.Environment !== null) {
|
|
3570
3572
|
contents.Environment = deserializeAws_restJson1EnvironmentResponse(data.Environment, context);
|
|
@@ -3573,76 +3575,76 @@ const deserializeAws_restJson1GetFunctionConfigurationCommand = async (output, c
|
|
|
3573
3575
|
contents.FileSystemConfigs = deserializeAws_restJson1FileSystemConfigList(data.FileSystemConfigs, context);
|
|
3574
3576
|
}
|
|
3575
3577
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
3576
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
3578
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
3577
3579
|
}
|
|
3578
3580
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
3579
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
3581
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
3580
3582
|
}
|
|
3581
3583
|
if (data.Handler !== undefined && data.Handler !== null) {
|
|
3582
|
-
contents.Handler = smithy_client_1.expectString(data.Handler);
|
|
3584
|
+
contents.Handler = (0, smithy_client_1.expectString)(data.Handler);
|
|
3583
3585
|
}
|
|
3584
3586
|
if (data.ImageConfigResponse !== undefined && data.ImageConfigResponse !== null) {
|
|
3585
3587
|
contents.ImageConfigResponse = deserializeAws_restJson1ImageConfigResponse(data.ImageConfigResponse, context);
|
|
3586
3588
|
}
|
|
3587
3589
|
if (data.KMSKeyArn !== undefined && data.KMSKeyArn !== null) {
|
|
3588
|
-
contents.KMSKeyArn = smithy_client_1.expectString(data.KMSKeyArn);
|
|
3590
|
+
contents.KMSKeyArn = (0, smithy_client_1.expectString)(data.KMSKeyArn);
|
|
3589
3591
|
}
|
|
3590
3592
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
3591
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
3593
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
3592
3594
|
}
|
|
3593
3595
|
if (data.LastUpdateStatus !== undefined && data.LastUpdateStatus !== null) {
|
|
3594
|
-
contents.LastUpdateStatus = smithy_client_1.expectString(data.LastUpdateStatus);
|
|
3596
|
+
contents.LastUpdateStatus = (0, smithy_client_1.expectString)(data.LastUpdateStatus);
|
|
3595
3597
|
}
|
|
3596
3598
|
if (data.LastUpdateStatusReason !== undefined && data.LastUpdateStatusReason !== null) {
|
|
3597
|
-
contents.LastUpdateStatusReason = smithy_client_1.expectString(data.LastUpdateStatusReason);
|
|
3599
|
+
contents.LastUpdateStatusReason = (0, smithy_client_1.expectString)(data.LastUpdateStatusReason);
|
|
3598
3600
|
}
|
|
3599
3601
|
if (data.LastUpdateStatusReasonCode !== undefined && data.LastUpdateStatusReasonCode !== null) {
|
|
3600
|
-
contents.LastUpdateStatusReasonCode = smithy_client_1.expectString(data.LastUpdateStatusReasonCode);
|
|
3602
|
+
contents.LastUpdateStatusReasonCode = (0, smithy_client_1.expectString)(data.LastUpdateStatusReasonCode);
|
|
3601
3603
|
}
|
|
3602
3604
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
3603
3605
|
contents.Layers = deserializeAws_restJson1LayersReferenceList(data.Layers, context);
|
|
3604
3606
|
}
|
|
3605
3607
|
if (data.MasterArn !== undefined && data.MasterArn !== null) {
|
|
3606
|
-
contents.MasterArn = smithy_client_1.expectString(data.MasterArn);
|
|
3608
|
+
contents.MasterArn = (0, smithy_client_1.expectString)(data.MasterArn);
|
|
3607
3609
|
}
|
|
3608
3610
|
if (data.MemorySize !== undefined && data.MemorySize !== null) {
|
|
3609
|
-
contents.MemorySize = smithy_client_1.expectInt32(data.MemorySize);
|
|
3611
|
+
contents.MemorySize = (0, smithy_client_1.expectInt32)(data.MemorySize);
|
|
3610
3612
|
}
|
|
3611
3613
|
if (data.PackageType !== undefined && data.PackageType !== null) {
|
|
3612
|
-
contents.PackageType = smithy_client_1.expectString(data.PackageType);
|
|
3614
|
+
contents.PackageType = (0, smithy_client_1.expectString)(data.PackageType);
|
|
3613
3615
|
}
|
|
3614
3616
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
3615
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
3617
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
3616
3618
|
}
|
|
3617
3619
|
if (data.Role !== undefined && data.Role !== null) {
|
|
3618
|
-
contents.Role = smithy_client_1.expectString(data.Role);
|
|
3620
|
+
contents.Role = (0, smithy_client_1.expectString)(data.Role);
|
|
3619
3621
|
}
|
|
3620
3622
|
if (data.Runtime !== undefined && data.Runtime !== null) {
|
|
3621
|
-
contents.Runtime = smithy_client_1.expectString(data.Runtime);
|
|
3623
|
+
contents.Runtime = (0, smithy_client_1.expectString)(data.Runtime);
|
|
3622
3624
|
}
|
|
3623
3625
|
if (data.SigningJobArn !== undefined && data.SigningJobArn !== null) {
|
|
3624
|
-
contents.SigningJobArn = smithy_client_1.expectString(data.SigningJobArn);
|
|
3626
|
+
contents.SigningJobArn = (0, smithy_client_1.expectString)(data.SigningJobArn);
|
|
3625
3627
|
}
|
|
3626
3628
|
if (data.SigningProfileVersionArn !== undefined && data.SigningProfileVersionArn !== null) {
|
|
3627
|
-
contents.SigningProfileVersionArn = smithy_client_1.expectString(data.SigningProfileVersionArn);
|
|
3629
|
+
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
3628
3630
|
}
|
|
3629
3631
|
if (data.State !== undefined && data.State !== null) {
|
|
3630
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
3632
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
3631
3633
|
}
|
|
3632
3634
|
if (data.StateReason !== undefined && data.StateReason !== null) {
|
|
3633
|
-
contents.StateReason = smithy_client_1.expectString(data.StateReason);
|
|
3635
|
+
contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
|
|
3634
3636
|
}
|
|
3635
3637
|
if (data.StateReasonCode !== undefined && data.StateReasonCode !== null) {
|
|
3636
|
-
contents.StateReasonCode = smithy_client_1.expectString(data.StateReasonCode);
|
|
3638
|
+
contents.StateReasonCode = (0, smithy_client_1.expectString)(data.StateReasonCode);
|
|
3637
3639
|
}
|
|
3638
3640
|
if (data.Timeout !== undefined && data.Timeout !== null) {
|
|
3639
|
-
contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
|
|
3641
|
+
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
3640
3642
|
}
|
|
3641
3643
|
if (data.TracingConfig !== undefined && data.TracingConfig !== null) {
|
|
3642
3644
|
contents.TracingConfig = deserializeAws_restJson1TracingConfigResponse(data.TracingConfig, context);
|
|
3643
3645
|
}
|
|
3644
3646
|
if (data.Version !== undefined && data.Version !== null) {
|
|
3645
|
-
contents.Version = smithy_client_1.expectString(data.Version);
|
|
3647
|
+
contents.Version = (0, smithy_client_1.expectString)(data.Version);
|
|
3646
3648
|
}
|
|
3647
3649
|
if (data.VpcConfig !== undefined && data.VpcConfig !== null) {
|
|
3648
3650
|
contents.VpcConfig = deserializeAws_restJson1VpcConfigResponse(data.VpcConfig, context);
|
|
@@ -3678,7 +3680,7 @@ const deserializeAws_restJson1GetFunctionConfigurationCommandError = async (outp
|
|
|
3678
3680
|
$fault: "client",
|
|
3679
3681
|
$metadata: deserializeMetadata(output),
|
|
3680
3682
|
});
|
|
3681
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3683
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3682
3684
|
}
|
|
3683
3685
|
};
|
|
3684
3686
|
const deserializeAws_restJson1GetFunctionEventInvokeConfigCommand = async (output, context) => {
|
|
@@ -3693,21 +3695,21 @@ const deserializeAws_restJson1GetFunctionEventInvokeConfigCommand = async (outpu
|
|
|
3693
3695
|
MaximumEventAgeInSeconds: undefined,
|
|
3694
3696
|
MaximumRetryAttempts: undefined,
|
|
3695
3697
|
};
|
|
3696
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3698
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3697
3699
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
3698
3700
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
3699
3701
|
}
|
|
3700
3702
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
3701
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
3703
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
3702
3704
|
}
|
|
3703
3705
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
3704
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
3706
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
3705
3707
|
}
|
|
3706
3708
|
if (data.MaximumEventAgeInSeconds !== undefined && data.MaximumEventAgeInSeconds !== null) {
|
|
3707
|
-
contents.MaximumEventAgeInSeconds = smithy_client_1.expectInt32(data.MaximumEventAgeInSeconds);
|
|
3709
|
+
contents.MaximumEventAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumEventAgeInSeconds);
|
|
3708
3710
|
}
|
|
3709
3711
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
3710
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
3712
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
3711
3713
|
}
|
|
3712
3714
|
return Promise.resolve(contents);
|
|
3713
3715
|
};
|
|
@@ -3740,7 +3742,7 @@ const deserializeAws_restJson1GetFunctionEventInvokeConfigCommandError = async (
|
|
|
3740
3742
|
$fault: "client",
|
|
3741
3743
|
$metadata: deserializeMetadata(output),
|
|
3742
3744
|
});
|
|
3743
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3745
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3744
3746
|
}
|
|
3745
3747
|
};
|
|
3746
3748
|
const deserializeAws_restJson1GetLayerVersionCommand = async (output, context) => {
|
|
@@ -3759,7 +3761,7 @@ const deserializeAws_restJson1GetLayerVersionCommand = async (output, context) =
|
|
|
3759
3761
|
LicenseInfo: undefined,
|
|
3760
3762
|
Version: undefined,
|
|
3761
3763
|
};
|
|
3762
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3764
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3763
3765
|
if (data.CompatibleArchitectures !== undefined && data.CompatibleArchitectures !== null) {
|
|
3764
3766
|
contents.CompatibleArchitectures = deserializeAws_restJson1CompatibleArchitectures(data.CompatibleArchitectures, context);
|
|
3765
3767
|
}
|
|
@@ -3770,22 +3772,22 @@ const deserializeAws_restJson1GetLayerVersionCommand = async (output, context) =
|
|
|
3770
3772
|
contents.Content = deserializeAws_restJson1LayerVersionContentOutput(data.Content, context);
|
|
3771
3773
|
}
|
|
3772
3774
|
if (data.CreatedDate !== undefined && data.CreatedDate !== null) {
|
|
3773
|
-
contents.CreatedDate = smithy_client_1.expectString(data.CreatedDate);
|
|
3775
|
+
contents.CreatedDate = (0, smithy_client_1.expectString)(data.CreatedDate);
|
|
3774
3776
|
}
|
|
3775
3777
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3776
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3778
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
3777
3779
|
}
|
|
3778
3780
|
if (data.LayerArn !== undefined && data.LayerArn !== null) {
|
|
3779
|
-
contents.LayerArn = smithy_client_1.expectString(data.LayerArn);
|
|
3781
|
+
contents.LayerArn = (0, smithy_client_1.expectString)(data.LayerArn);
|
|
3780
3782
|
}
|
|
3781
3783
|
if (data.LayerVersionArn !== undefined && data.LayerVersionArn !== null) {
|
|
3782
|
-
contents.LayerVersionArn = smithy_client_1.expectString(data.LayerVersionArn);
|
|
3784
|
+
contents.LayerVersionArn = (0, smithy_client_1.expectString)(data.LayerVersionArn);
|
|
3783
3785
|
}
|
|
3784
3786
|
if (data.LicenseInfo !== undefined && data.LicenseInfo !== null) {
|
|
3785
|
-
contents.LicenseInfo = smithy_client_1.expectString(data.LicenseInfo);
|
|
3787
|
+
contents.LicenseInfo = (0, smithy_client_1.expectString)(data.LicenseInfo);
|
|
3786
3788
|
}
|
|
3787
3789
|
if (data.Version !== undefined && data.Version !== null) {
|
|
3788
|
-
contents.Version = smithy_client_1.expectLong(data.Version);
|
|
3790
|
+
contents.Version = (0, smithy_client_1.expectLong)(data.Version);
|
|
3789
3791
|
}
|
|
3790
3792
|
return Promise.resolve(contents);
|
|
3791
3793
|
};
|
|
@@ -3818,7 +3820,7 @@ const deserializeAws_restJson1GetLayerVersionCommandError = async (output, conte
|
|
|
3818
3820
|
$fault: "client",
|
|
3819
3821
|
$metadata: deserializeMetadata(output),
|
|
3820
3822
|
});
|
|
3821
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3823
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3822
3824
|
}
|
|
3823
3825
|
};
|
|
3824
3826
|
const deserializeAws_restJson1GetLayerVersionByArnCommand = async (output, context) => {
|
|
@@ -3837,7 +3839,7 @@ const deserializeAws_restJson1GetLayerVersionByArnCommand = async (output, conte
|
|
|
3837
3839
|
LicenseInfo: undefined,
|
|
3838
3840
|
Version: undefined,
|
|
3839
3841
|
};
|
|
3840
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3842
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3841
3843
|
if (data.CompatibleArchitectures !== undefined && data.CompatibleArchitectures !== null) {
|
|
3842
3844
|
contents.CompatibleArchitectures = deserializeAws_restJson1CompatibleArchitectures(data.CompatibleArchitectures, context);
|
|
3843
3845
|
}
|
|
@@ -3848,22 +3850,22 @@ const deserializeAws_restJson1GetLayerVersionByArnCommand = async (output, conte
|
|
|
3848
3850
|
contents.Content = deserializeAws_restJson1LayerVersionContentOutput(data.Content, context);
|
|
3849
3851
|
}
|
|
3850
3852
|
if (data.CreatedDate !== undefined && data.CreatedDate !== null) {
|
|
3851
|
-
contents.CreatedDate = smithy_client_1.expectString(data.CreatedDate);
|
|
3853
|
+
contents.CreatedDate = (0, smithy_client_1.expectString)(data.CreatedDate);
|
|
3852
3854
|
}
|
|
3853
3855
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3854
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3856
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
3855
3857
|
}
|
|
3856
3858
|
if (data.LayerArn !== undefined && data.LayerArn !== null) {
|
|
3857
|
-
contents.LayerArn = smithy_client_1.expectString(data.LayerArn);
|
|
3859
|
+
contents.LayerArn = (0, smithy_client_1.expectString)(data.LayerArn);
|
|
3858
3860
|
}
|
|
3859
3861
|
if (data.LayerVersionArn !== undefined && data.LayerVersionArn !== null) {
|
|
3860
|
-
contents.LayerVersionArn = smithy_client_1.expectString(data.LayerVersionArn);
|
|
3862
|
+
contents.LayerVersionArn = (0, smithy_client_1.expectString)(data.LayerVersionArn);
|
|
3861
3863
|
}
|
|
3862
3864
|
if (data.LicenseInfo !== undefined && data.LicenseInfo !== null) {
|
|
3863
|
-
contents.LicenseInfo = smithy_client_1.expectString(data.LicenseInfo);
|
|
3865
|
+
contents.LicenseInfo = (0, smithy_client_1.expectString)(data.LicenseInfo);
|
|
3864
3866
|
}
|
|
3865
3867
|
if (data.Version !== undefined && data.Version !== null) {
|
|
3866
|
-
contents.Version = smithy_client_1.expectLong(data.Version);
|
|
3868
|
+
contents.Version = (0, smithy_client_1.expectLong)(data.Version);
|
|
3867
3869
|
}
|
|
3868
3870
|
return Promise.resolve(contents);
|
|
3869
3871
|
};
|
|
@@ -3896,7 +3898,7 @@ const deserializeAws_restJson1GetLayerVersionByArnCommandError = async (output,
|
|
|
3896
3898
|
$fault: "client",
|
|
3897
3899
|
$metadata: deserializeMetadata(output),
|
|
3898
3900
|
});
|
|
3899
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3900
3902
|
}
|
|
3901
3903
|
};
|
|
3902
3904
|
const deserializeAws_restJson1GetLayerVersionPolicyCommand = async (output, context) => {
|
|
@@ -3908,12 +3910,12 @@ const deserializeAws_restJson1GetLayerVersionPolicyCommand = async (output, cont
|
|
|
3908
3910
|
Policy: undefined,
|
|
3909
3911
|
RevisionId: undefined,
|
|
3910
3912
|
};
|
|
3911
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3913
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3912
3914
|
if (data.Policy !== undefined && data.Policy !== null) {
|
|
3913
|
-
contents.Policy = smithy_client_1.expectString(data.Policy);
|
|
3915
|
+
contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
|
|
3914
3916
|
}
|
|
3915
3917
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
3916
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
3918
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
3917
3919
|
}
|
|
3918
3920
|
return Promise.resolve(contents);
|
|
3919
3921
|
};
|
|
@@ -3946,7 +3948,7 @@ const deserializeAws_restJson1GetLayerVersionPolicyCommandError = async (output,
|
|
|
3946
3948
|
$fault: "client",
|
|
3947
3949
|
$metadata: deserializeMetadata(output),
|
|
3948
3950
|
});
|
|
3949
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3951
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3950
3952
|
}
|
|
3951
3953
|
};
|
|
3952
3954
|
const deserializeAws_restJson1GetPolicyCommand = async (output, context) => {
|
|
@@ -3958,12 +3960,12 @@ const deserializeAws_restJson1GetPolicyCommand = async (output, context) => {
|
|
|
3958
3960
|
Policy: undefined,
|
|
3959
3961
|
RevisionId: undefined,
|
|
3960
3962
|
};
|
|
3961
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3963
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3962
3964
|
if (data.Policy !== undefined && data.Policy !== null) {
|
|
3963
|
-
contents.Policy = smithy_client_1.expectString(data.Policy);
|
|
3965
|
+
contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
|
|
3964
3966
|
}
|
|
3965
3967
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
3966
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
3968
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
3967
3969
|
}
|
|
3968
3970
|
return Promise.resolve(contents);
|
|
3969
3971
|
};
|
|
@@ -3996,7 +3998,7 @@ const deserializeAws_restJson1GetPolicyCommandError = async (output, context) =>
|
|
|
3996
3998
|
$fault: "client",
|
|
3997
3999
|
$metadata: deserializeMetadata(output),
|
|
3998
4000
|
});
|
|
3999
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4001
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4000
4002
|
}
|
|
4001
4003
|
};
|
|
4002
4004
|
const deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (output, context) => {
|
|
@@ -4012,27 +4014,27 @@ const deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (ou
|
|
|
4012
4014
|
Status: undefined,
|
|
4013
4015
|
StatusReason: undefined,
|
|
4014
4016
|
};
|
|
4015
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4017
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4016
4018
|
if (data.AllocatedProvisionedConcurrentExecutions !== undefined &&
|
|
4017
4019
|
data.AllocatedProvisionedConcurrentExecutions !== null) {
|
|
4018
|
-
contents.AllocatedProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.AllocatedProvisionedConcurrentExecutions);
|
|
4020
|
+
contents.AllocatedProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.AllocatedProvisionedConcurrentExecutions);
|
|
4019
4021
|
}
|
|
4020
4022
|
if (data.AvailableProvisionedConcurrentExecutions !== undefined &&
|
|
4021
4023
|
data.AvailableProvisionedConcurrentExecutions !== null) {
|
|
4022
|
-
contents.AvailableProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.AvailableProvisionedConcurrentExecutions);
|
|
4024
|
+
contents.AvailableProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.AvailableProvisionedConcurrentExecutions);
|
|
4023
4025
|
}
|
|
4024
4026
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
4025
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
4027
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
4026
4028
|
}
|
|
4027
4029
|
if (data.RequestedProvisionedConcurrentExecutions !== undefined &&
|
|
4028
4030
|
data.RequestedProvisionedConcurrentExecutions !== null) {
|
|
4029
|
-
contents.RequestedProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.RequestedProvisionedConcurrentExecutions);
|
|
4031
|
+
contents.RequestedProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.RequestedProvisionedConcurrentExecutions);
|
|
4030
4032
|
}
|
|
4031
4033
|
if (data.Status !== undefined && data.Status !== null) {
|
|
4032
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
4034
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
4033
4035
|
}
|
|
4034
4036
|
if (data.StatusReason !== undefined && data.StatusReason !== null) {
|
|
4035
|
-
contents.StatusReason = smithy_client_1.expectString(data.StatusReason);
|
|
4037
|
+
contents.StatusReason = (0, smithy_client_1.expectString)(data.StatusReason);
|
|
4036
4038
|
}
|
|
4037
4039
|
return Promise.resolve(contents);
|
|
4038
4040
|
};
|
|
@@ -4068,7 +4070,7 @@ const deserializeAws_restJson1GetProvisionedConcurrencyConfigCommandError = asyn
|
|
|
4068
4070
|
$fault: "client",
|
|
4069
4071
|
$metadata: deserializeMetadata(output),
|
|
4070
4072
|
});
|
|
4071
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4073
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4072
4074
|
}
|
|
4073
4075
|
};
|
|
4074
4076
|
const deserializeAws_restJson1InvokeCommand = async (output, context) => {
|
|
@@ -4194,7 +4196,7 @@ const deserializeAws_restJson1InvokeCommandError = async (output, context) => {
|
|
|
4194
4196
|
$fault: "client",
|
|
4195
4197
|
$metadata: deserializeMetadata(output),
|
|
4196
4198
|
});
|
|
4197
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4199
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4198
4200
|
}
|
|
4199
4201
|
};
|
|
4200
4202
|
const deserializeAws_restJson1InvokeAsyncCommand = async (output, context) => {
|
|
@@ -4243,7 +4245,7 @@ const deserializeAws_restJson1InvokeAsyncCommandError = async (output, context)
|
|
|
4243
4245
|
$fault: "client",
|
|
4244
4246
|
$metadata: deserializeMetadata(output),
|
|
4245
4247
|
});
|
|
4246
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4248
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4247
4249
|
}
|
|
4248
4250
|
};
|
|
4249
4251
|
const deserializeAws_restJson1ListAliasesCommand = async (output, context) => {
|
|
@@ -4255,12 +4257,12 @@ const deserializeAws_restJson1ListAliasesCommand = async (output, context) => {
|
|
|
4255
4257
|
Aliases: undefined,
|
|
4256
4258
|
NextMarker: undefined,
|
|
4257
4259
|
};
|
|
4258
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4260
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4259
4261
|
if (data.Aliases !== undefined && data.Aliases !== null) {
|
|
4260
4262
|
contents.Aliases = deserializeAws_restJson1AliasList(data.Aliases, context);
|
|
4261
4263
|
}
|
|
4262
4264
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4263
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4265
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4264
4266
|
}
|
|
4265
4267
|
return Promise.resolve(contents);
|
|
4266
4268
|
};
|
|
@@ -4293,7 +4295,7 @@ const deserializeAws_restJson1ListAliasesCommandError = async (output, context)
|
|
|
4293
4295
|
$fault: "client",
|
|
4294
4296
|
$metadata: deserializeMetadata(output),
|
|
4295
4297
|
});
|
|
4296
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4298
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4297
4299
|
}
|
|
4298
4300
|
};
|
|
4299
4301
|
const deserializeAws_restJson1ListCodeSigningConfigsCommand = async (output, context) => {
|
|
@@ -4305,12 +4307,12 @@ const deserializeAws_restJson1ListCodeSigningConfigsCommand = async (output, con
|
|
|
4305
4307
|
CodeSigningConfigs: undefined,
|
|
4306
4308
|
NextMarker: undefined,
|
|
4307
4309
|
};
|
|
4308
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4310
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4309
4311
|
if (data.CodeSigningConfigs !== undefined && data.CodeSigningConfigs !== null) {
|
|
4310
4312
|
contents.CodeSigningConfigs = deserializeAws_restJson1CodeSigningConfigList(data.CodeSigningConfigs, context);
|
|
4311
4313
|
}
|
|
4312
4314
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4313
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4315
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4314
4316
|
}
|
|
4315
4317
|
return Promise.resolve(contents);
|
|
4316
4318
|
};
|
|
@@ -4337,7 +4339,7 @@ const deserializeAws_restJson1ListCodeSigningConfigsCommandError = async (output
|
|
|
4337
4339
|
$fault: "client",
|
|
4338
4340
|
$metadata: deserializeMetadata(output),
|
|
4339
4341
|
});
|
|
4340
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4342
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4341
4343
|
}
|
|
4342
4344
|
};
|
|
4343
4345
|
const deserializeAws_restJson1ListEventSourceMappingsCommand = async (output, context) => {
|
|
@@ -4349,12 +4351,12 @@ const deserializeAws_restJson1ListEventSourceMappingsCommand = async (output, co
|
|
|
4349
4351
|
EventSourceMappings: undefined,
|
|
4350
4352
|
NextMarker: undefined,
|
|
4351
4353
|
};
|
|
4352
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4354
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4353
4355
|
if (data.EventSourceMappings !== undefined && data.EventSourceMappings !== null) {
|
|
4354
4356
|
contents.EventSourceMappings = deserializeAws_restJson1EventSourceMappingsList(data.EventSourceMappings, context);
|
|
4355
4357
|
}
|
|
4356
4358
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4357
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4359
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4358
4360
|
}
|
|
4359
4361
|
return Promise.resolve(contents);
|
|
4360
4362
|
};
|
|
@@ -4387,7 +4389,7 @@ const deserializeAws_restJson1ListEventSourceMappingsCommandError = async (outpu
|
|
|
4387
4389
|
$fault: "client",
|
|
4388
4390
|
$metadata: deserializeMetadata(output),
|
|
4389
4391
|
});
|
|
4390
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4392
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4391
4393
|
}
|
|
4392
4394
|
};
|
|
4393
4395
|
const deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand = async (output, context) => {
|
|
@@ -4399,12 +4401,12 @@ const deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand = async (out
|
|
|
4399
4401
|
FunctionEventInvokeConfigs: undefined,
|
|
4400
4402
|
NextMarker: undefined,
|
|
4401
4403
|
};
|
|
4402
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4404
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4403
4405
|
if (data.FunctionEventInvokeConfigs !== undefined && data.FunctionEventInvokeConfigs !== null) {
|
|
4404
4406
|
contents.FunctionEventInvokeConfigs = deserializeAws_restJson1FunctionEventInvokeConfigList(data.FunctionEventInvokeConfigs, context);
|
|
4405
4407
|
}
|
|
4406
4408
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4407
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4409
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4408
4410
|
}
|
|
4409
4411
|
return Promise.resolve(contents);
|
|
4410
4412
|
};
|
|
@@ -4437,7 +4439,7 @@ const deserializeAws_restJson1ListFunctionEventInvokeConfigsCommandError = async
|
|
|
4437
4439
|
$fault: "client",
|
|
4438
4440
|
$metadata: deserializeMetadata(output),
|
|
4439
4441
|
});
|
|
4440
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4441
4443
|
}
|
|
4442
4444
|
};
|
|
4443
4445
|
const deserializeAws_restJson1ListFunctionsCommand = async (output, context) => {
|
|
@@ -4449,12 +4451,12 @@ const deserializeAws_restJson1ListFunctionsCommand = async (output, context) =>
|
|
|
4449
4451
|
Functions: undefined,
|
|
4450
4452
|
NextMarker: undefined,
|
|
4451
4453
|
};
|
|
4452
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4454
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4453
4455
|
if (data.Functions !== undefined && data.Functions !== null) {
|
|
4454
4456
|
contents.Functions = deserializeAws_restJson1FunctionList(data.Functions, context);
|
|
4455
4457
|
}
|
|
4456
4458
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4457
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4459
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4458
4460
|
}
|
|
4459
4461
|
return Promise.resolve(contents);
|
|
4460
4462
|
};
|
|
@@ -4484,7 +4486,7 @@ const deserializeAws_restJson1ListFunctionsCommandError = async (output, context
|
|
|
4484
4486
|
$fault: "client",
|
|
4485
4487
|
$metadata: deserializeMetadata(output),
|
|
4486
4488
|
});
|
|
4487
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4489
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4488
4490
|
}
|
|
4489
4491
|
};
|
|
4490
4492
|
const deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -4496,12 +4498,12 @@ const deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = async (o
|
|
|
4496
4498
|
FunctionArns: undefined,
|
|
4497
4499
|
NextMarker: undefined,
|
|
4498
4500
|
};
|
|
4499
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4501
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4500
4502
|
if (data.FunctionArns !== undefined && data.FunctionArns !== null) {
|
|
4501
4503
|
contents.FunctionArns = deserializeAws_restJson1FunctionArnList(data.FunctionArns, context);
|
|
4502
4504
|
}
|
|
4503
4505
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4504
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4506
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4505
4507
|
}
|
|
4506
4508
|
return Promise.resolve(contents);
|
|
4507
4509
|
};
|
|
@@ -4531,7 +4533,7 @@ const deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommandError = asy
|
|
|
4531
4533
|
$fault: "client",
|
|
4532
4534
|
$metadata: deserializeMetadata(output),
|
|
4533
4535
|
});
|
|
4534
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4536
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4535
4537
|
}
|
|
4536
4538
|
};
|
|
4537
4539
|
const deserializeAws_restJson1ListLayersCommand = async (output, context) => {
|
|
@@ -4543,12 +4545,12 @@ const deserializeAws_restJson1ListLayersCommand = async (output, context) => {
|
|
|
4543
4545
|
Layers: undefined,
|
|
4544
4546
|
NextMarker: undefined,
|
|
4545
4547
|
};
|
|
4546
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4548
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4547
4549
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
4548
4550
|
contents.Layers = deserializeAws_restJson1LayersList(data.Layers, context);
|
|
4549
4551
|
}
|
|
4550
4552
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4551
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4553
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4552
4554
|
}
|
|
4553
4555
|
return Promise.resolve(contents);
|
|
4554
4556
|
};
|
|
@@ -4578,7 +4580,7 @@ const deserializeAws_restJson1ListLayersCommandError = async (output, context) =
|
|
|
4578
4580
|
$fault: "client",
|
|
4579
4581
|
$metadata: deserializeMetadata(output),
|
|
4580
4582
|
});
|
|
4581
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4583
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4582
4584
|
}
|
|
4583
4585
|
};
|
|
4584
4586
|
const deserializeAws_restJson1ListLayerVersionsCommand = async (output, context) => {
|
|
@@ -4590,12 +4592,12 @@ const deserializeAws_restJson1ListLayerVersionsCommand = async (output, context)
|
|
|
4590
4592
|
LayerVersions: undefined,
|
|
4591
4593
|
NextMarker: undefined,
|
|
4592
4594
|
};
|
|
4593
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4595
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4594
4596
|
if (data.LayerVersions !== undefined && data.LayerVersions !== null) {
|
|
4595
4597
|
contents.LayerVersions = deserializeAws_restJson1LayerVersionsList(data.LayerVersions, context);
|
|
4596
4598
|
}
|
|
4597
4599
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4598
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4600
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4599
4601
|
}
|
|
4600
4602
|
return Promise.resolve(contents);
|
|
4601
4603
|
};
|
|
@@ -4628,7 +4630,7 @@ const deserializeAws_restJson1ListLayerVersionsCommandError = async (output, con
|
|
|
4628
4630
|
$fault: "client",
|
|
4629
4631
|
$metadata: deserializeMetadata(output),
|
|
4630
4632
|
});
|
|
4631
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4633
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4632
4634
|
}
|
|
4633
4635
|
};
|
|
4634
4636
|
const deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = async (output, context) => {
|
|
@@ -4640,9 +4642,9 @@ const deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = async (
|
|
|
4640
4642
|
NextMarker: undefined,
|
|
4641
4643
|
ProvisionedConcurrencyConfigs: undefined,
|
|
4642
4644
|
};
|
|
4643
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4645
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4644
4646
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4645
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4647
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4646
4648
|
}
|
|
4647
4649
|
if (data.ProvisionedConcurrencyConfigs !== undefined && data.ProvisionedConcurrencyConfigs !== null) {
|
|
4648
4650
|
contents.ProvisionedConcurrencyConfigs = deserializeAws_restJson1ProvisionedConcurrencyConfigList(data.ProvisionedConcurrencyConfigs, context);
|
|
@@ -4678,7 +4680,7 @@ const deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommandError = as
|
|
|
4678
4680
|
$fault: "client",
|
|
4679
4681
|
$metadata: deserializeMetadata(output),
|
|
4680
4682
|
});
|
|
4681
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4683
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4682
4684
|
}
|
|
4683
4685
|
};
|
|
4684
4686
|
const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
|
|
@@ -4689,7 +4691,7 @@ const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
|
|
|
4689
4691
|
$metadata: deserializeMetadata(output),
|
|
4690
4692
|
Tags: undefined,
|
|
4691
4693
|
};
|
|
4692
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4694
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4693
4695
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
4694
4696
|
contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
|
|
4695
4697
|
}
|
|
@@ -4724,7 +4726,7 @@ const deserializeAws_restJson1ListTagsCommandError = async (output, context) =>
|
|
|
4724
4726
|
$fault: "client",
|
|
4725
4727
|
$metadata: deserializeMetadata(output),
|
|
4726
4728
|
});
|
|
4727
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4729
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4728
4730
|
}
|
|
4729
4731
|
};
|
|
4730
4732
|
const deserializeAws_restJson1ListVersionsByFunctionCommand = async (output, context) => {
|
|
@@ -4736,9 +4738,9 @@ const deserializeAws_restJson1ListVersionsByFunctionCommand = async (output, con
|
|
|
4736
4738
|
NextMarker: undefined,
|
|
4737
4739
|
Versions: undefined,
|
|
4738
4740
|
};
|
|
4739
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4741
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4740
4742
|
if (data.NextMarker !== undefined && data.NextMarker !== null) {
|
|
4741
|
-
contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
|
|
4743
|
+
contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
|
|
4742
4744
|
}
|
|
4743
4745
|
if (data.Versions !== undefined && data.Versions !== null) {
|
|
4744
4746
|
contents.Versions = deserializeAws_restJson1FunctionList(data.Versions, context);
|
|
@@ -4774,7 +4776,7 @@ const deserializeAws_restJson1ListVersionsByFunctionCommandError = async (output
|
|
|
4774
4776
|
$fault: "client",
|
|
4775
4777
|
$metadata: deserializeMetadata(output),
|
|
4776
4778
|
});
|
|
4777
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4779
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4778
4780
|
}
|
|
4779
4781
|
};
|
|
4780
4782
|
const deserializeAws_restJson1PublishLayerVersionCommand = async (output, context) => {
|
|
@@ -4793,7 +4795,7 @@ const deserializeAws_restJson1PublishLayerVersionCommand = async (output, contex
|
|
|
4793
4795
|
LicenseInfo: undefined,
|
|
4794
4796
|
Version: undefined,
|
|
4795
4797
|
};
|
|
4796
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4798
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4797
4799
|
if (data.CompatibleArchitectures !== undefined && data.CompatibleArchitectures !== null) {
|
|
4798
4800
|
contents.CompatibleArchitectures = deserializeAws_restJson1CompatibleArchitectures(data.CompatibleArchitectures, context);
|
|
4799
4801
|
}
|
|
@@ -4804,22 +4806,22 @@ const deserializeAws_restJson1PublishLayerVersionCommand = async (output, contex
|
|
|
4804
4806
|
contents.Content = deserializeAws_restJson1LayerVersionContentOutput(data.Content, context);
|
|
4805
4807
|
}
|
|
4806
4808
|
if (data.CreatedDate !== undefined && data.CreatedDate !== null) {
|
|
4807
|
-
contents.CreatedDate = smithy_client_1.expectString(data.CreatedDate);
|
|
4809
|
+
contents.CreatedDate = (0, smithy_client_1.expectString)(data.CreatedDate);
|
|
4808
4810
|
}
|
|
4809
4811
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4810
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4812
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4811
4813
|
}
|
|
4812
4814
|
if (data.LayerArn !== undefined && data.LayerArn !== null) {
|
|
4813
|
-
contents.LayerArn = smithy_client_1.expectString(data.LayerArn);
|
|
4815
|
+
contents.LayerArn = (0, smithy_client_1.expectString)(data.LayerArn);
|
|
4814
4816
|
}
|
|
4815
4817
|
if (data.LayerVersionArn !== undefined && data.LayerVersionArn !== null) {
|
|
4816
|
-
contents.LayerVersionArn = smithy_client_1.expectString(data.LayerVersionArn);
|
|
4818
|
+
contents.LayerVersionArn = (0, smithy_client_1.expectString)(data.LayerVersionArn);
|
|
4817
4819
|
}
|
|
4818
4820
|
if (data.LicenseInfo !== undefined && data.LicenseInfo !== null) {
|
|
4819
|
-
contents.LicenseInfo = smithy_client_1.expectString(data.LicenseInfo);
|
|
4821
|
+
contents.LicenseInfo = (0, smithy_client_1.expectString)(data.LicenseInfo);
|
|
4820
4822
|
}
|
|
4821
4823
|
if (data.Version !== undefined && data.Version !== null) {
|
|
4822
|
-
contents.Version = smithy_client_1.expectLong(data.Version);
|
|
4824
|
+
contents.Version = (0, smithy_client_1.expectLong)(data.Version);
|
|
4823
4825
|
}
|
|
4824
4826
|
return Promise.resolve(contents);
|
|
4825
4827
|
};
|
|
@@ -4855,7 +4857,7 @@ const deserializeAws_restJson1PublishLayerVersionCommandError = async (output, c
|
|
|
4855
4857
|
$fault: "client",
|
|
4856
4858
|
$metadata: deserializeMetadata(output),
|
|
4857
4859
|
});
|
|
4858
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4860
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4859
4861
|
}
|
|
4860
4862
|
};
|
|
4861
4863
|
const deserializeAws_restJson1PublishVersionCommand = async (output, context) => {
|
|
@@ -4897,21 +4899,21 @@ const deserializeAws_restJson1PublishVersionCommand = async (output, context) =>
|
|
|
4897
4899
|
Version: undefined,
|
|
4898
4900
|
VpcConfig: undefined,
|
|
4899
4901
|
};
|
|
4900
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4902
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4901
4903
|
if (data.Architectures !== undefined && data.Architectures !== null) {
|
|
4902
4904
|
contents.Architectures = deserializeAws_restJson1ArchitecturesList(data.Architectures, context);
|
|
4903
4905
|
}
|
|
4904
4906
|
if (data.CodeSha256 !== undefined && data.CodeSha256 !== null) {
|
|
4905
|
-
contents.CodeSha256 = smithy_client_1.expectString(data.CodeSha256);
|
|
4907
|
+
contents.CodeSha256 = (0, smithy_client_1.expectString)(data.CodeSha256);
|
|
4906
4908
|
}
|
|
4907
4909
|
if (data.CodeSize !== undefined && data.CodeSize !== null) {
|
|
4908
|
-
contents.CodeSize = smithy_client_1.expectLong(data.CodeSize);
|
|
4910
|
+
contents.CodeSize = (0, smithy_client_1.expectLong)(data.CodeSize);
|
|
4909
4911
|
}
|
|
4910
4912
|
if (data.DeadLetterConfig !== undefined && data.DeadLetterConfig !== null) {
|
|
4911
4913
|
contents.DeadLetterConfig = deserializeAws_restJson1DeadLetterConfig(data.DeadLetterConfig, context);
|
|
4912
4914
|
}
|
|
4913
4915
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4914
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4916
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4915
4917
|
}
|
|
4916
4918
|
if (data.Environment !== undefined && data.Environment !== null) {
|
|
4917
4919
|
contents.Environment = deserializeAws_restJson1EnvironmentResponse(data.Environment, context);
|
|
@@ -4920,76 +4922,76 @@ const deserializeAws_restJson1PublishVersionCommand = async (output, context) =>
|
|
|
4920
4922
|
contents.FileSystemConfigs = deserializeAws_restJson1FileSystemConfigList(data.FileSystemConfigs, context);
|
|
4921
4923
|
}
|
|
4922
4924
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
4923
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
4925
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
4924
4926
|
}
|
|
4925
4927
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
4926
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
4928
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
4927
4929
|
}
|
|
4928
4930
|
if (data.Handler !== undefined && data.Handler !== null) {
|
|
4929
|
-
contents.Handler = smithy_client_1.expectString(data.Handler);
|
|
4931
|
+
contents.Handler = (0, smithy_client_1.expectString)(data.Handler);
|
|
4930
4932
|
}
|
|
4931
4933
|
if (data.ImageConfigResponse !== undefined && data.ImageConfigResponse !== null) {
|
|
4932
4934
|
contents.ImageConfigResponse = deserializeAws_restJson1ImageConfigResponse(data.ImageConfigResponse, context);
|
|
4933
4935
|
}
|
|
4934
4936
|
if (data.KMSKeyArn !== undefined && data.KMSKeyArn !== null) {
|
|
4935
|
-
contents.KMSKeyArn = smithy_client_1.expectString(data.KMSKeyArn);
|
|
4937
|
+
contents.KMSKeyArn = (0, smithy_client_1.expectString)(data.KMSKeyArn);
|
|
4936
4938
|
}
|
|
4937
4939
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
4938
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
4940
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
4939
4941
|
}
|
|
4940
4942
|
if (data.LastUpdateStatus !== undefined && data.LastUpdateStatus !== null) {
|
|
4941
|
-
contents.LastUpdateStatus = smithy_client_1.expectString(data.LastUpdateStatus);
|
|
4943
|
+
contents.LastUpdateStatus = (0, smithy_client_1.expectString)(data.LastUpdateStatus);
|
|
4942
4944
|
}
|
|
4943
4945
|
if (data.LastUpdateStatusReason !== undefined && data.LastUpdateStatusReason !== null) {
|
|
4944
|
-
contents.LastUpdateStatusReason = smithy_client_1.expectString(data.LastUpdateStatusReason);
|
|
4946
|
+
contents.LastUpdateStatusReason = (0, smithy_client_1.expectString)(data.LastUpdateStatusReason);
|
|
4945
4947
|
}
|
|
4946
4948
|
if (data.LastUpdateStatusReasonCode !== undefined && data.LastUpdateStatusReasonCode !== null) {
|
|
4947
|
-
contents.LastUpdateStatusReasonCode = smithy_client_1.expectString(data.LastUpdateStatusReasonCode);
|
|
4949
|
+
contents.LastUpdateStatusReasonCode = (0, smithy_client_1.expectString)(data.LastUpdateStatusReasonCode);
|
|
4948
4950
|
}
|
|
4949
4951
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
4950
4952
|
contents.Layers = deserializeAws_restJson1LayersReferenceList(data.Layers, context);
|
|
4951
4953
|
}
|
|
4952
4954
|
if (data.MasterArn !== undefined && data.MasterArn !== null) {
|
|
4953
|
-
contents.MasterArn = smithy_client_1.expectString(data.MasterArn);
|
|
4955
|
+
contents.MasterArn = (0, smithy_client_1.expectString)(data.MasterArn);
|
|
4954
4956
|
}
|
|
4955
4957
|
if (data.MemorySize !== undefined && data.MemorySize !== null) {
|
|
4956
|
-
contents.MemorySize = smithy_client_1.expectInt32(data.MemorySize);
|
|
4958
|
+
contents.MemorySize = (0, smithy_client_1.expectInt32)(data.MemorySize);
|
|
4957
4959
|
}
|
|
4958
4960
|
if (data.PackageType !== undefined && data.PackageType !== null) {
|
|
4959
|
-
contents.PackageType = smithy_client_1.expectString(data.PackageType);
|
|
4961
|
+
contents.PackageType = (0, smithy_client_1.expectString)(data.PackageType);
|
|
4960
4962
|
}
|
|
4961
4963
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
4962
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
4964
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
4963
4965
|
}
|
|
4964
4966
|
if (data.Role !== undefined && data.Role !== null) {
|
|
4965
|
-
contents.Role = smithy_client_1.expectString(data.Role);
|
|
4967
|
+
contents.Role = (0, smithy_client_1.expectString)(data.Role);
|
|
4966
4968
|
}
|
|
4967
4969
|
if (data.Runtime !== undefined && data.Runtime !== null) {
|
|
4968
|
-
contents.Runtime = smithy_client_1.expectString(data.Runtime);
|
|
4970
|
+
contents.Runtime = (0, smithy_client_1.expectString)(data.Runtime);
|
|
4969
4971
|
}
|
|
4970
4972
|
if (data.SigningJobArn !== undefined && data.SigningJobArn !== null) {
|
|
4971
|
-
contents.SigningJobArn = smithy_client_1.expectString(data.SigningJobArn);
|
|
4973
|
+
contents.SigningJobArn = (0, smithy_client_1.expectString)(data.SigningJobArn);
|
|
4972
4974
|
}
|
|
4973
4975
|
if (data.SigningProfileVersionArn !== undefined && data.SigningProfileVersionArn !== null) {
|
|
4974
|
-
contents.SigningProfileVersionArn = smithy_client_1.expectString(data.SigningProfileVersionArn);
|
|
4976
|
+
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
4975
4977
|
}
|
|
4976
4978
|
if (data.State !== undefined && data.State !== null) {
|
|
4977
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
4979
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
4978
4980
|
}
|
|
4979
4981
|
if (data.StateReason !== undefined && data.StateReason !== null) {
|
|
4980
|
-
contents.StateReason = smithy_client_1.expectString(data.StateReason);
|
|
4982
|
+
contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
|
|
4981
4983
|
}
|
|
4982
4984
|
if (data.StateReasonCode !== undefined && data.StateReasonCode !== null) {
|
|
4983
|
-
contents.StateReasonCode = smithy_client_1.expectString(data.StateReasonCode);
|
|
4985
|
+
contents.StateReasonCode = (0, smithy_client_1.expectString)(data.StateReasonCode);
|
|
4984
4986
|
}
|
|
4985
4987
|
if (data.Timeout !== undefined && data.Timeout !== null) {
|
|
4986
|
-
contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
|
|
4988
|
+
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
4987
4989
|
}
|
|
4988
4990
|
if (data.TracingConfig !== undefined && data.TracingConfig !== null) {
|
|
4989
4991
|
contents.TracingConfig = deserializeAws_restJson1TracingConfigResponse(data.TracingConfig, context);
|
|
4990
4992
|
}
|
|
4991
4993
|
if (data.Version !== undefined && data.Version !== null) {
|
|
4992
|
-
contents.Version = smithy_client_1.expectString(data.Version);
|
|
4994
|
+
contents.Version = (0, smithy_client_1.expectString)(data.Version);
|
|
4993
4995
|
}
|
|
4994
4996
|
if (data.VpcConfig !== undefined && data.VpcConfig !== null) {
|
|
4995
4997
|
contents.VpcConfig = deserializeAws_restJson1VpcConfigResponse(data.VpcConfig, context);
|
|
@@ -5034,7 +5036,7 @@ const deserializeAws_restJson1PublishVersionCommandError = async (output, contex
|
|
|
5034
5036
|
$fault: "client",
|
|
5035
5037
|
$metadata: deserializeMetadata(output),
|
|
5036
5038
|
});
|
|
5037
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5039
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5038
5040
|
}
|
|
5039
5041
|
};
|
|
5040
5042
|
const deserializeAws_restJson1PutFunctionCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -5046,12 +5048,12 @@ const deserializeAws_restJson1PutFunctionCodeSigningConfigCommand = async (outpu
|
|
|
5046
5048
|
CodeSigningConfigArn: undefined,
|
|
5047
5049
|
FunctionName: undefined,
|
|
5048
5050
|
};
|
|
5049
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5051
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5050
5052
|
if (data.CodeSigningConfigArn !== undefined && data.CodeSigningConfigArn !== null) {
|
|
5051
|
-
contents.CodeSigningConfigArn = smithy_client_1.expectString(data.CodeSigningConfigArn);
|
|
5053
|
+
contents.CodeSigningConfigArn = (0, smithy_client_1.expectString)(data.CodeSigningConfigArn);
|
|
5052
5054
|
}
|
|
5053
5055
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
5054
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
5056
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
5055
5057
|
}
|
|
5056
5058
|
return Promise.resolve(contents);
|
|
5057
5059
|
};
|
|
@@ -5090,7 +5092,7 @@ const deserializeAws_restJson1PutFunctionCodeSigningConfigCommandError = async (
|
|
|
5090
5092
|
$fault: "client",
|
|
5091
5093
|
$metadata: deserializeMetadata(output),
|
|
5092
5094
|
});
|
|
5093
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5095
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5094
5096
|
}
|
|
5095
5097
|
};
|
|
5096
5098
|
const deserializeAws_restJson1PutFunctionConcurrencyCommand = async (output, context) => {
|
|
@@ -5101,9 +5103,9 @@ const deserializeAws_restJson1PutFunctionConcurrencyCommand = async (output, con
|
|
|
5101
5103
|
$metadata: deserializeMetadata(output),
|
|
5102
5104
|
ReservedConcurrentExecutions: undefined,
|
|
5103
5105
|
};
|
|
5104
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5106
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5105
5107
|
if (data.ReservedConcurrentExecutions !== undefined && data.ReservedConcurrentExecutions !== null) {
|
|
5106
|
-
contents.ReservedConcurrentExecutions = smithy_client_1.expectInt32(data.ReservedConcurrentExecutions);
|
|
5108
|
+
contents.ReservedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.ReservedConcurrentExecutions);
|
|
5107
5109
|
}
|
|
5108
5110
|
return Promise.resolve(contents);
|
|
5109
5111
|
};
|
|
@@ -5139,7 +5141,7 @@ const deserializeAws_restJson1PutFunctionConcurrencyCommandError = async (output
|
|
|
5139
5141
|
$fault: "client",
|
|
5140
5142
|
$metadata: deserializeMetadata(output),
|
|
5141
5143
|
});
|
|
5142
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5144
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5143
5145
|
}
|
|
5144
5146
|
};
|
|
5145
5147
|
const deserializeAws_restJson1PutFunctionEventInvokeConfigCommand = async (output, context) => {
|
|
@@ -5154,21 +5156,21 @@ const deserializeAws_restJson1PutFunctionEventInvokeConfigCommand = async (outpu
|
|
|
5154
5156
|
MaximumEventAgeInSeconds: undefined,
|
|
5155
5157
|
MaximumRetryAttempts: undefined,
|
|
5156
5158
|
};
|
|
5157
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5159
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5158
5160
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
5159
5161
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
5160
5162
|
}
|
|
5161
5163
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
5162
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
5164
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
5163
5165
|
}
|
|
5164
5166
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
5165
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
5167
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
5166
5168
|
}
|
|
5167
5169
|
if (data.MaximumEventAgeInSeconds !== undefined && data.MaximumEventAgeInSeconds !== null) {
|
|
5168
|
-
contents.MaximumEventAgeInSeconds = smithy_client_1.expectInt32(data.MaximumEventAgeInSeconds);
|
|
5170
|
+
contents.MaximumEventAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumEventAgeInSeconds);
|
|
5169
5171
|
}
|
|
5170
5172
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
5171
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
5173
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
5172
5174
|
}
|
|
5173
5175
|
return Promise.resolve(contents);
|
|
5174
5176
|
};
|
|
@@ -5204,7 +5206,7 @@ const deserializeAws_restJson1PutFunctionEventInvokeConfigCommandError = async (
|
|
|
5204
5206
|
$fault: "client",
|
|
5205
5207
|
$metadata: deserializeMetadata(output),
|
|
5206
5208
|
});
|
|
5207
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5209
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5208
5210
|
}
|
|
5209
5211
|
};
|
|
5210
5212
|
const deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand = async (output, context) => {
|
|
@@ -5220,27 +5222,27 @@ const deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand = async (ou
|
|
|
5220
5222
|
Status: undefined,
|
|
5221
5223
|
StatusReason: undefined,
|
|
5222
5224
|
};
|
|
5223
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5225
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5224
5226
|
if (data.AllocatedProvisionedConcurrentExecutions !== undefined &&
|
|
5225
5227
|
data.AllocatedProvisionedConcurrentExecutions !== null) {
|
|
5226
|
-
contents.AllocatedProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.AllocatedProvisionedConcurrentExecutions);
|
|
5228
|
+
contents.AllocatedProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.AllocatedProvisionedConcurrentExecutions);
|
|
5227
5229
|
}
|
|
5228
5230
|
if (data.AvailableProvisionedConcurrentExecutions !== undefined &&
|
|
5229
5231
|
data.AvailableProvisionedConcurrentExecutions !== null) {
|
|
5230
|
-
contents.AvailableProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.AvailableProvisionedConcurrentExecutions);
|
|
5232
|
+
contents.AvailableProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.AvailableProvisionedConcurrentExecutions);
|
|
5231
5233
|
}
|
|
5232
5234
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
5233
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
5235
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
5234
5236
|
}
|
|
5235
5237
|
if (data.RequestedProvisionedConcurrentExecutions !== undefined &&
|
|
5236
5238
|
data.RequestedProvisionedConcurrentExecutions !== null) {
|
|
5237
|
-
contents.RequestedProvisionedConcurrentExecutions = smithy_client_1.expectInt32(data.RequestedProvisionedConcurrentExecutions);
|
|
5239
|
+
contents.RequestedProvisionedConcurrentExecutions = (0, smithy_client_1.expectInt32)(data.RequestedProvisionedConcurrentExecutions);
|
|
5238
5240
|
}
|
|
5239
5241
|
if (data.Status !== undefined && data.Status !== null) {
|
|
5240
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
5242
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
5241
5243
|
}
|
|
5242
5244
|
if (data.StatusReason !== undefined && data.StatusReason !== null) {
|
|
5243
|
-
contents.StatusReason = smithy_client_1.expectString(data.StatusReason);
|
|
5245
|
+
contents.StatusReason = (0, smithy_client_1.expectString)(data.StatusReason);
|
|
5244
5246
|
}
|
|
5245
5247
|
return Promise.resolve(contents);
|
|
5246
5248
|
};
|
|
@@ -5276,7 +5278,7 @@ const deserializeAws_restJson1PutProvisionedConcurrencyConfigCommandError = asyn
|
|
|
5276
5278
|
$fault: "client",
|
|
5277
5279
|
$metadata: deserializeMetadata(output),
|
|
5278
5280
|
});
|
|
5279
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5281
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5280
5282
|
}
|
|
5281
5283
|
};
|
|
5282
5284
|
const deserializeAws_restJson1RemoveLayerVersionPermissionCommand = async (output, context) => {
|
|
@@ -5321,7 +5323,7 @@ const deserializeAws_restJson1RemoveLayerVersionPermissionCommandError = async (
|
|
|
5321
5323
|
$fault: "client",
|
|
5322
5324
|
$metadata: deserializeMetadata(output),
|
|
5323
5325
|
});
|
|
5324
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5326
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5325
5327
|
}
|
|
5326
5328
|
};
|
|
5327
5329
|
const deserializeAws_restJson1RemovePermissionCommand = async (output, context) => {
|
|
@@ -5366,7 +5368,7 @@ const deserializeAws_restJson1RemovePermissionCommandError = async (output, cont
|
|
|
5366
5368
|
$fault: "client",
|
|
5367
5369
|
$metadata: deserializeMetadata(output),
|
|
5368
5370
|
});
|
|
5369
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5371
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5370
5372
|
}
|
|
5371
5373
|
};
|
|
5372
5374
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -5411,7 +5413,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
5411
5413
|
$fault: "client",
|
|
5412
5414
|
$metadata: deserializeMetadata(output),
|
|
5413
5415
|
});
|
|
5414
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5416
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5415
5417
|
}
|
|
5416
5418
|
};
|
|
5417
5419
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -5456,7 +5458,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
5456
5458
|
$fault: "client",
|
|
5457
5459
|
$metadata: deserializeMetadata(output),
|
|
5458
5460
|
});
|
|
5459
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5461
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5460
5462
|
}
|
|
5461
5463
|
};
|
|
5462
5464
|
const deserializeAws_restJson1UpdateAliasCommand = async (output, context) => {
|
|
@@ -5472,21 +5474,21 @@ const deserializeAws_restJson1UpdateAliasCommand = async (output, context) => {
|
|
|
5472
5474
|
RevisionId: undefined,
|
|
5473
5475
|
RoutingConfig: undefined,
|
|
5474
5476
|
};
|
|
5475
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5477
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5476
5478
|
if (data.AliasArn !== undefined && data.AliasArn !== null) {
|
|
5477
|
-
contents.AliasArn = smithy_client_1.expectString(data.AliasArn);
|
|
5479
|
+
contents.AliasArn = (0, smithy_client_1.expectString)(data.AliasArn);
|
|
5478
5480
|
}
|
|
5479
5481
|
if (data.Description !== undefined && data.Description !== null) {
|
|
5480
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
5482
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
5481
5483
|
}
|
|
5482
5484
|
if (data.FunctionVersion !== undefined && data.FunctionVersion !== null) {
|
|
5483
|
-
contents.FunctionVersion = smithy_client_1.expectString(data.FunctionVersion);
|
|
5485
|
+
contents.FunctionVersion = (0, smithy_client_1.expectString)(data.FunctionVersion);
|
|
5484
5486
|
}
|
|
5485
5487
|
if (data.Name !== undefined && data.Name !== null) {
|
|
5486
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
5488
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
5487
5489
|
}
|
|
5488
5490
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
5489
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
5491
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
5490
5492
|
}
|
|
5491
5493
|
if (data.RoutingConfig !== undefined && data.RoutingConfig !== null) {
|
|
5492
5494
|
contents.RoutingConfig = deserializeAws_restJson1AliasRoutingConfiguration(data.RoutingConfig, context);
|
|
@@ -5528,7 +5530,7 @@ const deserializeAws_restJson1UpdateAliasCommandError = async (output, context)
|
|
|
5528
5530
|
$fault: "client",
|
|
5529
5531
|
$metadata: deserializeMetadata(output),
|
|
5530
5532
|
});
|
|
5531
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5533
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5532
5534
|
}
|
|
5533
5535
|
};
|
|
5534
5536
|
const deserializeAws_restJson1UpdateCodeSigningConfigCommand = async (output, context) => {
|
|
@@ -5539,7 +5541,7 @@ const deserializeAws_restJson1UpdateCodeSigningConfigCommand = async (output, co
|
|
|
5539
5541
|
$metadata: deserializeMetadata(output),
|
|
5540
5542
|
CodeSigningConfig: undefined,
|
|
5541
5543
|
};
|
|
5542
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5544
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5543
5545
|
if (data.CodeSigningConfig !== undefined && data.CodeSigningConfig !== null) {
|
|
5544
5546
|
contents.CodeSigningConfig = deserializeAws_restJson1CodeSigningConfig(data.CodeSigningConfig, context);
|
|
5545
5547
|
}
|
|
@@ -5571,7 +5573,7 @@ const deserializeAws_restJson1UpdateCodeSigningConfigCommandError = async (outpu
|
|
|
5571
5573
|
$fault: "client",
|
|
5572
5574
|
$metadata: deserializeMetadata(output),
|
|
5573
5575
|
});
|
|
5574
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5575
5577
|
}
|
|
5576
5578
|
};
|
|
5577
5579
|
const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, context) => {
|
|
@@ -5604,45 +5606,45 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
|
|
|
5604
5606
|
TumblingWindowInSeconds: undefined,
|
|
5605
5607
|
UUID: undefined,
|
|
5606
5608
|
};
|
|
5607
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5609
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5608
5610
|
if (data.BatchSize !== undefined && data.BatchSize !== null) {
|
|
5609
|
-
contents.BatchSize = smithy_client_1.expectInt32(data.BatchSize);
|
|
5611
|
+
contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
|
|
5610
5612
|
}
|
|
5611
5613
|
if (data.BisectBatchOnFunctionError !== undefined && data.BisectBatchOnFunctionError !== null) {
|
|
5612
|
-
contents.BisectBatchOnFunctionError = smithy_client_1.expectBoolean(data.BisectBatchOnFunctionError);
|
|
5614
|
+
contents.BisectBatchOnFunctionError = (0, smithy_client_1.expectBoolean)(data.BisectBatchOnFunctionError);
|
|
5613
5615
|
}
|
|
5614
5616
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
5615
5617
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
5616
5618
|
}
|
|
5617
5619
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
5618
|
-
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
5620
|
+
contents.EventSourceArn = (0, smithy_client_1.expectString)(data.EventSourceArn);
|
|
5619
5621
|
}
|
|
5620
5622
|
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
5621
5623
|
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
5622
5624
|
}
|
|
5623
5625
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
5624
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
5626
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
5625
5627
|
}
|
|
5626
5628
|
if (data.FunctionResponseTypes !== undefined && data.FunctionResponseTypes !== null) {
|
|
5627
5629
|
contents.FunctionResponseTypes = deserializeAws_restJson1FunctionResponseTypeList(data.FunctionResponseTypes, context);
|
|
5628
5630
|
}
|
|
5629
5631
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
5630
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
5632
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
5631
5633
|
}
|
|
5632
5634
|
if (data.LastProcessingResult !== undefined && data.LastProcessingResult !== null) {
|
|
5633
|
-
contents.LastProcessingResult = smithy_client_1.expectString(data.LastProcessingResult);
|
|
5635
|
+
contents.LastProcessingResult = (0, smithy_client_1.expectString)(data.LastProcessingResult);
|
|
5634
5636
|
}
|
|
5635
5637
|
if (data.MaximumBatchingWindowInSeconds !== undefined && data.MaximumBatchingWindowInSeconds !== null) {
|
|
5636
|
-
contents.MaximumBatchingWindowInSeconds = smithy_client_1.expectInt32(data.MaximumBatchingWindowInSeconds);
|
|
5638
|
+
contents.MaximumBatchingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumBatchingWindowInSeconds);
|
|
5637
5639
|
}
|
|
5638
5640
|
if (data.MaximumRecordAgeInSeconds !== undefined && data.MaximumRecordAgeInSeconds !== null) {
|
|
5639
|
-
contents.MaximumRecordAgeInSeconds = smithy_client_1.expectInt32(data.MaximumRecordAgeInSeconds);
|
|
5641
|
+
contents.MaximumRecordAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumRecordAgeInSeconds);
|
|
5640
5642
|
}
|
|
5641
5643
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
5642
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
5644
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
5643
5645
|
}
|
|
5644
5646
|
if (data.ParallelizationFactor !== undefined && data.ParallelizationFactor !== null) {
|
|
5645
|
-
contents.ParallelizationFactor = smithy_client_1.expectInt32(data.ParallelizationFactor);
|
|
5647
|
+
contents.ParallelizationFactor = (0, smithy_client_1.expectInt32)(data.ParallelizationFactor);
|
|
5646
5648
|
}
|
|
5647
5649
|
if (data.Queues !== undefined && data.Queues !== null) {
|
|
5648
5650
|
contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
|
|
@@ -5654,25 +5656,25 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
|
|
|
5654
5656
|
contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
|
|
5655
5657
|
}
|
|
5656
5658
|
if (data.StartingPosition !== undefined && data.StartingPosition !== null) {
|
|
5657
|
-
contents.StartingPosition = smithy_client_1.expectString(data.StartingPosition);
|
|
5659
|
+
contents.StartingPosition = (0, smithy_client_1.expectString)(data.StartingPosition);
|
|
5658
5660
|
}
|
|
5659
5661
|
if (data.StartingPositionTimestamp !== undefined && data.StartingPositionTimestamp !== null) {
|
|
5660
|
-
contents.StartingPositionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartingPositionTimestamp)));
|
|
5662
|
+
contents.StartingPositionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartingPositionTimestamp)));
|
|
5661
5663
|
}
|
|
5662
5664
|
if (data.State !== undefined && data.State !== null) {
|
|
5663
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
5665
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
5664
5666
|
}
|
|
5665
5667
|
if (data.StateTransitionReason !== undefined && data.StateTransitionReason !== null) {
|
|
5666
|
-
contents.StateTransitionReason = smithy_client_1.expectString(data.StateTransitionReason);
|
|
5668
|
+
contents.StateTransitionReason = (0, smithy_client_1.expectString)(data.StateTransitionReason);
|
|
5667
5669
|
}
|
|
5668
5670
|
if (data.Topics !== undefined && data.Topics !== null) {
|
|
5669
5671
|
contents.Topics = deserializeAws_restJson1Topics(data.Topics, context);
|
|
5670
5672
|
}
|
|
5671
5673
|
if (data.TumblingWindowInSeconds !== undefined && data.TumblingWindowInSeconds !== null) {
|
|
5672
|
-
contents.TumblingWindowInSeconds = smithy_client_1.expectInt32(data.TumblingWindowInSeconds);
|
|
5674
|
+
contents.TumblingWindowInSeconds = (0, smithy_client_1.expectInt32)(data.TumblingWindowInSeconds);
|
|
5673
5675
|
}
|
|
5674
5676
|
if (data.UUID !== undefined && data.UUID !== null) {
|
|
5675
|
-
contents.UUID = smithy_client_1.expectString(data.UUID);
|
|
5677
|
+
contents.UUID = (0, smithy_client_1.expectString)(data.UUID);
|
|
5676
5678
|
}
|
|
5677
5679
|
return Promise.resolve(contents);
|
|
5678
5680
|
};
|
|
@@ -5711,7 +5713,7 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommandError = async (outp
|
|
|
5711
5713
|
$fault: "client",
|
|
5712
5714
|
$metadata: deserializeMetadata(output),
|
|
5713
5715
|
});
|
|
5714
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5715
5717
|
}
|
|
5716
5718
|
};
|
|
5717
5719
|
const deserializeAws_restJson1UpdateFunctionCodeCommand = async (output, context) => {
|
|
@@ -5753,21 +5755,21 @@ const deserializeAws_restJson1UpdateFunctionCodeCommand = async (output, context
|
|
|
5753
5755
|
Version: undefined,
|
|
5754
5756
|
VpcConfig: undefined,
|
|
5755
5757
|
};
|
|
5756
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5758
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5757
5759
|
if (data.Architectures !== undefined && data.Architectures !== null) {
|
|
5758
5760
|
contents.Architectures = deserializeAws_restJson1ArchitecturesList(data.Architectures, context);
|
|
5759
5761
|
}
|
|
5760
5762
|
if (data.CodeSha256 !== undefined && data.CodeSha256 !== null) {
|
|
5761
|
-
contents.CodeSha256 = smithy_client_1.expectString(data.CodeSha256);
|
|
5763
|
+
contents.CodeSha256 = (0, smithy_client_1.expectString)(data.CodeSha256);
|
|
5762
5764
|
}
|
|
5763
5765
|
if (data.CodeSize !== undefined && data.CodeSize !== null) {
|
|
5764
|
-
contents.CodeSize = smithy_client_1.expectLong(data.CodeSize);
|
|
5766
|
+
contents.CodeSize = (0, smithy_client_1.expectLong)(data.CodeSize);
|
|
5765
5767
|
}
|
|
5766
5768
|
if (data.DeadLetterConfig !== undefined && data.DeadLetterConfig !== null) {
|
|
5767
5769
|
contents.DeadLetterConfig = deserializeAws_restJson1DeadLetterConfig(data.DeadLetterConfig, context);
|
|
5768
5770
|
}
|
|
5769
5771
|
if (data.Description !== undefined && data.Description !== null) {
|
|
5770
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
5772
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
5771
5773
|
}
|
|
5772
5774
|
if (data.Environment !== undefined && data.Environment !== null) {
|
|
5773
5775
|
contents.Environment = deserializeAws_restJson1EnvironmentResponse(data.Environment, context);
|
|
@@ -5776,76 +5778,76 @@ const deserializeAws_restJson1UpdateFunctionCodeCommand = async (output, context
|
|
|
5776
5778
|
contents.FileSystemConfigs = deserializeAws_restJson1FileSystemConfigList(data.FileSystemConfigs, context);
|
|
5777
5779
|
}
|
|
5778
5780
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
5779
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
5781
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
5780
5782
|
}
|
|
5781
5783
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
5782
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
5784
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
5783
5785
|
}
|
|
5784
5786
|
if (data.Handler !== undefined && data.Handler !== null) {
|
|
5785
|
-
contents.Handler = smithy_client_1.expectString(data.Handler);
|
|
5787
|
+
contents.Handler = (0, smithy_client_1.expectString)(data.Handler);
|
|
5786
5788
|
}
|
|
5787
5789
|
if (data.ImageConfigResponse !== undefined && data.ImageConfigResponse !== null) {
|
|
5788
5790
|
contents.ImageConfigResponse = deserializeAws_restJson1ImageConfigResponse(data.ImageConfigResponse, context);
|
|
5789
5791
|
}
|
|
5790
5792
|
if (data.KMSKeyArn !== undefined && data.KMSKeyArn !== null) {
|
|
5791
|
-
contents.KMSKeyArn = smithy_client_1.expectString(data.KMSKeyArn);
|
|
5793
|
+
contents.KMSKeyArn = (0, smithy_client_1.expectString)(data.KMSKeyArn);
|
|
5792
5794
|
}
|
|
5793
5795
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
5794
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
5796
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
5795
5797
|
}
|
|
5796
5798
|
if (data.LastUpdateStatus !== undefined && data.LastUpdateStatus !== null) {
|
|
5797
|
-
contents.LastUpdateStatus = smithy_client_1.expectString(data.LastUpdateStatus);
|
|
5799
|
+
contents.LastUpdateStatus = (0, smithy_client_1.expectString)(data.LastUpdateStatus);
|
|
5798
5800
|
}
|
|
5799
5801
|
if (data.LastUpdateStatusReason !== undefined && data.LastUpdateStatusReason !== null) {
|
|
5800
|
-
contents.LastUpdateStatusReason = smithy_client_1.expectString(data.LastUpdateStatusReason);
|
|
5802
|
+
contents.LastUpdateStatusReason = (0, smithy_client_1.expectString)(data.LastUpdateStatusReason);
|
|
5801
5803
|
}
|
|
5802
5804
|
if (data.LastUpdateStatusReasonCode !== undefined && data.LastUpdateStatusReasonCode !== null) {
|
|
5803
|
-
contents.LastUpdateStatusReasonCode = smithy_client_1.expectString(data.LastUpdateStatusReasonCode);
|
|
5805
|
+
contents.LastUpdateStatusReasonCode = (0, smithy_client_1.expectString)(data.LastUpdateStatusReasonCode);
|
|
5804
5806
|
}
|
|
5805
5807
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
5806
5808
|
contents.Layers = deserializeAws_restJson1LayersReferenceList(data.Layers, context);
|
|
5807
5809
|
}
|
|
5808
5810
|
if (data.MasterArn !== undefined && data.MasterArn !== null) {
|
|
5809
|
-
contents.MasterArn = smithy_client_1.expectString(data.MasterArn);
|
|
5811
|
+
contents.MasterArn = (0, smithy_client_1.expectString)(data.MasterArn);
|
|
5810
5812
|
}
|
|
5811
5813
|
if (data.MemorySize !== undefined && data.MemorySize !== null) {
|
|
5812
|
-
contents.MemorySize = smithy_client_1.expectInt32(data.MemorySize);
|
|
5814
|
+
contents.MemorySize = (0, smithy_client_1.expectInt32)(data.MemorySize);
|
|
5813
5815
|
}
|
|
5814
5816
|
if (data.PackageType !== undefined && data.PackageType !== null) {
|
|
5815
|
-
contents.PackageType = smithy_client_1.expectString(data.PackageType);
|
|
5817
|
+
contents.PackageType = (0, smithy_client_1.expectString)(data.PackageType);
|
|
5816
5818
|
}
|
|
5817
5819
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
5818
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
5820
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
5819
5821
|
}
|
|
5820
5822
|
if (data.Role !== undefined && data.Role !== null) {
|
|
5821
|
-
contents.Role = smithy_client_1.expectString(data.Role);
|
|
5823
|
+
contents.Role = (0, smithy_client_1.expectString)(data.Role);
|
|
5822
5824
|
}
|
|
5823
5825
|
if (data.Runtime !== undefined && data.Runtime !== null) {
|
|
5824
|
-
contents.Runtime = smithy_client_1.expectString(data.Runtime);
|
|
5826
|
+
contents.Runtime = (0, smithy_client_1.expectString)(data.Runtime);
|
|
5825
5827
|
}
|
|
5826
5828
|
if (data.SigningJobArn !== undefined && data.SigningJobArn !== null) {
|
|
5827
|
-
contents.SigningJobArn = smithy_client_1.expectString(data.SigningJobArn);
|
|
5829
|
+
contents.SigningJobArn = (0, smithy_client_1.expectString)(data.SigningJobArn);
|
|
5828
5830
|
}
|
|
5829
5831
|
if (data.SigningProfileVersionArn !== undefined && data.SigningProfileVersionArn !== null) {
|
|
5830
|
-
contents.SigningProfileVersionArn = smithy_client_1.expectString(data.SigningProfileVersionArn);
|
|
5832
|
+
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
5831
5833
|
}
|
|
5832
5834
|
if (data.State !== undefined && data.State !== null) {
|
|
5833
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
5835
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
5834
5836
|
}
|
|
5835
5837
|
if (data.StateReason !== undefined && data.StateReason !== null) {
|
|
5836
|
-
contents.StateReason = smithy_client_1.expectString(data.StateReason);
|
|
5838
|
+
contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
|
|
5837
5839
|
}
|
|
5838
5840
|
if (data.StateReasonCode !== undefined && data.StateReasonCode !== null) {
|
|
5839
|
-
contents.StateReasonCode = smithy_client_1.expectString(data.StateReasonCode);
|
|
5841
|
+
contents.StateReasonCode = (0, smithy_client_1.expectString)(data.StateReasonCode);
|
|
5840
5842
|
}
|
|
5841
5843
|
if (data.Timeout !== undefined && data.Timeout !== null) {
|
|
5842
|
-
contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
|
|
5844
|
+
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
5843
5845
|
}
|
|
5844
5846
|
if (data.TracingConfig !== undefined && data.TracingConfig !== null) {
|
|
5845
5847
|
contents.TracingConfig = deserializeAws_restJson1TracingConfigResponse(data.TracingConfig, context);
|
|
5846
5848
|
}
|
|
5847
5849
|
if (data.Version !== undefined && data.Version !== null) {
|
|
5848
|
-
contents.Version = smithy_client_1.expectString(data.Version);
|
|
5850
|
+
contents.Version = (0, smithy_client_1.expectString)(data.Version);
|
|
5849
5851
|
}
|
|
5850
5852
|
if (data.VpcConfig !== undefined && data.VpcConfig !== null) {
|
|
5851
5853
|
contents.VpcConfig = deserializeAws_restJson1VpcConfigResponse(data.VpcConfig, context);
|
|
@@ -5899,7 +5901,7 @@ const deserializeAws_restJson1UpdateFunctionCodeCommandError = async (output, co
|
|
|
5899
5901
|
$fault: "client",
|
|
5900
5902
|
$metadata: deserializeMetadata(output),
|
|
5901
5903
|
});
|
|
5902
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5904
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5903
5905
|
}
|
|
5904
5906
|
};
|
|
5905
5907
|
const deserializeAws_restJson1UpdateFunctionConfigurationCommand = async (output, context) => {
|
|
@@ -5941,21 +5943,21 @@ const deserializeAws_restJson1UpdateFunctionConfigurationCommand = async (output
|
|
|
5941
5943
|
Version: undefined,
|
|
5942
5944
|
VpcConfig: undefined,
|
|
5943
5945
|
};
|
|
5944
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5946
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5945
5947
|
if (data.Architectures !== undefined && data.Architectures !== null) {
|
|
5946
5948
|
contents.Architectures = deserializeAws_restJson1ArchitecturesList(data.Architectures, context);
|
|
5947
5949
|
}
|
|
5948
5950
|
if (data.CodeSha256 !== undefined && data.CodeSha256 !== null) {
|
|
5949
|
-
contents.CodeSha256 = smithy_client_1.expectString(data.CodeSha256);
|
|
5951
|
+
contents.CodeSha256 = (0, smithy_client_1.expectString)(data.CodeSha256);
|
|
5950
5952
|
}
|
|
5951
5953
|
if (data.CodeSize !== undefined && data.CodeSize !== null) {
|
|
5952
|
-
contents.CodeSize = smithy_client_1.expectLong(data.CodeSize);
|
|
5954
|
+
contents.CodeSize = (0, smithy_client_1.expectLong)(data.CodeSize);
|
|
5953
5955
|
}
|
|
5954
5956
|
if (data.DeadLetterConfig !== undefined && data.DeadLetterConfig !== null) {
|
|
5955
5957
|
contents.DeadLetterConfig = deserializeAws_restJson1DeadLetterConfig(data.DeadLetterConfig, context);
|
|
5956
5958
|
}
|
|
5957
5959
|
if (data.Description !== undefined && data.Description !== null) {
|
|
5958
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
5960
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
5959
5961
|
}
|
|
5960
5962
|
if (data.Environment !== undefined && data.Environment !== null) {
|
|
5961
5963
|
contents.Environment = deserializeAws_restJson1EnvironmentResponse(data.Environment, context);
|
|
@@ -5964,76 +5966,76 @@ const deserializeAws_restJson1UpdateFunctionConfigurationCommand = async (output
|
|
|
5964
5966
|
contents.FileSystemConfigs = deserializeAws_restJson1FileSystemConfigList(data.FileSystemConfigs, context);
|
|
5965
5967
|
}
|
|
5966
5968
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
5967
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
5969
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
5968
5970
|
}
|
|
5969
5971
|
if (data.FunctionName !== undefined && data.FunctionName !== null) {
|
|
5970
|
-
contents.FunctionName = smithy_client_1.expectString(data.FunctionName);
|
|
5972
|
+
contents.FunctionName = (0, smithy_client_1.expectString)(data.FunctionName);
|
|
5971
5973
|
}
|
|
5972
5974
|
if (data.Handler !== undefined && data.Handler !== null) {
|
|
5973
|
-
contents.Handler = smithy_client_1.expectString(data.Handler);
|
|
5975
|
+
contents.Handler = (0, smithy_client_1.expectString)(data.Handler);
|
|
5974
5976
|
}
|
|
5975
5977
|
if (data.ImageConfigResponse !== undefined && data.ImageConfigResponse !== null) {
|
|
5976
5978
|
contents.ImageConfigResponse = deserializeAws_restJson1ImageConfigResponse(data.ImageConfigResponse, context);
|
|
5977
5979
|
}
|
|
5978
5980
|
if (data.KMSKeyArn !== undefined && data.KMSKeyArn !== null) {
|
|
5979
|
-
contents.KMSKeyArn = smithy_client_1.expectString(data.KMSKeyArn);
|
|
5981
|
+
contents.KMSKeyArn = (0, smithy_client_1.expectString)(data.KMSKeyArn);
|
|
5980
5982
|
}
|
|
5981
5983
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
5982
|
-
contents.LastModified = smithy_client_1.expectString(data.LastModified);
|
|
5984
|
+
contents.LastModified = (0, smithy_client_1.expectString)(data.LastModified);
|
|
5983
5985
|
}
|
|
5984
5986
|
if (data.LastUpdateStatus !== undefined && data.LastUpdateStatus !== null) {
|
|
5985
|
-
contents.LastUpdateStatus = smithy_client_1.expectString(data.LastUpdateStatus);
|
|
5987
|
+
contents.LastUpdateStatus = (0, smithy_client_1.expectString)(data.LastUpdateStatus);
|
|
5986
5988
|
}
|
|
5987
5989
|
if (data.LastUpdateStatusReason !== undefined && data.LastUpdateStatusReason !== null) {
|
|
5988
|
-
contents.LastUpdateStatusReason = smithy_client_1.expectString(data.LastUpdateStatusReason);
|
|
5990
|
+
contents.LastUpdateStatusReason = (0, smithy_client_1.expectString)(data.LastUpdateStatusReason);
|
|
5989
5991
|
}
|
|
5990
5992
|
if (data.LastUpdateStatusReasonCode !== undefined && data.LastUpdateStatusReasonCode !== null) {
|
|
5991
|
-
contents.LastUpdateStatusReasonCode = smithy_client_1.expectString(data.LastUpdateStatusReasonCode);
|
|
5993
|
+
contents.LastUpdateStatusReasonCode = (0, smithy_client_1.expectString)(data.LastUpdateStatusReasonCode);
|
|
5992
5994
|
}
|
|
5993
5995
|
if (data.Layers !== undefined && data.Layers !== null) {
|
|
5994
5996
|
contents.Layers = deserializeAws_restJson1LayersReferenceList(data.Layers, context);
|
|
5995
5997
|
}
|
|
5996
5998
|
if (data.MasterArn !== undefined && data.MasterArn !== null) {
|
|
5997
|
-
contents.MasterArn = smithy_client_1.expectString(data.MasterArn);
|
|
5999
|
+
contents.MasterArn = (0, smithy_client_1.expectString)(data.MasterArn);
|
|
5998
6000
|
}
|
|
5999
6001
|
if (data.MemorySize !== undefined && data.MemorySize !== null) {
|
|
6000
|
-
contents.MemorySize = smithy_client_1.expectInt32(data.MemorySize);
|
|
6002
|
+
contents.MemorySize = (0, smithy_client_1.expectInt32)(data.MemorySize);
|
|
6001
6003
|
}
|
|
6002
6004
|
if (data.PackageType !== undefined && data.PackageType !== null) {
|
|
6003
|
-
contents.PackageType = smithy_client_1.expectString(data.PackageType);
|
|
6005
|
+
contents.PackageType = (0, smithy_client_1.expectString)(data.PackageType);
|
|
6004
6006
|
}
|
|
6005
6007
|
if (data.RevisionId !== undefined && data.RevisionId !== null) {
|
|
6006
|
-
contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
|
|
6008
|
+
contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
|
|
6007
6009
|
}
|
|
6008
6010
|
if (data.Role !== undefined && data.Role !== null) {
|
|
6009
|
-
contents.Role = smithy_client_1.expectString(data.Role);
|
|
6011
|
+
contents.Role = (0, smithy_client_1.expectString)(data.Role);
|
|
6010
6012
|
}
|
|
6011
6013
|
if (data.Runtime !== undefined && data.Runtime !== null) {
|
|
6012
|
-
contents.Runtime = smithy_client_1.expectString(data.Runtime);
|
|
6014
|
+
contents.Runtime = (0, smithy_client_1.expectString)(data.Runtime);
|
|
6013
6015
|
}
|
|
6014
6016
|
if (data.SigningJobArn !== undefined && data.SigningJobArn !== null) {
|
|
6015
|
-
contents.SigningJobArn = smithy_client_1.expectString(data.SigningJobArn);
|
|
6017
|
+
contents.SigningJobArn = (0, smithy_client_1.expectString)(data.SigningJobArn);
|
|
6016
6018
|
}
|
|
6017
6019
|
if (data.SigningProfileVersionArn !== undefined && data.SigningProfileVersionArn !== null) {
|
|
6018
|
-
contents.SigningProfileVersionArn = smithy_client_1.expectString(data.SigningProfileVersionArn);
|
|
6020
|
+
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
6019
6021
|
}
|
|
6020
6022
|
if (data.State !== undefined && data.State !== null) {
|
|
6021
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
6023
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
6022
6024
|
}
|
|
6023
6025
|
if (data.StateReason !== undefined && data.StateReason !== null) {
|
|
6024
|
-
contents.StateReason = smithy_client_1.expectString(data.StateReason);
|
|
6026
|
+
contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
|
|
6025
6027
|
}
|
|
6026
6028
|
if (data.StateReasonCode !== undefined && data.StateReasonCode !== null) {
|
|
6027
|
-
contents.StateReasonCode = smithy_client_1.expectString(data.StateReasonCode);
|
|
6029
|
+
contents.StateReasonCode = (0, smithy_client_1.expectString)(data.StateReasonCode);
|
|
6028
6030
|
}
|
|
6029
6031
|
if (data.Timeout !== undefined && data.Timeout !== null) {
|
|
6030
|
-
contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
|
|
6032
|
+
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
6031
6033
|
}
|
|
6032
6034
|
if (data.TracingConfig !== undefined && data.TracingConfig !== null) {
|
|
6033
6035
|
contents.TracingConfig = deserializeAws_restJson1TracingConfigResponse(data.TracingConfig, context);
|
|
6034
6036
|
}
|
|
6035
6037
|
if (data.Version !== undefined && data.Version !== null) {
|
|
6036
|
-
contents.Version = smithy_client_1.expectString(data.Version);
|
|
6038
|
+
contents.Version = (0, smithy_client_1.expectString)(data.Version);
|
|
6037
6039
|
}
|
|
6038
6040
|
if (data.VpcConfig !== undefined && data.VpcConfig !== null) {
|
|
6039
6041
|
contents.VpcConfig = deserializeAws_restJson1VpcConfigResponse(data.VpcConfig, context);
|
|
@@ -6084,7 +6086,7 @@ const deserializeAws_restJson1UpdateFunctionConfigurationCommandError = async (o
|
|
|
6084
6086
|
$fault: "client",
|
|
6085
6087
|
$metadata: deserializeMetadata(output),
|
|
6086
6088
|
});
|
|
6087
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6089
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6088
6090
|
}
|
|
6089
6091
|
};
|
|
6090
6092
|
const deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand = async (output, context) => {
|
|
@@ -6099,21 +6101,21 @@ const deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand = async (ou
|
|
|
6099
6101
|
MaximumEventAgeInSeconds: undefined,
|
|
6100
6102
|
MaximumRetryAttempts: undefined,
|
|
6101
6103
|
};
|
|
6102
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6104
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6103
6105
|
if (data.DestinationConfig !== undefined && data.DestinationConfig !== null) {
|
|
6104
6106
|
contents.DestinationConfig = deserializeAws_restJson1DestinationConfig(data.DestinationConfig, context);
|
|
6105
6107
|
}
|
|
6106
6108
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
6107
|
-
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
6109
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(data.FunctionArn);
|
|
6108
6110
|
}
|
|
6109
6111
|
if (data.LastModified !== undefined && data.LastModified !== null) {
|
|
6110
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModified)));
|
|
6112
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModified)));
|
|
6111
6113
|
}
|
|
6112
6114
|
if (data.MaximumEventAgeInSeconds !== undefined && data.MaximumEventAgeInSeconds !== null) {
|
|
6113
|
-
contents.MaximumEventAgeInSeconds = smithy_client_1.expectInt32(data.MaximumEventAgeInSeconds);
|
|
6115
|
+
contents.MaximumEventAgeInSeconds = (0, smithy_client_1.expectInt32)(data.MaximumEventAgeInSeconds);
|
|
6114
6116
|
}
|
|
6115
6117
|
if (data.MaximumRetryAttempts !== undefined && data.MaximumRetryAttempts !== null) {
|
|
6116
|
-
contents.MaximumRetryAttempts = smithy_client_1.expectInt32(data.MaximumRetryAttempts);
|
|
6118
|
+
contents.MaximumRetryAttempts = (0, smithy_client_1.expectInt32)(data.MaximumRetryAttempts);
|
|
6117
6119
|
}
|
|
6118
6120
|
return Promise.resolve(contents);
|
|
6119
6121
|
};
|
|
@@ -6149,491 +6151,491 @@ const deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommandError = asyn
|
|
|
6149
6151
|
$fault: "client",
|
|
6150
6152
|
$metadata: deserializeMetadata(output),
|
|
6151
6153
|
});
|
|
6152
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6154
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6153
6155
|
}
|
|
6154
6156
|
};
|
|
6155
6157
|
const deserializeAws_restJson1CodeSigningConfigNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6156
6158
|
const contents = {};
|
|
6157
6159
|
const data = parsedOutput.body;
|
|
6158
6160
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6159
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6161
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6160
6162
|
}
|
|
6161
6163
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6162
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6164
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6163
6165
|
}
|
|
6164
6166
|
const exception = new models_0_1.CodeSigningConfigNotFoundException({
|
|
6165
6167
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6166
6168
|
...contents,
|
|
6167
6169
|
});
|
|
6168
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6170
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6169
6171
|
};
|
|
6170
6172
|
const deserializeAws_restJson1CodeStorageExceededExceptionResponse = async (parsedOutput, context) => {
|
|
6171
6173
|
const contents = {};
|
|
6172
6174
|
const data = parsedOutput.body;
|
|
6173
6175
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6174
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6176
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6175
6177
|
}
|
|
6176
6178
|
if (data.message !== undefined && data.message !== null) {
|
|
6177
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6179
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6178
6180
|
}
|
|
6179
6181
|
const exception = new models_0_1.CodeStorageExceededException({
|
|
6180
6182
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6181
6183
|
...contents,
|
|
6182
6184
|
});
|
|
6183
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6185
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6184
6186
|
};
|
|
6185
6187
|
const deserializeAws_restJson1CodeVerificationFailedExceptionResponse = async (parsedOutput, context) => {
|
|
6186
6188
|
const contents = {};
|
|
6187
6189
|
const data = parsedOutput.body;
|
|
6188
6190
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6189
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6191
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6190
6192
|
}
|
|
6191
6193
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6192
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6194
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6193
6195
|
}
|
|
6194
6196
|
const exception = new models_0_1.CodeVerificationFailedException({
|
|
6195
6197
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6196
6198
|
...contents,
|
|
6197
6199
|
});
|
|
6198
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6200
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6199
6201
|
};
|
|
6200
6202
|
const deserializeAws_restJson1EC2AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
6201
6203
|
const contents = {};
|
|
6202
6204
|
const data = parsedOutput.body;
|
|
6203
6205
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6204
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6206
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6205
6207
|
}
|
|
6206
6208
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6207
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6209
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6208
6210
|
}
|
|
6209
6211
|
const exception = new models_0_1.EC2AccessDeniedException({
|
|
6210
6212
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6211
6213
|
...contents,
|
|
6212
6214
|
});
|
|
6213
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6215
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6214
6216
|
};
|
|
6215
6217
|
const deserializeAws_restJson1EC2ThrottledExceptionResponse = async (parsedOutput, context) => {
|
|
6216
6218
|
const contents = {};
|
|
6217
6219
|
const data = parsedOutput.body;
|
|
6218
6220
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6219
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6221
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6220
6222
|
}
|
|
6221
6223
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6222
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6224
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6223
6225
|
}
|
|
6224
6226
|
const exception = new models_0_1.EC2ThrottledException({
|
|
6225
6227
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6226
6228
|
...contents,
|
|
6227
6229
|
});
|
|
6228
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6230
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6229
6231
|
};
|
|
6230
6232
|
const deserializeAws_restJson1EC2UnexpectedExceptionResponse = async (parsedOutput, context) => {
|
|
6231
6233
|
const contents = {};
|
|
6232
6234
|
const data = parsedOutput.body;
|
|
6233
6235
|
if (data.EC2ErrorCode !== undefined && data.EC2ErrorCode !== null) {
|
|
6234
|
-
contents.EC2ErrorCode = smithy_client_1.expectString(data.EC2ErrorCode);
|
|
6236
|
+
contents.EC2ErrorCode = (0, smithy_client_1.expectString)(data.EC2ErrorCode);
|
|
6235
6237
|
}
|
|
6236
6238
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6237
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6239
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6238
6240
|
}
|
|
6239
6241
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6240
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6242
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6241
6243
|
}
|
|
6242
6244
|
const exception = new models_0_1.EC2UnexpectedException({
|
|
6243
6245
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6244
6246
|
...contents,
|
|
6245
6247
|
});
|
|
6246
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6248
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6247
6249
|
};
|
|
6248
6250
|
const deserializeAws_restJson1EFSIOExceptionResponse = async (parsedOutput, context) => {
|
|
6249
6251
|
const contents = {};
|
|
6250
6252
|
const data = parsedOutput.body;
|
|
6251
6253
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6252
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6254
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6253
6255
|
}
|
|
6254
6256
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6255
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6257
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6256
6258
|
}
|
|
6257
6259
|
const exception = new models_0_1.EFSIOException({
|
|
6258
6260
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6259
6261
|
...contents,
|
|
6260
6262
|
});
|
|
6261
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6263
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6262
6264
|
};
|
|
6263
6265
|
const deserializeAws_restJson1EFSMountConnectivityExceptionResponse = async (parsedOutput, context) => {
|
|
6264
6266
|
const contents = {};
|
|
6265
6267
|
const data = parsedOutput.body;
|
|
6266
6268
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6267
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6269
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6268
6270
|
}
|
|
6269
6271
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6270
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6272
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6271
6273
|
}
|
|
6272
6274
|
const exception = new models_0_1.EFSMountConnectivityException({
|
|
6273
6275
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6274
6276
|
...contents,
|
|
6275
6277
|
});
|
|
6276
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6278
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6277
6279
|
};
|
|
6278
6280
|
const deserializeAws_restJson1EFSMountFailureExceptionResponse = async (parsedOutput, context) => {
|
|
6279
6281
|
const contents = {};
|
|
6280
6282
|
const data = parsedOutput.body;
|
|
6281
6283
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6282
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6284
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6283
6285
|
}
|
|
6284
6286
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6285
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6287
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6286
6288
|
}
|
|
6287
6289
|
const exception = new models_0_1.EFSMountFailureException({
|
|
6288
6290
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6289
6291
|
...contents,
|
|
6290
6292
|
});
|
|
6291
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6293
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6292
6294
|
};
|
|
6293
6295
|
const deserializeAws_restJson1EFSMountTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
6294
6296
|
const contents = {};
|
|
6295
6297
|
const data = parsedOutput.body;
|
|
6296
6298
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6297
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6299
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6298
6300
|
}
|
|
6299
6301
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6300
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6302
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6301
6303
|
}
|
|
6302
6304
|
const exception = new models_0_1.EFSMountTimeoutException({
|
|
6303
6305
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6304
6306
|
...contents,
|
|
6305
6307
|
});
|
|
6306
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6308
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6307
6309
|
};
|
|
6308
6310
|
const deserializeAws_restJson1ENILimitReachedExceptionResponse = async (parsedOutput, context) => {
|
|
6309
6311
|
const contents = {};
|
|
6310
6312
|
const data = parsedOutput.body;
|
|
6311
6313
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6312
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6314
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6313
6315
|
}
|
|
6314
6316
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6315
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6317
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6316
6318
|
}
|
|
6317
6319
|
const exception = new models_0_1.ENILimitReachedException({
|
|
6318
6320
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6319
6321
|
...contents,
|
|
6320
6322
|
});
|
|
6321
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6323
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6322
6324
|
};
|
|
6323
6325
|
const deserializeAws_restJson1InvalidCodeSignatureExceptionResponse = async (parsedOutput, context) => {
|
|
6324
6326
|
const contents = {};
|
|
6325
6327
|
const data = parsedOutput.body;
|
|
6326
6328
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6327
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6329
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6328
6330
|
}
|
|
6329
6331
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6330
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6332
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6331
6333
|
}
|
|
6332
6334
|
const exception = new models_0_1.InvalidCodeSignatureException({
|
|
6333
6335
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6334
6336
|
...contents,
|
|
6335
6337
|
});
|
|
6336
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6338
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6337
6339
|
};
|
|
6338
6340
|
const deserializeAws_restJson1InvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
|
|
6339
6341
|
const contents = {};
|
|
6340
6342
|
const data = parsedOutput.body;
|
|
6341
6343
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6342
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6344
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6343
6345
|
}
|
|
6344
6346
|
if (data.message !== undefined && data.message !== null) {
|
|
6345
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6347
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6346
6348
|
}
|
|
6347
6349
|
const exception = new models_0_1.InvalidParameterValueException({
|
|
6348
6350
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6349
6351
|
...contents,
|
|
6350
6352
|
});
|
|
6351
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6353
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6352
6354
|
};
|
|
6353
6355
|
const deserializeAws_restJson1InvalidRequestContentExceptionResponse = async (parsedOutput, context) => {
|
|
6354
6356
|
const contents = {};
|
|
6355
6357
|
const data = parsedOutput.body;
|
|
6356
6358
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6357
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6359
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6358
6360
|
}
|
|
6359
6361
|
if (data.message !== undefined && data.message !== null) {
|
|
6360
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6362
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6361
6363
|
}
|
|
6362
6364
|
const exception = new models_0_1.InvalidRequestContentException({
|
|
6363
6365
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6364
6366
|
...contents,
|
|
6365
6367
|
});
|
|
6366
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6368
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6367
6369
|
};
|
|
6368
6370
|
const deserializeAws_restJson1InvalidRuntimeExceptionResponse = async (parsedOutput, context) => {
|
|
6369
6371
|
const contents = {};
|
|
6370
6372
|
const data = parsedOutput.body;
|
|
6371
6373
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6372
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6374
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6373
6375
|
}
|
|
6374
6376
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6375
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6377
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6376
6378
|
}
|
|
6377
6379
|
const exception = new models_0_1.InvalidRuntimeException({
|
|
6378
6380
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6379
6381
|
...contents,
|
|
6380
6382
|
});
|
|
6381
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6383
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6382
6384
|
};
|
|
6383
6385
|
const deserializeAws_restJson1InvalidSecurityGroupIDExceptionResponse = async (parsedOutput, context) => {
|
|
6384
6386
|
const contents = {};
|
|
6385
6387
|
const data = parsedOutput.body;
|
|
6386
6388
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6387
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6389
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6388
6390
|
}
|
|
6389
6391
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6390
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6392
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6391
6393
|
}
|
|
6392
6394
|
const exception = new models_0_1.InvalidSecurityGroupIDException({
|
|
6393
6395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6394
6396
|
...contents,
|
|
6395
6397
|
});
|
|
6396
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6398
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6397
6399
|
};
|
|
6398
6400
|
const deserializeAws_restJson1InvalidSubnetIDExceptionResponse = async (parsedOutput, context) => {
|
|
6399
6401
|
const contents = {};
|
|
6400
6402
|
const data = parsedOutput.body;
|
|
6401
6403
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6402
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6404
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6403
6405
|
}
|
|
6404
6406
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6405
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6407
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6406
6408
|
}
|
|
6407
6409
|
const exception = new models_0_1.InvalidSubnetIDException({
|
|
6408
6410
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6409
6411
|
...contents,
|
|
6410
6412
|
});
|
|
6411
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6413
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6412
6414
|
};
|
|
6413
6415
|
const deserializeAws_restJson1InvalidZipFileExceptionResponse = async (parsedOutput, context) => {
|
|
6414
6416
|
const contents = {};
|
|
6415
6417
|
const data = parsedOutput.body;
|
|
6416
6418
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6417
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6419
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6418
6420
|
}
|
|
6419
6421
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6420
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6422
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6421
6423
|
}
|
|
6422
6424
|
const exception = new models_0_1.InvalidZipFileException({
|
|
6423
6425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6424
6426
|
...contents,
|
|
6425
6427
|
});
|
|
6426
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6428
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6427
6429
|
};
|
|
6428
6430
|
const deserializeAws_restJson1KMSAccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
6429
6431
|
const contents = {};
|
|
6430
6432
|
const data = parsedOutput.body;
|
|
6431
6433
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6432
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6434
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6433
6435
|
}
|
|
6434
6436
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6435
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6437
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6436
6438
|
}
|
|
6437
6439
|
const exception = new models_0_1.KMSAccessDeniedException({
|
|
6438
6440
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6439
6441
|
...contents,
|
|
6440
6442
|
});
|
|
6441
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6443
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6442
6444
|
};
|
|
6443
6445
|
const deserializeAws_restJson1KMSDisabledExceptionResponse = async (parsedOutput, context) => {
|
|
6444
6446
|
const contents = {};
|
|
6445
6447
|
const data = parsedOutput.body;
|
|
6446
6448
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6447
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6449
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6448
6450
|
}
|
|
6449
6451
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6450
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6452
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6451
6453
|
}
|
|
6452
6454
|
const exception = new models_0_1.KMSDisabledException({
|
|
6453
6455
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6454
6456
|
...contents,
|
|
6455
6457
|
});
|
|
6456
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6458
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6457
6459
|
};
|
|
6458
6460
|
const deserializeAws_restJson1KMSInvalidStateExceptionResponse = async (parsedOutput, context) => {
|
|
6459
6461
|
const contents = {};
|
|
6460
6462
|
const data = parsedOutput.body;
|
|
6461
6463
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6462
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6464
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6463
6465
|
}
|
|
6464
6466
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6465
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6467
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6466
6468
|
}
|
|
6467
6469
|
const exception = new models_0_1.KMSInvalidStateException({
|
|
6468
6470
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6469
6471
|
...contents,
|
|
6470
6472
|
});
|
|
6471
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6473
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6472
6474
|
};
|
|
6473
6475
|
const deserializeAws_restJson1KMSNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6474
6476
|
const contents = {};
|
|
6475
6477
|
const data = parsedOutput.body;
|
|
6476
6478
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6477
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6479
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6478
6480
|
}
|
|
6479
6481
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6480
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6482
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6481
6483
|
}
|
|
6482
6484
|
const exception = new models_0_1.KMSNotFoundException({
|
|
6483
6485
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6484
6486
|
...contents,
|
|
6485
6487
|
});
|
|
6486
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6488
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6487
6489
|
};
|
|
6488
6490
|
const deserializeAws_restJson1PolicyLengthExceededExceptionResponse = async (parsedOutput, context) => {
|
|
6489
6491
|
const contents = {};
|
|
6490
6492
|
const data = parsedOutput.body;
|
|
6491
6493
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6492
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6494
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6493
6495
|
}
|
|
6494
6496
|
if (data.message !== undefined && data.message !== null) {
|
|
6495
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6497
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6496
6498
|
}
|
|
6497
6499
|
const exception = new models_0_1.PolicyLengthExceededException({
|
|
6498
6500
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6499
6501
|
...contents,
|
|
6500
6502
|
});
|
|
6501
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6503
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6502
6504
|
};
|
|
6503
6505
|
const deserializeAws_restJson1PreconditionFailedExceptionResponse = async (parsedOutput, context) => {
|
|
6504
6506
|
const contents = {};
|
|
6505
6507
|
const data = parsedOutput.body;
|
|
6506
6508
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6507
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6509
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6508
6510
|
}
|
|
6509
6511
|
if (data.message !== undefined && data.message !== null) {
|
|
6510
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6512
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6511
6513
|
}
|
|
6512
6514
|
const exception = new models_0_1.PreconditionFailedException({
|
|
6513
6515
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6514
6516
|
...contents,
|
|
6515
6517
|
});
|
|
6516
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6518
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6517
6519
|
};
|
|
6518
6520
|
const deserializeAws_restJson1ProvisionedConcurrencyConfigNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6519
6521
|
const contents = {};
|
|
6520
6522
|
const data = parsedOutput.body;
|
|
6521
6523
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6522
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6524
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6523
6525
|
}
|
|
6524
6526
|
if (data.message !== undefined && data.message !== null) {
|
|
6525
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6527
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6526
6528
|
}
|
|
6527
6529
|
const exception = new models_0_1.ProvisionedConcurrencyConfigNotFoundException({
|
|
6528
6530
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6529
6531
|
...contents,
|
|
6530
6532
|
});
|
|
6531
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6533
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6532
6534
|
};
|
|
6533
6535
|
const deserializeAws_restJson1RequestTooLargeExceptionResponse = async (parsedOutput, context) => {
|
|
6534
6536
|
const contents = {};
|
|
6535
6537
|
const data = parsedOutput.body;
|
|
6536
6538
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6537
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6539
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6538
6540
|
}
|
|
6539
6541
|
if (data.message !== undefined && data.message !== null) {
|
|
6540
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6542
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6541
6543
|
}
|
|
6542
6544
|
const exception = new models_0_1.RequestTooLargeException({
|
|
6543
6545
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6544
6546
|
...contents,
|
|
6545
6547
|
});
|
|
6546
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6548
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6547
6549
|
};
|
|
6548
6550
|
const deserializeAws_restJson1ResourceConflictExceptionResponse = async (parsedOutput, context) => {
|
|
6549
6551
|
const contents = {};
|
|
6550
6552
|
const data = parsedOutput.body;
|
|
6551
6553
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6552
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6554
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6553
6555
|
}
|
|
6554
6556
|
if (data.message !== undefined && data.message !== null) {
|
|
6555
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6557
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6556
6558
|
}
|
|
6557
6559
|
const exception = new models_0_1.ResourceConflictException({
|
|
6558
6560
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6559
6561
|
...contents,
|
|
6560
6562
|
});
|
|
6561
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6563
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6562
6564
|
};
|
|
6563
6565
|
const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
6564
6566
|
const contents = {};
|
|
6565
6567
|
const data = parsedOutput.body;
|
|
6566
6568
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6567
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6569
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6568
6570
|
}
|
|
6569
6571
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6570
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6572
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6571
6573
|
}
|
|
6572
6574
|
const exception = new models_0_1.ResourceInUseException({
|
|
6573
6575
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6574
6576
|
...contents,
|
|
6575
6577
|
});
|
|
6576
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6578
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6577
6579
|
};
|
|
6578
6580
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6579
6581
|
const contents = {};
|
|
6580
6582
|
const data = parsedOutput.body;
|
|
6581
6583
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6582
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6584
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6583
6585
|
}
|
|
6584
6586
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6585
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6587
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6586
6588
|
}
|
|
6587
6589
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
6588
6590
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6589
6591
|
...contents,
|
|
6590
6592
|
});
|
|
6591
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6593
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6592
6594
|
};
|
|
6593
6595
|
const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
|
|
6594
6596
|
const contents = {};
|
|
6595
6597
|
const data = parsedOutput.body;
|
|
6596
6598
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6597
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6599
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6598
6600
|
}
|
|
6599
6601
|
if (data.message !== undefined && data.message !== null) {
|
|
6600
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6602
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6601
6603
|
}
|
|
6602
6604
|
const exception = new models_0_1.ResourceNotReadyException({
|
|
6603
6605
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6604
6606
|
...contents,
|
|
6605
6607
|
});
|
|
6606
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6608
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6607
6609
|
};
|
|
6608
6610
|
const deserializeAws_restJson1ServiceExceptionResponse = async (parsedOutput, context) => {
|
|
6609
6611
|
const contents = {};
|
|
6610
6612
|
const data = parsedOutput.body;
|
|
6611
6613
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6612
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6614
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6613
6615
|
}
|
|
6614
6616
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6615
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6617
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6616
6618
|
}
|
|
6617
6619
|
const exception = new models_0_1.ServiceException({
|
|
6618
6620
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6619
6621
|
...contents,
|
|
6620
6622
|
});
|
|
6621
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6623
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6622
6624
|
};
|
|
6623
6625
|
const deserializeAws_restJson1SubnetIPAddressLimitReachedExceptionResponse = async (parsedOutput, context) => {
|
|
6624
6626
|
const contents = {};
|
|
6625
6627
|
const data = parsedOutput.body;
|
|
6626
6628
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6627
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6629
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6628
6630
|
}
|
|
6629
6631
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6630
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6632
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6631
6633
|
}
|
|
6632
6634
|
const exception = new models_0_1.SubnetIPAddressLimitReachedException({
|
|
6633
6635
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6634
6636
|
...contents,
|
|
6635
6637
|
});
|
|
6636
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6638
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6637
6639
|
};
|
|
6638
6640
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
6639
6641
|
const contents = {};
|
|
@@ -6642,34 +6644,34 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
6642
6644
|
}
|
|
6643
6645
|
const data = parsedOutput.body;
|
|
6644
6646
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
6645
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
6647
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
6646
6648
|
}
|
|
6647
6649
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6648
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6650
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6649
6651
|
}
|
|
6650
6652
|
if (data.message !== undefined && data.message !== null) {
|
|
6651
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6653
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6652
6654
|
}
|
|
6653
6655
|
const exception = new models_0_1.TooManyRequestsException({
|
|
6654
6656
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6655
6657
|
...contents,
|
|
6656
6658
|
});
|
|
6657
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6659
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6658
6660
|
};
|
|
6659
6661
|
const deserializeAws_restJson1UnsupportedMediaTypeExceptionResponse = async (parsedOutput, context) => {
|
|
6660
6662
|
const contents = {};
|
|
6661
6663
|
const data = parsedOutput.body;
|
|
6662
6664
|
if (data.Type !== undefined && data.Type !== null) {
|
|
6663
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
6665
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
6664
6666
|
}
|
|
6665
6667
|
if (data.message !== undefined && data.message !== null) {
|
|
6666
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6668
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6667
6669
|
}
|
|
6668
6670
|
const exception = new models_0_1.UnsupportedMediaTypeException({
|
|
6669
6671
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6670
6672
|
...contents,
|
|
6671
6673
|
});
|
|
6672
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6674
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6673
6675
|
};
|
|
6674
6676
|
const serializeAws_restJson1AdditionalVersionWeights = (input, context) => {
|
|
6675
6677
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
@@ -6678,7 +6680,7 @@ const serializeAws_restJson1AdditionalVersionWeights = (input, context) => {
|
|
|
6678
6680
|
}
|
|
6679
6681
|
return {
|
|
6680
6682
|
...acc,
|
|
6681
|
-
[key]: smithy_client_1.serializeFloat(value),
|
|
6683
|
+
[key]: (0, smithy_client_1.serializeFloat)(value),
|
|
6682
6684
|
};
|
|
6683
6685
|
}, {});
|
|
6684
6686
|
};
|
|
@@ -6994,17 +6996,17 @@ const serializeAws_restJson1VpcConfig = (input, context) => {
|
|
|
6994
6996
|
};
|
|
6995
6997
|
const deserializeAws_restJson1AccountLimit = (output, context) => {
|
|
6996
6998
|
return {
|
|
6997
|
-
CodeSizeUnzipped: smithy_client_1.expectLong(output.CodeSizeUnzipped),
|
|
6998
|
-
CodeSizeZipped: smithy_client_1.expectLong(output.CodeSizeZipped),
|
|
6999
|
-
ConcurrentExecutions: smithy_client_1.expectInt32(output.ConcurrentExecutions),
|
|
7000
|
-
TotalCodeSize: smithy_client_1.expectLong(output.TotalCodeSize),
|
|
7001
|
-
UnreservedConcurrentExecutions: smithy_client_1.expectInt32(output.UnreservedConcurrentExecutions),
|
|
6999
|
+
CodeSizeUnzipped: (0, smithy_client_1.expectLong)(output.CodeSizeUnzipped),
|
|
7000
|
+
CodeSizeZipped: (0, smithy_client_1.expectLong)(output.CodeSizeZipped),
|
|
7001
|
+
ConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.ConcurrentExecutions),
|
|
7002
|
+
TotalCodeSize: (0, smithy_client_1.expectLong)(output.TotalCodeSize),
|
|
7003
|
+
UnreservedConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.UnreservedConcurrentExecutions),
|
|
7002
7004
|
};
|
|
7003
7005
|
};
|
|
7004
7006
|
const deserializeAws_restJson1AccountUsage = (output, context) => {
|
|
7005
7007
|
return {
|
|
7006
|
-
FunctionCount: smithy_client_1.expectLong(output.FunctionCount),
|
|
7007
|
-
TotalCodeSize: smithy_client_1.expectLong(output.TotalCodeSize),
|
|
7008
|
+
FunctionCount: (0, smithy_client_1.expectLong)(output.FunctionCount),
|
|
7009
|
+
TotalCodeSize: (0, smithy_client_1.expectLong)(output.TotalCodeSize),
|
|
7008
7010
|
};
|
|
7009
7011
|
};
|
|
7010
7012
|
const deserializeAws_restJson1AdditionalVersionWeights = (output, context) => {
|
|
@@ -7014,17 +7016,17 @@ const deserializeAws_restJson1AdditionalVersionWeights = (output, context) => {
|
|
|
7014
7016
|
}
|
|
7015
7017
|
return {
|
|
7016
7018
|
...acc,
|
|
7017
|
-
[key]: smithy_client_1.limitedParseDouble(value),
|
|
7019
|
+
[key]: (0, smithy_client_1.limitedParseDouble)(value),
|
|
7018
7020
|
};
|
|
7019
7021
|
}, {});
|
|
7020
7022
|
};
|
|
7021
7023
|
const deserializeAws_restJson1AliasConfiguration = (output, context) => {
|
|
7022
7024
|
return {
|
|
7023
|
-
AliasArn: smithy_client_1.expectString(output.AliasArn),
|
|
7024
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7025
|
-
FunctionVersion: smithy_client_1.expectString(output.FunctionVersion),
|
|
7026
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7027
|
-
RevisionId: smithy_client_1.expectString(output.RevisionId),
|
|
7025
|
+
AliasArn: (0, smithy_client_1.expectString)(output.AliasArn),
|
|
7026
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7027
|
+
FunctionVersion: (0, smithy_client_1.expectString)(output.FunctionVersion),
|
|
7028
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7029
|
+
RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
|
|
7028
7030
|
RoutingConfig: output.RoutingConfig !== undefined && output.RoutingConfig !== null
|
|
7029
7031
|
? deserializeAws_restJson1AliasRoutingConfiguration(output.RoutingConfig, context)
|
|
7030
7032
|
: undefined,
|
|
@@ -7062,7 +7064,7 @@ const deserializeAws_restJson1ArchitecturesList = (output, context) => {
|
|
|
7062
7064
|
if (entry === null) {
|
|
7063
7065
|
return null;
|
|
7064
7066
|
}
|
|
7065
|
-
return smithy_client_1.expectString(entry);
|
|
7067
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7066
7068
|
});
|
|
7067
7069
|
return retVal;
|
|
7068
7070
|
};
|
|
@@ -7071,13 +7073,13 @@ const deserializeAws_restJson1CodeSigningConfig = (output, context) => {
|
|
|
7071
7073
|
AllowedPublishers: output.AllowedPublishers !== undefined && output.AllowedPublishers !== null
|
|
7072
7074
|
? deserializeAws_restJson1AllowedPublishers(output.AllowedPublishers, context)
|
|
7073
7075
|
: undefined,
|
|
7074
|
-
CodeSigningConfigArn: smithy_client_1.expectString(output.CodeSigningConfigArn),
|
|
7075
|
-
CodeSigningConfigId: smithy_client_1.expectString(output.CodeSigningConfigId),
|
|
7076
|
+
CodeSigningConfigArn: (0, smithy_client_1.expectString)(output.CodeSigningConfigArn),
|
|
7077
|
+
CodeSigningConfigId: (0, smithy_client_1.expectString)(output.CodeSigningConfigId),
|
|
7076
7078
|
CodeSigningPolicies: output.CodeSigningPolicies !== undefined && output.CodeSigningPolicies !== null
|
|
7077
7079
|
? deserializeAws_restJson1CodeSigningPolicies(output.CodeSigningPolicies, context)
|
|
7078
7080
|
: undefined,
|
|
7079
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7080
|
-
LastModified: smithy_client_1.expectString(output.LastModified),
|
|
7081
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7082
|
+
LastModified: (0, smithy_client_1.expectString)(output.LastModified),
|
|
7081
7083
|
};
|
|
7082
7084
|
};
|
|
7083
7085
|
const deserializeAws_restJson1CodeSigningConfigList = (output, context) => {
|
|
@@ -7093,7 +7095,7 @@ const deserializeAws_restJson1CodeSigningConfigList = (output, context) => {
|
|
|
7093
7095
|
};
|
|
7094
7096
|
const deserializeAws_restJson1CodeSigningPolicies = (output, context) => {
|
|
7095
7097
|
return {
|
|
7096
|
-
UntrustedArtifactOnDeployment: smithy_client_1.expectString(output.UntrustedArtifactOnDeployment),
|
|
7098
|
+
UntrustedArtifactOnDeployment: (0, smithy_client_1.expectString)(output.UntrustedArtifactOnDeployment),
|
|
7097
7099
|
};
|
|
7098
7100
|
};
|
|
7099
7101
|
const deserializeAws_restJson1CompatibleArchitectures = (output, context) => {
|
|
@@ -7103,7 +7105,7 @@ const deserializeAws_restJson1CompatibleArchitectures = (output, context) => {
|
|
|
7103
7105
|
if (entry === null) {
|
|
7104
7106
|
return null;
|
|
7105
7107
|
}
|
|
7106
|
-
return smithy_client_1.expectString(entry);
|
|
7108
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7107
7109
|
});
|
|
7108
7110
|
return retVal;
|
|
7109
7111
|
};
|
|
@@ -7114,18 +7116,18 @@ const deserializeAws_restJson1CompatibleRuntimes = (output, context) => {
|
|
|
7114
7116
|
if (entry === null) {
|
|
7115
7117
|
return null;
|
|
7116
7118
|
}
|
|
7117
|
-
return smithy_client_1.expectString(entry);
|
|
7119
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7118
7120
|
});
|
|
7119
7121
|
return retVal;
|
|
7120
7122
|
};
|
|
7121
7123
|
const deserializeAws_restJson1Concurrency = (output, context) => {
|
|
7122
7124
|
return {
|
|
7123
|
-
ReservedConcurrentExecutions: smithy_client_1.expectInt32(output.ReservedConcurrentExecutions),
|
|
7125
|
+
ReservedConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.ReservedConcurrentExecutions),
|
|
7124
7126
|
};
|
|
7125
7127
|
};
|
|
7126
7128
|
const deserializeAws_restJson1DeadLetterConfig = (output, context) => {
|
|
7127
7129
|
return {
|
|
7128
|
-
TargetArn: smithy_client_1.expectString(output.TargetArn),
|
|
7130
|
+
TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
|
|
7129
7131
|
};
|
|
7130
7132
|
};
|
|
7131
7133
|
const deserializeAws_restJson1DestinationConfig = (output, context) => {
|
|
@@ -7145,7 +7147,7 @@ const deserializeAws_restJson1EndpointLists = (output, context) => {
|
|
|
7145
7147
|
if (entry === null) {
|
|
7146
7148
|
return null;
|
|
7147
7149
|
}
|
|
7148
|
-
return smithy_client_1.expectString(entry);
|
|
7150
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7149
7151
|
});
|
|
7150
7152
|
return retVal;
|
|
7151
7153
|
};
|
|
@@ -7162,8 +7164,8 @@ const deserializeAws_restJson1Endpoints = (output, context) => {
|
|
|
7162
7164
|
};
|
|
7163
7165
|
const deserializeAws_restJson1EnvironmentError = (output, context) => {
|
|
7164
7166
|
return {
|
|
7165
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
7166
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7167
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
7168
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7167
7169
|
};
|
|
7168
7170
|
};
|
|
7169
7171
|
const deserializeAws_restJson1EnvironmentResponse = (output, context) => {
|
|
@@ -7183,33 +7185,33 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
7183
7185
|
}
|
|
7184
7186
|
return {
|
|
7185
7187
|
...acc,
|
|
7186
|
-
[key]: smithy_client_1.expectString(value),
|
|
7188
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7187
7189
|
};
|
|
7188
7190
|
}, {});
|
|
7189
7191
|
};
|
|
7190
7192
|
const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context) => {
|
|
7191
7193
|
return {
|
|
7192
|
-
BatchSize: smithy_client_1.expectInt32(output.BatchSize),
|
|
7193
|
-
BisectBatchOnFunctionError: smithy_client_1.expectBoolean(output.BisectBatchOnFunctionError),
|
|
7194
|
+
BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
|
|
7195
|
+
BisectBatchOnFunctionError: (0, smithy_client_1.expectBoolean)(output.BisectBatchOnFunctionError),
|
|
7194
7196
|
DestinationConfig: output.DestinationConfig !== undefined && output.DestinationConfig !== null
|
|
7195
7197
|
? deserializeAws_restJson1DestinationConfig(output.DestinationConfig, context)
|
|
7196
7198
|
: undefined,
|
|
7197
|
-
EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
|
|
7199
|
+
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
7198
7200
|
FilterCriteria: output.FilterCriteria !== undefined && output.FilterCriteria !== null
|
|
7199
7201
|
? deserializeAws_restJson1FilterCriteria(output.FilterCriteria, context)
|
|
7200
7202
|
: undefined,
|
|
7201
|
-
FunctionArn: smithy_client_1.expectString(output.FunctionArn),
|
|
7203
|
+
FunctionArn: (0, smithy_client_1.expectString)(output.FunctionArn),
|
|
7202
7204
|
FunctionResponseTypes: output.FunctionResponseTypes !== undefined && output.FunctionResponseTypes !== null
|
|
7203
7205
|
? deserializeAws_restJson1FunctionResponseTypeList(output.FunctionResponseTypes, context)
|
|
7204
7206
|
: undefined,
|
|
7205
7207
|
LastModified: output.LastModified !== undefined && output.LastModified !== null
|
|
7206
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModified)))
|
|
7208
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModified)))
|
|
7207
7209
|
: undefined,
|
|
7208
|
-
LastProcessingResult: smithy_client_1.expectString(output.LastProcessingResult),
|
|
7209
|
-
MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32(output.MaximumBatchingWindowInSeconds),
|
|
7210
|
-
MaximumRecordAgeInSeconds: smithy_client_1.expectInt32(output.MaximumRecordAgeInSeconds),
|
|
7211
|
-
MaximumRetryAttempts: smithy_client_1.expectInt32(output.MaximumRetryAttempts),
|
|
7212
|
-
ParallelizationFactor: smithy_client_1.expectInt32(output.ParallelizationFactor),
|
|
7210
|
+
LastProcessingResult: (0, smithy_client_1.expectString)(output.LastProcessingResult),
|
|
7211
|
+
MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
|
|
7212
|
+
MaximumRecordAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumRecordAgeInSeconds),
|
|
7213
|
+
MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
|
|
7214
|
+
ParallelizationFactor: (0, smithy_client_1.expectInt32)(output.ParallelizationFactor),
|
|
7213
7215
|
Queues: output.Queues !== undefined && output.Queues !== null
|
|
7214
7216
|
? deserializeAws_restJson1Queues(output.Queues, context)
|
|
7215
7217
|
: undefined,
|
|
@@ -7219,17 +7221,17 @@ const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context
|
|
|
7219
7221
|
SourceAccessConfigurations: output.SourceAccessConfigurations !== undefined && output.SourceAccessConfigurations !== null
|
|
7220
7222
|
? deserializeAws_restJson1SourceAccessConfigurations(output.SourceAccessConfigurations, context)
|
|
7221
7223
|
: undefined,
|
|
7222
|
-
StartingPosition: smithy_client_1.expectString(output.StartingPosition),
|
|
7224
|
+
StartingPosition: (0, smithy_client_1.expectString)(output.StartingPosition),
|
|
7223
7225
|
StartingPositionTimestamp: output.StartingPositionTimestamp !== undefined && output.StartingPositionTimestamp !== null
|
|
7224
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartingPositionTimestamp)))
|
|
7226
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartingPositionTimestamp)))
|
|
7225
7227
|
: undefined,
|
|
7226
|
-
State: smithy_client_1.expectString(output.State),
|
|
7227
|
-
StateTransitionReason: smithy_client_1.expectString(output.StateTransitionReason),
|
|
7228
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
7229
|
+
StateTransitionReason: (0, smithy_client_1.expectString)(output.StateTransitionReason),
|
|
7228
7230
|
Topics: output.Topics !== undefined && output.Topics !== null
|
|
7229
7231
|
? deserializeAws_restJson1Topics(output.Topics, context)
|
|
7230
7232
|
: undefined,
|
|
7231
|
-
TumblingWindowInSeconds: smithy_client_1.expectInt32(output.TumblingWindowInSeconds),
|
|
7232
|
-
UUID: smithy_client_1.expectString(output.UUID),
|
|
7233
|
+
TumblingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.TumblingWindowInSeconds),
|
|
7234
|
+
UUID: (0, smithy_client_1.expectString)(output.UUID),
|
|
7233
7235
|
};
|
|
7234
7236
|
};
|
|
7235
7237
|
const deserializeAws_restJson1EventSourceMappingsList = (output, context) => {
|
|
@@ -7245,8 +7247,8 @@ const deserializeAws_restJson1EventSourceMappingsList = (output, context) => {
|
|
|
7245
7247
|
};
|
|
7246
7248
|
const deserializeAws_restJson1FileSystemConfig = (output, context) => {
|
|
7247
7249
|
return {
|
|
7248
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7249
|
-
LocalMountPath: smithy_client_1.expectString(output.LocalMountPath),
|
|
7250
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7251
|
+
LocalMountPath: (0, smithy_client_1.expectString)(output.LocalMountPath),
|
|
7250
7252
|
};
|
|
7251
7253
|
};
|
|
7252
7254
|
const deserializeAws_restJson1FileSystemConfigList = (output, context) => {
|
|
@@ -7262,7 +7264,7 @@ const deserializeAws_restJson1FileSystemConfigList = (output, context) => {
|
|
|
7262
7264
|
};
|
|
7263
7265
|
const deserializeAws_restJson1Filter = (output, context) => {
|
|
7264
7266
|
return {
|
|
7265
|
-
Pattern: smithy_client_1.expectString(output.Pattern),
|
|
7267
|
+
Pattern: (0, smithy_client_1.expectString)(output.Pattern),
|
|
7266
7268
|
};
|
|
7267
7269
|
};
|
|
7268
7270
|
const deserializeAws_restJson1FilterCriteria = (output, context) => {
|
|
@@ -7290,16 +7292,16 @@ const deserializeAws_restJson1FunctionArnList = (output, context) => {
|
|
|
7290
7292
|
if (entry === null) {
|
|
7291
7293
|
return null;
|
|
7292
7294
|
}
|
|
7293
|
-
return smithy_client_1.expectString(entry);
|
|
7295
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7294
7296
|
});
|
|
7295
7297
|
return retVal;
|
|
7296
7298
|
};
|
|
7297
7299
|
const deserializeAws_restJson1FunctionCodeLocation = (output, context) => {
|
|
7298
7300
|
return {
|
|
7299
|
-
ImageUri: smithy_client_1.expectString(output.ImageUri),
|
|
7300
|
-
Location: smithy_client_1.expectString(output.Location),
|
|
7301
|
-
RepositoryType: smithy_client_1.expectString(output.RepositoryType),
|
|
7302
|
-
ResolvedImageUri: smithy_client_1.expectString(output.ResolvedImageUri),
|
|
7301
|
+
ImageUri: (0, smithy_client_1.expectString)(output.ImageUri),
|
|
7302
|
+
Location: (0, smithy_client_1.expectString)(output.Location),
|
|
7303
|
+
RepositoryType: (0, smithy_client_1.expectString)(output.RepositoryType),
|
|
7304
|
+
ResolvedImageUri: (0, smithy_client_1.expectString)(output.ResolvedImageUri),
|
|
7303
7305
|
};
|
|
7304
7306
|
};
|
|
7305
7307
|
const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
|
|
@@ -7307,48 +7309,48 @@ const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
|
|
|
7307
7309
|
Architectures: output.Architectures !== undefined && output.Architectures !== null
|
|
7308
7310
|
? deserializeAws_restJson1ArchitecturesList(output.Architectures, context)
|
|
7309
7311
|
: undefined,
|
|
7310
|
-
CodeSha256: smithy_client_1.expectString(output.CodeSha256),
|
|
7311
|
-
CodeSize: smithy_client_1.expectLong(output.CodeSize),
|
|
7312
|
+
CodeSha256: (0, smithy_client_1.expectString)(output.CodeSha256),
|
|
7313
|
+
CodeSize: (0, smithy_client_1.expectLong)(output.CodeSize),
|
|
7312
7314
|
DeadLetterConfig: output.DeadLetterConfig !== undefined && output.DeadLetterConfig !== null
|
|
7313
7315
|
? deserializeAws_restJson1DeadLetterConfig(output.DeadLetterConfig, context)
|
|
7314
7316
|
: undefined,
|
|
7315
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7317
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7316
7318
|
Environment: output.Environment !== undefined && output.Environment !== null
|
|
7317
7319
|
? deserializeAws_restJson1EnvironmentResponse(output.Environment, context)
|
|
7318
7320
|
: undefined,
|
|
7319
7321
|
FileSystemConfigs: output.FileSystemConfigs !== undefined && output.FileSystemConfigs !== null
|
|
7320
7322
|
? deserializeAws_restJson1FileSystemConfigList(output.FileSystemConfigs, context)
|
|
7321
7323
|
: undefined,
|
|
7322
|
-
FunctionArn: smithy_client_1.expectString(output.FunctionArn),
|
|
7323
|
-
FunctionName: smithy_client_1.expectString(output.FunctionName),
|
|
7324
|
-
Handler: smithy_client_1.expectString(output.Handler),
|
|
7324
|
+
FunctionArn: (0, smithy_client_1.expectString)(output.FunctionArn),
|
|
7325
|
+
FunctionName: (0, smithy_client_1.expectString)(output.FunctionName),
|
|
7326
|
+
Handler: (0, smithy_client_1.expectString)(output.Handler),
|
|
7325
7327
|
ImageConfigResponse: output.ImageConfigResponse !== undefined && output.ImageConfigResponse !== null
|
|
7326
7328
|
? deserializeAws_restJson1ImageConfigResponse(output.ImageConfigResponse, context)
|
|
7327
7329
|
: undefined,
|
|
7328
|
-
KMSKeyArn: smithy_client_1.expectString(output.KMSKeyArn),
|
|
7329
|
-
LastModified: smithy_client_1.expectString(output.LastModified),
|
|
7330
|
-
LastUpdateStatus: smithy_client_1.expectString(output.LastUpdateStatus),
|
|
7331
|
-
LastUpdateStatusReason: smithy_client_1.expectString(output.LastUpdateStatusReason),
|
|
7332
|
-
LastUpdateStatusReasonCode: smithy_client_1.expectString(output.LastUpdateStatusReasonCode),
|
|
7330
|
+
KMSKeyArn: (0, smithy_client_1.expectString)(output.KMSKeyArn),
|
|
7331
|
+
LastModified: (0, smithy_client_1.expectString)(output.LastModified),
|
|
7332
|
+
LastUpdateStatus: (0, smithy_client_1.expectString)(output.LastUpdateStatus),
|
|
7333
|
+
LastUpdateStatusReason: (0, smithy_client_1.expectString)(output.LastUpdateStatusReason),
|
|
7334
|
+
LastUpdateStatusReasonCode: (0, smithy_client_1.expectString)(output.LastUpdateStatusReasonCode),
|
|
7333
7335
|
Layers: output.Layers !== undefined && output.Layers !== null
|
|
7334
7336
|
? deserializeAws_restJson1LayersReferenceList(output.Layers, context)
|
|
7335
7337
|
: undefined,
|
|
7336
|
-
MasterArn: smithy_client_1.expectString(output.MasterArn),
|
|
7337
|
-
MemorySize: smithy_client_1.expectInt32(output.MemorySize),
|
|
7338
|
-
PackageType: smithy_client_1.expectString(output.PackageType),
|
|
7339
|
-
RevisionId: smithy_client_1.expectString(output.RevisionId),
|
|
7340
|
-
Role: smithy_client_1.expectString(output.Role),
|
|
7341
|
-
Runtime: smithy_client_1.expectString(output.Runtime),
|
|
7342
|
-
SigningJobArn: smithy_client_1.expectString(output.SigningJobArn),
|
|
7343
|
-
SigningProfileVersionArn: smithy_client_1.expectString(output.SigningProfileVersionArn),
|
|
7344
|
-
State: smithy_client_1.expectString(output.State),
|
|
7345
|
-
StateReason: smithy_client_1.expectString(output.StateReason),
|
|
7346
|
-
StateReasonCode: smithy_client_1.expectString(output.StateReasonCode),
|
|
7347
|
-
Timeout: smithy_client_1.expectInt32(output.Timeout),
|
|
7338
|
+
MasterArn: (0, smithy_client_1.expectString)(output.MasterArn),
|
|
7339
|
+
MemorySize: (0, smithy_client_1.expectInt32)(output.MemorySize),
|
|
7340
|
+
PackageType: (0, smithy_client_1.expectString)(output.PackageType),
|
|
7341
|
+
RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
|
|
7342
|
+
Role: (0, smithy_client_1.expectString)(output.Role),
|
|
7343
|
+
Runtime: (0, smithy_client_1.expectString)(output.Runtime),
|
|
7344
|
+
SigningJobArn: (0, smithy_client_1.expectString)(output.SigningJobArn),
|
|
7345
|
+
SigningProfileVersionArn: (0, smithy_client_1.expectString)(output.SigningProfileVersionArn),
|
|
7346
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
7347
|
+
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
7348
|
+
StateReasonCode: (0, smithy_client_1.expectString)(output.StateReasonCode),
|
|
7349
|
+
Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
|
|
7348
7350
|
TracingConfig: output.TracingConfig !== undefined && output.TracingConfig !== null
|
|
7349
7351
|
? deserializeAws_restJson1TracingConfigResponse(output.TracingConfig, context)
|
|
7350
7352
|
: undefined,
|
|
7351
|
-
Version: smithy_client_1.expectString(output.Version),
|
|
7353
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
7352
7354
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
7353
7355
|
? deserializeAws_restJson1VpcConfigResponse(output.VpcConfig, context)
|
|
7354
7356
|
: undefined,
|
|
@@ -7359,12 +7361,12 @@ const deserializeAws_restJson1FunctionEventInvokeConfig = (output, context) => {
|
|
|
7359
7361
|
DestinationConfig: output.DestinationConfig !== undefined && output.DestinationConfig !== null
|
|
7360
7362
|
? deserializeAws_restJson1DestinationConfig(output.DestinationConfig, context)
|
|
7361
7363
|
: undefined,
|
|
7362
|
-
FunctionArn: smithy_client_1.expectString(output.FunctionArn),
|
|
7364
|
+
FunctionArn: (0, smithy_client_1.expectString)(output.FunctionArn),
|
|
7363
7365
|
LastModified: output.LastModified !== undefined && output.LastModified !== null
|
|
7364
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModified)))
|
|
7366
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModified)))
|
|
7365
7367
|
: undefined,
|
|
7366
|
-
MaximumEventAgeInSeconds: smithy_client_1.expectInt32(output.MaximumEventAgeInSeconds),
|
|
7367
|
-
MaximumRetryAttempts: smithy_client_1.expectInt32(output.MaximumRetryAttempts),
|
|
7368
|
+
MaximumEventAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumEventAgeInSeconds),
|
|
7369
|
+
MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
|
|
7368
7370
|
};
|
|
7369
7371
|
};
|
|
7370
7372
|
const deserializeAws_restJson1FunctionEventInvokeConfigList = (output, context) => {
|
|
@@ -7396,7 +7398,7 @@ const deserializeAws_restJson1FunctionResponseTypeList = (output, context) => {
|
|
|
7396
7398
|
if (entry === null) {
|
|
7397
7399
|
return null;
|
|
7398
7400
|
}
|
|
7399
|
-
return smithy_client_1.expectString(entry);
|
|
7401
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7400
7402
|
});
|
|
7401
7403
|
return retVal;
|
|
7402
7404
|
};
|
|
@@ -7408,13 +7410,13 @@ const deserializeAws_restJson1ImageConfig = (output, context) => {
|
|
|
7408
7410
|
EntryPoint: output.EntryPoint !== undefined && output.EntryPoint !== null
|
|
7409
7411
|
? deserializeAws_restJson1StringList(output.EntryPoint, context)
|
|
7410
7412
|
: undefined,
|
|
7411
|
-
WorkingDirectory: smithy_client_1.expectString(output.WorkingDirectory),
|
|
7413
|
+
WorkingDirectory: (0, smithy_client_1.expectString)(output.WorkingDirectory),
|
|
7412
7414
|
};
|
|
7413
7415
|
};
|
|
7414
7416
|
const deserializeAws_restJson1ImageConfigError = (output, context) => {
|
|
7415
7417
|
return {
|
|
7416
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
7417
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7418
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
7419
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7418
7420
|
};
|
|
7419
7421
|
};
|
|
7420
7422
|
const deserializeAws_restJson1ImageConfigResponse = (output, context) => {
|
|
@@ -7429,10 +7431,10 @@ const deserializeAws_restJson1ImageConfigResponse = (output, context) => {
|
|
|
7429
7431
|
};
|
|
7430
7432
|
const deserializeAws_restJson1Layer = (output, context) => {
|
|
7431
7433
|
return {
|
|
7432
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7433
|
-
CodeSize: smithy_client_1.expectLong(output.CodeSize),
|
|
7434
|
-
SigningJobArn: smithy_client_1.expectString(output.SigningJobArn),
|
|
7435
|
-
SigningProfileVersionArn: smithy_client_1.expectString(output.SigningProfileVersionArn),
|
|
7434
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7435
|
+
CodeSize: (0, smithy_client_1.expectLong)(output.CodeSize),
|
|
7436
|
+
SigningJobArn: (0, smithy_client_1.expectString)(output.SigningJobArn),
|
|
7437
|
+
SigningProfileVersionArn: (0, smithy_client_1.expectString)(output.SigningProfileVersionArn),
|
|
7436
7438
|
};
|
|
7437
7439
|
};
|
|
7438
7440
|
const deserializeAws_restJson1LayersList = (output, context) => {
|
|
@@ -7451,8 +7453,8 @@ const deserializeAws_restJson1LayersListItem = (output, context) => {
|
|
|
7451
7453
|
LatestMatchingVersion: output.LatestMatchingVersion !== undefined && output.LatestMatchingVersion !== null
|
|
7452
7454
|
? deserializeAws_restJson1LayerVersionsListItem(output.LatestMatchingVersion, context)
|
|
7453
7455
|
: undefined,
|
|
7454
|
-
LayerArn: smithy_client_1.expectString(output.LayerArn),
|
|
7455
|
-
LayerName: smithy_client_1.expectString(output.LayerName),
|
|
7456
|
+
LayerArn: (0, smithy_client_1.expectString)(output.LayerArn),
|
|
7457
|
+
LayerName: (0, smithy_client_1.expectString)(output.LayerName),
|
|
7456
7458
|
};
|
|
7457
7459
|
};
|
|
7458
7460
|
const deserializeAws_restJson1LayersReferenceList = (output, context) => {
|
|
@@ -7468,11 +7470,11 @@ const deserializeAws_restJson1LayersReferenceList = (output, context) => {
|
|
|
7468
7470
|
};
|
|
7469
7471
|
const deserializeAws_restJson1LayerVersionContentOutput = (output, context) => {
|
|
7470
7472
|
return {
|
|
7471
|
-
CodeSha256: smithy_client_1.expectString(output.CodeSha256),
|
|
7472
|
-
CodeSize: smithy_client_1.expectLong(output.CodeSize),
|
|
7473
|
-
Location: smithy_client_1.expectString(output.Location),
|
|
7474
|
-
SigningJobArn: smithy_client_1.expectString(output.SigningJobArn),
|
|
7475
|
-
SigningProfileVersionArn: smithy_client_1.expectString(output.SigningProfileVersionArn),
|
|
7473
|
+
CodeSha256: (0, smithy_client_1.expectString)(output.CodeSha256),
|
|
7474
|
+
CodeSize: (0, smithy_client_1.expectLong)(output.CodeSize),
|
|
7475
|
+
Location: (0, smithy_client_1.expectString)(output.Location),
|
|
7476
|
+
SigningJobArn: (0, smithy_client_1.expectString)(output.SigningJobArn),
|
|
7477
|
+
SigningProfileVersionArn: (0, smithy_client_1.expectString)(output.SigningProfileVersionArn),
|
|
7476
7478
|
};
|
|
7477
7479
|
};
|
|
7478
7480
|
const deserializeAws_restJson1LayerVersionsList = (output, context) => {
|
|
@@ -7494,21 +7496,21 @@ const deserializeAws_restJson1LayerVersionsListItem = (output, context) => {
|
|
|
7494
7496
|
CompatibleRuntimes: output.CompatibleRuntimes !== undefined && output.CompatibleRuntimes !== null
|
|
7495
7497
|
? deserializeAws_restJson1CompatibleRuntimes(output.CompatibleRuntimes, context)
|
|
7496
7498
|
: undefined,
|
|
7497
|
-
CreatedDate: smithy_client_1.expectString(output.CreatedDate),
|
|
7498
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7499
|
-
LayerVersionArn: smithy_client_1.expectString(output.LayerVersionArn),
|
|
7500
|
-
LicenseInfo: smithy_client_1.expectString(output.LicenseInfo),
|
|
7501
|
-
Version: smithy_client_1.expectLong(output.Version),
|
|
7499
|
+
CreatedDate: (0, smithy_client_1.expectString)(output.CreatedDate),
|
|
7500
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7501
|
+
LayerVersionArn: (0, smithy_client_1.expectString)(output.LayerVersionArn),
|
|
7502
|
+
LicenseInfo: (0, smithy_client_1.expectString)(output.LicenseInfo),
|
|
7503
|
+
Version: (0, smithy_client_1.expectLong)(output.Version),
|
|
7502
7504
|
};
|
|
7503
7505
|
};
|
|
7504
7506
|
const deserializeAws_restJson1OnFailure = (output, context) => {
|
|
7505
7507
|
return {
|
|
7506
|
-
Destination: smithy_client_1.expectString(output.Destination),
|
|
7508
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
7507
7509
|
};
|
|
7508
7510
|
};
|
|
7509
7511
|
const deserializeAws_restJson1OnSuccess = (output, context) => {
|
|
7510
7512
|
return {
|
|
7511
|
-
Destination: smithy_client_1.expectString(output.Destination),
|
|
7513
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
7512
7514
|
};
|
|
7513
7515
|
};
|
|
7514
7516
|
const deserializeAws_restJson1ProvisionedConcurrencyConfigList = (output, context) => {
|
|
@@ -7524,13 +7526,13 @@ const deserializeAws_restJson1ProvisionedConcurrencyConfigList = (output, contex
|
|
|
7524
7526
|
};
|
|
7525
7527
|
const deserializeAws_restJson1ProvisionedConcurrencyConfigListItem = (output, context) => {
|
|
7526
7528
|
return {
|
|
7527
|
-
AllocatedProvisionedConcurrentExecutions: smithy_client_1.expectInt32(output.AllocatedProvisionedConcurrentExecutions),
|
|
7528
|
-
AvailableProvisionedConcurrentExecutions: smithy_client_1.expectInt32(output.AvailableProvisionedConcurrentExecutions),
|
|
7529
|
-
FunctionArn: smithy_client_1.expectString(output.FunctionArn),
|
|
7530
|
-
LastModified: smithy_client_1.expectString(output.LastModified),
|
|
7531
|
-
RequestedProvisionedConcurrentExecutions: smithy_client_1.expectInt32(output.RequestedProvisionedConcurrentExecutions),
|
|
7532
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
7533
|
-
StatusReason: smithy_client_1.expectString(output.StatusReason),
|
|
7529
|
+
AllocatedProvisionedConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.AllocatedProvisionedConcurrentExecutions),
|
|
7530
|
+
AvailableProvisionedConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.AvailableProvisionedConcurrentExecutions),
|
|
7531
|
+
FunctionArn: (0, smithy_client_1.expectString)(output.FunctionArn),
|
|
7532
|
+
LastModified: (0, smithy_client_1.expectString)(output.LastModified),
|
|
7533
|
+
RequestedProvisionedConcurrentExecutions: (0, smithy_client_1.expectInt32)(output.RequestedProvisionedConcurrentExecutions),
|
|
7534
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
7535
|
+
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
7534
7536
|
};
|
|
7535
7537
|
};
|
|
7536
7538
|
const deserializeAws_restJson1Queues = (output, context) => {
|
|
@@ -7540,7 +7542,7 @@ const deserializeAws_restJson1Queues = (output, context) => {
|
|
|
7540
7542
|
if (entry === null) {
|
|
7541
7543
|
return null;
|
|
7542
7544
|
}
|
|
7543
|
-
return smithy_client_1.expectString(entry);
|
|
7545
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7544
7546
|
});
|
|
7545
7547
|
return retVal;
|
|
7546
7548
|
};
|
|
@@ -7551,7 +7553,7 @@ const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
|
|
|
7551
7553
|
if (entry === null) {
|
|
7552
7554
|
return null;
|
|
7553
7555
|
}
|
|
7554
|
-
return smithy_client_1.expectString(entry);
|
|
7556
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7555
7557
|
});
|
|
7556
7558
|
return retVal;
|
|
7557
7559
|
};
|
|
@@ -7569,14 +7571,14 @@ const deserializeAws_restJson1SigningProfileVersionArns = (output, context) => {
|
|
|
7569
7571
|
if (entry === null) {
|
|
7570
7572
|
return null;
|
|
7571
7573
|
}
|
|
7572
|
-
return smithy_client_1.expectString(entry);
|
|
7574
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7573
7575
|
});
|
|
7574
7576
|
return retVal;
|
|
7575
7577
|
};
|
|
7576
7578
|
const deserializeAws_restJson1SourceAccessConfiguration = (output, context) => {
|
|
7577
7579
|
return {
|
|
7578
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7579
|
-
URI: smithy_client_1.expectString(output.URI),
|
|
7580
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7581
|
+
URI: (0, smithy_client_1.expectString)(output.URI),
|
|
7580
7582
|
};
|
|
7581
7583
|
};
|
|
7582
7584
|
const deserializeAws_restJson1SourceAccessConfigurations = (output, context) => {
|
|
@@ -7597,7 +7599,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
7597
7599
|
if (entry === null) {
|
|
7598
7600
|
return null;
|
|
7599
7601
|
}
|
|
7600
|
-
return smithy_client_1.expectString(entry);
|
|
7602
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7601
7603
|
});
|
|
7602
7604
|
return retVal;
|
|
7603
7605
|
};
|
|
@@ -7608,7 +7610,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
|
|
|
7608
7610
|
if (entry === null) {
|
|
7609
7611
|
return null;
|
|
7610
7612
|
}
|
|
7611
|
-
return smithy_client_1.expectString(entry);
|
|
7613
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7612
7614
|
});
|
|
7613
7615
|
return retVal;
|
|
7614
7616
|
};
|
|
@@ -7619,7 +7621,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
7619
7621
|
}
|
|
7620
7622
|
return {
|
|
7621
7623
|
...acc,
|
|
7622
|
-
[key]: smithy_client_1.expectString(value),
|
|
7624
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7623
7625
|
};
|
|
7624
7626
|
}, {});
|
|
7625
7627
|
};
|
|
@@ -7630,13 +7632,13 @@ const deserializeAws_restJson1Topics = (output, context) => {
|
|
|
7630
7632
|
if (entry === null) {
|
|
7631
7633
|
return null;
|
|
7632
7634
|
}
|
|
7633
|
-
return smithy_client_1.expectString(entry);
|
|
7635
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7634
7636
|
});
|
|
7635
7637
|
return retVal;
|
|
7636
7638
|
};
|
|
7637
7639
|
const deserializeAws_restJson1TracingConfigResponse = (output, context) => {
|
|
7638
7640
|
return {
|
|
7639
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
7641
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
7640
7642
|
};
|
|
7641
7643
|
};
|
|
7642
7644
|
const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
|
|
@@ -7647,7 +7649,7 @@ const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
|
|
|
7647
7649
|
SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
|
|
7648
7650
|
? deserializeAws_restJson1SubnetIds(output.SubnetIds, context)
|
|
7649
7651
|
: undefined,
|
|
7650
|
-
VpcId: smithy_client_1.expectString(output.VpcId),
|
|
7652
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
7651
7653
|
};
|
|
7652
7654
|
};
|
|
7653
7655
|
const deserializeMetadata = (output) => {
|