@aws-sdk/client-kinesis-analytics-v2 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_json1_1.js +37 -31
- package/dist-es/KinesisAnalyticsV2.js +126 -133
- package/dist-es/KinesisAnalyticsV2Client.js +22 -28
- package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +21 -28
- package/dist-es/commands/AddApplicationInputCommand.js +21 -28
- package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +21 -28
- package/dist-es/commands/AddApplicationOutputCommand.js +21 -28
- package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +21 -28
- package/dist-es/commands/AddApplicationVpcConfigurationCommand.js +21 -28
- package/dist-es/commands/CreateApplicationCommand.js +21 -28
- package/dist-es/commands/CreateApplicationPresignedUrlCommand.js +21 -28
- package/dist-es/commands/CreateApplicationSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationOutputCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationVpcConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeApplicationCommand.js +21 -28
- package/dist-es/commands/DescribeApplicationSnapshotCommand.js +21 -28
- package/dist-es/commands/DescribeApplicationVersionCommand.js +21 -28
- package/dist-es/commands/DiscoverInputSchemaCommand.js +21 -28
- package/dist-es/commands/ListApplicationSnapshotsCommand.js +21 -28
- package/dist-es/commands/ListApplicationVersionsCommand.js +21 -28
- package/dist-es/commands/ListApplicationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/RollbackApplicationCommand.js +21 -28
- package/dist-es/commands/StartApplicationCommand.js +21 -28
- package/dist-es/commands/StopApplicationCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateApplicationCommand.js +21 -28
- package/dist-es/commands/UpdateApplicationMaintenanceConfigurationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KinesisAnalyticsV2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +700 -339
- package/dist-es/protocols/Aws_json1_1.js +2967 -3320
- 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/package.json +33 -33
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-kinesis-analytics-v2
|
|
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-kinesis-analytics-v2
|
|
@@ -333,7 +333,7 @@ exports.deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand = des
|
|
|
333
333
|
const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
334
334
|
const parsedOutput = {
|
|
335
335
|
...output,
|
|
336
|
-
body: await
|
|
336
|
+
body: await parseErrorBody(output.body, context),
|
|
337
337
|
};
|
|
338
338
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
339
339
|
switch (errorCode) {
|
|
@@ -382,7 +382,7 @@ exports.deserializeAws_json1_1AddApplicationInputCommand = deserializeAws_json1_
|
|
|
382
382
|
const deserializeAws_json1_1AddApplicationInputCommandError = async (output, context) => {
|
|
383
383
|
const parsedOutput = {
|
|
384
384
|
...output,
|
|
385
|
-
body: await
|
|
385
|
+
body: await parseErrorBody(output.body, context),
|
|
386
386
|
};
|
|
387
387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
388
388
|
switch (errorCode) {
|
|
@@ -431,7 +431,7 @@ exports.deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand
|
|
|
431
431
|
const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
432
432
|
const parsedOutput = {
|
|
433
433
|
...output,
|
|
434
|
-
body: await
|
|
434
|
+
body: await parseErrorBody(output.body, context),
|
|
435
435
|
};
|
|
436
436
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
437
437
|
switch (errorCode) {
|
|
@@ -477,7 +477,7 @@ exports.deserializeAws_json1_1AddApplicationOutputCommand = deserializeAws_json1
|
|
|
477
477
|
const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, context) => {
|
|
478
478
|
const parsedOutput = {
|
|
479
479
|
...output,
|
|
480
|
-
body: await
|
|
480
|
+
body: await parseErrorBody(output.body, context),
|
|
481
481
|
};
|
|
482
482
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
483
|
switch (errorCode) {
|
|
@@ -523,7 +523,7 @@ exports.deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = deseria
|
|
|
523
523
|
const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
524
524
|
const parsedOutput = {
|
|
525
525
|
...output,
|
|
526
|
-
body: await
|
|
526
|
+
body: await parseErrorBody(output.body, context),
|
|
527
527
|
};
|
|
528
528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
529
|
switch (errorCode) {
|
|
@@ -569,7 +569,7 @@ exports.deserializeAws_json1_1AddApplicationVpcConfigurationCommand = deserializ
|
|
|
569
569
|
const deserializeAws_json1_1AddApplicationVpcConfigurationCommandError = async (output, context) => {
|
|
570
570
|
const parsedOutput = {
|
|
571
571
|
...output,
|
|
572
|
-
body: await
|
|
572
|
+
body: await parseErrorBody(output.body, context),
|
|
573
573
|
};
|
|
574
574
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
575
575
|
switch (errorCode) {
|
|
@@ -615,7 +615,7 @@ exports.deserializeAws_json1_1CreateApplicationCommand = deserializeAws_json1_1C
|
|
|
615
615
|
const deserializeAws_json1_1CreateApplicationCommandError = async (output, context) => {
|
|
616
616
|
const parsedOutput = {
|
|
617
617
|
...output,
|
|
618
|
-
body: await
|
|
618
|
+
body: await parseErrorBody(output.body, context),
|
|
619
619
|
};
|
|
620
620
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
621
621
|
switch (errorCode) {
|
|
@@ -670,7 +670,7 @@ exports.deserializeAws_json1_1CreateApplicationPresignedUrlCommand = deserialize
|
|
|
670
670
|
const deserializeAws_json1_1CreateApplicationPresignedUrlCommandError = async (output, context) => {
|
|
671
671
|
const parsedOutput = {
|
|
672
672
|
...output,
|
|
673
|
-
body: await
|
|
673
|
+
body: await parseErrorBody(output.body, context),
|
|
674
674
|
};
|
|
675
675
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
676
676
|
switch (errorCode) {
|
|
@@ -710,7 +710,7 @@ exports.deserializeAws_json1_1CreateApplicationSnapshotCommand = deserializeAws_
|
|
|
710
710
|
const deserializeAws_json1_1CreateApplicationSnapshotCommandError = async (output, context) => {
|
|
711
711
|
const parsedOutput = {
|
|
712
712
|
...output,
|
|
713
|
-
body: await
|
|
713
|
+
body: await parseErrorBody(output.body, context),
|
|
714
714
|
};
|
|
715
715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
716
716
|
switch (errorCode) {
|
|
@@ -762,7 +762,7 @@ exports.deserializeAws_json1_1DeleteApplicationCommand = deserializeAws_json1_1D
|
|
|
762
762
|
const deserializeAws_json1_1DeleteApplicationCommandError = async (output, context) => {
|
|
763
763
|
const parsedOutput = {
|
|
764
764
|
...output,
|
|
765
|
-
body: await
|
|
765
|
+
body: await parseErrorBody(output.body, context),
|
|
766
766
|
};
|
|
767
767
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
768
768
|
switch (errorCode) {
|
|
@@ -811,7 +811,7 @@ exports.deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand =
|
|
|
811
811
|
const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
812
812
|
const parsedOutput = {
|
|
813
813
|
...output,
|
|
814
|
-
body: await
|
|
814
|
+
body: await parseErrorBody(output.body, context),
|
|
815
815
|
};
|
|
816
816
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
817
817
|
switch (errorCode) {
|
|
@@ -860,7 +860,7 @@ exports.deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationComma
|
|
|
860
860
|
const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
861
861
|
const parsedOutput = {
|
|
862
862
|
...output,
|
|
863
|
-
body: await
|
|
863
|
+
body: await parseErrorBody(output.body, context),
|
|
864
864
|
};
|
|
865
865
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
866
866
|
switch (errorCode) {
|
|
@@ -906,7 +906,7 @@ exports.deserializeAws_json1_1DeleteApplicationOutputCommand = deserializeAws_js
|
|
|
906
906
|
const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output, context) => {
|
|
907
907
|
const parsedOutput = {
|
|
908
908
|
...output,
|
|
909
|
-
body: await
|
|
909
|
+
body: await parseErrorBody(output.body, context),
|
|
910
910
|
};
|
|
911
911
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
912
912
|
switch (errorCode) {
|
|
@@ -952,7 +952,7 @@ exports.deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = dese
|
|
|
952
952
|
const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
953
953
|
const parsedOutput = {
|
|
954
954
|
...output,
|
|
955
|
-
body: await
|
|
955
|
+
body: await parseErrorBody(output.body, context),
|
|
956
956
|
};
|
|
957
957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
958
958
|
switch (errorCode) {
|
|
@@ -998,7 +998,7 @@ exports.deserializeAws_json1_1DeleteApplicationSnapshotCommand = deserializeAws_
|
|
|
998
998
|
const deserializeAws_json1_1DeleteApplicationSnapshotCommandError = async (output, context) => {
|
|
999
999
|
const parsedOutput = {
|
|
1000
1000
|
...output,
|
|
1001
|
-
body: await
|
|
1001
|
+
body: await parseErrorBody(output.body, context),
|
|
1002
1002
|
};
|
|
1003
1003
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1004
1004
|
switch (errorCode) {
|
|
@@ -1044,7 +1044,7 @@ exports.deserializeAws_json1_1DeleteApplicationVpcConfigurationCommand = deseria
|
|
|
1044
1044
|
const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommandError = async (output, context) => {
|
|
1045
1045
|
const parsedOutput = {
|
|
1046
1046
|
...output,
|
|
1047
|
-
body: await
|
|
1047
|
+
body: await parseErrorBody(output.body, context),
|
|
1048
1048
|
};
|
|
1049
1049
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1050
1050
|
switch (errorCode) {
|
|
@@ -1090,7 +1090,7 @@ exports.deserializeAws_json1_1DescribeApplicationCommand = deserializeAws_json1_
|
|
|
1090
1090
|
const deserializeAws_json1_1DescribeApplicationCommandError = async (output, context) => {
|
|
1091
1091
|
const parsedOutput = {
|
|
1092
1092
|
...output,
|
|
1093
|
-
body: await
|
|
1093
|
+
body: await parseErrorBody(output.body, context),
|
|
1094
1094
|
};
|
|
1095
1095
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1096
1096
|
switch (errorCode) {
|
|
@@ -1130,7 +1130,7 @@ exports.deserializeAws_json1_1DescribeApplicationSnapshotCommand = deserializeAw
|
|
|
1130
1130
|
const deserializeAws_json1_1DescribeApplicationSnapshotCommandError = async (output, context) => {
|
|
1131
1131
|
const parsedOutput = {
|
|
1132
1132
|
...output,
|
|
1133
|
-
body: await
|
|
1133
|
+
body: await parseErrorBody(output.body, context),
|
|
1134
1134
|
};
|
|
1135
1135
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1136
1136
|
switch (errorCode) {
|
|
@@ -1170,7 +1170,7 @@ exports.deserializeAws_json1_1DescribeApplicationVersionCommand = deserializeAws
|
|
|
1170
1170
|
const deserializeAws_json1_1DescribeApplicationVersionCommandError = async (output, context) => {
|
|
1171
1171
|
const parsedOutput = {
|
|
1172
1172
|
...output,
|
|
1173
|
-
body: await
|
|
1173
|
+
body: await parseErrorBody(output.body, context),
|
|
1174
1174
|
};
|
|
1175
1175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1176
1176
|
switch (errorCode) {
|
|
@@ -1210,7 +1210,7 @@ exports.deserializeAws_json1_1DiscoverInputSchemaCommand = deserializeAws_json1_
|
|
|
1210
1210
|
const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, context) => {
|
|
1211
1211
|
const parsedOutput = {
|
|
1212
1212
|
...output,
|
|
1213
|
-
body: await
|
|
1213
|
+
body: await parseErrorBody(output.body, context),
|
|
1214
1214
|
};
|
|
1215
1215
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1216
1216
|
switch (errorCode) {
|
|
@@ -1259,7 +1259,7 @@ exports.deserializeAws_json1_1ListApplicationsCommand = deserializeAws_json1_1Li
|
|
|
1259
1259
|
const deserializeAws_json1_1ListApplicationsCommandError = async (output, context) => {
|
|
1260
1260
|
const parsedOutput = {
|
|
1261
1261
|
...output,
|
|
1262
|
-
body: await
|
|
1262
|
+
body: await parseErrorBody(output.body, context),
|
|
1263
1263
|
};
|
|
1264
1264
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1265
1265
|
switch (errorCode) {
|
|
@@ -1293,7 +1293,7 @@ exports.deserializeAws_json1_1ListApplicationSnapshotsCommand = deserializeAws_j
|
|
|
1293
1293
|
const deserializeAws_json1_1ListApplicationSnapshotsCommandError = async (output, context) => {
|
|
1294
1294
|
const parsedOutput = {
|
|
1295
1295
|
...output,
|
|
1296
|
-
body: await
|
|
1296
|
+
body: await parseErrorBody(output.body, context),
|
|
1297
1297
|
};
|
|
1298
1298
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1299
1299
|
switch (errorCode) {
|
|
@@ -1330,7 +1330,7 @@ exports.deserializeAws_json1_1ListApplicationVersionsCommand = deserializeAws_js
|
|
|
1330
1330
|
const deserializeAws_json1_1ListApplicationVersionsCommandError = async (output, context) => {
|
|
1331
1331
|
const parsedOutput = {
|
|
1332
1332
|
...output,
|
|
1333
|
-
body: await
|
|
1333
|
+
body: await parseErrorBody(output.body, context),
|
|
1334
1334
|
};
|
|
1335
1335
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1336
1336
|
switch (errorCode) {
|
|
@@ -1370,7 +1370,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
1370
1370
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
1371
1371
|
const parsedOutput = {
|
|
1372
1372
|
...output,
|
|
1373
|
-
body: await
|
|
1373
|
+
body: await parseErrorBody(output.body, context),
|
|
1374
1374
|
};
|
|
1375
1375
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1376
1376
|
switch (errorCode) {
|
|
@@ -1410,7 +1410,7 @@ exports.deserializeAws_json1_1RollbackApplicationCommand = deserializeAws_json1_
|
|
|
1410
1410
|
const deserializeAws_json1_1RollbackApplicationCommandError = async (output, context) => {
|
|
1411
1411
|
const parsedOutput = {
|
|
1412
1412
|
...output,
|
|
1413
|
-
body: await
|
|
1413
|
+
body: await parseErrorBody(output.body, context),
|
|
1414
1414
|
};
|
|
1415
1415
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1416
1416
|
switch (errorCode) {
|
|
@@ -1459,7 +1459,7 @@ exports.deserializeAws_json1_1StartApplicationCommand = deserializeAws_json1_1St
|
|
|
1459
1459
|
const deserializeAws_json1_1StartApplicationCommandError = async (output, context) => {
|
|
1460
1460
|
const parsedOutput = {
|
|
1461
1461
|
...output,
|
|
1462
|
-
body: await
|
|
1462
|
+
body: await parseErrorBody(output.body, context),
|
|
1463
1463
|
};
|
|
1464
1464
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1465
1465
|
switch (errorCode) {
|
|
@@ -1505,7 +1505,7 @@ exports.deserializeAws_json1_1StopApplicationCommand = deserializeAws_json1_1Sto
|
|
|
1505
1505
|
const deserializeAws_json1_1StopApplicationCommandError = async (output, context) => {
|
|
1506
1506
|
const parsedOutput = {
|
|
1507
1507
|
...output,
|
|
1508
|
-
body: await
|
|
1508
|
+
body: await parseErrorBody(output.body, context),
|
|
1509
1509
|
};
|
|
1510
1510
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1511
1511
|
switch (errorCode) {
|
|
@@ -1554,7 +1554,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
1554
1554
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
1555
1555
|
const parsedOutput = {
|
|
1556
1556
|
...output,
|
|
1557
|
-
body: await
|
|
1557
|
+
body: await parseErrorBody(output.body, context),
|
|
1558
1558
|
};
|
|
1559
1559
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1560
1560
|
switch (errorCode) {
|
|
@@ -1600,7 +1600,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
1600
1600
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
1601
1601
|
const parsedOutput = {
|
|
1602
1602
|
...output,
|
|
1603
|
-
body: await
|
|
1603
|
+
body: await parseErrorBody(output.body, context),
|
|
1604
1604
|
};
|
|
1605
1605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1606
1606
|
switch (errorCode) {
|
|
@@ -1646,7 +1646,7 @@ exports.deserializeAws_json1_1UpdateApplicationCommand = deserializeAws_json1_1U
|
|
|
1646
1646
|
const deserializeAws_json1_1UpdateApplicationCommandError = 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) {
|
|
@@ -1701,7 +1701,7 @@ exports.deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommand =
|
|
|
1701
1701
|
const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommandError = async (output, context) => {
|
|
1702
1702
|
const parsedOutput = {
|
|
1703
1703
|
...output,
|
|
1704
|
-
body: await
|
|
1704
|
+
body: await parseErrorBody(output.body, context),
|
|
1705
1705
|
};
|
|
1706
1706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1707
1707
|
switch (errorCode) {
|
|
@@ -3940,6 +3940,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3940
3940
|
}
|
|
3941
3941
|
return {};
|
|
3942
3942
|
});
|
|
3943
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
3944
|
+
var _a;
|
|
3945
|
+
const value = await parseBody(errorBody, context);
|
|
3946
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
3947
|
+
return value;
|
|
3948
|
+
};
|
|
3943
3949
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3944
3950
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3945
3951
|
const sanitizeErrorCode = (rawValue) => {
|