@aws-sdk/client-chime-sdk-media-pipelines 3.504.0 → 3.509.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/dist-cjs/index.js +61 -1207
- package/dist-es/protocols/Aws_restJson1.js +54 -1200
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1501,7 +1501,7 @@ var se_UpdateMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name
|
|
|
1501
1501
|
}, "se_UpdateMediaPipelineKinesisVideoStreamPoolCommand");
|
|
1502
1502
|
var de_CreateMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1503
1503
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1504
|
-
return
|
|
1504
|
+
return de_CommandError(output, context);
|
|
1505
1505
|
}
|
|
1506
1506
|
const contents = (0, import_smithy_client.map)({
|
|
1507
1507
|
$metadata: deserializeMetadata(output)
|
|
@@ -1513,46 +1513,9 @@ var de_CreateMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1513
1513
|
Object.assign(contents, doc);
|
|
1514
1514
|
return contents;
|
|
1515
1515
|
}, "de_CreateMediaCapturePipelineCommand");
|
|
1516
|
-
var de_CreateMediaCapturePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
-
const parsedOutput = {
|
|
1518
|
-
...output,
|
|
1519
|
-
body: await parseErrorBody(output.body, context)
|
|
1520
|
-
};
|
|
1521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
-
switch (errorCode) {
|
|
1523
|
-
case "BadRequestException":
|
|
1524
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1525
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "ForbiddenException":
|
|
1527
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1528
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "ResourceLimitExceededException":
|
|
1530
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1531
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "ServiceFailureException":
|
|
1533
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1534
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "ServiceUnavailableException":
|
|
1536
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1537
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1538
|
-
case "ThrottledClientException":
|
|
1539
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1540
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1541
|
-
case "UnauthorizedClientException":
|
|
1542
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1543
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1544
|
-
default:
|
|
1545
|
-
const parsedBody = parsedOutput.body;
|
|
1546
|
-
return throwDefaultError({
|
|
1547
|
-
output,
|
|
1548
|
-
parsedBody,
|
|
1549
|
-
errorCode
|
|
1550
|
-
});
|
|
1551
|
-
}
|
|
1552
|
-
}, "de_CreateMediaCapturePipelineCommandError");
|
|
1553
1516
|
var de_CreateMediaConcatenationPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1554
1517
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1555
|
-
return
|
|
1518
|
+
return de_CommandError(output, context);
|
|
1556
1519
|
}
|
|
1557
1520
|
const contents = (0, import_smithy_client.map)({
|
|
1558
1521
|
$metadata: deserializeMetadata(output)
|
|
@@ -1564,46 +1527,9 @@ var de_CreateMediaConcatenationPipelineCommand = /* @__PURE__ */ __name(async (o
|
|
|
1564
1527
|
Object.assign(contents, doc);
|
|
1565
1528
|
return contents;
|
|
1566
1529
|
}, "de_CreateMediaConcatenationPipelineCommand");
|
|
1567
|
-
var de_CreateMediaConcatenationPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1568
|
-
const parsedOutput = {
|
|
1569
|
-
...output,
|
|
1570
|
-
body: await parseErrorBody(output.body, context)
|
|
1571
|
-
};
|
|
1572
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1573
|
-
switch (errorCode) {
|
|
1574
|
-
case "BadRequestException":
|
|
1575
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1576
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1577
|
-
case "ForbiddenException":
|
|
1578
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1579
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1580
|
-
case "ResourceLimitExceededException":
|
|
1581
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1582
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1583
|
-
case "ServiceFailureException":
|
|
1584
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1585
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1586
|
-
case "ServiceUnavailableException":
|
|
1587
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1588
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "ThrottledClientException":
|
|
1590
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1591
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1592
|
-
case "UnauthorizedClientException":
|
|
1593
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1594
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1595
|
-
default:
|
|
1596
|
-
const parsedBody = parsedOutput.body;
|
|
1597
|
-
return throwDefaultError({
|
|
1598
|
-
output,
|
|
1599
|
-
parsedBody,
|
|
1600
|
-
errorCode
|
|
1601
|
-
});
|
|
1602
|
-
}
|
|
1603
|
-
}, "de_CreateMediaConcatenationPipelineCommandError");
|
|
1604
1530
|
var de_CreateMediaInsightsPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
1531
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1606
|
-
return
|
|
1532
|
+
return de_CommandError(output, context);
|
|
1607
1533
|
}
|
|
1608
1534
|
const contents = (0, import_smithy_client.map)({
|
|
1609
1535
|
$metadata: deserializeMetadata(output)
|
|
@@ -1615,49 +1541,9 @@ var de_CreateMediaInsightsPipelineCommand = /* @__PURE__ */ __name(async (output
|
|
|
1615
1541
|
Object.assign(contents, doc);
|
|
1616
1542
|
return contents;
|
|
1617
1543
|
}, "de_CreateMediaInsightsPipelineCommand");
|
|
1618
|
-
var de_CreateMediaInsightsPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1619
|
-
const parsedOutput = {
|
|
1620
|
-
...output,
|
|
1621
|
-
body: await parseErrorBody(output.body, context)
|
|
1622
|
-
};
|
|
1623
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1624
|
-
switch (errorCode) {
|
|
1625
|
-
case "BadRequestException":
|
|
1626
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1627
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1628
|
-
case "ForbiddenException":
|
|
1629
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1630
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1631
|
-
case "NotFoundException":
|
|
1632
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1633
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1634
|
-
case "ResourceLimitExceededException":
|
|
1635
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1636
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1637
|
-
case "ServiceFailureException":
|
|
1638
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1639
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1640
|
-
case "ServiceUnavailableException":
|
|
1641
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1642
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1643
|
-
case "ThrottledClientException":
|
|
1644
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1645
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1646
|
-
case "UnauthorizedClientException":
|
|
1647
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1648
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1649
|
-
default:
|
|
1650
|
-
const parsedBody = parsedOutput.body;
|
|
1651
|
-
return throwDefaultError({
|
|
1652
|
-
output,
|
|
1653
|
-
parsedBody,
|
|
1654
|
-
errorCode
|
|
1655
|
-
});
|
|
1656
|
-
}
|
|
1657
|
-
}, "de_CreateMediaInsightsPipelineCommandError");
|
|
1658
1544
|
var de_CreateMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1659
1545
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1660
|
-
return
|
|
1546
|
+
return de_CommandError(output, context);
|
|
1661
1547
|
}
|
|
1662
1548
|
const contents = (0, import_smithy_client.map)({
|
|
1663
1549
|
$metadata: deserializeMetadata(output)
|
|
@@ -1669,49 +1555,9 @@ var de_CreateMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(
|
|
|
1669
1555
|
Object.assign(contents, doc);
|
|
1670
1556
|
return contents;
|
|
1671
1557
|
}, "de_CreateMediaInsightsPipelineConfigurationCommand");
|
|
1672
|
-
var de_CreateMediaInsightsPipelineConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1673
|
-
const parsedOutput = {
|
|
1674
|
-
...output,
|
|
1675
|
-
body: await parseErrorBody(output.body, context)
|
|
1676
|
-
};
|
|
1677
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1678
|
-
switch (errorCode) {
|
|
1679
|
-
case "BadRequestException":
|
|
1680
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1681
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1682
|
-
case "ForbiddenException":
|
|
1683
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1684
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1685
|
-
case "NotFoundException":
|
|
1686
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1687
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1688
|
-
case "ResourceLimitExceededException":
|
|
1689
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1690
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1691
|
-
case "ServiceFailureException":
|
|
1692
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1693
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1694
|
-
case "ServiceUnavailableException":
|
|
1695
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1696
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1697
|
-
case "ThrottledClientException":
|
|
1698
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1699
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1700
|
-
case "UnauthorizedClientException":
|
|
1701
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1702
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1703
|
-
default:
|
|
1704
|
-
const parsedBody = parsedOutput.body;
|
|
1705
|
-
return throwDefaultError({
|
|
1706
|
-
output,
|
|
1707
|
-
parsedBody,
|
|
1708
|
-
errorCode
|
|
1709
|
-
});
|
|
1710
|
-
}
|
|
1711
|
-
}, "de_CreateMediaInsightsPipelineConfigurationCommandError");
|
|
1712
1558
|
var de_CreateMediaLiveConnectorPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1713
1559
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1714
|
-
return
|
|
1560
|
+
return de_CommandError(output, context);
|
|
1715
1561
|
}
|
|
1716
1562
|
const contents = (0, import_smithy_client.map)({
|
|
1717
1563
|
$metadata: deserializeMetadata(output)
|
|
@@ -1723,46 +1569,9 @@ var de_CreateMediaLiveConnectorPipelineCommand = /* @__PURE__ */ __name(async (o
|
|
|
1723
1569
|
Object.assign(contents, doc);
|
|
1724
1570
|
return contents;
|
|
1725
1571
|
}, "de_CreateMediaLiveConnectorPipelineCommand");
|
|
1726
|
-
var de_CreateMediaLiveConnectorPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1727
|
-
const parsedOutput = {
|
|
1728
|
-
...output,
|
|
1729
|
-
body: await parseErrorBody(output.body, context)
|
|
1730
|
-
};
|
|
1731
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1732
|
-
switch (errorCode) {
|
|
1733
|
-
case "BadRequestException":
|
|
1734
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1735
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1736
|
-
case "ForbiddenException":
|
|
1737
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1738
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "ResourceLimitExceededException":
|
|
1740
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1741
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1742
|
-
case "ServiceFailureException":
|
|
1743
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1744
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1745
|
-
case "ServiceUnavailableException":
|
|
1746
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1747
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1748
|
-
case "ThrottledClientException":
|
|
1749
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1750
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1751
|
-
case "UnauthorizedClientException":
|
|
1752
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1753
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1754
|
-
default:
|
|
1755
|
-
const parsedBody = parsedOutput.body;
|
|
1756
|
-
return throwDefaultError({
|
|
1757
|
-
output,
|
|
1758
|
-
parsedBody,
|
|
1759
|
-
errorCode
|
|
1760
|
-
});
|
|
1761
|
-
}
|
|
1762
|
-
}, "de_CreateMediaLiveConnectorPipelineCommandError");
|
|
1763
1572
|
var de_CreateMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1764
1573
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1765
|
-
return
|
|
1574
|
+
return de_CommandError(output, context);
|
|
1766
1575
|
}
|
|
1767
1576
|
const contents = (0, import_smithy_client.map)({
|
|
1768
1577
|
$metadata: deserializeMetadata(output)
|
|
@@ -1774,49 +1583,9 @@ var de_CreateMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name
|
|
|
1774
1583
|
Object.assign(contents, doc);
|
|
1775
1584
|
return contents;
|
|
1776
1585
|
}, "de_CreateMediaPipelineKinesisVideoStreamPoolCommand");
|
|
1777
|
-
var de_CreateMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1778
|
-
const parsedOutput = {
|
|
1779
|
-
...output,
|
|
1780
|
-
body: await parseErrorBody(output.body, context)
|
|
1781
|
-
};
|
|
1782
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1783
|
-
switch (errorCode) {
|
|
1784
|
-
case "BadRequestException":
|
|
1785
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1786
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1787
|
-
case "ConflictException":
|
|
1788
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1789
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1790
|
-
case "ForbiddenException":
|
|
1791
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1792
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1793
|
-
case "ResourceLimitExceededException":
|
|
1794
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1795
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1796
|
-
case "ServiceFailureException":
|
|
1797
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1798
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1799
|
-
case "ServiceUnavailableException":
|
|
1800
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1801
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1802
|
-
case "ThrottledClientException":
|
|
1803
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1804
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1805
|
-
case "UnauthorizedClientException":
|
|
1806
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1807
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1808
|
-
default:
|
|
1809
|
-
const parsedBody = parsedOutput.body;
|
|
1810
|
-
return throwDefaultError({
|
|
1811
|
-
output,
|
|
1812
|
-
parsedBody,
|
|
1813
|
-
errorCode
|
|
1814
|
-
});
|
|
1815
|
-
}
|
|
1816
|
-
}, "de_CreateMediaPipelineKinesisVideoStreamPoolCommandError");
|
|
1817
1586
|
var de_CreateMediaStreamPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1818
1587
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1819
|
-
return
|
|
1588
|
+
return de_CommandError(output, context);
|
|
1820
1589
|
}
|
|
1821
1590
|
const contents = (0, import_smithy_client.map)({
|
|
1822
1591
|
$metadata: deserializeMetadata(output)
|
|
@@ -1828,49 +1597,9 @@ var de_CreateMediaStreamPipelineCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1828
1597
|
Object.assign(contents, doc);
|
|
1829
1598
|
return contents;
|
|
1830
1599
|
}, "de_CreateMediaStreamPipelineCommand");
|
|
1831
|
-
var de_CreateMediaStreamPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1832
|
-
const parsedOutput = {
|
|
1833
|
-
...output,
|
|
1834
|
-
body: await parseErrorBody(output.body, context)
|
|
1835
|
-
};
|
|
1836
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1837
|
-
switch (errorCode) {
|
|
1838
|
-
case "BadRequestException":
|
|
1839
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1840
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1841
|
-
case "ForbiddenException":
|
|
1842
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1843
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1844
|
-
case "NotFoundException":
|
|
1845
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1846
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1847
|
-
case "ResourceLimitExceededException":
|
|
1848
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1849
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1850
|
-
case "ServiceFailureException":
|
|
1851
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1852
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1853
|
-
case "ServiceUnavailableException":
|
|
1854
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1855
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1856
|
-
case "ThrottledClientException":
|
|
1857
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1858
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1859
|
-
case "UnauthorizedClientException":
|
|
1860
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1861
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1862
|
-
default:
|
|
1863
|
-
const parsedBody = parsedOutput.body;
|
|
1864
|
-
return throwDefaultError({
|
|
1865
|
-
output,
|
|
1866
|
-
parsedBody,
|
|
1867
|
-
errorCode
|
|
1868
|
-
});
|
|
1869
|
-
}
|
|
1870
|
-
}, "de_CreateMediaStreamPipelineCommandError");
|
|
1871
1600
|
var de_DeleteMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1872
1601
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1873
|
-
return
|
|
1602
|
+
return de_CommandError(output, context);
|
|
1874
1603
|
}
|
|
1875
1604
|
const contents = (0, import_smithy_client.map)({
|
|
1876
1605
|
$metadata: deserializeMetadata(output)
|
|
@@ -1878,46 +1607,9 @@ var de_DeleteMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1878
1607
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1879
1608
|
return contents;
|
|
1880
1609
|
}, "de_DeleteMediaCapturePipelineCommand");
|
|
1881
|
-
var de_DeleteMediaCapturePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1882
|
-
const parsedOutput = {
|
|
1883
|
-
...output,
|
|
1884
|
-
body: await parseErrorBody(output.body, context)
|
|
1885
|
-
};
|
|
1886
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1887
|
-
switch (errorCode) {
|
|
1888
|
-
case "BadRequestException":
|
|
1889
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1890
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1891
|
-
case "ForbiddenException":
|
|
1892
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1893
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1894
|
-
case "NotFoundException":
|
|
1895
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1896
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1897
|
-
case "ServiceFailureException":
|
|
1898
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1899
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1900
|
-
case "ServiceUnavailableException":
|
|
1901
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1902
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1903
|
-
case "ThrottledClientException":
|
|
1904
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1905
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1906
|
-
case "UnauthorizedClientException":
|
|
1907
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1908
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1909
|
-
default:
|
|
1910
|
-
const parsedBody = parsedOutput.body;
|
|
1911
|
-
return throwDefaultError({
|
|
1912
|
-
output,
|
|
1913
|
-
parsedBody,
|
|
1914
|
-
errorCode
|
|
1915
|
-
});
|
|
1916
|
-
}
|
|
1917
|
-
}, "de_DeleteMediaCapturePipelineCommandError");
|
|
1918
1610
|
var de_DeleteMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1919
1611
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1920
|
-
return
|
|
1612
|
+
return de_CommandError(output, context);
|
|
1921
1613
|
}
|
|
1922
1614
|
const contents = (0, import_smithy_client.map)({
|
|
1923
1615
|
$metadata: deserializeMetadata(output)
|
|
@@ -1925,49 +1617,9 @@ var de_DeleteMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(
|
|
|
1925
1617
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1926
1618
|
return contents;
|
|
1927
1619
|
}, "de_DeleteMediaInsightsPipelineConfigurationCommand");
|
|
1928
|
-
var de_DeleteMediaInsightsPipelineConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1929
|
-
const parsedOutput = {
|
|
1930
|
-
...output,
|
|
1931
|
-
body: await parseErrorBody(output.body, context)
|
|
1932
|
-
};
|
|
1933
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1934
|
-
switch (errorCode) {
|
|
1935
|
-
case "BadRequestException":
|
|
1936
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1937
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1938
|
-
case "ConflictException":
|
|
1939
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1940
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1941
|
-
case "ForbiddenException":
|
|
1942
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1943
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1944
|
-
case "NotFoundException":
|
|
1945
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1946
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1947
|
-
case "ServiceFailureException":
|
|
1948
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1949
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1950
|
-
case "ServiceUnavailableException":
|
|
1951
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1952
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1953
|
-
case "ThrottledClientException":
|
|
1954
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1955
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1956
|
-
case "UnauthorizedClientException":
|
|
1957
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1958
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1959
|
-
default:
|
|
1960
|
-
const parsedBody = parsedOutput.body;
|
|
1961
|
-
return throwDefaultError({
|
|
1962
|
-
output,
|
|
1963
|
-
parsedBody,
|
|
1964
|
-
errorCode
|
|
1965
|
-
});
|
|
1966
|
-
}
|
|
1967
|
-
}, "de_DeleteMediaInsightsPipelineConfigurationCommandError");
|
|
1968
1620
|
var de_DeleteMediaPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1969
1621
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1970
|
-
return
|
|
1622
|
+
return de_CommandError(output, context);
|
|
1971
1623
|
}
|
|
1972
1624
|
const contents = (0, import_smithy_client.map)({
|
|
1973
1625
|
$metadata: deserializeMetadata(output)
|
|
@@ -1975,49 +1627,9 @@ var de_DeleteMediaPipelineCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1975
1627
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1976
1628
|
return contents;
|
|
1977
1629
|
}, "de_DeleteMediaPipelineCommand");
|
|
1978
|
-
var de_DeleteMediaPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1979
|
-
const parsedOutput = {
|
|
1980
|
-
...output,
|
|
1981
|
-
body: await parseErrorBody(output.body, context)
|
|
1982
|
-
};
|
|
1983
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
|
-
switch (errorCode) {
|
|
1985
|
-
case "BadRequestException":
|
|
1986
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1987
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1988
|
-
case "ConflictException":
|
|
1989
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1990
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1991
|
-
case "ForbiddenException":
|
|
1992
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1993
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1994
|
-
case "NotFoundException":
|
|
1995
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1996
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1997
|
-
case "ServiceFailureException":
|
|
1998
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1999
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2000
|
-
case "ServiceUnavailableException":
|
|
2001
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2002
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2003
|
-
case "ThrottledClientException":
|
|
2004
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2005
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2006
|
-
case "UnauthorizedClientException":
|
|
2007
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2008
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2009
|
-
default:
|
|
2010
|
-
const parsedBody = parsedOutput.body;
|
|
2011
|
-
return throwDefaultError({
|
|
2012
|
-
output,
|
|
2013
|
-
parsedBody,
|
|
2014
|
-
errorCode
|
|
2015
|
-
});
|
|
2016
|
-
}
|
|
2017
|
-
}, "de_DeleteMediaPipelineCommandError");
|
|
2018
1630
|
var de_DeleteMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2019
1631
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2020
|
-
return
|
|
1632
|
+
return de_CommandError(output, context);
|
|
2021
1633
|
}
|
|
2022
1634
|
const contents = (0, import_smithy_client.map)({
|
|
2023
1635
|
$metadata: deserializeMetadata(output)
|
|
@@ -2025,49 +1637,9 @@ var de_DeleteMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name
|
|
|
2025
1637
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2026
1638
|
return contents;
|
|
2027
1639
|
}, "de_DeleteMediaPipelineKinesisVideoStreamPoolCommand");
|
|
2028
|
-
var de_DeleteMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2029
|
-
const parsedOutput = {
|
|
2030
|
-
...output,
|
|
2031
|
-
body: await parseErrorBody(output.body, context)
|
|
2032
|
-
};
|
|
2033
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2034
|
-
switch (errorCode) {
|
|
2035
|
-
case "BadRequestException":
|
|
2036
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2037
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2038
|
-
case "ConflictException":
|
|
2039
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2040
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2041
|
-
case "ForbiddenException":
|
|
2042
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2043
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2044
|
-
case "NotFoundException":
|
|
2045
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2046
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2047
|
-
case "ServiceFailureException":
|
|
2048
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2049
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2050
|
-
case "ServiceUnavailableException":
|
|
2051
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2052
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2053
|
-
case "ThrottledClientException":
|
|
2054
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2055
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2056
|
-
case "UnauthorizedClientException":
|
|
2057
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2058
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2059
|
-
default:
|
|
2060
|
-
const parsedBody = parsedOutput.body;
|
|
2061
|
-
return throwDefaultError({
|
|
2062
|
-
output,
|
|
2063
|
-
parsedBody,
|
|
2064
|
-
errorCode
|
|
2065
|
-
});
|
|
2066
|
-
}
|
|
2067
|
-
}, "de_DeleteMediaPipelineKinesisVideoStreamPoolCommandError");
|
|
2068
1640
|
var de_GetMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2069
1641
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2070
|
-
return
|
|
1642
|
+
return de_CommandError(output, context);
|
|
2071
1643
|
}
|
|
2072
1644
|
const contents = (0, import_smithy_client.map)({
|
|
2073
1645
|
$metadata: deserializeMetadata(output)
|
|
@@ -2079,46 +1651,9 @@ var de_GetMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2079
1651
|
Object.assign(contents, doc);
|
|
2080
1652
|
return contents;
|
|
2081
1653
|
}, "de_GetMediaCapturePipelineCommand");
|
|
2082
|
-
var de_GetMediaCapturePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2083
|
-
const parsedOutput = {
|
|
2084
|
-
...output,
|
|
2085
|
-
body: await parseErrorBody(output.body, context)
|
|
2086
|
-
};
|
|
2087
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2088
|
-
switch (errorCode) {
|
|
2089
|
-
case "BadRequestException":
|
|
2090
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2091
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2092
|
-
case "ForbiddenException":
|
|
2093
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2094
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2095
|
-
case "NotFoundException":
|
|
2096
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2097
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2098
|
-
case "ServiceFailureException":
|
|
2099
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2100
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2101
|
-
case "ServiceUnavailableException":
|
|
2102
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2103
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2104
|
-
case "ThrottledClientException":
|
|
2105
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2106
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2107
|
-
case "UnauthorizedClientException":
|
|
2108
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2109
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2110
|
-
default:
|
|
2111
|
-
const parsedBody = parsedOutput.body;
|
|
2112
|
-
return throwDefaultError({
|
|
2113
|
-
output,
|
|
2114
|
-
parsedBody,
|
|
2115
|
-
errorCode
|
|
2116
|
-
});
|
|
2117
|
-
}
|
|
2118
|
-
}, "de_GetMediaCapturePipelineCommandError");
|
|
2119
1654
|
var de_GetMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2120
1655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2121
|
-
return
|
|
1656
|
+
return de_CommandError(output, context);
|
|
2122
1657
|
}
|
|
2123
1658
|
const contents = (0, import_smithy_client.map)({
|
|
2124
1659
|
$metadata: deserializeMetadata(output)
|
|
@@ -2130,46 +1665,9 @@ var de_GetMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
2130
1665
|
Object.assign(contents, doc);
|
|
2131
1666
|
return contents;
|
|
2132
1667
|
}, "de_GetMediaInsightsPipelineConfigurationCommand");
|
|
2133
|
-
var de_GetMediaInsightsPipelineConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2134
|
-
const parsedOutput = {
|
|
2135
|
-
...output,
|
|
2136
|
-
body: await parseErrorBody(output.body, context)
|
|
2137
|
-
};
|
|
2138
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2139
|
-
switch (errorCode) {
|
|
2140
|
-
case "BadRequestException":
|
|
2141
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2142
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2143
|
-
case "ForbiddenException":
|
|
2144
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2145
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2146
|
-
case "NotFoundException":
|
|
2147
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2148
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2149
|
-
case "ServiceFailureException":
|
|
2150
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2151
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2152
|
-
case "ServiceUnavailableException":
|
|
2153
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2154
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2155
|
-
case "ThrottledClientException":
|
|
2156
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2157
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2158
|
-
case "UnauthorizedClientException":
|
|
2159
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2160
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2161
|
-
default:
|
|
2162
|
-
const parsedBody = parsedOutput.body;
|
|
2163
|
-
return throwDefaultError({
|
|
2164
|
-
output,
|
|
2165
|
-
parsedBody,
|
|
2166
|
-
errorCode
|
|
2167
|
-
});
|
|
2168
|
-
}
|
|
2169
|
-
}, "de_GetMediaInsightsPipelineConfigurationCommandError");
|
|
2170
1668
|
var de_GetMediaPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2171
1669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2172
|
-
return
|
|
1670
|
+
return de_CommandError(output, context);
|
|
2173
1671
|
}
|
|
2174
1672
|
const contents = (0, import_smithy_client.map)({
|
|
2175
1673
|
$metadata: deserializeMetadata(output)
|
|
@@ -2181,46 +1679,9 @@ var de_GetMediaPipelineCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2181
1679
|
Object.assign(contents, doc);
|
|
2182
1680
|
return contents;
|
|
2183
1681
|
}, "de_GetMediaPipelineCommand");
|
|
2184
|
-
var de_GetMediaPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2185
|
-
const parsedOutput = {
|
|
2186
|
-
...output,
|
|
2187
|
-
body: await parseErrorBody(output.body, context)
|
|
2188
|
-
};
|
|
2189
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2190
|
-
switch (errorCode) {
|
|
2191
|
-
case "BadRequestException":
|
|
2192
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2193
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2194
|
-
case "ForbiddenException":
|
|
2195
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2196
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2197
|
-
case "NotFoundException":
|
|
2198
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2199
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2200
|
-
case "ServiceFailureException":
|
|
2201
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2202
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2203
|
-
case "ServiceUnavailableException":
|
|
2204
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2205
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2206
|
-
case "ThrottledClientException":
|
|
2207
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2208
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2209
|
-
case "UnauthorizedClientException":
|
|
2210
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2211
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2212
|
-
default:
|
|
2213
|
-
const parsedBody = parsedOutput.body;
|
|
2214
|
-
return throwDefaultError({
|
|
2215
|
-
output,
|
|
2216
|
-
parsedBody,
|
|
2217
|
-
errorCode
|
|
2218
|
-
});
|
|
2219
|
-
}
|
|
2220
|
-
}, "de_GetMediaPipelineCommandError");
|
|
2221
1682
|
var de_GetMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2222
1683
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2223
|
-
return
|
|
1684
|
+
return de_CommandError(output, context);
|
|
2224
1685
|
}
|
|
2225
1686
|
const contents = (0, import_smithy_client.map)({
|
|
2226
1687
|
$metadata: deserializeMetadata(output)
|
|
@@ -2232,46 +1693,9 @@ var de_GetMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name(as
|
|
|
2232
1693
|
Object.assign(contents, doc);
|
|
2233
1694
|
return contents;
|
|
2234
1695
|
}, "de_GetMediaPipelineKinesisVideoStreamPoolCommand");
|
|
2235
|
-
var de_GetMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2236
|
-
const parsedOutput = {
|
|
2237
|
-
...output,
|
|
2238
|
-
body: await parseErrorBody(output.body, context)
|
|
2239
|
-
};
|
|
2240
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2241
|
-
switch (errorCode) {
|
|
2242
|
-
case "BadRequestException":
|
|
2243
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2244
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2245
|
-
case "ForbiddenException":
|
|
2246
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2247
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2248
|
-
case "NotFoundException":
|
|
2249
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2250
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2251
|
-
case "ServiceFailureException":
|
|
2252
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2253
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2254
|
-
case "ServiceUnavailableException":
|
|
2255
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2256
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2257
|
-
case "ThrottledClientException":
|
|
2258
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2259
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2260
|
-
case "UnauthorizedClientException":
|
|
2261
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2262
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2263
|
-
default:
|
|
2264
|
-
const parsedBody = parsedOutput.body;
|
|
2265
|
-
return throwDefaultError({
|
|
2266
|
-
output,
|
|
2267
|
-
parsedBody,
|
|
2268
|
-
errorCode
|
|
2269
|
-
});
|
|
2270
|
-
}
|
|
2271
|
-
}, "de_GetMediaPipelineKinesisVideoStreamPoolCommandError");
|
|
2272
1696
|
var de_GetSpeakerSearchTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2273
1697
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2274
|
-
return
|
|
1698
|
+
return de_CommandError(output, context);
|
|
2275
1699
|
}
|
|
2276
1700
|
const contents = (0, import_smithy_client.map)({
|
|
2277
1701
|
$metadata: deserializeMetadata(output)
|
|
@@ -2283,46 +1707,9 @@ var de_GetSpeakerSearchTaskCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2283
1707
|
Object.assign(contents, doc);
|
|
2284
1708
|
return contents;
|
|
2285
1709
|
}, "de_GetSpeakerSearchTaskCommand");
|
|
2286
|
-
var de_GetSpeakerSearchTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2287
|
-
const parsedOutput = {
|
|
2288
|
-
...output,
|
|
2289
|
-
body: await parseErrorBody(output.body, context)
|
|
2290
|
-
};
|
|
2291
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2292
|
-
switch (errorCode) {
|
|
2293
|
-
case "BadRequestException":
|
|
2294
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2295
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2296
|
-
case "ForbiddenException":
|
|
2297
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2298
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2299
|
-
case "NotFoundException":
|
|
2300
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2301
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2302
|
-
case "ServiceFailureException":
|
|
2303
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2304
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2305
|
-
case "ServiceUnavailableException":
|
|
2306
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2307
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2308
|
-
case "ThrottledClientException":
|
|
2309
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2310
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2311
|
-
case "UnauthorizedClientException":
|
|
2312
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2313
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2314
|
-
default:
|
|
2315
|
-
const parsedBody = parsedOutput.body;
|
|
2316
|
-
return throwDefaultError({
|
|
2317
|
-
output,
|
|
2318
|
-
parsedBody,
|
|
2319
|
-
errorCode
|
|
2320
|
-
});
|
|
2321
|
-
}
|
|
2322
|
-
}, "de_GetSpeakerSearchTaskCommandError");
|
|
2323
1710
|
var de_GetVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2324
1711
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2325
|
-
return
|
|
1712
|
+
return de_CommandError(output, context);
|
|
2326
1713
|
}
|
|
2327
1714
|
const contents = (0, import_smithy_client.map)({
|
|
2328
1715
|
$metadata: deserializeMetadata(output)
|
|
@@ -2334,46 +1721,9 @@ var de_GetVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2334
1721
|
Object.assign(contents, doc);
|
|
2335
1722
|
return contents;
|
|
2336
1723
|
}, "de_GetVoiceToneAnalysisTaskCommand");
|
|
2337
|
-
var de_GetVoiceToneAnalysisTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2338
|
-
const parsedOutput = {
|
|
2339
|
-
...output,
|
|
2340
|
-
body: await parseErrorBody(output.body, context)
|
|
2341
|
-
};
|
|
2342
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2343
|
-
switch (errorCode) {
|
|
2344
|
-
case "BadRequestException":
|
|
2345
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2346
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2347
|
-
case "ForbiddenException":
|
|
2348
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2349
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2350
|
-
case "NotFoundException":
|
|
2351
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2352
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2353
|
-
case "ServiceFailureException":
|
|
2354
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2355
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2356
|
-
case "ServiceUnavailableException":
|
|
2357
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2358
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2359
|
-
case "ThrottledClientException":
|
|
2360
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2361
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2362
|
-
case "UnauthorizedClientException":
|
|
2363
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2364
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2365
|
-
default:
|
|
2366
|
-
const parsedBody = parsedOutput.body;
|
|
2367
|
-
return throwDefaultError({
|
|
2368
|
-
output,
|
|
2369
|
-
parsedBody,
|
|
2370
|
-
errorCode
|
|
2371
|
-
});
|
|
2372
|
-
}
|
|
2373
|
-
}, "de_GetVoiceToneAnalysisTaskCommandError");
|
|
2374
1724
|
var de_ListMediaCapturePipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2375
1725
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2376
|
-
return
|
|
1726
|
+
return de_CommandError(output, context);
|
|
2377
1727
|
}
|
|
2378
1728
|
const contents = (0, import_smithy_client.map)({
|
|
2379
1729
|
$metadata: deserializeMetadata(output)
|
|
@@ -2386,46 +1736,9 @@ var de_ListMediaCapturePipelinesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2386
1736
|
Object.assign(contents, doc);
|
|
2387
1737
|
return contents;
|
|
2388
1738
|
}, "de_ListMediaCapturePipelinesCommand");
|
|
2389
|
-
var de_ListMediaCapturePipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2390
|
-
const parsedOutput = {
|
|
2391
|
-
...output,
|
|
2392
|
-
body: await parseErrorBody(output.body, context)
|
|
2393
|
-
};
|
|
2394
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2395
|
-
switch (errorCode) {
|
|
2396
|
-
case "BadRequestException":
|
|
2397
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2398
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2399
|
-
case "ForbiddenException":
|
|
2400
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2401
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2402
|
-
case "ResourceLimitExceededException":
|
|
2403
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
2404
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2405
|
-
case "ServiceFailureException":
|
|
2406
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2407
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2408
|
-
case "ServiceUnavailableException":
|
|
2409
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2410
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2411
|
-
case "ThrottledClientException":
|
|
2412
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2413
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2414
|
-
case "UnauthorizedClientException":
|
|
2415
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2416
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2417
|
-
default:
|
|
2418
|
-
const parsedBody = parsedOutput.body;
|
|
2419
|
-
return throwDefaultError({
|
|
2420
|
-
output,
|
|
2421
|
-
parsedBody,
|
|
2422
|
-
errorCode
|
|
2423
|
-
});
|
|
2424
|
-
}
|
|
2425
|
-
}, "de_ListMediaCapturePipelinesCommandError");
|
|
2426
1739
|
var de_ListMediaInsightsPipelineConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2427
1740
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2428
|
-
return
|
|
1741
|
+
return de_CommandError(output, context);
|
|
2429
1742
|
}
|
|
2430
1743
|
const contents = (0, import_smithy_client.map)({
|
|
2431
1744
|
$metadata: deserializeMetadata(output)
|
|
@@ -2438,46 +1751,9 @@ var de_ListMediaInsightsPipelineConfigurationsCommand = /* @__PURE__ */ __name(a
|
|
|
2438
1751
|
Object.assign(contents, doc);
|
|
2439
1752
|
return contents;
|
|
2440
1753
|
}, "de_ListMediaInsightsPipelineConfigurationsCommand");
|
|
2441
|
-
var de_ListMediaInsightsPipelineConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2442
|
-
const parsedOutput = {
|
|
2443
|
-
...output,
|
|
2444
|
-
body: await parseErrorBody(output.body, context)
|
|
2445
|
-
};
|
|
2446
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2447
|
-
switch (errorCode) {
|
|
2448
|
-
case "BadRequestException":
|
|
2449
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2450
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2451
|
-
case "ForbiddenException":
|
|
2452
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2453
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2454
|
-
case "ResourceLimitExceededException":
|
|
2455
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
2456
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2457
|
-
case "ServiceFailureException":
|
|
2458
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2459
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2460
|
-
case "ServiceUnavailableException":
|
|
2461
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2462
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2463
|
-
case "ThrottledClientException":
|
|
2464
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2465
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2466
|
-
case "UnauthorizedClientException":
|
|
2467
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2468
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2469
|
-
default:
|
|
2470
|
-
const parsedBody = parsedOutput.body;
|
|
2471
|
-
return throwDefaultError({
|
|
2472
|
-
output,
|
|
2473
|
-
parsedBody,
|
|
2474
|
-
errorCode
|
|
2475
|
-
});
|
|
2476
|
-
}
|
|
2477
|
-
}, "de_ListMediaInsightsPipelineConfigurationsCommandError");
|
|
2478
1754
|
var de_ListMediaPipelineKinesisVideoStreamPoolsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2479
1755
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2480
|
-
return
|
|
1756
|
+
return de_CommandError(output, context);
|
|
2481
1757
|
}
|
|
2482
1758
|
const contents = (0, import_smithy_client.map)({
|
|
2483
1759
|
$metadata: deserializeMetadata(output)
|
|
@@ -2490,46 +1766,9 @@ var de_ListMediaPipelineKinesisVideoStreamPoolsCommand = /* @__PURE__ */ __name(
|
|
|
2490
1766
|
Object.assign(contents, doc);
|
|
2491
1767
|
return contents;
|
|
2492
1768
|
}, "de_ListMediaPipelineKinesisVideoStreamPoolsCommand");
|
|
2493
|
-
var de_ListMediaPipelineKinesisVideoStreamPoolsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2494
|
-
const parsedOutput = {
|
|
2495
|
-
...output,
|
|
2496
|
-
body: await parseErrorBody(output.body, context)
|
|
2497
|
-
};
|
|
2498
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2499
|
-
switch (errorCode) {
|
|
2500
|
-
case "BadRequestException":
|
|
2501
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2502
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2503
|
-
case "ForbiddenException":
|
|
2504
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2505
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2506
|
-
case "ResourceLimitExceededException":
|
|
2507
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
2508
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2509
|
-
case "ServiceFailureException":
|
|
2510
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2511
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2512
|
-
case "ServiceUnavailableException":
|
|
2513
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2514
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2515
|
-
case "ThrottledClientException":
|
|
2516
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2517
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2518
|
-
case "UnauthorizedClientException":
|
|
2519
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2520
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2521
|
-
default:
|
|
2522
|
-
const parsedBody = parsedOutput.body;
|
|
2523
|
-
return throwDefaultError({
|
|
2524
|
-
output,
|
|
2525
|
-
parsedBody,
|
|
2526
|
-
errorCode
|
|
2527
|
-
});
|
|
2528
|
-
}
|
|
2529
|
-
}, "de_ListMediaPipelineKinesisVideoStreamPoolsCommandError");
|
|
2530
1769
|
var de_ListMediaPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2531
1770
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2532
|
-
return
|
|
1771
|
+
return de_CommandError(output, context);
|
|
2533
1772
|
}
|
|
2534
1773
|
const contents = (0, import_smithy_client.map)({
|
|
2535
1774
|
$metadata: deserializeMetadata(output)
|
|
@@ -2542,46 +1781,9 @@ var de_ListMediaPipelinesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2542
1781
|
Object.assign(contents, doc);
|
|
2543
1782
|
return contents;
|
|
2544
1783
|
}, "de_ListMediaPipelinesCommand");
|
|
2545
|
-
var de_ListMediaPipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2546
|
-
const parsedOutput = {
|
|
2547
|
-
...output,
|
|
2548
|
-
body: await parseErrorBody(output.body, context)
|
|
2549
|
-
};
|
|
2550
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2551
|
-
switch (errorCode) {
|
|
2552
|
-
case "BadRequestException":
|
|
2553
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2554
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2555
|
-
case "ForbiddenException":
|
|
2556
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2557
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2558
|
-
case "ResourceLimitExceededException":
|
|
2559
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
2560
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2561
|
-
case "ServiceFailureException":
|
|
2562
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2563
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2564
|
-
case "ServiceUnavailableException":
|
|
2565
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2566
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2567
|
-
case "ThrottledClientException":
|
|
2568
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2569
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2570
|
-
case "UnauthorizedClientException":
|
|
2571
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2572
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2573
|
-
default:
|
|
2574
|
-
const parsedBody = parsedOutput.body;
|
|
2575
|
-
return throwDefaultError({
|
|
2576
|
-
output,
|
|
2577
|
-
parsedBody,
|
|
2578
|
-
errorCode
|
|
2579
|
-
});
|
|
2580
|
-
}
|
|
2581
|
-
}, "de_ListMediaPipelinesCommandError");
|
|
2582
1784
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2583
1785
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2584
|
-
return
|
|
1786
|
+
return de_CommandError(output, context);
|
|
2585
1787
|
}
|
|
2586
1788
|
const contents = (0, import_smithy_client.map)({
|
|
2587
1789
|
$metadata: deserializeMetadata(output)
|
|
@@ -2593,154 +1795,37 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2593
1795
|
Object.assign(contents, doc);
|
|
2594
1796
|
return contents;
|
|
2595
1797
|
}, "de_ListTagsForResourceCommand");
|
|
2596
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2597
|
-
const parsedOutput = {
|
|
2598
|
-
...output,
|
|
2599
|
-
body: await parseErrorBody(output.body, context)
|
|
2600
|
-
};
|
|
2601
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2602
|
-
switch (errorCode) {
|
|
2603
|
-
case "BadRequestException":
|
|
2604
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2605
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2606
|
-
case "ForbiddenException":
|
|
2607
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2608
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2609
|
-
case "NotFoundException":
|
|
2610
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2611
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2612
|
-
case "ServiceFailureException":
|
|
2613
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2614
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2615
|
-
case "ServiceUnavailableException":
|
|
2616
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2617
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2618
|
-
case "ThrottledClientException":
|
|
2619
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2620
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2621
|
-
case "UnauthorizedClientException":
|
|
2622
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2623
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2624
|
-
default:
|
|
2625
|
-
const parsedBody = parsedOutput.body;
|
|
2626
|
-
return throwDefaultError({
|
|
2627
|
-
output,
|
|
2628
|
-
parsedBody,
|
|
2629
|
-
errorCode
|
|
2630
|
-
});
|
|
2631
|
-
}
|
|
2632
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2633
1798
|
var de_StartSpeakerSearchTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2634
1799
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2635
|
-
return
|
|
1800
|
+
return de_CommandError(output, context);
|
|
2636
1801
|
}
|
|
2637
1802
|
const contents = (0, import_smithy_client.map)({
|
|
2638
1803
|
$metadata: deserializeMetadata(output)
|
|
2639
1804
|
});
|
|
2640
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2641
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
2642
|
-
SpeakerSearchTask: (_) => de_SpeakerSearchTask(_, context)
|
|
2643
|
-
});
|
|
2644
|
-
Object.assign(contents, doc);
|
|
2645
|
-
return contents;
|
|
2646
|
-
}, "de_StartSpeakerSearchTaskCommand");
|
|
2647
|
-
var
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
body: await parseErrorBody(output.body, context)
|
|
2651
|
-
};
|
|
2652
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2653
|
-
switch (errorCode) {
|
|
2654
|
-
case "BadRequestException":
|
|
2655
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2656
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2657
|
-
case "ConflictException":
|
|
2658
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2659
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2660
|
-
case "ForbiddenException":
|
|
2661
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2662
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2663
|
-
case "NotFoundException":
|
|
2664
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2665
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "ServiceFailureException":
|
|
2667
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2668
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "ServiceUnavailableException":
|
|
2670
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2671
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "ThrottledClientException":
|
|
2673
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2674
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "UnauthorizedClientException":
|
|
2676
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2677
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2678
|
-
default:
|
|
2679
|
-
const parsedBody = parsedOutput.body;
|
|
2680
|
-
return throwDefaultError({
|
|
2681
|
-
output,
|
|
2682
|
-
parsedBody,
|
|
2683
|
-
errorCode
|
|
2684
|
-
});
|
|
2685
|
-
}
|
|
2686
|
-
}, "de_StartSpeakerSearchTaskCommandError");
|
|
2687
|
-
var de_StartVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2688
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2689
|
-
return de_StartVoiceToneAnalysisTaskCommandError(output, context);
|
|
2690
|
-
}
|
|
2691
|
-
const contents = (0, import_smithy_client.map)({
|
|
2692
|
-
$metadata: deserializeMetadata(output)
|
|
2693
|
-
});
|
|
2694
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2695
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
2696
|
-
VoiceToneAnalysisTask: (_) => de_VoiceToneAnalysisTask(_, context)
|
|
2697
|
-
});
|
|
2698
|
-
Object.assign(contents, doc);
|
|
2699
|
-
return contents;
|
|
2700
|
-
}, "de_StartVoiceToneAnalysisTaskCommand");
|
|
2701
|
-
var de_StartVoiceToneAnalysisTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2702
|
-
const parsedOutput = {
|
|
2703
|
-
...output,
|
|
2704
|
-
body: await parseErrorBody(output.body, context)
|
|
2705
|
-
};
|
|
2706
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2707
|
-
switch (errorCode) {
|
|
2708
|
-
case "BadRequestException":
|
|
2709
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2710
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2711
|
-
case "ConflictException":
|
|
2712
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2713
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2714
|
-
case "ForbiddenException":
|
|
2715
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2716
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2717
|
-
case "NotFoundException":
|
|
2718
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2719
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2720
|
-
case "ServiceFailureException":
|
|
2721
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2722
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2723
|
-
case "ServiceUnavailableException":
|
|
2724
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2725
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2726
|
-
case "ThrottledClientException":
|
|
2727
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2728
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2729
|
-
case "UnauthorizedClientException":
|
|
2730
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2731
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2732
|
-
default:
|
|
2733
|
-
const parsedBody = parsedOutput.body;
|
|
2734
|
-
return throwDefaultError({
|
|
2735
|
-
output,
|
|
2736
|
-
parsedBody,
|
|
2737
|
-
errorCode
|
|
2738
|
-
});
|
|
1805
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1806
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1807
|
+
SpeakerSearchTask: (_) => de_SpeakerSearchTask(_, context)
|
|
1808
|
+
});
|
|
1809
|
+
Object.assign(contents, doc);
|
|
1810
|
+
return contents;
|
|
1811
|
+
}, "de_StartSpeakerSearchTaskCommand");
|
|
1812
|
+
var de_StartVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1813
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1814
|
+
return de_CommandError(output, context);
|
|
2739
1815
|
}
|
|
2740
|
-
|
|
1816
|
+
const contents = (0, import_smithy_client.map)({
|
|
1817
|
+
$metadata: deserializeMetadata(output)
|
|
1818
|
+
});
|
|
1819
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1820
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1821
|
+
VoiceToneAnalysisTask: (_) => de_VoiceToneAnalysisTask(_, context)
|
|
1822
|
+
});
|
|
1823
|
+
Object.assign(contents, doc);
|
|
1824
|
+
return contents;
|
|
1825
|
+
}, "de_StartVoiceToneAnalysisTaskCommand");
|
|
2741
1826
|
var de_StopSpeakerSearchTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2742
1827
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2743
|
-
return
|
|
1828
|
+
return de_CommandError(output, context);
|
|
2744
1829
|
}
|
|
2745
1830
|
const contents = (0, import_smithy_client.map)({
|
|
2746
1831
|
$metadata: deserializeMetadata(output)
|
|
@@ -2748,49 +1833,9 @@ var de_StopSpeakerSearchTaskCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2748
1833
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2749
1834
|
return contents;
|
|
2750
1835
|
}, "de_StopSpeakerSearchTaskCommand");
|
|
2751
|
-
var de_StopSpeakerSearchTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2752
|
-
const parsedOutput = {
|
|
2753
|
-
...output,
|
|
2754
|
-
body: await parseErrorBody(output.body, context)
|
|
2755
|
-
};
|
|
2756
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2757
|
-
switch (errorCode) {
|
|
2758
|
-
case "BadRequestException":
|
|
2759
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2760
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2761
|
-
case "ConflictException":
|
|
2762
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2763
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2764
|
-
case "ForbiddenException":
|
|
2765
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2766
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2767
|
-
case "NotFoundException":
|
|
2768
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2769
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2770
|
-
case "ServiceFailureException":
|
|
2771
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2772
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2773
|
-
case "ServiceUnavailableException":
|
|
2774
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2775
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2776
|
-
case "ThrottledClientException":
|
|
2777
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2778
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2779
|
-
case "UnauthorizedClientException":
|
|
2780
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2781
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2782
|
-
default:
|
|
2783
|
-
const parsedBody = parsedOutput.body;
|
|
2784
|
-
return throwDefaultError({
|
|
2785
|
-
output,
|
|
2786
|
-
parsedBody,
|
|
2787
|
-
errorCode
|
|
2788
|
-
});
|
|
2789
|
-
}
|
|
2790
|
-
}, "de_StopSpeakerSearchTaskCommandError");
|
|
2791
1836
|
var de_StopVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2792
1837
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2793
|
-
return
|
|
1838
|
+
return de_CommandError(output, context);
|
|
2794
1839
|
}
|
|
2795
1840
|
const contents = (0, import_smithy_client.map)({
|
|
2796
1841
|
$metadata: deserializeMetadata(output)
|
|
@@ -2798,49 +1843,9 @@ var de_StopVoiceToneAnalysisTaskCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2798
1843
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2799
1844
|
return contents;
|
|
2800
1845
|
}, "de_StopVoiceToneAnalysisTaskCommand");
|
|
2801
|
-
var de_StopVoiceToneAnalysisTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2802
|
-
const parsedOutput = {
|
|
2803
|
-
...output,
|
|
2804
|
-
body: await parseErrorBody(output.body, context)
|
|
2805
|
-
};
|
|
2806
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2807
|
-
switch (errorCode) {
|
|
2808
|
-
case "BadRequestException":
|
|
2809
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2810
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2811
|
-
case "ConflictException":
|
|
2812
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2813
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2814
|
-
case "ForbiddenException":
|
|
2815
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2816
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2817
|
-
case "NotFoundException":
|
|
2818
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2819
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2820
|
-
case "ServiceFailureException":
|
|
2821
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2822
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2823
|
-
case "ServiceUnavailableException":
|
|
2824
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2825
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2826
|
-
case "ThrottledClientException":
|
|
2827
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2828
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2829
|
-
case "UnauthorizedClientException":
|
|
2830
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2831
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2832
|
-
default:
|
|
2833
|
-
const parsedBody = parsedOutput.body;
|
|
2834
|
-
return throwDefaultError({
|
|
2835
|
-
output,
|
|
2836
|
-
parsedBody,
|
|
2837
|
-
errorCode
|
|
2838
|
-
});
|
|
2839
|
-
}
|
|
2840
|
-
}, "de_StopVoiceToneAnalysisTaskCommandError");
|
|
2841
1846
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2842
1847
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2843
|
-
return
|
|
1848
|
+
return de_CommandError(output, context);
|
|
2844
1849
|
}
|
|
2845
1850
|
const contents = (0, import_smithy_client.map)({
|
|
2846
1851
|
$metadata: deserializeMetadata(output)
|
|
@@ -2848,46 +1853,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2848
1853
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2849
1854
|
return contents;
|
|
2850
1855
|
}, "de_TagResourceCommand");
|
|
2851
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2852
|
-
const parsedOutput = {
|
|
2853
|
-
...output,
|
|
2854
|
-
body: await parseErrorBody(output.body, context)
|
|
2855
|
-
};
|
|
2856
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2857
|
-
switch (errorCode) {
|
|
2858
|
-
case "BadRequestException":
|
|
2859
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2860
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2861
|
-
case "ForbiddenException":
|
|
2862
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2863
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2864
|
-
case "NotFoundException":
|
|
2865
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2866
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2867
|
-
case "ServiceFailureException":
|
|
2868
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2869
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2870
|
-
case "ServiceUnavailableException":
|
|
2871
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2872
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2873
|
-
case "ThrottledClientException":
|
|
2874
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2875
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2876
|
-
case "UnauthorizedClientException":
|
|
2877
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2878
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2879
|
-
default:
|
|
2880
|
-
const parsedBody = parsedOutput.body;
|
|
2881
|
-
return throwDefaultError({
|
|
2882
|
-
output,
|
|
2883
|
-
parsedBody,
|
|
2884
|
-
errorCode
|
|
2885
|
-
});
|
|
2886
|
-
}
|
|
2887
|
-
}, "de_TagResourceCommandError");
|
|
2888
1856
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2889
1857
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2890
|
-
return
|
|
1858
|
+
return de_CommandError(output, context);
|
|
2891
1859
|
}
|
|
2892
1860
|
const contents = (0, import_smithy_client.map)({
|
|
2893
1861
|
$metadata: deserializeMetadata(output)
|
|
@@ -2895,46 +1863,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2895
1863
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2896
1864
|
return contents;
|
|
2897
1865
|
}, "de_UntagResourceCommand");
|
|
2898
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2899
|
-
const parsedOutput = {
|
|
2900
|
-
...output,
|
|
2901
|
-
body: await parseErrorBody(output.body, context)
|
|
2902
|
-
};
|
|
2903
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2904
|
-
switch (errorCode) {
|
|
2905
|
-
case "BadRequestException":
|
|
2906
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2907
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2908
|
-
case "ForbiddenException":
|
|
2909
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2910
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2911
|
-
case "NotFoundException":
|
|
2912
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2913
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2914
|
-
case "ServiceFailureException":
|
|
2915
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2916
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2917
|
-
case "ServiceUnavailableException":
|
|
2918
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2919
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2920
|
-
case "ThrottledClientException":
|
|
2921
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2922
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2923
|
-
case "UnauthorizedClientException":
|
|
2924
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2925
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2926
|
-
default:
|
|
2927
|
-
const parsedBody = parsedOutput.body;
|
|
2928
|
-
return throwDefaultError({
|
|
2929
|
-
output,
|
|
2930
|
-
parsedBody,
|
|
2931
|
-
errorCode
|
|
2932
|
-
});
|
|
2933
|
-
}
|
|
2934
|
-
}, "de_UntagResourceCommandError");
|
|
2935
1866
|
var de_UpdateMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2936
1867
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2937
|
-
return
|
|
1868
|
+
return de_CommandError(output, context);
|
|
2938
1869
|
}
|
|
2939
1870
|
const contents = (0, import_smithy_client.map)({
|
|
2940
1871
|
$metadata: deserializeMetadata(output)
|
|
@@ -2946,49 +1877,9 @@ var de_UpdateMediaInsightsPipelineConfigurationCommand = /* @__PURE__ */ __name(
|
|
|
2946
1877
|
Object.assign(contents, doc);
|
|
2947
1878
|
return contents;
|
|
2948
1879
|
}, "de_UpdateMediaInsightsPipelineConfigurationCommand");
|
|
2949
|
-
var de_UpdateMediaInsightsPipelineConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2950
|
-
const parsedOutput = {
|
|
2951
|
-
...output,
|
|
2952
|
-
body: await parseErrorBody(output.body, context)
|
|
2953
|
-
};
|
|
2954
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2955
|
-
switch (errorCode) {
|
|
2956
|
-
case "BadRequestException":
|
|
2957
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2958
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2959
|
-
case "ConflictException":
|
|
2960
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2961
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2962
|
-
case "ForbiddenException":
|
|
2963
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2964
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2965
|
-
case "NotFoundException":
|
|
2966
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2967
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2968
|
-
case "ServiceFailureException":
|
|
2969
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2970
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2971
|
-
case "ServiceUnavailableException":
|
|
2972
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2973
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2974
|
-
case "ThrottledClientException":
|
|
2975
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2976
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2977
|
-
case "UnauthorizedClientException":
|
|
2978
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2979
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2980
|
-
default:
|
|
2981
|
-
const parsedBody = parsedOutput.body;
|
|
2982
|
-
return throwDefaultError({
|
|
2983
|
-
output,
|
|
2984
|
-
parsedBody,
|
|
2985
|
-
errorCode
|
|
2986
|
-
});
|
|
2987
|
-
}
|
|
2988
|
-
}, "de_UpdateMediaInsightsPipelineConfigurationCommandError");
|
|
2989
1880
|
var de_UpdateMediaInsightsPipelineStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2990
1881
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2991
|
-
return
|
|
1882
|
+
return de_CommandError(output, context);
|
|
2992
1883
|
}
|
|
2993
1884
|
const contents = (0, import_smithy_client.map)({
|
|
2994
1885
|
$metadata: deserializeMetadata(output)
|
|
@@ -2996,49 +1887,9 @@ var de_UpdateMediaInsightsPipelineStatusCommand = /* @__PURE__ */ __name(async (
|
|
|
2996
1887
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2997
1888
|
return contents;
|
|
2998
1889
|
}, "de_UpdateMediaInsightsPipelineStatusCommand");
|
|
2999
|
-
var de_UpdateMediaInsightsPipelineStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3000
|
-
const parsedOutput = {
|
|
3001
|
-
...output,
|
|
3002
|
-
body: await parseErrorBody(output.body, context)
|
|
3003
|
-
};
|
|
3004
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3005
|
-
switch (errorCode) {
|
|
3006
|
-
case "BadRequestException":
|
|
3007
|
-
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
3008
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3009
|
-
case "ConflictException":
|
|
3010
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
3011
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3012
|
-
case "ForbiddenException":
|
|
3013
|
-
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
3014
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
3015
|
-
case "NotFoundException":
|
|
3016
|
-
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
3017
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
3018
|
-
case "ServiceFailureException":
|
|
3019
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
3020
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
3021
|
-
case "ServiceUnavailableException":
|
|
3022
|
-
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
3023
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
3024
|
-
case "ThrottledClientException":
|
|
3025
|
-
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
3026
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
3027
|
-
case "UnauthorizedClientException":
|
|
3028
|
-
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
3029
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
3030
|
-
default:
|
|
3031
|
-
const parsedBody = parsedOutput.body;
|
|
3032
|
-
return throwDefaultError({
|
|
3033
|
-
output,
|
|
3034
|
-
parsedBody,
|
|
3035
|
-
errorCode
|
|
3036
|
-
});
|
|
3037
|
-
}
|
|
3038
|
-
}, "de_UpdateMediaInsightsPipelineStatusCommandError");
|
|
3039
1890
|
var de_UpdateMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3040
1891
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3041
|
-
return
|
|
1892
|
+
return de_CommandError(output, context);
|
|
3042
1893
|
}
|
|
3043
1894
|
const contents = (0, import_smithy_client.map)({
|
|
3044
1895
|
$metadata: deserializeMetadata(output)
|
|
@@ -3050,7 +1901,7 @@ var de_UpdateMediaPipelineKinesisVideoStreamPoolCommand = /* @__PURE__ */ __name
|
|
|
3050
1901
|
Object.assign(contents, doc);
|
|
3051
1902
|
return contents;
|
|
3052
1903
|
}, "de_UpdateMediaPipelineKinesisVideoStreamPoolCommand");
|
|
3053
|
-
var
|
|
1904
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3054
1905
|
const parsedOutput = {
|
|
3055
1906
|
...output,
|
|
3056
1907
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3060,15 +1911,12 @@ var de_UpdateMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ _
|
|
|
3060
1911
|
case "BadRequestException":
|
|
3061
1912
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
3062
1913
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3063
|
-
case "ConflictException":
|
|
3064
|
-
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
3065
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3066
1914
|
case "ForbiddenException":
|
|
3067
1915
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
3068
1916
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
3069
|
-
case "
|
|
3070
|
-
case "com.amazonaws.chimesdkmediapipelines#
|
|
3071
|
-
throw await
|
|
1917
|
+
case "ResourceLimitExceededException":
|
|
1918
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1919
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
3072
1920
|
case "ServiceFailureException":
|
|
3073
1921
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
3074
1922
|
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
@@ -3081,6 +1929,12 @@ var de_UpdateMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ _
|
|
|
3081
1929
|
case "UnauthorizedClientException":
|
|
3082
1930
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
3083
1931
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1932
|
+
case "NotFoundException":
|
|
1933
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1934
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1935
|
+
case "ConflictException":
|
|
1936
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1937
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3084
1938
|
default:
|
|
3085
1939
|
const parsedBody = parsedOutput.body;
|
|
3086
1940
|
return throwDefaultError({
|
|
@@ -3089,7 +1943,7 @@ var de_UpdateMediaPipelineKinesisVideoStreamPoolCommandError = /* @__PURE__ */ _
|
|
|
3089
1943
|
errorCode
|
|
3090
1944
|
});
|
|
3091
1945
|
}
|
|
3092
|
-
}, "
|
|
1946
|
+
}, "de_CommandError");
|
|
3093
1947
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(ChimeSDKMediaPipelinesServiceException);
|
|
3094
1948
|
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3095
1949
|
const contents = (0, import_smithy_client.map)({});
|