@aws-sdk/client-macie2 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/Macie2.ts +38 -1
- package/Macie2Client.ts +6 -0
- package/commands/ListInvitationsCommand.ts +1 -1
- package/commands/ListManagedDataIdentifiersCommand.ts +97 -0
- package/dist/cjs/Macie2.js +15 -0
- package/dist/cjs/Macie2.js.map +1 -1
- package/dist/cjs/Macie2Client.js.map +1 -1
- package/dist/cjs/commands/ListInvitationsCommand.js +1 -1
- package/dist/cjs/commands/ListManagedDataIdentifiersCommand.js +61 -0
- package/dist/cjs/commands/ListManagedDataIdentifiersCommand.js.map +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +39 -5
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +266 -137
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/Macie2.js +15 -0
- package/dist/es/Macie2.js.map +1 -1
- package/dist/es/Macie2Client.js.map +1 -1
- package/dist/es/commands/ListInvitationsCommand.js +1 -1
- package/dist/es/commands/ListManagedDataIdentifiersCommand.js +65 -0
- package/dist/es/commands/ListManagedDataIdentifiersCommand.js.map +1 -0
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +28 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +462 -248
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/Macie2.d.ts +8 -1
- package/dist/types/Macie2Client.d.ts +3 -2
- package/dist/types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist/types/commands/ListManagedDataIdentifiersCommand.d.ts +35 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +93 -24
- package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist/types/ts3.4/Macie2.d.ts +8 -1
- package/dist/types/ts3.4/Macie2Client.d.ts +3 -2
- package/dist/types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +35 -0
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +93 -24
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/index.ts +1 -0
- package/models/models_0.ts +112 -24
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +307 -136
|
@@ -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, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
export var serializeAws_restJson1AcceptInvitationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6
6
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
@@ -64,10 +64,16 @@ export var serializeAws_restJson1CreateClassificationJobCommand = function (inpu
|
|
|
64
64
|
"content-type": "application/json",
|
|
65
65
|
};
|
|
66
66
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs";
|
|
67
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.customDataIdentifierIds !== undefined &&
|
|
67
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.customDataIdentifierIds !== undefined &&
|
|
68
68
|
input.customDataIdentifierIds !== null && {
|
|
69
69
|
customDataIdentifierIds: serializeAws_restJson1__listOf__string(input.customDataIdentifierIds, context),
|
|
70
|
-
})), (input.description !== undefined && input.description !== null && { description: input.description })), (input.initialRun !== undefined && input.initialRun !== null && { initialRun: input.initialRun })), (input.jobType !== undefined && input.jobType !== null && { jobType: input.jobType })), (input.
|
|
70
|
+
})), (input.description !== undefined && input.description !== null && { description: input.description })), (input.initialRun !== undefined && input.initialRun !== null && { initialRun: input.initialRun })), (input.jobType !== undefined && input.jobType !== null && { jobType: input.jobType })), (input.managedDataIdentifierIds !== undefined &&
|
|
71
|
+
input.managedDataIdentifierIds !== null && {
|
|
72
|
+
managedDataIdentifierIds: serializeAws_restJson1__listOf__string(input.managedDataIdentifierIds, context),
|
|
73
|
+
})), (input.managedDataIdentifierSelector !== undefined &&
|
|
74
|
+
input.managedDataIdentifierSelector !== null && {
|
|
75
|
+
managedDataIdentifierSelector: input.managedDataIdentifierSelector,
|
|
76
|
+
})), (input.name !== undefined && input.name !== null && { name: input.name })), (input.s3JobDefinition !== undefined &&
|
|
71
77
|
input.s3JobDefinition !== null && {
|
|
72
78
|
s3JobDefinition: serializeAws_restJson1S3JobDefinition(input.s3JobDefinition, context),
|
|
73
79
|
})), (input.samplingPercentage !== undefined &&
|
|
@@ -1123,6 +1129,30 @@ export var serializeAws_restJson1ListInvitationsCommand = function (input, conte
|
|
|
1123
1129
|
}
|
|
1124
1130
|
});
|
|
1125
1131
|
}); };
|
|
1132
|
+
export var serializeAws_restJson1ListManagedDataIdentifiersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1133
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
1134
|
+
return __generator(this, function (_c) {
|
|
1135
|
+
switch (_c.label) {
|
|
1136
|
+
case 0: return [4 /*yield*/, context.endpoint()];
|
|
1137
|
+
case 1:
|
|
1138
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1139
|
+
headers = {
|
|
1140
|
+
"content-type": "application/json",
|
|
1141
|
+
};
|
|
1142
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-data-identifiers/list";
|
|
1143
|
+
body = JSON.stringify(__assign({}, (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
1144
|
+
return [2 /*return*/, new __HttpRequest({
|
|
1145
|
+
protocol: protocol,
|
|
1146
|
+
hostname: hostname,
|
|
1147
|
+
port: port,
|
|
1148
|
+
method: "POST",
|
|
1149
|
+
headers: headers,
|
|
1150
|
+
path: resolvedPath,
|
|
1151
|
+
body: body,
|
|
1152
|
+
})];
|
|
1153
|
+
}
|
|
1154
|
+
});
|
|
1155
|
+
}); };
|
|
1126
1156
|
export var serializeAws_restJson1ListMembersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1127
1157
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
1128
1158
|
return __generator(this, function (_c) {
|
|
@@ -1641,9 +1671,9 @@ var deserializeAws_restJson1AcceptInvitationCommandError = function (output, con
|
|
|
1641
1671
|
});
|
|
1642
1672
|
}); };
|
|
1643
1673
|
export var deserializeAws_restJson1BatchGetCustomDataIdentifiersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1644
|
-
var contents, data;
|
|
1645
|
-
return __generator(this, function (
|
|
1646
|
-
switch (
|
|
1674
|
+
var contents, data, _a, _b;
|
|
1675
|
+
return __generator(this, function (_c) {
|
|
1676
|
+
switch (_c.label) {
|
|
1647
1677
|
case 0:
|
|
1648
1678
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1649
1679
|
return [2 /*return*/, deserializeAws_restJson1BatchGetCustomDataIdentifiersCommandError(output, context)];
|
|
@@ -1653,9 +1683,11 @@ export var deserializeAws_restJson1BatchGetCustomDataIdentifiersCommand = functi
|
|
|
1653
1683
|
customDataIdentifiers: undefined,
|
|
1654
1684
|
notFoundIdentifierIds: undefined,
|
|
1655
1685
|
};
|
|
1686
|
+
_a = __expectNonNull;
|
|
1687
|
+
_b = __expectObject;
|
|
1656
1688
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1657
1689
|
case 1:
|
|
1658
|
-
data = _a.sent();
|
|
1690
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1659
1691
|
if (data.customDataIdentifiers !== undefined && data.customDataIdentifiers !== null) {
|
|
1660
1692
|
contents.customDataIdentifiers = deserializeAws_restJson1__listOfBatchGetCustomDataIdentifierSummary(data.customDataIdentifiers, context);
|
|
1661
1693
|
}
|
|
@@ -1753,9 +1785,9 @@ var deserializeAws_restJson1BatchGetCustomDataIdentifiersCommandError = function
|
|
|
1753
1785
|
});
|
|
1754
1786
|
}); };
|
|
1755
1787
|
export var deserializeAws_restJson1CreateClassificationJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1756
|
-
var contents, data;
|
|
1757
|
-
return __generator(this, function (
|
|
1758
|
-
switch (
|
|
1788
|
+
var contents, data, _a, _b;
|
|
1789
|
+
return __generator(this, function (_c) {
|
|
1790
|
+
switch (_c.label) {
|
|
1759
1791
|
case 0:
|
|
1760
1792
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1761
1793
|
return [2 /*return*/, deserializeAws_restJson1CreateClassificationJobCommandError(output, context)];
|
|
@@ -1765,9 +1797,11 @@ export var deserializeAws_restJson1CreateClassificationJobCommand = function (ou
|
|
|
1765
1797
|
jobArn: undefined,
|
|
1766
1798
|
jobId: undefined,
|
|
1767
1799
|
};
|
|
1800
|
+
_a = __expectNonNull;
|
|
1801
|
+
_b = __expectObject;
|
|
1768
1802
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1769
1803
|
case 1:
|
|
1770
|
-
data = _a.sent();
|
|
1804
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1771
1805
|
if (data.jobArn !== undefined && data.jobArn !== null) {
|
|
1772
1806
|
contents.jobArn = __expectString(data.jobArn);
|
|
1773
1807
|
}
|
|
@@ -1865,9 +1899,9 @@ var deserializeAws_restJson1CreateClassificationJobCommandError = function (outp
|
|
|
1865
1899
|
});
|
|
1866
1900
|
}); };
|
|
1867
1901
|
export var deserializeAws_restJson1CreateCustomDataIdentifierCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1868
|
-
var contents, data;
|
|
1869
|
-
return __generator(this, function (
|
|
1870
|
-
switch (
|
|
1902
|
+
var contents, data, _a, _b;
|
|
1903
|
+
return __generator(this, function (_c) {
|
|
1904
|
+
switch (_c.label) {
|
|
1871
1905
|
case 0:
|
|
1872
1906
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1873
1907
|
return [2 /*return*/, deserializeAws_restJson1CreateCustomDataIdentifierCommandError(output, context)];
|
|
@@ -1876,9 +1910,11 @@ export var deserializeAws_restJson1CreateCustomDataIdentifierCommand = function
|
|
|
1876
1910
|
$metadata: deserializeMetadata(output),
|
|
1877
1911
|
customDataIdentifierId: undefined,
|
|
1878
1912
|
};
|
|
1913
|
+
_a = __expectNonNull;
|
|
1914
|
+
_b = __expectObject;
|
|
1879
1915
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1880
1916
|
case 1:
|
|
1881
|
-
data = _a.sent();
|
|
1917
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1882
1918
|
if (data.customDataIdentifierId !== undefined && data.customDataIdentifierId !== null) {
|
|
1883
1919
|
contents.customDataIdentifierId = __expectString(data.customDataIdentifierId);
|
|
1884
1920
|
}
|
|
@@ -1973,9 +2009,9 @@ var deserializeAws_restJson1CreateCustomDataIdentifierCommandError = function (o
|
|
|
1973
2009
|
});
|
|
1974
2010
|
}); };
|
|
1975
2011
|
export var deserializeAws_restJson1CreateFindingsFilterCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1976
|
-
var contents, data;
|
|
1977
|
-
return __generator(this, function (
|
|
1978
|
-
switch (
|
|
2012
|
+
var contents, data, _a, _b;
|
|
2013
|
+
return __generator(this, function (_c) {
|
|
2014
|
+
switch (_c.label) {
|
|
1979
2015
|
case 0:
|
|
1980
2016
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1981
2017
|
return [2 /*return*/, deserializeAws_restJson1CreateFindingsFilterCommandError(output, context)];
|
|
@@ -1985,9 +2021,11 @@ export var deserializeAws_restJson1CreateFindingsFilterCommand = function (outpu
|
|
|
1985
2021
|
arn: undefined,
|
|
1986
2022
|
id: undefined,
|
|
1987
2023
|
};
|
|
2024
|
+
_a = __expectNonNull;
|
|
2025
|
+
_b = __expectObject;
|
|
1988
2026
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1989
2027
|
case 1:
|
|
1990
|
-
data = _a.sent();
|
|
2028
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1991
2029
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1992
2030
|
contents.arn = __expectString(data.arn);
|
|
1993
2031
|
}
|
|
@@ -2085,9 +2123,9 @@ var deserializeAws_restJson1CreateFindingsFilterCommandError = function (output,
|
|
|
2085
2123
|
});
|
|
2086
2124
|
}); };
|
|
2087
2125
|
export var deserializeAws_restJson1CreateInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2088
|
-
var contents, data;
|
|
2089
|
-
return __generator(this, function (
|
|
2090
|
-
switch (
|
|
2126
|
+
var contents, data, _a, _b;
|
|
2127
|
+
return __generator(this, function (_c) {
|
|
2128
|
+
switch (_c.label) {
|
|
2091
2129
|
case 0:
|
|
2092
2130
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2093
2131
|
return [2 /*return*/, deserializeAws_restJson1CreateInvitationsCommandError(output, context)];
|
|
@@ -2096,9 +2134,11 @@ export var deserializeAws_restJson1CreateInvitationsCommand = function (output,
|
|
|
2096
2134
|
$metadata: deserializeMetadata(output),
|
|
2097
2135
|
unprocessedAccounts: undefined,
|
|
2098
2136
|
};
|
|
2137
|
+
_a = __expectNonNull;
|
|
2138
|
+
_b = __expectObject;
|
|
2099
2139
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2100
2140
|
case 1:
|
|
2101
|
-
data = _a.sent();
|
|
2141
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2102
2142
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2103
2143
|
contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
|
|
2104
2144
|
}
|
|
@@ -2193,9 +2233,9 @@ var deserializeAws_restJson1CreateInvitationsCommandError = function (output, co
|
|
|
2193
2233
|
});
|
|
2194
2234
|
}); };
|
|
2195
2235
|
export var deserializeAws_restJson1CreateMemberCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2196
|
-
var contents, data;
|
|
2197
|
-
return __generator(this, function (
|
|
2198
|
-
switch (
|
|
2236
|
+
var contents, data, _a, _b;
|
|
2237
|
+
return __generator(this, function (_c) {
|
|
2238
|
+
switch (_c.label) {
|
|
2199
2239
|
case 0:
|
|
2200
2240
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2201
2241
|
return [2 /*return*/, deserializeAws_restJson1CreateMemberCommandError(output, context)];
|
|
@@ -2204,9 +2244,11 @@ export var deserializeAws_restJson1CreateMemberCommand = function (output, conte
|
|
|
2204
2244
|
$metadata: deserializeMetadata(output),
|
|
2205
2245
|
arn: undefined,
|
|
2206
2246
|
};
|
|
2247
|
+
_a = __expectNonNull;
|
|
2248
|
+
_b = __expectObject;
|
|
2207
2249
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2208
2250
|
case 1:
|
|
2209
|
-
data = _a.sent();
|
|
2251
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2210
2252
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2211
2253
|
contents.arn = __expectString(data.arn);
|
|
2212
2254
|
}
|
|
@@ -2405,9 +2447,9 @@ var deserializeAws_restJson1CreateSampleFindingsCommandError = function (output,
|
|
|
2405
2447
|
});
|
|
2406
2448
|
}); };
|
|
2407
2449
|
export var deserializeAws_restJson1DeclineInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2408
|
-
var contents, data;
|
|
2409
|
-
return __generator(this, function (
|
|
2410
|
-
switch (
|
|
2450
|
+
var contents, data, _a, _b;
|
|
2451
|
+
return __generator(this, function (_c) {
|
|
2452
|
+
switch (_c.label) {
|
|
2411
2453
|
case 0:
|
|
2412
2454
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2413
2455
|
return [2 /*return*/, deserializeAws_restJson1DeclineInvitationsCommandError(output, context)];
|
|
@@ -2416,9 +2458,11 @@ export var deserializeAws_restJson1DeclineInvitationsCommand = function (output,
|
|
|
2416
2458
|
$metadata: deserializeMetadata(output),
|
|
2417
2459
|
unprocessedAccounts: undefined,
|
|
2418
2460
|
};
|
|
2461
|
+
_a = __expectNonNull;
|
|
2462
|
+
_b = __expectObject;
|
|
2419
2463
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2420
2464
|
case 1:
|
|
2421
|
-
data = _a.sent();
|
|
2465
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2422
2466
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2423
2467
|
contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
|
|
2424
2468
|
}
|
|
@@ -2721,9 +2765,9 @@ var deserializeAws_restJson1DeleteFindingsFilterCommandError = function (output,
|
|
|
2721
2765
|
});
|
|
2722
2766
|
}); };
|
|
2723
2767
|
export var deserializeAws_restJson1DeleteInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2724
|
-
var contents, data;
|
|
2725
|
-
return __generator(this, function (
|
|
2726
|
-
switch (
|
|
2768
|
+
var contents, data, _a, _b;
|
|
2769
|
+
return __generator(this, function (_c) {
|
|
2770
|
+
switch (_c.label) {
|
|
2727
2771
|
case 0:
|
|
2728
2772
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2729
2773
|
return [2 /*return*/, deserializeAws_restJson1DeleteInvitationsCommandError(output, context)];
|
|
@@ -2732,9 +2776,11 @@ export var deserializeAws_restJson1DeleteInvitationsCommand = function (output,
|
|
|
2732
2776
|
$metadata: deserializeMetadata(output),
|
|
2733
2777
|
unprocessedAccounts: undefined,
|
|
2734
2778
|
};
|
|
2779
|
+
_a = __expectNonNull;
|
|
2780
|
+
_b = __expectObject;
|
|
2735
2781
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2736
2782
|
case 1:
|
|
2737
|
-
data = _a.sent();
|
|
2783
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2738
2784
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2739
2785
|
contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
|
|
2740
2786
|
}
|
|
@@ -2933,9 +2979,9 @@ var deserializeAws_restJson1DeleteMemberCommandError = function (output, context
|
|
|
2933
2979
|
});
|
|
2934
2980
|
}); };
|
|
2935
2981
|
export var deserializeAws_restJson1DescribeBucketsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2936
|
-
var contents, data;
|
|
2937
|
-
return __generator(this, function (
|
|
2938
|
-
switch (
|
|
2982
|
+
var contents, data, _a, _b;
|
|
2983
|
+
return __generator(this, function (_c) {
|
|
2984
|
+
switch (_c.label) {
|
|
2939
2985
|
case 0:
|
|
2940
2986
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2941
2987
|
return [2 /*return*/, deserializeAws_restJson1DescribeBucketsCommandError(output, context)];
|
|
@@ -2945,9 +2991,11 @@ export var deserializeAws_restJson1DescribeBucketsCommand = function (output, co
|
|
|
2945
2991
|
buckets: undefined,
|
|
2946
2992
|
nextToken: undefined,
|
|
2947
2993
|
};
|
|
2994
|
+
_a = __expectNonNull;
|
|
2995
|
+
_b = __expectObject;
|
|
2948
2996
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2949
2997
|
case 1:
|
|
2950
|
-
data = _a.sent();
|
|
2998
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2951
2999
|
if (data.buckets !== undefined && data.buckets !== null) {
|
|
2952
3000
|
contents.buckets = deserializeAws_restJson1__listOfBucketMetadata(data.buckets, context);
|
|
2953
3001
|
}
|
|
@@ -3045,9 +3093,9 @@ var deserializeAws_restJson1DescribeBucketsCommandError = function (output, cont
|
|
|
3045
3093
|
});
|
|
3046
3094
|
}); };
|
|
3047
3095
|
export var deserializeAws_restJson1DescribeClassificationJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3048
|
-
var contents, data;
|
|
3049
|
-
return __generator(this, function (
|
|
3050
|
-
switch (
|
|
3096
|
+
var contents, data, _a, _b;
|
|
3097
|
+
return __generator(this, function (_c) {
|
|
3098
|
+
switch (_c.label) {
|
|
3051
3099
|
case 0:
|
|
3052
3100
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3053
3101
|
return [2 /*return*/, deserializeAws_restJson1DescribeClassificationJobCommandError(output, context)];
|
|
@@ -3065,6 +3113,8 @@ export var deserializeAws_restJson1DescribeClassificationJobCommand = function (
|
|
|
3065
3113
|
jobType: undefined,
|
|
3066
3114
|
lastRunErrorStatus: undefined,
|
|
3067
3115
|
lastRunTime: undefined,
|
|
3116
|
+
managedDataIdentifierIds: undefined,
|
|
3117
|
+
managedDataIdentifierSelector: undefined,
|
|
3068
3118
|
name: undefined,
|
|
3069
3119
|
s3JobDefinition: undefined,
|
|
3070
3120
|
samplingPercentage: undefined,
|
|
@@ -3073,14 +3123,16 @@ export var deserializeAws_restJson1DescribeClassificationJobCommand = function (
|
|
|
3073
3123
|
tags: undefined,
|
|
3074
3124
|
userPausedDetails: undefined,
|
|
3075
3125
|
};
|
|
3126
|
+
_a = __expectNonNull;
|
|
3127
|
+
_b = __expectObject;
|
|
3076
3128
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3077
3129
|
case 1:
|
|
3078
|
-
data = _a.sent();
|
|
3130
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3079
3131
|
if (data.clientToken !== undefined && data.clientToken !== null) {
|
|
3080
3132
|
contents.clientToken = __expectString(data.clientToken);
|
|
3081
3133
|
}
|
|
3082
3134
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
3083
|
-
contents.createdAt =
|
|
3135
|
+
contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
|
|
3084
3136
|
}
|
|
3085
3137
|
if (data.customDataIdentifierIds !== undefined && data.customDataIdentifierIds !== null) {
|
|
3086
3138
|
contents.customDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.customDataIdentifierIds, context);
|
|
@@ -3107,7 +3159,13 @@ export var deserializeAws_restJson1DescribeClassificationJobCommand = function (
|
|
|
3107
3159
|
contents.lastRunErrorStatus = deserializeAws_restJson1LastRunErrorStatus(data.lastRunErrorStatus, context);
|
|
3108
3160
|
}
|
|
3109
3161
|
if (data.lastRunTime !== undefined && data.lastRunTime !== null) {
|
|
3110
|
-
contents.lastRunTime =
|
|
3162
|
+
contents.lastRunTime = __expectNonNull(__parseRfc3339DateTime(data.lastRunTime));
|
|
3163
|
+
}
|
|
3164
|
+
if (data.managedDataIdentifierIds !== undefined && data.managedDataIdentifierIds !== null) {
|
|
3165
|
+
contents.managedDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.managedDataIdentifierIds, context);
|
|
3166
|
+
}
|
|
3167
|
+
if (data.managedDataIdentifierSelector !== undefined && data.managedDataIdentifierSelector !== null) {
|
|
3168
|
+
contents.managedDataIdentifierSelector = __expectString(data.managedDataIdentifierSelector);
|
|
3111
3169
|
}
|
|
3112
3170
|
if (data.name !== undefined && data.name !== null) {
|
|
3113
3171
|
contents.name = __expectString(data.name);
|
|
@@ -3116,7 +3174,7 @@ export var deserializeAws_restJson1DescribeClassificationJobCommand = function (
|
|
|
3116
3174
|
contents.s3JobDefinition = deserializeAws_restJson1S3JobDefinition(data.s3JobDefinition, context);
|
|
3117
3175
|
}
|
|
3118
3176
|
if (data.samplingPercentage !== undefined && data.samplingPercentage !== null) {
|
|
3119
|
-
contents.samplingPercentage =
|
|
3177
|
+
contents.samplingPercentage = __expectInt32(data.samplingPercentage);
|
|
3120
3178
|
}
|
|
3121
3179
|
if (data.scheduleFrequency !== undefined && data.scheduleFrequency !== null) {
|
|
3122
3180
|
contents.scheduleFrequency = deserializeAws_restJson1JobScheduleFrequency(data.scheduleFrequency, context);
|
|
@@ -3221,9 +3279,9 @@ var deserializeAws_restJson1DescribeClassificationJobCommandError = function (ou
|
|
|
3221
3279
|
});
|
|
3222
3280
|
}); };
|
|
3223
3281
|
export var deserializeAws_restJson1DescribeOrganizationConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3224
|
-
var contents, data;
|
|
3225
|
-
return __generator(this, function (
|
|
3226
|
-
switch (
|
|
3282
|
+
var contents, data, _a, _b;
|
|
3283
|
+
return __generator(this, function (_c) {
|
|
3284
|
+
switch (_c.label) {
|
|
3227
3285
|
case 0:
|
|
3228
3286
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3229
3287
|
return [2 /*return*/, deserializeAws_restJson1DescribeOrganizationConfigurationCommandError(output, context)];
|
|
@@ -3233,9 +3291,11 @@ export var deserializeAws_restJson1DescribeOrganizationConfigurationCommand = fu
|
|
|
3233
3291
|
autoEnable: undefined,
|
|
3234
3292
|
maxAccountLimitReached: undefined,
|
|
3235
3293
|
};
|
|
3294
|
+
_a = __expectNonNull;
|
|
3295
|
+
_b = __expectObject;
|
|
3236
3296
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3237
3297
|
case 1:
|
|
3238
|
-
data = _a.sent();
|
|
3298
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3239
3299
|
if (data.autoEnable !== undefined && data.autoEnable !== null) {
|
|
3240
3300
|
contents.autoEnable = __expectBoolean(data.autoEnable);
|
|
3241
3301
|
}
|
|
@@ -4061,9 +4121,9 @@ var deserializeAws_restJson1EnableOrganizationAdminAccountCommandError = functio
|
|
|
4061
4121
|
});
|
|
4062
4122
|
}); };
|
|
4063
4123
|
export var deserializeAws_restJson1GetAdministratorAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4064
|
-
var contents, data;
|
|
4065
|
-
return __generator(this, function (
|
|
4066
|
-
switch (
|
|
4124
|
+
var contents, data, _a, _b;
|
|
4125
|
+
return __generator(this, function (_c) {
|
|
4126
|
+
switch (_c.label) {
|
|
4067
4127
|
case 0:
|
|
4068
4128
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4069
4129
|
return [2 /*return*/, deserializeAws_restJson1GetAdministratorAccountCommandError(output, context)];
|
|
@@ -4072,9 +4132,11 @@ export var deserializeAws_restJson1GetAdministratorAccountCommand = function (ou
|
|
|
4072
4132
|
$metadata: deserializeMetadata(output),
|
|
4073
4133
|
administrator: undefined,
|
|
4074
4134
|
};
|
|
4135
|
+
_a = __expectNonNull;
|
|
4136
|
+
_b = __expectObject;
|
|
4075
4137
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4076
4138
|
case 1:
|
|
4077
|
-
data = _a.sent();
|
|
4139
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4078
4140
|
if (data.administrator !== undefined && data.administrator !== null) {
|
|
4079
4141
|
contents.administrator = deserializeAws_restJson1Invitation(data.administrator, context);
|
|
4080
4142
|
}
|
|
@@ -4169,9 +4231,9 @@ var deserializeAws_restJson1GetAdministratorAccountCommandError = function (outp
|
|
|
4169
4231
|
});
|
|
4170
4232
|
}); };
|
|
4171
4233
|
export var deserializeAws_restJson1GetBucketStatisticsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4172
|
-
var contents, data;
|
|
4173
|
-
return __generator(this, function (
|
|
4174
|
-
switch (
|
|
4234
|
+
var contents, data, _a, _b;
|
|
4235
|
+
return __generator(this, function (_c) {
|
|
4236
|
+
switch (_c.label) {
|
|
4175
4237
|
case 0:
|
|
4176
4238
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4177
4239
|
return [2 /*return*/, deserializeAws_restJson1GetBucketStatisticsCommandError(output, context)];
|
|
@@ -4192,11 +4254,13 @@ export var deserializeAws_restJson1GetBucketStatisticsCommand = function (output
|
|
|
4192
4254
|
unclassifiableObjectCount: undefined,
|
|
4193
4255
|
unclassifiableObjectSizeInBytes: undefined,
|
|
4194
4256
|
};
|
|
4257
|
+
_a = __expectNonNull;
|
|
4258
|
+
_b = __expectObject;
|
|
4195
4259
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4196
4260
|
case 1:
|
|
4197
|
-
data = _a.sent();
|
|
4261
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4198
4262
|
if (data.bucketCount !== undefined && data.bucketCount !== null) {
|
|
4199
|
-
contents.bucketCount =
|
|
4263
|
+
contents.bucketCount = __expectLong(data.bucketCount);
|
|
4200
4264
|
}
|
|
4201
4265
|
if (data.bucketCountByEffectivePermission !== undefined && data.bucketCountByEffectivePermission !== null) {
|
|
4202
4266
|
contents.bucketCountByEffectivePermission = deserializeAws_restJson1BucketCountByEffectivePermission(data.bucketCountByEffectivePermission, context);
|
|
@@ -4213,22 +4277,22 @@ export var deserializeAws_restJson1GetBucketStatisticsCommand = function (output
|
|
|
4213
4277
|
contents.bucketCountBySharedAccessType = deserializeAws_restJson1BucketCountBySharedAccessType(data.bucketCountBySharedAccessType, context);
|
|
4214
4278
|
}
|
|
4215
4279
|
if (data.classifiableObjectCount !== undefined && data.classifiableObjectCount !== null) {
|
|
4216
|
-
contents.classifiableObjectCount =
|
|
4280
|
+
contents.classifiableObjectCount = __expectLong(data.classifiableObjectCount);
|
|
4217
4281
|
}
|
|
4218
4282
|
if (data.classifiableSizeInBytes !== undefined && data.classifiableSizeInBytes !== null) {
|
|
4219
|
-
contents.classifiableSizeInBytes =
|
|
4283
|
+
contents.classifiableSizeInBytes = __expectLong(data.classifiableSizeInBytes);
|
|
4220
4284
|
}
|
|
4221
4285
|
if (data.lastUpdated !== undefined && data.lastUpdated !== null) {
|
|
4222
|
-
contents.lastUpdated =
|
|
4286
|
+
contents.lastUpdated = __expectNonNull(__parseRfc3339DateTime(data.lastUpdated));
|
|
4223
4287
|
}
|
|
4224
4288
|
if (data.objectCount !== undefined && data.objectCount !== null) {
|
|
4225
|
-
contents.objectCount =
|
|
4289
|
+
contents.objectCount = __expectLong(data.objectCount);
|
|
4226
4290
|
}
|
|
4227
4291
|
if (data.sizeInBytes !== undefined && data.sizeInBytes !== null) {
|
|
4228
|
-
contents.sizeInBytes =
|
|
4292
|
+
contents.sizeInBytes = __expectLong(data.sizeInBytes);
|
|
4229
4293
|
}
|
|
4230
4294
|
if (data.sizeInBytesCompressed !== undefined && data.sizeInBytesCompressed !== null) {
|
|
4231
|
-
contents.sizeInBytesCompressed =
|
|
4295
|
+
contents.sizeInBytesCompressed = __expectLong(data.sizeInBytesCompressed);
|
|
4232
4296
|
}
|
|
4233
4297
|
if (data.unclassifiableObjectCount !== undefined && data.unclassifiableObjectCount !== null) {
|
|
4234
4298
|
contents.unclassifiableObjectCount = deserializeAws_restJson1ObjectLevelStatistics(data.unclassifiableObjectCount, context);
|
|
@@ -4327,9 +4391,9 @@ var deserializeAws_restJson1GetBucketStatisticsCommandError = function (output,
|
|
|
4327
4391
|
});
|
|
4328
4392
|
}); };
|
|
4329
4393
|
export var deserializeAws_restJson1GetClassificationExportConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4330
|
-
var contents, data;
|
|
4331
|
-
return __generator(this, function (
|
|
4332
|
-
switch (
|
|
4394
|
+
var contents, data, _a, _b;
|
|
4395
|
+
return __generator(this, function (_c) {
|
|
4396
|
+
switch (_c.label) {
|
|
4333
4397
|
case 0:
|
|
4334
4398
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4335
4399
|
return [2 /*return*/, deserializeAws_restJson1GetClassificationExportConfigurationCommandError(output, context)];
|
|
@@ -4338,9 +4402,11 @@ export var deserializeAws_restJson1GetClassificationExportConfigurationCommand =
|
|
|
4338
4402
|
$metadata: deserializeMetadata(output),
|
|
4339
4403
|
configuration: undefined,
|
|
4340
4404
|
};
|
|
4405
|
+
_a = __expectNonNull;
|
|
4406
|
+
_b = __expectObject;
|
|
4341
4407
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4342
4408
|
case 1:
|
|
4343
|
-
data = _a.sent();
|
|
4409
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4344
4410
|
if (data.configuration !== undefined && data.configuration !== null) {
|
|
4345
4411
|
contents.configuration = deserializeAws_restJson1ClassificationExportConfiguration(data.configuration, context);
|
|
4346
4412
|
}
|
|
@@ -4435,9 +4501,9 @@ var deserializeAws_restJson1GetClassificationExportConfigurationCommandError = f
|
|
|
4435
4501
|
});
|
|
4436
4502
|
}); };
|
|
4437
4503
|
export var deserializeAws_restJson1GetCustomDataIdentifierCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4438
|
-
var contents, data;
|
|
4439
|
-
return __generator(this, function (
|
|
4440
|
-
switch (
|
|
4504
|
+
var contents, data, _a, _b;
|
|
4505
|
+
return __generator(this, function (_c) {
|
|
4506
|
+
switch (_c.label) {
|
|
4441
4507
|
case 0:
|
|
4442
4508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4443
4509
|
return [2 /*return*/, deserializeAws_restJson1GetCustomDataIdentifierCommandError(output, context)];
|
|
@@ -4456,14 +4522,16 @@ export var deserializeAws_restJson1GetCustomDataIdentifierCommand = function (ou
|
|
|
4456
4522
|
regex: undefined,
|
|
4457
4523
|
tags: undefined,
|
|
4458
4524
|
};
|
|
4525
|
+
_a = __expectNonNull;
|
|
4526
|
+
_b = __expectObject;
|
|
4459
4527
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4460
4528
|
case 1:
|
|
4461
|
-
data = _a.sent();
|
|
4529
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4462
4530
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4463
4531
|
contents.arn = __expectString(data.arn);
|
|
4464
4532
|
}
|
|
4465
4533
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
4466
|
-
contents.createdAt =
|
|
4534
|
+
contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
|
|
4467
4535
|
}
|
|
4468
4536
|
if (data.deleted !== undefined && data.deleted !== null) {
|
|
4469
4537
|
contents.deleted = __expectBoolean(data.deleted);
|
|
@@ -4481,7 +4549,7 @@ export var deserializeAws_restJson1GetCustomDataIdentifierCommand = function (ou
|
|
|
4481
4549
|
contents.keywords = deserializeAws_restJson1__listOf__string(data.keywords, context);
|
|
4482
4550
|
}
|
|
4483
4551
|
if (data.maximumMatchDistance !== undefined && data.maximumMatchDistance !== null) {
|
|
4484
|
-
contents.maximumMatchDistance =
|
|
4552
|
+
contents.maximumMatchDistance = __expectInt32(data.maximumMatchDistance);
|
|
4485
4553
|
}
|
|
4486
4554
|
if (data.name !== undefined && data.name !== null) {
|
|
4487
4555
|
contents.name = __expectString(data.name);
|
|
@@ -4583,9 +4651,9 @@ var deserializeAws_restJson1GetCustomDataIdentifierCommandError = function (outp
|
|
|
4583
4651
|
});
|
|
4584
4652
|
}); };
|
|
4585
4653
|
export var deserializeAws_restJson1GetFindingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4586
|
-
var contents, data;
|
|
4587
|
-
return __generator(this, function (
|
|
4588
|
-
switch (
|
|
4654
|
+
var contents, data, _a, _b;
|
|
4655
|
+
return __generator(this, function (_c) {
|
|
4656
|
+
switch (_c.label) {
|
|
4589
4657
|
case 0:
|
|
4590
4658
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4591
4659
|
return [2 /*return*/, deserializeAws_restJson1GetFindingsCommandError(output, context)];
|
|
@@ -4594,9 +4662,11 @@ export var deserializeAws_restJson1GetFindingsCommand = function (output, contex
|
|
|
4594
4662
|
$metadata: deserializeMetadata(output),
|
|
4595
4663
|
findings: undefined,
|
|
4596
4664
|
};
|
|
4665
|
+
_a = __expectNonNull;
|
|
4666
|
+
_b = __expectObject;
|
|
4597
4667
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4598
4668
|
case 1:
|
|
4599
|
-
data = _a.sent();
|
|
4669
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4600
4670
|
if (data.findings !== undefined && data.findings !== null) {
|
|
4601
4671
|
contents.findings = deserializeAws_restJson1__listOfFinding(data.findings, context);
|
|
4602
4672
|
}
|
|
@@ -4691,9 +4761,9 @@ var deserializeAws_restJson1GetFindingsCommandError = function (output, context)
|
|
|
4691
4761
|
});
|
|
4692
4762
|
}); };
|
|
4693
4763
|
export var deserializeAws_restJson1GetFindingsFilterCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4694
|
-
var contents, data;
|
|
4695
|
-
return __generator(this, function (
|
|
4696
|
-
switch (
|
|
4764
|
+
var contents, data, _a, _b;
|
|
4765
|
+
return __generator(this, function (_c) {
|
|
4766
|
+
switch (_c.label) {
|
|
4697
4767
|
case 0:
|
|
4698
4768
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4699
4769
|
return [2 /*return*/, deserializeAws_restJson1GetFindingsFilterCommandError(output, context)];
|
|
@@ -4709,9 +4779,11 @@ export var deserializeAws_restJson1GetFindingsFilterCommand = function (output,
|
|
|
4709
4779
|
position: undefined,
|
|
4710
4780
|
tags: undefined,
|
|
4711
4781
|
};
|
|
4782
|
+
_a = __expectNonNull;
|
|
4783
|
+
_b = __expectObject;
|
|
4712
4784
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4713
4785
|
case 1:
|
|
4714
|
-
data = _a.sent();
|
|
4786
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4715
4787
|
if (data.action !== undefined && data.action !== null) {
|
|
4716
4788
|
contents.action = __expectString(data.action);
|
|
4717
4789
|
}
|
|
@@ -4731,7 +4803,7 @@ export var deserializeAws_restJson1GetFindingsFilterCommand = function (output,
|
|
|
4731
4803
|
contents.name = __expectString(data.name);
|
|
4732
4804
|
}
|
|
4733
4805
|
if (data.position !== undefined && data.position !== null) {
|
|
4734
|
-
contents.position =
|
|
4806
|
+
contents.position = __expectInt32(data.position);
|
|
4735
4807
|
}
|
|
4736
4808
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4737
4809
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -4827,9 +4899,9 @@ var deserializeAws_restJson1GetFindingsFilterCommandError = function (output, co
|
|
|
4827
4899
|
});
|
|
4828
4900
|
}); };
|
|
4829
4901
|
export var deserializeAws_restJson1GetFindingsPublicationConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4830
|
-
var contents, data;
|
|
4831
|
-
return __generator(this, function (
|
|
4832
|
-
switch (
|
|
4902
|
+
var contents, data, _a, _b;
|
|
4903
|
+
return __generator(this, function (_c) {
|
|
4904
|
+
switch (_c.label) {
|
|
4833
4905
|
case 0:
|
|
4834
4906
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4835
4907
|
return [2 /*return*/, deserializeAws_restJson1GetFindingsPublicationConfigurationCommandError(output, context)];
|
|
@@ -4838,9 +4910,11 @@ export var deserializeAws_restJson1GetFindingsPublicationConfigurationCommand =
|
|
|
4838
4910
|
$metadata: deserializeMetadata(output),
|
|
4839
4911
|
securityHubConfiguration: undefined,
|
|
4840
4912
|
};
|
|
4913
|
+
_a = __expectNonNull;
|
|
4914
|
+
_b = __expectObject;
|
|
4841
4915
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4842
4916
|
case 1:
|
|
4843
|
-
data = _a.sent();
|
|
4917
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4844
4918
|
if (data.securityHubConfiguration !== undefined && data.securityHubConfiguration !== null) {
|
|
4845
4919
|
contents.securityHubConfiguration = deserializeAws_restJson1SecurityHubConfiguration(data.securityHubConfiguration, context);
|
|
4846
4920
|
}
|
|
@@ -4935,9 +5009,9 @@ var deserializeAws_restJson1GetFindingsPublicationConfigurationCommandError = fu
|
|
|
4935
5009
|
});
|
|
4936
5010
|
}); };
|
|
4937
5011
|
export var deserializeAws_restJson1GetFindingStatisticsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4938
|
-
var contents, data;
|
|
4939
|
-
return __generator(this, function (
|
|
4940
|
-
switch (
|
|
5012
|
+
var contents, data, _a, _b;
|
|
5013
|
+
return __generator(this, function (_c) {
|
|
5014
|
+
switch (_c.label) {
|
|
4941
5015
|
case 0:
|
|
4942
5016
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4943
5017
|
return [2 /*return*/, deserializeAws_restJson1GetFindingStatisticsCommandError(output, context)];
|
|
@@ -4946,9 +5020,11 @@ export var deserializeAws_restJson1GetFindingStatisticsCommand = function (outpu
|
|
|
4946
5020
|
$metadata: deserializeMetadata(output),
|
|
4947
5021
|
countsByGroup: undefined,
|
|
4948
5022
|
};
|
|
5023
|
+
_a = __expectNonNull;
|
|
5024
|
+
_b = __expectObject;
|
|
4949
5025
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4950
5026
|
case 1:
|
|
4951
|
-
data = _a.sent();
|
|
5027
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4952
5028
|
if (data.countsByGroup !== undefined && data.countsByGroup !== null) {
|
|
4953
5029
|
contents.countsByGroup = deserializeAws_restJson1__listOfGroupCount(data.countsByGroup, context);
|
|
4954
5030
|
}
|
|
@@ -5043,9 +5119,9 @@ var deserializeAws_restJson1GetFindingStatisticsCommandError = function (output,
|
|
|
5043
5119
|
});
|
|
5044
5120
|
}); };
|
|
5045
5121
|
export var deserializeAws_restJson1GetInvitationsCountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5046
|
-
var contents, data;
|
|
5047
|
-
return __generator(this, function (
|
|
5048
|
-
switch (
|
|
5122
|
+
var contents, data, _a, _b;
|
|
5123
|
+
return __generator(this, function (_c) {
|
|
5124
|
+
switch (_c.label) {
|
|
5049
5125
|
case 0:
|
|
5050
5126
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5051
5127
|
return [2 /*return*/, deserializeAws_restJson1GetInvitationsCountCommandError(output, context)];
|
|
@@ -5054,11 +5130,13 @@ export var deserializeAws_restJson1GetInvitationsCountCommand = function (output
|
|
|
5054
5130
|
$metadata: deserializeMetadata(output),
|
|
5055
5131
|
invitationsCount: undefined,
|
|
5056
5132
|
};
|
|
5133
|
+
_a = __expectNonNull;
|
|
5134
|
+
_b = __expectObject;
|
|
5057
5135
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5058
5136
|
case 1:
|
|
5059
|
-
data = _a.sent();
|
|
5137
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5060
5138
|
if (data.invitationsCount !== undefined && data.invitationsCount !== null) {
|
|
5061
|
-
contents.invitationsCount =
|
|
5139
|
+
contents.invitationsCount = __expectLong(data.invitationsCount);
|
|
5062
5140
|
}
|
|
5063
5141
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
5064
5142
|
}
|
|
@@ -5151,9 +5229,9 @@ var deserializeAws_restJson1GetInvitationsCountCommandError = function (output,
|
|
|
5151
5229
|
});
|
|
5152
5230
|
}); };
|
|
5153
5231
|
export var deserializeAws_restJson1GetMacieSessionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5154
|
-
var contents, data;
|
|
5155
|
-
return __generator(this, function (
|
|
5156
|
-
switch (
|
|
5232
|
+
var contents, data, _a, _b;
|
|
5233
|
+
return __generator(this, function (_c) {
|
|
5234
|
+
switch (_c.label) {
|
|
5157
5235
|
case 0:
|
|
5158
5236
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5159
5237
|
return [2 /*return*/, deserializeAws_restJson1GetMacieSessionCommandError(output, context)];
|
|
@@ -5166,11 +5244,13 @@ export var deserializeAws_restJson1GetMacieSessionCommand = function (output, co
|
|
|
5166
5244
|
status: undefined,
|
|
5167
5245
|
updatedAt: undefined,
|
|
5168
5246
|
};
|
|
5247
|
+
_a = __expectNonNull;
|
|
5248
|
+
_b = __expectObject;
|
|
5169
5249
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5170
5250
|
case 1:
|
|
5171
|
-
data = _a.sent();
|
|
5251
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5172
5252
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
5173
|
-
contents.createdAt =
|
|
5253
|
+
contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
|
|
5174
5254
|
}
|
|
5175
5255
|
if (data.findingPublishingFrequency !== undefined && data.findingPublishingFrequency !== null) {
|
|
5176
5256
|
contents.findingPublishingFrequency = __expectString(data.findingPublishingFrequency);
|
|
@@ -5182,7 +5262,7 @@ export var deserializeAws_restJson1GetMacieSessionCommand = function (output, co
|
|
|
5182
5262
|
contents.status = __expectString(data.status);
|
|
5183
5263
|
}
|
|
5184
5264
|
if (data.updatedAt !== undefined && data.updatedAt !== null) {
|
|
5185
|
-
contents.updatedAt =
|
|
5265
|
+
contents.updatedAt = __expectNonNull(__parseRfc3339DateTime(data.updatedAt));
|
|
5186
5266
|
}
|
|
5187
5267
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
5188
5268
|
}
|
|
@@ -5275,9 +5355,9 @@ var deserializeAws_restJson1GetMacieSessionCommandError = function (output, cont
|
|
|
5275
5355
|
});
|
|
5276
5356
|
}); };
|
|
5277
5357
|
export var deserializeAws_restJson1GetMasterAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5278
|
-
var contents, data;
|
|
5279
|
-
return __generator(this, function (
|
|
5280
|
-
switch (
|
|
5358
|
+
var contents, data, _a, _b;
|
|
5359
|
+
return __generator(this, function (_c) {
|
|
5360
|
+
switch (_c.label) {
|
|
5281
5361
|
case 0:
|
|
5282
5362
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5283
5363
|
return [2 /*return*/, deserializeAws_restJson1GetMasterAccountCommandError(output, context)];
|
|
@@ -5286,9 +5366,11 @@ export var deserializeAws_restJson1GetMasterAccountCommand = function (output, c
|
|
|
5286
5366
|
$metadata: deserializeMetadata(output),
|
|
5287
5367
|
master: undefined,
|
|
5288
5368
|
};
|
|
5369
|
+
_a = __expectNonNull;
|
|
5370
|
+
_b = __expectObject;
|
|
5289
5371
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5290
5372
|
case 1:
|
|
5291
|
-
data = _a.sent();
|
|
5373
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5292
5374
|
if (data.master !== undefined && data.master !== null) {
|
|
5293
5375
|
contents.master = deserializeAws_restJson1Invitation(data.master, context);
|
|
5294
5376
|
}
|
|
@@ -5383,9 +5465,9 @@ var deserializeAws_restJson1GetMasterAccountCommandError = function (output, con
|
|
|
5383
5465
|
});
|
|
5384
5466
|
}); };
|
|
5385
5467
|
export var deserializeAws_restJson1GetMemberCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5386
|
-
var contents, data;
|
|
5387
|
-
return __generator(this, function (
|
|
5388
|
-
switch (
|
|
5468
|
+
var contents, data, _a, _b;
|
|
5469
|
+
return __generator(this, function (_c) {
|
|
5470
|
+
switch (_c.label) {
|
|
5389
5471
|
case 0:
|
|
5390
5472
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5391
5473
|
return [2 /*return*/, deserializeAws_restJson1GetMemberCommandError(output, context)];
|
|
@@ -5402,9 +5484,11 @@ export var deserializeAws_restJson1GetMemberCommand = function (output, context)
|
|
|
5402
5484
|
tags: undefined,
|
|
5403
5485
|
updatedAt: undefined,
|
|
5404
5486
|
};
|
|
5487
|
+
_a = __expectNonNull;
|
|
5488
|
+
_b = __expectObject;
|
|
5405
5489
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5406
5490
|
case 1:
|
|
5407
|
-
data = _a.sent();
|
|
5491
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5408
5492
|
if (data.accountId !== undefined && data.accountId !== null) {
|
|
5409
5493
|
contents.accountId = __expectString(data.accountId);
|
|
5410
5494
|
}
|
|
@@ -5418,7 +5502,7 @@ export var deserializeAws_restJson1GetMemberCommand = function (output, context)
|
|
|
5418
5502
|
contents.email = __expectString(data.email);
|
|
5419
5503
|
}
|
|
5420
5504
|
if (data.invitedAt !== undefined && data.invitedAt !== null) {
|
|
5421
|
-
contents.invitedAt =
|
|
5505
|
+
contents.invitedAt = __expectNonNull(__parseRfc3339DateTime(data.invitedAt));
|
|
5422
5506
|
}
|
|
5423
5507
|
if (data.masterAccountId !== undefined && data.masterAccountId !== null) {
|
|
5424
5508
|
contents.masterAccountId = __expectString(data.masterAccountId);
|
|
@@ -5430,7 +5514,7 @@ export var deserializeAws_restJson1GetMemberCommand = function (output, context)
|
|
|
5430
5514
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
5431
5515
|
}
|
|
5432
5516
|
if (data.updatedAt !== undefined && data.updatedAt !== null) {
|
|
5433
|
-
contents.updatedAt =
|
|
5517
|
+
contents.updatedAt = __expectNonNull(__parseRfc3339DateTime(data.updatedAt));
|
|
5434
5518
|
}
|
|
5435
5519
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
5436
5520
|
}
|
|
@@ -5523,9 +5607,9 @@ var deserializeAws_restJson1GetMemberCommandError = function (output, context) {
|
|
|
5523
5607
|
});
|
|
5524
5608
|
}); };
|
|
5525
5609
|
export var deserializeAws_restJson1GetUsageStatisticsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5526
|
-
var contents, data;
|
|
5527
|
-
return __generator(this, function (
|
|
5528
|
-
switch (
|
|
5610
|
+
var contents, data, _a, _b;
|
|
5611
|
+
return __generator(this, function (_c) {
|
|
5612
|
+
switch (_c.label) {
|
|
5529
5613
|
case 0:
|
|
5530
5614
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5531
5615
|
return [2 /*return*/, deserializeAws_restJson1GetUsageStatisticsCommandError(output, context)];
|
|
@@ -5536,9 +5620,11 @@ export var deserializeAws_restJson1GetUsageStatisticsCommand = function (output,
|
|
|
5536
5620
|
records: undefined,
|
|
5537
5621
|
timeRange: undefined,
|
|
5538
5622
|
};
|
|
5623
|
+
_a = __expectNonNull;
|
|
5624
|
+
_b = __expectObject;
|
|
5539
5625
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5540
5626
|
case 1:
|
|
5541
|
-
data = _a.sent();
|
|
5627
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5542
5628
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5543
5629
|
contents.nextToken = __expectString(data.nextToken);
|
|
5544
5630
|
}
|
|
@@ -5639,9 +5725,9 @@ var deserializeAws_restJson1GetUsageStatisticsCommandError = function (output, c
|
|
|
5639
5725
|
});
|
|
5640
5726
|
}); };
|
|
5641
5727
|
export var deserializeAws_restJson1GetUsageTotalsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5642
|
-
var contents, data;
|
|
5643
|
-
return __generator(this, function (
|
|
5644
|
-
switch (
|
|
5728
|
+
var contents, data, _a, _b;
|
|
5729
|
+
return __generator(this, function (_c) {
|
|
5730
|
+
switch (_c.label) {
|
|
5645
5731
|
case 0:
|
|
5646
5732
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5647
5733
|
return [2 /*return*/, deserializeAws_restJson1GetUsageTotalsCommandError(output, context)];
|
|
@@ -5651,9 +5737,11 @@ export var deserializeAws_restJson1GetUsageTotalsCommand = function (output, con
|
|
|
5651
5737
|
timeRange: undefined,
|
|
5652
5738
|
usageTotals: undefined,
|
|
5653
5739
|
};
|
|
5740
|
+
_a = __expectNonNull;
|
|
5741
|
+
_b = __expectObject;
|
|
5654
5742
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5655
5743
|
case 1:
|
|
5656
|
-
data = _a.sent();
|
|
5744
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5657
5745
|
if (data.timeRange !== undefined && data.timeRange !== null) {
|
|
5658
5746
|
contents.timeRange = __expectString(data.timeRange);
|
|
5659
5747
|
}
|
|
@@ -5751,9 +5839,9 @@ var deserializeAws_restJson1GetUsageTotalsCommandError = function (output, conte
|
|
|
5751
5839
|
});
|
|
5752
5840
|
}); };
|
|
5753
5841
|
export var deserializeAws_restJson1ListClassificationJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5754
|
-
var contents, data;
|
|
5755
|
-
return __generator(this, function (
|
|
5756
|
-
switch (
|
|
5842
|
+
var contents, data, _a, _b;
|
|
5843
|
+
return __generator(this, function (_c) {
|
|
5844
|
+
switch (_c.label) {
|
|
5757
5845
|
case 0:
|
|
5758
5846
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5759
5847
|
return [2 /*return*/, deserializeAws_restJson1ListClassificationJobsCommandError(output, context)];
|
|
@@ -5763,9 +5851,11 @@ export var deserializeAws_restJson1ListClassificationJobsCommand = function (out
|
|
|
5763
5851
|
items: undefined,
|
|
5764
5852
|
nextToken: undefined,
|
|
5765
5853
|
};
|
|
5854
|
+
_a = __expectNonNull;
|
|
5855
|
+
_b = __expectObject;
|
|
5766
5856
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5767
5857
|
case 1:
|
|
5768
|
-
data = _a.sent();
|
|
5858
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5769
5859
|
if (data.items !== undefined && data.items !== null) {
|
|
5770
5860
|
contents.items = deserializeAws_restJson1__listOfJobSummary(data.items, context);
|
|
5771
5861
|
}
|
|
@@ -5863,9 +5953,9 @@ var deserializeAws_restJson1ListClassificationJobsCommandError = function (outpu
|
|
|
5863
5953
|
});
|
|
5864
5954
|
}); };
|
|
5865
5955
|
export var deserializeAws_restJson1ListCustomDataIdentifiersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5866
|
-
var contents, data;
|
|
5867
|
-
return __generator(this, function (
|
|
5868
|
-
switch (
|
|
5956
|
+
var contents, data, _a, _b;
|
|
5957
|
+
return __generator(this, function (_c) {
|
|
5958
|
+
switch (_c.label) {
|
|
5869
5959
|
case 0:
|
|
5870
5960
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5871
5961
|
return [2 /*return*/, deserializeAws_restJson1ListCustomDataIdentifiersCommandError(output, context)];
|
|
@@ -5875,9 +5965,11 @@ export var deserializeAws_restJson1ListCustomDataIdentifiersCommand = function (
|
|
|
5875
5965
|
items: undefined,
|
|
5876
5966
|
nextToken: undefined,
|
|
5877
5967
|
};
|
|
5968
|
+
_a = __expectNonNull;
|
|
5969
|
+
_b = __expectObject;
|
|
5878
5970
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5879
5971
|
case 1:
|
|
5880
|
-
data = _a.sent();
|
|
5972
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5881
5973
|
if (data.items !== undefined && data.items !== null) {
|
|
5882
5974
|
contents.items = deserializeAws_restJson1__listOfCustomDataIdentifierSummary(data.items, context);
|
|
5883
5975
|
}
|
|
@@ -5975,9 +6067,9 @@ var deserializeAws_restJson1ListCustomDataIdentifiersCommandError = function (ou
|
|
|
5975
6067
|
});
|
|
5976
6068
|
}); };
|
|
5977
6069
|
export var deserializeAws_restJson1ListFindingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5978
|
-
var contents, data;
|
|
5979
|
-
return __generator(this, function (
|
|
5980
|
-
switch (
|
|
6070
|
+
var contents, data, _a, _b;
|
|
6071
|
+
return __generator(this, function (_c) {
|
|
6072
|
+
switch (_c.label) {
|
|
5981
6073
|
case 0:
|
|
5982
6074
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5983
6075
|
return [2 /*return*/, deserializeAws_restJson1ListFindingsCommandError(output, context)];
|
|
@@ -5987,9 +6079,11 @@ export var deserializeAws_restJson1ListFindingsCommand = function (output, conte
|
|
|
5987
6079
|
findingIds: undefined,
|
|
5988
6080
|
nextToken: undefined,
|
|
5989
6081
|
};
|
|
6082
|
+
_a = __expectNonNull;
|
|
6083
|
+
_b = __expectObject;
|
|
5990
6084
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5991
6085
|
case 1:
|
|
5992
|
-
data = _a.sent();
|
|
6086
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5993
6087
|
if (data.findingIds !== undefined && data.findingIds !== null) {
|
|
5994
6088
|
contents.findingIds = deserializeAws_restJson1__listOf__string(data.findingIds, context);
|
|
5995
6089
|
}
|
|
@@ -6087,9 +6181,9 @@ var deserializeAws_restJson1ListFindingsCommandError = function (output, context
|
|
|
6087
6181
|
});
|
|
6088
6182
|
}); };
|
|
6089
6183
|
export var deserializeAws_restJson1ListFindingsFiltersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6090
|
-
var contents, data;
|
|
6091
|
-
return __generator(this, function (
|
|
6092
|
-
switch (
|
|
6184
|
+
var contents, data, _a, _b;
|
|
6185
|
+
return __generator(this, function (_c) {
|
|
6186
|
+
switch (_c.label) {
|
|
6093
6187
|
case 0:
|
|
6094
6188
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6095
6189
|
return [2 /*return*/, deserializeAws_restJson1ListFindingsFiltersCommandError(output, context)];
|
|
@@ -6099,9 +6193,11 @@ export var deserializeAws_restJson1ListFindingsFiltersCommand = function (output
|
|
|
6099
6193
|
findingsFilterListItems: undefined,
|
|
6100
6194
|
nextToken: undefined,
|
|
6101
6195
|
};
|
|
6196
|
+
_a = __expectNonNull;
|
|
6197
|
+
_b = __expectObject;
|
|
6102
6198
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6103
6199
|
case 1:
|
|
6104
|
-
data = _a.sent();
|
|
6200
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6105
6201
|
if (data.findingsFilterListItems !== undefined && data.findingsFilterListItems !== null) {
|
|
6106
6202
|
contents.findingsFilterListItems = deserializeAws_restJson1__listOfFindingsFilterListItem(data.findingsFilterListItems, context);
|
|
6107
6203
|
}
|
|
@@ -6199,9 +6295,9 @@ var deserializeAws_restJson1ListFindingsFiltersCommandError = function (output,
|
|
|
6199
6295
|
});
|
|
6200
6296
|
}); };
|
|
6201
6297
|
export var deserializeAws_restJson1ListInvitationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6202
|
-
var contents, data;
|
|
6203
|
-
return __generator(this, function (
|
|
6204
|
-
switch (
|
|
6298
|
+
var contents, data, _a, _b;
|
|
6299
|
+
return __generator(this, function (_c) {
|
|
6300
|
+
switch (_c.label) {
|
|
6205
6301
|
case 0:
|
|
6206
6302
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6207
6303
|
return [2 /*return*/, deserializeAws_restJson1ListInvitationsCommandError(output, context)];
|
|
@@ -6211,9 +6307,11 @@ export var deserializeAws_restJson1ListInvitationsCommand = function (output, co
|
|
|
6211
6307
|
invitations: undefined,
|
|
6212
6308
|
nextToken: undefined,
|
|
6213
6309
|
};
|
|
6310
|
+
_a = __expectNonNull;
|
|
6311
|
+
_b = __expectObject;
|
|
6214
6312
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6215
6313
|
case 1:
|
|
6216
|
-
data = _a.sent();
|
|
6314
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6217
6315
|
if (data.invitations !== undefined && data.invitations !== null) {
|
|
6218
6316
|
contents.invitations = deserializeAws_restJson1__listOfInvitation(data.invitations, context);
|
|
6219
6317
|
}
|
|
@@ -6310,10 +6408,64 @@ var deserializeAws_restJson1ListInvitationsCommandError = function (output, cont
|
|
|
6310
6408
|
}
|
|
6311
6409
|
});
|
|
6312
6410
|
}); };
|
|
6411
|
+
export var deserializeAws_restJson1ListManagedDataIdentifiersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6412
|
+
var contents, data, _a, _b;
|
|
6413
|
+
return __generator(this, function (_c) {
|
|
6414
|
+
switch (_c.label) {
|
|
6415
|
+
case 0:
|
|
6416
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6417
|
+
return [2 /*return*/, deserializeAws_restJson1ListManagedDataIdentifiersCommandError(output, context)];
|
|
6418
|
+
}
|
|
6419
|
+
contents = {
|
|
6420
|
+
$metadata: deserializeMetadata(output),
|
|
6421
|
+
items: undefined,
|
|
6422
|
+
nextToken: undefined,
|
|
6423
|
+
};
|
|
6424
|
+
_a = __expectNonNull;
|
|
6425
|
+
_b = __expectObject;
|
|
6426
|
+
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6427
|
+
case 1:
|
|
6428
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6429
|
+
if (data.items !== undefined && data.items !== null) {
|
|
6430
|
+
contents.items = deserializeAws_restJson1__listOfManagedDataIdentifierSummary(data.items, context);
|
|
6431
|
+
}
|
|
6432
|
+
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6433
|
+
contents.nextToken = __expectString(data.nextToken);
|
|
6434
|
+
}
|
|
6435
|
+
return [2 /*return*/, Promise.resolve(contents)];
|
|
6436
|
+
}
|
|
6437
|
+
});
|
|
6438
|
+
}); };
|
|
6439
|
+
var deserializeAws_restJson1ListManagedDataIdentifiersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6440
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
6441
|
+
var _b;
|
|
6442
|
+
return __generator(this, function (_c) {
|
|
6443
|
+
switch (_c.label) {
|
|
6444
|
+
case 0:
|
|
6445
|
+
_a = [__assign({}, output)];
|
|
6446
|
+
_b = {};
|
|
6447
|
+
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6448
|
+
case 1:
|
|
6449
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
6450
|
+
errorCode = "UnknownError";
|
|
6451
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6452
|
+
switch (errorCode) {
|
|
6453
|
+
default:
|
|
6454
|
+
parsedBody = parsedOutput.body;
|
|
6455
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
6456
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
6457
|
+
}
|
|
6458
|
+
message = response.message || response.Message || errorCode;
|
|
6459
|
+
response.message = message;
|
|
6460
|
+
delete response.Message;
|
|
6461
|
+
return [2 /*return*/, Promise.reject(Object.assign(new Error(message), response))];
|
|
6462
|
+
}
|
|
6463
|
+
});
|
|
6464
|
+
}); };
|
|
6313
6465
|
export var deserializeAws_restJson1ListMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6314
|
-
var contents, data;
|
|
6315
|
-
return __generator(this, function (
|
|
6316
|
-
switch (
|
|
6466
|
+
var contents, data, _a, _b;
|
|
6467
|
+
return __generator(this, function (_c) {
|
|
6468
|
+
switch (_c.label) {
|
|
6317
6469
|
case 0:
|
|
6318
6470
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6319
6471
|
return [2 /*return*/, deserializeAws_restJson1ListMembersCommandError(output, context)];
|
|
@@ -6323,9 +6475,11 @@ export var deserializeAws_restJson1ListMembersCommand = function (output, contex
|
|
|
6323
6475
|
members: undefined,
|
|
6324
6476
|
nextToken: undefined,
|
|
6325
6477
|
};
|
|
6478
|
+
_a = __expectNonNull;
|
|
6479
|
+
_b = __expectObject;
|
|
6326
6480
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6327
6481
|
case 1:
|
|
6328
|
-
data = _a.sent();
|
|
6482
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6329
6483
|
if (data.members !== undefined && data.members !== null) {
|
|
6330
6484
|
contents.members = deserializeAws_restJson1__listOfMember(data.members, context);
|
|
6331
6485
|
}
|
|
@@ -6423,9 +6577,9 @@ var deserializeAws_restJson1ListMembersCommandError = function (output, context)
|
|
|
6423
6577
|
});
|
|
6424
6578
|
}); };
|
|
6425
6579
|
export var deserializeAws_restJson1ListOrganizationAdminAccountsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6426
|
-
var contents, data;
|
|
6427
|
-
return __generator(this, function (
|
|
6428
|
-
switch (
|
|
6580
|
+
var contents, data, _a, _b;
|
|
6581
|
+
return __generator(this, function (_c) {
|
|
6582
|
+
switch (_c.label) {
|
|
6429
6583
|
case 0:
|
|
6430
6584
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6431
6585
|
return [2 /*return*/, deserializeAws_restJson1ListOrganizationAdminAccountsCommandError(output, context)];
|
|
@@ -6435,9 +6589,11 @@ export var deserializeAws_restJson1ListOrganizationAdminAccountsCommand = functi
|
|
|
6435
6589
|
adminAccounts: undefined,
|
|
6436
6590
|
nextToken: undefined,
|
|
6437
6591
|
};
|
|
6592
|
+
_a = __expectNonNull;
|
|
6593
|
+
_b = __expectObject;
|
|
6438
6594
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6439
6595
|
case 1:
|
|
6440
|
-
data = _a.sent();
|
|
6596
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6441
6597
|
if (data.adminAccounts !== undefined && data.adminAccounts !== null) {
|
|
6442
6598
|
contents.adminAccounts = deserializeAws_restJson1__listOfAdminAccount(data.adminAccounts, context);
|
|
6443
6599
|
}
|
|
@@ -6535,9 +6691,9 @@ var deserializeAws_restJson1ListOrganizationAdminAccountsCommandError = function
|
|
|
6535
6691
|
});
|
|
6536
6692
|
}); };
|
|
6537
6693
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6538
|
-
var contents, data;
|
|
6539
|
-
return __generator(this, function (
|
|
6540
|
-
switch (
|
|
6694
|
+
var contents, data, _a, _b;
|
|
6695
|
+
return __generator(this, function (_c) {
|
|
6696
|
+
switch (_c.label) {
|
|
6541
6697
|
case 0:
|
|
6542
6698
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6543
6699
|
return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
|
|
@@ -6546,9 +6702,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
6546
6702
|
$metadata: deserializeMetadata(output),
|
|
6547
6703
|
tags: undefined,
|
|
6548
6704
|
};
|
|
6705
|
+
_a = __expectNonNull;
|
|
6706
|
+
_b = __expectObject;
|
|
6549
6707
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6550
6708
|
case 1:
|
|
6551
|
-
data = _a.sent();
|
|
6709
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6552
6710
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6553
6711
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
6554
6712
|
}
|
|
@@ -6583,9 +6741,9 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
6583
6741
|
});
|
|
6584
6742
|
}); };
|
|
6585
6743
|
export var deserializeAws_restJson1PutClassificationExportConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6586
|
-
var contents, data;
|
|
6587
|
-
return __generator(this, function (
|
|
6588
|
-
switch (
|
|
6744
|
+
var contents, data, _a, _b;
|
|
6745
|
+
return __generator(this, function (_c) {
|
|
6746
|
+
switch (_c.label) {
|
|
6589
6747
|
case 0:
|
|
6590
6748
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6591
6749
|
return [2 /*return*/, deserializeAws_restJson1PutClassificationExportConfigurationCommandError(output, context)];
|
|
@@ -6594,9 +6752,11 @@ export var deserializeAws_restJson1PutClassificationExportConfigurationCommand =
|
|
|
6594
6752
|
$metadata: deserializeMetadata(output),
|
|
6595
6753
|
configuration: undefined,
|
|
6596
6754
|
};
|
|
6755
|
+
_a = __expectNonNull;
|
|
6756
|
+
_b = __expectObject;
|
|
6597
6757
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6598
6758
|
case 1:
|
|
6599
|
-
data = _a.sent();
|
|
6759
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6600
6760
|
if (data.configuration !== undefined && data.configuration !== null) {
|
|
6601
6761
|
contents.configuration = deserializeAws_restJson1ClassificationExportConfiguration(data.configuration, context);
|
|
6602
6762
|
}
|
|
@@ -6795,9 +6955,9 @@ var deserializeAws_restJson1PutFindingsPublicationConfigurationCommandError = fu
|
|
|
6795
6955
|
});
|
|
6796
6956
|
}); };
|
|
6797
6957
|
export var deserializeAws_restJson1SearchResourcesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6798
|
-
var contents, data;
|
|
6799
|
-
return __generator(this, function (
|
|
6800
|
-
switch (
|
|
6958
|
+
var contents, data, _a, _b;
|
|
6959
|
+
return __generator(this, function (_c) {
|
|
6960
|
+
switch (_c.label) {
|
|
6801
6961
|
case 0:
|
|
6802
6962
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6803
6963
|
return [2 /*return*/, deserializeAws_restJson1SearchResourcesCommandError(output, context)];
|
|
@@ -6807,9 +6967,11 @@ export var deserializeAws_restJson1SearchResourcesCommand = function (output, co
|
|
|
6807
6967
|
matchingResources: undefined,
|
|
6808
6968
|
nextToken: undefined,
|
|
6809
6969
|
};
|
|
6970
|
+
_a = __expectNonNull;
|
|
6971
|
+
_b = __expectObject;
|
|
6810
6972
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6811
6973
|
case 1:
|
|
6812
|
-
data = _a.sent();
|
|
6974
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6813
6975
|
if (data.matchingResources !== undefined && data.matchingResources !== null) {
|
|
6814
6976
|
contents.matchingResources = deserializeAws_restJson1__listOfMatchingResource(data.matchingResources, context);
|
|
6815
6977
|
}
|
|
@@ -6951,9 +7113,9 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
6951
7113
|
});
|
|
6952
7114
|
}); };
|
|
6953
7115
|
export var deserializeAws_restJson1TestCustomDataIdentifierCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6954
|
-
var contents, data;
|
|
6955
|
-
return __generator(this, function (
|
|
6956
|
-
switch (
|
|
7116
|
+
var contents, data, _a, _b;
|
|
7117
|
+
return __generator(this, function (_c) {
|
|
7118
|
+
switch (_c.label) {
|
|
6957
7119
|
case 0:
|
|
6958
7120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6959
7121
|
return [2 /*return*/, deserializeAws_restJson1TestCustomDataIdentifierCommandError(output, context)];
|
|
@@ -6962,11 +7124,13 @@ export var deserializeAws_restJson1TestCustomDataIdentifierCommand = function (o
|
|
|
6962
7124
|
$metadata: deserializeMetadata(output),
|
|
6963
7125
|
matchCount: undefined,
|
|
6964
7126
|
};
|
|
7127
|
+
_a = __expectNonNull;
|
|
7128
|
+
_b = __expectObject;
|
|
6965
7129
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6966
7130
|
case 1:
|
|
6967
|
-
data = _a.sent();
|
|
7131
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6968
7132
|
if (data.matchCount !== undefined && data.matchCount !== null) {
|
|
6969
|
-
contents.matchCount =
|
|
7133
|
+
contents.matchCount = __expectInt32(data.matchCount);
|
|
6970
7134
|
}
|
|
6971
7135
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
6972
7136
|
}
|
|
@@ -7207,9 +7371,9 @@ var deserializeAws_restJson1UpdateClassificationJobCommandError = function (outp
|
|
|
7207
7371
|
});
|
|
7208
7372
|
}); };
|
|
7209
7373
|
export var deserializeAws_restJson1UpdateFindingsFilterCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7210
|
-
var contents, data;
|
|
7211
|
-
return __generator(this, function (
|
|
7212
|
-
switch (
|
|
7374
|
+
var contents, data, _a, _b;
|
|
7375
|
+
return __generator(this, function (_c) {
|
|
7376
|
+
switch (_c.label) {
|
|
7213
7377
|
case 0:
|
|
7214
7378
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7215
7379
|
return [2 /*return*/, deserializeAws_restJson1UpdateFindingsFilterCommandError(output, context)];
|
|
@@ -7219,9 +7383,11 @@ export var deserializeAws_restJson1UpdateFindingsFilterCommand = function (outpu
|
|
|
7219
7383
|
arn: undefined,
|
|
7220
7384
|
id: undefined,
|
|
7221
7385
|
};
|
|
7386
|
+
_a = __expectNonNull;
|
|
7387
|
+
_b = __expectObject;
|
|
7222
7388
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7223
7389
|
case 1:
|
|
7224
|
-
data = _a.sent();
|
|
7390
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7225
7391
|
if (data.arn !== undefined && data.arn !== null) {
|
|
7226
7392
|
contents.arn = __expectString(data.arn);
|
|
7227
7393
|
}
|
|
@@ -8211,6 +8377,16 @@ var deserializeAws_restJson1__listOfKeyValuePair = function (output, context) {
|
|
|
8211
8377
|
return deserializeAws_restJson1KeyValuePair(entry, context);
|
|
8212
8378
|
});
|
|
8213
8379
|
};
|
|
8380
|
+
var deserializeAws_restJson1__listOfManagedDataIdentifierSummary = function (output, context) {
|
|
8381
|
+
return (output || [])
|
|
8382
|
+
.filter(function (e) { return e != null; })
|
|
8383
|
+
.map(function (entry) {
|
|
8384
|
+
if (entry === null) {
|
|
8385
|
+
return null;
|
|
8386
|
+
}
|
|
8387
|
+
return deserializeAws_restJson1ManagedDataIdentifierSummary(entry, context);
|
|
8388
|
+
});
|
|
8389
|
+
};
|
|
8214
8390
|
var deserializeAws_restJson1__listOfMatchingResource = function (output, context) {
|
|
8215
8391
|
return (output || [])
|
|
8216
8392
|
.filter(function (e) { return e != null; })
|
|
@@ -8324,8 +8500,12 @@ var deserializeAws_restJson1ApiCallDetails = function (output, context) {
|
|
|
8324
8500
|
return {
|
|
8325
8501
|
api: __expectString(output.api),
|
|
8326
8502
|
apiServiceName: __expectString(output.apiServiceName),
|
|
8327
|
-
firstSeen: output.firstSeen !== undefined && output.firstSeen !== null
|
|
8328
|
-
|
|
8503
|
+
firstSeen: output.firstSeen !== undefined && output.firstSeen !== null
|
|
8504
|
+
? __expectNonNull(__parseRfc3339DateTime(output.firstSeen))
|
|
8505
|
+
: undefined,
|
|
8506
|
+
lastSeen: output.lastSeen !== undefined && output.lastSeen !== null
|
|
8507
|
+
? __expectNonNull(__parseRfc3339DateTime(output.lastSeen))
|
|
8508
|
+
: undefined,
|
|
8329
8509
|
};
|
|
8330
8510
|
};
|
|
8331
8511
|
var deserializeAws_restJson1AssumedRole = function (output, context) {
|
|
@@ -8353,7 +8533,9 @@ var deserializeAws_restJson1AwsService = function (output, context) {
|
|
|
8353
8533
|
var deserializeAws_restJson1BatchGetCustomDataIdentifierSummary = function (output, context) {
|
|
8354
8534
|
return {
|
|
8355
8535
|
arn: __expectString(output.arn),
|
|
8356
|
-
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8536
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8537
|
+
? __expectNonNull(__parseRfc3339DateTime(output.createdAt))
|
|
8538
|
+
: undefined,
|
|
8357
8539
|
deleted: __expectBoolean(output.deleted),
|
|
8358
8540
|
description: __expectString(output.description),
|
|
8359
8541
|
id: __expectString(output.id),
|
|
@@ -8370,33 +8552,33 @@ var deserializeAws_restJson1BlockPublicAccess = function (output, context) {
|
|
|
8370
8552
|
};
|
|
8371
8553
|
var deserializeAws_restJson1BucketCountByEffectivePermission = function (output, context) {
|
|
8372
8554
|
return {
|
|
8373
|
-
publiclyAccessible:
|
|
8374
|
-
publiclyReadable:
|
|
8375
|
-
publiclyWritable:
|
|
8376
|
-
unknown:
|
|
8555
|
+
publiclyAccessible: __expectLong(output.publiclyAccessible),
|
|
8556
|
+
publiclyReadable: __expectLong(output.publiclyReadable),
|
|
8557
|
+
publiclyWritable: __expectLong(output.publiclyWritable),
|
|
8558
|
+
unknown: __expectLong(output.unknown),
|
|
8377
8559
|
};
|
|
8378
8560
|
};
|
|
8379
8561
|
var deserializeAws_restJson1BucketCountByEncryptionType = function (output, context) {
|
|
8380
8562
|
return {
|
|
8381
|
-
kmsManaged:
|
|
8382
|
-
s3Managed:
|
|
8383
|
-
unencrypted:
|
|
8384
|
-
unknown:
|
|
8563
|
+
kmsManaged: __expectLong(output.kmsManaged),
|
|
8564
|
+
s3Managed: __expectLong(output.s3Managed),
|
|
8565
|
+
unencrypted: __expectLong(output.unencrypted),
|
|
8566
|
+
unknown: __expectLong(output.unknown),
|
|
8385
8567
|
};
|
|
8386
8568
|
};
|
|
8387
8569
|
var deserializeAws_restJson1BucketCountBySharedAccessType = function (output, context) {
|
|
8388
8570
|
return {
|
|
8389
|
-
external:
|
|
8390
|
-
internal:
|
|
8391
|
-
notShared:
|
|
8392
|
-
unknown:
|
|
8571
|
+
external: __expectLong(output.external),
|
|
8572
|
+
internal: __expectLong(output.internal),
|
|
8573
|
+
notShared: __expectLong(output.notShared),
|
|
8574
|
+
unknown: __expectLong(output.unknown),
|
|
8393
8575
|
};
|
|
8394
8576
|
};
|
|
8395
8577
|
var deserializeAws_restJson1BucketCountPolicyAllowsUnencryptedObjectUploads = function (output, context) {
|
|
8396
8578
|
return {
|
|
8397
|
-
allowsUnencryptedObjectUploads:
|
|
8398
|
-
deniesUnencryptedObjectUploads:
|
|
8399
|
-
unknown:
|
|
8579
|
+
allowsUnencryptedObjectUploads: __expectLong(output.allowsUnencryptedObjectUploads),
|
|
8580
|
+
deniesUnencryptedObjectUploads: __expectLong(output.deniesUnencryptedObjectUploads),
|
|
8581
|
+
unknown: __expectLong(output.unknown),
|
|
8400
8582
|
};
|
|
8401
8583
|
};
|
|
8402
8584
|
var deserializeAws_restJson1BucketLevelPermissions = function (output, context) {
|
|
@@ -8418,16 +8600,18 @@ var deserializeAws_restJson1BucketMetadata = function (output, context) {
|
|
|
8418
8600
|
allowsUnencryptedObjectUploads: __expectString(output.allowsUnencryptedObjectUploads),
|
|
8419
8601
|
bucketArn: __expectString(output.bucketArn),
|
|
8420
8602
|
bucketCreatedAt: output.bucketCreatedAt !== undefined && output.bucketCreatedAt !== null
|
|
8421
|
-
?
|
|
8603
|
+
? __expectNonNull(__parseRfc3339DateTime(output.bucketCreatedAt))
|
|
8422
8604
|
: undefined,
|
|
8423
8605
|
bucketName: __expectString(output.bucketName),
|
|
8424
|
-
classifiableObjectCount:
|
|
8425
|
-
classifiableSizeInBytes:
|
|
8606
|
+
classifiableObjectCount: __expectLong(output.classifiableObjectCount),
|
|
8607
|
+
classifiableSizeInBytes: __expectLong(output.classifiableSizeInBytes),
|
|
8426
8608
|
jobDetails: output.jobDetails !== undefined && output.jobDetails !== null
|
|
8427
8609
|
? deserializeAws_restJson1JobDetails(output.jobDetails, context)
|
|
8428
8610
|
: undefined,
|
|
8429
|
-
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
8430
|
-
|
|
8611
|
+
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
8612
|
+
? __expectNonNull(__parseRfc3339DateTime(output.lastUpdated))
|
|
8613
|
+
: undefined,
|
|
8614
|
+
objectCount: __expectLong(output.objectCount),
|
|
8431
8615
|
objectCountByEncryptionType: output.objectCountByEncryptionType !== undefined && output.objectCountByEncryptionType !== null
|
|
8432
8616
|
? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
|
|
8433
8617
|
: undefined,
|
|
@@ -8442,8 +8626,8 @@ var deserializeAws_restJson1BucketMetadata = function (output, context) {
|
|
|
8442
8626
|
? deserializeAws_restJson1BucketServerSideEncryption(output.serverSideEncryption, context)
|
|
8443
8627
|
: undefined,
|
|
8444
8628
|
sharedAccess: __expectString(output.sharedAccess),
|
|
8445
|
-
sizeInBytes:
|
|
8446
|
-
sizeInBytesCompressed:
|
|
8629
|
+
sizeInBytes: __expectLong(output.sizeInBytes),
|
|
8630
|
+
sizeInBytesCompressed: __expectLong(output.sizeInBytesCompressed),
|
|
8447
8631
|
tags: output.tags !== undefined && output.tags !== null
|
|
8448
8632
|
? deserializeAws_restJson1__listOfKeyValuePair(output.tags, context)
|
|
8449
8633
|
: undefined,
|
|
@@ -8489,9 +8673,9 @@ var deserializeAws_restJson1BucketServerSideEncryption = function (output, conte
|
|
|
8489
8673
|
var deserializeAws_restJson1Cell = function (output, context) {
|
|
8490
8674
|
return {
|
|
8491
8675
|
cellReference: __expectString(output.cellReference),
|
|
8492
|
-
column:
|
|
8676
|
+
column: __expectLong(output.column),
|
|
8493
8677
|
columnName: __expectString(output.columnName),
|
|
8494
|
-
row:
|
|
8678
|
+
row: __expectLong(output.row),
|
|
8495
8679
|
};
|
|
8496
8680
|
};
|
|
8497
8681
|
var deserializeAws_restJson1Cells = function (output, context) {
|
|
@@ -8531,7 +8715,7 @@ var deserializeAws_restJson1ClassificationResult = function (output, context) {
|
|
|
8531
8715
|
sensitiveData: output.sensitiveData !== undefined && output.sensitiveData !== null
|
|
8532
8716
|
? deserializeAws_restJson1SensitiveData(output.sensitiveData, context)
|
|
8533
8717
|
: undefined,
|
|
8534
|
-
sizeClassified:
|
|
8718
|
+
sizeClassified: __expectLong(output.sizeClassified),
|
|
8535
8719
|
status: output.status !== undefined && output.status !== null
|
|
8536
8720
|
? deserializeAws_restJson1ClassificationResultStatus(output.status, context)
|
|
8537
8721
|
: undefined,
|
|
@@ -8578,10 +8762,10 @@ var deserializeAws_restJson1CriterionAdditionalProperties = function (output, co
|
|
|
8578
8762
|
eqExactMatch: output.eqExactMatch !== undefined && output.eqExactMatch !== null
|
|
8579
8763
|
? deserializeAws_restJson1__listOf__string(output.eqExactMatch, context)
|
|
8580
8764
|
: undefined,
|
|
8581
|
-
gt:
|
|
8582
|
-
gte:
|
|
8583
|
-
lt:
|
|
8584
|
-
lte:
|
|
8765
|
+
gt: __expectLong(output.gt),
|
|
8766
|
+
gte: __expectLong(output.gte),
|
|
8767
|
+
lt: __expectLong(output.lt),
|
|
8768
|
+
lte: __expectLong(output.lte),
|
|
8585
8769
|
neq: output.neq !== undefined && output.neq !== null
|
|
8586
8770
|
? deserializeAws_restJson1__listOf__string(output.neq, context)
|
|
8587
8771
|
: undefined,
|
|
@@ -8592,13 +8776,15 @@ var deserializeAws_restJson1CustomDataIdentifiers = function (output, context) {
|
|
|
8592
8776
|
detections: output.detections !== undefined && output.detections !== null
|
|
8593
8777
|
? deserializeAws_restJson1CustomDetections(output.detections, context)
|
|
8594
8778
|
: undefined,
|
|
8595
|
-
totalCount:
|
|
8779
|
+
totalCount: __expectLong(output.totalCount),
|
|
8596
8780
|
};
|
|
8597
8781
|
};
|
|
8598
8782
|
var deserializeAws_restJson1CustomDataIdentifierSummary = function (output, context) {
|
|
8599
8783
|
return {
|
|
8600
8784
|
arn: __expectString(output.arn),
|
|
8601
|
-
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8785
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8786
|
+
? __expectNonNull(__parseRfc3339DateTime(output.createdAt))
|
|
8787
|
+
: undefined,
|
|
8602
8788
|
description: __expectString(output.description),
|
|
8603
8789
|
id: __expectString(output.id),
|
|
8604
8790
|
name: __expectString(output.name),
|
|
@@ -8607,7 +8793,7 @@ var deserializeAws_restJson1CustomDataIdentifierSummary = function (output, cont
|
|
|
8607
8793
|
var deserializeAws_restJson1CustomDetection = function (output, context) {
|
|
8608
8794
|
return {
|
|
8609
8795
|
arn: __expectString(output.arn),
|
|
8610
|
-
count:
|
|
8796
|
+
count: __expectLong(output.count),
|
|
8611
8797
|
name: __expectString(output.name),
|
|
8612
8798
|
occurrences: output.occurrences !== undefined && output.occurrences !== null
|
|
8613
8799
|
? deserializeAws_restJson1Occurrences(output.occurrences, context)
|
|
@@ -8629,7 +8815,7 @@ var deserializeAws_restJson1DailySchedule = function (output, context) {
|
|
|
8629
8815
|
};
|
|
8630
8816
|
var deserializeAws_restJson1DefaultDetection = function (output, context) {
|
|
8631
8817
|
return {
|
|
8632
|
-
count:
|
|
8818
|
+
count: __expectLong(output.count),
|
|
8633
8819
|
occurrences: output.occurrences !== undefined && output.occurrences !== null
|
|
8634
8820
|
? deserializeAws_restJson1Occurrences(output.occurrences, context)
|
|
8635
8821
|
: undefined,
|
|
@@ -8670,8 +8856,10 @@ var deserializeAws_restJson1Finding = function (output, context) {
|
|
|
8670
8856
|
classificationDetails: output.classificationDetails !== undefined && output.classificationDetails !== null
|
|
8671
8857
|
? deserializeAws_restJson1ClassificationDetails(output.classificationDetails, context)
|
|
8672
8858
|
: undefined,
|
|
8673
|
-
count:
|
|
8674
|
-
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8859
|
+
count: __expectLong(output.count),
|
|
8860
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
8861
|
+
? __expectNonNull(__parseRfc3339DateTime(output.createdAt))
|
|
8862
|
+
: undefined,
|
|
8675
8863
|
description: __expectString(output.description),
|
|
8676
8864
|
id: __expectString(output.id),
|
|
8677
8865
|
partition: __expectString(output.partition),
|
|
@@ -8689,7 +8877,9 @@ var deserializeAws_restJson1Finding = function (output, context) {
|
|
|
8689
8877
|
: undefined,
|
|
8690
8878
|
title: __expectString(output.title),
|
|
8691
8879
|
type: __expectString(output.type),
|
|
8692
|
-
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
8880
|
+
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
8881
|
+
? __expectNonNull(__parseRfc3339DateTime(output.updatedAt))
|
|
8882
|
+
: undefined,
|
|
8693
8883
|
};
|
|
8694
8884
|
};
|
|
8695
8885
|
var deserializeAws_restJson1FindingAction = function (output, context) {
|
|
@@ -8733,7 +8923,7 @@ var deserializeAws_restJson1FindingsFilterListItem = function (output, context)
|
|
|
8733
8923
|
};
|
|
8734
8924
|
var deserializeAws_restJson1GroupCount = function (output, context) {
|
|
8735
8925
|
return {
|
|
8736
|
-
count:
|
|
8926
|
+
count: __expectLong(output.count),
|
|
8737
8927
|
groupKey: __expectString(output.groupKey),
|
|
8738
8928
|
};
|
|
8739
8929
|
};
|
|
@@ -8749,7 +8939,9 @@ var deserializeAws_restJson1Invitation = function (output, context) {
|
|
|
8749
8939
|
return {
|
|
8750
8940
|
accountId: __expectString(output.accountId),
|
|
8751
8941
|
invitationId: __expectString(output.invitationId),
|
|
8752
|
-
invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
|
|
8942
|
+
invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
|
|
8943
|
+
? __expectNonNull(__parseRfc3339DateTime(output.invitedAt))
|
|
8944
|
+
: undefined,
|
|
8753
8945
|
relationshipStatus: __expectString(output.relationshipStatus),
|
|
8754
8946
|
};
|
|
8755
8947
|
};
|
|
@@ -8783,8 +8975,8 @@ var deserializeAws_restJson1IpCountry = function (output, context) {
|
|
|
8783
8975
|
};
|
|
8784
8976
|
var deserializeAws_restJson1IpGeoLocation = function (output, context) {
|
|
8785
8977
|
return {
|
|
8786
|
-
lat:
|
|
8787
|
-
lon:
|
|
8978
|
+
lat: __limitedParseDouble(output.lat),
|
|
8979
|
+
lon: __limitedParseDouble(output.lon),
|
|
8788
8980
|
};
|
|
8789
8981
|
};
|
|
8790
8982
|
var deserializeAws_restJson1IpOwner = function (output, context) {
|
|
@@ -8801,7 +8993,7 @@ var deserializeAws_restJson1JobDetails = function (output, context) {
|
|
|
8801
8993
|
isMonitoredByJob: __expectString(output.isMonitoredByJob),
|
|
8802
8994
|
lastJobId: __expectString(output.lastJobId),
|
|
8803
8995
|
lastJobRunTime: output.lastJobRunTime !== undefined && output.lastJobRunTime !== null
|
|
8804
|
-
?
|
|
8996
|
+
? __expectNonNull(__parseRfc3339DateTime(output.lastJobRunTime))
|
|
8805
8997
|
: undefined,
|
|
8806
8998
|
};
|
|
8807
8999
|
};
|
|
@@ -8843,7 +9035,9 @@ var deserializeAws_restJson1JobSummary = function (output, context) {
|
|
|
8843
9035
|
bucketDefinitions: output.bucketDefinitions !== undefined && output.bucketDefinitions !== null
|
|
8844
9036
|
? deserializeAws_restJson1__listOfS3BucketDefinitionForJob(output.bucketDefinitions, context)
|
|
8845
9037
|
: undefined,
|
|
8846
|
-
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
9038
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
9039
|
+
? __expectNonNull(__parseRfc3339DateTime(output.createdAt))
|
|
9040
|
+
: undefined,
|
|
8847
9041
|
jobId: __expectString(output.jobId),
|
|
8848
9042
|
jobStatus: __expectString(output.jobStatus),
|
|
8849
9043
|
jobType: __expectString(output.jobType),
|
|
@@ -8877,21 +9071,27 @@ var deserializeAws_restJson1LastRunErrorStatus = function (output, context) {
|
|
|
8877
9071
|
code: __expectString(output.code),
|
|
8878
9072
|
};
|
|
8879
9073
|
};
|
|
9074
|
+
var deserializeAws_restJson1ManagedDataIdentifierSummary = function (output, context) {
|
|
9075
|
+
return {
|
|
9076
|
+
category: __expectString(output.category),
|
|
9077
|
+
id: __expectString(output.id),
|
|
9078
|
+
};
|
|
9079
|
+
};
|
|
8880
9080
|
var deserializeAws_restJson1MatchingBucket = function (output, context) {
|
|
8881
9081
|
return {
|
|
8882
9082
|
accountId: __expectString(output.accountId),
|
|
8883
9083
|
bucketName: __expectString(output.bucketName),
|
|
8884
|
-
classifiableObjectCount:
|
|
8885
|
-
classifiableSizeInBytes:
|
|
9084
|
+
classifiableObjectCount: __expectLong(output.classifiableObjectCount),
|
|
9085
|
+
classifiableSizeInBytes: __expectLong(output.classifiableSizeInBytes),
|
|
8886
9086
|
jobDetails: output.jobDetails !== undefined && output.jobDetails !== null
|
|
8887
9087
|
? deserializeAws_restJson1JobDetails(output.jobDetails, context)
|
|
8888
9088
|
: undefined,
|
|
8889
|
-
objectCount:
|
|
9089
|
+
objectCount: __expectLong(output.objectCount),
|
|
8890
9090
|
objectCountByEncryptionType: output.objectCountByEncryptionType !== undefined && output.objectCountByEncryptionType !== null
|
|
8891
9091
|
? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
|
|
8892
9092
|
: undefined,
|
|
8893
|
-
sizeInBytes:
|
|
8894
|
-
sizeInBytesCompressed:
|
|
9093
|
+
sizeInBytes: __expectLong(output.sizeInBytes),
|
|
9094
|
+
sizeInBytesCompressed: __expectLong(output.sizeInBytesCompressed),
|
|
8895
9095
|
unclassifiableObjectCount: output.unclassifiableObjectCount !== undefined && output.unclassifiableObjectCount !== null
|
|
8896
9096
|
? deserializeAws_restJson1ObjectLevelStatistics(output.unclassifiableObjectCount, context)
|
|
8897
9097
|
: undefined,
|
|
@@ -8913,34 +9113,38 @@ var deserializeAws_restJson1Member = function (output, context) {
|
|
|
8913
9113
|
administratorAccountId: __expectString(output.administratorAccountId),
|
|
8914
9114
|
arn: __expectString(output.arn),
|
|
8915
9115
|
email: __expectString(output.email),
|
|
8916
|
-
invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
|
|
9116
|
+
invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
|
|
9117
|
+
? __expectNonNull(__parseRfc3339DateTime(output.invitedAt))
|
|
9118
|
+
: undefined,
|
|
8917
9119
|
masterAccountId: __expectString(output.masterAccountId),
|
|
8918
9120
|
relationshipStatus: __expectString(output.relationshipStatus),
|
|
8919
9121
|
tags: output.tags !== undefined && output.tags !== null
|
|
8920
9122
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
8921
9123
|
: undefined,
|
|
8922
|
-
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
9124
|
+
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
9125
|
+
? __expectNonNull(__parseRfc3339DateTime(output.updatedAt))
|
|
9126
|
+
: undefined,
|
|
8923
9127
|
};
|
|
8924
9128
|
};
|
|
8925
9129
|
var deserializeAws_restJson1MonthlySchedule = function (output, context) {
|
|
8926
9130
|
return {
|
|
8927
|
-
dayOfMonth:
|
|
9131
|
+
dayOfMonth: __expectInt32(output.dayOfMonth),
|
|
8928
9132
|
};
|
|
8929
9133
|
};
|
|
8930
9134
|
var deserializeAws_restJson1ObjectCountByEncryptionType = function (output, context) {
|
|
8931
9135
|
return {
|
|
8932
|
-
customerManaged:
|
|
8933
|
-
kmsManaged:
|
|
8934
|
-
s3Managed:
|
|
8935
|
-
unencrypted:
|
|
8936
|
-
unknown:
|
|
9136
|
+
customerManaged: __expectLong(output.customerManaged),
|
|
9137
|
+
kmsManaged: __expectLong(output.kmsManaged),
|
|
9138
|
+
s3Managed: __expectLong(output.s3Managed),
|
|
9139
|
+
unencrypted: __expectLong(output.unencrypted),
|
|
9140
|
+
unknown: __expectLong(output.unknown),
|
|
8937
9141
|
};
|
|
8938
9142
|
};
|
|
8939
9143
|
var deserializeAws_restJson1ObjectLevelStatistics = function (output, context) {
|
|
8940
9144
|
return {
|
|
8941
|
-
fileType:
|
|
8942
|
-
storageClass:
|
|
8943
|
-
total:
|
|
9145
|
+
fileType: __expectLong(output.fileType),
|
|
9146
|
+
storageClass: __expectLong(output.storageClass),
|
|
9147
|
+
total: __expectLong(output.total),
|
|
8944
9148
|
};
|
|
8945
9149
|
};
|
|
8946
9150
|
var deserializeAws_restJson1Occurrences = function (output, context) {
|
|
@@ -8970,7 +9174,7 @@ var deserializeAws_restJson1Page = function (output, context) {
|
|
|
8970
9174
|
offsetRange: output.offsetRange !== undefined && output.offsetRange !== null
|
|
8971
9175
|
? deserializeAws_restJson1Range(output.offsetRange, context)
|
|
8972
9176
|
: undefined,
|
|
8973
|
-
pageNumber:
|
|
9177
|
+
pageNumber: __expectLong(output.pageNumber),
|
|
8974
9178
|
};
|
|
8975
9179
|
};
|
|
8976
9180
|
var deserializeAws_restJson1Pages = function (output, context) {
|
|
@@ -8995,9 +9199,9 @@ var deserializeAws_restJson1PolicyDetails = function (output, context) {
|
|
|
8995
9199
|
};
|
|
8996
9200
|
var deserializeAws_restJson1Range = function (output, context) {
|
|
8997
9201
|
return {
|
|
8998
|
-
end:
|
|
8999
|
-
start:
|
|
9000
|
-
startColumn:
|
|
9202
|
+
end: __expectLong(output.end),
|
|
9203
|
+
start: __expectLong(output.start),
|
|
9204
|
+
startColumn: __expectLong(output.startColumn),
|
|
9001
9205
|
};
|
|
9002
9206
|
};
|
|
9003
9207
|
var deserializeAws_restJson1Ranges = function (output, context) {
|
|
@@ -9013,7 +9217,7 @@ var deserializeAws_restJson1Ranges = function (output, context) {
|
|
|
9013
9217
|
var deserializeAws_restJson1_Record = function (output, context) {
|
|
9014
9218
|
return {
|
|
9015
9219
|
jsonPath: __expectString(output.jsonPath),
|
|
9016
|
-
recordIndex:
|
|
9220
|
+
recordIndex: __expectLong(output.recordIndex),
|
|
9017
9221
|
};
|
|
9018
9222
|
};
|
|
9019
9223
|
var deserializeAws_restJson1Records = function (output, context) {
|
|
@@ -9049,7 +9253,9 @@ var deserializeAws_restJson1S3Bucket = function (output, context) {
|
|
|
9049
9253
|
return {
|
|
9050
9254
|
allowsUnencryptedObjectUploads: __expectString(output.allowsUnencryptedObjectUploads),
|
|
9051
9255
|
arn: __expectString(output.arn),
|
|
9052
|
-
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
9256
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
9257
|
+
? __expectNonNull(__parseRfc3339DateTime(output.createdAt))
|
|
9258
|
+
: undefined,
|
|
9053
9259
|
defaultServerSideEncryption: output.defaultServerSideEncryption !== undefined && output.defaultServerSideEncryption !== null
|
|
9054
9260
|
? deserializeAws_restJson1ServerSideEncryption(output.defaultServerSideEncryption, context)
|
|
9055
9261
|
: undefined,
|
|
@@ -9115,13 +9321,15 @@ var deserializeAws_restJson1S3Object = function (output, context) {
|
|
|
9115
9321
|
eTag: __expectString(output.eTag),
|
|
9116
9322
|
extension: __expectString(output.extension),
|
|
9117
9323
|
key: __expectString(output.key),
|
|
9118
|
-
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
9324
|
+
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
9325
|
+
? __expectNonNull(__parseRfc3339DateTime(output.lastModified))
|
|
9326
|
+
: undefined,
|
|
9119
9327
|
path: __expectString(output.path),
|
|
9120
9328
|
publicAccess: __expectBoolean(output.publicAccess),
|
|
9121
9329
|
serverSideEncryption: output.serverSideEncryption !== undefined && output.serverSideEncryption !== null
|
|
9122
9330
|
? deserializeAws_restJson1ServerSideEncryption(output.serverSideEncryption, context)
|
|
9123
9331
|
: undefined,
|
|
9124
|
-
size:
|
|
9332
|
+
size: __expectLong(output.size),
|
|
9125
9333
|
storageClass: __expectString(output.storageClass),
|
|
9126
9334
|
tags: output.tags !== undefined && output.tags !== null
|
|
9127
9335
|
? deserializeAws_restJson1KeyValuePairList(output.tags, context)
|
|
@@ -9161,7 +9369,7 @@ var deserializeAws_restJson1SensitiveDataItem = function (output, context) {
|
|
|
9161
9369
|
detections: output.detections !== undefined && output.detections !== null
|
|
9162
9370
|
? deserializeAws_restJson1DefaultDetections(output.detections, context)
|
|
9163
9371
|
: undefined,
|
|
9164
|
-
totalCount:
|
|
9372
|
+
totalCount: __expectLong(output.totalCount),
|
|
9165
9373
|
};
|
|
9166
9374
|
};
|
|
9167
9375
|
var deserializeAws_restJson1ServerSideEncryption = function (output, context) {
|
|
@@ -9174,7 +9382,7 @@ var deserializeAws_restJson1ServiceLimit = function (output, context) {
|
|
|
9174
9382
|
return {
|
|
9175
9383
|
isServiceLimited: __expectBoolean(output.isServiceLimited),
|
|
9176
9384
|
unit: __expectString(output.unit),
|
|
9177
|
-
value:
|
|
9385
|
+
value: __expectLong(output.value),
|
|
9178
9386
|
};
|
|
9179
9387
|
};
|
|
9180
9388
|
var deserializeAws_restJson1SessionContext = function (output, context) {
|
|
@@ -9189,7 +9397,9 @@ var deserializeAws_restJson1SessionContext = function (output, context) {
|
|
|
9189
9397
|
};
|
|
9190
9398
|
var deserializeAws_restJson1SessionContextAttributes = function (output, context) {
|
|
9191
9399
|
return {
|
|
9192
|
-
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
9400
|
+
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
9401
|
+
? __expectNonNull(__parseRfc3339DateTime(output.creationDate))
|
|
9402
|
+
: undefined,
|
|
9193
9403
|
mfaAuthenticated: __expectBoolean(output.mfaAuthenticated),
|
|
9194
9404
|
};
|
|
9195
9405
|
};
|
|
@@ -9205,7 +9415,7 @@ var deserializeAws_restJson1SessionIssuer = function (output, context) {
|
|
|
9205
9415
|
var deserializeAws_restJson1Severity = function (output, context) {
|
|
9206
9416
|
return {
|
|
9207
9417
|
description: __expectString(output.description),
|
|
9208
|
-
score:
|
|
9418
|
+
score: __expectLong(output.score),
|
|
9209
9419
|
};
|
|
9210
9420
|
};
|
|
9211
9421
|
var deserializeAws_restJson1SimpleCriterionForJob = function (output, context) {
|
|
@@ -9228,8 +9438,8 @@ var deserializeAws_restJson1SimpleScopeTerm = function (output, context) {
|
|
|
9228
9438
|
};
|
|
9229
9439
|
var deserializeAws_restJson1Statistics = function (output, context) {
|
|
9230
9440
|
return {
|
|
9231
|
-
approximateNumberOfObjectsToProcess:
|
|
9232
|
-
numberOfRuns:
|
|
9441
|
+
approximateNumberOfObjectsToProcess: __limitedParseDouble(output.approximateNumberOfObjectsToProcess),
|
|
9442
|
+
numberOfRuns: __limitedParseDouble(output.numberOfRuns),
|
|
9233
9443
|
};
|
|
9234
9444
|
};
|
|
9235
9445
|
var deserializeAws_restJson1TagCriterionForJob = function (output, context) {
|
|
@@ -9293,7 +9503,7 @@ var deserializeAws_restJson1UsageRecord = function (output, context) {
|
|
|
9293
9503
|
return {
|
|
9294
9504
|
accountId: __expectString(output.accountId),
|
|
9295
9505
|
freeTrialStartDate: output.freeTrialStartDate !== undefined && output.freeTrialStartDate !== null
|
|
9296
|
-
?
|
|
9506
|
+
? __expectNonNull(__parseRfc3339DateTime(output.freeTrialStartDate))
|
|
9297
9507
|
: undefined,
|
|
9298
9508
|
usage: output.usage !== undefined && output.usage !== null
|
|
9299
9509
|
? deserializeAws_restJson1__listOfUsageByAccount(output.usage, context)
|
|
@@ -9339,9 +9549,13 @@ var deserializeAws_restJson1UserIdentityRoot = function (output, context) {
|
|
|
9339
9549
|
};
|
|
9340
9550
|
var deserializeAws_restJson1UserPausedDetails = function (output, context) {
|
|
9341
9551
|
return {
|
|
9342
|
-
jobExpiresAt: output.jobExpiresAt !== undefined && output.jobExpiresAt !== null
|
|
9552
|
+
jobExpiresAt: output.jobExpiresAt !== undefined && output.jobExpiresAt !== null
|
|
9553
|
+
? __expectNonNull(__parseRfc3339DateTime(output.jobExpiresAt))
|
|
9554
|
+
: undefined,
|
|
9343
9555
|
jobImminentExpirationHealthEventArn: __expectString(output.jobImminentExpirationHealthEventArn),
|
|
9344
|
-
jobPausedAt: output.jobPausedAt !== undefined && output.jobPausedAt !== null
|
|
9556
|
+
jobPausedAt: output.jobPausedAt !== undefined && output.jobPausedAt !== null
|
|
9557
|
+
? __expectNonNull(__parseRfc3339DateTime(output.jobPausedAt))
|
|
9558
|
+
: undefined,
|
|
9345
9559
|
};
|
|
9346
9560
|
};
|
|
9347
9561
|
var deserializeAws_restJson1WeeklySchedule = function (output, context) {
|