@aws-sdk/client-lambda 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +69 -63
- package/dist-es/Lambda.js +254 -261
- package/dist-es/LambdaClient.js +22 -28
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +21 -28
- package/dist-es/commands/AddPermissionCommand.js +21 -28
- package/dist-es/commands/CreateAliasCommand.js +21 -28
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/CreateEventSourceMappingCommand.js +21 -28
- package/dist-es/commands/CreateFunctionCommand.js +21 -28
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +21 -28
- package/dist-es/commands/DeleteAliasCommand.js +22 -29
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +21 -28
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +22 -29
- package/dist-es/commands/DeleteFunctionCommand.js +22 -29
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +22 -29
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +22 -29
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +22 -29
- package/dist-es/commands/DeleteLayerVersionCommand.js +22 -29
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +22 -29
- package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
- package/dist-es/commands/GetAliasCommand.js +21 -28
- package/dist-es/commands/GetCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/GetEventSourceMappingCommand.js +21 -28
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/GetFunctionCommand.js +21 -28
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +21 -28
- package/dist-es/commands/GetFunctionConfigurationCommand.js +21 -28
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +21 -28
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +21 -28
- package/dist-es/commands/GetLayerVersionByArnCommand.js +21 -28
- package/dist-es/commands/GetLayerVersionCommand.js +21 -28
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +21 -28
- package/dist-es/commands/GetPolicyCommand.js +21 -28
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +21 -28
- package/dist-es/commands/InvokeAsyncCommand.js +21 -28
- package/dist-es/commands/InvokeCommand.js +21 -28
- package/dist-es/commands/ListAliasesCommand.js +21 -28
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +21 -28
- package/dist-es/commands/ListEventSourceMappingsCommand.js +21 -28
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +21 -28
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +21 -28
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/ListFunctionsCommand.js +21 -28
- package/dist-es/commands/ListLayerVersionsCommand.js +21 -28
- package/dist-es/commands/ListLayersCommand.js +21 -28
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +21 -28
- package/dist-es/commands/ListTagsCommand.js +21 -28
- package/dist-es/commands/ListVersionsByFunctionCommand.js +21 -28
- package/dist-es/commands/PublishLayerVersionCommand.js +21 -28
- package/dist-es/commands/PublishVersionCommand.js +21 -28
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +21 -28
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +21 -28
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +21 -28
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +22 -29
- package/dist-es/commands/RemovePermissionCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAliasCommand.js +21 -28
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +21 -28
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionCodeCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LambdaServiceException.js +5 -10
- package/dist-es/models/models_0.js +910 -611
- package/dist-es/pagination/ListAliasesPaginator.js +25 -68
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +25 -68
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +25 -68
- package/dist-es/pagination/ListFunctionsPaginator.js +25 -68
- package/dist-es/pagination/ListLayerVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListLayersPaginator.js +25 -68
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +6122 -7955
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForFunctionActive.js +45 -65
- package/dist-es/waiters/waitForFunctionActiveV2.js +45 -65
- package/dist-es/waiters/waitForFunctionExists.js +23 -42
- package/dist-es/waiters/waitForFunctionUpdated.js +45 -65
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +45 -65
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lambda
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-lambda
|
|
@@ -1594,7 +1594,7 @@ exports.deserializeAws_restJson1AddLayerVersionPermissionCommand = deserializeAw
|
|
|
1594
1594
|
const deserializeAws_restJson1AddLayerVersionPermissionCommandError = async (output, context) => {
|
|
1595
1595
|
const parsedOutput = {
|
|
1596
1596
|
...output,
|
|
1597
|
-
body: await
|
|
1597
|
+
body: await parseErrorBody(output.body, context),
|
|
1598
1598
|
};
|
|
1599
1599
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1600
1600
|
switch (errorCode) {
|
|
@@ -1646,7 +1646,7 @@ exports.deserializeAws_restJson1AddPermissionCommand = deserializeAws_restJson1A
|
|
|
1646
1646
|
const deserializeAws_restJson1AddPermissionCommandError = async (output, context) => {
|
|
1647
1647
|
const parsedOutput = {
|
|
1648
1648
|
...output,
|
|
1649
|
-
body: await
|
|
1649
|
+
body: await parseErrorBody(output.body, context),
|
|
1650
1650
|
};
|
|
1651
1651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1652
1652
|
switch (errorCode) {
|
|
@@ -1713,7 +1713,7 @@ exports.deserializeAws_restJson1CreateAliasCommand = deserializeAws_restJson1Cre
|
|
|
1713
1713
|
const deserializeAws_restJson1CreateAliasCommandError = async (output, context) => {
|
|
1714
1714
|
const parsedOutput = {
|
|
1715
1715
|
...output,
|
|
1716
|
-
body: await
|
|
1716
|
+
body: await parseErrorBody(output.body, context),
|
|
1717
1717
|
};
|
|
1718
1718
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1719
1719
|
switch (errorCode) {
|
|
@@ -1759,7 +1759,7 @@ exports.deserializeAws_restJson1CreateCodeSigningConfigCommand = deserializeAws_
|
|
|
1759
1759
|
const deserializeAws_restJson1CreateCodeSigningConfigCommandError = async (output, context) => {
|
|
1760
1760
|
const parsedOutput = {
|
|
1761
1761
|
...output,
|
|
1762
|
-
body: await
|
|
1762
|
+
body: await parseErrorBody(output.body, context),
|
|
1763
1763
|
};
|
|
1764
1764
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1765
1765
|
switch (errorCode) {
|
|
@@ -1868,7 +1868,7 @@ exports.deserializeAws_restJson1CreateEventSourceMappingCommand = deserializeAws
|
|
|
1868
1868
|
const deserializeAws_restJson1CreateEventSourceMappingCommandError = async (output, context) => {
|
|
1869
1869
|
const parsedOutput = {
|
|
1870
1870
|
...output,
|
|
1871
|
-
body: await
|
|
1871
|
+
body: await parseErrorBody(output.body, context),
|
|
1872
1872
|
};
|
|
1873
1873
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1874
1874
|
switch (errorCode) {
|
|
@@ -2010,7 +2010,7 @@ exports.deserializeAws_restJson1CreateFunctionCommand = deserializeAws_restJson1
|
|
|
2010
2010
|
const deserializeAws_restJson1CreateFunctionCommandError = async (output, context) => {
|
|
2011
2011
|
const parsedOutput = {
|
|
2012
2012
|
...output,
|
|
2013
|
-
body: await
|
|
2013
|
+
body: await parseErrorBody(output.body, context),
|
|
2014
2014
|
};
|
|
2015
2015
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2016
2016
|
switch (errorCode) {
|
|
@@ -2080,7 +2080,7 @@ exports.deserializeAws_restJson1CreateFunctionUrlConfigCommand = deserializeAws_
|
|
|
2080
2080
|
const deserializeAws_restJson1CreateFunctionUrlConfigCommandError = async (output, context) => {
|
|
2081
2081
|
const parsedOutput = {
|
|
2082
2082
|
...output,
|
|
2083
|
-
body: await
|
|
2083
|
+
body: await parseErrorBody(output.body, context),
|
|
2084
2084
|
};
|
|
2085
2085
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2086
2086
|
switch (errorCode) {
|
|
@@ -2123,7 +2123,7 @@ exports.deserializeAws_restJson1DeleteAliasCommand = deserializeAws_restJson1Del
|
|
|
2123
2123
|
const deserializeAws_restJson1DeleteAliasCommandError = async (output, context) => {
|
|
2124
2124
|
const parsedOutput = {
|
|
2125
2125
|
...output,
|
|
2126
|
-
body: await
|
|
2126
|
+
body: await parseErrorBody(output.body, context),
|
|
2127
2127
|
};
|
|
2128
2128
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2129
2129
|
switch (errorCode) {
|
|
@@ -2163,7 +2163,7 @@ exports.deserializeAws_restJson1DeleteCodeSigningConfigCommand = deserializeAws_
|
|
|
2163
2163
|
const deserializeAws_restJson1DeleteCodeSigningConfigCommandError = async (output, context) => {
|
|
2164
2164
|
const parsedOutput = {
|
|
2165
2165
|
...output,
|
|
2166
|
-
body: await
|
|
2166
|
+
body: await parseErrorBody(output.body, context),
|
|
2167
2167
|
};
|
|
2168
2168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2169
2169
|
switch (errorCode) {
|
|
@@ -2278,7 +2278,7 @@ exports.deserializeAws_restJson1DeleteEventSourceMappingCommand = deserializeAws
|
|
|
2278
2278
|
const deserializeAws_restJson1DeleteEventSourceMappingCommandError = async (output, context) => {
|
|
2279
2279
|
const parsedOutput = {
|
|
2280
2280
|
...output,
|
|
2281
|
-
body: await
|
|
2281
|
+
body: await parseErrorBody(output.body, context),
|
|
2282
2282
|
};
|
|
2283
2283
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2284
2284
|
switch (errorCode) {
|
|
@@ -2321,7 +2321,7 @@ exports.deserializeAws_restJson1DeleteFunctionCommand = deserializeAws_restJson1
|
|
|
2321
2321
|
const deserializeAws_restJson1DeleteFunctionCommandError = async (output, context) => {
|
|
2322
2322
|
const parsedOutput = {
|
|
2323
2323
|
...output,
|
|
2324
|
-
body: await
|
|
2324
|
+
body: await parseErrorBody(output.body, context),
|
|
2325
2325
|
};
|
|
2326
2326
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2327
2327
|
switch (errorCode) {
|
|
@@ -2364,7 +2364,7 @@ exports.deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = deseria
|
|
|
2364
2364
|
const deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommandError = async (output, context) => {
|
|
2365
2365
|
const parsedOutput = {
|
|
2366
2366
|
...output,
|
|
2367
|
-
body: await
|
|
2367
|
+
body: await parseErrorBody(output.body, context),
|
|
2368
2368
|
};
|
|
2369
2369
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
2370
|
switch (errorCode) {
|
|
@@ -2410,7 +2410,7 @@ exports.deserializeAws_restJson1DeleteFunctionConcurrencyCommand = deserializeAw
|
|
|
2410
2410
|
const deserializeAws_restJson1DeleteFunctionConcurrencyCommandError = async (output, context) => {
|
|
2411
2411
|
const parsedOutput = {
|
|
2412
2412
|
...output,
|
|
2413
|
-
body: await
|
|
2413
|
+
body: await parseErrorBody(output.body, context),
|
|
2414
2414
|
};
|
|
2415
2415
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2416
2416
|
switch (errorCode) {
|
|
@@ -2453,7 +2453,7 @@ exports.deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = deseria
|
|
|
2453
2453
|
const deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommandError = async (output, context) => {
|
|
2454
2454
|
const parsedOutput = {
|
|
2455
2455
|
...output,
|
|
2456
|
-
body: await
|
|
2456
|
+
body: await parseErrorBody(output.body, context),
|
|
2457
2457
|
};
|
|
2458
2458
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2459
2459
|
switch (errorCode) {
|
|
@@ -2496,7 +2496,7 @@ exports.deserializeAws_restJson1DeleteFunctionUrlConfigCommand = deserializeAws_
|
|
|
2496
2496
|
const deserializeAws_restJson1DeleteFunctionUrlConfigCommandError = async (output, context) => {
|
|
2497
2497
|
const parsedOutput = {
|
|
2498
2498
|
...output,
|
|
2499
|
-
body: await
|
|
2499
|
+
body: await parseErrorBody(output.body, context),
|
|
2500
2500
|
};
|
|
2501
2501
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2502
2502
|
switch (errorCode) {
|
|
@@ -2536,7 +2536,7 @@ exports.deserializeAws_restJson1DeleteLayerVersionCommand = deserializeAws_restJ
|
|
|
2536
2536
|
const deserializeAws_restJson1DeleteLayerVersionCommandError = async (output, context) => {
|
|
2537
2537
|
const parsedOutput = {
|
|
2538
2538
|
...output,
|
|
2539
|
-
body: await
|
|
2539
|
+
body: await parseErrorBody(output.body, context),
|
|
2540
2540
|
};
|
|
2541
2541
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2542
2542
|
switch (errorCode) {
|
|
@@ -2570,7 +2570,7 @@ exports.deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = dese
|
|
|
2570
2570
|
const deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommandError = async (output, context) => {
|
|
2571
2571
|
const parsedOutput = {
|
|
2572
2572
|
...output,
|
|
2573
|
-
body: await
|
|
2573
|
+
body: await parseErrorBody(output.body, context),
|
|
2574
2574
|
};
|
|
2575
2575
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2576
2576
|
switch (errorCode) {
|
|
@@ -2619,7 +2619,7 @@ exports.deserializeAws_restJson1GetAccountSettingsCommand = deserializeAws_restJ
|
|
|
2619
2619
|
const deserializeAws_restJson1GetAccountSettingsCommandError = async (output, context) => {
|
|
2620
2620
|
const parsedOutput = {
|
|
2621
2621
|
...output,
|
|
2622
|
-
body: await
|
|
2622
|
+
body: await parseErrorBody(output.body, context),
|
|
2623
2623
|
};
|
|
2624
2624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2625
2625
|
switch (errorCode) {
|
|
@@ -2671,7 +2671,7 @@ exports.deserializeAws_restJson1GetAliasCommand = deserializeAws_restJson1GetAli
|
|
|
2671
2671
|
const deserializeAws_restJson1GetAliasCommandError = async (output, context) => {
|
|
2672
2672
|
const parsedOutput = {
|
|
2673
2673
|
...output,
|
|
2674
|
-
body: await
|
|
2674
|
+
body: await parseErrorBody(output.body, context),
|
|
2675
2675
|
};
|
|
2676
2676
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2677
2677
|
switch (errorCode) {
|
|
@@ -2714,7 +2714,7 @@ exports.deserializeAws_restJson1GetCodeSigningConfigCommand = deserializeAws_res
|
|
|
2714
2714
|
const deserializeAws_restJson1GetCodeSigningConfigCommandError = async (output, context) => {
|
|
2715
2715
|
const parsedOutput = {
|
|
2716
2716
|
...output,
|
|
2717
|
-
body: await
|
|
2717
|
+
body: await parseErrorBody(output.body, context),
|
|
2718
2718
|
};
|
|
2719
2719
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2720
2720
|
switch (errorCode) {
|
|
@@ -2826,7 +2826,7 @@ exports.deserializeAws_restJson1GetEventSourceMappingCommand = deserializeAws_re
|
|
|
2826
2826
|
const deserializeAws_restJson1GetEventSourceMappingCommandError = async (output, context) => {
|
|
2827
2827
|
const parsedOutput = {
|
|
2828
2828
|
...output,
|
|
2829
|
-
body: await
|
|
2829
|
+
body: await parseErrorBody(output.body, context),
|
|
2830
2830
|
};
|
|
2831
2831
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2832
2832
|
switch (errorCode) {
|
|
@@ -2878,7 +2878,7 @@ exports.deserializeAws_restJson1GetFunctionCommand = deserializeAws_restJson1Get
|
|
|
2878
2878
|
const deserializeAws_restJson1GetFunctionCommandError = async (output, context) => {
|
|
2879
2879
|
const parsedOutput = {
|
|
2880
2880
|
...output,
|
|
2881
|
-
body: await
|
|
2881
|
+
body: await parseErrorBody(output.body, context),
|
|
2882
2882
|
};
|
|
2883
2883
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2884
2884
|
switch (errorCode) {
|
|
@@ -2924,7 +2924,7 @@ exports.deserializeAws_restJson1GetFunctionCodeSigningConfigCommand = deserializ
|
|
|
2924
2924
|
const deserializeAws_restJson1GetFunctionCodeSigningConfigCommandError = async (output, context) => {
|
|
2925
2925
|
const parsedOutput = {
|
|
2926
2926
|
...output,
|
|
2927
|
-
body: await
|
|
2927
|
+
body: await parseErrorBody(output.body, context),
|
|
2928
2928
|
};
|
|
2929
2929
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2930
2930
|
switch (errorCode) {
|
|
@@ -2967,7 +2967,7 @@ exports.deserializeAws_restJson1GetFunctionConcurrencyCommand = deserializeAws_r
|
|
|
2967
2967
|
const deserializeAws_restJson1GetFunctionConcurrencyCommandError = async (output, context) => {
|
|
2968
2968
|
const parsedOutput = {
|
|
2969
2969
|
...output,
|
|
2970
|
-
body: await
|
|
2970
|
+
body: await parseErrorBody(output.body, context),
|
|
2971
2971
|
};
|
|
2972
2972
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2973
2973
|
switch (errorCode) {
|
|
@@ -3106,7 +3106,7 @@ exports.deserializeAws_restJson1GetFunctionConfigurationCommand = deserializeAws
|
|
|
3106
3106
|
const deserializeAws_restJson1GetFunctionConfigurationCommandError = async (output, context) => {
|
|
3107
3107
|
const parsedOutput = {
|
|
3108
3108
|
...output,
|
|
3109
|
-
body: await
|
|
3109
|
+
body: await parseErrorBody(output.body, context),
|
|
3110
3110
|
};
|
|
3111
3111
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3112
3112
|
switch (errorCode) {
|
|
@@ -3161,7 +3161,7 @@ exports.deserializeAws_restJson1GetFunctionEventInvokeConfigCommand = deserializ
|
|
|
3161
3161
|
const deserializeAws_restJson1GetFunctionEventInvokeConfigCommandError = async (output, context) => {
|
|
3162
3162
|
const parsedOutput = {
|
|
3163
3163
|
...output,
|
|
3164
|
-
body: await
|
|
3164
|
+
body: await parseErrorBody(output.body, context),
|
|
3165
3165
|
};
|
|
3166
3166
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3167
3167
|
switch (errorCode) {
|
|
@@ -3219,7 +3219,7 @@ exports.deserializeAws_restJson1GetFunctionUrlConfigCommand = deserializeAws_res
|
|
|
3219
3219
|
const deserializeAws_restJson1GetFunctionUrlConfigCommandError = async (output, context) => {
|
|
3220
3220
|
const parsedOutput = {
|
|
3221
3221
|
...output,
|
|
3222
|
-
body: await
|
|
3222
|
+
body: await parseErrorBody(output.body, context),
|
|
3223
3223
|
};
|
|
3224
3224
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3225
3225
|
switch (errorCode) {
|
|
@@ -3286,7 +3286,7 @@ exports.deserializeAws_restJson1GetLayerVersionCommand = deserializeAws_restJson
|
|
|
3286
3286
|
const deserializeAws_restJson1GetLayerVersionCommandError = async (output, context) => {
|
|
3287
3287
|
const parsedOutput = {
|
|
3288
3288
|
...output,
|
|
3289
|
-
body: await
|
|
3289
|
+
body: await parseErrorBody(output.body, context),
|
|
3290
3290
|
};
|
|
3291
3291
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3292
3292
|
switch (errorCode) {
|
|
@@ -3353,7 +3353,7 @@ exports.deserializeAws_restJson1GetLayerVersionByArnCommand = deserializeAws_res
|
|
|
3353
3353
|
const deserializeAws_restJson1GetLayerVersionByArnCommandError = async (output, context) => {
|
|
3354
3354
|
const parsedOutput = {
|
|
3355
3355
|
...output,
|
|
3356
|
-
body: await
|
|
3356
|
+
body: await parseErrorBody(output.body, context),
|
|
3357
3357
|
};
|
|
3358
3358
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3359
3359
|
switch (errorCode) {
|
|
@@ -3399,7 +3399,7 @@ exports.deserializeAws_restJson1GetLayerVersionPolicyCommand = deserializeAws_re
|
|
|
3399
3399
|
const deserializeAws_restJson1GetLayerVersionPolicyCommandError = async (output, context) => {
|
|
3400
3400
|
const parsedOutput = {
|
|
3401
3401
|
...output,
|
|
3402
|
-
body: await
|
|
3402
|
+
body: await parseErrorBody(output.body, context),
|
|
3403
3403
|
};
|
|
3404
3404
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3405
3405
|
switch (errorCode) {
|
|
@@ -3445,7 +3445,7 @@ exports.deserializeAws_restJson1GetPolicyCommand = deserializeAws_restJson1GetPo
|
|
|
3445
3445
|
const deserializeAws_restJson1GetPolicyCommandError = async (output, context) => {
|
|
3446
3446
|
const parsedOutput = {
|
|
3447
3447
|
...output,
|
|
3448
|
-
body: await
|
|
3448
|
+
body: await parseErrorBody(output.body, context),
|
|
3449
3449
|
};
|
|
3450
3450
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3451
3451
|
switch (errorCode) {
|
|
@@ -3503,7 +3503,7 @@ exports.deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand = deseria
|
|
|
3503
3503
|
const deserializeAws_restJson1GetProvisionedConcurrencyConfigCommandError = async (output, context) => {
|
|
3504
3504
|
const parsedOutput = {
|
|
3505
3505
|
...output,
|
|
3506
|
-
body: await
|
|
3506
|
+
body: await parseErrorBody(output.body, context),
|
|
3507
3507
|
};
|
|
3508
3508
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3509
3509
|
switch (errorCode) {
|
|
@@ -3553,7 +3553,7 @@ exports.deserializeAws_restJson1InvokeCommand = deserializeAws_restJson1InvokeCo
|
|
|
3553
3553
|
const deserializeAws_restJson1InvokeCommandError = async (output, context) => {
|
|
3554
3554
|
const parsedOutput = {
|
|
3555
3555
|
...output,
|
|
3556
|
-
body: await
|
|
3556
|
+
body: await parseErrorBody(output.body, context),
|
|
3557
3557
|
};
|
|
3558
3558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3559
3559
|
switch (errorCode) {
|
|
@@ -3662,7 +3662,7 @@ exports.deserializeAws_restJson1InvokeAsyncCommand = deserializeAws_restJson1Inv
|
|
|
3662
3662
|
const deserializeAws_restJson1InvokeAsyncCommandError = async (output, context) => {
|
|
3663
3663
|
const parsedOutput = {
|
|
3664
3664
|
...output,
|
|
3665
|
-
body: await
|
|
3665
|
+
body: await parseErrorBody(output.body, context),
|
|
3666
3666
|
};
|
|
3667
3667
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3668
3668
|
switch (errorCode) {
|
|
@@ -3711,7 +3711,7 @@ exports.deserializeAws_restJson1ListAliasesCommand = deserializeAws_restJson1Lis
|
|
|
3711
3711
|
const deserializeAws_restJson1ListAliasesCommandError = async (output, context) => {
|
|
3712
3712
|
const parsedOutput = {
|
|
3713
3713
|
...output,
|
|
3714
|
-
body: await
|
|
3714
|
+
body: await parseErrorBody(output.body, context),
|
|
3715
3715
|
};
|
|
3716
3716
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3717
3717
|
switch (errorCode) {
|
|
@@ -3757,7 +3757,7 @@ exports.deserializeAws_restJson1ListCodeSigningConfigsCommand = deserializeAws_r
|
|
|
3757
3757
|
const deserializeAws_restJson1ListCodeSigningConfigsCommandError = async (output, context) => {
|
|
3758
3758
|
const parsedOutput = {
|
|
3759
3759
|
...output,
|
|
3760
|
-
body: await
|
|
3760
|
+
body: await parseErrorBody(output.body, context),
|
|
3761
3761
|
};
|
|
3762
3762
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3763
3763
|
switch (errorCode) {
|
|
@@ -3797,7 +3797,7 @@ exports.deserializeAws_restJson1ListEventSourceMappingsCommand = deserializeAws_
|
|
|
3797
3797
|
const deserializeAws_restJson1ListEventSourceMappingsCommandError = async (output, context) => {
|
|
3798
3798
|
const parsedOutput = {
|
|
3799
3799
|
...output,
|
|
3800
|
-
body: await
|
|
3800
|
+
body: await parseErrorBody(output.body, context),
|
|
3801
3801
|
};
|
|
3802
3802
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3803
3803
|
switch (errorCode) {
|
|
@@ -3843,7 +3843,7 @@ exports.deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand = deserial
|
|
|
3843
3843
|
const deserializeAws_restJson1ListFunctionEventInvokeConfigsCommandError = async (output, context) => {
|
|
3844
3844
|
const parsedOutput = {
|
|
3845
3845
|
...output,
|
|
3846
|
-
body: await
|
|
3846
|
+
body: await parseErrorBody(output.body, context),
|
|
3847
3847
|
};
|
|
3848
3848
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3849
3849
|
switch (errorCode) {
|
|
@@ -3889,7 +3889,7 @@ exports.deserializeAws_restJson1ListFunctionsCommand = deserializeAws_restJson1L
|
|
|
3889
3889
|
const deserializeAws_restJson1ListFunctionsCommandError = async (output, context) => {
|
|
3890
3890
|
const parsedOutput = {
|
|
3891
3891
|
...output,
|
|
3892
|
-
body: await
|
|
3892
|
+
body: await parseErrorBody(output.body, context),
|
|
3893
3893
|
};
|
|
3894
3894
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3895
3895
|
switch (errorCode) {
|
|
@@ -3932,7 +3932,7 @@ exports.deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = deseri
|
|
|
3932
3932
|
const deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommandError = async (output, context) => {
|
|
3933
3933
|
const parsedOutput = {
|
|
3934
3934
|
...output,
|
|
3935
|
-
body: await
|
|
3935
|
+
body: await parseErrorBody(output.body, context),
|
|
3936
3936
|
};
|
|
3937
3937
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3938
3938
|
switch (errorCode) {
|
|
@@ -3975,7 +3975,7 @@ exports.deserializeAws_restJson1ListFunctionUrlConfigsCommand = deserializeAws_r
|
|
|
3975
3975
|
const deserializeAws_restJson1ListFunctionUrlConfigsCommandError = async (output, context) => {
|
|
3976
3976
|
const parsedOutput = {
|
|
3977
3977
|
...output,
|
|
3978
|
-
body: await
|
|
3978
|
+
body: await parseErrorBody(output.body, context),
|
|
3979
3979
|
};
|
|
3980
3980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3981
3981
|
switch (errorCode) {
|
|
@@ -4021,7 +4021,7 @@ exports.deserializeAws_restJson1ListLayersCommand = deserializeAws_restJson1List
|
|
|
4021
4021
|
const deserializeAws_restJson1ListLayersCommandError = async (output, context) => {
|
|
4022
4022
|
const parsedOutput = {
|
|
4023
4023
|
...output,
|
|
4024
|
-
body: await
|
|
4024
|
+
body: await parseErrorBody(output.body, context),
|
|
4025
4025
|
};
|
|
4026
4026
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4027
4027
|
switch (errorCode) {
|
|
@@ -4064,7 +4064,7 @@ exports.deserializeAws_restJson1ListLayerVersionsCommand = deserializeAws_restJs
|
|
|
4064
4064
|
const deserializeAws_restJson1ListLayerVersionsCommandError = async (output, context) => {
|
|
4065
4065
|
const parsedOutput = {
|
|
4066
4066
|
...output,
|
|
4067
|
-
body: await
|
|
4067
|
+
body: await parseErrorBody(output.body, context),
|
|
4068
4068
|
};
|
|
4069
4069
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4070
4070
|
switch (errorCode) {
|
|
@@ -4110,7 +4110,7 @@ exports.deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = deser
|
|
|
4110
4110
|
const deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommandError = async (output, context) => {
|
|
4111
4111
|
const parsedOutput = {
|
|
4112
4112
|
...output,
|
|
4113
|
-
body: await
|
|
4113
|
+
body: await parseErrorBody(output.body, context),
|
|
4114
4114
|
};
|
|
4115
4115
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4116
4116
|
switch (errorCode) {
|
|
@@ -4153,7 +4153,7 @@ exports.deserializeAws_restJson1ListTagsCommand = deserializeAws_restJson1ListTa
|
|
|
4153
4153
|
const deserializeAws_restJson1ListTagsCommandError = async (output, context) => {
|
|
4154
4154
|
const parsedOutput = {
|
|
4155
4155
|
...output,
|
|
4156
|
-
body: await
|
|
4156
|
+
body: await parseErrorBody(output.body, context),
|
|
4157
4157
|
};
|
|
4158
4158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4159
4159
|
switch (errorCode) {
|
|
@@ -4199,7 +4199,7 @@ exports.deserializeAws_restJson1ListVersionsByFunctionCommand = deserializeAws_r
|
|
|
4199
4199
|
const deserializeAws_restJson1ListVersionsByFunctionCommandError = async (output, context) => {
|
|
4200
4200
|
const parsedOutput = {
|
|
4201
4201
|
...output,
|
|
4202
|
-
body: await
|
|
4202
|
+
body: await parseErrorBody(output.body, context),
|
|
4203
4203
|
};
|
|
4204
4204
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4205
4205
|
switch (errorCode) {
|
|
@@ -4266,7 +4266,7 @@ exports.deserializeAws_restJson1PublishLayerVersionCommand = deserializeAws_rest
|
|
|
4266
4266
|
const deserializeAws_restJson1PublishLayerVersionCommandError = async (output, context) => {
|
|
4267
4267
|
const parsedOutput = {
|
|
4268
4268
|
...output,
|
|
4269
|
-
body: await
|
|
4269
|
+
body: await parseErrorBody(output.body, context),
|
|
4270
4270
|
};
|
|
4271
4271
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4272
4272
|
switch (errorCode) {
|
|
@@ -4408,7 +4408,7 @@ exports.deserializeAws_restJson1PublishVersionCommand = deserializeAws_restJson1
|
|
|
4408
4408
|
const deserializeAws_restJson1PublishVersionCommandError = async (output, context) => {
|
|
4409
4409
|
const parsedOutput = {
|
|
4410
4410
|
...output,
|
|
4411
|
-
body: await
|
|
4411
|
+
body: await parseErrorBody(output.body, context),
|
|
4412
4412
|
};
|
|
4413
4413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4414
4414
|
switch (errorCode) {
|
|
@@ -4463,7 +4463,7 @@ exports.deserializeAws_restJson1PutFunctionCodeSigningConfigCommand = deserializ
|
|
|
4463
4463
|
const deserializeAws_restJson1PutFunctionCodeSigningConfigCommandError = async (output, context) => {
|
|
4464
4464
|
const parsedOutput = {
|
|
4465
4465
|
...output,
|
|
4466
|
-
body: await
|
|
4466
|
+
body: await parseErrorBody(output.body, context),
|
|
4467
4467
|
};
|
|
4468
4468
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4469
4469
|
switch (errorCode) {
|
|
@@ -4512,7 +4512,7 @@ exports.deserializeAws_restJson1PutFunctionConcurrencyCommand = deserializeAws_r
|
|
|
4512
4512
|
const deserializeAws_restJson1PutFunctionConcurrencyCommandError = async (output, context) => {
|
|
4513
4513
|
const parsedOutput = {
|
|
4514
4514
|
...output,
|
|
4515
|
-
body: await
|
|
4515
|
+
body: await parseErrorBody(output.body, context),
|
|
4516
4516
|
};
|
|
4517
4517
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4518
4518
|
switch (errorCode) {
|
|
@@ -4570,7 +4570,7 @@ exports.deserializeAws_restJson1PutFunctionEventInvokeConfigCommand = deserializ
|
|
|
4570
4570
|
const deserializeAws_restJson1PutFunctionEventInvokeConfigCommandError = async (output, context) => {
|
|
4571
4571
|
const parsedOutput = {
|
|
4572
4572
|
...output,
|
|
4573
|
-
body: await
|
|
4573
|
+
body: await parseErrorBody(output.body, context),
|
|
4574
4574
|
};
|
|
4575
4575
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4576
4576
|
switch (errorCode) {
|
|
@@ -4631,7 +4631,7 @@ exports.deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand = deseria
|
|
|
4631
4631
|
const deserializeAws_restJson1PutProvisionedConcurrencyConfigCommandError = async (output, context) => {
|
|
4632
4632
|
const parsedOutput = {
|
|
4633
4633
|
...output,
|
|
4634
|
-
body: await
|
|
4634
|
+
body: await parseErrorBody(output.body, context),
|
|
4635
4635
|
};
|
|
4636
4636
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4637
4637
|
switch (errorCode) {
|
|
@@ -4674,7 +4674,7 @@ exports.deserializeAws_restJson1RemoveLayerVersionPermissionCommand = deserializ
|
|
|
4674
4674
|
const deserializeAws_restJson1RemoveLayerVersionPermissionCommandError = async (output, context) => {
|
|
4675
4675
|
const parsedOutput = {
|
|
4676
4676
|
...output,
|
|
4677
|
-
body: await
|
|
4677
|
+
body: await parseErrorBody(output.body, context),
|
|
4678
4678
|
};
|
|
4679
4679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4680
4680
|
switch (errorCode) {
|
|
@@ -4717,7 +4717,7 @@ exports.deserializeAws_restJson1RemovePermissionCommand = deserializeAws_restJso
|
|
|
4717
4717
|
const deserializeAws_restJson1RemovePermissionCommandError = async (output, context) => {
|
|
4718
4718
|
const parsedOutput = {
|
|
4719
4719
|
...output,
|
|
4720
|
-
body: await
|
|
4720
|
+
body: await parseErrorBody(output.body, context),
|
|
4721
4721
|
};
|
|
4722
4722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4723
4723
|
switch (errorCode) {
|
|
@@ -4760,7 +4760,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
4760
4760
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
4761
4761
|
const parsedOutput = {
|
|
4762
4762
|
...output,
|
|
4763
|
-
body: await
|
|
4763
|
+
body: await parseErrorBody(output.body, context),
|
|
4764
4764
|
};
|
|
4765
4765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4766
4766
|
switch (errorCode) {
|
|
@@ -4803,7 +4803,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
4803
4803
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
4804
4804
|
const parsedOutput = {
|
|
4805
4805
|
...output,
|
|
4806
|
-
body: await
|
|
4806
|
+
body: await parseErrorBody(output.body, context),
|
|
4807
4807
|
};
|
|
4808
4808
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4809
4809
|
switch (errorCode) {
|
|
@@ -4864,7 +4864,7 @@ exports.deserializeAws_restJson1UpdateAliasCommand = deserializeAws_restJson1Upd
|
|
|
4864
4864
|
const deserializeAws_restJson1UpdateAliasCommandError = async (output, context) => {
|
|
4865
4865
|
const parsedOutput = {
|
|
4866
4866
|
...output,
|
|
4867
|
-
body: await
|
|
4867
|
+
body: await parseErrorBody(output.body, context),
|
|
4868
4868
|
};
|
|
4869
4869
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4870
4870
|
switch (errorCode) {
|
|
@@ -4913,7 +4913,7 @@ exports.deserializeAws_restJson1UpdateCodeSigningConfigCommand = deserializeAws_
|
|
|
4913
4913
|
const deserializeAws_restJson1UpdateCodeSigningConfigCommandError = async (output, context) => {
|
|
4914
4914
|
const parsedOutput = {
|
|
4915
4915
|
...output,
|
|
4916
|
-
body: await
|
|
4916
|
+
body: await parseErrorBody(output.body, context),
|
|
4917
4917
|
};
|
|
4918
4918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4919
4919
|
switch (errorCode) {
|
|
@@ -5025,7 +5025,7 @@ exports.deserializeAws_restJson1UpdateEventSourceMappingCommand = deserializeAws
|
|
|
5025
5025
|
const deserializeAws_restJson1UpdateEventSourceMappingCommandError = async (output, context) => {
|
|
5026
5026
|
const parsedOutput = {
|
|
5027
5027
|
...output,
|
|
5028
|
-
body: await
|
|
5028
|
+
body: await parseErrorBody(output.body, context),
|
|
5029
5029
|
};
|
|
5030
5030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5031
5031
|
switch (errorCode) {
|
|
@@ -5170,7 +5170,7 @@ exports.deserializeAws_restJson1UpdateFunctionCodeCommand = deserializeAws_restJ
|
|
|
5170
5170
|
const deserializeAws_restJson1UpdateFunctionCodeCommandError = async (output, context) => {
|
|
5171
5171
|
const parsedOutput = {
|
|
5172
5172
|
...output,
|
|
5173
|
-
body: await
|
|
5173
|
+
body: await parseErrorBody(output.body, context),
|
|
5174
5174
|
};
|
|
5175
5175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5176
5176
|
switch (errorCode) {
|
|
@@ -5327,7 +5327,7 @@ exports.deserializeAws_restJson1UpdateFunctionConfigurationCommand = deserialize
|
|
|
5327
5327
|
const deserializeAws_restJson1UpdateFunctionConfigurationCommandError = async (output, context) => {
|
|
5328
5328
|
const parsedOutput = {
|
|
5329
5329
|
...output,
|
|
5330
|
-
body: await
|
|
5330
|
+
body: await parseErrorBody(output.body, context),
|
|
5331
5331
|
};
|
|
5332
5332
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5333
5333
|
switch (errorCode) {
|
|
@@ -5397,7 +5397,7 @@ exports.deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand = deseria
|
|
|
5397
5397
|
const deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommandError = async (output, context) => {
|
|
5398
5398
|
const parsedOutput = {
|
|
5399
5399
|
...output,
|
|
5400
|
-
body: await
|
|
5400
|
+
body: await parseErrorBody(output.body, context),
|
|
5401
5401
|
};
|
|
5402
5402
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5403
5403
|
switch (errorCode) {
|
|
@@ -5458,7 +5458,7 @@ exports.deserializeAws_restJson1UpdateFunctionUrlConfigCommand = deserializeAws_
|
|
|
5458
5458
|
const deserializeAws_restJson1UpdateFunctionUrlConfigCommandError = async (output, context) => {
|
|
5459
5459
|
const parsedOutput = {
|
|
5460
5460
|
...output,
|
|
5461
|
-
body: await
|
|
5461
|
+
body: await parseErrorBody(output.body, context),
|
|
5462
5462
|
};
|
|
5463
5463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5464
5464
|
switch (errorCode) {
|
|
@@ -7059,6 +7059,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7059
7059
|
}
|
|
7060
7060
|
return {};
|
|
7061
7061
|
});
|
|
7062
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
7063
|
+
var _a;
|
|
7064
|
+
const value = await parseBody(errorBody, context);
|
|
7065
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
7066
|
+
return value;
|
|
7067
|
+
};
|
|
7062
7068
|
const loadRestJsonErrorCode = (output, data) => {
|
|
7063
7069
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
7064
7070
|
const sanitizeErrorCode = (rawValue) => {
|