@aws-sdk/client-medialive 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 +65 -59
- package/dist-es/MediaLive.js +238 -245
- package/dist-es/MediaLiveClient.js +22 -28
- package/dist-es/commands/AcceptInputDeviceTransferCommand.js +21 -28
- package/dist-es/commands/BatchDeleteCommand.js +21 -28
- package/dist-es/commands/BatchStartCommand.js +21 -28
- package/dist-es/commands/BatchStopCommand.js +21 -28
- package/dist-es/commands/BatchUpdateScheduleCommand.js +21 -28
- package/dist-es/commands/CancelInputDeviceTransferCommand.js +21 -28
- package/dist-es/commands/ClaimDeviceCommand.js +21 -28
- package/dist-es/commands/CreateChannelCommand.js +21 -28
- package/dist-es/commands/CreateInputCommand.js +21 -28
- package/dist-es/commands/CreateInputSecurityGroupCommand.js +21 -28
- package/dist-es/commands/CreateMultiplexCommand.js +21 -28
- package/dist-es/commands/CreateMultiplexProgramCommand.js +21 -28
- package/dist-es/commands/CreatePartnerInputCommand.js +21 -28
- package/dist-es/commands/CreateTagsCommand.js +22 -29
- package/dist-es/commands/DeleteChannelCommand.js +21 -28
- package/dist-es/commands/DeleteInputCommand.js +21 -28
- package/dist-es/commands/DeleteInputSecurityGroupCommand.js +21 -28
- package/dist-es/commands/DeleteMultiplexCommand.js +21 -28
- package/dist-es/commands/DeleteMultiplexProgramCommand.js +21 -28
- package/dist-es/commands/DeleteReservationCommand.js +21 -28
- package/dist-es/commands/DeleteScheduleCommand.js +21 -28
- package/dist-es/commands/DeleteTagsCommand.js +22 -29
- package/dist-es/commands/DescribeChannelCommand.js +21 -28
- package/dist-es/commands/DescribeInputCommand.js +21 -28
- package/dist-es/commands/DescribeInputDeviceCommand.js +21 -28
- package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +21 -28
- package/dist-es/commands/DescribeInputSecurityGroupCommand.js +21 -28
- package/dist-es/commands/DescribeMultiplexCommand.js +21 -28
- package/dist-es/commands/DescribeMultiplexProgramCommand.js +21 -28
- package/dist-es/commands/DescribeOfferingCommand.js +21 -28
- package/dist-es/commands/DescribeReservationCommand.js +21 -28
- package/dist-es/commands/DescribeScheduleCommand.js +21 -28
- package/dist-es/commands/ListChannelsCommand.js +21 -28
- package/dist-es/commands/ListInputDeviceTransfersCommand.js +21 -28
- package/dist-es/commands/ListInputDevicesCommand.js +21 -28
- package/dist-es/commands/ListInputSecurityGroupsCommand.js +21 -28
- package/dist-es/commands/ListInputsCommand.js +21 -28
- package/dist-es/commands/ListMultiplexProgramsCommand.js +21 -28
- package/dist-es/commands/ListMultiplexesCommand.js +21 -28
- package/dist-es/commands/ListOfferingsCommand.js +21 -28
- package/dist-es/commands/ListReservationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PurchaseOfferingCommand.js +21 -28
- package/dist-es/commands/RebootInputDeviceCommand.js +21 -28
- package/dist-es/commands/RejectInputDeviceTransferCommand.js +21 -28
- package/dist-es/commands/StartChannelCommand.js +21 -28
- package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +21 -28
- package/dist-es/commands/StartMultiplexCommand.js +21 -28
- package/dist-es/commands/StopChannelCommand.js +21 -28
- package/dist-es/commands/StopMultiplexCommand.js +21 -28
- package/dist-es/commands/TransferInputDeviceCommand.js +21 -28
- package/dist-es/commands/UpdateChannelClassCommand.js +21 -28
- package/dist-es/commands/UpdateChannelCommand.js +21 -28
- package/dist-es/commands/UpdateInputCommand.js +21 -28
- package/dist-es/commands/UpdateInputDeviceCommand.js +21 -28
- package/dist-es/commands/UpdateInputSecurityGroupCommand.js +21 -28
- package/dist-es/commands/UpdateMultiplexCommand.js +21 -28
- package/dist-es/commands/UpdateMultiplexProgramCommand.js +21 -28
- package/dist-es/commands/UpdateReservationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MediaLiveServiceException.js +5 -10
- package/dist-es/models/models_0.js +429 -144
- package/dist-es/models/models_1.js +673 -298
- package/dist-es/models/models_2.js +48 -17
- package/dist-es/pagination/DescribeSchedulePaginator.js +25 -68
- package/dist-es/pagination/ListChannelsPaginator.js +25 -68
- package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +25 -68
- package/dist-es/pagination/ListInputDevicesPaginator.js +25 -68
- package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListInputsPaginator.js +25 -68
- package/dist-es/pagination/ListMultiplexProgramsPaginator.js +25 -68
- package/dist-es/pagination/ListMultiplexesPaginator.js +25 -68
- package/dist-es/pagination/ListOfferingsPaginator.js +25 -68
- package/dist-es/pagination/ListReservationsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +7418 -8421
- 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/waitForChannelCreated.js +48 -68
- package/dist-es/waiters/waitForChannelDeleted.js +39 -59
- package/dist-es/waiters/waitForChannelRunning.js +39 -59
- package/dist-es/waiters/waitForChannelStopped.js +39 -59
- package/dist-es/waiters/waitForInputAttached.js +39 -59
- package/dist-es/waiters/waitForInputDeleted.js +39 -59
- package/dist-es/waiters/waitForInputDetached.js +48 -68
- package/dist-es/waiters/waitForMultiplexCreated.js +48 -68
- package/dist-es/waiters/waitForMultiplexDeleted.js +39 -59
- package/dist-es/waiters/waitForMultiplexRunning.js +39 -59
- package/dist-es/waiters/waitForMultiplexStopped.js +39 -59
- 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-medialive
|
|
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-medialive
|
|
@@ -1357,7 +1357,7 @@ exports.deserializeAws_restJson1AcceptInputDeviceTransferCommand = deserializeAw
|
|
|
1357
1357
|
const deserializeAws_restJson1AcceptInputDeviceTransferCommandError = async (output, context) => {
|
|
1358
1358
|
const parsedOutput = {
|
|
1359
1359
|
...output,
|
|
1360
|
-
body: await
|
|
1360
|
+
body: await parseErrorBody(output.body, context),
|
|
1361
1361
|
};
|
|
1362
1362
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
1363
|
switch (errorCode) {
|
|
@@ -1418,7 +1418,7 @@ exports.deserializeAws_restJson1BatchDeleteCommand = deserializeAws_restJson1Bat
|
|
|
1418
1418
|
const deserializeAws_restJson1BatchDeleteCommandError = async (output, context) => {
|
|
1419
1419
|
const parsedOutput = {
|
|
1420
1420
|
...output,
|
|
1421
|
-
body: await
|
|
1421
|
+
body: await parseErrorBody(output.body, context),
|
|
1422
1422
|
};
|
|
1423
1423
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1424
1424
|
switch (errorCode) {
|
|
@@ -1476,7 +1476,7 @@ exports.deserializeAws_restJson1BatchStartCommand = deserializeAws_restJson1Batc
|
|
|
1476
1476
|
const deserializeAws_restJson1BatchStartCommandError = async (output, context) => {
|
|
1477
1477
|
const parsedOutput = {
|
|
1478
1478
|
...output,
|
|
1479
|
-
body: await
|
|
1479
|
+
body: await parseErrorBody(output.body, context),
|
|
1480
1480
|
};
|
|
1481
1481
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1482
1482
|
switch (errorCode) {
|
|
@@ -1534,7 +1534,7 @@ exports.deserializeAws_restJson1BatchStopCommand = deserializeAws_restJson1Batch
|
|
|
1534
1534
|
const deserializeAws_restJson1BatchStopCommandError = async (output, context) => {
|
|
1535
1535
|
const parsedOutput = {
|
|
1536
1536
|
...output,
|
|
1537
|
-
body: await
|
|
1537
|
+
body: await parseErrorBody(output.body, context),
|
|
1538
1538
|
};
|
|
1539
1539
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1540
1540
|
switch (errorCode) {
|
|
@@ -1592,7 +1592,7 @@ exports.deserializeAws_restJson1BatchUpdateScheduleCommand = deserializeAws_rest
|
|
|
1592
1592
|
const deserializeAws_restJson1BatchUpdateScheduleCommandError = async (output, context) => {
|
|
1593
1593
|
const parsedOutput = {
|
|
1594
1594
|
...output,
|
|
1595
|
-
body: await
|
|
1595
|
+
body: await parseErrorBody(output.body, context),
|
|
1596
1596
|
};
|
|
1597
1597
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
1598
|
switch (errorCode) {
|
|
@@ -1644,7 +1644,7 @@ exports.deserializeAws_restJson1CancelInputDeviceTransferCommand = deserializeAw
|
|
|
1644
1644
|
const deserializeAws_restJson1CancelInputDeviceTransferCommandError = async (output, context) => {
|
|
1645
1645
|
const parsedOutput = {
|
|
1646
1646
|
...output,
|
|
1647
|
-
body: await
|
|
1647
|
+
body: await parseErrorBody(output.body, context),
|
|
1648
1648
|
};
|
|
1649
1649
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1650
1650
|
switch (errorCode) {
|
|
@@ -1699,7 +1699,7 @@ exports.deserializeAws_restJson1ClaimDeviceCommand = deserializeAws_restJson1Cla
|
|
|
1699
1699
|
const deserializeAws_restJson1ClaimDeviceCommandError = async (output, context) => {
|
|
1700
1700
|
const parsedOutput = {
|
|
1701
1701
|
...output,
|
|
1702
|
-
body: await
|
|
1702
|
+
body: await parseErrorBody(output.body, context),
|
|
1703
1703
|
};
|
|
1704
1704
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1705
1705
|
switch (errorCode) {
|
|
@@ -1754,7 +1754,7 @@ exports.deserializeAws_restJson1CreateChannelCommand = deserializeAws_restJson1C
|
|
|
1754
1754
|
const deserializeAws_restJson1CreateChannelCommandError = async (output, context) => {
|
|
1755
1755
|
const parsedOutput = {
|
|
1756
1756
|
...output,
|
|
1757
|
-
body: await
|
|
1757
|
+
body: await parseErrorBody(output.body, context),
|
|
1758
1758
|
};
|
|
1759
1759
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1760
1760
|
switch (errorCode) {
|
|
@@ -1809,7 +1809,7 @@ exports.deserializeAws_restJson1CreateInputCommand = deserializeAws_restJson1Cre
|
|
|
1809
1809
|
const deserializeAws_restJson1CreateInputCommandError = async (output, context) => {
|
|
1810
1810
|
const parsedOutput = {
|
|
1811
1811
|
...output,
|
|
1812
|
-
body: await
|
|
1812
|
+
body: await parseErrorBody(output.body, context),
|
|
1813
1813
|
};
|
|
1814
1814
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1815
1815
|
switch (errorCode) {
|
|
@@ -1858,7 +1858,7 @@ exports.deserializeAws_restJson1CreateInputSecurityGroupCommand = deserializeAws
|
|
|
1858
1858
|
const deserializeAws_restJson1CreateInputSecurityGroupCommandError = async (output, context) => {
|
|
1859
1859
|
const parsedOutput = {
|
|
1860
1860
|
...output,
|
|
1861
|
-
body: await
|
|
1861
|
+
body: await parseErrorBody(output.body, context),
|
|
1862
1862
|
};
|
|
1863
1863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1864
1864
|
switch (errorCode) {
|
|
@@ -1907,7 +1907,7 @@ exports.deserializeAws_restJson1CreateMultiplexCommand = deserializeAws_restJson
|
|
|
1907
1907
|
const deserializeAws_restJson1CreateMultiplexCommandError = async (output, context) => {
|
|
1908
1908
|
const parsedOutput = {
|
|
1909
1909
|
...output,
|
|
1910
|
-
body: await
|
|
1910
|
+
body: await parseErrorBody(output.body, context),
|
|
1911
1911
|
};
|
|
1912
1912
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1913
1913
|
switch (errorCode) {
|
|
@@ -1962,7 +1962,7 @@ exports.deserializeAws_restJson1CreateMultiplexProgramCommand = deserializeAws_r
|
|
|
1962
1962
|
const deserializeAws_restJson1CreateMultiplexProgramCommandError = async (output, context) => {
|
|
1963
1963
|
const parsedOutput = {
|
|
1964
1964
|
...output,
|
|
1965
|
-
body: await
|
|
1965
|
+
body: await parseErrorBody(output.body, context),
|
|
1966
1966
|
};
|
|
1967
1967
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1968
1968
|
switch (errorCode) {
|
|
@@ -2017,7 +2017,7 @@ exports.deserializeAws_restJson1CreatePartnerInputCommand = deserializeAws_restJ
|
|
|
2017
2017
|
const deserializeAws_restJson1CreatePartnerInputCommandError = async (output, context) => {
|
|
2018
2018
|
const parsedOutput = {
|
|
2019
2019
|
...output,
|
|
2020
|
-
body: await
|
|
2020
|
+
body: await parseErrorBody(output.body, context),
|
|
2021
2021
|
};
|
|
2022
2022
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2023
2023
|
switch (errorCode) {
|
|
@@ -2063,7 +2063,7 @@ exports.deserializeAws_restJson1CreateTagsCommand = deserializeAws_restJson1Crea
|
|
|
2063
2063
|
const deserializeAws_restJson1CreateTagsCommandError = async (output, context) => {
|
|
2064
2064
|
const parsedOutput = {
|
|
2065
2065
|
...output,
|
|
2066
|
-
body: await
|
|
2066
|
+
body: await parseErrorBody(output.body, context),
|
|
2067
2067
|
};
|
|
2068
2068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2069
2069
|
switch (errorCode) {
|
|
@@ -2157,7 +2157,7 @@ exports.deserializeAws_restJson1DeleteChannelCommand = deserializeAws_restJson1D
|
|
|
2157
2157
|
const deserializeAws_restJson1DeleteChannelCommandError = async (output, context) => {
|
|
2158
2158
|
const parsedOutput = {
|
|
2159
2159
|
...output,
|
|
2160
|
-
body: await
|
|
2160
|
+
body: await parseErrorBody(output.body, context),
|
|
2161
2161
|
};
|
|
2162
2162
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2163
2163
|
switch (errorCode) {
|
|
@@ -2209,7 +2209,7 @@ exports.deserializeAws_restJson1DeleteInputCommand = deserializeAws_restJson1Del
|
|
|
2209
2209
|
const deserializeAws_restJson1DeleteInputCommandError = async (output, context) => {
|
|
2210
2210
|
const parsedOutput = {
|
|
2211
2211
|
...output,
|
|
2212
|
-
body: await
|
|
2212
|
+
body: await parseErrorBody(output.body, context),
|
|
2213
2213
|
};
|
|
2214
2214
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2215
2215
|
switch (errorCode) {
|
|
@@ -2261,7 +2261,7 @@ exports.deserializeAws_restJson1DeleteInputSecurityGroupCommand = deserializeAws
|
|
|
2261
2261
|
const deserializeAws_restJson1DeleteInputSecurityGroupCommandError = async (output, context) => {
|
|
2262
2262
|
const parsedOutput = {
|
|
2263
2263
|
...output,
|
|
2264
|
-
body: await
|
|
2264
|
+
body: await parseErrorBody(output.body, context),
|
|
2265
2265
|
};
|
|
2266
2266
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2267
2267
|
switch (errorCode) {
|
|
@@ -2340,7 +2340,7 @@ exports.deserializeAws_restJson1DeleteMultiplexCommand = deserializeAws_restJson
|
|
|
2340
2340
|
const deserializeAws_restJson1DeleteMultiplexCommandError = async (output, context) => {
|
|
2341
2341
|
const parsedOutput = {
|
|
2342
2342
|
...output,
|
|
2343
|
-
body: await
|
|
2343
|
+
body: await parseErrorBody(output.body, context),
|
|
2344
2344
|
};
|
|
2345
2345
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
2346
|
switch (errorCode) {
|
|
@@ -2407,7 +2407,7 @@ exports.deserializeAws_restJson1DeleteMultiplexProgramCommand = deserializeAws_r
|
|
|
2407
2407
|
const deserializeAws_restJson1DeleteMultiplexProgramCommandError = async (output, context) => {
|
|
2408
2408
|
const parsedOutput = {
|
|
2409
2409
|
...output,
|
|
2410
|
-
body: await
|
|
2410
|
+
body: await parseErrorBody(output.body, context),
|
|
2411
2411
|
};
|
|
2412
2412
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2413
2413
|
switch (errorCode) {
|
|
@@ -2516,7 +2516,7 @@ exports.deserializeAws_restJson1DeleteReservationCommand = deserializeAws_restJs
|
|
|
2516
2516
|
const deserializeAws_restJson1DeleteReservationCommandError = async (output, context) => {
|
|
2517
2517
|
const parsedOutput = {
|
|
2518
2518
|
...output,
|
|
2519
|
-
body: await
|
|
2519
|
+
body: await parseErrorBody(output.body, context),
|
|
2520
2520
|
};
|
|
2521
2521
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2522
2522
|
switch (errorCode) {
|
|
@@ -2568,7 +2568,7 @@ exports.deserializeAws_restJson1DeleteScheduleCommand = deserializeAws_restJson1
|
|
|
2568
2568
|
const deserializeAws_restJson1DeleteScheduleCommandError = async (output, context) => {
|
|
2569
2569
|
const parsedOutput = {
|
|
2570
2570
|
...output,
|
|
2571
|
-
body: await
|
|
2571
|
+
body: await parseErrorBody(output.body, context),
|
|
2572
2572
|
};
|
|
2573
2573
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2574
2574
|
switch (errorCode) {
|
|
@@ -2617,7 +2617,7 @@ exports.deserializeAws_restJson1DeleteTagsCommand = deserializeAws_restJson1Dele
|
|
|
2617
2617
|
const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) => {
|
|
2618
2618
|
const parsedOutput = {
|
|
2619
2619
|
...output,
|
|
2620
|
-
body: await
|
|
2620
|
+
body: await parseErrorBody(output.body, context),
|
|
2621
2621
|
};
|
|
2622
2622
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2623
2623
|
switch (errorCode) {
|
|
@@ -2711,7 +2711,7 @@ exports.deserializeAws_restJson1DescribeChannelCommand = deserializeAws_restJson
|
|
|
2711
2711
|
const deserializeAws_restJson1DescribeChannelCommandError = async (output, context) => {
|
|
2712
2712
|
const parsedOutput = {
|
|
2713
2713
|
...output,
|
|
2714
|
-
body: await
|
|
2714
|
+
body: await parseErrorBody(output.body, context),
|
|
2715
2715
|
};
|
|
2716
2716
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2717
2717
|
switch (errorCode) {
|
|
@@ -2808,7 +2808,7 @@ exports.deserializeAws_restJson1DescribeInputCommand = deserializeAws_restJson1D
|
|
|
2808
2808
|
const deserializeAws_restJson1DescribeInputCommandError = async (output, context) => {
|
|
2809
2809
|
const parsedOutput = {
|
|
2810
2810
|
...output,
|
|
2811
|
-
body: await
|
|
2811
|
+
body: await parseErrorBody(output.body, context),
|
|
2812
2812
|
};
|
|
2813
2813
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2814
2814
|
switch (errorCode) {
|
|
@@ -2893,7 +2893,7 @@ exports.deserializeAws_restJson1DescribeInputDeviceCommand = deserializeAws_rest
|
|
|
2893
2893
|
const deserializeAws_restJson1DescribeInputDeviceCommandError = async (output, context) => {
|
|
2894
2894
|
const parsedOutput = {
|
|
2895
2895
|
...output,
|
|
2896
|
-
body: await
|
|
2896
|
+
body: await parseErrorBody(output.body, context),
|
|
2897
2897
|
};
|
|
2898
2898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2899
2899
|
switch (errorCode) {
|
|
@@ -2953,7 +2953,7 @@ exports.deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = deserializ
|
|
|
2953
2953
|
const deserializeAws_restJson1DescribeInputDeviceThumbnailCommandError = async (output, context) => {
|
|
2954
2954
|
const parsedOutput = {
|
|
2955
2955
|
...output,
|
|
2956
|
-
body: await
|
|
2956
|
+
body: await parseErrorBody(output.body, context),
|
|
2957
2957
|
};
|
|
2958
2958
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2959
2959
|
switch (errorCode) {
|
|
@@ -3020,7 +3020,7 @@ exports.deserializeAws_restJson1DescribeInputSecurityGroupCommand = deserializeA
|
|
|
3020
3020
|
const deserializeAws_restJson1DescribeInputSecurityGroupCommandError = async (output, context) => {
|
|
3021
3021
|
const parsedOutput = {
|
|
3022
3022
|
...output,
|
|
3023
|
-
body: await
|
|
3023
|
+
body: await parseErrorBody(output.body, context),
|
|
3024
3024
|
};
|
|
3025
3025
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3026
3026
|
switch (errorCode) {
|
|
@@ -3099,7 +3099,7 @@ exports.deserializeAws_restJson1DescribeMultiplexCommand = deserializeAws_restJs
|
|
|
3099
3099
|
const deserializeAws_restJson1DescribeMultiplexCommandError = async (output, context) => {
|
|
3100
3100
|
const parsedOutput = {
|
|
3101
3101
|
...output,
|
|
3102
|
-
body: await
|
|
3102
|
+
body: await parseErrorBody(output.body, context),
|
|
3103
3103
|
};
|
|
3104
3104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3105
3105
|
switch (errorCode) {
|
|
@@ -3163,7 +3163,7 @@ exports.deserializeAws_restJson1DescribeMultiplexProgramCommand = deserializeAws
|
|
|
3163
3163
|
const deserializeAws_restJson1DescribeMultiplexProgramCommandError = async (output, context) => {
|
|
3164
3164
|
const parsedOutput = {
|
|
3165
3165
|
...output,
|
|
3166
|
-
body: await
|
|
3166
|
+
body: await parseErrorBody(output.body, context),
|
|
3167
3167
|
};
|
|
3168
3168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3169
3169
|
switch (errorCode) {
|
|
@@ -3245,7 +3245,7 @@ exports.deserializeAws_restJson1DescribeOfferingCommand = deserializeAws_restJso
|
|
|
3245
3245
|
const deserializeAws_restJson1DescribeOfferingCommandError = async (output, context) => {
|
|
3246
3246
|
const parsedOutput = {
|
|
3247
3247
|
...output,
|
|
3248
|
-
body: await
|
|
3248
|
+
body: await parseErrorBody(output.body, context),
|
|
3249
3249
|
};
|
|
3250
3250
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3251
3251
|
switch (errorCode) {
|
|
@@ -3351,7 +3351,7 @@ exports.deserializeAws_restJson1DescribeReservationCommand = deserializeAws_rest
|
|
|
3351
3351
|
const deserializeAws_restJson1DescribeReservationCommandError = async (output, context) => {
|
|
3352
3352
|
const parsedOutput = {
|
|
3353
3353
|
...output,
|
|
3354
|
-
body: await
|
|
3354
|
+
body: await parseErrorBody(output.body, context),
|
|
3355
3355
|
};
|
|
3356
3356
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3357
3357
|
switch (errorCode) {
|
|
@@ -3406,7 +3406,7 @@ exports.deserializeAws_restJson1DescribeScheduleCommand = deserializeAws_restJso
|
|
|
3406
3406
|
const deserializeAws_restJson1DescribeScheduleCommandError = async (output, context) => {
|
|
3407
3407
|
const parsedOutput = {
|
|
3408
3408
|
...output,
|
|
3409
|
-
body: await
|
|
3409
|
+
body: await parseErrorBody(output.body, context),
|
|
3410
3410
|
};
|
|
3411
3411
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3412
3412
|
switch (errorCode) {
|
|
@@ -3461,7 +3461,7 @@ exports.deserializeAws_restJson1ListChannelsCommand = deserializeAws_restJson1Li
|
|
|
3461
3461
|
const deserializeAws_restJson1ListChannelsCommandError = async (output, context) => {
|
|
3462
3462
|
const parsedOutput = {
|
|
3463
3463
|
...output,
|
|
3464
|
-
body: await
|
|
3464
|
+
body: await parseErrorBody(output.body, context),
|
|
3465
3465
|
};
|
|
3466
3466
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3467
3467
|
switch (errorCode) {
|
|
@@ -3513,7 +3513,7 @@ exports.deserializeAws_restJson1ListInputDevicesCommand = deserializeAws_restJso
|
|
|
3513
3513
|
const deserializeAws_restJson1ListInputDevicesCommandError = async (output, context) => {
|
|
3514
3514
|
const parsedOutput = {
|
|
3515
3515
|
...output,
|
|
3516
|
-
body: await
|
|
3516
|
+
body: await parseErrorBody(output.body, context),
|
|
3517
3517
|
};
|
|
3518
3518
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3519
3519
|
switch (errorCode) {
|
|
@@ -3565,7 +3565,7 @@ exports.deserializeAws_restJson1ListInputDeviceTransfersCommand = deserializeAws
|
|
|
3565
3565
|
const deserializeAws_restJson1ListInputDeviceTransfersCommandError = async (output, context) => {
|
|
3566
3566
|
const parsedOutput = {
|
|
3567
3567
|
...output,
|
|
3568
|
-
body: await
|
|
3568
|
+
body: await parseErrorBody(output.body, context),
|
|
3569
3569
|
};
|
|
3570
3570
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3571
3571
|
switch (errorCode) {
|
|
@@ -3620,7 +3620,7 @@ exports.deserializeAws_restJson1ListInputsCommand = deserializeAws_restJson1List
|
|
|
3620
3620
|
const deserializeAws_restJson1ListInputsCommandError = async (output, context) => {
|
|
3621
3621
|
const parsedOutput = {
|
|
3622
3622
|
...output,
|
|
3623
|
-
body: await
|
|
3623
|
+
body: await parseErrorBody(output.body, context),
|
|
3624
3624
|
};
|
|
3625
3625
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3626
3626
|
switch (errorCode) {
|
|
@@ -3672,7 +3672,7 @@ exports.deserializeAws_restJson1ListInputSecurityGroupsCommand = deserializeAws_
|
|
|
3672
3672
|
const deserializeAws_restJson1ListInputSecurityGroupsCommandError = async (output, context) => {
|
|
3673
3673
|
const parsedOutput = {
|
|
3674
3674
|
...output,
|
|
3675
|
-
body: await
|
|
3675
|
+
body: await parseErrorBody(output.body, context),
|
|
3676
3676
|
};
|
|
3677
3677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3678
3678
|
switch (errorCode) {
|
|
@@ -3724,7 +3724,7 @@ exports.deserializeAws_restJson1ListMultiplexesCommand = deserializeAws_restJson
|
|
|
3724
3724
|
const deserializeAws_restJson1ListMultiplexesCommandError = async (output, context) => {
|
|
3725
3725
|
const parsedOutput = {
|
|
3726
3726
|
...output,
|
|
3727
|
-
body: await
|
|
3727
|
+
body: await parseErrorBody(output.body, context),
|
|
3728
3728
|
};
|
|
3729
3729
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3730
3730
|
switch (errorCode) {
|
|
@@ -3776,7 +3776,7 @@ exports.deserializeAws_restJson1ListMultiplexProgramsCommand = deserializeAws_re
|
|
|
3776
3776
|
const deserializeAws_restJson1ListMultiplexProgramsCommandError = async (output, context) => {
|
|
3777
3777
|
const parsedOutput = {
|
|
3778
3778
|
...output,
|
|
3779
|
-
body: await
|
|
3779
|
+
body: await parseErrorBody(output.body, context),
|
|
3780
3780
|
};
|
|
3781
3781
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3782
3782
|
switch (errorCode) {
|
|
@@ -3831,7 +3831,7 @@ exports.deserializeAws_restJson1ListOfferingsCommand = deserializeAws_restJson1L
|
|
|
3831
3831
|
const deserializeAws_restJson1ListOfferingsCommandError = async (output, context) => {
|
|
3832
3832
|
const parsedOutput = {
|
|
3833
3833
|
...output,
|
|
3834
|
-
body: await
|
|
3834
|
+
body: await parseErrorBody(output.body, context),
|
|
3835
3835
|
};
|
|
3836
3836
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3837
3837
|
switch (errorCode) {
|
|
@@ -3883,7 +3883,7 @@ exports.deserializeAws_restJson1ListReservationsCommand = deserializeAws_restJso
|
|
|
3883
3883
|
const deserializeAws_restJson1ListReservationsCommandError = async (output, context) => {
|
|
3884
3884
|
const parsedOutput = {
|
|
3885
3885
|
...output,
|
|
3886
|
-
body: await
|
|
3886
|
+
body: await parseErrorBody(output.body, context),
|
|
3887
3887
|
};
|
|
3888
3888
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3889
3889
|
switch (errorCode) {
|
|
@@ -3932,7 +3932,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
3932
3932
|
const deserializeAws_restJson1ListTagsForResourceCommandError = 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_restJson1PurchaseOfferingCommand = deserializeAws_restJso
|
|
|
3975
3975
|
const deserializeAws_restJson1PurchaseOfferingCommandError = 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) {
|
|
@@ -4027,7 +4027,7 @@ exports.deserializeAws_restJson1RebootInputDeviceCommand = deserializeAws_restJs
|
|
|
4027
4027
|
const deserializeAws_restJson1RebootInputDeviceCommandError = async (output, context) => {
|
|
4028
4028
|
const parsedOutput = {
|
|
4029
4029
|
...output,
|
|
4030
|
-
body: await
|
|
4030
|
+
body: await parseErrorBody(output.body, context),
|
|
4031
4031
|
};
|
|
4032
4032
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4033
4033
|
switch (errorCode) {
|
|
@@ -4079,7 +4079,7 @@ exports.deserializeAws_restJson1RejectInputDeviceTransferCommand = deserializeAw
|
|
|
4079
4079
|
const deserializeAws_restJson1RejectInputDeviceTransferCommandError = async (output, context) => {
|
|
4080
4080
|
const parsedOutput = {
|
|
4081
4081
|
...output,
|
|
4082
|
-
body: await
|
|
4082
|
+
body: await parseErrorBody(output.body, context),
|
|
4083
4083
|
};
|
|
4084
4084
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4085
4085
|
switch (errorCode) {
|
|
@@ -4188,7 +4188,7 @@ exports.deserializeAws_restJson1StartChannelCommand = deserializeAws_restJson1St
|
|
|
4188
4188
|
const deserializeAws_restJson1StartChannelCommandError = async (output, context) => {
|
|
4189
4189
|
const parsedOutput = {
|
|
4190
4190
|
...output,
|
|
4191
|
-
body: await
|
|
4191
|
+
body: await parseErrorBody(output.body, context),
|
|
4192
4192
|
};
|
|
4193
4193
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4194
4194
|
switch (errorCode) {
|
|
@@ -4240,7 +4240,7 @@ exports.deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand = deser
|
|
|
4240
4240
|
const deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommandError = async (output, context) => {
|
|
4241
4241
|
const parsedOutput = {
|
|
4242
4242
|
...output,
|
|
4243
|
-
body: await
|
|
4243
|
+
body: await parseErrorBody(output.body, context),
|
|
4244
4244
|
};
|
|
4245
4245
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4246
4246
|
switch (errorCode) {
|
|
@@ -4322,7 +4322,7 @@ exports.deserializeAws_restJson1StartMultiplexCommand = deserializeAws_restJson1
|
|
|
4322
4322
|
const deserializeAws_restJson1StartMultiplexCommandError = async (output, context) => {
|
|
4323
4323
|
const parsedOutput = {
|
|
4324
4324
|
...output,
|
|
4325
|
-
body: await
|
|
4325
|
+
body: await parseErrorBody(output.body, context),
|
|
4326
4326
|
};
|
|
4327
4327
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4328
4328
|
switch (errorCode) {
|
|
@@ -4428,7 +4428,7 @@ exports.deserializeAws_restJson1StopChannelCommand = deserializeAws_restJson1Sto
|
|
|
4428
4428
|
const deserializeAws_restJson1StopChannelCommandError = async (output, context) => {
|
|
4429
4429
|
const parsedOutput = {
|
|
4430
4430
|
...output,
|
|
4431
|
-
body: await
|
|
4431
|
+
body: await parseErrorBody(output.body, context),
|
|
4432
4432
|
};
|
|
4433
4433
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4434
4434
|
switch (errorCode) {
|
|
@@ -4510,7 +4510,7 @@ exports.deserializeAws_restJson1StopMultiplexCommand = deserializeAws_restJson1S
|
|
|
4510
4510
|
const deserializeAws_restJson1StopMultiplexCommandError = async (output, context) => {
|
|
4511
4511
|
const parsedOutput = {
|
|
4512
4512
|
...output,
|
|
4513
|
-
body: await
|
|
4513
|
+
body: await parseErrorBody(output.body, context),
|
|
4514
4514
|
};
|
|
4515
4515
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4516
4516
|
switch (errorCode) {
|
|
@@ -4562,7 +4562,7 @@ exports.deserializeAws_restJson1TransferInputDeviceCommand = deserializeAws_rest
|
|
|
4562
4562
|
const deserializeAws_restJson1TransferInputDeviceCommandError = async (output, context) => {
|
|
4563
4563
|
const parsedOutput = {
|
|
4564
4564
|
...output,
|
|
4565
|
-
body: await
|
|
4565
|
+
body: await parseErrorBody(output.body, context),
|
|
4566
4566
|
};
|
|
4567
4567
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4568
4568
|
switch (errorCode) {
|
|
@@ -4620,7 +4620,7 @@ exports.deserializeAws_restJson1UpdateChannelCommand = deserializeAws_restJson1U
|
|
|
4620
4620
|
const deserializeAws_restJson1UpdateChannelCommandError = async (output, context) => {
|
|
4621
4621
|
const parsedOutput = {
|
|
4622
4622
|
...output,
|
|
4623
|
-
body: await
|
|
4623
|
+
body: await parseErrorBody(output.body, context),
|
|
4624
4624
|
};
|
|
4625
4625
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4626
4626
|
switch (errorCode) {
|
|
@@ -4672,7 +4672,7 @@ exports.deserializeAws_restJson1UpdateChannelClassCommand = deserializeAws_restJ
|
|
|
4672
4672
|
const deserializeAws_restJson1UpdateChannelClassCommandError = async (output, context) => {
|
|
4673
4673
|
const parsedOutput = {
|
|
4674
4674
|
...output,
|
|
4675
|
-
body: await
|
|
4675
|
+
body: await parseErrorBody(output.body, context),
|
|
4676
4676
|
};
|
|
4677
4677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4678
4678
|
switch (errorCode) {
|
|
@@ -4730,7 +4730,7 @@ exports.deserializeAws_restJson1UpdateInputCommand = deserializeAws_restJson1Upd
|
|
|
4730
4730
|
const deserializeAws_restJson1UpdateInputCommandError = async (output, context) => {
|
|
4731
4731
|
const parsedOutput = {
|
|
4732
4732
|
...output,
|
|
4733
|
-
body: await
|
|
4733
|
+
body: await parseErrorBody(output.body, context),
|
|
4734
4734
|
};
|
|
4735
4735
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4736
4736
|
switch (errorCode) {
|
|
@@ -4815,7 +4815,7 @@ exports.deserializeAws_restJson1UpdateInputDeviceCommand = deserializeAws_restJs
|
|
|
4815
4815
|
const deserializeAws_restJson1UpdateInputDeviceCommandError = async (output, context) => {
|
|
4816
4816
|
const parsedOutput = {
|
|
4817
4817
|
...output,
|
|
4818
|
-
body: await
|
|
4818
|
+
body: await parseErrorBody(output.body, context),
|
|
4819
4819
|
};
|
|
4820
4820
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4821
4821
|
switch (errorCode) {
|
|
@@ -4870,7 +4870,7 @@ exports.deserializeAws_restJson1UpdateInputSecurityGroupCommand = deserializeAws
|
|
|
4870
4870
|
const deserializeAws_restJson1UpdateInputSecurityGroupCommandError = async (output, context) => {
|
|
4871
4871
|
const parsedOutput = {
|
|
4872
4872
|
...output,
|
|
4873
|
-
body: await
|
|
4873
|
+
body: await parseErrorBody(output.body, context),
|
|
4874
4874
|
};
|
|
4875
4875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4876
4876
|
switch (errorCode) {
|
|
@@ -4922,7 +4922,7 @@ exports.deserializeAws_restJson1UpdateMultiplexCommand = deserializeAws_restJson
|
|
|
4922
4922
|
const deserializeAws_restJson1UpdateMultiplexCommandError = async (output, context) => {
|
|
4923
4923
|
const parsedOutput = {
|
|
4924
4924
|
...output,
|
|
4925
|
-
body: await
|
|
4925
|
+
body: await parseErrorBody(output.body, context),
|
|
4926
4926
|
};
|
|
4927
4927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4928
4928
|
switch (errorCode) {
|
|
@@ -4977,7 +4977,7 @@ exports.deserializeAws_restJson1UpdateMultiplexProgramCommand = deserializeAws_r
|
|
|
4977
4977
|
const deserializeAws_restJson1UpdateMultiplexProgramCommandError = async (output, context) => {
|
|
4978
4978
|
const parsedOutput = {
|
|
4979
4979
|
...output,
|
|
4980
|
-
body: await
|
|
4980
|
+
body: await parseErrorBody(output.body, context),
|
|
4981
4981
|
};
|
|
4982
4982
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4983
4983
|
switch (errorCode) {
|
|
@@ -5032,7 +5032,7 @@ exports.deserializeAws_restJson1UpdateReservationCommand = deserializeAws_restJs
|
|
|
5032
5032
|
const deserializeAws_restJson1UpdateReservationCommandError = async (output, context) => {
|
|
5033
5033
|
const parsedOutput = {
|
|
5034
5034
|
...output,
|
|
5035
|
-
body: await
|
|
5035
|
+
body: await parseErrorBody(output.body, context),
|
|
5036
5036
|
};
|
|
5037
5037
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5038
5038
|
switch (errorCode) {
|
|
@@ -10065,6 +10065,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
10065
10065
|
}
|
|
10066
10066
|
return {};
|
|
10067
10067
|
});
|
|
10068
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
10069
|
+
var _a;
|
|
10070
|
+
const value = await parseBody(errorBody, context);
|
|
10071
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
10072
|
+
return value;
|
|
10073
|
+
};
|
|
10068
10074
|
const loadRestJsonErrorCode = (output, data) => {
|
|
10069
10075
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
10070
10076
|
const sanitizeErrorCode = (rawValue) => {
|