@aws-sdk/client-vpc-lattice 3.523.0 → 3.529.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 +45 -86
- package/dist-es/protocols/Aws_restJson1.js +1 -41
- package/package.json +17 -17
- package/dist-cjs/VPCLattice.js +0 -1
- package/dist-cjs/VPCLatticeClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/BatchUpdateRuleCommand.js +0 -1
- package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/CreateListenerCommand.js +0 -1
- package/dist-cjs/commands/CreateRuleCommand.js +0 -1
- package/dist-cjs/commands/CreateServiceCommand.js +0 -1
- package/dist-cjs/commands/CreateServiceNetworkCommand.js +0 -1
- package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +0 -1
- package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +0 -1
- package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/DeleteAuthPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteListenerCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -1
- package/dist-cjs/commands/DeleteServiceCommand.js +0 -1
- package/dist-cjs/commands/DeleteServiceNetworkCommand.js +0 -1
- package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +0 -1
- package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +0 -1
- package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -1
- package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -1
- package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/GetAuthPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetListenerCommand.js +0 -1
- package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/GetRuleCommand.js +0 -1
- package/dist-cjs/commands/GetServiceCommand.js +0 -1
- package/dist-cjs/commands/GetServiceNetworkCommand.js +0 -1
- package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +0 -1
- package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +0 -1
- package/dist-cjs/commands/GetTargetGroupCommand.js +0 -1
- package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +0 -1
- package/dist-cjs/commands/ListListenersCommand.js +0 -1
- package/dist-cjs/commands/ListRulesCommand.js +0 -1
- package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +0 -1
- package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +0 -1
- package/dist-cjs/commands/ListServiceNetworksCommand.js +0 -1
- package/dist-cjs/commands/ListServicesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTargetGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListTargetsCommand.js +0 -1
- package/dist-cjs/commands/PutAuthPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/RegisterTargetsCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/UpdateListenerCommand.js +0 -1
- package/dist-cjs/commands/UpdateRuleCommand.js +0 -1
- package/dist-cjs/commands/UpdateServiceCommand.js +0 -1
- package/dist-cjs/commands/UpdateServiceNetworkCommand.js +0 -1
- package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +0 -1
- package/dist-cjs/commands/UpdateTargetGroupCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/VPCLatticeServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAccessLogSubscriptionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListListenersPaginator.js +0 -1
- package/dist-cjs/pagination/ListRulesPaginator.js +0 -1
- package/dist-cjs/pagination/ListServiceNetworkServiceAssociationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListServiceNetworkVpcAssociationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListServiceNetworksPaginator.js +0 -1
- package/dist-cjs/pagination/ListServicesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTargetGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTargetsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -1447,7 +1447,7 @@ var de_BatchUpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1447
1447
|
const contents = (0, import_smithy_client.map)({
|
|
1448
1448
|
$metadata: deserializeMetadata(output)
|
|
1449
1449
|
});
|
|
1450
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1450
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1451
1451
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1452
1452
|
successful: import_smithy_client._json,
|
|
1453
1453
|
unsuccessful: import_smithy_client._json
|
|
@@ -1462,7 +1462,7 @@ var de_CreateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (output
|
|
|
1462
1462
|
const contents = (0, import_smithy_client.map)({
|
|
1463
1463
|
$metadata: deserializeMetadata(output)
|
|
1464
1464
|
});
|
|
1465
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1465
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1466
1466
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1467
1467
|
arn: import_smithy_client.expectString,
|
|
1468
1468
|
destinationArn: import_smithy_client.expectString,
|
|
@@ -1480,7 +1480,7 @@ var de_CreateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1480
1480
|
const contents = (0, import_smithy_client.map)({
|
|
1481
1481
|
$metadata: deserializeMetadata(output)
|
|
1482
1482
|
});
|
|
1483
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1483
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1484
1484
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1485
1485
|
arn: import_smithy_client.expectString,
|
|
1486
1486
|
defaultAction: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
@@ -1501,7 +1501,7 @@ var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1501
1501
|
const contents = (0, import_smithy_client.map)({
|
|
1502
1502
|
$metadata: deserializeMetadata(output)
|
|
1503
1503
|
});
|
|
1504
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1504
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1505
1505
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1506
1506
|
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1507
1507
|
arn: import_smithy_client.expectString,
|
|
@@ -1520,7 +1520,7 @@ var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1520
1520
|
const contents = (0, import_smithy_client.map)({
|
|
1521
1521
|
$metadata: deserializeMetadata(output)
|
|
1522
1522
|
});
|
|
1523
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1523
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1524
1524
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1525
1525
|
arn: import_smithy_client.expectString,
|
|
1526
1526
|
authType: import_smithy_client.expectString,
|
|
@@ -1541,7 +1541,7 @@ var de_CreateServiceNetworkCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1541
1541
|
const contents = (0, import_smithy_client.map)({
|
|
1542
1542
|
$metadata: deserializeMetadata(output)
|
|
1543
1543
|
});
|
|
1544
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1544
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1545
1545
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1546
1546
|
arn: import_smithy_client.expectString,
|
|
1547
1547
|
authType: import_smithy_client.expectString,
|
|
@@ -1558,7 +1558,7 @@ var de_CreateServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(as
|
|
|
1558
1558
|
const contents = (0, import_smithy_client.map)({
|
|
1559
1559
|
$metadata: deserializeMetadata(output)
|
|
1560
1560
|
});
|
|
1561
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1561
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1562
1562
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1563
1563
|
arn: import_smithy_client.expectString,
|
|
1564
1564
|
createdBy: import_smithy_client.expectString,
|
|
@@ -1577,7 +1577,7 @@ var de_CreateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
1577
1577
|
const contents = (0, import_smithy_client.map)({
|
|
1578
1578
|
$metadata: deserializeMetadata(output)
|
|
1579
1579
|
});
|
|
1580
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1580
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1581
1581
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1582
1582
|
arn: import_smithy_client.expectString,
|
|
1583
1583
|
createdBy: import_smithy_client.expectString,
|
|
@@ -1595,7 +1595,7 @@ var de_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1595
1595
|
const contents = (0, import_smithy_client.map)({
|
|
1596
1596
|
$metadata: deserializeMetadata(output)
|
|
1597
1597
|
});
|
|
1598
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1598
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1599
1599
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1600
1600
|
arn: import_smithy_client.expectString,
|
|
1601
1601
|
config: import_smithy_client._json,
|
|
@@ -1664,7 +1664,7 @@ var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1664
1664
|
const contents = (0, import_smithy_client.map)({
|
|
1665
1665
|
$metadata: deserializeMetadata(output)
|
|
1666
1666
|
});
|
|
1667
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1667
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1668
1668
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1669
1669
|
arn: import_smithy_client.expectString,
|
|
1670
1670
|
id: import_smithy_client.expectString,
|
|
@@ -1691,7 +1691,7 @@ var de_DeleteServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(as
|
|
|
1691
1691
|
const contents = (0, import_smithy_client.map)({
|
|
1692
1692
|
$metadata: deserializeMetadata(output)
|
|
1693
1693
|
});
|
|
1694
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1694
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1695
1695
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1696
1696
|
arn: import_smithy_client.expectString,
|
|
1697
1697
|
id: import_smithy_client.expectString,
|
|
@@ -1707,7 +1707,7 @@ var de_DeleteServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
1707
1707
|
const contents = (0, import_smithy_client.map)({
|
|
1708
1708
|
$metadata: deserializeMetadata(output)
|
|
1709
1709
|
});
|
|
1710
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1710
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1711
1711
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1712
1712
|
arn: import_smithy_client.expectString,
|
|
1713
1713
|
id: import_smithy_client.expectString,
|
|
@@ -1723,7 +1723,7 @@ var de_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1723
1723
|
const contents = (0, import_smithy_client.map)({
|
|
1724
1724
|
$metadata: deserializeMetadata(output)
|
|
1725
1725
|
});
|
|
1726
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1726
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1727
1727
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1728
1728
|
arn: import_smithy_client.expectString,
|
|
1729
1729
|
id: import_smithy_client.expectString,
|
|
@@ -1739,7 +1739,7 @@ var de_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1739
1739
|
const contents = (0, import_smithy_client.map)({
|
|
1740
1740
|
$metadata: deserializeMetadata(output)
|
|
1741
1741
|
});
|
|
1742
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1742
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1743
1743
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1744
1744
|
successful: import_smithy_client._json,
|
|
1745
1745
|
unsuccessful: import_smithy_client._json
|
|
@@ -1754,7 +1754,7 @@ var de_GetAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1754
1754
|
const contents = (0, import_smithy_client.map)({
|
|
1755
1755
|
$metadata: deserializeMetadata(output)
|
|
1756
1756
|
});
|
|
1757
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1757
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1758
1758
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1759
1759
|
arn: import_smithy_client.expectString,
|
|
1760
1760
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1774,7 +1774,7 @@ var de_GetAuthPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1774
1774
|
const contents = (0, import_smithy_client.map)({
|
|
1775
1775
|
$metadata: deserializeMetadata(output)
|
|
1776
1776
|
});
|
|
1777
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1777
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1778
1778
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1779
1779
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1780
1780
|
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1791,7 +1791,7 @@ var de_GetListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1791
1791
|
const contents = (0, import_smithy_client.map)({
|
|
1792
1792
|
$metadata: deserializeMetadata(output)
|
|
1793
1793
|
});
|
|
1794
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1794
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1795
1795
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1796
1796
|
arn: import_smithy_client.expectString,
|
|
1797
1797
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1814,7 +1814,7 @@ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1814
1814
|
const contents = (0, import_smithy_client.map)({
|
|
1815
1815
|
$metadata: deserializeMetadata(output)
|
|
1816
1816
|
});
|
|
1817
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1817
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1818
1818
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1819
1819
|
policy: import_smithy_client.expectString
|
|
1820
1820
|
});
|
|
@@ -1828,7 +1828,7 @@ var de_GetRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1828
1828
|
const contents = (0, import_smithy_client.map)({
|
|
1829
1829
|
$metadata: deserializeMetadata(output)
|
|
1830
1830
|
});
|
|
1831
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1831
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1832
1832
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1833
1833
|
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1834
1834
|
arn: import_smithy_client.expectString,
|
|
@@ -1850,7 +1850,7 @@ var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1850
1850
|
const contents = (0, import_smithy_client.map)({
|
|
1851
1851
|
$metadata: deserializeMetadata(output)
|
|
1852
1852
|
});
|
|
1853
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1853
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1854
1854
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1855
1855
|
arn: import_smithy_client.expectString,
|
|
1856
1856
|
authType: import_smithy_client.expectString,
|
|
@@ -1875,7 +1875,7 @@ var de_GetServiceNetworkCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1875
1875
|
const contents = (0, import_smithy_client.map)({
|
|
1876
1876
|
$metadata: deserializeMetadata(output)
|
|
1877
1877
|
});
|
|
1878
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1878
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1879
1879
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1880
1880
|
arn: import_smithy_client.expectString,
|
|
1881
1881
|
authType: import_smithy_client.expectString,
|
|
@@ -1896,7 +1896,7 @@ var de_GetServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
1896
1896
|
const contents = (0, import_smithy_client.map)({
|
|
1897
1897
|
$metadata: deserializeMetadata(output)
|
|
1898
1898
|
});
|
|
1899
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1899
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1900
1900
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1901
1901
|
arn: import_smithy_client.expectString,
|
|
1902
1902
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1924,7 +1924,7 @@ var de_GetServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1924
1924
|
const contents = (0, import_smithy_client.map)({
|
|
1925
1925
|
$metadata: deserializeMetadata(output)
|
|
1926
1926
|
});
|
|
1927
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1927
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1928
1928
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1929
1929
|
arn: import_smithy_client.expectString,
|
|
1930
1930
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1950,7 +1950,7 @@ var de_GetTargetGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1950
1950
|
const contents = (0, import_smithy_client.map)({
|
|
1951
1951
|
$metadata: deserializeMetadata(output)
|
|
1952
1952
|
});
|
|
1953
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1953
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1954
1954
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1955
1955
|
arn: import_smithy_client.expectString,
|
|
1956
1956
|
config: import_smithy_client._json,
|
|
@@ -1974,7 +1974,7 @@ var de_ListAccessLogSubscriptionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1974
1974
|
const contents = (0, import_smithy_client.map)({
|
|
1975
1975
|
$metadata: deserializeMetadata(output)
|
|
1976
1976
|
});
|
|
1977
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1977
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1978
1978
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1979
1979
|
items: (_) => de_AccessLogSubscriptionList(_, context),
|
|
1980
1980
|
nextToken: import_smithy_client.expectString
|
|
@@ -1989,7 +1989,7 @@ var de_ListListenersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1989
1989
|
const contents = (0, import_smithy_client.map)({
|
|
1990
1990
|
$metadata: deserializeMetadata(output)
|
|
1991
1991
|
});
|
|
1992
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1992
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1993
1993
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1994
1994
|
items: (_) => de_ListenerSummaryList(_, context),
|
|
1995
1995
|
nextToken: import_smithy_client.expectString
|
|
@@ -2004,7 +2004,7 @@ var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2004
2004
|
const contents = (0, import_smithy_client.map)({
|
|
2005
2005
|
$metadata: deserializeMetadata(output)
|
|
2006
2006
|
});
|
|
2007
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2007
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2008
2008
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2009
2009
|
items: (_) => de_RuleSummaryList(_, context),
|
|
2010
2010
|
nextToken: import_smithy_client.expectString
|
|
@@ -2019,7 +2019,7 @@ var de_ListServiceNetworksCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2019
2019
|
const contents = (0, import_smithy_client.map)({
|
|
2020
2020
|
$metadata: deserializeMetadata(output)
|
|
2021
2021
|
});
|
|
2022
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2022
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2023
2023
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2024
2024
|
items: (_) => de_ServiceNetworkList(_, context),
|
|
2025
2025
|
nextToken: import_smithy_client.expectString
|
|
@@ -2034,7 +2034,7 @@ var de_ListServiceNetworkServiceAssociationsCommand = /* @__PURE__ */ __name(asy
|
|
|
2034
2034
|
const contents = (0, import_smithy_client.map)({
|
|
2035
2035
|
$metadata: deserializeMetadata(output)
|
|
2036
2036
|
});
|
|
2037
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2037
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2038
2038
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2039
2039
|
items: (_) => de_ServiceNetworkServiceAssociationList(_, context),
|
|
2040
2040
|
nextToken: import_smithy_client.expectString
|
|
@@ -2049,7 +2049,7 @@ var de_ListServiceNetworkVpcAssociationsCommand = /* @__PURE__ */ __name(async (
|
|
|
2049
2049
|
const contents = (0, import_smithy_client.map)({
|
|
2050
2050
|
$metadata: deserializeMetadata(output)
|
|
2051
2051
|
});
|
|
2052
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2052
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2053
2053
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2054
2054
|
items: (_) => de_ServiceNetworkVpcAssociationList(_, context),
|
|
2055
2055
|
nextToken: import_smithy_client.expectString
|
|
@@ -2064,7 +2064,7 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2064
2064
|
const contents = (0, import_smithy_client.map)({
|
|
2065
2065
|
$metadata: deserializeMetadata(output)
|
|
2066
2066
|
});
|
|
2067
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2067
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2068
2068
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2069
2069
|
items: (_) => de_ServiceList(_, context),
|
|
2070
2070
|
nextToken: import_smithy_client.expectString
|
|
@@ -2079,7 +2079,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2079
2079
|
const contents = (0, import_smithy_client.map)({
|
|
2080
2080
|
$metadata: deserializeMetadata(output)
|
|
2081
2081
|
});
|
|
2082
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2082
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2083
2083
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2084
2084
|
tags: import_smithy_client._json
|
|
2085
2085
|
});
|
|
@@ -2093,7 +2093,7 @@ var de_ListTargetGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2093
2093
|
const contents = (0, import_smithy_client.map)({
|
|
2094
2094
|
$metadata: deserializeMetadata(output)
|
|
2095
2095
|
});
|
|
2096
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2096
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2097
2097
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2098
2098
|
items: (_) => de_TargetGroupList(_, context),
|
|
2099
2099
|
nextToken: import_smithy_client.expectString
|
|
@@ -2108,7 +2108,7 @@ var de_ListTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2108
2108
|
const contents = (0, import_smithy_client.map)({
|
|
2109
2109
|
$metadata: deserializeMetadata(output)
|
|
2110
2110
|
});
|
|
2111
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2111
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2112
2112
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2113
2113
|
items: import_smithy_client._json,
|
|
2114
2114
|
nextToken: import_smithy_client.expectString
|
|
@@ -2123,7 +2123,7 @@ var de_PutAuthPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2123
2123
|
const contents = (0, import_smithy_client.map)({
|
|
2124
2124
|
$metadata: deserializeMetadata(output)
|
|
2125
2125
|
});
|
|
2126
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2126
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2127
2127
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2128
2128
|
policy: import_smithy_client.expectString,
|
|
2129
2129
|
state: import_smithy_client.expectString
|
|
@@ -2148,7 +2148,7 @@ var de_RegisterTargetsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2148
2148
|
const contents = (0, import_smithy_client.map)({
|
|
2149
2149
|
$metadata: deserializeMetadata(output)
|
|
2150
2150
|
});
|
|
2151
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2151
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2152
2152
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2153
2153
|
successful: import_smithy_client._json,
|
|
2154
2154
|
unsuccessful: import_smithy_client._json
|
|
@@ -2183,7 +2183,7 @@ var de_UpdateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (output
|
|
|
2183
2183
|
const contents = (0, import_smithy_client.map)({
|
|
2184
2184
|
$metadata: deserializeMetadata(output)
|
|
2185
2185
|
});
|
|
2186
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2186
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2187
2187
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2188
2188
|
arn: import_smithy_client.expectString,
|
|
2189
2189
|
destinationArn: import_smithy_client.expectString,
|
|
@@ -2201,7 +2201,7 @@ var de_UpdateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2201
2201
|
const contents = (0, import_smithy_client.map)({
|
|
2202
2202
|
$metadata: deserializeMetadata(output)
|
|
2203
2203
|
});
|
|
2204
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2204
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2205
2205
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2206
2206
|
arn: import_smithy_client.expectString,
|
|
2207
2207
|
defaultAction: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
@@ -2222,7 +2222,7 @@ var de_UpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2222
2222
|
const contents = (0, import_smithy_client.map)({
|
|
2223
2223
|
$metadata: deserializeMetadata(output)
|
|
2224
2224
|
});
|
|
2225
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2225
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2226
2226
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2227
2227
|
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2228
2228
|
arn: import_smithy_client.expectString,
|
|
@@ -2242,7 +2242,7 @@ var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2242
2242
|
const contents = (0, import_smithy_client.map)({
|
|
2243
2243
|
$metadata: deserializeMetadata(output)
|
|
2244
2244
|
});
|
|
2245
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2245
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2246
2246
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2247
2247
|
arn: import_smithy_client.expectString,
|
|
2248
2248
|
authType: import_smithy_client.expectString,
|
|
@@ -2261,7 +2261,7 @@ var de_UpdateServiceNetworkCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2261
2261
|
const contents = (0, import_smithy_client.map)({
|
|
2262
2262
|
$metadata: deserializeMetadata(output)
|
|
2263
2263
|
});
|
|
2264
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2264
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2265
2265
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2266
2266
|
arn: import_smithy_client.expectString,
|
|
2267
2267
|
authType: import_smithy_client.expectString,
|
|
@@ -2278,7 +2278,7 @@ var de_UpdateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
2278
2278
|
const contents = (0, import_smithy_client.map)({
|
|
2279
2279
|
$metadata: deserializeMetadata(output)
|
|
2280
2280
|
});
|
|
2281
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2281
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2282
2282
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2283
2283
|
arn: import_smithy_client.expectString,
|
|
2284
2284
|
createdBy: import_smithy_client.expectString,
|
|
@@ -2296,7 +2296,7 @@ var de_UpdateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2296
2296
|
const contents = (0, import_smithy_client.map)({
|
|
2297
2297
|
$metadata: deserializeMetadata(output)
|
|
2298
2298
|
});
|
|
2299
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2299
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2300
2300
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2301
2301
|
arn: import_smithy_client.expectString,
|
|
2302
2302
|
config: import_smithy_client._json,
|
|
@@ -2311,9 +2311,9 @@ var de_UpdateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2311
2311
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2312
2312
|
const parsedOutput = {
|
|
2313
2313
|
...output,
|
|
2314
|
-
body: await
|
|
2314
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2315
2315
|
};
|
|
2316
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2316
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2317
2317
|
switch (errorCode) {
|
|
2318
2318
|
case "AccessDeniedException":
|
|
2319
2319
|
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
@@ -2611,7 +2611,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2611
2611
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2612
2612
|
cfId: output.headers["x-amz-cf-id"]
|
|
2613
2613
|
}), "deserializeMetadata");
|
|
2614
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2615
2614
|
var _mR = "maxResults";
|
|
2616
2615
|
var _nT = "nextToken";
|
|
2617
2616
|
var _rAS = "retryAfterSeconds";
|
|
@@ -2622,46 +2621,6 @@ var _sNI = "serviceNetworkIdentifier";
|
|
|
2622
2621
|
var _tGT = "targetGroupType";
|
|
2623
2622
|
var _tK = "tagKeys";
|
|
2624
2623
|
var _vI = "vpcIdentifier";
|
|
2625
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2626
|
-
if (encoded.length) {
|
|
2627
|
-
return JSON.parse(encoded);
|
|
2628
|
-
}
|
|
2629
|
-
return {};
|
|
2630
|
-
}), "parseBody");
|
|
2631
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2632
|
-
const value = await parseBody(errorBody, context);
|
|
2633
|
-
value.message = value.message ?? value.Message;
|
|
2634
|
-
return value;
|
|
2635
|
-
}, "parseErrorBody");
|
|
2636
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2637
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2638
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2639
|
-
let cleanValue = rawValue;
|
|
2640
|
-
if (typeof cleanValue === "number") {
|
|
2641
|
-
cleanValue = cleanValue.toString();
|
|
2642
|
-
}
|
|
2643
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2644
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2645
|
-
}
|
|
2646
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2647
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2648
|
-
}
|
|
2649
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2650
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2651
|
-
}
|
|
2652
|
-
return cleanValue;
|
|
2653
|
-
}, "sanitizeErrorCode");
|
|
2654
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2655
|
-
if (headerKey !== void 0) {
|
|
2656
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2657
|
-
}
|
|
2658
|
-
if (data.code !== void 0) {
|
|
2659
|
-
return sanitizeErrorCode(data.code);
|
|
2660
|
-
}
|
|
2661
|
-
if (data["__type"] !== void 0) {
|
|
2662
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2663
|
-
}
|
|
2664
|
-
}, "loadRestJsonErrorCode");
|
|
2665
2624
|
|
|
2666
2625
|
// src/commands/BatchUpdateRuleCommand.ts
|
|
2667
2626
|
var _BatchUpdateRuleCommand = class _BatchUpdateRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
1
|
+
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -1869,43 +1869,3 @@ const _sNI = "serviceNetworkIdentifier";
|
|
|
1869
1869
|
const _tGT = "targetGroupType";
|
|
1870
1870
|
const _tK = "tagKeys";
|
|
1871
1871
|
const _vI = "vpcIdentifier";
|
|
1872
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1873
|
-
if (encoded.length) {
|
|
1874
|
-
return JSON.parse(encoded);
|
|
1875
|
-
}
|
|
1876
|
-
return {};
|
|
1877
|
-
});
|
|
1878
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1879
|
-
const value = await parseBody(errorBody, context);
|
|
1880
|
-
value.message = value.message ?? value.Message;
|
|
1881
|
-
return value;
|
|
1882
|
-
};
|
|
1883
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1884
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1885
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1886
|
-
let cleanValue = rawValue;
|
|
1887
|
-
if (typeof cleanValue === "number") {
|
|
1888
|
-
cleanValue = cleanValue.toString();
|
|
1889
|
-
}
|
|
1890
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1891
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1892
|
-
}
|
|
1893
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1894
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1895
|
-
}
|
|
1896
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1897
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1898
|
-
}
|
|
1899
|
-
return cleanValue;
|
|
1900
|
-
};
|
|
1901
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1902
|
-
if (headerKey !== undefined) {
|
|
1903
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1904
|
-
}
|
|
1905
|
-
if (data.code !== undefined) {
|
|
1906
|
-
return sanitizeErrorCode(data.code);
|
|
1907
|
-
}
|
|
1908
|
-
if (data["__type"] !== undefined) {
|
|
1909
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1910
|
-
}
|
|
1911
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-vpc-lattice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-vpc-lattice",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/VPCLattice.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|