@aws-sdk/client-securityhub 3.28.0 → 3.32.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 +35 -0
- package/dist/cjs/models/models_0.js +209 -209
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js +207 -4
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +1022 -219
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +159 -159
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js +159 -0
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +1061 -326
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/models/models_0.d.ts +882 -763
- package/dist/types/models/models_1.d.ts +653 -16
- package/dist/types/ts3.4/models/models_0.d.ts +882 -763
- package/dist/types/ts3.4/models/models_1.d.ts +653 -16
- package/models/models_0.ts +991 -852
- package/models/models_1.ts +817 -24
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +1418 -276
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseRfc3339DateTime as __parseRfc3339DateTime, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_restJson1AcceptAdministratorInvitationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
6
6
|
return __generator(this, function (_c) {
|
|
@@ -1567,9 +1567,9 @@ var deserializeAws_restJson1AcceptInvitationCommandError = function (output, con
|
|
|
1567
1567
|
});
|
|
1568
1568
|
}); };
|
|
1569
1569
|
export var deserializeAws_restJson1BatchDisableStandardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1570
|
-
var contents, data;
|
|
1571
|
-
return __generator(this, function (
|
|
1572
|
-
switch (
|
|
1570
|
+
var contents, data, _a, _b;
|
|
1571
|
+
return __generator(this, function (_c) {
|
|
1572
|
+
switch (_c.label) {
|
|
1573
1573
|
case 0:
|
|
1574
1574
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1575
1575
|
return [2 /*return*/, deserializeAws_restJson1BatchDisableStandardsCommandError(output, context)];
|
|
@@ -1578,9 +1578,11 @@ export var deserializeAws_restJson1BatchDisableStandardsCommand = function (outp
|
|
|
1578
1578
|
$metadata: deserializeMetadata(output),
|
|
1579
1579
|
StandardsSubscriptions: undefined,
|
|
1580
1580
|
};
|
|
1581
|
+
_a = __expectNonNull;
|
|
1582
|
+
_b = __expectObject;
|
|
1581
1583
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1582
1584
|
case 1:
|
|
1583
|
-
data = _a.sent();
|
|
1585
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1584
1586
|
if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
|
|
1585
1587
|
contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(data.StandardsSubscriptions, context);
|
|
1586
1588
|
}
|
|
@@ -1651,9 +1653,9 @@ var deserializeAws_restJson1BatchDisableStandardsCommandError = function (output
|
|
|
1651
1653
|
});
|
|
1652
1654
|
}); };
|
|
1653
1655
|
export var deserializeAws_restJson1BatchEnableStandardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1654
|
-
var contents, data;
|
|
1655
|
-
return __generator(this, function (
|
|
1656
|
-
switch (
|
|
1656
|
+
var contents, data, _a, _b;
|
|
1657
|
+
return __generator(this, function (_c) {
|
|
1658
|
+
switch (_c.label) {
|
|
1657
1659
|
case 0:
|
|
1658
1660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1659
1661
|
return [2 /*return*/, deserializeAws_restJson1BatchEnableStandardsCommandError(output, context)];
|
|
@@ -1662,9 +1664,11 @@ export var deserializeAws_restJson1BatchEnableStandardsCommand = function (outpu
|
|
|
1662
1664
|
$metadata: deserializeMetadata(output),
|
|
1663
1665
|
StandardsSubscriptions: undefined,
|
|
1664
1666
|
};
|
|
1667
|
+
_a = __expectNonNull;
|
|
1668
|
+
_b = __expectObject;
|
|
1665
1669
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1666
1670
|
case 1:
|
|
1667
|
-
data = _a.sent();
|
|
1671
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1668
1672
|
if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
|
|
1669
1673
|
contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(data.StandardsSubscriptions, context);
|
|
1670
1674
|
}
|
|
@@ -1735,9 +1739,9 @@ var deserializeAws_restJson1BatchEnableStandardsCommandError = function (output,
|
|
|
1735
1739
|
});
|
|
1736
1740
|
}); };
|
|
1737
1741
|
export var deserializeAws_restJson1BatchImportFindingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1738
|
-
var contents, data;
|
|
1739
|
-
return __generator(this, function (
|
|
1740
|
-
switch (
|
|
1742
|
+
var contents, data, _a, _b;
|
|
1743
|
+
return __generator(this, function (_c) {
|
|
1744
|
+
switch (_c.label) {
|
|
1741
1745
|
case 0:
|
|
1742
1746
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1743
1747
|
return [2 /*return*/, deserializeAws_restJson1BatchImportFindingsCommandError(output, context)];
|
|
@@ -1748,17 +1752,19 @@ export var deserializeAws_restJson1BatchImportFindingsCommand = function (output
|
|
|
1748
1752
|
FailedFindings: undefined,
|
|
1749
1753
|
SuccessCount: undefined,
|
|
1750
1754
|
};
|
|
1755
|
+
_a = __expectNonNull;
|
|
1756
|
+
_b = __expectObject;
|
|
1751
1757
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1752
1758
|
case 1:
|
|
1753
|
-
data = _a.sent();
|
|
1759
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1754
1760
|
if (data.FailedCount !== undefined && data.FailedCount !== null) {
|
|
1755
|
-
contents.FailedCount =
|
|
1761
|
+
contents.FailedCount = __expectInt32(data.FailedCount);
|
|
1756
1762
|
}
|
|
1757
1763
|
if (data.FailedFindings !== undefined && data.FailedFindings !== null) {
|
|
1758
1764
|
contents.FailedFindings = deserializeAws_restJson1ImportFindingsErrorList(data.FailedFindings, context);
|
|
1759
1765
|
}
|
|
1760
1766
|
if (data.SuccessCount !== undefined && data.SuccessCount !== null) {
|
|
1761
|
-
contents.SuccessCount =
|
|
1767
|
+
contents.SuccessCount = __expectInt32(data.SuccessCount);
|
|
1762
1768
|
}
|
|
1763
1769
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
1764
1770
|
}
|
|
@@ -1827,9 +1833,9 @@ var deserializeAws_restJson1BatchImportFindingsCommandError = function (output,
|
|
|
1827
1833
|
});
|
|
1828
1834
|
}); };
|
|
1829
1835
|
export var deserializeAws_restJson1BatchUpdateFindingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1830
|
-
var contents, data;
|
|
1831
|
-
return __generator(this, function (
|
|
1832
|
-
switch (
|
|
1836
|
+
var contents, data, _a, _b;
|
|
1837
|
+
return __generator(this, function (_c) {
|
|
1838
|
+
switch (_c.label) {
|
|
1833
1839
|
case 0:
|
|
1834
1840
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1835
1841
|
return [2 /*return*/, deserializeAws_restJson1BatchUpdateFindingsCommandError(output, context)];
|
|
@@ -1839,9 +1845,11 @@ export var deserializeAws_restJson1BatchUpdateFindingsCommand = function (output
|
|
|
1839
1845
|
ProcessedFindings: undefined,
|
|
1840
1846
|
UnprocessedFindings: undefined,
|
|
1841
1847
|
};
|
|
1848
|
+
_a = __expectNonNull;
|
|
1849
|
+
_b = __expectObject;
|
|
1842
1850
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1843
1851
|
case 1:
|
|
1844
|
-
data = _a.sent();
|
|
1852
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1845
1853
|
if (data.ProcessedFindings !== undefined && data.ProcessedFindings !== null) {
|
|
1846
1854
|
contents.ProcessedFindings = deserializeAws_restJson1AwsSecurityFindingIdentifierList(data.ProcessedFindings, context);
|
|
1847
1855
|
}
|
|
@@ -1915,9 +1923,9 @@ var deserializeAws_restJson1BatchUpdateFindingsCommandError = function (output,
|
|
|
1915
1923
|
});
|
|
1916
1924
|
}); };
|
|
1917
1925
|
export var deserializeAws_restJson1CreateActionTargetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1918
|
-
var contents, data;
|
|
1919
|
-
return __generator(this, function (
|
|
1920
|
-
switch (
|
|
1926
|
+
var contents, data, _a, _b;
|
|
1927
|
+
return __generator(this, function (_c) {
|
|
1928
|
+
switch (_c.label) {
|
|
1921
1929
|
case 0:
|
|
1922
1930
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1923
1931
|
return [2 /*return*/, deserializeAws_restJson1CreateActionTargetCommandError(output, context)];
|
|
@@ -1926,9 +1934,11 @@ export var deserializeAws_restJson1CreateActionTargetCommand = function (output,
|
|
|
1926
1934
|
$metadata: deserializeMetadata(output),
|
|
1927
1935
|
ActionTargetArn: undefined,
|
|
1928
1936
|
};
|
|
1937
|
+
_a = __expectNonNull;
|
|
1938
|
+
_b = __expectObject;
|
|
1929
1939
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1930
1940
|
case 1:
|
|
1931
|
-
data = _a.sent();
|
|
1941
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1932
1942
|
if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
|
|
1933
1943
|
contents.ActionTargetArn = __expectString(data.ActionTargetArn);
|
|
1934
1944
|
}
|
|
@@ -2007,9 +2017,9 @@ var deserializeAws_restJson1CreateActionTargetCommandError = function (output, c
|
|
|
2007
2017
|
});
|
|
2008
2018
|
}); };
|
|
2009
2019
|
export var deserializeAws_restJson1CreateInsightCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2010
|
-
var contents, data;
|
|
2011
|
-
return __generator(this, function (
|
|
2012
|
-
switch (
|
|
2020
|
+
var contents, data, _a, _b;
|
|
2021
|
+
return __generator(this, function (_c) {
|
|
2022
|
+
switch (_c.label) {
|
|
2013
2023
|
case 0:
|
|
2014
2024
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2015
2025
|
return [2 /*return*/, deserializeAws_restJson1CreateInsightCommandError(output, context)];
|
|
@@ -2018,9 +2028,11 @@ export var deserializeAws_restJson1CreateInsightCommand = function (output, cont
|
|
|
2018
2028
|
$metadata: deserializeMetadata(output),
|
|
2019
2029
|
InsightArn: undefined,
|
|
2020
2030
|
};
|
|
2031
|
+
_a = __expectNonNull;
|
|
2032
|
+
_b = __expectObject;
|
|
2021
2033
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2022
2034
|
case 1:
|
|
2023
|
-
data = _a.sent();
|
|
2035
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2024
2036
|
if (data.InsightArn !== undefined && data.InsightArn !== null) {
|
|
2025
2037
|
contents.InsightArn = __expectString(data.InsightArn);
|
|
2026
2038
|
}
|
|
@@ -2099,9 +2111,9 @@ var deserializeAws_restJson1CreateInsightCommandError = function (output, contex
|
|
|
2099
2111
|
});
|
|
2100
2112
|
}); };
|
|
2101
2113
|
export var deserializeAws_restJson1CreateMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2102
|
-
var contents, data;
|
|
2103
|
-
return __generator(this, function (
|
|
2104
|
-
switch (
|
|
2114
|
+
var contents, data, _a, _b;
|
|
2115
|
+
return __generator(this, function (_c) {
|
|
2116
|
+
switch (_c.label) {
|
|
2105
2117
|
case 0:
|
|
2106
2118
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2107
2119
|
return [2 /*return*/, deserializeAws_restJson1CreateMembersCommandError(output, context)];
|
|
@@ -2110,9 +2122,11 @@ export var deserializeAws_restJson1CreateMembersCommand = function (output, cont
|
|
|
2110
2122
|
$metadata: deserializeMetadata(output),
|
|
2111
2123
|
UnprocessedAccounts: undefined,
|
|
2112
2124
|
};
|
|
2125
|
+
_a = __expectNonNull;
|
|
2126
|
+
_b = __expectObject;
|
|
2113
2127
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2114
2128
|
case 1:
|
|
2115
|
-
data = _a.sent();
|
|
2129
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2116
2130
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2117
2131
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2118
2132
|
}
|
|
@@ -2191,9 +2205,9 @@ var deserializeAws_restJson1CreateMembersCommandError = function (output, contex
|
|
|
2191
2205
|
});
|
|
2192
2206
|
}); };
|
|
2193
2207
|
export var deserializeAws_restJson1DeclineInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2194
|
-
var contents, data;
|
|
2195
|
-
return __generator(this, function (
|
|
2196
|
-
switch (
|
|
2208
|
+
var contents, data, _a, _b;
|
|
2209
|
+
return __generator(this, function (_c) {
|
|
2210
|
+
switch (_c.label) {
|
|
2197
2211
|
case 0:
|
|
2198
2212
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2199
2213
|
return [2 /*return*/, deserializeAws_restJson1DeclineInvitationsCommandError(output, context)];
|
|
@@ -2202,9 +2216,11 @@ export var deserializeAws_restJson1DeclineInvitationsCommand = function (output,
|
|
|
2202
2216
|
$metadata: deserializeMetadata(output),
|
|
2203
2217
|
UnprocessedAccounts: undefined,
|
|
2204
2218
|
};
|
|
2219
|
+
_a = __expectNonNull;
|
|
2220
|
+
_b = __expectObject;
|
|
2205
2221
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2206
2222
|
case 1:
|
|
2207
|
-
data = _a.sent();
|
|
2223
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2208
2224
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2209
2225
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2210
2226
|
}
|
|
@@ -2275,9 +2291,9 @@ var deserializeAws_restJson1DeclineInvitationsCommandError = function (output, c
|
|
|
2275
2291
|
});
|
|
2276
2292
|
}); };
|
|
2277
2293
|
export var deserializeAws_restJson1DeleteActionTargetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2278
|
-
var contents, data;
|
|
2279
|
-
return __generator(this, function (
|
|
2280
|
-
switch (
|
|
2294
|
+
var contents, data, _a, _b;
|
|
2295
|
+
return __generator(this, function (_c) {
|
|
2296
|
+
switch (_c.label) {
|
|
2281
2297
|
case 0:
|
|
2282
2298
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2283
2299
|
return [2 /*return*/, deserializeAws_restJson1DeleteActionTargetCommandError(output, context)];
|
|
@@ -2286,9 +2302,11 @@ export var deserializeAws_restJson1DeleteActionTargetCommand = function (output,
|
|
|
2286
2302
|
$metadata: deserializeMetadata(output),
|
|
2287
2303
|
ActionTargetArn: undefined,
|
|
2288
2304
|
};
|
|
2305
|
+
_a = __expectNonNull;
|
|
2306
|
+
_b = __expectObject;
|
|
2289
2307
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2290
2308
|
case 1:
|
|
2291
|
-
data = _a.sent();
|
|
2309
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2292
2310
|
if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
|
|
2293
2311
|
contents.ActionTargetArn = __expectString(data.ActionTargetArn);
|
|
2294
2312
|
}
|
|
@@ -2359,9 +2377,9 @@ var deserializeAws_restJson1DeleteActionTargetCommandError = function (output, c
|
|
|
2359
2377
|
});
|
|
2360
2378
|
}); };
|
|
2361
2379
|
export var deserializeAws_restJson1DeleteInsightCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2362
|
-
var contents, data;
|
|
2363
|
-
return __generator(this, function (
|
|
2364
|
-
switch (
|
|
2380
|
+
var contents, data, _a, _b;
|
|
2381
|
+
return __generator(this, function (_c) {
|
|
2382
|
+
switch (_c.label) {
|
|
2365
2383
|
case 0:
|
|
2366
2384
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2367
2385
|
return [2 /*return*/, deserializeAws_restJson1DeleteInsightCommandError(output, context)];
|
|
@@ -2370,9 +2388,11 @@ export var deserializeAws_restJson1DeleteInsightCommand = function (output, cont
|
|
|
2370
2388
|
$metadata: deserializeMetadata(output),
|
|
2371
2389
|
InsightArn: undefined,
|
|
2372
2390
|
};
|
|
2391
|
+
_a = __expectNonNull;
|
|
2392
|
+
_b = __expectObject;
|
|
2373
2393
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2374
2394
|
case 1:
|
|
2375
|
-
data = _a.sent();
|
|
2395
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2376
2396
|
if (data.InsightArn !== undefined && data.InsightArn !== null) {
|
|
2377
2397
|
contents.InsightArn = __expectString(data.InsightArn);
|
|
2378
2398
|
}
|
|
@@ -2451,9 +2471,9 @@ var deserializeAws_restJson1DeleteInsightCommandError = function (output, contex
|
|
|
2451
2471
|
});
|
|
2452
2472
|
}); };
|
|
2453
2473
|
export var deserializeAws_restJson1DeleteInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2454
|
-
var contents, data;
|
|
2455
|
-
return __generator(this, function (
|
|
2456
|
-
switch (
|
|
2474
|
+
var contents, data, _a, _b;
|
|
2475
|
+
return __generator(this, function (_c) {
|
|
2476
|
+
switch (_c.label) {
|
|
2457
2477
|
case 0:
|
|
2458
2478
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2459
2479
|
return [2 /*return*/, deserializeAws_restJson1DeleteInvitationsCommandError(output, context)];
|
|
@@ -2462,9 +2482,11 @@ export var deserializeAws_restJson1DeleteInvitationsCommand = function (output,
|
|
|
2462
2482
|
$metadata: deserializeMetadata(output),
|
|
2463
2483
|
UnprocessedAccounts: undefined,
|
|
2464
2484
|
};
|
|
2485
|
+
_a = __expectNonNull;
|
|
2486
|
+
_b = __expectObject;
|
|
2465
2487
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2466
2488
|
case 1:
|
|
2467
|
-
data = _a.sent();
|
|
2489
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2468
2490
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2469
2491
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2470
2492
|
}
|
|
@@ -2543,9 +2565,9 @@ var deserializeAws_restJson1DeleteInvitationsCommandError = function (output, co
|
|
|
2543
2565
|
});
|
|
2544
2566
|
}); };
|
|
2545
2567
|
export var deserializeAws_restJson1DeleteMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2546
|
-
var contents, data;
|
|
2547
|
-
return __generator(this, function (
|
|
2548
|
-
switch (
|
|
2568
|
+
var contents, data, _a, _b;
|
|
2569
|
+
return __generator(this, function (_c) {
|
|
2570
|
+
switch (_c.label) {
|
|
2549
2571
|
case 0:
|
|
2550
2572
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2551
2573
|
return [2 /*return*/, deserializeAws_restJson1DeleteMembersCommandError(output, context)];
|
|
@@ -2554,9 +2576,11 @@ export var deserializeAws_restJson1DeleteMembersCommand = function (output, cont
|
|
|
2554
2576
|
$metadata: deserializeMetadata(output),
|
|
2555
2577
|
UnprocessedAccounts: undefined,
|
|
2556
2578
|
};
|
|
2579
|
+
_a = __expectNonNull;
|
|
2580
|
+
_b = __expectObject;
|
|
2557
2581
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2558
2582
|
case 1:
|
|
2559
|
-
data = _a.sent();
|
|
2583
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2560
2584
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2561
2585
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2562
2586
|
}
|
|
@@ -2635,9 +2659,9 @@ var deserializeAws_restJson1DeleteMembersCommandError = function (output, contex
|
|
|
2635
2659
|
});
|
|
2636
2660
|
}); };
|
|
2637
2661
|
export var deserializeAws_restJson1DescribeActionTargetsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2638
|
-
var contents, data;
|
|
2639
|
-
return __generator(this, function (
|
|
2640
|
-
switch (
|
|
2662
|
+
var contents, data, _a, _b;
|
|
2663
|
+
return __generator(this, function (_c) {
|
|
2664
|
+
switch (_c.label) {
|
|
2641
2665
|
case 0:
|
|
2642
2666
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2643
2667
|
return [2 /*return*/, deserializeAws_restJson1DescribeActionTargetsCommandError(output, context)];
|
|
@@ -2647,9 +2671,11 @@ export var deserializeAws_restJson1DescribeActionTargetsCommand = function (outp
|
|
|
2647
2671
|
ActionTargets: undefined,
|
|
2648
2672
|
NextToken: undefined,
|
|
2649
2673
|
};
|
|
2674
|
+
_a = __expectNonNull;
|
|
2675
|
+
_b = __expectObject;
|
|
2650
2676
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2651
2677
|
case 1:
|
|
2652
|
-
data = _a.sent();
|
|
2678
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2653
2679
|
if (data.ActionTargets !== undefined && data.ActionTargets !== null) {
|
|
2654
2680
|
contents.ActionTargets = deserializeAws_restJson1ActionTargetList(data.ActionTargets, context);
|
|
2655
2681
|
}
|
|
@@ -2723,9 +2749,9 @@ var deserializeAws_restJson1DescribeActionTargetsCommandError = function (output
|
|
|
2723
2749
|
});
|
|
2724
2750
|
}); };
|
|
2725
2751
|
export var deserializeAws_restJson1DescribeHubCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2726
|
-
var contents, data;
|
|
2727
|
-
return __generator(this, function (
|
|
2728
|
-
switch (
|
|
2752
|
+
var contents, data, _a, _b;
|
|
2753
|
+
return __generator(this, function (_c) {
|
|
2754
|
+
switch (_c.label) {
|
|
2729
2755
|
case 0:
|
|
2730
2756
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2731
2757
|
return [2 /*return*/, deserializeAws_restJson1DescribeHubCommandError(output, context)];
|
|
@@ -2736,9 +2762,11 @@ export var deserializeAws_restJson1DescribeHubCommand = function (output, contex
|
|
|
2736
2762
|
HubArn: undefined,
|
|
2737
2763
|
SubscribedAt: undefined,
|
|
2738
2764
|
};
|
|
2765
|
+
_a = __expectNonNull;
|
|
2766
|
+
_b = __expectObject;
|
|
2739
2767
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2740
2768
|
case 1:
|
|
2741
|
-
data = _a.sent();
|
|
2769
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2742
2770
|
if (data.AutoEnableControls !== undefined && data.AutoEnableControls !== null) {
|
|
2743
2771
|
contents.AutoEnableControls = __expectBoolean(data.AutoEnableControls);
|
|
2744
2772
|
}
|
|
@@ -2823,9 +2851,9 @@ var deserializeAws_restJson1DescribeHubCommandError = function (output, context)
|
|
|
2823
2851
|
});
|
|
2824
2852
|
}); };
|
|
2825
2853
|
export var deserializeAws_restJson1DescribeOrganizationConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2826
|
-
var contents, data;
|
|
2827
|
-
return __generator(this, function (
|
|
2828
|
-
switch (
|
|
2854
|
+
var contents, data, _a, _b;
|
|
2855
|
+
return __generator(this, function (_c) {
|
|
2856
|
+
switch (_c.label) {
|
|
2829
2857
|
case 0:
|
|
2830
2858
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2831
2859
|
return [2 /*return*/, deserializeAws_restJson1DescribeOrganizationConfigurationCommandError(output, context)];
|
|
@@ -2835,9 +2863,11 @@ export var deserializeAws_restJson1DescribeOrganizationConfigurationCommand = fu
|
|
|
2835
2863
|
AutoEnable: undefined,
|
|
2836
2864
|
MemberAccountLimitReached: undefined,
|
|
2837
2865
|
};
|
|
2866
|
+
_a = __expectNonNull;
|
|
2867
|
+
_b = __expectObject;
|
|
2838
2868
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2839
2869
|
case 1:
|
|
2840
|
-
data = _a.sent();
|
|
2870
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2841
2871
|
if (data.AutoEnable !== undefined && data.AutoEnable !== null) {
|
|
2842
2872
|
contents.AutoEnable = __expectBoolean(data.AutoEnable);
|
|
2843
2873
|
}
|
|
@@ -2911,9 +2941,9 @@ var deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = func
|
|
|
2911
2941
|
});
|
|
2912
2942
|
}); };
|
|
2913
2943
|
export var deserializeAws_restJson1DescribeProductsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2914
|
-
var contents, data;
|
|
2915
|
-
return __generator(this, function (
|
|
2916
|
-
switch (
|
|
2944
|
+
var contents, data, _a, _b;
|
|
2945
|
+
return __generator(this, function (_c) {
|
|
2946
|
+
switch (_c.label) {
|
|
2917
2947
|
case 0:
|
|
2918
2948
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2919
2949
|
return [2 /*return*/, deserializeAws_restJson1DescribeProductsCommandError(output, context)];
|
|
@@ -2923,9 +2953,11 @@ export var deserializeAws_restJson1DescribeProductsCommand = function (output, c
|
|
|
2923
2953
|
NextToken: undefined,
|
|
2924
2954
|
Products: undefined,
|
|
2925
2955
|
};
|
|
2956
|
+
_a = __expectNonNull;
|
|
2957
|
+
_b = __expectObject;
|
|
2926
2958
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2927
2959
|
case 1:
|
|
2928
|
-
data = _a.sent();
|
|
2960
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2929
2961
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2930
2962
|
contents.NextToken = __expectString(data.NextToken);
|
|
2931
2963
|
}
|
|
@@ -2999,9 +3031,9 @@ var deserializeAws_restJson1DescribeProductsCommandError = function (output, con
|
|
|
2999
3031
|
});
|
|
3000
3032
|
}); };
|
|
3001
3033
|
export var deserializeAws_restJson1DescribeStandardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3002
|
-
var contents, data;
|
|
3003
|
-
return __generator(this, function (
|
|
3004
|
-
switch (
|
|
3034
|
+
var contents, data, _a, _b;
|
|
3035
|
+
return __generator(this, function (_c) {
|
|
3036
|
+
switch (_c.label) {
|
|
3005
3037
|
case 0:
|
|
3006
3038
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3007
3039
|
return [2 /*return*/, deserializeAws_restJson1DescribeStandardsCommandError(output, context)];
|
|
@@ -3011,9 +3043,11 @@ export var deserializeAws_restJson1DescribeStandardsCommand = function (output,
|
|
|
3011
3043
|
NextToken: undefined,
|
|
3012
3044
|
Standards: undefined,
|
|
3013
3045
|
};
|
|
3046
|
+
_a = __expectNonNull;
|
|
3047
|
+
_b = __expectObject;
|
|
3014
3048
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3015
3049
|
case 1:
|
|
3016
|
-
data = _a.sent();
|
|
3050
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3017
3051
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3018
3052
|
contents.NextToken = __expectString(data.NextToken);
|
|
3019
3053
|
}
|
|
@@ -3079,9 +3113,9 @@ var deserializeAws_restJson1DescribeStandardsCommandError = function (output, co
|
|
|
3079
3113
|
});
|
|
3080
3114
|
}); };
|
|
3081
3115
|
export var deserializeAws_restJson1DescribeStandardsControlsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3082
|
-
var contents, data;
|
|
3083
|
-
return __generator(this, function (
|
|
3084
|
-
switch (
|
|
3116
|
+
var contents, data, _a, _b;
|
|
3117
|
+
return __generator(this, function (_c) {
|
|
3118
|
+
switch (_c.label) {
|
|
3085
3119
|
case 0:
|
|
3086
3120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3087
3121
|
return [2 /*return*/, deserializeAws_restJson1DescribeStandardsControlsCommandError(output, context)];
|
|
@@ -3091,9 +3125,11 @@ export var deserializeAws_restJson1DescribeStandardsControlsCommand = function (
|
|
|
3091
3125
|
Controls: undefined,
|
|
3092
3126
|
NextToken: undefined,
|
|
3093
3127
|
};
|
|
3128
|
+
_a = __expectNonNull;
|
|
3129
|
+
_b = __expectObject;
|
|
3094
3130
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3095
3131
|
case 1:
|
|
3096
|
-
data = _a.sent();
|
|
3132
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3097
3133
|
if (data.Controls !== undefined && data.Controls !== null) {
|
|
3098
3134
|
contents.Controls = deserializeAws_restJson1StandardsControls(data.Controls, context);
|
|
3099
3135
|
}
|
|
@@ -3679,9 +3715,9 @@ var deserializeAws_restJson1DisassociateMembersCommandError = function (output,
|
|
|
3679
3715
|
});
|
|
3680
3716
|
}); };
|
|
3681
3717
|
export var deserializeAws_restJson1EnableImportFindingsForProductCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3682
|
-
var contents, data;
|
|
3683
|
-
return __generator(this, function (
|
|
3684
|
-
switch (
|
|
3718
|
+
var contents, data, _a, _b;
|
|
3719
|
+
return __generator(this, function (_c) {
|
|
3720
|
+
switch (_c.label) {
|
|
3685
3721
|
case 0:
|
|
3686
3722
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3687
3723
|
return [2 /*return*/, deserializeAws_restJson1EnableImportFindingsForProductCommandError(output, context)];
|
|
@@ -3690,9 +3726,11 @@ export var deserializeAws_restJson1EnableImportFindingsForProductCommand = funct
|
|
|
3690
3726
|
$metadata: deserializeMetadata(output),
|
|
3691
3727
|
ProductSubscriptionArn: undefined,
|
|
3692
3728
|
};
|
|
3729
|
+
_a = __expectNonNull;
|
|
3730
|
+
_b = __expectObject;
|
|
3693
3731
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3694
3732
|
case 1:
|
|
3695
|
-
data = _a.sent();
|
|
3733
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3696
3734
|
if (data.ProductSubscriptionArn !== undefined && data.ProductSubscriptionArn !== null) {
|
|
3697
3735
|
contents.ProductSubscriptionArn = __expectString(data.ProductSubscriptionArn);
|
|
3698
3736
|
}
|
|
@@ -3939,9 +3977,9 @@ var deserializeAws_restJson1EnableSecurityHubCommandError = function (output, co
|
|
|
3939
3977
|
});
|
|
3940
3978
|
}); };
|
|
3941
3979
|
export var deserializeAws_restJson1GetAdministratorAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3942
|
-
var contents, data;
|
|
3943
|
-
return __generator(this, function (
|
|
3944
|
-
switch (
|
|
3980
|
+
var contents, data, _a, _b;
|
|
3981
|
+
return __generator(this, function (_c) {
|
|
3982
|
+
switch (_c.label) {
|
|
3945
3983
|
case 0:
|
|
3946
3984
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3947
3985
|
return [2 /*return*/, deserializeAws_restJson1GetAdministratorAccountCommandError(output, context)];
|
|
@@ -3950,9 +3988,11 @@ export var deserializeAws_restJson1GetAdministratorAccountCommand = function (ou
|
|
|
3950
3988
|
$metadata: deserializeMetadata(output),
|
|
3951
3989
|
Administrator: undefined,
|
|
3952
3990
|
};
|
|
3991
|
+
_a = __expectNonNull;
|
|
3992
|
+
_b = __expectObject;
|
|
3953
3993
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3954
3994
|
case 1:
|
|
3955
|
-
data = _a.sent();
|
|
3995
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3956
3996
|
if (data.Administrator !== undefined && data.Administrator !== null) {
|
|
3957
3997
|
contents.Administrator = deserializeAws_restJson1Invitation(data.Administrator, context);
|
|
3958
3998
|
}
|
|
@@ -4031,9 +4071,9 @@ var deserializeAws_restJson1GetAdministratorAccountCommandError = function (outp
|
|
|
4031
4071
|
});
|
|
4032
4072
|
}); };
|
|
4033
4073
|
export var deserializeAws_restJson1GetEnabledStandardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4034
|
-
var contents, data;
|
|
4035
|
-
return __generator(this, function (
|
|
4036
|
-
switch (
|
|
4074
|
+
var contents, data, _a, _b;
|
|
4075
|
+
return __generator(this, function (_c) {
|
|
4076
|
+
switch (_c.label) {
|
|
4037
4077
|
case 0:
|
|
4038
4078
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4039
4079
|
return [2 /*return*/, deserializeAws_restJson1GetEnabledStandardsCommandError(output, context)];
|
|
@@ -4043,9 +4083,11 @@ export var deserializeAws_restJson1GetEnabledStandardsCommand = function (output
|
|
|
4043
4083
|
NextToken: undefined,
|
|
4044
4084
|
StandardsSubscriptions: undefined,
|
|
4045
4085
|
};
|
|
4086
|
+
_a = __expectNonNull;
|
|
4087
|
+
_b = __expectObject;
|
|
4046
4088
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4047
4089
|
case 1:
|
|
4048
|
-
data = _a.sent();
|
|
4090
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4049
4091
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4050
4092
|
contents.NextToken = __expectString(data.NextToken);
|
|
4051
4093
|
}
|
|
@@ -4119,9 +4161,9 @@ var deserializeAws_restJson1GetEnabledStandardsCommandError = function (output,
|
|
|
4119
4161
|
});
|
|
4120
4162
|
}); };
|
|
4121
4163
|
export var deserializeAws_restJson1GetFindingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4122
|
-
var contents, data;
|
|
4123
|
-
return __generator(this, function (
|
|
4124
|
-
switch (
|
|
4164
|
+
var contents, data, _a, _b;
|
|
4165
|
+
return __generator(this, function (_c) {
|
|
4166
|
+
switch (_c.label) {
|
|
4125
4167
|
case 0:
|
|
4126
4168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4127
4169
|
return [2 /*return*/, deserializeAws_restJson1GetFindingsCommandError(output, context)];
|
|
@@ -4131,9 +4173,11 @@ export var deserializeAws_restJson1GetFindingsCommand = function (output, contex
|
|
|
4131
4173
|
Findings: undefined,
|
|
4132
4174
|
NextToken: undefined,
|
|
4133
4175
|
};
|
|
4176
|
+
_a = __expectNonNull;
|
|
4177
|
+
_b = __expectObject;
|
|
4134
4178
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4135
4179
|
case 1:
|
|
4136
|
-
data = _a.sent();
|
|
4180
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4137
4181
|
if (data.Findings !== undefined && data.Findings !== null) {
|
|
4138
4182
|
contents.Findings = deserializeAws_restJson1AwsSecurityFindingList(data.Findings, context);
|
|
4139
4183
|
}
|
|
@@ -4207,9 +4251,9 @@ var deserializeAws_restJson1GetFindingsCommandError = function (output, context)
|
|
|
4207
4251
|
});
|
|
4208
4252
|
}); };
|
|
4209
4253
|
export var deserializeAws_restJson1GetInsightResultsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4210
|
-
var contents, data;
|
|
4211
|
-
return __generator(this, function (
|
|
4212
|
-
switch (
|
|
4254
|
+
var contents, data, _a, _b;
|
|
4255
|
+
return __generator(this, function (_c) {
|
|
4256
|
+
switch (_c.label) {
|
|
4213
4257
|
case 0:
|
|
4214
4258
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4215
4259
|
return [2 /*return*/, deserializeAws_restJson1GetInsightResultsCommandError(output, context)];
|
|
@@ -4218,9 +4262,11 @@ export var deserializeAws_restJson1GetInsightResultsCommand = function (output,
|
|
|
4218
4262
|
$metadata: deserializeMetadata(output),
|
|
4219
4263
|
InsightResults: undefined,
|
|
4220
4264
|
};
|
|
4265
|
+
_a = __expectNonNull;
|
|
4266
|
+
_b = __expectObject;
|
|
4221
4267
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4222
4268
|
case 1:
|
|
4223
|
-
data = _a.sent();
|
|
4269
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4224
4270
|
if (data.InsightResults !== undefined && data.InsightResults !== null) {
|
|
4225
4271
|
contents.InsightResults = deserializeAws_restJson1InsightResults(data.InsightResults, context);
|
|
4226
4272
|
}
|
|
@@ -4299,9 +4345,9 @@ var deserializeAws_restJson1GetInsightResultsCommandError = function (output, co
|
|
|
4299
4345
|
});
|
|
4300
4346
|
}); };
|
|
4301
4347
|
export var deserializeAws_restJson1GetInsightsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4302
|
-
var contents, data;
|
|
4303
|
-
return __generator(this, function (
|
|
4304
|
-
switch (
|
|
4348
|
+
var contents, data, _a, _b;
|
|
4349
|
+
return __generator(this, function (_c) {
|
|
4350
|
+
switch (_c.label) {
|
|
4305
4351
|
case 0:
|
|
4306
4352
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4307
4353
|
return [2 /*return*/, deserializeAws_restJson1GetInsightsCommandError(output, context)];
|
|
@@ -4311,9 +4357,11 @@ export var deserializeAws_restJson1GetInsightsCommand = function (output, contex
|
|
|
4311
4357
|
Insights: undefined,
|
|
4312
4358
|
NextToken: undefined,
|
|
4313
4359
|
};
|
|
4360
|
+
_a = __expectNonNull;
|
|
4361
|
+
_b = __expectObject;
|
|
4314
4362
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4315
4363
|
case 1:
|
|
4316
|
-
data = _a.sent();
|
|
4364
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4317
4365
|
if (data.Insights !== undefined && data.Insights !== null) {
|
|
4318
4366
|
contents.Insights = deserializeAws_restJson1InsightList(data.Insights, context);
|
|
4319
4367
|
}
|
|
@@ -4395,9 +4443,9 @@ var deserializeAws_restJson1GetInsightsCommandError = function (output, context)
|
|
|
4395
4443
|
});
|
|
4396
4444
|
}); };
|
|
4397
4445
|
export var deserializeAws_restJson1GetInvitationsCountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4398
|
-
var contents, data;
|
|
4399
|
-
return __generator(this, function (
|
|
4400
|
-
switch (
|
|
4446
|
+
var contents, data, _a, _b;
|
|
4447
|
+
return __generator(this, function (_c) {
|
|
4448
|
+
switch (_c.label) {
|
|
4401
4449
|
case 0:
|
|
4402
4450
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4403
4451
|
return [2 /*return*/, deserializeAws_restJson1GetInvitationsCountCommandError(output, context)];
|
|
@@ -4406,11 +4454,13 @@ export var deserializeAws_restJson1GetInvitationsCountCommand = function (output
|
|
|
4406
4454
|
$metadata: deserializeMetadata(output),
|
|
4407
4455
|
InvitationsCount: undefined,
|
|
4408
4456
|
};
|
|
4457
|
+
_a = __expectNonNull;
|
|
4458
|
+
_b = __expectObject;
|
|
4409
4459
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4410
4460
|
case 1:
|
|
4411
|
-
data = _a.sent();
|
|
4461
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4412
4462
|
if (data.InvitationsCount !== undefined && data.InvitationsCount !== null) {
|
|
4413
|
-
contents.InvitationsCount =
|
|
4463
|
+
contents.InvitationsCount = __expectInt32(data.InvitationsCount);
|
|
4414
4464
|
}
|
|
4415
4465
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
4416
4466
|
}
|
|
@@ -4479,9 +4529,9 @@ var deserializeAws_restJson1GetInvitationsCountCommandError = function (output,
|
|
|
4479
4529
|
});
|
|
4480
4530
|
}); };
|
|
4481
4531
|
export var deserializeAws_restJson1GetMasterAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4482
|
-
var contents, data;
|
|
4483
|
-
return __generator(this, function (
|
|
4484
|
-
switch (
|
|
4532
|
+
var contents, data, _a, _b;
|
|
4533
|
+
return __generator(this, function (_c) {
|
|
4534
|
+
switch (_c.label) {
|
|
4485
4535
|
case 0:
|
|
4486
4536
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4487
4537
|
return [2 /*return*/, deserializeAws_restJson1GetMasterAccountCommandError(output, context)];
|
|
@@ -4490,9 +4540,11 @@ export var deserializeAws_restJson1GetMasterAccountCommand = function (output, c
|
|
|
4490
4540
|
$metadata: deserializeMetadata(output),
|
|
4491
4541
|
Master: undefined,
|
|
4492
4542
|
};
|
|
4543
|
+
_a = __expectNonNull;
|
|
4544
|
+
_b = __expectObject;
|
|
4493
4545
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4494
4546
|
case 1:
|
|
4495
|
-
data = _a.sent();
|
|
4547
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4496
4548
|
if (data.Master !== undefined && data.Master !== null) {
|
|
4497
4549
|
contents.Master = deserializeAws_restJson1Invitation(data.Master, context);
|
|
4498
4550
|
}
|
|
@@ -4571,9 +4623,9 @@ var deserializeAws_restJson1GetMasterAccountCommandError = function (output, con
|
|
|
4571
4623
|
});
|
|
4572
4624
|
}); };
|
|
4573
4625
|
export var deserializeAws_restJson1GetMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4574
|
-
var contents, data;
|
|
4575
|
-
return __generator(this, function (
|
|
4576
|
-
switch (
|
|
4626
|
+
var contents, data, _a, _b;
|
|
4627
|
+
return __generator(this, function (_c) {
|
|
4628
|
+
switch (_c.label) {
|
|
4577
4629
|
case 0:
|
|
4578
4630
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4579
4631
|
return [2 /*return*/, deserializeAws_restJson1GetMembersCommandError(output, context)];
|
|
@@ -4583,9 +4635,11 @@ export var deserializeAws_restJson1GetMembersCommand = function (output, context
|
|
|
4583
4635
|
Members: undefined,
|
|
4584
4636
|
UnprocessedAccounts: undefined,
|
|
4585
4637
|
};
|
|
4638
|
+
_a = __expectNonNull;
|
|
4639
|
+
_b = __expectObject;
|
|
4586
4640
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4587
4641
|
case 1:
|
|
4588
|
-
data = _a.sent();
|
|
4642
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4589
4643
|
if (data.Members !== undefined && data.Members !== null) {
|
|
4590
4644
|
contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
|
|
4591
4645
|
}
|
|
@@ -4667,9 +4721,9 @@ var deserializeAws_restJson1GetMembersCommandError = function (output, context)
|
|
|
4667
4721
|
});
|
|
4668
4722
|
}); };
|
|
4669
4723
|
export var deserializeAws_restJson1InviteMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4670
|
-
var contents, data;
|
|
4671
|
-
return __generator(this, function (
|
|
4672
|
-
switch (
|
|
4724
|
+
var contents, data, _a, _b;
|
|
4725
|
+
return __generator(this, function (_c) {
|
|
4726
|
+
switch (_c.label) {
|
|
4673
4727
|
case 0:
|
|
4674
4728
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4675
4729
|
return [2 /*return*/, deserializeAws_restJson1InviteMembersCommandError(output, context)];
|
|
@@ -4678,9 +4732,11 @@ export var deserializeAws_restJson1InviteMembersCommand = function (output, cont
|
|
|
4678
4732
|
$metadata: deserializeMetadata(output),
|
|
4679
4733
|
UnprocessedAccounts: undefined,
|
|
4680
4734
|
};
|
|
4735
|
+
_a = __expectNonNull;
|
|
4736
|
+
_b = __expectObject;
|
|
4681
4737
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4682
4738
|
case 1:
|
|
4683
|
-
data = _a.sent();
|
|
4739
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4684
4740
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
4685
4741
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
4686
4742
|
}
|
|
@@ -4759,9 +4815,9 @@ var deserializeAws_restJson1InviteMembersCommandError = function (output, contex
|
|
|
4759
4815
|
});
|
|
4760
4816
|
}); };
|
|
4761
4817
|
export var deserializeAws_restJson1ListEnabledProductsForImportCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4762
|
-
var contents, data;
|
|
4763
|
-
return __generator(this, function (
|
|
4764
|
-
switch (
|
|
4818
|
+
var contents, data, _a, _b;
|
|
4819
|
+
return __generator(this, function (_c) {
|
|
4820
|
+
switch (_c.label) {
|
|
4765
4821
|
case 0:
|
|
4766
4822
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4767
4823
|
return [2 /*return*/, deserializeAws_restJson1ListEnabledProductsForImportCommandError(output, context)];
|
|
@@ -4771,9 +4827,11 @@ export var deserializeAws_restJson1ListEnabledProductsForImportCommand = functio
|
|
|
4771
4827
|
NextToken: undefined,
|
|
4772
4828
|
ProductSubscriptions: undefined,
|
|
4773
4829
|
};
|
|
4830
|
+
_a = __expectNonNull;
|
|
4831
|
+
_b = __expectObject;
|
|
4774
4832
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4775
4833
|
case 1:
|
|
4776
|
-
data = _a.sent();
|
|
4834
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4777
4835
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4778
4836
|
contents.NextToken = __expectString(data.NextToken);
|
|
4779
4837
|
}
|
|
@@ -4839,9 +4897,9 @@ var deserializeAws_restJson1ListEnabledProductsForImportCommandError = function
|
|
|
4839
4897
|
});
|
|
4840
4898
|
}); };
|
|
4841
4899
|
export var deserializeAws_restJson1ListInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4842
|
-
var contents, data;
|
|
4843
|
-
return __generator(this, function (
|
|
4844
|
-
switch (
|
|
4900
|
+
var contents, data, _a, _b;
|
|
4901
|
+
return __generator(this, function (_c) {
|
|
4902
|
+
switch (_c.label) {
|
|
4845
4903
|
case 0:
|
|
4846
4904
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4847
4905
|
return [2 /*return*/, deserializeAws_restJson1ListInvitationsCommandError(output, context)];
|
|
@@ -4851,9 +4909,11 @@ export var deserializeAws_restJson1ListInvitationsCommand = function (output, co
|
|
|
4851
4909
|
Invitations: undefined,
|
|
4852
4910
|
NextToken: undefined,
|
|
4853
4911
|
};
|
|
4912
|
+
_a = __expectNonNull;
|
|
4913
|
+
_b = __expectObject;
|
|
4854
4914
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4855
4915
|
case 1:
|
|
4856
|
-
data = _a.sent();
|
|
4916
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4857
4917
|
if (data.Invitations !== undefined && data.Invitations !== null) {
|
|
4858
4918
|
contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
|
|
4859
4919
|
}
|
|
@@ -4927,9 +4987,9 @@ var deserializeAws_restJson1ListInvitationsCommandError = function (output, cont
|
|
|
4927
4987
|
});
|
|
4928
4988
|
}); };
|
|
4929
4989
|
export var deserializeAws_restJson1ListMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4930
|
-
var contents, data;
|
|
4931
|
-
return __generator(this, function (
|
|
4932
|
-
switch (
|
|
4990
|
+
var contents, data, _a, _b;
|
|
4991
|
+
return __generator(this, function (_c) {
|
|
4992
|
+
switch (_c.label) {
|
|
4933
4993
|
case 0:
|
|
4934
4994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4935
4995
|
return [2 /*return*/, deserializeAws_restJson1ListMembersCommandError(output, context)];
|
|
@@ -4939,9 +4999,11 @@ export var deserializeAws_restJson1ListMembersCommand = function (output, contex
|
|
|
4939
4999
|
Members: undefined,
|
|
4940
5000
|
NextToken: undefined,
|
|
4941
5001
|
};
|
|
5002
|
+
_a = __expectNonNull;
|
|
5003
|
+
_b = __expectObject;
|
|
4942
5004
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4943
5005
|
case 1:
|
|
4944
|
-
data = _a.sent();
|
|
5006
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4945
5007
|
if (data.Members !== undefined && data.Members !== null) {
|
|
4946
5008
|
contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
|
|
4947
5009
|
}
|
|
@@ -5015,9 +5077,9 @@ var deserializeAws_restJson1ListMembersCommandError = function (output, context)
|
|
|
5015
5077
|
});
|
|
5016
5078
|
}); };
|
|
5017
5079
|
export var deserializeAws_restJson1ListOrganizationAdminAccountsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5018
|
-
var contents, data;
|
|
5019
|
-
return __generator(this, function (
|
|
5020
|
-
switch (
|
|
5080
|
+
var contents, data, _a, _b;
|
|
5081
|
+
return __generator(this, function (_c) {
|
|
5082
|
+
switch (_c.label) {
|
|
5021
5083
|
case 0:
|
|
5022
5084
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5023
5085
|
return [2 /*return*/, deserializeAws_restJson1ListOrganizationAdminAccountsCommandError(output, context)];
|
|
@@ -5027,9 +5089,11 @@ export var deserializeAws_restJson1ListOrganizationAdminAccountsCommand = functi
|
|
|
5027
5089
|
AdminAccounts: undefined,
|
|
5028
5090
|
NextToken: undefined,
|
|
5029
5091
|
};
|
|
5092
|
+
_a = __expectNonNull;
|
|
5093
|
+
_b = __expectObject;
|
|
5030
5094
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5031
5095
|
case 1:
|
|
5032
|
-
data = _a.sent();
|
|
5096
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5033
5097
|
if (data.AdminAccounts !== undefined && data.AdminAccounts !== null) {
|
|
5034
5098
|
contents.AdminAccounts = deserializeAws_restJson1AdminAccounts(data.AdminAccounts, context);
|
|
5035
5099
|
}
|
|
@@ -5103,9 +5167,9 @@ var deserializeAws_restJson1ListOrganizationAdminAccountsCommandError = function
|
|
|
5103
5167
|
});
|
|
5104
5168
|
}); };
|
|
5105
5169
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5106
|
-
var contents, data;
|
|
5107
|
-
return __generator(this, function (
|
|
5108
|
-
switch (
|
|
5170
|
+
var contents, data, _a, _b;
|
|
5171
|
+
return __generator(this, function (_c) {
|
|
5172
|
+
switch (_c.label) {
|
|
5109
5173
|
case 0:
|
|
5110
5174
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5111
5175
|
return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
|
|
@@ -5114,9 +5178,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
5114
5178
|
$metadata: deserializeMetadata(output),
|
|
5115
5179
|
Tags: undefined,
|
|
5116
5180
|
};
|
|
5181
|
+
_a = __expectNonNull;
|
|
5182
|
+
_b = __expectObject;
|
|
5117
5183
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5118
5184
|
case 1:
|
|
5119
|
-
data = _a.sent();
|
|
5185
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5120
5186
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
5121
5187
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
5122
5188
|
}
|
|
@@ -6021,6 +6087,19 @@ var serializeAws_restJson1ActionRemoteIpDetails = function (input, context) {
|
|
|
6021
6087
|
var serializeAws_restJson1ActionRemotePortDetails = function (input, context) {
|
|
6022
6088
|
return __assign(__assign({}, (input.Port !== undefined && input.Port !== null && { Port: input.Port })), (input.PortName !== undefined && input.PortName !== null && { PortName: input.PortName }));
|
|
6023
6089
|
};
|
|
6090
|
+
var serializeAws_restJson1Adjustment = function (input, context) {
|
|
6091
|
+
return __assign(__assign({}, (input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric })), (input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }));
|
|
6092
|
+
};
|
|
6093
|
+
var serializeAws_restJson1AdjustmentList = function (input, context) {
|
|
6094
|
+
return input
|
|
6095
|
+
.filter(function (e) { return e != null; })
|
|
6096
|
+
.map(function (entry) {
|
|
6097
|
+
if (entry === null) {
|
|
6098
|
+
return null;
|
|
6099
|
+
}
|
|
6100
|
+
return serializeAws_restJson1Adjustment(entry, context);
|
|
6101
|
+
});
|
|
6102
|
+
};
|
|
6024
6103
|
var serializeAws_restJson1ArnList = function (input, context) {
|
|
6025
6104
|
return input
|
|
6026
6105
|
.filter(function (e) { return e != null; })
|
|
@@ -6173,6 +6252,49 @@ var serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (inpu
|
|
|
6173
6252
|
LoadBalancerNames: serializeAws_restJson1StringList(input.LoadBalancerNames, context),
|
|
6174
6253
|
}));
|
|
6175
6254
|
};
|
|
6255
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = function (input, context) {
|
|
6256
|
+
return __assign(__assign(__assign(__assign({}, (input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName })), (input.Ebs !== undefined &&
|
|
6257
|
+
input.Ebs !== null && {
|
|
6258
|
+
Ebs: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(input.Ebs, context),
|
|
6259
|
+
})), (input.NoDevice !== undefined && input.NoDevice !== null && { NoDevice: input.NoDevice })), (input.VirtualName !== undefined && input.VirtualName !== null && { VirtualName: input.VirtualName }));
|
|
6260
|
+
};
|
|
6261
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = function (input, context) {
|
|
6262
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteOnTermination !== undefined &&
|
|
6263
|
+
input.DeleteOnTermination !== null && { DeleteOnTermination: input.DeleteOnTermination })), (input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted })), (input.Iops !== undefined && input.Iops !== null && { Iops: input.Iops })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId })), (input.VolumeSize !== undefined && input.VolumeSize !== null && { VolumeSize: input.VolumeSize })), (input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }));
|
|
6264
|
+
};
|
|
6265
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = function (input, context) {
|
|
6266
|
+
return input
|
|
6267
|
+
.filter(function (e) { return e != null; })
|
|
6268
|
+
.map(function (entry) {
|
|
6269
|
+
if (entry === null) {
|
|
6270
|
+
return null;
|
|
6271
|
+
}
|
|
6272
|
+
return serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
|
|
6273
|
+
});
|
|
6274
|
+
};
|
|
6275
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function (input, context) {
|
|
6276
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AssociatePublicIpAddress !== undefined &&
|
|
6277
|
+
input.AssociatePublicIpAddress !== null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress })), (input.BlockDeviceMappings !== undefined &&
|
|
6278
|
+
input.BlockDeviceMappings !== null && {
|
|
6279
|
+
BlockDeviceMappings: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(input.BlockDeviceMappings, context),
|
|
6280
|
+
})), (input.ClassicLinkVpcId !== undefined &&
|
|
6281
|
+
input.ClassicLinkVpcId !== null && { ClassicLinkVpcId: input.ClassicLinkVpcId })), (input.ClassicLinkVpcSecurityGroups !== undefined &&
|
|
6282
|
+
input.ClassicLinkVpcSecurityGroups !== null && {
|
|
6283
|
+
ClassicLinkVpcSecurityGroups: serializeAws_restJson1NonEmptyStringList(input.ClassicLinkVpcSecurityGroups, context),
|
|
6284
|
+
})), (input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime })), (input.EbsOptimized !== undefined && input.EbsOptimized !== null && { EbsOptimized: input.EbsOptimized })), (input.IamInstanceProfile !== undefined &&
|
|
6285
|
+
input.IamInstanceProfile !== null && { IamInstanceProfile: input.IamInstanceProfile })), (input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId })), (input.InstanceMonitoring !== undefined &&
|
|
6286
|
+
input.InstanceMonitoring !== null && {
|
|
6287
|
+
InstanceMonitoring: serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(input.InstanceMonitoring, context),
|
|
6288
|
+
})), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.KernelId !== undefined && input.KernelId !== null && { KernelId: input.KernelId })), (input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName })), (input.LaunchConfigurationName !== undefined &&
|
|
6289
|
+
input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName })), (input.PlacementTenancy !== undefined &&
|
|
6290
|
+
input.PlacementTenancy !== null && { PlacementTenancy: input.PlacementTenancy })), (input.RamdiskId !== undefined && input.RamdiskId !== null && { RamdiskId: input.RamdiskId })), (input.SecurityGroups !== undefined &&
|
|
6291
|
+
input.SecurityGroups !== null && {
|
|
6292
|
+
SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
|
|
6293
|
+
})), (input.SpotPrice !== undefined && input.SpotPrice !== null && { SpotPrice: input.SpotPrice })), (input.UserData !== undefined && input.UserData !== null && { UserData: input.UserData }));
|
|
6294
|
+
};
|
|
6295
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = function (input, context) {
|
|
6296
|
+
return __assign({}, (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }));
|
|
6297
|
+
};
|
|
6176
6298
|
var serializeAws_restJson1AwsCertificateManagerCertificateDetails = function (input, context) {
|
|
6177
6299
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CertificateAuthorityArn !== undefined &&
|
|
6178
6300
|
input.CertificateAuthorityArn !== null && { CertificateAuthorityArn: input.CertificateAuthorityArn })), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.DomainValidationOptions !== undefined &&
|
|
@@ -6884,6 +7006,108 @@ var serializeAws_restJson1AwsEc2VpcDetails = function (input, context) {
|
|
|
6884
7006
|
Ipv6CidrBlockAssociationSet: serializeAws_restJson1Ipv6CidrBlockAssociationList(input.Ipv6CidrBlockAssociationSet, context),
|
|
6885
7007
|
})), (input.State !== undefined && input.State !== null && { State: input.State }));
|
|
6886
7008
|
};
|
|
7009
|
+
var serializeAws_restJson1AwsEc2VpnConnectionDetails = function (input, context) {
|
|
7010
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && input.Category !== null && { Category: input.Category })), (input.CustomerGatewayConfiguration !== undefined &&
|
|
7011
|
+
input.CustomerGatewayConfiguration !== null && {
|
|
7012
|
+
CustomerGatewayConfiguration: input.CustomerGatewayConfiguration,
|
|
7013
|
+
})), (input.CustomerGatewayId !== undefined &&
|
|
7014
|
+
input.CustomerGatewayId !== null && { CustomerGatewayId: input.CustomerGatewayId })), (input.Options !== undefined &&
|
|
7015
|
+
input.Options !== null && {
|
|
7016
|
+
Options: serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(input.Options, context),
|
|
7017
|
+
})), (input.Routes !== undefined &&
|
|
7018
|
+
input.Routes !== null && { Routes: serializeAws_restJson1AwsEc2VpnConnectionRoutesList(input.Routes, context) })), (input.State !== undefined && input.State !== null && { State: input.State })), (input.TransitGatewayId !== undefined &&
|
|
7019
|
+
input.TransitGatewayId !== null && { TransitGatewayId: input.TransitGatewayId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.VgwTelemetry !== undefined &&
|
|
7020
|
+
input.VgwTelemetry !== null && {
|
|
7021
|
+
VgwTelemetry: serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(input.VgwTelemetry, context),
|
|
7022
|
+
})), (input.VpnConnectionId !== undefined &&
|
|
7023
|
+
input.VpnConnectionId !== null && { VpnConnectionId: input.VpnConnectionId })), (input.VpnGatewayId !== undefined && input.VpnGatewayId !== null && { VpnGatewayId: input.VpnGatewayId }));
|
|
7024
|
+
};
|
|
7025
|
+
var serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = function (input, context) {
|
|
7026
|
+
return __assign(__assign({}, (input.StaticRoutesOnly !== undefined &&
|
|
7027
|
+
input.StaticRoutesOnly !== null && { StaticRoutesOnly: input.StaticRoutesOnly })), (input.TunnelOptions !== undefined &&
|
|
7028
|
+
input.TunnelOptions !== null && {
|
|
7029
|
+
TunnelOptions: serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(input.TunnelOptions, context),
|
|
7030
|
+
}));
|
|
7031
|
+
};
|
|
7032
|
+
var serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = function (input, context) {
|
|
7033
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DpdTimeoutSeconds !== undefined &&
|
|
7034
|
+
input.DpdTimeoutSeconds !== null && { DpdTimeoutSeconds: input.DpdTimeoutSeconds })), (input.IkeVersions !== undefined &&
|
|
7035
|
+
input.IkeVersions !== null && {
|
|
7036
|
+
IkeVersions: serializeAws_restJson1NonEmptyStringList(input.IkeVersions, context),
|
|
7037
|
+
})), (input.OutsideIpAddress !== undefined &&
|
|
7038
|
+
input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress })), (input.Phase1DhGroupNumbers !== undefined &&
|
|
7039
|
+
input.Phase1DhGroupNumbers !== null && {
|
|
7040
|
+
Phase1DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase1DhGroupNumbers, context),
|
|
7041
|
+
})), (input.Phase1EncryptionAlgorithms !== undefined &&
|
|
7042
|
+
input.Phase1EncryptionAlgorithms !== null && {
|
|
7043
|
+
Phase1EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1EncryptionAlgorithms, context),
|
|
7044
|
+
})), (input.Phase1IntegrityAlgorithms !== undefined &&
|
|
7045
|
+
input.Phase1IntegrityAlgorithms !== null && {
|
|
7046
|
+
Phase1IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1IntegrityAlgorithms, context),
|
|
7047
|
+
})), (input.Phase1LifetimeSeconds !== undefined &&
|
|
7048
|
+
input.Phase1LifetimeSeconds !== null && { Phase1LifetimeSeconds: input.Phase1LifetimeSeconds })), (input.Phase2DhGroupNumbers !== undefined &&
|
|
7049
|
+
input.Phase2DhGroupNumbers !== null && {
|
|
7050
|
+
Phase2DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase2DhGroupNumbers, context),
|
|
7051
|
+
})), (input.Phase2EncryptionAlgorithms !== undefined &&
|
|
7052
|
+
input.Phase2EncryptionAlgorithms !== null && {
|
|
7053
|
+
Phase2EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2EncryptionAlgorithms, context),
|
|
7054
|
+
})), (input.Phase2IntegrityAlgorithms !== undefined &&
|
|
7055
|
+
input.Phase2IntegrityAlgorithms !== null && {
|
|
7056
|
+
Phase2IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2IntegrityAlgorithms, context),
|
|
7057
|
+
})), (input.Phase2LifetimeSeconds !== undefined &&
|
|
7058
|
+
input.Phase2LifetimeSeconds !== null && { Phase2LifetimeSeconds: input.Phase2LifetimeSeconds })), (input.PreSharedKey !== undefined && input.PreSharedKey !== null && { PreSharedKey: input.PreSharedKey })), (input.RekeyFuzzPercentage !== undefined &&
|
|
7059
|
+
input.RekeyFuzzPercentage !== null && { RekeyFuzzPercentage: input.RekeyFuzzPercentage })), (input.RekeyMarginTimeSeconds !== undefined &&
|
|
7060
|
+
input.RekeyMarginTimeSeconds !== null && { RekeyMarginTimeSeconds: input.RekeyMarginTimeSeconds })), (input.ReplayWindowSize !== undefined &&
|
|
7061
|
+
input.ReplayWindowSize !== null && { ReplayWindowSize: input.ReplayWindowSize })), (input.TunnelInsideCidr !== undefined &&
|
|
7062
|
+
input.TunnelInsideCidr !== null && { TunnelInsideCidr: input.TunnelInsideCidr }));
|
|
7063
|
+
};
|
|
7064
|
+
var serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = function (input, context) {
|
|
7065
|
+
return input
|
|
7066
|
+
.filter(function (e) { return e != null; })
|
|
7067
|
+
.map(function (entry) {
|
|
7068
|
+
if (entry === null) {
|
|
7069
|
+
return null;
|
|
7070
|
+
}
|
|
7071
|
+
return serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
|
|
7072
|
+
});
|
|
7073
|
+
};
|
|
7074
|
+
var serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = function (input, context) {
|
|
7075
|
+
return __assign(__assign({}, (input.DestinationCidrBlock !== undefined &&
|
|
7076
|
+
input.DestinationCidrBlock !== null && { DestinationCidrBlock: input.DestinationCidrBlock })), (input.State !== undefined && input.State !== null && { State: input.State }));
|
|
7077
|
+
};
|
|
7078
|
+
var serializeAws_restJson1AwsEc2VpnConnectionRoutesList = function (input, context) {
|
|
7079
|
+
return input
|
|
7080
|
+
.filter(function (e) { return e != null; })
|
|
7081
|
+
.map(function (entry) {
|
|
7082
|
+
if (entry === null) {
|
|
7083
|
+
return null;
|
|
7084
|
+
}
|
|
7085
|
+
return serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
|
|
7086
|
+
});
|
|
7087
|
+
};
|
|
7088
|
+
var serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = function (input, context) {
|
|
7089
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceptedRouteCount !== undefined &&
|
|
7090
|
+
input.AcceptedRouteCount !== null && { AcceptedRouteCount: input.AcceptedRouteCount })), (input.CertificateArn !== undefined &&
|
|
7091
|
+
input.CertificateArn !== null && { CertificateArn: input.CertificateArn })), (input.LastStatusChange !== undefined &&
|
|
7092
|
+
input.LastStatusChange !== null && { LastStatusChange: input.LastStatusChange })), (input.OutsideIpAddress !== undefined &&
|
|
7093
|
+
input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress })), (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.StatusMessage !== undefined && input.StatusMessage !== null && { StatusMessage: input.StatusMessage }));
|
|
7094
|
+
};
|
|
7095
|
+
var serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = function (input, context) {
|
|
7096
|
+
return input
|
|
7097
|
+
.filter(function (e) { return e != null; })
|
|
7098
|
+
.map(function (entry) {
|
|
7099
|
+
if (entry === null) {
|
|
7100
|
+
return null;
|
|
7101
|
+
}
|
|
7102
|
+
return serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
|
|
7103
|
+
});
|
|
7104
|
+
};
|
|
7105
|
+
var serializeAws_restJson1AwsEcrContainerImageDetails = function (input, context) {
|
|
7106
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture })), (input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest })), (input.ImagePublishedAt !== undefined &&
|
|
7107
|
+
input.ImagePublishedAt !== null && { ImagePublishedAt: input.ImagePublishedAt })), (input.ImageTags !== undefined &&
|
|
7108
|
+
input.ImageTags !== null && { ImageTags: serializeAws_restJson1NonEmptyStringList(input.ImageTags, context) })), (input.RegistryId !== undefined && input.RegistryId !== null && { RegistryId: input.RegistryId })), (input.RepositoryName !== undefined &&
|
|
7109
|
+
input.RepositoryName !== null && { RepositoryName: input.RepositoryName }));
|
|
7110
|
+
};
|
|
6887
7111
|
var serializeAws_restJson1AwsEcsClusterClusterSettingsDetails = function (input, context) {
|
|
6888
7112
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
6889
7113
|
};
|
|
@@ -7958,8 +8182,9 @@ var serializeAws_restJson1AwsIamUserPolicyList = function (input, context) {
|
|
|
7958
8182
|
});
|
|
7959
8183
|
};
|
|
7960
8184
|
var serializeAws_restJson1AwsKmsKeyDetails = function (input, context) {
|
|
7961
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AWSAccountId !== undefined && input.AWSAccountId !== null && { AWSAccountId: input.AWSAccountId })), (input.CreationDate !== undefined &&
|
|
7962
|
-
input.CreationDate !== null && { CreationDate: __serializeFloat(input.CreationDate) })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.KeyManager !== undefined && input.KeyManager !== null && { KeyManager: input.KeyManager })), (input.
|
|
8185
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AWSAccountId !== undefined && input.AWSAccountId !== null && { AWSAccountId: input.AWSAccountId })), (input.CreationDate !== undefined &&
|
|
8186
|
+
input.CreationDate !== null && { CreationDate: __serializeFloat(input.CreationDate) })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.KeyManager !== undefined && input.KeyManager !== null && { KeyManager: input.KeyManager })), (input.KeyRotationStatus !== undefined &&
|
|
8187
|
+
input.KeyRotationStatus !== null && { KeyRotationStatus: input.KeyRotationStatus })), (input.KeyState !== undefined && input.KeyState !== null && { KeyState: input.KeyState })), (input.Origin !== undefined && input.Origin !== null && { Origin: input.Origin }));
|
|
7963
8188
|
};
|
|
7964
8189
|
var serializeAws_restJson1AwsLambdaFunctionCode = function (input, context) {
|
|
7965
8190
|
return __assign(__assign(__assign(__assign({}, (input.S3Bucket !== undefined && input.S3Bucket !== null && { S3Bucket: input.S3Bucket })), (input.S3Key !== undefined && input.S3Key !== null && { S3Key: input.S3Key })), (input.S3ObjectVersion !== undefined &&
|
|
@@ -8750,9 +8975,19 @@ var serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransition
|
|
|
8750
8975
|
});
|
|
8751
8976
|
};
|
|
8752
8977
|
var serializeAws_restJson1AwsS3BucketDetails = function (input, context) {
|
|
8753
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
8978
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList !== undefined &&
|
|
8979
|
+
input.AccessControlList !== null && { AccessControlList: input.AccessControlList })), (input.BucketLifecycleConfiguration !== undefined &&
|
|
8754
8980
|
input.BucketLifecycleConfiguration !== null && {
|
|
8755
8981
|
BucketLifecycleConfiguration: serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(input.BucketLifecycleConfiguration, context),
|
|
8982
|
+
})), (input.BucketLoggingConfiguration !== undefined &&
|
|
8983
|
+
input.BucketLoggingConfiguration !== null && {
|
|
8984
|
+
BucketLoggingConfiguration: serializeAws_restJson1AwsS3BucketLoggingConfiguration(input.BucketLoggingConfiguration, context),
|
|
8985
|
+
})), (input.BucketNotificationConfiguration !== undefined &&
|
|
8986
|
+
input.BucketNotificationConfiguration !== null && {
|
|
8987
|
+
BucketNotificationConfiguration: serializeAws_restJson1AwsS3BucketNotificationConfiguration(input.BucketNotificationConfiguration, context),
|
|
8988
|
+
})), (input.BucketWebsiteConfiguration !== undefined &&
|
|
8989
|
+
input.BucketWebsiteConfiguration !== null && {
|
|
8990
|
+
BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(input.BucketWebsiteConfiguration, context),
|
|
8756
8991
|
})), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId })), (input.OwnerName !== undefined && input.OwnerName !== null && { OwnerName: input.OwnerName })), (input.PublicAccessBlockConfiguration !== undefined &&
|
|
8757
8992
|
input.PublicAccessBlockConfiguration !== null && {
|
|
8758
8993
|
PublicAccessBlockConfiguration: serializeAws_restJson1AwsS3AccountPublicAccessBlockDetails(input.PublicAccessBlockConfiguration, context),
|
|
@@ -8761,6 +8996,70 @@ var serializeAws_restJson1AwsS3BucketDetails = function (input, context) {
|
|
|
8761
8996
|
ServerSideEncryptionConfiguration: serializeAws_restJson1AwsS3BucketServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context),
|
|
8762
8997
|
}));
|
|
8763
8998
|
};
|
|
8999
|
+
var serializeAws_restJson1AwsS3BucketLoggingConfiguration = function (input, context) {
|
|
9000
|
+
return __assign(__assign({}, (input.DestinationBucketName !== undefined &&
|
|
9001
|
+
input.DestinationBucketName !== null && { DestinationBucketName: input.DestinationBucketName })), (input.LogFilePrefix !== undefined && input.LogFilePrefix !== null && { LogFilePrefix: input.LogFilePrefix }));
|
|
9002
|
+
};
|
|
9003
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfiguration = function (input, context) {
|
|
9004
|
+
return __assign({}, (input.Configurations !== undefined &&
|
|
9005
|
+
input.Configurations !== null && {
|
|
9006
|
+
Configurations: serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(input.Configurations, context),
|
|
9007
|
+
}));
|
|
9008
|
+
};
|
|
9009
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = function (input, context) {
|
|
9010
|
+
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined && input.Destination !== null && { Destination: input.Destination })), (input.Events !== undefined &&
|
|
9011
|
+
input.Events !== null && {
|
|
9012
|
+
Events: serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(input.Events, context),
|
|
9013
|
+
})), (input.Filter !== undefined &&
|
|
9014
|
+
input.Filter !== null && {
|
|
9015
|
+
Filter: serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(input.Filter, context),
|
|
9016
|
+
})), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9017
|
+
};
|
|
9018
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = function (input, context) {
|
|
9019
|
+
return input
|
|
9020
|
+
.filter(function (e) { return e != null; })
|
|
9021
|
+
.map(function (entry) {
|
|
9022
|
+
if (entry === null) {
|
|
9023
|
+
return null;
|
|
9024
|
+
}
|
|
9025
|
+
return serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
|
|
9026
|
+
});
|
|
9027
|
+
};
|
|
9028
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = function (input, context) {
|
|
9029
|
+
return input
|
|
9030
|
+
.filter(function (e) { return e != null; })
|
|
9031
|
+
.map(function (entry) {
|
|
9032
|
+
if (entry === null) {
|
|
9033
|
+
return null;
|
|
9034
|
+
}
|
|
9035
|
+
return entry;
|
|
9036
|
+
});
|
|
9037
|
+
};
|
|
9038
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = function (input, context) {
|
|
9039
|
+
return __assign({}, (input.S3KeyFilter !== undefined &&
|
|
9040
|
+
input.S3KeyFilter !== null && {
|
|
9041
|
+
S3KeyFilter: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(input.S3KeyFilter, context),
|
|
9042
|
+
}));
|
|
9043
|
+
};
|
|
9044
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = function (input, context) {
|
|
9045
|
+
return __assign({}, (input.FilterRules !== undefined &&
|
|
9046
|
+
input.FilterRules !== null && {
|
|
9047
|
+
FilterRules: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(input.FilterRules, context),
|
|
9048
|
+
}));
|
|
9049
|
+
};
|
|
9050
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = function (input, context) {
|
|
9051
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
9052
|
+
};
|
|
9053
|
+
var serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = function (input, context) {
|
|
9054
|
+
return input
|
|
9055
|
+
.filter(function (e) { return e != null; })
|
|
9056
|
+
.map(function (entry) {
|
|
9057
|
+
if (entry === null) {
|
|
9058
|
+
return null;
|
|
9059
|
+
}
|
|
9060
|
+
return serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
|
|
9061
|
+
});
|
|
9062
|
+
};
|
|
8764
9063
|
var serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = function (input, context) {
|
|
8765
9064
|
return __assign(__assign({}, (input.KMSMasterKeyID !== undefined &&
|
|
8766
9065
|
input.KMSMasterKeyID !== null && { KMSMasterKeyID: input.KMSMasterKeyID })), (input.SSEAlgorithm !== undefined && input.SSEAlgorithm !== null && { SSEAlgorithm: input.SSEAlgorithm }));
|
|
@@ -8787,6 +9086,49 @@ var serializeAws_restJson1AwsS3BucketServerSideEncryptionRules = function (input
|
|
|
8787
9086
|
return serializeAws_restJson1AwsS3BucketServerSideEncryptionRule(entry, context);
|
|
8788
9087
|
});
|
|
8789
9088
|
};
|
|
9089
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfiguration = function (input, context) {
|
|
9090
|
+
return __assign(__assign(__assign(__assign({}, (input.ErrorDocument !== undefined && input.ErrorDocument !== null && { ErrorDocument: input.ErrorDocument })), (input.IndexDocumentSuffix !== undefined &&
|
|
9091
|
+
input.IndexDocumentSuffix !== null && { IndexDocumentSuffix: input.IndexDocumentSuffix })), (input.RedirectAllRequestsTo !== undefined &&
|
|
9092
|
+
input.RedirectAllRequestsTo !== null && {
|
|
9093
|
+
RedirectAllRequestsTo: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(input.RedirectAllRequestsTo, context),
|
|
9094
|
+
})), (input.RoutingRules !== undefined &&
|
|
9095
|
+
input.RoutingRules !== null && {
|
|
9096
|
+
RoutingRules: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(input.RoutingRules, context),
|
|
9097
|
+
}));
|
|
9098
|
+
};
|
|
9099
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = function (input, context) {
|
|
9100
|
+
return __assign(__assign({}, (input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }));
|
|
9101
|
+
};
|
|
9102
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = function (input, context) {
|
|
9103
|
+
return __assign(__assign({}, (input.Condition !== undefined &&
|
|
9104
|
+
input.Condition !== null && {
|
|
9105
|
+
Condition: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(input.Condition, context),
|
|
9106
|
+
})), (input.Redirect !== undefined &&
|
|
9107
|
+
input.Redirect !== null && {
|
|
9108
|
+
Redirect: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(input.Redirect, context),
|
|
9109
|
+
}));
|
|
9110
|
+
};
|
|
9111
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = function (input, context) {
|
|
9112
|
+
return __assign(__assign({}, (input.HttpErrorCodeReturnedEquals !== undefined &&
|
|
9113
|
+
input.HttpErrorCodeReturnedEquals !== null && { HttpErrorCodeReturnedEquals: input.HttpErrorCodeReturnedEquals })), (input.KeyPrefixEquals !== undefined &&
|
|
9114
|
+
input.KeyPrefixEquals !== null && { KeyPrefixEquals: input.KeyPrefixEquals }));
|
|
9115
|
+
};
|
|
9116
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = function (input, context) {
|
|
9117
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname })), (input.HttpRedirectCode !== undefined &&
|
|
9118
|
+
input.HttpRedirectCode !== null && { HttpRedirectCode: input.HttpRedirectCode })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.ReplaceKeyPrefixWith !== undefined &&
|
|
9119
|
+
input.ReplaceKeyPrefixWith !== null && { ReplaceKeyPrefixWith: input.ReplaceKeyPrefixWith })), (input.ReplaceKeyWith !== undefined &&
|
|
9120
|
+
input.ReplaceKeyWith !== null && { ReplaceKeyWith: input.ReplaceKeyWith }));
|
|
9121
|
+
};
|
|
9122
|
+
var serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = function (input, context) {
|
|
9123
|
+
return input
|
|
9124
|
+
.filter(function (e) { return e != null; })
|
|
9125
|
+
.map(function (entry) {
|
|
9126
|
+
if (entry === null) {
|
|
9127
|
+
return null;
|
|
9128
|
+
}
|
|
9129
|
+
return serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
|
|
9130
|
+
});
|
|
9131
|
+
};
|
|
8790
9132
|
var serializeAws_restJson1AwsS3ObjectDetails = function (input, context) {
|
|
8791
9133
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.ETag !== undefined && input.ETag !== null && { ETag: input.ETag })), (input.LastModified !== undefined && input.LastModified !== null && { LastModified: input.LastModified })), (input.SSEKMSKeyId !== undefined && input.SSEKMSKeyId !== null && { SSEKMSKeyId: input.SSEKMSKeyId })), (input.ServerSideEncryption !== undefined &&
|
|
8792
9134
|
input.ServerSideEncryption !== null && { ServerSideEncryption: input.ServerSideEncryption })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
|
|
@@ -9287,7 +9629,8 @@ var serializeAws_restJson1CustomDataIdentifiersResult = function (input, context
|
|
|
9287
9629
|
})), (input.TotalCount !== undefined && input.TotalCount !== null && { TotalCount: input.TotalCount }));
|
|
9288
9630
|
};
|
|
9289
9631
|
var serializeAws_restJson1Cvss = function (input, context) {
|
|
9290
|
-
return __assign(__assign(__assign(
|
|
9632
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Adjustments !== undefined &&
|
|
9633
|
+
input.Adjustments !== null && { Adjustments: serializeAws_restJson1AdjustmentList(input.Adjustments, context) })), (input.BaseScore !== undefined && input.BaseScore !== null && { BaseScore: __serializeFloat(input.BaseScore) })), (input.BaseVector !== undefined && input.BaseVector !== null && { BaseVector: input.BaseVector })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
9291
9634
|
};
|
|
9292
9635
|
var serializeAws_restJson1CvssList = function (input, context) {
|
|
9293
9636
|
return input
|
|
@@ -9351,6 +9694,16 @@ var serializeAws_restJson1GeoLocation = function (input, context) {
|
|
|
9351
9694
|
var serializeAws_restJson1IcmpTypeCode = function (input, context) {
|
|
9352
9695
|
return __assign(__assign({}, (input.Code !== undefined && input.Code !== null && { Code: input.Code })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9353
9696
|
};
|
|
9697
|
+
var serializeAws_restJson1IntegerList = function (input, context) {
|
|
9698
|
+
return input
|
|
9699
|
+
.filter(function (e) { return e != null; })
|
|
9700
|
+
.map(function (entry) {
|
|
9701
|
+
if (entry === null) {
|
|
9702
|
+
return null;
|
|
9703
|
+
}
|
|
9704
|
+
return entry;
|
|
9705
|
+
});
|
|
9706
|
+
};
|
|
9354
9707
|
var serializeAws_restJson1IpFilter = function (input, context) {
|
|
9355
9708
|
return __assign({}, (input.Cidr !== undefined && input.Cidr !== null && { Cidr: input.Cidr }));
|
|
9356
9709
|
};
|
|
@@ -9646,7 +9999,7 @@ var serializeAws_restJson1Resource = function (input, context) {
|
|
|
9646
9999
|
input.Tags !== null && { Tags: serializeAws_restJson1FieldMap(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9647
10000
|
};
|
|
9648
10001
|
var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
9649
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
10002
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
9650
10003
|
input.AwsApiGatewayRestApi !== null && {
|
|
9651
10004
|
AwsApiGatewayRestApi: serializeAws_restJson1AwsApiGatewayRestApiDetails(input.AwsApiGatewayRestApi, context),
|
|
9652
10005
|
})), (input.AwsApiGatewayStage !== undefined &&
|
|
@@ -9661,6 +10014,9 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
9661
10014
|
})), (input.AwsAutoScalingAutoScalingGroup !== undefined &&
|
|
9662
10015
|
input.AwsAutoScalingAutoScalingGroup !== null && {
|
|
9663
10016
|
AwsAutoScalingAutoScalingGroup: serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(input.AwsAutoScalingAutoScalingGroup, context),
|
|
10017
|
+
})), (input.AwsAutoScalingLaunchConfiguration !== undefined &&
|
|
10018
|
+
input.AwsAutoScalingLaunchConfiguration !== null && {
|
|
10019
|
+
AwsAutoScalingLaunchConfiguration: serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(input.AwsAutoScalingLaunchConfiguration, context),
|
|
9664
10020
|
})), (input.AwsCertificateManagerCertificate !== undefined &&
|
|
9665
10021
|
input.AwsCertificateManagerCertificate !== null && {
|
|
9666
10022
|
AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(input.AwsCertificateManagerCertificate, context),
|
|
@@ -9696,7 +10052,13 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
9696
10052
|
input.AwsEc2Volume !== null && {
|
|
9697
10053
|
AwsEc2Volume: serializeAws_restJson1AwsEc2VolumeDetails(input.AwsEc2Volume, context),
|
|
9698
10054
|
})), (input.AwsEc2Vpc !== undefined &&
|
|
9699
|
-
input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) })), (input.
|
|
10055
|
+
input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) })), (input.AwsEc2VpnConnection !== undefined &&
|
|
10056
|
+
input.AwsEc2VpnConnection !== null && {
|
|
10057
|
+
AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context),
|
|
10058
|
+
})), (input.AwsEcrContainerImage !== undefined &&
|
|
10059
|
+
input.AwsEcrContainerImage !== null && {
|
|
10060
|
+
AwsEcrContainerImage: serializeAws_restJson1AwsEcrContainerImageDetails(input.AwsEcrContainerImage, context),
|
|
10061
|
+
})), (input.AwsEcsCluster !== undefined &&
|
|
9700
10062
|
input.AwsEcsCluster !== null && {
|
|
9701
10063
|
AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context),
|
|
9702
10064
|
})), (input.AwsEcsService !== undefined &&
|
|
@@ -9838,7 +10200,8 @@ var serializeAws_restJson1SeverityUpdate = function (input, context) {
|
|
|
9838
10200
|
return __assign(__assign(__assign({}, (input.Label !== undefined && input.Label !== null && { Label: input.Label })), (input.Normalized !== undefined && input.Normalized !== null && { Normalized: input.Normalized })), (input.Product !== undefined && input.Product !== null && { Product: __serializeFloat(input.Product) }));
|
|
9839
10201
|
};
|
|
9840
10202
|
var serializeAws_restJson1SoftwarePackage = function (input, context) {
|
|
9841
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture })), (input.Epoch !== undefined && input.Epoch !== null && { Epoch: input.Epoch })), (input.
|
|
10203
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture })), (input.Epoch !== undefined && input.Epoch !== null && { Epoch: input.Epoch })), (input.FilePath !== undefined && input.FilePath !== null && { FilePath: input.FilePath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PackageManager !== undefined &&
|
|
10204
|
+
input.PackageManager !== null && { PackageManager: input.PackageManager })), (input.Release !== undefined && input.Release !== null && { Release: input.Release })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
9842
10205
|
};
|
|
9843
10206
|
var serializeAws_restJson1SoftwarePackageList = function (input, context) {
|
|
9844
10207
|
return input
|
|
@@ -10048,7 +10411,7 @@ var deserializeAws_restJson1ActionLocalIpDetails = function (output, context) {
|
|
|
10048
10411
|
};
|
|
10049
10412
|
var deserializeAws_restJson1ActionLocalPortDetails = function (output, context) {
|
|
10050
10413
|
return {
|
|
10051
|
-
Port:
|
|
10414
|
+
Port: __expectInt32(output.Port),
|
|
10052
10415
|
PortName: __expectString(output.PortName),
|
|
10053
10416
|
};
|
|
10054
10417
|
};
|
|
@@ -10071,7 +10434,7 @@ var deserializeAws_restJson1ActionRemoteIpDetails = function (output, context) {
|
|
|
10071
10434
|
};
|
|
10072
10435
|
var deserializeAws_restJson1ActionRemotePortDetails = function (output, context) {
|
|
10073
10436
|
return {
|
|
10074
|
-
Port:
|
|
10437
|
+
Port: __expectInt32(output.Port),
|
|
10075
10438
|
PortName: __expectString(output.PortName),
|
|
10076
10439
|
};
|
|
10077
10440
|
};
|
|
@@ -10092,6 +10455,22 @@ var deserializeAws_restJson1ActionTargetList = function (output, context) {
|
|
|
10092
10455
|
return deserializeAws_restJson1ActionTarget(entry, context);
|
|
10093
10456
|
});
|
|
10094
10457
|
};
|
|
10458
|
+
var deserializeAws_restJson1Adjustment = function (output, context) {
|
|
10459
|
+
return {
|
|
10460
|
+
Metric: __expectString(output.Metric),
|
|
10461
|
+
Reason: __expectString(output.Reason),
|
|
10462
|
+
};
|
|
10463
|
+
};
|
|
10464
|
+
var deserializeAws_restJson1AdjustmentList = function (output, context) {
|
|
10465
|
+
return (output || [])
|
|
10466
|
+
.filter(function (e) { return e != null; })
|
|
10467
|
+
.map(function (entry) {
|
|
10468
|
+
if (entry === null) {
|
|
10469
|
+
return null;
|
|
10470
|
+
}
|
|
10471
|
+
return deserializeAws_restJson1Adjustment(entry, context);
|
|
10472
|
+
});
|
|
10473
|
+
};
|
|
10095
10474
|
var deserializeAws_restJson1AdminAccount = function (output, context) {
|
|
10096
10475
|
return {
|
|
10097
10476
|
AccountId: __expectString(output.AccountId),
|
|
@@ -10156,7 +10535,7 @@ var deserializeAws_restJson1AwsApiGatewayAccessLogSettings = function (output, c
|
|
|
10156
10535
|
var deserializeAws_restJson1AwsApiGatewayCanarySettings = function (output, context) {
|
|
10157
10536
|
return {
|
|
10158
10537
|
DeploymentId: __expectString(output.DeploymentId),
|
|
10159
|
-
PercentTraffic:
|
|
10538
|
+
PercentTraffic: __limitedParseDouble(output.PercentTraffic),
|
|
10160
10539
|
StageVariableOverrides: output.StageVariableOverrides !== undefined && output.StageVariableOverrides !== null
|
|
10161
10540
|
? deserializeAws_restJson1FieldMap(output.StageVariableOverrides, context)
|
|
10162
10541
|
: undefined,
|
|
@@ -10173,7 +10552,7 @@ var deserializeAws_restJson1AwsApiGatewayEndpointConfiguration = function (outpu
|
|
|
10173
10552
|
var deserializeAws_restJson1AwsApiGatewayMethodSettings = function (output, context) {
|
|
10174
10553
|
return {
|
|
10175
10554
|
CacheDataEncrypted: __expectBoolean(output.CacheDataEncrypted),
|
|
10176
|
-
CacheTtlInSeconds:
|
|
10555
|
+
CacheTtlInSeconds: __expectInt32(output.CacheTtlInSeconds),
|
|
10177
10556
|
CachingEnabled: __expectBoolean(output.CachingEnabled),
|
|
10178
10557
|
DataTraceEnabled: __expectBoolean(output.DataTraceEnabled),
|
|
10179
10558
|
HttpMethod: __expectString(output.HttpMethod),
|
|
@@ -10181,8 +10560,8 @@ var deserializeAws_restJson1AwsApiGatewayMethodSettings = function (output, cont
|
|
|
10181
10560
|
MetricsEnabled: __expectBoolean(output.MetricsEnabled),
|
|
10182
10561
|
RequireAuthorizationForCacheControl: __expectBoolean(output.RequireAuthorizationForCacheControl),
|
|
10183
10562
|
ResourcePath: __expectString(output.ResourcePath),
|
|
10184
|
-
ThrottlingBurstLimit:
|
|
10185
|
-
ThrottlingRateLimit:
|
|
10563
|
+
ThrottlingBurstLimit: __expectInt32(output.ThrottlingBurstLimit),
|
|
10564
|
+
ThrottlingRateLimit: __limitedParseDouble(output.ThrottlingRateLimit),
|
|
10186
10565
|
UnauthorizedCacheControlHeaderStrategy: __expectString(output.UnauthorizedCacheControlHeaderStrategy),
|
|
10187
10566
|
};
|
|
10188
10567
|
};
|
|
@@ -10208,7 +10587,7 @@ var deserializeAws_restJson1AwsApiGatewayRestApiDetails = function (output, cont
|
|
|
10208
10587
|
? deserializeAws_restJson1AwsApiGatewayEndpointConfiguration(output.EndpointConfiguration, context)
|
|
10209
10588
|
: undefined,
|
|
10210
10589
|
Id: __expectString(output.Id),
|
|
10211
|
-
MinimumCompressionSize:
|
|
10590
|
+
MinimumCompressionSize: __expectInt32(output.MinimumCompressionSize),
|
|
10212
10591
|
Name: __expectString(output.Name),
|
|
10213
10592
|
Version: __expectString(output.Version),
|
|
10214
10593
|
};
|
|
@@ -10262,8 +10641,8 @@ var deserializeAws_restJson1AwsApiGatewayV2RouteSettings = function (output, con
|
|
|
10262
10641
|
DataTraceEnabled: __expectBoolean(output.DataTraceEnabled),
|
|
10263
10642
|
DetailedMetricsEnabled: __expectBoolean(output.DetailedMetricsEnabled),
|
|
10264
10643
|
LoggingLevel: __expectString(output.LoggingLevel),
|
|
10265
|
-
ThrottlingBurstLimit:
|
|
10266
|
-
ThrottlingRateLimit:
|
|
10644
|
+
ThrottlingBurstLimit: __expectInt32(output.ThrottlingBurstLimit),
|
|
10645
|
+
ThrottlingRateLimit: __limitedParseDouble(output.ThrottlingRateLimit),
|
|
10267
10646
|
};
|
|
10268
10647
|
};
|
|
10269
10648
|
var deserializeAws_restJson1AwsApiGatewayV2StageDetails = function (output, context) {
|
|
@@ -10294,7 +10673,7 @@ var deserializeAws_restJson1AwsApiGatewayV2StageDetails = function (output, cont
|
|
|
10294
10673
|
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (output, context) {
|
|
10295
10674
|
return {
|
|
10296
10675
|
CreatedTime: __expectString(output.CreatedTime),
|
|
10297
|
-
HealthCheckGracePeriod:
|
|
10676
|
+
HealthCheckGracePeriod: __expectInt32(output.HealthCheckGracePeriod),
|
|
10298
10677
|
HealthCheckType: __expectString(output.HealthCheckType),
|
|
10299
10678
|
LaunchConfigurationName: __expectString(output.LaunchConfigurationName),
|
|
10300
10679
|
LoadBalancerNames: output.LoadBalancerNames !== undefined && output.LoadBalancerNames !== null
|
|
@@ -10302,6 +10681,71 @@ var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (ou
|
|
|
10302
10681
|
: undefined,
|
|
10303
10682
|
};
|
|
10304
10683
|
};
|
|
10684
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = function (output, context) {
|
|
10685
|
+
return {
|
|
10686
|
+
DeviceName: __expectString(output.DeviceName),
|
|
10687
|
+
Ebs: output.Ebs !== undefined && output.Ebs !== null
|
|
10688
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(output.Ebs, context)
|
|
10689
|
+
: undefined,
|
|
10690
|
+
NoDevice: __expectBoolean(output.NoDevice),
|
|
10691
|
+
VirtualName: __expectString(output.VirtualName),
|
|
10692
|
+
};
|
|
10693
|
+
};
|
|
10694
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = function (output, context) {
|
|
10695
|
+
return {
|
|
10696
|
+
DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
|
|
10697
|
+
Encrypted: __expectBoolean(output.Encrypted),
|
|
10698
|
+
Iops: __expectInt32(output.Iops),
|
|
10699
|
+
SnapshotId: __expectString(output.SnapshotId),
|
|
10700
|
+
VolumeSize: __expectInt32(output.VolumeSize),
|
|
10701
|
+
VolumeType: __expectString(output.VolumeType),
|
|
10702
|
+
};
|
|
10703
|
+
};
|
|
10704
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = function (output, context) {
|
|
10705
|
+
return (output || [])
|
|
10706
|
+
.filter(function (e) { return e != null; })
|
|
10707
|
+
.map(function (entry) {
|
|
10708
|
+
if (entry === null) {
|
|
10709
|
+
return null;
|
|
10710
|
+
}
|
|
10711
|
+
return deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
|
|
10712
|
+
});
|
|
10713
|
+
};
|
|
10714
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function (output, context) {
|
|
10715
|
+
return {
|
|
10716
|
+
AssociatePublicIpAddress: __expectBoolean(output.AssociatePublicIpAddress),
|
|
10717
|
+
BlockDeviceMappings: output.BlockDeviceMappings !== undefined && output.BlockDeviceMappings !== null
|
|
10718
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(output.BlockDeviceMappings, context)
|
|
10719
|
+
: undefined,
|
|
10720
|
+
ClassicLinkVpcId: __expectString(output.ClassicLinkVpcId),
|
|
10721
|
+
ClassicLinkVpcSecurityGroups: output.ClassicLinkVpcSecurityGroups !== undefined && output.ClassicLinkVpcSecurityGroups !== null
|
|
10722
|
+
? deserializeAws_restJson1NonEmptyStringList(output.ClassicLinkVpcSecurityGroups, context)
|
|
10723
|
+
: undefined,
|
|
10724
|
+
CreatedTime: __expectString(output.CreatedTime),
|
|
10725
|
+
EbsOptimized: __expectBoolean(output.EbsOptimized),
|
|
10726
|
+
IamInstanceProfile: __expectString(output.IamInstanceProfile),
|
|
10727
|
+
ImageId: __expectString(output.ImageId),
|
|
10728
|
+
InstanceMonitoring: output.InstanceMonitoring !== undefined && output.InstanceMonitoring !== null
|
|
10729
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(output.InstanceMonitoring, context)
|
|
10730
|
+
: undefined,
|
|
10731
|
+
InstanceType: __expectString(output.InstanceType),
|
|
10732
|
+
KernelId: __expectString(output.KernelId),
|
|
10733
|
+
KeyName: __expectString(output.KeyName),
|
|
10734
|
+
LaunchConfigurationName: __expectString(output.LaunchConfigurationName),
|
|
10735
|
+
PlacementTenancy: __expectString(output.PlacementTenancy),
|
|
10736
|
+
RamdiskId: __expectString(output.RamdiskId),
|
|
10737
|
+
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
10738
|
+
? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroups, context)
|
|
10739
|
+
: undefined,
|
|
10740
|
+
SpotPrice: __expectString(output.SpotPrice),
|
|
10741
|
+
UserData: __expectString(output.UserData),
|
|
10742
|
+
};
|
|
10743
|
+
};
|
|
10744
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = function (output, context) {
|
|
10745
|
+
return {
|
|
10746
|
+
Enabled: __expectBoolean(output.Enabled),
|
|
10747
|
+
};
|
|
10748
|
+
};
|
|
10305
10749
|
var deserializeAws_restJson1AwsCertificateManagerCertificateDetails = function (output, context) {
|
|
10306
10750
|
return {
|
|
10307
10751
|
CertificateAuthorityArn: __expectString(output.CertificateAuthorityArn),
|
|
@@ -10499,7 +10943,7 @@ var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCo
|
|
|
10499
10943
|
Items: output.Items !== undefined && output.Items !== null
|
|
10500
10944
|
? deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList(output.Items, context)
|
|
10501
10945
|
: undefined,
|
|
10502
|
-
Quantity:
|
|
10946
|
+
Quantity: __expectInt32(output.Quantity),
|
|
10503
10947
|
};
|
|
10504
10948
|
};
|
|
10505
10949
|
var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList = function (output, context) {
|
|
@@ -10509,7 +10953,7 @@ var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCo
|
|
|
10509
10953
|
if (entry === null) {
|
|
10510
10954
|
return null;
|
|
10511
10955
|
}
|
|
10512
|
-
return
|
|
10956
|
+
return __expectInt32(entry);
|
|
10513
10957
|
});
|
|
10514
10958
|
};
|
|
10515
10959
|
var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroups = function (output, context) {
|
|
@@ -10614,7 +11058,7 @@ var deserializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential = f
|
|
|
10614
11058
|
};
|
|
10615
11059
|
var deserializeAws_restJson1AwsCodeBuildProjectSource = function (output, context) {
|
|
10616
11060
|
return {
|
|
10617
|
-
GitCloneDepth:
|
|
11061
|
+
GitCloneDepth: __expectInt32(output.GitCloneDepth),
|
|
10618
11062
|
InsecureSsl: __expectBoolean(output.InsecureSsl),
|
|
10619
11063
|
Location: __expectString(output.Location),
|
|
10620
11064
|
Type: __expectString(output.Type),
|
|
@@ -10646,7 +11090,7 @@ var deserializeAws_restJson1AwsCorsConfiguration = function (output, context) {
|
|
|
10646
11090
|
ExposeHeaders: output.ExposeHeaders !== undefined && output.ExposeHeaders !== null
|
|
10647
11091
|
? deserializeAws_restJson1NonEmptyStringList(output.ExposeHeaders, context)
|
|
10648
11092
|
: undefined,
|
|
10649
|
-
MaxAge:
|
|
11093
|
+
MaxAge: __expectInt32(output.MaxAge),
|
|
10650
11094
|
};
|
|
10651
11095
|
};
|
|
10652
11096
|
var deserializeAws_restJson1AwsDynamoDbTableAttributeDefinition = function (output, context) {
|
|
@@ -10684,7 +11128,7 @@ var deserializeAws_restJson1AwsDynamoDbTableDetails = function (output, context)
|
|
|
10684
11128
|
? deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
|
|
10685
11129
|
: undefined,
|
|
10686
11130
|
GlobalTableVersion: __expectString(output.GlobalTableVersion),
|
|
10687
|
-
ItemCount:
|
|
11131
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
10688
11132
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
10689
11133
|
? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
|
|
10690
11134
|
: undefined,
|
|
@@ -10710,7 +11154,7 @@ var deserializeAws_restJson1AwsDynamoDbTableDetails = function (output, context)
|
|
|
10710
11154
|
: undefined,
|
|
10711
11155
|
TableId: __expectString(output.TableId),
|
|
10712
11156
|
TableName: __expectString(output.TableName),
|
|
10713
|
-
TableSizeBytes:
|
|
11157
|
+
TableSizeBytes: __expectLong(output.TableSizeBytes),
|
|
10714
11158
|
TableStatus: __expectString(output.TableStatus),
|
|
10715
11159
|
};
|
|
10716
11160
|
};
|
|
@@ -10719,9 +11163,9 @@ var deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndex = function (out
|
|
|
10719
11163
|
Backfilling: __expectBoolean(output.Backfilling),
|
|
10720
11164
|
IndexArn: __expectString(output.IndexArn),
|
|
10721
11165
|
IndexName: __expectString(output.IndexName),
|
|
10722
|
-
IndexSizeBytes:
|
|
11166
|
+
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
10723
11167
|
IndexStatus: __expectString(output.IndexStatus),
|
|
10724
|
-
ItemCount:
|
|
11168
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
10725
11169
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
10726
11170
|
? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
|
|
10727
11171
|
: undefined,
|
|
@@ -10793,14 +11237,14 @@ var deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = function (ou
|
|
|
10793
11237
|
return {
|
|
10794
11238
|
LastDecreaseDateTime: __expectString(output.LastDecreaseDateTime),
|
|
10795
11239
|
LastIncreaseDateTime: __expectString(output.LastIncreaseDateTime),
|
|
10796
|
-
NumberOfDecreasesToday:
|
|
10797
|
-
ReadCapacityUnits:
|
|
10798
|
-
WriteCapacityUnits:
|
|
11240
|
+
NumberOfDecreasesToday: __expectInt32(output.NumberOfDecreasesToday),
|
|
11241
|
+
ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
|
|
11242
|
+
WriteCapacityUnits: __expectInt32(output.WriteCapacityUnits),
|
|
10799
11243
|
};
|
|
10800
11244
|
};
|
|
10801
11245
|
var deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = function (output, context) {
|
|
10802
11246
|
return {
|
|
10803
|
-
ReadCapacityUnits:
|
|
11247
|
+
ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
|
|
10804
11248
|
};
|
|
10805
11249
|
};
|
|
10806
11250
|
var deserializeAws_restJson1AwsDynamoDbTableReplica = function (output, context) {
|
|
@@ -10960,7 +11404,7 @@ var deserializeAws_restJson1AwsEc2NetworkAclEntry = function (output, context) {
|
|
|
10960
11404
|
: undefined,
|
|
10961
11405
|
Protocol: __expectString(output.Protocol),
|
|
10962
11406
|
RuleAction: __expectString(output.RuleAction),
|
|
10963
|
-
RuleNumber:
|
|
11407
|
+
RuleNumber: __expectInt32(output.RuleNumber),
|
|
10964
11408
|
};
|
|
10965
11409
|
};
|
|
10966
11410
|
var deserializeAws_restJson1AwsEc2NetworkAclEntryList = function (output, context) {
|
|
@@ -10978,7 +11422,7 @@ var deserializeAws_restJson1AwsEc2NetworkInterfaceAttachment = function (output,
|
|
|
10978
11422
|
AttachTime: __expectString(output.AttachTime),
|
|
10979
11423
|
AttachmentId: __expectString(output.AttachmentId),
|
|
10980
11424
|
DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
|
|
10981
|
-
DeviceIndex:
|
|
11425
|
+
DeviceIndex: __expectInt32(output.DeviceIndex),
|
|
10982
11426
|
InstanceId: __expectString(output.InstanceId),
|
|
10983
11427
|
InstanceOwnerId: __expectString(output.InstanceOwnerId),
|
|
10984
11428
|
Status: __expectString(output.Status),
|
|
@@ -11067,7 +11511,7 @@ var deserializeAws_restJson1AwsEc2SecurityGroupDetails = function (output, conte
|
|
|
11067
11511
|
};
|
|
11068
11512
|
var deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = function (output, context) {
|
|
11069
11513
|
return {
|
|
11070
|
-
FromPort:
|
|
11514
|
+
FromPort: __expectInt32(output.FromPort),
|
|
11071
11515
|
IpProtocol: __expectString(output.IpProtocol),
|
|
11072
11516
|
IpRanges: output.IpRanges !== undefined && output.IpRanges !== null
|
|
11073
11517
|
? deserializeAws_restJson1AwsEc2SecurityGroupIpRangeList(output.IpRanges, context)
|
|
@@ -11078,7 +11522,7 @@ var deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = function (output,
|
|
|
11078
11522
|
PrefixListIds: output.PrefixListIds !== undefined && output.PrefixListIds !== null
|
|
11079
11523
|
? deserializeAws_restJson1AwsEc2SecurityGroupPrefixListIdList(output.PrefixListIds, context)
|
|
11080
11524
|
: undefined,
|
|
11081
|
-
ToPort:
|
|
11525
|
+
ToPort: __expectInt32(output.ToPort),
|
|
11082
11526
|
UserIdGroupPairs: output.UserIdGroupPairs !== undefined && output.UserIdGroupPairs !== null
|
|
11083
11527
|
? deserializeAws_restJson1AwsEc2SecurityGroupUserIdGroupPairList(output.UserIdGroupPairs, context)
|
|
11084
11528
|
: undefined,
|
|
@@ -11164,7 +11608,7 @@ var deserializeAws_restJson1AwsEc2SubnetDetails = function (output, context) {
|
|
|
11164
11608
|
AssignIpv6AddressOnCreation: __expectBoolean(output.AssignIpv6AddressOnCreation),
|
|
11165
11609
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
11166
11610
|
AvailabilityZoneId: __expectString(output.AvailabilityZoneId),
|
|
11167
|
-
AvailableIpAddressCount:
|
|
11611
|
+
AvailableIpAddressCount: __expectInt32(output.AvailableIpAddressCount),
|
|
11168
11612
|
CidrBlock: __expectString(output.CidrBlock),
|
|
11169
11613
|
DefaultForAz: __expectBoolean(output.DefaultForAz),
|
|
11170
11614
|
Ipv6CidrBlockAssociationSet: output.Ipv6CidrBlockAssociationSet !== undefined && output.Ipv6CidrBlockAssociationSet !== null
|
|
@@ -11204,7 +11648,7 @@ var deserializeAws_restJson1AwsEc2VolumeDetails = function (output, context) {
|
|
|
11204
11648
|
CreateTime: __expectString(output.CreateTime),
|
|
11205
11649
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
11206
11650
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
11207
|
-
Size:
|
|
11651
|
+
Size: __expectInt32(output.Size),
|
|
11208
11652
|
SnapshotId: __expectString(output.SnapshotId),
|
|
11209
11653
|
Status: __expectString(output.Status),
|
|
11210
11654
|
};
|
|
@@ -11221,6 +11665,127 @@ var deserializeAws_restJson1AwsEc2VpcDetails = function (output, context) {
|
|
|
11221
11665
|
State: __expectString(output.State),
|
|
11222
11666
|
};
|
|
11223
11667
|
};
|
|
11668
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionDetails = function (output, context) {
|
|
11669
|
+
return {
|
|
11670
|
+
Category: __expectString(output.Category),
|
|
11671
|
+
CustomerGatewayConfiguration: __expectString(output.CustomerGatewayConfiguration),
|
|
11672
|
+
CustomerGatewayId: __expectString(output.CustomerGatewayId),
|
|
11673
|
+
Options: output.Options !== undefined && output.Options !== null
|
|
11674
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(output.Options, context)
|
|
11675
|
+
: undefined,
|
|
11676
|
+
Routes: output.Routes !== undefined && output.Routes !== null
|
|
11677
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionRoutesList(output.Routes, context)
|
|
11678
|
+
: undefined,
|
|
11679
|
+
State: __expectString(output.State),
|
|
11680
|
+
TransitGatewayId: __expectString(output.TransitGatewayId),
|
|
11681
|
+
Type: __expectString(output.Type),
|
|
11682
|
+
VgwTelemetry: output.VgwTelemetry !== undefined && output.VgwTelemetry !== null
|
|
11683
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(output.VgwTelemetry, context)
|
|
11684
|
+
: undefined,
|
|
11685
|
+
VpnConnectionId: __expectString(output.VpnConnectionId),
|
|
11686
|
+
VpnGatewayId: __expectString(output.VpnGatewayId),
|
|
11687
|
+
};
|
|
11688
|
+
};
|
|
11689
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = function (output, context) {
|
|
11690
|
+
return {
|
|
11691
|
+
StaticRoutesOnly: __expectBoolean(output.StaticRoutesOnly),
|
|
11692
|
+
TunnelOptions: output.TunnelOptions !== undefined && output.TunnelOptions !== null
|
|
11693
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(output.TunnelOptions, context)
|
|
11694
|
+
: undefined,
|
|
11695
|
+
};
|
|
11696
|
+
};
|
|
11697
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = function (output, context) {
|
|
11698
|
+
return {
|
|
11699
|
+
DpdTimeoutSeconds: __expectInt32(output.DpdTimeoutSeconds),
|
|
11700
|
+
IkeVersions: output.IkeVersions !== undefined && output.IkeVersions !== null
|
|
11701
|
+
? deserializeAws_restJson1NonEmptyStringList(output.IkeVersions, context)
|
|
11702
|
+
: undefined,
|
|
11703
|
+
OutsideIpAddress: __expectString(output.OutsideIpAddress),
|
|
11704
|
+
Phase1DhGroupNumbers: output.Phase1DhGroupNumbers !== undefined && output.Phase1DhGroupNumbers !== null
|
|
11705
|
+
? deserializeAws_restJson1IntegerList(output.Phase1DhGroupNumbers, context)
|
|
11706
|
+
: undefined,
|
|
11707
|
+
Phase1EncryptionAlgorithms: output.Phase1EncryptionAlgorithms !== undefined && output.Phase1EncryptionAlgorithms !== null
|
|
11708
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase1EncryptionAlgorithms, context)
|
|
11709
|
+
: undefined,
|
|
11710
|
+
Phase1IntegrityAlgorithms: output.Phase1IntegrityAlgorithms !== undefined && output.Phase1IntegrityAlgorithms !== null
|
|
11711
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase1IntegrityAlgorithms, context)
|
|
11712
|
+
: undefined,
|
|
11713
|
+
Phase1LifetimeSeconds: __expectInt32(output.Phase1LifetimeSeconds),
|
|
11714
|
+
Phase2DhGroupNumbers: output.Phase2DhGroupNumbers !== undefined && output.Phase2DhGroupNumbers !== null
|
|
11715
|
+
? deserializeAws_restJson1IntegerList(output.Phase2DhGroupNumbers, context)
|
|
11716
|
+
: undefined,
|
|
11717
|
+
Phase2EncryptionAlgorithms: output.Phase2EncryptionAlgorithms !== undefined && output.Phase2EncryptionAlgorithms !== null
|
|
11718
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase2EncryptionAlgorithms, context)
|
|
11719
|
+
: undefined,
|
|
11720
|
+
Phase2IntegrityAlgorithms: output.Phase2IntegrityAlgorithms !== undefined && output.Phase2IntegrityAlgorithms !== null
|
|
11721
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase2IntegrityAlgorithms, context)
|
|
11722
|
+
: undefined,
|
|
11723
|
+
Phase2LifetimeSeconds: __expectInt32(output.Phase2LifetimeSeconds),
|
|
11724
|
+
PreSharedKey: __expectString(output.PreSharedKey),
|
|
11725
|
+
RekeyFuzzPercentage: __expectInt32(output.RekeyFuzzPercentage),
|
|
11726
|
+
RekeyMarginTimeSeconds: __expectInt32(output.RekeyMarginTimeSeconds),
|
|
11727
|
+
ReplayWindowSize: __expectInt32(output.ReplayWindowSize),
|
|
11728
|
+
TunnelInsideCidr: __expectString(output.TunnelInsideCidr),
|
|
11729
|
+
};
|
|
11730
|
+
};
|
|
11731
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = function (output, context) {
|
|
11732
|
+
return (output || [])
|
|
11733
|
+
.filter(function (e) { return e != null; })
|
|
11734
|
+
.map(function (entry) {
|
|
11735
|
+
if (entry === null) {
|
|
11736
|
+
return null;
|
|
11737
|
+
}
|
|
11738
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
|
|
11739
|
+
});
|
|
11740
|
+
};
|
|
11741
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = function (output, context) {
|
|
11742
|
+
return {
|
|
11743
|
+
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
11744
|
+
State: __expectString(output.State),
|
|
11745
|
+
};
|
|
11746
|
+
};
|
|
11747
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionRoutesList = function (output, context) {
|
|
11748
|
+
return (output || [])
|
|
11749
|
+
.filter(function (e) { return e != null; })
|
|
11750
|
+
.map(function (entry) {
|
|
11751
|
+
if (entry === null) {
|
|
11752
|
+
return null;
|
|
11753
|
+
}
|
|
11754
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
|
|
11755
|
+
});
|
|
11756
|
+
};
|
|
11757
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = function (output, context) {
|
|
11758
|
+
return {
|
|
11759
|
+
AcceptedRouteCount: __expectInt32(output.AcceptedRouteCount),
|
|
11760
|
+
CertificateArn: __expectString(output.CertificateArn),
|
|
11761
|
+
LastStatusChange: __expectString(output.LastStatusChange),
|
|
11762
|
+
OutsideIpAddress: __expectString(output.OutsideIpAddress),
|
|
11763
|
+
Status: __expectString(output.Status),
|
|
11764
|
+
StatusMessage: __expectString(output.StatusMessage),
|
|
11765
|
+
};
|
|
11766
|
+
};
|
|
11767
|
+
var deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = function (output, context) {
|
|
11768
|
+
return (output || [])
|
|
11769
|
+
.filter(function (e) { return e != null; })
|
|
11770
|
+
.map(function (entry) {
|
|
11771
|
+
if (entry === null) {
|
|
11772
|
+
return null;
|
|
11773
|
+
}
|
|
11774
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
|
|
11775
|
+
});
|
|
11776
|
+
};
|
|
11777
|
+
var deserializeAws_restJson1AwsEcrContainerImageDetails = function (output, context) {
|
|
11778
|
+
return {
|
|
11779
|
+
Architecture: __expectString(output.Architecture),
|
|
11780
|
+
ImageDigest: __expectString(output.ImageDigest),
|
|
11781
|
+
ImagePublishedAt: __expectString(output.ImagePublishedAt),
|
|
11782
|
+
ImageTags: output.ImageTags !== undefined && output.ImageTags !== null
|
|
11783
|
+
? deserializeAws_restJson1NonEmptyStringList(output.ImageTags, context)
|
|
11784
|
+
: undefined,
|
|
11785
|
+
RegistryId: __expectString(output.RegistryId),
|
|
11786
|
+
RepositoryName: __expectString(output.RepositoryName),
|
|
11787
|
+
};
|
|
11788
|
+
};
|
|
11224
11789
|
var deserializeAws_restJson1AwsEcsClusterClusterSettingsDetails = function (output, context) {
|
|
11225
11790
|
return {
|
|
11226
11791
|
Name: __expectString(output.Name),
|
|
@@ -11264,9 +11829,9 @@ var deserializeAws_restJson1AwsEcsClusterConfigurationExecuteCommandConfiguratio
|
|
|
11264
11829
|
};
|
|
11265
11830
|
var deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyDetails = function (output, context) {
|
|
11266
11831
|
return {
|
|
11267
|
-
Base:
|
|
11832
|
+
Base: __expectInt32(output.Base),
|
|
11268
11833
|
CapacityProvider: __expectString(output.CapacityProvider),
|
|
11269
|
-
Weight:
|
|
11834
|
+
Weight: __expectInt32(output.Weight),
|
|
11270
11835
|
};
|
|
11271
11836
|
};
|
|
11272
11837
|
var deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList = function (output, context) {
|
|
@@ -11297,9 +11862,9 @@ var deserializeAws_restJson1AwsEcsClusterDetails = function (output, context) {
|
|
|
11297
11862
|
};
|
|
11298
11863
|
var deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = function (output, context) {
|
|
11299
11864
|
return {
|
|
11300
|
-
Base:
|
|
11865
|
+
Base: __expectInt32(output.Base),
|
|
11301
11866
|
CapacityProvider: __expectString(output.CapacityProvider),
|
|
11302
|
-
Weight:
|
|
11867
|
+
Weight: __expectInt32(output.Weight),
|
|
11303
11868
|
};
|
|
11304
11869
|
};
|
|
11305
11870
|
var deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyList = function (output, context) {
|
|
@@ -11323,8 +11888,8 @@ var deserializeAws_restJson1AwsEcsServiceDeploymentConfigurationDetails = functi
|
|
|
11323
11888
|
DeploymentCircuitBreaker: output.DeploymentCircuitBreaker !== undefined && output.DeploymentCircuitBreaker !== null
|
|
11324
11889
|
? deserializeAws_restJson1AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails(output.DeploymentCircuitBreaker, context)
|
|
11325
11890
|
: undefined,
|
|
11326
|
-
MaximumPercent:
|
|
11327
|
-
MinimumHealthyPercent:
|
|
11891
|
+
MaximumPercent: __expectInt32(output.MaximumPercent),
|
|
11892
|
+
MinimumHealthyPercent: __expectInt32(output.MinimumHealthyPercent),
|
|
11328
11893
|
};
|
|
11329
11894
|
};
|
|
11330
11895
|
var deserializeAws_restJson1AwsEcsServiceDeploymentControllerDetails = function (output, context) {
|
|
@@ -11344,10 +11909,10 @@ var deserializeAws_restJson1AwsEcsServiceDetails = function (output, context) {
|
|
|
11344
11909
|
DeploymentController: output.DeploymentController !== undefined && output.DeploymentController !== null
|
|
11345
11910
|
? deserializeAws_restJson1AwsEcsServiceDeploymentControllerDetails(output.DeploymentController, context)
|
|
11346
11911
|
: undefined,
|
|
11347
|
-
DesiredCount:
|
|
11912
|
+
DesiredCount: __expectInt32(output.DesiredCount),
|
|
11348
11913
|
EnableEcsManagedTags: __expectBoolean(output.EnableEcsManagedTags),
|
|
11349
11914
|
EnableExecuteCommand: __expectBoolean(output.EnableExecuteCommand),
|
|
11350
|
-
HealthCheckGracePeriodSeconds:
|
|
11915
|
+
HealthCheckGracePeriodSeconds: __expectInt32(output.HealthCheckGracePeriodSeconds),
|
|
11351
11916
|
LaunchType: __expectString(output.LaunchType),
|
|
11352
11917
|
LoadBalancers: output.LoadBalancers !== undefined && output.LoadBalancers !== null
|
|
11353
11918
|
? deserializeAws_restJson1AwsEcsServiceLoadBalancersList(output.LoadBalancers, context)
|
|
@@ -11377,7 +11942,7 @@ var deserializeAws_restJson1AwsEcsServiceDetails = function (output, context) {
|
|
|
11377
11942
|
var deserializeAws_restJson1AwsEcsServiceLoadBalancersDetails = function (output, context) {
|
|
11378
11943
|
return {
|
|
11379
11944
|
ContainerName: __expectString(output.ContainerName),
|
|
11380
|
-
ContainerPort:
|
|
11945
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
11381
11946
|
LoadBalancerName: __expectString(output.LoadBalancerName),
|
|
11382
11947
|
TargetGroupArn: __expectString(output.TargetGroupArn),
|
|
11383
11948
|
};
|
|
@@ -11445,8 +12010,8 @@ var deserializeAws_restJson1AwsEcsServicePlacementStrategiesList = function (out
|
|
|
11445
12010
|
var deserializeAws_restJson1AwsEcsServiceServiceRegistriesDetails = function (output, context) {
|
|
11446
12011
|
return {
|
|
11447
12012
|
ContainerName: __expectString(output.ContainerName),
|
|
11448
|
-
ContainerPort:
|
|
11449
|
-
Port:
|
|
12013
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
12014
|
+
Port: __expectInt32(output.Port),
|
|
11450
12015
|
RegistryArn: __expectString(output.RegistryArn),
|
|
11451
12016
|
};
|
|
11452
12017
|
};
|
|
@@ -11481,7 +12046,7 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails = fu
|
|
|
11481
12046
|
Command: output.Command !== undefined && output.Command !== null
|
|
11482
12047
|
? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
|
|
11483
12048
|
: undefined,
|
|
11484
|
-
Cpu:
|
|
12049
|
+
Cpu: __expectInt32(output.Cpu),
|
|
11485
12050
|
DependsOn: output.DependsOn !== undefined && output.DependsOn !== null
|
|
11486
12051
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDependsOnList(output.DependsOn, context)
|
|
11487
12052
|
: undefined,
|
|
@@ -11529,8 +12094,8 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails = fu
|
|
|
11529
12094
|
LogConfiguration: output.LogConfiguration !== undefined && output.LogConfiguration !== null
|
|
11530
12095
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails(output.LogConfiguration, context)
|
|
11531
12096
|
: undefined,
|
|
11532
|
-
Memory:
|
|
11533
|
-
MemoryReservation:
|
|
12097
|
+
Memory: __expectInt32(output.Memory),
|
|
12098
|
+
MemoryReservation: __expectInt32(output.MemoryReservation),
|
|
11534
12099
|
MountPoints: output.MountPoints !== undefined && output.MountPoints !== null
|
|
11535
12100
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsMountPointsList(output.MountPoints, context)
|
|
11536
12101
|
: undefined,
|
|
@@ -11550,8 +12115,8 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails = fu
|
|
|
11550
12115
|
Secrets: output.Secrets !== undefined && output.Secrets !== null
|
|
11551
12116
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSecretsList(output.Secrets, context)
|
|
11552
12117
|
: undefined,
|
|
11553
|
-
StartTimeout:
|
|
11554
|
-
StopTimeout:
|
|
12118
|
+
StartTimeout: __expectInt32(output.StartTimeout),
|
|
12119
|
+
StopTimeout: __expectInt32(output.StopTimeout),
|
|
11555
12120
|
SystemControls: output.SystemControls !== undefined && output.SystemControls !== null
|
|
11556
12121
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSystemControlsList(output.SystemControls, context)
|
|
11557
12122
|
: undefined,
|
|
@@ -11626,10 +12191,10 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsHealthCheckD
|
|
|
11626
12191
|
Command: output.Command !== undefined && output.Command !== null
|
|
11627
12192
|
? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
|
|
11628
12193
|
: undefined,
|
|
11629
|
-
Interval:
|
|
11630
|
-
Retries:
|
|
11631
|
-
StartPeriod:
|
|
11632
|
-
Timeout:
|
|
12194
|
+
Interval: __expectInt32(output.Interval),
|
|
12195
|
+
Retries: __expectInt32(output.Retries),
|
|
12196
|
+
StartPeriod: __expectInt32(output.StartPeriod),
|
|
12197
|
+
Timeout: __expectInt32(output.Timeout),
|
|
11633
12198
|
};
|
|
11634
12199
|
};
|
|
11635
12200
|
var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails = function (output, context) {
|
|
@@ -11651,9 +12216,9 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParamet
|
|
|
11651
12216
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList(output.Devices, context)
|
|
11652
12217
|
: undefined,
|
|
11653
12218
|
InitProcessEnabled: __expectBoolean(output.InitProcessEnabled),
|
|
11654
|
-
MaxSwap:
|
|
11655
|
-
SharedMemorySize:
|
|
11656
|
-
Swappiness:
|
|
12219
|
+
MaxSwap: __expectInt32(output.MaxSwap),
|
|
12220
|
+
SharedMemorySize: __expectInt32(output.SharedMemorySize),
|
|
12221
|
+
Swappiness: __expectInt32(output.Swappiness),
|
|
11657
12222
|
Tmpfs: output.Tmpfs !== undefined && output.Tmpfs !== null
|
|
11658
12223
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList(output.Tmpfs, context)
|
|
11659
12224
|
: undefined,
|
|
@@ -11684,7 +12249,7 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParamet
|
|
|
11684
12249
|
MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
|
|
11685
12250
|
? deserializeAws_restJson1NonEmptyStringList(output.MountOptions, context)
|
|
11686
12251
|
: undefined,
|
|
11687
|
-
Size:
|
|
12252
|
+
Size: __expectInt32(output.Size),
|
|
11688
12253
|
};
|
|
11689
12254
|
};
|
|
11690
12255
|
var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList = function (output, context) {
|
|
@@ -11753,8 +12318,8 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsMountPointsL
|
|
|
11753
12318
|
};
|
|
11754
12319
|
var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails = function (output, context) {
|
|
11755
12320
|
return {
|
|
11756
|
-
ContainerPort:
|
|
11757
|
-
HostPort:
|
|
12321
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
12322
|
+
HostPort: __expectInt32(output.HostPort),
|
|
11758
12323
|
Protocol: __expectString(output.Protocol),
|
|
11759
12324
|
};
|
|
11760
12325
|
};
|
|
@@ -11823,9 +12388,9 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSystemContro
|
|
|
11823
12388
|
};
|
|
11824
12389
|
var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails = function (output, context) {
|
|
11825
12390
|
return {
|
|
11826
|
-
HardLimit:
|
|
12391
|
+
HardLimit: __expectInt32(output.HardLimit),
|
|
11827
12392
|
Name: __expectString(output.Name),
|
|
11828
|
-
SoftLimit:
|
|
12393
|
+
SoftLimit: __expectInt32(output.SoftLimit),
|
|
11829
12394
|
};
|
|
11830
12395
|
};
|
|
11831
12396
|
var deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsUlimitsList = function (output, context) {
|
|
@@ -11982,7 +12547,7 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDet
|
|
|
11982
12547
|
FilesystemId: __expectString(output.FilesystemId),
|
|
11983
12548
|
RootDirectory: __expectString(output.RootDirectory),
|
|
11984
12549
|
TransitEncryption: __expectString(output.TransitEncryption),
|
|
11985
|
-
TransitEncryptionPort:
|
|
12550
|
+
TransitEncryptionPort: __expectInt32(output.TransitEncryptionPort),
|
|
11986
12551
|
};
|
|
11987
12552
|
};
|
|
11988
12553
|
var deserializeAws_restJson1AwsEcsTaskDefinitionVolumesHostDetails = function (output, context) {
|
|
@@ -12108,10 +12673,10 @@ var deserializeAws_restJson1AwsElasticsearchDomainDomainEndpointOptions = functi
|
|
|
12108
12673
|
};
|
|
12109
12674
|
var deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigDetails = function (output, context) {
|
|
12110
12675
|
return {
|
|
12111
|
-
DedicatedMasterCount:
|
|
12676
|
+
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
12112
12677
|
DedicatedMasterEnabled: __expectBoolean(output.DedicatedMasterEnabled),
|
|
12113
12678
|
DedicatedMasterType: __expectString(output.DedicatedMasterType),
|
|
12114
|
-
InstanceCount:
|
|
12679
|
+
InstanceCount: __expectInt32(output.InstanceCount),
|
|
12115
12680
|
InstanceType: __expectString(output.InstanceType),
|
|
12116
12681
|
ZoneAwarenessConfig: output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
|
|
12117
12682
|
? deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails(output.ZoneAwarenessConfig, context)
|
|
@@ -12121,7 +12686,7 @@ var deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigDeta
|
|
|
12121
12686
|
};
|
|
12122
12687
|
var deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails = function (output, context) {
|
|
12123
12688
|
return {
|
|
12124
|
-
AvailabilityZoneCount:
|
|
12689
|
+
AvailabilityZoneCount: __expectInt32(output.AvailabilityZoneCount),
|
|
12125
12690
|
};
|
|
12126
12691
|
};
|
|
12127
12692
|
var deserializeAws_restJson1AwsElasticsearchDomainEncryptionAtRestOptions = function (output, context) {
|
|
@@ -12207,13 +12772,13 @@ var deserializeAws_restJson1AwsElbLbCookieStickinessPolicies = function (output,
|
|
|
12207
12772
|
};
|
|
12208
12773
|
var deserializeAws_restJson1AwsElbLbCookieStickinessPolicy = function (output, context) {
|
|
12209
12774
|
return {
|
|
12210
|
-
CookieExpirationPeriod:
|
|
12775
|
+
CookieExpirationPeriod: __expectLong(output.CookieExpirationPeriod),
|
|
12211
12776
|
PolicyName: __expectString(output.PolicyName),
|
|
12212
12777
|
};
|
|
12213
12778
|
};
|
|
12214
12779
|
var deserializeAws_restJson1AwsElbLoadBalancerAccessLog = function (output, context) {
|
|
12215
12780
|
return {
|
|
12216
|
-
EmitInterval:
|
|
12781
|
+
EmitInterval: __expectInt32(output.EmitInterval),
|
|
12217
12782
|
Enabled: __expectBoolean(output.Enabled),
|
|
12218
12783
|
S3BucketName: __expectString(output.S3BucketName),
|
|
12219
12784
|
S3BucketPrefix: __expectString(output.S3BucketPrefix),
|
|
@@ -12237,7 +12802,7 @@ var deserializeAws_restJson1AwsElbLoadBalancerAttributes = function (output, con
|
|
|
12237
12802
|
};
|
|
12238
12803
|
var deserializeAws_restJson1AwsElbLoadBalancerBackendServerDescription = function (output, context) {
|
|
12239
12804
|
return {
|
|
12240
|
-
InstancePort:
|
|
12805
|
+
InstancePort: __expectInt32(output.InstancePort),
|
|
12241
12806
|
PolicyNames: output.PolicyNames !== undefined && output.PolicyNames !== null
|
|
12242
12807
|
? deserializeAws_restJson1StringList(output.PolicyNames, context)
|
|
12243
12808
|
: undefined,
|
|
@@ -12256,12 +12821,12 @@ var deserializeAws_restJson1AwsElbLoadBalancerBackendServerDescriptions = functi
|
|
|
12256
12821
|
var deserializeAws_restJson1AwsElbLoadBalancerConnectionDraining = function (output, context) {
|
|
12257
12822
|
return {
|
|
12258
12823
|
Enabled: __expectBoolean(output.Enabled),
|
|
12259
|
-
Timeout:
|
|
12824
|
+
Timeout: __expectInt32(output.Timeout),
|
|
12260
12825
|
};
|
|
12261
12826
|
};
|
|
12262
12827
|
var deserializeAws_restJson1AwsElbLoadBalancerConnectionSettings = function (output, context) {
|
|
12263
12828
|
return {
|
|
12264
|
-
IdleTimeout:
|
|
12829
|
+
IdleTimeout: __expectInt32(output.IdleTimeout),
|
|
12265
12830
|
};
|
|
12266
12831
|
};
|
|
12267
12832
|
var deserializeAws_restJson1AwsElbLoadBalancerCrossZoneLoadBalancing = function (output, context) {
|
|
@@ -12312,11 +12877,11 @@ var deserializeAws_restJson1AwsElbLoadBalancerDetails = function (output, contex
|
|
|
12312
12877
|
};
|
|
12313
12878
|
var deserializeAws_restJson1AwsElbLoadBalancerHealthCheck = function (output, context) {
|
|
12314
12879
|
return {
|
|
12315
|
-
HealthyThreshold:
|
|
12316
|
-
Interval:
|
|
12880
|
+
HealthyThreshold: __expectInt32(output.HealthyThreshold),
|
|
12881
|
+
Interval: __expectInt32(output.Interval),
|
|
12317
12882
|
Target: __expectString(output.Target),
|
|
12318
|
-
Timeout:
|
|
12319
|
-
UnhealthyThreshold:
|
|
12883
|
+
Timeout: __expectInt32(output.Timeout),
|
|
12884
|
+
UnhealthyThreshold: __expectInt32(output.UnhealthyThreshold),
|
|
12320
12885
|
};
|
|
12321
12886
|
};
|
|
12322
12887
|
var deserializeAws_restJson1AwsElbLoadBalancerInstance = function (output, context) {
|
|
@@ -12336,9 +12901,9 @@ var deserializeAws_restJson1AwsElbLoadBalancerInstances = function (output, cont
|
|
|
12336
12901
|
};
|
|
12337
12902
|
var deserializeAws_restJson1AwsElbLoadBalancerListener = function (output, context) {
|
|
12338
12903
|
return {
|
|
12339
|
-
InstancePort:
|
|
12904
|
+
InstancePort: __expectInt32(output.InstancePort),
|
|
12340
12905
|
InstanceProtocol: __expectString(output.InstanceProtocol),
|
|
12341
|
-
LoadBalancerPort:
|
|
12906
|
+
LoadBalancerPort: __expectInt32(output.LoadBalancerPort),
|
|
12342
12907
|
Protocol: __expectString(output.Protocol),
|
|
12343
12908
|
SslCertificateId: __expectString(output.SslCertificateId),
|
|
12344
12909
|
};
|
|
@@ -12537,13 +13102,13 @@ var deserializeAws_restJson1AwsIamPermissionsBoundary = function (output, contex
|
|
|
12537
13102
|
};
|
|
12538
13103
|
var deserializeAws_restJson1AwsIamPolicyDetails = function (output, context) {
|
|
12539
13104
|
return {
|
|
12540
|
-
AttachmentCount:
|
|
13105
|
+
AttachmentCount: __expectInt32(output.AttachmentCount),
|
|
12541
13106
|
CreateDate: __expectString(output.CreateDate),
|
|
12542
13107
|
DefaultVersionId: __expectString(output.DefaultVersionId),
|
|
12543
13108
|
Description: __expectString(output.Description),
|
|
12544
13109
|
IsAttachable: __expectBoolean(output.IsAttachable),
|
|
12545
13110
|
Path: __expectString(output.Path),
|
|
12546
|
-
PermissionsBoundaryUsageCount:
|
|
13111
|
+
PermissionsBoundaryUsageCount: __expectInt32(output.PermissionsBoundaryUsageCount),
|
|
12547
13112
|
PolicyId: __expectString(output.PolicyId),
|
|
12548
13113
|
PolicyName: __expectString(output.PolicyName),
|
|
12549
13114
|
PolicyVersionList: output.PolicyVersionList !== undefined && output.PolicyVersionList !== null
|
|
@@ -12579,7 +13144,7 @@ var deserializeAws_restJson1AwsIamRoleDetails = function (output, context) {
|
|
|
12579
13144
|
InstanceProfileList: output.InstanceProfileList !== undefined && output.InstanceProfileList !== null
|
|
12580
13145
|
? deserializeAws_restJson1AwsIamInstanceProfileList(output.InstanceProfileList, context)
|
|
12581
13146
|
: undefined,
|
|
12582
|
-
MaxSessionDuration:
|
|
13147
|
+
MaxSessionDuration: __expectInt32(output.MaxSessionDuration),
|
|
12583
13148
|
Path: __expectString(output.Path),
|
|
12584
13149
|
PermissionsBoundary: output.PermissionsBoundary !== undefined && output.PermissionsBoundary !== null
|
|
12585
13150
|
? deserializeAws_restJson1AwsIamPermissionsBoundary(output.PermissionsBoundary, context)
|
|
@@ -12644,10 +13209,11 @@ var deserializeAws_restJson1AwsIamUserPolicyList = function (output, context) {
|
|
|
12644
13209
|
var deserializeAws_restJson1AwsKmsKeyDetails = function (output, context) {
|
|
12645
13210
|
return {
|
|
12646
13211
|
AWSAccountId: __expectString(output.AWSAccountId),
|
|
12647
|
-
CreationDate:
|
|
13212
|
+
CreationDate: __limitedParseDouble(output.CreationDate),
|
|
12648
13213
|
Description: __expectString(output.Description),
|
|
12649
13214
|
KeyId: __expectString(output.KeyId),
|
|
12650
13215
|
KeyManager: __expectString(output.KeyManager),
|
|
13216
|
+
KeyRotationStatus: __expectBoolean(output.KeyRotationStatus),
|
|
12651
13217
|
KeyState: __expectString(output.KeyState),
|
|
12652
13218
|
Origin: __expectString(output.Origin),
|
|
12653
13219
|
};
|
|
@@ -12685,11 +13251,11 @@ var deserializeAws_restJson1AwsLambdaFunctionDetails = function (output, context
|
|
|
12685
13251
|
? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context)
|
|
12686
13252
|
: undefined,
|
|
12687
13253
|
MasterArn: __expectString(output.MasterArn),
|
|
12688
|
-
MemorySize:
|
|
13254
|
+
MemorySize: __expectInt32(output.MemorySize),
|
|
12689
13255
|
RevisionId: __expectString(output.RevisionId),
|
|
12690
13256
|
Role: __expectString(output.Role),
|
|
12691
13257
|
Runtime: __expectString(output.Runtime),
|
|
12692
|
-
Timeout:
|
|
13258
|
+
Timeout: __expectInt32(output.Timeout),
|
|
12693
13259
|
TracingConfig: output.TracingConfig !== undefined && output.TracingConfig !== null
|
|
12694
13260
|
? deserializeAws_restJson1AwsLambdaFunctionTracingConfig(output.TracingConfig, context)
|
|
12695
13261
|
: undefined,
|
|
@@ -12718,7 +13284,7 @@ var deserializeAws_restJson1AwsLambdaFunctionEnvironmentError = function (output
|
|
|
12718
13284
|
var deserializeAws_restJson1AwsLambdaFunctionLayer = function (output, context) {
|
|
12719
13285
|
return {
|
|
12720
13286
|
Arn: __expectString(output.Arn),
|
|
12721
|
-
CodeSize:
|
|
13287
|
+
CodeSize: __expectInt32(output.CodeSize),
|
|
12722
13288
|
};
|
|
12723
13289
|
};
|
|
12724
13290
|
var deserializeAws_restJson1AwsLambdaFunctionLayerList = function (output, context) {
|
|
@@ -12753,7 +13319,7 @@ var deserializeAws_restJson1AwsLambdaLayerVersionDetails = function (output, con
|
|
|
12753
13319
|
? deserializeAws_restJson1NonEmptyStringList(output.CompatibleRuntimes, context)
|
|
12754
13320
|
: undefined,
|
|
12755
13321
|
CreatedDate: __expectString(output.CreatedDate),
|
|
12756
|
-
Version:
|
|
13322
|
+
Version: __expectLong(output.Version),
|
|
12757
13323
|
};
|
|
12758
13324
|
};
|
|
12759
13325
|
var deserializeAws_restJson1AwsRdsDbClusterAssociatedRole = function (output, context) {
|
|
@@ -12775,14 +13341,14 @@ var deserializeAws_restJson1AwsRdsDbClusterAssociatedRoles = function (output, c
|
|
|
12775
13341
|
var deserializeAws_restJson1AwsRdsDbClusterDetails = function (output, context) {
|
|
12776
13342
|
return {
|
|
12777
13343
|
ActivityStreamStatus: __expectString(output.ActivityStreamStatus),
|
|
12778
|
-
AllocatedStorage:
|
|
13344
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
12779
13345
|
AssociatedRoles: output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
|
|
12780
13346
|
? deserializeAws_restJson1AwsRdsDbClusterAssociatedRoles(output.AssociatedRoles, context)
|
|
12781
13347
|
: undefined,
|
|
12782
13348
|
AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
12783
13349
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
12784
13350
|
: undefined,
|
|
12785
|
-
BackupRetentionPeriod:
|
|
13351
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
12786
13352
|
ClusterCreateTime: __expectString(output.ClusterCreateTime),
|
|
12787
13353
|
CopyTagsToSnapshot: __expectBoolean(output.CopyTagsToSnapshot),
|
|
12788
13354
|
CrossAccountClone: __expectBoolean(output.CrossAccountClone),
|
|
@@ -12817,7 +13383,7 @@ var deserializeAws_restJson1AwsRdsDbClusterDetails = function (output, context)
|
|
|
12817
13383
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
12818
13384
|
MasterUsername: __expectString(output.MasterUsername),
|
|
12819
13385
|
MultiAz: __expectBoolean(output.MultiAz),
|
|
12820
|
-
Port:
|
|
13386
|
+
Port: __expectInt32(output.Port),
|
|
12821
13387
|
PreferredBackupWindow: __expectString(output.PreferredBackupWindow),
|
|
12822
13388
|
PreferredMaintenanceWindow: __expectString(output.PreferredMaintenanceWindow),
|
|
12823
13389
|
ReadReplicaIdentifiers: output.ReadReplicaIdentifiers !== undefined && output.ReadReplicaIdentifiers !== null
|
|
@@ -12836,7 +13402,7 @@ var deserializeAws_restJson1AwsRdsDbClusterMember = function (output, context) {
|
|
|
12836
13402
|
DbClusterParameterGroupStatus: __expectString(output.DbClusterParameterGroupStatus),
|
|
12837
13403
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
12838
13404
|
IsClusterWriter: __expectBoolean(output.IsClusterWriter),
|
|
12839
|
-
PromotionTier:
|
|
13405
|
+
PromotionTier: __expectInt32(output.PromotionTier),
|
|
12840
13406
|
};
|
|
12841
13407
|
};
|
|
12842
13408
|
var deserializeAws_restJson1AwsRdsDbClusterMembers = function (output, context) {
|
|
@@ -12867,7 +13433,7 @@ var deserializeAws_restJson1AwsRdsDbClusterOptionGroupMemberships = function (ou
|
|
|
12867
13433
|
};
|
|
12868
13434
|
var deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = function (output, context) {
|
|
12869
13435
|
return {
|
|
12870
|
-
AllocatedStorage:
|
|
13436
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
12871
13437
|
AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
12872
13438
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
12873
13439
|
: undefined,
|
|
@@ -12880,8 +13446,8 @@ var deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = function (output, c
|
|
|
12880
13446
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
12881
13447
|
LicenseModel: __expectString(output.LicenseModel),
|
|
12882
13448
|
MasterUsername: __expectString(output.MasterUsername),
|
|
12883
|
-
PercentProgress:
|
|
12884
|
-
Port:
|
|
13449
|
+
PercentProgress: __expectInt32(output.PercentProgress),
|
|
13450
|
+
Port: __expectInt32(output.Port),
|
|
12885
13451
|
SnapshotCreateTime: __expectString(output.SnapshotCreateTime),
|
|
12886
13452
|
SnapshotType: __expectString(output.SnapshotType),
|
|
12887
13453
|
Status: __expectString(output.Status),
|
|
@@ -12926,13 +13492,13 @@ var deserializeAws_restJson1AwsRdsDbInstanceAssociatedRoles = function (output,
|
|
|
12926
13492
|
};
|
|
12927
13493
|
var deserializeAws_restJson1AwsRdsDbInstanceDetails = function (output, context) {
|
|
12928
13494
|
return {
|
|
12929
|
-
AllocatedStorage:
|
|
13495
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
12930
13496
|
AssociatedRoles: output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
|
|
12931
13497
|
? deserializeAws_restJson1AwsRdsDbInstanceAssociatedRoles(output.AssociatedRoles, context)
|
|
12932
13498
|
: undefined,
|
|
12933
13499
|
AutoMinorVersionUpgrade: __expectBoolean(output.AutoMinorVersionUpgrade),
|
|
12934
13500
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
12935
|
-
BackupRetentionPeriod:
|
|
13501
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
12936
13502
|
CACertificateIdentifier: __expectString(output.CACertificateIdentifier),
|
|
12937
13503
|
CharacterSetName: __expectString(output.CharacterSetName),
|
|
12938
13504
|
CopyTagsToSnapshot: __expectBoolean(output.CopyTagsToSnapshot),
|
|
@@ -12940,7 +13506,7 @@ var deserializeAws_restJson1AwsRdsDbInstanceDetails = function (output, context)
|
|
|
12940
13506
|
DBInstanceClass: __expectString(output.DBInstanceClass),
|
|
12941
13507
|
DBInstanceIdentifier: __expectString(output.DBInstanceIdentifier),
|
|
12942
13508
|
DBName: __expectString(output.DBName),
|
|
12943
|
-
DbInstancePort:
|
|
13509
|
+
DbInstancePort: __expectInt32(output.DbInstancePort),
|
|
12944
13510
|
DbInstanceStatus: __expectString(output.DbInstanceStatus),
|
|
12945
13511
|
DbParameterGroups: output.DbParameterGroups !== undefined && output.DbParameterGroups !== null
|
|
12946
13512
|
? deserializeAws_restJson1AwsRdsDbParameterGroups(output.DbParameterGroups, context)
|
|
@@ -12967,7 +13533,7 @@ var deserializeAws_restJson1AwsRdsDbInstanceDetails = function (output, context)
|
|
|
12967
13533
|
EnhancedMonitoringResourceArn: __expectString(output.EnhancedMonitoringResourceArn),
|
|
12968
13534
|
IAMDatabaseAuthenticationEnabled: __expectBoolean(output.IAMDatabaseAuthenticationEnabled),
|
|
12969
13535
|
InstanceCreateTime: __expectString(output.InstanceCreateTime),
|
|
12970
|
-
Iops:
|
|
13536
|
+
Iops: __expectInt32(output.Iops),
|
|
12971
13537
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
12972
13538
|
LatestRestorableTime: __expectString(output.LatestRestorableTime),
|
|
12973
13539
|
LicenseModel: __expectString(output.LicenseModel),
|
|
@@ -12975,8 +13541,8 @@ var deserializeAws_restJson1AwsRdsDbInstanceDetails = function (output, context)
|
|
|
12975
13541
|
? deserializeAws_restJson1AwsRdsDbInstanceEndpoint(output.ListenerEndpoint, context)
|
|
12976
13542
|
: undefined,
|
|
12977
13543
|
MasterUsername: __expectString(output.MasterUsername),
|
|
12978
|
-
MaxAllocatedStorage:
|
|
12979
|
-
MonitoringInterval:
|
|
13544
|
+
MaxAllocatedStorage: __expectInt32(output.MaxAllocatedStorage),
|
|
13545
|
+
MonitoringInterval: __expectInt32(output.MonitoringInterval),
|
|
12980
13546
|
MonitoringRoleArn: __expectString(output.MonitoringRoleArn),
|
|
12981
13547
|
MultiAz: __expectBoolean(output.MultiAz),
|
|
12982
13548
|
OptionGroupMemberships: output.OptionGroupMemberships !== undefined && output.OptionGroupMemberships !== null
|
|
@@ -12987,13 +13553,13 @@ var deserializeAws_restJson1AwsRdsDbInstanceDetails = function (output, context)
|
|
|
12987
13553
|
: undefined,
|
|
12988
13554
|
PerformanceInsightsEnabled: __expectBoolean(output.PerformanceInsightsEnabled),
|
|
12989
13555
|
PerformanceInsightsKmsKeyId: __expectString(output.PerformanceInsightsKmsKeyId),
|
|
12990
|
-
PerformanceInsightsRetentionPeriod:
|
|
13556
|
+
PerformanceInsightsRetentionPeriod: __expectInt32(output.PerformanceInsightsRetentionPeriod),
|
|
12991
13557
|
PreferredBackupWindow: __expectString(output.PreferredBackupWindow),
|
|
12992
13558
|
PreferredMaintenanceWindow: __expectString(output.PreferredMaintenanceWindow),
|
|
12993
13559
|
ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
12994
13560
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
12995
13561
|
: undefined,
|
|
12996
|
-
PromotionTier:
|
|
13562
|
+
PromotionTier: __expectInt32(output.PromotionTier),
|
|
12997
13563
|
PubliclyAccessible: __expectBoolean(output.PubliclyAccessible),
|
|
12998
13564
|
ReadReplicaDBClusterIdentifiers: output.ReadReplicaDBClusterIdentifiers !== undefined && output.ReadReplicaDBClusterIdentifiers !== null
|
|
12999
13565
|
? deserializeAws_restJson1StringList(output.ReadReplicaDBClusterIdentifiers, context)
|
|
@@ -13019,7 +13585,7 @@ var deserializeAws_restJson1AwsRdsDbInstanceEndpoint = function (output, context
|
|
|
13019
13585
|
return {
|
|
13020
13586
|
Address: __expectString(output.Address),
|
|
13021
13587
|
HostedZoneId: __expectString(output.HostedZoneId),
|
|
13022
|
-
Port:
|
|
13588
|
+
Port: __expectInt32(output.Port),
|
|
13023
13589
|
};
|
|
13024
13590
|
};
|
|
13025
13591
|
var deserializeAws_restJson1AwsRdsDbInstanceVpcSecurityGroup = function (output, context) {
|
|
@@ -13072,21 +13638,21 @@ var deserializeAws_restJson1AwsRdsDbParameterGroups = function (output, context)
|
|
|
13072
13638
|
};
|
|
13073
13639
|
var deserializeAws_restJson1AwsRdsDbPendingModifiedValues = function (output, context) {
|
|
13074
13640
|
return {
|
|
13075
|
-
AllocatedStorage:
|
|
13076
|
-
BackupRetentionPeriod:
|
|
13641
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
13642
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
13077
13643
|
CaCertificateIdentifier: __expectString(output.CaCertificateIdentifier),
|
|
13078
13644
|
DbInstanceClass: __expectString(output.DbInstanceClass),
|
|
13079
13645
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
13080
13646
|
DbSubnetGroupName: __expectString(output.DbSubnetGroupName),
|
|
13081
13647
|
EngineVersion: __expectString(output.EngineVersion),
|
|
13082
|
-
Iops:
|
|
13648
|
+
Iops: __expectInt32(output.Iops),
|
|
13083
13649
|
LicenseModel: __expectString(output.LicenseModel),
|
|
13084
13650
|
MasterUserPassword: __expectString(output.MasterUserPassword),
|
|
13085
13651
|
MultiAZ: __expectBoolean(output.MultiAZ),
|
|
13086
13652
|
PendingCloudWatchLogsExports: output.PendingCloudWatchLogsExports !== undefined && output.PendingCloudWatchLogsExports !== null
|
|
13087
13653
|
? deserializeAws_restJson1AwsRdsPendingCloudWatchLogsExports(output.PendingCloudWatchLogsExports, context)
|
|
13088
13654
|
: undefined,
|
|
13089
|
-
Port:
|
|
13655
|
+
Port: __expectInt32(output.Port),
|
|
13090
13656
|
ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
13091
13657
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
13092
13658
|
: undefined,
|
|
@@ -13111,7 +13677,7 @@ var deserializeAws_restJson1AwsRdsDbProcessorFeatures = function (output, contex
|
|
|
13111
13677
|
};
|
|
13112
13678
|
var deserializeAws_restJson1AwsRdsDbSnapshotDetails = function (output, context) {
|
|
13113
13679
|
return {
|
|
13114
|
-
AllocatedStorage:
|
|
13680
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
13115
13681
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
13116
13682
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
13117
13683
|
DbSnapshotIdentifier: __expectString(output.DbSnapshotIdentifier),
|
|
@@ -13121,13 +13687,13 @@ var deserializeAws_restJson1AwsRdsDbSnapshotDetails = function (output, context)
|
|
|
13121
13687
|
EngineVersion: __expectString(output.EngineVersion),
|
|
13122
13688
|
IamDatabaseAuthenticationEnabled: __expectBoolean(output.IamDatabaseAuthenticationEnabled),
|
|
13123
13689
|
InstanceCreateTime: __expectString(output.InstanceCreateTime),
|
|
13124
|
-
Iops:
|
|
13690
|
+
Iops: __expectInt32(output.Iops),
|
|
13125
13691
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
13126
13692
|
LicenseModel: __expectString(output.LicenseModel),
|
|
13127
13693
|
MasterUsername: __expectString(output.MasterUsername),
|
|
13128
13694
|
OptionGroupName: __expectString(output.OptionGroupName),
|
|
13129
|
-
PercentProgress:
|
|
13130
|
-
Port:
|
|
13695
|
+
PercentProgress: __expectInt32(output.PercentProgress),
|
|
13696
|
+
Port: __expectInt32(output.Port),
|
|
13131
13697
|
ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
13132
13698
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
13133
13699
|
: undefined,
|
|
@@ -13296,8 +13862,8 @@ var deserializeAws_restJson1AwsRedshiftClusterClusterSecurityGroups = function (
|
|
|
13296
13862
|
var deserializeAws_restJson1AwsRedshiftClusterClusterSnapshotCopyStatus = function (output, context) {
|
|
13297
13863
|
return {
|
|
13298
13864
|
DestinationRegion: __expectString(output.DestinationRegion),
|
|
13299
|
-
ManualSnapshotRetentionPeriod:
|
|
13300
|
-
RetentionPeriod:
|
|
13865
|
+
ManualSnapshotRetentionPeriod: __expectInt32(output.ManualSnapshotRetentionPeriod),
|
|
13866
|
+
RetentionPeriod: __expectInt32(output.RetentionPeriod),
|
|
13301
13867
|
SnapshotCopyGrantName: __expectString(output.SnapshotCopyGrantName),
|
|
13302
13868
|
};
|
|
13303
13869
|
};
|
|
@@ -13321,7 +13887,7 @@ var deserializeAws_restJson1AwsRedshiftClusterDeferredMaintenanceWindows = funct
|
|
|
13321
13887
|
var deserializeAws_restJson1AwsRedshiftClusterDetails = function (output, context) {
|
|
13322
13888
|
return {
|
|
13323
13889
|
AllowVersionUpgrade: __expectBoolean(output.AllowVersionUpgrade),
|
|
13324
|
-
AutomatedSnapshotRetentionPeriod:
|
|
13890
|
+
AutomatedSnapshotRetentionPeriod: __expectInt32(output.AutomatedSnapshotRetentionPeriod),
|
|
13325
13891
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
13326
13892
|
ClusterAvailabilityStatus: __expectString(output.ClusterAvailabilityStatus),
|
|
13327
13893
|
ClusterCreateTime: __expectString(output.ClusterCreateTime),
|
|
@@ -13366,11 +13932,11 @@ var deserializeAws_restJson1AwsRedshiftClusterDetails = function (output, contex
|
|
|
13366
13932
|
: undefined,
|
|
13367
13933
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
13368
13934
|
MaintenanceTrackName: __expectString(output.MaintenanceTrackName),
|
|
13369
|
-
ManualSnapshotRetentionPeriod:
|
|
13935
|
+
ManualSnapshotRetentionPeriod: __expectInt32(output.ManualSnapshotRetentionPeriod),
|
|
13370
13936
|
MasterUsername: __expectString(output.MasterUsername),
|
|
13371
13937
|
NextMaintenanceWindowStartTime: __expectString(output.NextMaintenanceWindowStartTime),
|
|
13372
13938
|
NodeType: __expectString(output.NodeType),
|
|
13373
|
-
NumberOfNodes:
|
|
13939
|
+
NumberOfNodes: __expectInt32(output.NumberOfNodes),
|
|
13374
13940
|
PendingActions: output.PendingActions !== undefined && output.PendingActions !== null
|
|
13375
13941
|
? deserializeAws_restJson1StringList(output.PendingActions, context)
|
|
13376
13942
|
: undefined,
|
|
@@ -13402,7 +13968,7 @@ var deserializeAws_restJson1AwsRedshiftClusterElasticIpStatus = function (output
|
|
|
13402
13968
|
var deserializeAws_restJson1AwsRedshiftClusterEndpoint = function (output, context) {
|
|
13403
13969
|
return {
|
|
13404
13970
|
Address: __expectString(output.Address),
|
|
13405
|
-
Port:
|
|
13971
|
+
Port: __expectInt32(output.Port),
|
|
13406
13972
|
};
|
|
13407
13973
|
};
|
|
13408
13974
|
var deserializeAws_restJson1AwsRedshiftClusterHsmStatus = function (output, context) {
|
|
@@ -13430,7 +13996,7 @@ var deserializeAws_restJson1AwsRedshiftClusterIamRoles = function (output, conte
|
|
|
13430
13996
|
};
|
|
13431
13997
|
var deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = function (output, context) {
|
|
13432
13998
|
return {
|
|
13433
|
-
AutomatedSnapshotRetentionPeriod:
|
|
13999
|
+
AutomatedSnapshotRetentionPeriod: __expectInt32(output.AutomatedSnapshotRetentionPeriod),
|
|
13434
14000
|
ClusterIdentifier: __expectString(output.ClusterIdentifier),
|
|
13435
14001
|
ClusterType: __expectString(output.ClusterType),
|
|
13436
14002
|
ClusterVersion: __expectString(output.ClusterVersion),
|
|
@@ -13439,7 +14005,7 @@ var deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = function (
|
|
|
13439
14005
|
MaintenanceTrackName: __expectString(output.MaintenanceTrackName),
|
|
13440
14006
|
MasterUserPassword: __expectString(output.MasterUserPassword),
|
|
13441
14007
|
NodeType: __expectString(output.NodeType),
|
|
13442
|
-
NumberOfNodes:
|
|
14008
|
+
NumberOfNodes: __expectInt32(output.NumberOfNodes),
|
|
13443
14009
|
PubliclyAccessible: __expectBoolean(output.PubliclyAccessible),
|
|
13444
14010
|
};
|
|
13445
14011
|
};
|
|
@@ -13451,11 +14017,11 @@ var deserializeAws_restJson1AwsRedshiftClusterResizeInfo = function (output, con
|
|
|
13451
14017
|
};
|
|
13452
14018
|
var deserializeAws_restJson1AwsRedshiftClusterRestoreStatus = function (output, context) {
|
|
13453
14019
|
return {
|
|
13454
|
-
CurrentRestoreRateInMegaBytesPerSecond:
|
|
13455
|
-
ElapsedTimeInSeconds:
|
|
13456
|
-
EstimatedTimeToCompletionInSeconds:
|
|
13457
|
-
ProgressInMegaBytes:
|
|
13458
|
-
SnapshotSizeInMegaBytes:
|
|
14020
|
+
CurrentRestoreRateInMegaBytesPerSecond: __limitedParseDouble(output.CurrentRestoreRateInMegaBytesPerSecond),
|
|
14021
|
+
ElapsedTimeInSeconds: __expectLong(output.ElapsedTimeInSeconds),
|
|
14022
|
+
EstimatedTimeToCompletionInSeconds: __expectLong(output.EstimatedTimeToCompletionInSeconds),
|
|
14023
|
+
ProgressInMegaBytes: __expectLong(output.ProgressInMegaBytes),
|
|
14024
|
+
SnapshotSizeInMegaBytes: __expectLong(output.SnapshotSizeInMegaBytes),
|
|
13459
14025
|
Status: __expectString(output.Status),
|
|
13460
14026
|
};
|
|
13461
14027
|
};
|
|
@@ -13492,7 +14058,7 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails = fun
|
|
|
13492
14058
|
};
|
|
13493
14059
|
var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails = function (output, context) {
|
|
13494
14060
|
return {
|
|
13495
|
-
DaysAfterInitiation:
|
|
14061
|
+
DaysAfterInitiation: __expectInt32(output.DaysAfterInitiation),
|
|
13496
14062
|
};
|
|
13497
14063
|
};
|
|
13498
14064
|
var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesDetails = function (output, context) {
|
|
@@ -13501,13 +14067,13 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesDetails
|
|
|
13501
14067
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(output.AbortIncompleteMultipartUpload, context)
|
|
13502
14068
|
: undefined,
|
|
13503
14069
|
ExpirationDate: __expectString(output.ExpirationDate),
|
|
13504
|
-
ExpirationInDays:
|
|
14070
|
+
ExpirationInDays: __expectInt32(output.ExpirationInDays),
|
|
13505
14071
|
ExpiredObjectDeleteMarker: __expectBoolean(output.ExpiredObjectDeleteMarker),
|
|
13506
14072
|
Filter: output.Filter !== undefined && output.Filter !== null
|
|
13507
14073
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails(output.Filter, context)
|
|
13508
14074
|
: undefined,
|
|
13509
14075
|
ID: __expectString(output.ID),
|
|
13510
|
-
NoncurrentVersionExpirationInDays:
|
|
14076
|
+
NoncurrentVersionExpirationInDays: __expectInt32(output.NoncurrentVersionExpirationInDays),
|
|
13511
14077
|
NoncurrentVersionTransitions: output.NoncurrentVersionTransitions !== undefined && output.NoncurrentVersionTransitions !== null
|
|
13512
14078
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList(output.NoncurrentVersionTransitions, context)
|
|
13513
14079
|
: undefined,
|
|
@@ -13580,7 +14146,7 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesList = f
|
|
|
13580
14146
|
};
|
|
13581
14147
|
var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails = function (output, context) {
|
|
13582
14148
|
return {
|
|
13583
|
-
Days:
|
|
14149
|
+
Days: __expectInt32(output.Days),
|
|
13584
14150
|
StorageClass: __expectString(output.StorageClass),
|
|
13585
14151
|
};
|
|
13586
14152
|
};
|
|
@@ -13597,7 +14163,7 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurre
|
|
|
13597
14163
|
var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails = function (output, context) {
|
|
13598
14164
|
return {
|
|
13599
14165
|
Date: __expectString(output.Date),
|
|
13600
|
-
Days:
|
|
14166
|
+
Days: __expectInt32(output.Days),
|
|
13601
14167
|
StorageClass: __expectString(output.StorageClass),
|
|
13602
14168
|
};
|
|
13603
14169
|
};
|
|
@@ -13613,9 +14179,19 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransiti
|
|
|
13613
14179
|
};
|
|
13614
14180
|
var deserializeAws_restJson1AwsS3BucketDetails = function (output, context) {
|
|
13615
14181
|
return {
|
|
14182
|
+
AccessControlList: __expectString(output.AccessControlList),
|
|
13616
14183
|
BucketLifecycleConfiguration: output.BucketLifecycleConfiguration !== undefined && output.BucketLifecycleConfiguration !== null
|
|
13617
14184
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(output.BucketLifecycleConfiguration, context)
|
|
13618
14185
|
: undefined,
|
|
14186
|
+
BucketLoggingConfiguration: output.BucketLoggingConfiguration !== undefined && output.BucketLoggingConfiguration !== null
|
|
14187
|
+
? deserializeAws_restJson1AwsS3BucketLoggingConfiguration(output.BucketLoggingConfiguration, context)
|
|
14188
|
+
: undefined,
|
|
14189
|
+
BucketNotificationConfiguration: output.BucketNotificationConfiguration !== undefined && output.BucketNotificationConfiguration !== null
|
|
14190
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfiguration(output.BucketNotificationConfiguration, context)
|
|
14191
|
+
: undefined,
|
|
14192
|
+
BucketWebsiteConfiguration: output.BucketWebsiteConfiguration !== undefined && output.BucketWebsiteConfiguration !== null
|
|
14193
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
|
|
14194
|
+
: undefined,
|
|
13619
14195
|
CreatedAt: __expectString(output.CreatedAt),
|
|
13620
14196
|
OwnerId: __expectString(output.OwnerId),
|
|
13621
14197
|
OwnerName: __expectString(output.OwnerName),
|
|
@@ -13627,6 +14203,81 @@ var deserializeAws_restJson1AwsS3BucketDetails = function (output, context) {
|
|
|
13627
14203
|
: undefined,
|
|
13628
14204
|
};
|
|
13629
14205
|
};
|
|
14206
|
+
var deserializeAws_restJson1AwsS3BucketLoggingConfiguration = function (output, context) {
|
|
14207
|
+
return {
|
|
14208
|
+
DestinationBucketName: __expectString(output.DestinationBucketName),
|
|
14209
|
+
LogFilePrefix: __expectString(output.LogFilePrefix),
|
|
14210
|
+
};
|
|
14211
|
+
};
|
|
14212
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfiguration = function (output, context) {
|
|
14213
|
+
return {
|
|
14214
|
+
Configurations: output.Configurations !== undefined && output.Configurations !== null
|
|
14215
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(output.Configurations, context)
|
|
14216
|
+
: undefined,
|
|
14217
|
+
};
|
|
14218
|
+
};
|
|
14219
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = function (output, context) {
|
|
14220
|
+
return {
|
|
14221
|
+
Destination: __expectString(output.Destination),
|
|
14222
|
+
Events: output.Events !== undefined && output.Events !== null
|
|
14223
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(output.Events, context)
|
|
14224
|
+
: undefined,
|
|
14225
|
+
Filter: output.Filter !== undefined && output.Filter !== null
|
|
14226
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(output.Filter, context)
|
|
14227
|
+
: undefined,
|
|
14228
|
+
Type: __expectString(output.Type),
|
|
14229
|
+
};
|
|
14230
|
+
};
|
|
14231
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = function (output, context) {
|
|
14232
|
+
return (output || [])
|
|
14233
|
+
.filter(function (e) { return e != null; })
|
|
14234
|
+
.map(function (entry) {
|
|
14235
|
+
if (entry === null) {
|
|
14236
|
+
return null;
|
|
14237
|
+
}
|
|
14238
|
+
return deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
|
|
14239
|
+
});
|
|
14240
|
+
};
|
|
14241
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = function (output, context) {
|
|
14242
|
+
return (output || [])
|
|
14243
|
+
.filter(function (e) { return e != null; })
|
|
14244
|
+
.map(function (entry) {
|
|
14245
|
+
if (entry === null) {
|
|
14246
|
+
return null;
|
|
14247
|
+
}
|
|
14248
|
+
return __expectString(entry);
|
|
14249
|
+
});
|
|
14250
|
+
};
|
|
14251
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = function (output, context) {
|
|
14252
|
+
return {
|
|
14253
|
+
S3KeyFilter: output.S3KeyFilter !== undefined && output.S3KeyFilter !== null
|
|
14254
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(output.S3KeyFilter, context)
|
|
14255
|
+
: undefined,
|
|
14256
|
+
};
|
|
14257
|
+
};
|
|
14258
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = function (output, context) {
|
|
14259
|
+
return {
|
|
14260
|
+
FilterRules: output.FilterRules !== undefined && output.FilterRules !== null
|
|
14261
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(output.FilterRules, context)
|
|
14262
|
+
: undefined,
|
|
14263
|
+
};
|
|
14264
|
+
};
|
|
14265
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = function (output, context) {
|
|
14266
|
+
return {
|
|
14267
|
+
Name: __expectString(output.Name),
|
|
14268
|
+
Value: __expectString(output.Value),
|
|
14269
|
+
};
|
|
14270
|
+
};
|
|
14271
|
+
var deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = function (output, context) {
|
|
14272
|
+
return (output || [])
|
|
14273
|
+
.filter(function (e) { return e != null; })
|
|
14274
|
+
.map(function (entry) {
|
|
14275
|
+
if (entry === null) {
|
|
14276
|
+
return null;
|
|
14277
|
+
}
|
|
14278
|
+
return deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
|
|
14279
|
+
});
|
|
14280
|
+
};
|
|
13630
14281
|
var deserializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = function (output, context) {
|
|
13631
14282
|
return {
|
|
13632
14283
|
KMSMasterKeyID: __expectString(output.KMSMasterKeyID),
|
|
@@ -13657,6 +14308,59 @@ var deserializeAws_restJson1AwsS3BucketServerSideEncryptionRules = function (out
|
|
|
13657
14308
|
return deserializeAws_restJson1AwsS3BucketServerSideEncryptionRule(entry, context);
|
|
13658
14309
|
});
|
|
13659
14310
|
};
|
|
14311
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfiguration = function (output, context) {
|
|
14312
|
+
return {
|
|
14313
|
+
ErrorDocument: __expectString(output.ErrorDocument),
|
|
14314
|
+
IndexDocumentSuffix: __expectString(output.IndexDocumentSuffix),
|
|
14315
|
+
RedirectAllRequestsTo: output.RedirectAllRequestsTo !== undefined && output.RedirectAllRequestsTo !== null
|
|
14316
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(output.RedirectAllRequestsTo, context)
|
|
14317
|
+
: undefined,
|
|
14318
|
+
RoutingRules: output.RoutingRules !== undefined && output.RoutingRules !== null
|
|
14319
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(output.RoutingRules, context)
|
|
14320
|
+
: undefined,
|
|
14321
|
+
};
|
|
14322
|
+
};
|
|
14323
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = function (output, context) {
|
|
14324
|
+
return {
|
|
14325
|
+
Hostname: __expectString(output.Hostname),
|
|
14326
|
+
Protocol: __expectString(output.Protocol),
|
|
14327
|
+
};
|
|
14328
|
+
};
|
|
14329
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = function (output, context) {
|
|
14330
|
+
return {
|
|
14331
|
+
Condition: output.Condition !== undefined && output.Condition !== null
|
|
14332
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(output.Condition, context)
|
|
14333
|
+
: undefined,
|
|
14334
|
+
Redirect: output.Redirect !== undefined && output.Redirect !== null
|
|
14335
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(output.Redirect, context)
|
|
14336
|
+
: undefined,
|
|
14337
|
+
};
|
|
14338
|
+
};
|
|
14339
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = function (output, context) {
|
|
14340
|
+
return {
|
|
14341
|
+
HttpErrorCodeReturnedEquals: __expectString(output.HttpErrorCodeReturnedEquals),
|
|
14342
|
+
KeyPrefixEquals: __expectString(output.KeyPrefixEquals),
|
|
14343
|
+
};
|
|
14344
|
+
};
|
|
14345
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = function (output, context) {
|
|
14346
|
+
return {
|
|
14347
|
+
Hostname: __expectString(output.Hostname),
|
|
14348
|
+
HttpRedirectCode: __expectString(output.HttpRedirectCode),
|
|
14349
|
+
Protocol: __expectString(output.Protocol),
|
|
14350
|
+
ReplaceKeyPrefixWith: __expectString(output.ReplaceKeyPrefixWith),
|
|
14351
|
+
ReplaceKeyWith: __expectString(output.ReplaceKeyWith),
|
|
14352
|
+
};
|
|
14353
|
+
};
|
|
14354
|
+
var deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = function (output, context) {
|
|
14355
|
+
return (output || [])
|
|
14356
|
+
.filter(function (e) { return e != null; })
|
|
14357
|
+
.map(function (entry) {
|
|
14358
|
+
if (entry === null) {
|
|
14359
|
+
return null;
|
|
14360
|
+
}
|
|
14361
|
+
return deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
|
|
14362
|
+
});
|
|
14363
|
+
};
|
|
13660
14364
|
var deserializeAws_restJson1AwsS3ObjectDetails = function (output, context) {
|
|
13661
14365
|
return {
|
|
13662
14366
|
ContentType: __expectString(output.ContentType),
|
|
@@ -13683,7 +14387,7 @@ var deserializeAws_restJson1AwsSecretsManagerSecretDetails = function (output, c
|
|
|
13683
14387
|
};
|
|
13684
14388
|
var deserializeAws_restJson1AwsSecretsManagerSecretRotationRules = function (output, context) {
|
|
13685
14389
|
return {
|
|
13686
|
-
AutomaticallyAfterDays:
|
|
14390
|
+
AutomaticallyAfterDays: __expectInt32(output.AutomaticallyAfterDays),
|
|
13687
14391
|
};
|
|
13688
14392
|
};
|
|
13689
14393
|
var deserializeAws_restJson1AwsSecurityFinding = function (output, context) {
|
|
@@ -13696,9 +14400,9 @@ var deserializeAws_restJson1AwsSecurityFinding = function (output, context) {
|
|
|
13696
14400
|
Compliance: output.Compliance !== undefined && output.Compliance !== null
|
|
13697
14401
|
? deserializeAws_restJson1Compliance(output.Compliance, context)
|
|
13698
14402
|
: undefined,
|
|
13699
|
-
Confidence:
|
|
14403
|
+
Confidence: __expectInt32(output.Confidence),
|
|
13700
14404
|
CreatedAt: __expectString(output.CreatedAt),
|
|
13701
|
-
Criticality:
|
|
14405
|
+
Criticality: __expectInt32(output.Criticality),
|
|
13702
14406
|
Description: __expectString(output.Description),
|
|
13703
14407
|
FindingProviderFields: output.FindingProviderFields !== undefined && output.FindingProviderFields !== null
|
|
13704
14408
|
? deserializeAws_restJson1FindingProviderFields(output.FindingProviderFields, context)
|
|
@@ -14112,7 +14816,7 @@ var deserializeAws_restJson1AwsSnsTopicSubscriptionList = function (output, cont
|
|
|
14112
14816
|
var deserializeAws_restJson1AwsSqsQueueDetails = function (output, context) {
|
|
14113
14817
|
return {
|
|
14114
14818
|
DeadLetterTargetArn: __expectString(output.DeadLetterTargetArn),
|
|
14115
|
-
KmsDataKeyReusePeriodSeconds:
|
|
14819
|
+
KmsDataKeyReusePeriodSeconds: __expectInt32(output.KmsDataKeyReusePeriodSeconds),
|
|
14116
14820
|
KmsMasterKeyId: __expectString(output.KmsMasterKeyId),
|
|
14117
14821
|
QueueName: __expectString(output.QueueName),
|
|
14118
14822
|
};
|
|
@@ -14120,19 +14824,19 @@ var deserializeAws_restJson1AwsSqsQueueDetails = function (output, context) {
|
|
|
14120
14824
|
var deserializeAws_restJson1AwsSsmComplianceSummary = function (output, context) {
|
|
14121
14825
|
return {
|
|
14122
14826
|
ComplianceType: __expectString(output.ComplianceType),
|
|
14123
|
-
CompliantCriticalCount:
|
|
14124
|
-
CompliantHighCount:
|
|
14125
|
-
CompliantInformationalCount:
|
|
14126
|
-
CompliantLowCount:
|
|
14127
|
-
CompliantMediumCount:
|
|
14128
|
-
CompliantUnspecifiedCount:
|
|
14827
|
+
CompliantCriticalCount: __expectInt32(output.CompliantCriticalCount),
|
|
14828
|
+
CompliantHighCount: __expectInt32(output.CompliantHighCount),
|
|
14829
|
+
CompliantInformationalCount: __expectInt32(output.CompliantInformationalCount),
|
|
14830
|
+
CompliantLowCount: __expectInt32(output.CompliantLowCount),
|
|
14831
|
+
CompliantMediumCount: __expectInt32(output.CompliantMediumCount),
|
|
14832
|
+
CompliantUnspecifiedCount: __expectInt32(output.CompliantUnspecifiedCount),
|
|
14129
14833
|
ExecutionType: __expectString(output.ExecutionType),
|
|
14130
|
-
NonCompliantCriticalCount:
|
|
14131
|
-
NonCompliantHighCount:
|
|
14132
|
-
NonCompliantInformationalCount:
|
|
14133
|
-
NonCompliantLowCount:
|
|
14134
|
-
NonCompliantMediumCount:
|
|
14135
|
-
NonCompliantUnspecifiedCount:
|
|
14834
|
+
NonCompliantCriticalCount: __expectInt32(output.NonCompliantCriticalCount),
|
|
14835
|
+
NonCompliantHighCount: __expectInt32(output.NonCompliantHighCount),
|
|
14836
|
+
NonCompliantInformationalCount: __expectInt32(output.NonCompliantInformationalCount),
|
|
14837
|
+
NonCompliantLowCount: __expectInt32(output.NonCompliantLowCount),
|
|
14838
|
+
NonCompliantMediumCount: __expectInt32(output.NonCompliantMediumCount),
|
|
14839
|
+
NonCompliantUnspecifiedCount: __expectInt32(output.NonCompliantUnspecifiedCount),
|
|
14136
14840
|
OverallSeverity: __expectString(output.OverallSeverity),
|
|
14137
14841
|
PatchBaselineId: __expectString(output.PatchBaselineId),
|
|
14138
14842
|
PatchGroup: __expectString(output.PatchGroup),
|
|
@@ -14174,7 +14878,7 @@ var deserializeAws_restJson1AwsWafWebAclRule = function (output, context) {
|
|
|
14174
14878
|
OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
|
|
14175
14879
|
? deserializeAws_restJson1WafOverrideAction(output.OverrideAction, context)
|
|
14176
14880
|
: undefined,
|
|
14177
|
-
Priority:
|
|
14881
|
+
Priority: __expectInt32(output.Priority),
|
|
14178
14882
|
RuleId: __expectString(output.RuleId),
|
|
14179
14883
|
Type: __expectString(output.Type),
|
|
14180
14884
|
};
|
|
@@ -14221,9 +14925,9 @@ var deserializeAws_restJson1CategoryList = function (output, context) {
|
|
|
14221
14925
|
var deserializeAws_restJson1Cell = function (output, context) {
|
|
14222
14926
|
return {
|
|
14223
14927
|
CellReference: __expectString(output.CellReference),
|
|
14224
|
-
Column:
|
|
14928
|
+
Column: __expectLong(output.Column),
|
|
14225
14929
|
ColumnName: __expectString(output.ColumnName),
|
|
14226
|
-
Row:
|
|
14930
|
+
Row: __expectLong(output.Row),
|
|
14227
14931
|
};
|
|
14228
14932
|
};
|
|
14229
14933
|
var deserializeAws_restJson1Cells = function (output, context) {
|
|
@@ -14268,7 +14972,7 @@ var deserializeAws_restJson1ClassificationResult = function (output, context) {
|
|
|
14268
14972
|
SensitiveData: output.SensitiveData !== undefined && output.SensitiveData !== null
|
|
14269
14973
|
? deserializeAws_restJson1SensitiveDataResultList(output.SensitiveData, context)
|
|
14270
14974
|
: undefined,
|
|
14271
|
-
SizeClassified:
|
|
14975
|
+
SizeClassified: __expectLong(output.SizeClassified),
|
|
14272
14976
|
Status: output.Status !== undefined && output.Status !== null
|
|
14273
14977
|
? deserializeAws_restJson1ClassificationStatus(output.Status, context)
|
|
14274
14978
|
: undefined,
|
|
@@ -14308,7 +15012,7 @@ var deserializeAws_restJson1Country = function (output, context) {
|
|
|
14308
15012
|
var deserializeAws_restJson1CustomDataIdentifiersDetections = function (output, context) {
|
|
14309
15013
|
return {
|
|
14310
15014
|
Arn: __expectString(output.Arn),
|
|
14311
|
-
Count:
|
|
15015
|
+
Count: __expectLong(output.Count),
|
|
14312
15016
|
Name: __expectString(output.Name),
|
|
14313
15017
|
Occurrences: output.Occurrences !== undefined && output.Occurrences !== null
|
|
14314
15018
|
? deserializeAws_restJson1Occurrences(output.Occurrences, context)
|
|
@@ -14330,13 +15034,17 @@ var deserializeAws_restJson1CustomDataIdentifiersResult = function (output, cont
|
|
|
14330
15034
|
Detections: output.Detections !== undefined && output.Detections !== null
|
|
14331
15035
|
? deserializeAws_restJson1CustomDataIdentifiersDetectionsList(output.Detections, context)
|
|
14332
15036
|
: undefined,
|
|
14333
|
-
TotalCount:
|
|
15037
|
+
TotalCount: __expectLong(output.TotalCount),
|
|
14334
15038
|
};
|
|
14335
15039
|
};
|
|
14336
15040
|
var deserializeAws_restJson1Cvss = function (output, context) {
|
|
14337
15041
|
return {
|
|
14338
|
-
|
|
15042
|
+
Adjustments: output.Adjustments !== undefined && output.Adjustments !== null
|
|
15043
|
+
? deserializeAws_restJson1AdjustmentList(output.Adjustments, context)
|
|
15044
|
+
: undefined,
|
|
15045
|
+
BaseScore: __limitedParseDouble(output.BaseScore),
|
|
14339
15046
|
BaseVector: __expectString(output.BaseVector),
|
|
15047
|
+
Source: __expectString(output.Source),
|
|
14340
15048
|
Version: __expectString(output.Version),
|
|
14341
15049
|
};
|
|
14342
15050
|
};
|
|
@@ -14380,7 +15088,7 @@ var deserializeAws_restJson1DateFilterList = function (output, context) {
|
|
|
14380
15088
|
var deserializeAws_restJson1DateRange = function (output, context) {
|
|
14381
15089
|
return {
|
|
14382
15090
|
Unit: __expectString(output.Unit),
|
|
14383
|
-
Value:
|
|
15091
|
+
Value: __expectInt32(output.Value),
|
|
14384
15092
|
};
|
|
14385
15093
|
};
|
|
14386
15094
|
var deserializeAws_restJson1DnsRequestAction = function (output, context) {
|
|
@@ -14402,8 +15110,8 @@ var deserializeAws_restJson1FieldMap = function (output, context) {
|
|
|
14402
15110
|
};
|
|
14403
15111
|
var deserializeAws_restJson1FindingProviderFields = function (output, context) {
|
|
14404
15112
|
return {
|
|
14405
|
-
Confidence:
|
|
14406
|
-
Criticality:
|
|
15113
|
+
Confidence: __expectInt32(output.Confidence),
|
|
15114
|
+
Criticality: __expectInt32(output.Criticality),
|
|
14407
15115
|
RelatedFindings: output.RelatedFindings !== undefined && output.RelatedFindings !== null
|
|
14408
15116
|
? deserializeAws_restJson1RelatedFindingList(output.RelatedFindings, context)
|
|
14409
15117
|
: undefined,
|
|
@@ -14423,14 +15131,14 @@ var deserializeAws_restJson1FindingProviderSeverity = function (output, context)
|
|
|
14423
15131
|
};
|
|
14424
15132
|
var deserializeAws_restJson1GeoLocation = function (output, context) {
|
|
14425
15133
|
return {
|
|
14426
|
-
Lat:
|
|
14427
|
-
Lon:
|
|
15134
|
+
Lat: __limitedParseDouble(output.Lat),
|
|
15135
|
+
Lon: __limitedParseDouble(output.Lon),
|
|
14428
15136
|
};
|
|
14429
15137
|
};
|
|
14430
15138
|
var deserializeAws_restJson1IcmpTypeCode = function (output, context) {
|
|
14431
15139
|
return {
|
|
14432
|
-
Code:
|
|
14433
|
-
Type:
|
|
15140
|
+
Code: __expectInt32(output.Code),
|
|
15141
|
+
Type: __expectInt32(output.Type),
|
|
14434
15142
|
};
|
|
14435
15143
|
};
|
|
14436
15144
|
var deserializeAws_restJson1ImportFindingsError = function (output, context) {
|
|
@@ -14481,7 +15189,7 @@ var deserializeAws_restJson1InsightResults = function (output, context) {
|
|
|
14481
15189
|
};
|
|
14482
15190
|
var deserializeAws_restJson1InsightResultValue = function (output, context) {
|
|
14483
15191
|
return {
|
|
14484
|
-
Count:
|
|
15192
|
+
Count: __expectInt32(output.Count),
|
|
14485
15193
|
GroupByAttributeValue: __expectString(output.GroupByAttributeValue),
|
|
14486
15194
|
};
|
|
14487
15195
|
};
|
|
@@ -14495,6 +15203,16 @@ var deserializeAws_restJson1InsightResultValueList = function (output, context)
|
|
|
14495
15203
|
return deserializeAws_restJson1InsightResultValue(entry, context);
|
|
14496
15204
|
});
|
|
14497
15205
|
};
|
|
15206
|
+
var deserializeAws_restJson1IntegerList = function (output, context) {
|
|
15207
|
+
return (output || [])
|
|
15208
|
+
.filter(function (e) { return e != null; })
|
|
15209
|
+
.map(function (entry) {
|
|
15210
|
+
if (entry === null) {
|
|
15211
|
+
return null;
|
|
15212
|
+
}
|
|
15213
|
+
return __expectInt32(entry);
|
|
15214
|
+
});
|
|
15215
|
+
};
|
|
14498
15216
|
var deserializeAws_restJson1IntegrationTypeList = function (output, context) {
|
|
14499
15217
|
return (output || [])
|
|
14500
15218
|
.filter(function (e) { return e != null; })
|
|
@@ -14509,7 +15227,9 @@ var deserializeAws_restJson1Invitation = function (output, context) {
|
|
|
14509
15227
|
return {
|
|
14510
15228
|
AccountId: __expectString(output.AccountId),
|
|
14511
15229
|
InvitationId: __expectString(output.InvitationId),
|
|
14512
|
-
InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
15230
|
+
InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
15231
|
+
? __expectNonNull(__parseRfc3339DateTime(output.InvitedAt))
|
|
15232
|
+
: undefined,
|
|
14513
15233
|
MemberStatus: __expectString(output.MemberStatus),
|
|
14514
15234
|
};
|
|
14515
15235
|
};
|
|
@@ -14540,7 +15260,7 @@ var deserializeAws_restJson1IpFilterList = function (output, context) {
|
|
|
14540
15260
|
};
|
|
14541
15261
|
var deserializeAws_restJson1IpOrganizationDetails = function (output, context) {
|
|
14542
15262
|
return {
|
|
14543
|
-
Asn:
|
|
15263
|
+
Asn: __expectInt32(output.Asn),
|
|
14544
15264
|
AsnOrg: __expectString(output.AsnOrg),
|
|
14545
15265
|
Isp: __expectString(output.Isp),
|
|
14546
15266
|
Org: __expectString(output.Org),
|
|
@@ -14624,10 +15344,14 @@ var deserializeAws_restJson1Member = function (output, context) {
|
|
|
14624
15344
|
AccountId: __expectString(output.AccountId),
|
|
14625
15345
|
AdministratorId: __expectString(output.AdministratorId),
|
|
14626
15346
|
Email: __expectString(output.Email),
|
|
14627
|
-
InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
15347
|
+
InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
15348
|
+
? __expectNonNull(__parseRfc3339DateTime(output.InvitedAt))
|
|
15349
|
+
: undefined,
|
|
14628
15350
|
MasterId: __expectString(output.MasterId),
|
|
14629
15351
|
MemberStatus: __expectString(output.MemberStatus),
|
|
14630
|
-
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
15352
|
+
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
15353
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
15354
|
+
: undefined,
|
|
14631
15355
|
};
|
|
14632
15356
|
};
|
|
14633
15357
|
var deserializeAws_restJson1MemberList = function (output, context) {
|
|
@@ -14645,7 +15369,7 @@ var deserializeAws_restJson1Network = function (output, context) {
|
|
|
14645
15369
|
DestinationDomain: __expectString(output.DestinationDomain),
|
|
14646
15370
|
DestinationIpV4: __expectString(output.DestinationIpV4),
|
|
14647
15371
|
DestinationIpV6: __expectString(output.DestinationIpV6),
|
|
14648
|
-
DestinationPort:
|
|
15372
|
+
DestinationPort: __expectInt32(output.DestinationPort),
|
|
14649
15373
|
Direction: __expectString(output.Direction),
|
|
14650
15374
|
OpenPortRange: output.OpenPortRange !== undefined && output.OpenPortRange !== null
|
|
14651
15375
|
? deserializeAws_restJson1PortRange(output.OpenPortRange, context)
|
|
@@ -14655,7 +15379,7 @@ var deserializeAws_restJson1Network = function (output, context) {
|
|
|
14655
15379
|
SourceIpV4: __expectString(output.SourceIpV4),
|
|
14656
15380
|
SourceIpV6: __expectString(output.SourceIpV6),
|
|
14657
15381
|
SourceMac: __expectString(output.SourceMac),
|
|
14658
|
-
SourcePort:
|
|
15382
|
+
SourcePort: __expectInt32(output.SourcePort),
|
|
14659
15383
|
};
|
|
14660
15384
|
};
|
|
14661
15385
|
var deserializeAws_restJson1NetworkConnectionAction = function (output, context) {
|
|
@@ -14736,9 +15460,9 @@ var deserializeAws_restJson1Note = function (output, context) {
|
|
|
14736
15460
|
};
|
|
14737
15461
|
var deserializeAws_restJson1NumberFilter = function (output, context) {
|
|
14738
15462
|
return {
|
|
14739
|
-
Eq:
|
|
14740
|
-
Gte:
|
|
14741
|
-
Lte:
|
|
15463
|
+
Eq: __limitedParseDouble(output.Eq),
|
|
15464
|
+
Gte: __limitedParseDouble(output.Gte),
|
|
15465
|
+
Lte: __limitedParseDouble(output.Lte),
|
|
14742
15466
|
};
|
|
14743
15467
|
};
|
|
14744
15468
|
var deserializeAws_restJson1NumberFilterList = function (output, context) {
|
|
@@ -14778,7 +15502,7 @@ var deserializeAws_restJson1Page = function (output, context) {
|
|
|
14778
15502
|
OffsetRange: output.OffsetRange !== undefined && output.OffsetRange !== null
|
|
14779
15503
|
? deserializeAws_restJson1Range(output.OffsetRange, context)
|
|
14780
15504
|
: undefined,
|
|
14781
|
-
PageNumber:
|
|
15505
|
+
PageNumber: __expectLong(output.PageNumber),
|
|
14782
15506
|
};
|
|
14783
15507
|
};
|
|
14784
15508
|
var deserializeAws_restJson1Pages = function (output, context) {
|
|
@@ -14793,13 +15517,13 @@ var deserializeAws_restJson1Pages = function (output, context) {
|
|
|
14793
15517
|
};
|
|
14794
15518
|
var deserializeAws_restJson1PatchSummary = function (output, context) {
|
|
14795
15519
|
return {
|
|
14796
|
-
FailedCount:
|
|
15520
|
+
FailedCount: __expectInt32(output.FailedCount),
|
|
14797
15521
|
Id: __expectString(output.Id),
|
|
14798
|
-
InstalledCount:
|
|
14799
|
-
InstalledOtherCount:
|
|
14800
|
-
InstalledPendingReboot:
|
|
14801
|
-
InstalledRejectedCount:
|
|
14802
|
-
MissingCount:
|
|
15522
|
+
InstalledCount: __expectInt32(output.InstalledCount),
|
|
15523
|
+
InstalledOtherCount: __expectInt32(output.InstalledOtherCount),
|
|
15524
|
+
InstalledPendingReboot: __expectInt32(output.InstalledPendingReboot),
|
|
15525
|
+
InstalledRejectedCount: __expectInt32(output.InstalledRejectedCount),
|
|
15526
|
+
MissingCount: __expectInt32(output.MissingCount),
|
|
14803
15527
|
Operation: __expectString(output.Operation),
|
|
14804
15528
|
OperationEndTime: __expectString(output.OperationEndTime),
|
|
14805
15529
|
OperationStartTime: __expectString(output.OperationStartTime),
|
|
@@ -14839,14 +15563,14 @@ var deserializeAws_restJson1PortProbeDetailList = function (output, context) {
|
|
|
14839
15563
|
};
|
|
14840
15564
|
var deserializeAws_restJson1PortRange = function (output, context) {
|
|
14841
15565
|
return {
|
|
14842
|
-
Begin:
|
|
14843
|
-
End:
|
|
15566
|
+
Begin: __expectInt32(output.Begin),
|
|
15567
|
+
End: __expectInt32(output.End),
|
|
14844
15568
|
};
|
|
14845
15569
|
};
|
|
14846
15570
|
var deserializeAws_restJson1PortRangeFromTo = function (output, context) {
|
|
14847
15571
|
return {
|
|
14848
|
-
From:
|
|
14849
|
-
To:
|
|
15572
|
+
From: __expectInt32(output.From),
|
|
15573
|
+
To: __expectInt32(output.To),
|
|
14850
15574
|
};
|
|
14851
15575
|
};
|
|
14852
15576
|
var deserializeAws_restJson1PortRangeList = function (output, context) {
|
|
@@ -14863,9 +15587,9 @@ var deserializeAws_restJson1ProcessDetails = function (output, context) {
|
|
|
14863
15587
|
return {
|
|
14864
15588
|
LaunchedAt: __expectString(output.LaunchedAt),
|
|
14865
15589
|
Name: __expectString(output.Name),
|
|
14866
|
-
ParentPid:
|
|
15590
|
+
ParentPid: __expectInt32(output.ParentPid),
|
|
14867
15591
|
Path: __expectString(output.Path),
|
|
14868
|
-
Pid:
|
|
15592
|
+
Pid: __expectInt32(output.Pid),
|
|
14869
15593
|
TerminatedAt: __expectString(output.TerminatedAt),
|
|
14870
15594
|
};
|
|
14871
15595
|
};
|
|
@@ -14908,9 +15632,9 @@ var deserializeAws_restJson1ProductSubscriptionArnList = function (output, conte
|
|
|
14908
15632
|
};
|
|
14909
15633
|
var deserializeAws_restJson1Range = function (output, context) {
|
|
14910
15634
|
return {
|
|
14911
|
-
End:
|
|
14912
|
-
Start:
|
|
14913
|
-
StartColumn:
|
|
15635
|
+
End: __expectLong(output.End),
|
|
15636
|
+
Start: __expectLong(output.Start),
|
|
15637
|
+
StartColumn: __expectLong(output.StartColumn),
|
|
14914
15638
|
};
|
|
14915
15639
|
};
|
|
14916
15640
|
var deserializeAws_restJson1Ranges = function (output, context) {
|
|
@@ -14932,7 +15656,7 @@ var deserializeAws_restJson1Recommendation = function (output, context) {
|
|
|
14932
15656
|
var deserializeAws_restJson1_Record = function (output, context) {
|
|
14933
15657
|
return {
|
|
14934
15658
|
JsonPath: __expectString(output.JsonPath),
|
|
14935
|
-
RecordIndex:
|
|
15659
|
+
RecordIndex: __expectLong(output.RecordIndex),
|
|
14936
15660
|
};
|
|
14937
15661
|
};
|
|
14938
15662
|
var deserializeAws_restJson1Records = function (output, context) {
|
|
@@ -15013,6 +15737,9 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
15013
15737
|
AwsAutoScalingAutoScalingGroup: output.AwsAutoScalingAutoScalingGroup !== undefined && output.AwsAutoScalingAutoScalingGroup !== null
|
|
15014
15738
|
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(output.AwsAutoScalingAutoScalingGroup, context)
|
|
15015
15739
|
: undefined,
|
|
15740
|
+
AwsAutoScalingLaunchConfiguration: output.AwsAutoScalingLaunchConfiguration !== undefined && output.AwsAutoScalingLaunchConfiguration !== null
|
|
15741
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(output.AwsAutoScalingLaunchConfiguration, context)
|
|
15742
|
+
: undefined,
|
|
15016
15743
|
AwsCertificateManagerCertificate: output.AwsCertificateManagerCertificate !== undefined && output.AwsCertificateManagerCertificate !== null
|
|
15017
15744
|
? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(output.AwsCertificateManagerCertificate, context)
|
|
15018
15745
|
: undefined,
|
|
@@ -15052,6 +15779,12 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
15052
15779
|
AwsEc2Vpc: output.AwsEc2Vpc !== undefined && output.AwsEc2Vpc !== null
|
|
15053
15780
|
? deserializeAws_restJson1AwsEc2VpcDetails(output.AwsEc2Vpc, context)
|
|
15054
15781
|
: undefined,
|
|
15782
|
+
AwsEc2VpnConnection: output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null
|
|
15783
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context)
|
|
15784
|
+
: undefined,
|
|
15785
|
+
AwsEcrContainerImage: output.AwsEcrContainerImage !== undefined && output.AwsEcrContainerImage !== null
|
|
15786
|
+
? deserializeAws_restJson1AwsEcrContainerImageDetails(output.AwsEcrContainerImage, context)
|
|
15787
|
+
: undefined,
|
|
15055
15788
|
AwsEcsCluster: output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null
|
|
15056
15789
|
? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context)
|
|
15057
15790
|
: undefined,
|
|
@@ -15185,7 +15918,7 @@ var deserializeAws_restJson1SecurityGroups = function (output, context) {
|
|
|
15185
15918
|
};
|
|
15186
15919
|
var deserializeAws_restJson1SensitiveDataDetections = function (output, context) {
|
|
15187
15920
|
return {
|
|
15188
|
-
Count:
|
|
15921
|
+
Count: __expectLong(output.Count),
|
|
15189
15922
|
Occurrences: output.Occurrences !== undefined && output.Occurrences !== null
|
|
15190
15923
|
? deserializeAws_restJson1Occurrences(output.Occurrences, context)
|
|
15191
15924
|
: undefined,
|
|
@@ -15208,7 +15941,7 @@ var deserializeAws_restJson1SensitiveDataResult = function (output, context) {
|
|
|
15208
15941
|
Detections: output.Detections !== undefined && output.Detections !== null
|
|
15209
15942
|
? deserializeAws_restJson1SensitiveDataDetectionsList(output.Detections, context)
|
|
15210
15943
|
: undefined,
|
|
15211
|
-
TotalCount:
|
|
15944
|
+
TotalCount: __expectLong(output.TotalCount),
|
|
15212
15945
|
};
|
|
15213
15946
|
};
|
|
15214
15947
|
var deserializeAws_restJson1SensitiveDataResultList = function (output, context) {
|
|
@@ -15224,16 +15957,18 @@ var deserializeAws_restJson1SensitiveDataResultList = function (output, context)
|
|
|
15224
15957
|
var deserializeAws_restJson1Severity = function (output, context) {
|
|
15225
15958
|
return {
|
|
15226
15959
|
Label: __expectString(output.Label),
|
|
15227
|
-
Normalized:
|
|
15960
|
+
Normalized: __expectInt32(output.Normalized),
|
|
15228
15961
|
Original: __expectString(output.Original),
|
|
15229
|
-
Product:
|
|
15962
|
+
Product: __limitedParseDouble(output.Product),
|
|
15230
15963
|
};
|
|
15231
15964
|
};
|
|
15232
15965
|
var deserializeAws_restJson1SoftwarePackage = function (output, context) {
|
|
15233
15966
|
return {
|
|
15234
15967
|
Architecture: __expectString(output.Architecture),
|
|
15235
15968
|
Epoch: __expectString(output.Epoch),
|
|
15969
|
+
FilePath: __expectString(output.FilePath),
|
|
15236
15970
|
Name: __expectString(output.Name),
|
|
15971
|
+
PackageManager: __expectString(output.PackageManager),
|
|
15237
15972
|
Release: __expectString(output.Release),
|
|
15238
15973
|
Version: __expectString(output.Version),
|
|
15239
15974
|
};
|
|
@@ -15271,7 +16006,7 @@ var deserializeAws_restJson1StandardsControl = function (output, context) {
|
|
|
15271
16006
|
ControlId: __expectString(output.ControlId),
|
|
15272
16007
|
ControlStatus: __expectString(output.ControlStatus),
|
|
15273
16008
|
ControlStatusUpdatedAt: output.ControlStatusUpdatedAt !== undefined && output.ControlStatusUpdatedAt !== null
|
|
15274
|
-
?
|
|
16009
|
+
? __expectNonNull(__parseRfc3339DateTime(output.ControlStatusUpdatedAt))
|
|
15275
16010
|
: undefined,
|
|
15276
16011
|
Description: __expectString(output.Description),
|
|
15277
16012
|
DisabledReason: __expectString(output.DisabledReason),
|