@aws-sdk/client-service-catalog-appregistry 3.261.0 → 3.264.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.
|
@@ -866,7 +866,7 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
866
866
|
contents.associatedResourceCount = (0, smithy_client_1.expectInt32)(data.associatedResourceCount);
|
|
867
867
|
}
|
|
868
868
|
if (data.creationTime != null) {
|
|
869
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
869
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
870
870
|
}
|
|
871
871
|
if (data.description != null) {
|
|
872
872
|
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
@@ -878,7 +878,7 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
878
878
|
contents.integrations = deserializeAws_restJson1Integrations(data.integrations, context);
|
|
879
879
|
}
|
|
880
880
|
if (data.lastUpdateTime != null) {
|
|
881
|
-
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
881
|
+
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdateTime));
|
|
882
882
|
}
|
|
883
883
|
if (data.name != null) {
|
|
884
884
|
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
@@ -973,7 +973,7 @@ const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context)
|
|
|
973
973
|
contents.attributes = (0, smithy_client_1.expectString)(data.attributes);
|
|
974
974
|
}
|
|
975
975
|
if (data.creationTime != null) {
|
|
976
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
976
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
977
977
|
}
|
|
978
978
|
if (data.description != null) {
|
|
979
979
|
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
@@ -982,7 +982,7 @@ const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context)
|
|
|
982
982
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
983
983
|
}
|
|
984
984
|
if (data.lastUpdateTime != null) {
|
|
985
|
-
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
985
|
+
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdateTime));
|
|
986
986
|
}
|
|
987
987
|
if (data.name != null) {
|
|
988
988
|
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
@@ -1633,10 +1633,12 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
1633
1633
|
const deserializeAws_restJson1Application = (output, context) => {
|
|
1634
1634
|
return {
|
|
1635
1635
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1636
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1636
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1637
1637
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1638
1638
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1639
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1639
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1640
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
|
|
1641
|
+
: undefined,
|
|
1640
1642
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1641
1643
|
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1642
1644
|
};
|
|
@@ -1655,10 +1657,12 @@ const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
|
1655
1657
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
1656
1658
|
return {
|
|
1657
1659
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1658
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1660
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1659
1661
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1660
1662
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1661
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1663
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1664
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
|
|
1665
|
+
: undefined,
|
|
1662
1666
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1663
1667
|
};
|
|
1664
1668
|
};
|
|
@@ -1672,10 +1676,12 @@ const deserializeAws_restJson1AppRegistryConfiguration = (output, context) => {
|
|
|
1672
1676
|
const deserializeAws_restJson1AttributeGroup = (output, context) => {
|
|
1673
1677
|
return {
|
|
1674
1678
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1675
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1679
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1676
1680
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1677
1681
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1678
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1682
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1683
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
|
|
1684
|
+
: undefined,
|
|
1679
1685
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1680
1686
|
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1681
1687
|
};
|
|
@@ -1723,10 +1729,12 @@ const deserializeAws_restJson1AttributeGroupSummaries = (output, context) => {
|
|
|
1723
1729
|
const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
|
|
1724
1730
|
return {
|
|
1725
1731
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1726
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1732
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1727
1733
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1728
1734
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1729
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1735
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1736
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
|
|
1737
|
+
: undefined,
|
|
1730
1738
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1731
1739
|
};
|
|
1732
1740
|
};
|
|
@@ -1738,7 +1746,9 @@ const deserializeAws_restJson1Integrations = (output, context) => {
|
|
|
1738
1746
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1739
1747
|
return {
|
|
1740
1748
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1741
|
-
associationTime: output.associationTime != null
|
|
1749
|
+
associationTime: output.associationTime != null
|
|
1750
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.associationTime))
|
|
1751
|
+
: undefined,
|
|
1742
1752
|
integrations: output.integrations != null
|
|
1743
1753
|
? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
|
|
1744
1754
|
: undefined,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { ServiceCatalogAppRegistryServiceException as __BaseException } from "../models/ServiceCatalogAppRegistryServiceException";
|
|
@@ -831,7 +831,7 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
|
|
|
831
831
|
contents.associatedResourceCount = __expectInt32(data.associatedResourceCount);
|
|
832
832
|
}
|
|
833
833
|
if (data.creationTime != null) {
|
|
834
|
-
contents.creationTime = __expectNonNull(
|
|
834
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
835
835
|
}
|
|
836
836
|
if (data.description != null) {
|
|
837
837
|
contents.description = __expectString(data.description);
|
|
@@ -843,7 +843,7 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
|
|
|
843
843
|
contents.integrations = deserializeAws_restJson1Integrations(data.integrations, context);
|
|
844
844
|
}
|
|
845
845
|
if (data.lastUpdateTime != null) {
|
|
846
|
-
contents.lastUpdateTime = __expectNonNull(
|
|
846
|
+
contents.lastUpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdateTime));
|
|
847
847
|
}
|
|
848
848
|
if (data.name != null) {
|
|
849
849
|
contents.name = __expectString(data.name);
|
|
@@ -936,7 +936,7 @@ export const deserializeAws_restJson1GetAttributeGroupCommand = async (output, c
|
|
|
936
936
|
contents.attributes = __expectString(data.attributes);
|
|
937
937
|
}
|
|
938
938
|
if (data.creationTime != null) {
|
|
939
|
-
contents.creationTime = __expectNonNull(
|
|
939
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
940
940
|
}
|
|
941
941
|
if (data.description != null) {
|
|
942
942
|
contents.description = __expectString(data.description);
|
|
@@ -945,7 +945,7 @@ export const deserializeAws_restJson1GetAttributeGroupCommand = async (output, c
|
|
|
945
945
|
contents.id = __expectString(data.id);
|
|
946
946
|
}
|
|
947
947
|
if (data.lastUpdateTime != null) {
|
|
948
|
-
contents.lastUpdateTime = __expectNonNull(
|
|
948
|
+
contents.lastUpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdateTime));
|
|
949
949
|
}
|
|
950
950
|
if (data.name != null) {
|
|
951
951
|
contents.name = __expectString(data.name);
|
|
@@ -1582,10 +1582,12 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
1582
1582
|
const deserializeAws_restJson1Application = (output, context) => {
|
|
1583
1583
|
return {
|
|
1584
1584
|
arn: __expectString(output.arn),
|
|
1585
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1585
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1586
1586
|
description: __expectString(output.description),
|
|
1587
1587
|
id: __expectString(output.id),
|
|
1588
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1588
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1589
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdateTime))
|
|
1590
|
+
: undefined,
|
|
1589
1591
|
name: __expectString(output.name),
|
|
1590
1592
|
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1591
1593
|
};
|
|
@@ -1604,10 +1606,12 @@ const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
|
1604
1606
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
1605
1607
|
return {
|
|
1606
1608
|
arn: __expectString(output.arn),
|
|
1607
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1609
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1608
1610
|
description: __expectString(output.description),
|
|
1609
1611
|
id: __expectString(output.id),
|
|
1610
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1612
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1613
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdateTime))
|
|
1614
|
+
: undefined,
|
|
1611
1615
|
name: __expectString(output.name),
|
|
1612
1616
|
};
|
|
1613
1617
|
};
|
|
@@ -1621,10 +1625,12 @@ const deserializeAws_restJson1AppRegistryConfiguration = (output, context) => {
|
|
|
1621
1625
|
const deserializeAws_restJson1AttributeGroup = (output, context) => {
|
|
1622
1626
|
return {
|
|
1623
1627
|
arn: __expectString(output.arn),
|
|
1624
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1628
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1625
1629
|
description: __expectString(output.description),
|
|
1626
1630
|
id: __expectString(output.id),
|
|
1627
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1631
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1632
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdateTime))
|
|
1633
|
+
: undefined,
|
|
1628
1634
|
name: __expectString(output.name),
|
|
1629
1635
|
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1630
1636
|
};
|
|
@@ -1672,10 +1678,12 @@ const deserializeAws_restJson1AttributeGroupSummaries = (output, context) => {
|
|
|
1672
1678
|
const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
|
|
1673
1679
|
return {
|
|
1674
1680
|
arn: __expectString(output.arn),
|
|
1675
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1681
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1676
1682
|
description: __expectString(output.description),
|
|
1677
1683
|
id: __expectString(output.id),
|
|
1678
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
1684
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
1685
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdateTime))
|
|
1686
|
+
: undefined,
|
|
1679
1687
|
name: __expectString(output.name),
|
|
1680
1688
|
};
|
|
1681
1689
|
};
|
|
@@ -1687,7 +1695,9 @@ const deserializeAws_restJson1Integrations = (output, context) => {
|
|
|
1687
1695
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1688
1696
|
return {
|
|
1689
1697
|
arn: __expectString(output.arn),
|
|
1690
|
-
associationTime: output.associationTime != null
|
|
1698
|
+
associationTime: output.associationTime != null
|
|
1699
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.associationTime))
|
|
1700
|
+
: undefined,
|
|
1691
1701
|
integrations: output.integrations != null
|
|
1692
1702
|
? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
|
|
1693
1703
|
: undefined,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-service-catalog-appregistry",
|
|
3
3
|
"description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.264.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,14 +20,14 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|