@aws-sdk/client-service-catalog-appregistry 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +30 -53
- package/dist-es/protocols/Aws_restJson1.js +22 -45
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-service-catalog-appregistry
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-service-catalog-appregistry
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -100,9 +100,9 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
100
100
|
let body;
|
|
101
101
|
body = JSON.stringify({
|
|
102
102
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
103
|
-
...(input.description
|
|
104
|
-
...(input.name
|
|
105
|
-
...(input.tags
|
|
103
|
+
...(input.description != null && { description: input.description }),
|
|
104
|
+
...(input.name != null && { name: input.name }),
|
|
105
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
106
106
|
});
|
|
107
107
|
return new protocol_http_1.HttpRequest({
|
|
108
108
|
protocol,
|
|
@@ -124,11 +124,11 @@ const serializeAws_restJson1CreateAttributeGroupCommand = async (input, context)
|
|
|
124
124
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/attribute-groups";
|
|
125
125
|
let body;
|
|
126
126
|
body = JSON.stringify({
|
|
127
|
-
...(input.attributes
|
|
127
|
+
...(input.attributes != null && { attributes: input.attributes }),
|
|
128
128
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
129
|
-
...(input.description
|
|
130
|
-
...(input.name
|
|
131
|
-
...(input.tags
|
|
129
|
+
...(input.description != null && { description: input.description }),
|
|
130
|
+
...(input.name != null && { name: input.name }),
|
|
131
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
132
132
|
});
|
|
133
133
|
return new protocol_http_1.HttpRequest({
|
|
134
134
|
protocol,
|
|
@@ -593,7 +593,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
593
593
|
}
|
|
594
594
|
let body;
|
|
595
595
|
body = JSON.stringify({
|
|
596
|
-
...(input.tags
|
|
596
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
597
597
|
});
|
|
598
598
|
return new protocol_http_1.HttpRequest({
|
|
599
599
|
protocol,
|
|
@@ -654,8 +654,8 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
654
654
|
}
|
|
655
655
|
let body;
|
|
656
656
|
body = JSON.stringify({
|
|
657
|
-
...(input.description
|
|
658
|
-
...(input.name
|
|
657
|
+
...(input.description != null && { description: input.description }),
|
|
658
|
+
...(input.name != null && { name: input.name }),
|
|
659
659
|
});
|
|
660
660
|
return new protocol_http_1.HttpRequest({
|
|
661
661
|
protocol,
|
|
@@ -686,9 +686,9 @@ const serializeAws_restJson1UpdateAttributeGroupCommand = async (input, context)
|
|
|
686
686
|
}
|
|
687
687
|
let body;
|
|
688
688
|
body = JSON.stringify({
|
|
689
|
-
...(input.attributes
|
|
690
|
-
...(input.description
|
|
691
|
-
...(input.name
|
|
689
|
+
...(input.attributes != null && { attributes: input.attributes }),
|
|
690
|
+
...(input.description != null && { description: input.description }),
|
|
691
|
+
...(input.name != null && { name: input.name }),
|
|
692
692
|
});
|
|
693
693
|
return new protocol_http_1.HttpRequest({
|
|
694
694
|
protocol,
|
|
@@ -1863,18 +1863,12 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
1863
1863
|
const deserializeAws_restJson1Application = (output, context) => {
|
|
1864
1864
|
return {
|
|
1865
1865
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1866
|
-
creationTime: output.creationTime
|
|
1867
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1868
|
-
: undefined,
|
|
1866
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
|
|
1869
1867
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1870
1868
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1871
|
-
lastUpdateTime: output.lastUpdateTime
|
|
1872
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1873
|
-
: undefined,
|
|
1869
|
+
lastUpdateTime: output.lastUpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime)) : undefined,
|
|
1874
1870
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1875
|
-
tags: output.tags
|
|
1876
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
1877
|
-
: undefined,
|
|
1871
|
+
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1878
1872
|
};
|
|
1879
1873
|
};
|
|
1880
1874
|
const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
@@ -1891,32 +1885,22 @@ const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
|
1891
1885
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
1892
1886
|
return {
|
|
1893
1887
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1894
|
-
creationTime: output.creationTime
|
|
1895
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1896
|
-
: undefined,
|
|
1888
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
|
|
1897
1889
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1898
1890
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1899
|
-
lastUpdateTime: output.lastUpdateTime
|
|
1900
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1901
|
-
: undefined,
|
|
1891
|
+
lastUpdateTime: output.lastUpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime)) : undefined,
|
|
1902
1892
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1903
1893
|
};
|
|
1904
1894
|
};
|
|
1905
1895
|
const deserializeAws_restJson1AttributeGroup = (output, context) => {
|
|
1906
1896
|
return {
|
|
1907
1897
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1908
|
-
creationTime: output.creationTime
|
|
1909
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1910
|
-
: undefined,
|
|
1898
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
|
|
1911
1899
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1912
1900
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1913
|
-
lastUpdateTime: output.lastUpdateTime
|
|
1914
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1915
|
-
: undefined,
|
|
1901
|
+
lastUpdateTime: output.lastUpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime)) : undefined,
|
|
1916
1902
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1917
|
-
tags: output.tags
|
|
1918
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
1919
|
-
: undefined,
|
|
1903
|
+
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
1920
1904
|
};
|
|
1921
1905
|
};
|
|
1922
1906
|
const deserializeAws_restJson1AttributeGroupDetails = (output, context) => {
|
|
@@ -1962,31 +1946,23 @@ const deserializeAws_restJson1AttributeGroupSummaries = (output, context) => {
|
|
|
1962
1946
|
const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
|
|
1963
1947
|
return {
|
|
1964
1948
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1965
|
-
creationTime: output.creationTime
|
|
1966
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1967
|
-
: undefined,
|
|
1949
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
|
|
1968
1950
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1969
1951
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1970
|
-
lastUpdateTime: output.lastUpdateTime
|
|
1971
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1972
|
-
: undefined,
|
|
1952
|
+
lastUpdateTime: output.lastUpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime)) : undefined,
|
|
1973
1953
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1974
1954
|
};
|
|
1975
1955
|
};
|
|
1976
1956
|
const deserializeAws_restJson1Integrations = (output, context) => {
|
|
1977
1957
|
return {
|
|
1978
|
-
resourceGroup: output.resourceGroup
|
|
1979
|
-
? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context)
|
|
1980
|
-
: undefined,
|
|
1958
|
+
resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
|
|
1981
1959
|
};
|
|
1982
1960
|
};
|
|
1983
1961
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1984
1962
|
return {
|
|
1985
1963
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1986
|
-
associationTime: output.associationTime
|
|
1987
|
-
|
|
1988
|
-
: undefined,
|
|
1989
|
-
integrations: output.integrations !== undefined && output.integrations !== null
|
|
1964
|
+
associationTime: output.associationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.associationTime)) : undefined,
|
|
1965
|
+
integrations: output.integrations != null
|
|
1990
1966
|
? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
|
|
1991
1967
|
: undefined,
|
|
1992
1968
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -2007,9 +1983,7 @@ const deserializeAws_restJson1ResourceInfo = (output, context) => {
|
|
|
2007
1983
|
};
|
|
2008
1984
|
const deserializeAws_restJson1ResourceIntegrations = (output, context) => {
|
|
2009
1985
|
return {
|
|
2010
|
-
resourceGroup: output.resourceGroup
|
|
2011
|
-
? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context)
|
|
2012
|
-
: undefined,
|
|
1986
|
+
resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
|
|
2013
1987
|
};
|
|
2014
1988
|
};
|
|
2015
1989
|
const deserializeAws_restJson1Resources = (output, context) => {
|
|
@@ -2065,6 +2039,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2065
2039
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2066
2040
|
const sanitizeErrorCode = (rawValue) => {
|
|
2067
2041
|
let cleanValue = rawValue;
|
|
2042
|
+
if (typeof cleanValue === "number") {
|
|
2043
|
+
cleanValue = cleanValue.toString();
|
|
2044
|
+
}
|
|
2068
2045
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2069
2046
|
cleanValue = cleanValue.split(":")[0];
|
|
2070
2047
|
}
|
|
@@ -110,7 +110,7 @@ export var serializeAws_restJson1CreateApplicationCommand = function (input, con
|
|
|
110
110
|
"content-type": "application/json",
|
|
111
111
|
};
|
|
112
112
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
|
|
113
|
-
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.description
|
|
113
|
+
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
|
|
114
114
|
return [2, new __HttpRequest({
|
|
115
115
|
protocol: protocol,
|
|
116
116
|
hostname: hostname,
|
|
@@ -135,7 +135,7 @@ export var serializeAws_restJson1CreateAttributeGroupCommand = function (input,
|
|
|
135
135
|
"content-type": "application/json",
|
|
136
136
|
};
|
|
137
137
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups";
|
|
138
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.attributes
|
|
138
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.attributes != null && { attributes: input.attributes })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
|
|
139
139
|
return [2, new __HttpRequest({
|
|
140
140
|
protocol: protocol,
|
|
141
141
|
hostname: hostname,
|
|
@@ -658,7 +658,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
658
658
|
else {
|
|
659
659
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
660
660
|
}
|
|
661
|
-
body = JSON.stringify(__assign({}, (input.tags
|
|
661
|
+
body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
|
|
662
662
|
return [2, new __HttpRequest({
|
|
663
663
|
protocol: protocol,
|
|
664
664
|
hostname: hostname,
|
|
@@ -725,7 +725,7 @@ export var serializeAws_restJson1UpdateApplicationCommand = function (input, con
|
|
|
725
725
|
else {
|
|
726
726
|
throw new Error("No value provided for input HTTP label: application.");
|
|
727
727
|
}
|
|
728
|
-
body = JSON.stringify(__assign(__assign({}, (input.description
|
|
728
|
+
body = JSON.stringify(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })));
|
|
729
729
|
return [2, new __HttpRequest({
|
|
730
730
|
protocol: protocol,
|
|
731
731
|
hostname: hostname,
|
|
@@ -759,7 +759,7 @@ export var serializeAws_restJson1UpdateAttributeGroupCommand = function (input,
|
|
|
759
759
|
else {
|
|
760
760
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
761
761
|
}
|
|
762
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.attributes
|
|
762
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.attributes != null && { attributes: input.attributes })), (input.description != null && { description: input.description })), (input.name != null && { name: input.name })));
|
|
763
763
|
return [2, new __HttpRequest({
|
|
764
764
|
protocol: protocol,
|
|
765
765
|
hostname: hostname,
|
|
@@ -2399,18 +2399,12 @@ var serializeAws_restJson1Tags = function (input, context) {
|
|
|
2399
2399
|
var deserializeAws_restJson1Application = function (output, context) {
|
|
2400
2400
|
return {
|
|
2401
2401
|
arn: __expectString(output.arn),
|
|
2402
|
-
creationTime: output.creationTime
|
|
2403
|
-
? __expectNonNull(__parseRfc3339DateTime(output.creationTime))
|
|
2404
|
-
: undefined,
|
|
2402
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
|
|
2405
2403
|
description: __expectString(output.description),
|
|
2406
2404
|
id: __expectString(output.id),
|
|
2407
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2408
|
-
? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime))
|
|
2409
|
-
: undefined,
|
|
2405
|
+
lastUpdateTime: output.lastUpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime)) : undefined,
|
|
2410
2406
|
name: __expectString(output.name),
|
|
2411
|
-
tags: output.tags
|
|
2412
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2413
|
-
: undefined,
|
|
2407
|
+
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
2414
2408
|
};
|
|
2415
2409
|
};
|
|
2416
2410
|
var deserializeAws_restJson1ApplicationSummaries = function (output, context) {
|
|
@@ -2427,32 +2421,22 @@ var deserializeAws_restJson1ApplicationSummaries = function (output, context) {
|
|
|
2427
2421
|
var deserializeAws_restJson1ApplicationSummary = function (output, context) {
|
|
2428
2422
|
return {
|
|
2429
2423
|
arn: __expectString(output.arn),
|
|
2430
|
-
creationTime: output.creationTime
|
|
2431
|
-
? __expectNonNull(__parseRfc3339DateTime(output.creationTime))
|
|
2432
|
-
: undefined,
|
|
2424
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
|
|
2433
2425
|
description: __expectString(output.description),
|
|
2434
2426
|
id: __expectString(output.id),
|
|
2435
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2436
|
-
? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime))
|
|
2437
|
-
: undefined,
|
|
2427
|
+
lastUpdateTime: output.lastUpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime)) : undefined,
|
|
2438
2428
|
name: __expectString(output.name),
|
|
2439
2429
|
};
|
|
2440
2430
|
};
|
|
2441
2431
|
var deserializeAws_restJson1AttributeGroup = function (output, context) {
|
|
2442
2432
|
return {
|
|
2443
2433
|
arn: __expectString(output.arn),
|
|
2444
|
-
creationTime: output.creationTime
|
|
2445
|
-
? __expectNonNull(__parseRfc3339DateTime(output.creationTime))
|
|
2446
|
-
: undefined,
|
|
2434
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
|
|
2447
2435
|
description: __expectString(output.description),
|
|
2448
2436
|
id: __expectString(output.id),
|
|
2449
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2450
|
-
? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime))
|
|
2451
|
-
: undefined,
|
|
2437
|
+
lastUpdateTime: output.lastUpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime)) : undefined,
|
|
2452
2438
|
name: __expectString(output.name),
|
|
2453
|
-
tags: output.tags
|
|
2454
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2455
|
-
: undefined,
|
|
2439
|
+
tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
2456
2440
|
};
|
|
2457
2441
|
};
|
|
2458
2442
|
var deserializeAws_restJson1AttributeGroupDetails = function (output, context) {
|
|
@@ -2498,31 +2482,23 @@ var deserializeAws_restJson1AttributeGroupSummaries = function (output, context)
|
|
|
2498
2482
|
var deserializeAws_restJson1AttributeGroupSummary = function (output, context) {
|
|
2499
2483
|
return {
|
|
2500
2484
|
arn: __expectString(output.arn),
|
|
2501
|
-
creationTime: output.creationTime
|
|
2502
|
-
? __expectNonNull(__parseRfc3339DateTime(output.creationTime))
|
|
2503
|
-
: undefined,
|
|
2485
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
|
|
2504
2486
|
description: __expectString(output.description),
|
|
2505
2487
|
id: __expectString(output.id),
|
|
2506
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2507
|
-
? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime))
|
|
2508
|
-
: undefined,
|
|
2488
|
+
lastUpdateTime: output.lastUpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdateTime)) : undefined,
|
|
2509
2489
|
name: __expectString(output.name),
|
|
2510
2490
|
};
|
|
2511
2491
|
};
|
|
2512
2492
|
var deserializeAws_restJson1Integrations = function (output, context) {
|
|
2513
2493
|
return {
|
|
2514
|
-
resourceGroup: output.resourceGroup
|
|
2515
|
-
? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context)
|
|
2516
|
-
: undefined,
|
|
2494
|
+
resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
|
|
2517
2495
|
};
|
|
2518
2496
|
};
|
|
2519
2497
|
var deserializeAws_restJson1Resource = function (output, context) {
|
|
2520
2498
|
return {
|
|
2521
2499
|
arn: __expectString(output.arn),
|
|
2522
|
-
associationTime: output.associationTime
|
|
2523
|
-
|
|
2524
|
-
: undefined,
|
|
2525
|
-
integrations: output.integrations !== undefined && output.integrations !== null
|
|
2500
|
+
associationTime: output.associationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.associationTime)) : undefined,
|
|
2501
|
+
integrations: output.integrations != null
|
|
2526
2502
|
? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
|
|
2527
2503
|
: undefined,
|
|
2528
2504
|
name: __expectString(output.name),
|
|
@@ -2543,9 +2519,7 @@ var deserializeAws_restJson1ResourceInfo = function (output, context) {
|
|
|
2543
2519
|
};
|
|
2544
2520
|
var deserializeAws_restJson1ResourceIntegrations = function (output, context) {
|
|
2545
2521
|
return {
|
|
2546
|
-
resourceGroup: output.resourceGroup
|
|
2547
|
-
? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context)
|
|
2548
|
-
: undefined,
|
|
2522
|
+
resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
|
|
2549
2523
|
};
|
|
2550
2524
|
};
|
|
2551
2525
|
var deserializeAws_restJson1Resources = function (output, context) {
|
|
@@ -2607,6 +2581,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2607
2581
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2608
2582
|
var sanitizeErrorCode = function (rawValue) {
|
|
2609
2583
|
var cleanValue = rawValue;
|
|
2584
|
+
if (typeof cleanValue === "number") {
|
|
2585
|
+
cleanValue = cleanValue.toString();
|
|
2586
|
+
}
|
|
2610
2587
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2611
2588
|
cleanValue = cleanValue.split(":")[0];
|
|
2612
2589
|
}
|
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.130.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|