@aws-sdk/client-amplify 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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +53 -49
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +229 -155
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +57 -49
|
@@ -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, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_restJson1CreateAppCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
6
6
|
return __generator(this, function (_c) {
|
|
@@ -1471,9 +1471,9 @@ export var serializeAws_restJson1UpdateWebhookCommand = function (input, context
|
|
|
1471
1471
|
});
|
|
1472
1472
|
}); };
|
|
1473
1473
|
export var deserializeAws_restJson1CreateAppCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1474
|
-
var contents, data;
|
|
1475
|
-
return __generator(this, function (
|
|
1476
|
-
switch (
|
|
1474
|
+
var contents, data, _a, _b;
|
|
1475
|
+
return __generator(this, function (_c) {
|
|
1476
|
+
switch (_c.label) {
|
|
1477
1477
|
case 0:
|
|
1478
1478
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1479
1479
|
return [2 /*return*/, deserializeAws_restJson1CreateAppCommandError(output, context)];
|
|
@@ -1482,9 +1482,11 @@ export var deserializeAws_restJson1CreateAppCommand = function (output, context)
|
|
|
1482
1482
|
$metadata: deserializeMetadata(output),
|
|
1483
1483
|
app: undefined,
|
|
1484
1484
|
};
|
|
1485
|
+
_a = __expectNonNull;
|
|
1486
|
+
_b = __expectObject;
|
|
1485
1487
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1486
1488
|
case 1:
|
|
1487
|
-
data = _a.sent();
|
|
1489
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1488
1490
|
if (data.app !== undefined && data.app !== null) {
|
|
1489
1491
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
1490
1492
|
}
|
|
@@ -1563,9 +1565,9 @@ var deserializeAws_restJson1CreateAppCommandError = function (output, context) {
|
|
|
1563
1565
|
});
|
|
1564
1566
|
}); };
|
|
1565
1567
|
export var deserializeAws_restJson1CreateBackendEnvironmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1566
|
-
var contents, data;
|
|
1567
|
-
return __generator(this, function (
|
|
1568
|
-
switch (
|
|
1568
|
+
var contents, data, _a, _b;
|
|
1569
|
+
return __generator(this, function (_c) {
|
|
1570
|
+
switch (_c.label) {
|
|
1569
1571
|
case 0:
|
|
1570
1572
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1571
1573
|
return [2 /*return*/, deserializeAws_restJson1CreateBackendEnvironmentCommandError(output, context)];
|
|
@@ -1574,9 +1576,11 @@ export var deserializeAws_restJson1CreateBackendEnvironmentCommand = function (o
|
|
|
1574
1576
|
$metadata: deserializeMetadata(output),
|
|
1575
1577
|
backendEnvironment: undefined,
|
|
1576
1578
|
};
|
|
1579
|
+
_a = __expectNonNull;
|
|
1580
|
+
_b = __expectObject;
|
|
1577
1581
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1578
1582
|
case 1:
|
|
1579
|
-
data = _a.sent();
|
|
1583
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1580
1584
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
1581
1585
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
1582
1586
|
}
|
|
@@ -1655,9 +1659,9 @@ var deserializeAws_restJson1CreateBackendEnvironmentCommandError = function (out
|
|
|
1655
1659
|
});
|
|
1656
1660
|
}); };
|
|
1657
1661
|
export var deserializeAws_restJson1CreateBranchCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1658
|
-
var contents, data;
|
|
1659
|
-
return __generator(this, function (
|
|
1660
|
-
switch (
|
|
1662
|
+
var contents, data, _a, _b;
|
|
1663
|
+
return __generator(this, function (_c) {
|
|
1664
|
+
switch (_c.label) {
|
|
1661
1665
|
case 0:
|
|
1662
1666
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1663
1667
|
return [2 /*return*/, deserializeAws_restJson1CreateBranchCommandError(output, context)];
|
|
@@ -1666,9 +1670,11 @@ export var deserializeAws_restJson1CreateBranchCommand = function (output, conte
|
|
|
1666
1670
|
$metadata: deserializeMetadata(output),
|
|
1667
1671
|
branch: undefined,
|
|
1668
1672
|
};
|
|
1673
|
+
_a = __expectNonNull;
|
|
1674
|
+
_b = __expectObject;
|
|
1669
1675
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1670
1676
|
case 1:
|
|
1671
|
-
data = _a.sent();
|
|
1677
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1672
1678
|
if (data.branch !== undefined && data.branch !== null) {
|
|
1673
1679
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
1674
1680
|
}
|
|
@@ -1755,9 +1761,9 @@ var deserializeAws_restJson1CreateBranchCommandError = function (output, context
|
|
|
1755
1761
|
});
|
|
1756
1762
|
}); };
|
|
1757
1763
|
export var deserializeAws_restJson1CreateDeploymentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1758
|
-
var contents, data;
|
|
1759
|
-
return __generator(this, function (
|
|
1760
|
-
switch (
|
|
1764
|
+
var contents, data, _a, _b;
|
|
1765
|
+
return __generator(this, function (_c) {
|
|
1766
|
+
switch (_c.label) {
|
|
1761
1767
|
case 0:
|
|
1762
1768
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1763
1769
|
return [2 /*return*/, deserializeAws_restJson1CreateDeploymentCommandError(output, context)];
|
|
@@ -1768,9 +1774,11 @@ export var deserializeAws_restJson1CreateDeploymentCommand = function (output, c
|
|
|
1768
1774
|
jobId: undefined,
|
|
1769
1775
|
zipUploadUrl: undefined,
|
|
1770
1776
|
};
|
|
1777
|
+
_a = __expectNonNull;
|
|
1778
|
+
_b = __expectObject;
|
|
1771
1779
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1772
1780
|
case 1:
|
|
1773
|
-
data = _a.sent();
|
|
1781
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1774
1782
|
if (data.fileUploadUrls !== undefined && data.fileUploadUrls !== null) {
|
|
1775
1783
|
contents.fileUploadUrls = deserializeAws_restJson1FileUploadUrls(data.fileUploadUrls, context);
|
|
1776
1784
|
}
|
|
@@ -1847,9 +1855,9 @@ var deserializeAws_restJson1CreateDeploymentCommandError = function (output, con
|
|
|
1847
1855
|
});
|
|
1848
1856
|
}); };
|
|
1849
1857
|
export var deserializeAws_restJson1CreateDomainAssociationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1850
|
-
var contents, data;
|
|
1851
|
-
return __generator(this, function (
|
|
1852
|
-
switch (
|
|
1858
|
+
var contents, data, _a, _b;
|
|
1859
|
+
return __generator(this, function (_c) {
|
|
1860
|
+
switch (_c.label) {
|
|
1853
1861
|
case 0:
|
|
1854
1862
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1855
1863
|
return [2 /*return*/, deserializeAws_restJson1CreateDomainAssociationCommandError(output, context)];
|
|
@@ -1858,9 +1866,11 @@ export var deserializeAws_restJson1CreateDomainAssociationCommand = function (ou
|
|
|
1858
1866
|
$metadata: deserializeMetadata(output),
|
|
1859
1867
|
domainAssociation: undefined,
|
|
1860
1868
|
};
|
|
1869
|
+
_a = __expectNonNull;
|
|
1870
|
+
_b = __expectObject;
|
|
1861
1871
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1862
1872
|
case 1:
|
|
1863
|
-
data = _a.sent();
|
|
1873
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1864
1874
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
1865
1875
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
1866
1876
|
}
|
|
@@ -1947,9 +1957,9 @@ var deserializeAws_restJson1CreateDomainAssociationCommandError = function (outp
|
|
|
1947
1957
|
});
|
|
1948
1958
|
}); };
|
|
1949
1959
|
export var deserializeAws_restJson1CreateWebhookCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1950
|
-
var contents, data;
|
|
1951
|
-
return __generator(this, function (
|
|
1952
|
-
switch (
|
|
1960
|
+
var contents, data, _a, _b;
|
|
1961
|
+
return __generator(this, function (_c) {
|
|
1962
|
+
switch (_c.label) {
|
|
1953
1963
|
case 0:
|
|
1954
1964
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1955
1965
|
return [2 /*return*/, deserializeAws_restJson1CreateWebhookCommandError(output, context)];
|
|
@@ -1958,9 +1968,11 @@ export var deserializeAws_restJson1CreateWebhookCommand = function (output, cont
|
|
|
1958
1968
|
$metadata: deserializeMetadata(output),
|
|
1959
1969
|
webhook: undefined,
|
|
1960
1970
|
};
|
|
1971
|
+
_a = __expectNonNull;
|
|
1972
|
+
_b = __expectObject;
|
|
1961
1973
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
1962
1974
|
case 1:
|
|
1963
|
-
data = _a.sent();
|
|
1975
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1964
1976
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
1965
1977
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
1966
1978
|
}
|
|
@@ -2047,9 +2059,9 @@ var deserializeAws_restJson1CreateWebhookCommandError = function (output, contex
|
|
|
2047
2059
|
});
|
|
2048
2060
|
}); };
|
|
2049
2061
|
export var deserializeAws_restJson1DeleteAppCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2050
|
-
var contents, data;
|
|
2051
|
-
return __generator(this, function (
|
|
2052
|
-
switch (
|
|
2062
|
+
var contents, data, _a, _b;
|
|
2063
|
+
return __generator(this, function (_c) {
|
|
2064
|
+
switch (_c.label) {
|
|
2053
2065
|
case 0:
|
|
2054
2066
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2055
2067
|
return [2 /*return*/, deserializeAws_restJson1DeleteAppCommandError(output, context)];
|
|
@@ -2058,9 +2070,11 @@ export var deserializeAws_restJson1DeleteAppCommand = function (output, context)
|
|
|
2058
2070
|
$metadata: deserializeMetadata(output),
|
|
2059
2071
|
app: undefined,
|
|
2060
2072
|
};
|
|
2073
|
+
_a = __expectNonNull;
|
|
2074
|
+
_b = __expectObject;
|
|
2061
2075
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2062
2076
|
case 1:
|
|
2063
|
-
data = _a.sent();
|
|
2077
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2064
2078
|
if (data.app !== undefined && data.app !== null) {
|
|
2065
2079
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
2066
2080
|
}
|
|
@@ -2139,9 +2153,9 @@ var deserializeAws_restJson1DeleteAppCommandError = function (output, context) {
|
|
|
2139
2153
|
});
|
|
2140
2154
|
}); };
|
|
2141
2155
|
export var deserializeAws_restJson1DeleteBackendEnvironmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2142
|
-
var contents, data;
|
|
2143
|
-
return __generator(this, function (
|
|
2144
|
-
switch (
|
|
2156
|
+
var contents, data, _a, _b;
|
|
2157
|
+
return __generator(this, function (_c) {
|
|
2158
|
+
switch (_c.label) {
|
|
2145
2159
|
case 0:
|
|
2146
2160
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2147
2161
|
return [2 /*return*/, deserializeAws_restJson1DeleteBackendEnvironmentCommandError(output, context)];
|
|
@@ -2150,9 +2164,11 @@ export var deserializeAws_restJson1DeleteBackendEnvironmentCommand = function (o
|
|
|
2150
2164
|
$metadata: deserializeMetadata(output),
|
|
2151
2165
|
backendEnvironment: undefined,
|
|
2152
2166
|
};
|
|
2167
|
+
_a = __expectNonNull;
|
|
2168
|
+
_b = __expectObject;
|
|
2153
2169
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2154
2170
|
case 1:
|
|
2155
|
-
data = _a.sent();
|
|
2171
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2156
2172
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
2157
2173
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
2158
2174
|
}
|
|
@@ -2231,9 +2247,9 @@ var deserializeAws_restJson1DeleteBackendEnvironmentCommandError = function (out
|
|
|
2231
2247
|
});
|
|
2232
2248
|
}); };
|
|
2233
2249
|
export var deserializeAws_restJson1DeleteBranchCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2234
|
-
var contents, data;
|
|
2235
|
-
return __generator(this, function (
|
|
2236
|
-
switch (
|
|
2250
|
+
var contents, data, _a, _b;
|
|
2251
|
+
return __generator(this, function (_c) {
|
|
2252
|
+
switch (_c.label) {
|
|
2237
2253
|
case 0:
|
|
2238
2254
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2239
2255
|
return [2 /*return*/, deserializeAws_restJson1DeleteBranchCommandError(output, context)];
|
|
@@ -2242,9 +2258,11 @@ export var deserializeAws_restJson1DeleteBranchCommand = function (output, conte
|
|
|
2242
2258
|
$metadata: deserializeMetadata(output),
|
|
2243
2259
|
branch: undefined,
|
|
2244
2260
|
};
|
|
2261
|
+
_a = __expectNonNull;
|
|
2262
|
+
_b = __expectObject;
|
|
2245
2263
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2246
2264
|
case 1:
|
|
2247
|
-
data = _a.sent();
|
|
2265
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2248
2266
|
if (data.branch !== undefined && data.branch !== null) {
|
|
2249
2267
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
2250
2268
|
}
|
|
@@ -2323,9 +2341,9 @@ var deserializeAws_restJson1DeleteBranchCommandError = function (output, context
|
|
|
2323
2341
|
});
|
|
2324
2342
|
}); };
|
|
2325
2343
|
export var deserializeAws_restJson1DeleteDomainAssociationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2326
|
-
var contents, data;
|
|
2327
|
-
return __generator(this, function (
|
|
2328
|
-
switch (
|
|
2344
|
+
var contents, data, _a, _b;
|
|
2345
|
+
return __generator(this, function (_c) {
|
|
2346
|
+
switch (_c.label) {
|
|
2329
2347
|
case 0:
|
|
2330
2348
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2331
2349
|
return [2 /*return*/, deserializeAws_restJson1DeleteDomainAssociationCommandError(output, context)];
|
|
@@ -2334,9 +2352,11 @@ export var deserializeAws_restJson1DeleteDomainAssociationCommand = function (ou
|
|
|
2334
2352
|
$metadata: deserializeMetadata(output),
|
|
2335
2353
|
domainAssociation: undefined,
|
|
2336
2354
|
};
|
|
2355
|
+
_a = __expectNonNull;
|
|
2356
|
+
_b = __expectObject;
|
|
2337
2357
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2338
2358
|
case 1:
|
|
2339
|
-
data = _a.sent();
|
|
2359
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2340
2360
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
2341
2361
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
2342
2362
|
}
|
|
@@ -2415,9 +2435,9 @@ var deserializeAws_restJson1DeleteDomainAssociationCommandError = function (outp
|
|
|
2415
2435
|
});
|
|
2416
2436
|
}); };
|
|
2417
2437
|
export var deserializeAws_restJson1DeleteJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2418
|
-
var contents, data;
|
|
2419
|
-
return __generator(this, function (
|
|
2420
|
-
switch (
|
|
2438
|
+
var contents, data, _a, _b;
|
|
2439
|
+
return __generator(this, function (_c) {
|
|
2440
|
+
switch (_c.label) {
|
|
2421
2441
|
case 0:
|
|
2422
2442
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2423
2443
|
return [2 /*return*/, deserializeAws_restJson1DeleteJobCommandError(output, context)];
|
|
@@ -2426,9 +2446,11 @@ export var deserializeAws_restJson1DeleteJobCommand = function (output, context)
|
|
|
2426
2446
|
$metadata: deserializeMetadata(output),
|
|
2427
2447
|
jobSummary: undefined,
|
|
2428
2448
|
};
|
|
2449
|
+
_a = __expectNonNull;
|
|
2450
|
+
_b = __expectObject;
|
|
2429
2451
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2430
2452
|
case 1:
|
|
2431
|
-
data = _a.sent();
|
|
2453
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2432
2454
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
2433
2455
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
2434
2456
|
}
|
|
@@ -2507,9 +2529,9 @@ var deserializeAws_restJson1DeleteJobCommandError = function (output, context) {
|
|
|
2507
2529
|
});
|
|
2508
2530
|
}); };
|
|
2509
2531
|
export var deserializeAws_restJson1DeleteWebhookCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2510
|
-
var contents, data;
|
|
2511
|
-
return __generator(this, function (
|
|
2512
|
-
switch (
|
|
2532
|
+
var contents, data, _a, _b;
|
|
2533
|
+
return __generator(this, function (_c) {
|
|
2534
|
+
switch (_c.label) {
|
|
2513
2535
|
case 0:
|
|
2514
2536
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2515
2537
|
return [2 /*return*/, deserializeAws_restJson1DeleteWebhookCommandError(output, context)];
|
|
@@ -2518,9 +2540,11 @@ export var deserializeAws_restJson1DeleteWebhookCommand = function (output, cont
|
|
|
2518
2540
|
$metadata: deserializeMetadata(output),
|
|
2519
2541
|
webhook: undefined,
|
|
2520
2542
|
};
|
|
2543
|
+
_a = __expectNonNull;
|
|
2544
|
+
_b = __expectObject;
|
|
2521
2545
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2522
2546
|
case 1:
|
|
2523
|
-
data = _a.sent();
|
|
2547
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2524
2548
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
2525
2549
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
2526
2550
|
}
|
|
@@ -2599,9 +2623,9 @@ var deserializeAws_restJson1DeleteWebhookCommandError = function (output, contex
|
|
|
2599
2623
|
});
|
|
2600
2624
|
}); };
|
|
2601
2625
|
export var deserializeAws_restJson1GenerateAccessLogsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2602
|
-
var contents, data;
|
|
2603
|
-
return __generator(this, function (
|
|
2604
|
-
switch (
|
|
2626
|
+
var contents, data, _a, _b;
|
|
2627
|
+
return __generator(this, function (_c) {
|
|
2628
|
+
switch (_c.label) {
|
|
2605
2629
|
case 0:
|
|
2606
2630
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2607
2631
|
return [2 /*return*/, deserializeAws_restJson1GenerateAccessLogsCommandError(output, context)];
|
|
@@ -2610,9 +2634,11 @@ export var deserializeAws_restJson1GenerateAccessLogsCommand = function (output,
|
|
|
2610
2634
|
$metadata: deserializeMetadata(output),
|
|
2611
2635
|
logUrl: undefined,
|
|
2612
2636
|
};
|
|
2637
|
+
_a = __expectNonNull;
|
|
2638
|
+
_b = __expectObject;
|
|
2613
2639
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2614
2640
|
case 1:
|
|
2615
|
-
data = _a.sent();
|
|
2641
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2616
2642
|
if (data.logUrl !== undefined && data.logUrl !== null) {
|
|
2617
2643
|
contents.logUrl = __expectString(data.logUrl);
|
|
2618
2644
|
}
|
|
@@ -2683,9 +2709,9 @@ var deserializeAws_restJson1GenerateAccessLogsCommandError = function (output, c
|
|
|
2683
2709
|
});
|
|
2684
2710
|
}); };
|
|
2685
2711
|
export var deserializeAws_restJson1GetAppCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2686
|
-
var contents, data;
|
|
2687
|
-
return __generator(this, function (
|
|
2688
|
-
switch (
|
|
2712
|
+
var contents, data, _a, _b;
|
|
2713
|
+
return __generator(this, function (_c) {
|
|
2714
|
+
switch (_c.label) {
|
|
2689
2715
|
case 0:
|
|
2690
2716
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2691
2717
|
return [2 /*return*/, deserializeAws_restJson1GetAppCommandError(output, context)];
|
|
@@ -2694,9 +2720,11 @@ export var deserializeAws_restJson1GetAppCommand = function (output, context) {
|
|
|
2694
2720
|
$metadata: deserializeMetadata(output),
|
|
2695
2721
|
app: undefined,
|
|
2696
2722
|
};
|
|
2723
|
+
_a = __expectNonNull;
|
|
2724
|
+
_b = __expectObject;
|
|
2697
2725
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2698
2726
|
case 1:
|
|
2699
|
-
data = _a.sent();
|
|
2727
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2700
2728
|
if (data.app !== undefined && data.app !== null) {
|
|
2701
2729
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
2702
2730
|
}
|
|
@@ -2767,9 +2795,9 @@ var deserializeAws_restJson1GetAppCommandError = function (output, context) { re
|
|
|
2767
2795
|
});
|
|
2768
2796
|
}); };
|
|
2769
2797
|
export var deserializeAws_restJson1GetArtifactUrlCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2770
|
-
var contents, data;
|
|
2771
|
-
return __generator(this, function (
|
|
2772
|
-
switch (
|
|
2798
|
+
var contents, data, _a, _b;
|
|
2799
|
+
return __generator(this, function (_c) {
|
|
2800
|
+
switch (_c.label) {
|
|
2773
2801
|
case 0:
|
|
2774
2802
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2775
2803
|
return [2 /*return*/, deserializeAws_restJson1GetArtifactUrlCommandError(output, context)];
|
|
@@ -2779,9 +2807,11 @@ export var deserializeAws_restJson1GetArtifactUrlCommand = function (output, con
|
|
|
2779
2807
|
artifactId: undefined,
|
|
2780
2808
|
artifactUrl: undefined,
|
|
2781
2809
|
};
|
|
2810
|
+
_a = __expectNonNull;
|
|
2811
|
+
_b = __expectObject;
|
|
2782
2812
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2783
2813
|
case 1:
|
|
2784
|
-
data = _a.sent();
|
|
2814
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2785
2815
|
if (data.artifactId !== undefined && data.artifactId !== null) {
|
|
2786
2816
|
contents.artifactId = __expectString(data.artifactId);
|
|
2787
2817
|
}
|
|
@@ -2863,9 +2893,9 @@ var deserializeAws_restJson1GetArtifactUrlCommandError = function (output, conte
|
|
|
2863
2893
|
});
|
|
2864
2894
|
}); };
|
|
2865
2895
|
export var deserializeAws_restJson1GetBackendEnvironmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2866
|
-
var contents, data;
|
|
2867
|
-
return __generator(this, function (
|
|
2868
|
-
switch (
|
|
2896
|
+
var contents, data, _a, _b;
|
|
2897
|
+
return __generator(this, function (_c) {
|
|
2898
|
+
switch (_c.label) {
|
|
2869
2899
|
case 0:
|
|
2870
2900
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2871
2901
|
return [2 /*return*/, deserializeAws_restJson1GetBackendEnvironmentCommandError(output, context)];
|
|
@@ -2874,9 +2904,11 @@ export var deserializeAws_restJson1GetBackendEnvironmentCommand = function (outp
|
|
|
2874
2904
|
$metadata: deserializeMetadata(output),
|
|
2875
2905
|
backendEnvironment: undefined,
|
|
2876
2906
|
};
|
|
2907
|
+
_a = __expectNonNull;
|
|
2908
|
+
_b = __expectObject;
|
|
2877
2909
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2878
2910
|
case 1:
|
|
2879
|
-
data = _a.sent();
|
|
2911
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2880
2912
|
if (data.backendEnvironment !== undefined && data.backendEnvironment !== null) {
|
|
2881
2913
|
contents.backendEnvironment = deserializeAws_restJson1BackendEnvironment(data.backendEnvironment, context);
|
|
2882
2914
|
}
|
|
@@ -2947,9 +2979,9 @@ var deserializeAws_restJson1GetBackendEnvironmentCommandError = function (output
|
|
|
2947
2979
|
});
|
|
2948
2980
|
}); };
|
|
2949
2981
|
export var deserializeAws_restJson1GetBranchCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2950
|
-
var contents, data;
|
|
2951
|
-
return __generator(this, function (
|
|
2952
|
-
switch (
|
|
2982
|
+
var contents, data, _a, _b;
|
|
2983
|
+
return __generator(this, function (_c) {
|
|
2984
|
+
switch (_c.label) {
|
|
2953
2985
|
case 0:
|
|
2954
2986
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2955
2987
|
return [2 /*return*/, deserializeAws_restJson1GetBranchCommandError(output, context)];
|
|
@@ -2958,9 +2990,11 @@ export var deserializeAws_restJson1GetBranchCommand = function (output, context)
|
|
|
2958
2990
|
$metadata: deserializeMetadata(output),
|
|
2959
2991
|
branch: undefined,
|
|
2960
2992
|
};
|
|
2993
|
+
_a = __expectNonNull;
|
|
2994
|
+
_b = __expectObject;
|
|
2961
2995
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
2962
2996
|
case 1:
|
|
2963
|
-
data = _a.sent();
|
|
2997
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2964
2998
|
if (data.branch !== undefined && data.branch !== null) {
|
|
2965
2999
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
2966
3000
|
}
|
|
@@ -3031,9 +3065,9 @@ var deserializeAws_restJson1GetBranchCommandError = function (output, context) {
|
|
|
3031
3065
|
});
|
|
3032
3066
|
}); };
|
|
3033
3067
|
export var deserializeAws_restJson1GetDomainAssociationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3034
|
-
var contents, data;
|
|
3035
|
-
return __generator(this, function (
|
|
3036
|
-
switch (
|
|
3068
|
+
var contents, data, _a, _b;
|
|
3069
|
+
return __generator(this, function (_c) {
|
|
3070
|
+
switch (_c.label) {
|
|
3037
3071
|
case 0:
|
|
3038
3072
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3039
3073
|
return [2 /*return*/, deserializeAws_restJson1GetDomainAssociationCommandError(output, context)];
|
|
@@ -3042,9 +3076,11 @@ export var deserializeAws_restJson1GetDomainAssociationCommand = function (outpu
|
|
|
3042
3076
|
$metadata: deserializeMetadata(output),
|
|
3043
3077
|
domainAssociation: undefined,
|
|
3044
3078
|
};
|
|
3079
|
+
_a = __expectNonNull;
|
|
3080
|
+
_b = __expectObject;
|
|
3045
3081
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3046
3082
|
case 1:
|
|
3047
|
-
data = _a.sent();
|
|
3083
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3048
3084
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
3049
3085
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
3050
3086
|
}
|
|
@@ -3115,9 +3151,9 @@ var deserializeAws_restJson1GetDomainAssociationCommandError = function (output,
|
|
|
3115
3151
|
});
|
|
3116
3152
|
}); };
|
|
3117
3153
|
export var deserializeAws_restJson1GetJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3118
|
-
var contents, data;
|
|
3119
|
-
return __generator(this, function (
|
|
3120
|
-
switch (
|
|
3154
|
+
var contents, data, _a, _b;
|
|
3155
|
+
return __generator(this, function (_c) {
|
|
3156
|
+
switch (_c.label) {
|
|
3121
3157
|
case 0:
|
|
3122
3158
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3123
3159
|
return [2 /*return*/, deserializeAws_restJson1GetJobCommandError(output, context)];
|
|
@@ -3126,9 +3162,11 @@ export var deserializeAws_restJson1GetJobCommand = function (output, context) {
|
|
|
3126
3162
|
$metadata: deserializeMetadata(output),
|
|
3127
3163
|
job: undefined,
|
|
3128
3164
|
};
|
|
3165
|
+
_a = __expectNonNull;
|
|
3166
|
+
_b = __expectObject;
|
|
3129
3167
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3130
3168
|
case 1:
|
|
3131
|
-
data = _a.sent();
|
|
3169
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3132
3170
|
if (data.job !== undefined && data.job !== null) {
|
|
3133
3171
|
contents.job = deserializeAws_restJson1Job(data.job, context);
|
|
3134
3172
|
}
|
|
@@ -3207,9 +3245,9 @@ var deserializeAws_restJson1GetJobCommandError = function (output, context) { re
|
|
|
3207
3245
|
});
|
|
3208
3246
|
}); };
|
|
3209
3247
|
export var deserializeAws_restJson1GetWebhookCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3210
|
-
var contents, data;
|
|
3211
|
-
return __generator(this, function (
|
|
3212
|
-
switch (
|
|
3248
|
+
var contents, data, _a, _b;
|
|
3249
|
+
return __generator(this, function (_c) {
|
|
3250
|
+
switch (_c.label) {
|
|
3213
3251
|
case 0:
|
|
3214
3252
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3215
3253
|
return [2 /*return*/, deserializeAws_restJson1GetWebhookCommandError(output, context)];
|
|
@@ -3218,9 +3256,11 @@ export var deserializeAws_restJson1GetWebhookCommand = function (output, context
|
|
|
3218
3256
|
$metadata: deserializeMetadata(output),
|
|
3219
3257
|
webhook: undefined,
|
|
3220
3258
|
};
|
|
3259
|
+
_a = __expectNonNull;
|
|
3260
|
+
_b = __expectObject;
|
|
3221
3261
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3222
3262
|
case 1:
|
|
3223
|
-
data = _a.sent();
|
|
3263
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3224
3264
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
3225
3265
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
3226
3266
|
}
|
|
@@ -3299,9 +3339,9 @@ var deserializeAws_restJson1GetWebhookCommandError = function (output, context)
|
|
|
3299
3339
|
});
|
|
3300
3340
|
}); };
|
|
3301
3341
|
export var deserializeAws_restJson1ListAppsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3302
|
-
var contents, data;
|
|
3303
|
-
return __generator(this, function (
|
|
3304
|
-
switch (
|
|
3342
|
+
var contents, data, _a, _b;
|
|
3343
|
+
return __generator(this, function (_c) {
|
|
3344
|
+
switch (_c.label) {
|
|
3305
3345
|
case 0:
|
|
3306
3346
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3307
3347
|
return [2 /*return*/, deserializeAws_restJson1ListAppsCommandError(output, context)];
|
|
@@ -3311,9 +3351,11 @@ export var deserializeAws_restJson1ListAppsCommand = function (output, context)
|
|
|
3311
3351
|
apps: undefined,
|
|
3312
3352
|
nextToken: undefined,
|
|
3313
3353
|
};
|
|
3354
|
+
_a = __expectNonNull;
|
|
3355
|
+
_b = __expectObject;
|
|
3314
3356
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3315
3357
|
case 1:
|
|
3316
|
-
data = _a.sent();
|
|
3358
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3317
3359
|
if (data.apps !== undefined && data.apps !== null) {
|
|
3318
3360
|
contents.apps = deserializeAws_restJson1Apps(data.apps, context);
|
|
3319
3361
|
}
|
|
@@ -3379,9 +3421,9 @@ var deserializeAws_restJson1ListAppsCommandError = function (output, context) {
|
|
|
3379
3421
|
});
|
|
3380
3422
|
}); };
|
|
3381
3423
|
export var deserializeAws_restJson1ListArtifactsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3382
|
-
var contents, data;
|
|
3383
|
-
return __generator(this, function (
|
|
3384
|
-
switch (
|
|
3424
|
+
var contents, data, _a, _b;
|
|
3425
|
+
return __generator(this, function (_c) {
|
|
3426
|
+
switch (_c.label) {
|
|
3385
3427
|
case 0:
|
|
3386
3428
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3387
3429
|
return [2 /*return*/, deserializeAws_restJson1ListArtifactsCommandError(output, context)];
|
|
@@ -3391,9 +3433,11 @@ export var deserializeAws_restJson1ListArtifactsCommand = function (output, cont
|
|
|
3391
3433
|
artifacts: undefined,
|
|
3392
3434
|
nextToken: undefined,
|
|
3393
3435
|
};
|
|
3436
|
+
_a = __expectNonNull;
|
|
3437
|
+
_b = __expectObject;
|
|
3394
3438
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3395
3439
|
case 1:
|
|
3396
|
-
data = _a.sent();
|
|
3440
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3397
3441
|
if (data.artifacts !== undefined && data.artifacts !== null) {
|
|
3398
3442
|
contents.artifacts = deserializeAws_restJson1Artifacts(data.artifacts, context);
|
|
3399
3443
|
}
|
|
@@ -3467,9 +3511,9 @@ var deserializeAws_restJson1ListArtifactsCommandError = function (output, contex
|
|
|
3467
3511
|
});
|
|
3468
3512
|
}); };
|
|
3469
3513
|
export var deserializeAws_restJson1ListBackendEnvironmentsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3470
|
-
var contents, data;
|
|
3471
|
-
return __generator(this, function (
|
|
3472
|
-
switch (
|
|
3514
|
+
var contents, data, _a, _b;
|
|
3515
|
+
return __generator(this, function (_c) {
|
|
3516
|
+
switch (_c.label) {
|
|
3473
3517
|
case 0:
|
|
3474
3518
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3475
3519
|
return [2 /*return*/, deserializeAws_restJson1ListBackendEnvironmentsCommandError(output, context)];
|
|
@@ -3479,9 +3523,11 @@ export var deserializeAws_restJson1ListBackendEnvironmentsCommand = function (ou
|
|
|
3479
3523
|
backendEnvironments: undefined,
|
|
3480
3524
|
nextToken: undefined,
|
|
3481
3525
|
};
|
|
3526
|
+
_a = __expectNonNull;
|
|
3527
|
+
_b = __expectObject;
|
|
3482
3528
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3483
3529
|
case 1:
|
|
3484
|
-
data = _a.sent();
|
|
3530
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3485
3531
|
if (data.backendEnvironments !== undefined && data.backendEnvironments !== null) {
|
|
3486
3532
|
contents.backendEnvironments = deserializeAws_restJson1BackendEnvironments(data.backendEnvironments, context);
|
|
3487
3533
|
}
|
|
@@ -3547,9 +3593,9 @@ var deserializeAws_restJson1ListBackendEnvironmentsCommandError = function (outp
|
|
|
3547
3593
|
});
|
|
3548
3594
|
}); };
|
|
3549
3595
|
export var deserializeAws_restJson1ListBranchesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3550
|
-
var contents, data;
|
|
3551
|
-
return __generator(this, function (
|
|
3552
|
-
switch (
|
|
3596
|
+
var contents, data, _a, _b;
|
|
3597
|
+
return __generator(this, function (_c) {
|
|
3598
|
+
switch (_c.label) {
|
|
3553
3599
|
case 0:
|
|
3554
3600
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3555
3601
|
return [2 /*return*/, deserializeAws_restJson1ListBranchesCommandError(output, context)];
|
|
@@ -3559,9 +3605,11 @@ export var deserializeAws_restJson1ListBranchesCommand = function (output, conte
|
|
|
3559
3605
|
branches: undefined,
|
|
3560
3606
|
nextToken: undefined,
|
|
3561
3607
|
};
|
|
3608
|
+
_a = __expectNonNull;
|
|
3609
|
+
_b = __expectObject;
|
|
3562
3610
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3563
3611
|
case 1:
|
|
3564
|
-
data = _a.sent();
|
|
3612
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3565
3613
|
if (data.branches !== undefined && data.branches !== null) {
|
|
3566
3614
|
contents.branches = deserializeAws_restJson1Branches(data.branches, context);
|
|
3567
3615
|
}
|
|
@@ -3627,9 +3675,9 @@ var deserializeAws_restJson1ListBranchesCommandError = function (output, context
|
|
|
3627
3675
|
});
|
|
3628
3676
|
}); };
|
|
3629
3677
|
export var deserializeAws_restJson1ListDomainAssociationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3630
|
-
var contents, data;
|
|
3631
|
-
return __generator(this, function (
|
|
3632
|
-
switch (
|
|
3678
|
+
var contents, data, _a, _b;
|
|
3679
|
+
return __generator(this, function (_c) {
|
|
3680
|
+
switch (_c.label) {
|
|
3633
3681
|
case 0:
|
|
3634
3682
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3635
3683
|
return [2 /*return*/, deserializeAws_restJson1ListDomainAssociationsCommandError(output, context)];
|
|
@@ -3639,9 +3687,11 @@ export var deserializeAws_restJson1ListDomainAssociationsCommand = function (out
|
|
|
3639
3687
|
domainAssociations: undefined,
|
|
3640
3688
|
nextToken: undefined,
|
|
3641
3689
|
};
|
|
3690
|
+
_a = __expectNonNull;
|
|
3691
|
+
_b = __expectObject;
|
|
3642
3692
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3643
3693
|
case 1:
|
|
3644
|
-
data = _a.sent();
|
|
3694
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3645
3695
|
if (data.domainAssociations !== undefined && data.domainAssociations !== null) {
|
|
3646
3696
|
contents.domainAssociations = deserializeAws_restJson1DomainAssociations(data.domainAssociations, context);
|
|
3647
3697
|
}
|
|
@@ -3707,9 +3757,9 @@ var deserializeAws_restJson1ListDomainAssociationsCommandError = function (outpu
|
|
|
3707
3757
|
});
|
|
3708
3758
|
}); };
|
|
3709
3759
|
export var deserializeAws_restJson1ListJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3710
|
-
var contents, data;
|
|
3711
|
-
return __generator(this, function (
|
|
3712
|
-
switch (
|
|
3760
|
+
var contents, data, _a, _b;
|
|
3761
|
+
return __generator(this, function (_c) {
|
|
3762
|
+
switch (_c.label) {
|
|
3713
3763
|
case 0:
|
|
3714
3764
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3715
3765
|
return [2 /*return*/, deserializeAws_restJson1ListJobsCommandError(output, context)];
|
|
@@ -3719,9 +3769,11 @@ export var deserializeAws_restJson1ListJobsCommand = function (output, context)
|
|
|
3719
3769
|
jobSummaries: undefined,
|
|
3720
3770
|
nextToken: undefined,
|
|
3721
3771
|
};
|
|
3772
|
+
_a = __expectNonNull;
|
|
3773
|
+
_b = __expectObject;
|
|
3722
3774
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3723
3775
|
case 1:
|
|
3724
|
-
data = _a.sent();
|
|
3776
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3725
3777
|
if (data.jobSummaries !== undefined && data.jobSummaries !== null) {
|
|
3726
3778
|
contents.jobSummaries = deserializeAws_restJson1JobSummaries(data.jobSummaries, context);
|
|
3727
3779
|
}
|
|
@@ -3795,9 +3847,9 @@ var deserializeAws_restJson1ListJobsCommandError = function (output, context) {
|
|
|
3795
3847
|
});
|
|
3796
3848
|
}); };
|
|
3797
3849
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3798
|
-
var contents, data;
|
|
3799
|
-
return __generator(this, function (
|
|
3800
|
-
switch (
|
|
3850
|
+
var contents, data, _a, _b;
|
|
3851
|
+
return __generator(this, function (_c) {
|
|
3852
|
+
switch (_c.label) {
|
|
3801
3853
|
case 0:
|
|
3802
3854
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3803
3855
|
return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
|
|
@@ -3806,9 +3858,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
3806
3858
|
$metadata: deserializeMetadata(output),
|
|
3807
3859
|
tags: undefined,
|
|
3808
3860
|
};
|
|
3861
|
+
_a = __expectNonNull;
|
|
3862
|
+
_b = __expectObject;
|
|
3809
3863
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3810
3864
|
case 1:
|
|
3811
|
-
data = _a.sent();
|
|
3865
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3812
3866
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3813
3867
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
3814
3868
|
}
|
|
@@ -3871,9 +3925,9 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
3871
3925
|
});
|
|
3872
3926
|
}); };
|
|
3873
3927
|
export var deserializeAws_restJson1ListWebhooksCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3874
|
-
var contents, data;
|
|
3875
|
-
return __generator(this, function (
|
|
3876
|
-
switch (
|
|
3928
|
+
var contents, data, _a, _b;
|
|
3929
|
+
return __generator(this, function (_c) {
|
|
3930
|
+
switch (_c.label) {
|
|
3877
3931
|
case 0:
|
|
3878
3932
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3879
3933
|
return [2 /*return*/, deserializeAws_restJson1ListWebhooksCommandError(output, context)];
|
|
@@ -3883,9 +3937,11 @@ export var deserializeAws_restJson1ListWebhooksCommand = function (output, conte
|
|
|
3883
3937
|
nextToken: undefined,
|
|
3884
3938
|
webhooks: undefined,
|
|
3885
3939
|
};
|
|
3940
|
+
_a = __expectNonNull;
|
|
3941
|
+
_b = __expectObject;
|
|
3886
3942
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3887
3943
|
case 1:
|
|
3888
|
-
data = _a.sent();
|
|
3944
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3889
3945
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3890
3946
|
contents.nextToken = __expectString(data.nextToken);
|
|
3891
3947
|
}
|
|
@@ -3959,9 +4015,9 @@ var deserializeAws_restJson1ListWebhooksCommandError = function (output, context
|
|
|
3959
4015
|
});
|
|
3960
4016
|
}); };
|
|
3961
4017
|
export var deserializeAws_restJson1StartDeploymentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3962
|
-
var contents, data;
|
|
3963
|
-
return __generator(this, function (
|
|
3964
|
-
switch (
|
|
4018
|
+
var contents, data, _a, _b;
|
|
4019
|
+
return __generator(this, function (_c) {
|
|
4020
|
+
switch (_c.label) {
|
|
3965
4021
|
case 0:
|
|
3966
4022
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3967
4023
|
return [2 /*return*/, deserializeAws_restJson1StartDeploymentCommandError(output, context)];
|
|
@@ -3970,9 +4026,11 @@ export var deserializeAws_restJson1StartDeploymentCommand = function (output, co
|
|
|
3970
4026
|
$metadata: deserializeMetadata(output),
|
|
3971
4027
|
jobSummary: undefined,
|
|
3972
4028
|
};
|
|
4029
|
+
_a = __expectNonNull;
|
|
4030
|
+
_b = __expectObject;
|
|
3973
4031
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3974
4032
|
case 1:
|
|
3975
|
-
data = _a.sent();
|
|
4033
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
3976
4034
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
3977
4035
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
3978
4036
|
}
|
|
@@ -4051,9 +4109,9 @@ var deserializeAws_restJson1StartDeploymentCommandError = function (output, cont
|
|
|
4051
4109
|
});
|
|
4052
4110
|
}); };
|
|
4053
4111
|
export var deserializeAws_restJson1StartJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4054
|
-
var contents, data;
|
|
4055
|
-
return __generator(this, function (
|
|
4056
|
-
switch (
|
|
4112
|
+
var contents, data, _a, _b;
|
|
4113
|
+
return __generator(this, function (_c) {
|
|
4114
|
+
switch (_c.label) {
|
|
4057
4115
|
case 0:
|
|
4058
4116
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4059
4117
|
return [2 /*return*/, deserializeAws_restJson1StartJobCommandError(output, context)];
|
|
@@ -4062,9 +4120,11 @@ export var deserializeAws_restJson1StartJobCommand = function (output, context)
|
|
|
4062
4120
|
$metadata: deserializeMetadata(output),
|
|
4063
4121
|
jobSummary: undefined,
|
|
4064
4122
|
};
|
|
4123
|
+
_a = __expectNonNull;
|
|
4124
|
+
_b = __expectObject;
|
|
4065
4125
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4066
4126
|
case 1:
|
|
4067
|
-
data = _a.sent();
|
|
4127
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4068
4128
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
4069
4129
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
4070
4130
|
}
|
|
@@ -4143,9 +4203,9 @@ var deserializeAws_restJson1StartJobCommandError = function (output, context) {
|
|
|
4143
4203
|
});
|
|
4144
4204
|
}); };
|
|
4145
4205
|
export var deserializeAws_restJson1StopJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4146
|
-
var contents, data;
|
|
4147
|
-
return __generator(this, function (
|
|
4148
|
-
switch (
|
|
4206
|
+
var contents, data, _a, _b;
|
|
4207
|
+
return __generator(this, function (_c) {
|
|
4208
|
+
switch (_c.label) {
|
|
4149
4209
|
case 0:
|
|
4150
4210
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4151
4211
|
return [2 /*return*/, deserializeAws_restJson1StopJobCommandError(output, context)];
|
|
@@ -4154,9 +4214,11 @@ export var deserializeAws_restJson1StopJobCommand = function (output, context) {
|
|
|
4154
4214
|
$metadata: deserializeMetadata(output),
|
|
4155
4215
|
jobSummary: undefined,
|
|
4156
4216
|
};
|
|
4217
|
+
_a = __expectNonNull;
|
|
4218
|
+
_b = __expectObject;
|
|
4157
4219
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4158
4220
|
case 1:
|
|
4159
|
-
data = _a.sent();
|
|
4221
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4160
4222
|
if (data.jobSummary !== undefined && data.jobSummary !== null) {
|
|
4161
4223
|
contents.jobSummary = deserializeAws_restJson1JobSummary(data.jobSummary, context);
|
|
4162
4224
|
}
|
|
@@ -4379,9 +4441,9 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
4379
4441
|
});
|
|
4380
4442
|
}); };
|
|
4381
4443
|
export var deserializeAws_restJson1UpdateAppCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4382
|
-
var contents, data;
|
|
4383
|
-
return __generator(this, function (
|
|
4384
|
-
switch (
|
|
4444
|
+
var contents, data, _a, _b;
|
|
4445
|
+
return __generator(this, function (_c) {
|
|
4446
|
+
switch (_c.label) {
|
|
4385
4447
|
case 0:
|
|
4386
4448
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4387
4449
|
return [2 /*return*/, deserializeAws_restJson1UpdateAppCommandError(output, context)];
|
|
@@ -4390,9 +4452,11 @@ export var deserializeAws_restJson1UpdateAppCommand = function (output, context)
|
|
|
4390
4452
|
$metadata: deserializeMetadata(output),
|
|
4391
4453
|
app: undefined,
|
|
4392
4454
|
};
|
|
4455
|
+
_a = __expectNonNull;
|
|
4456
|
+
_b = __expectObject;
|
|
4393
4457
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4394
4458
|
case 1:
|
|
4395
|
-
data = _a.sent();
|
|
4459
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4396
4460
|
if (data.app !== undefined && data.app !== null) {
|
|
4397
4461
|
contents.app = deserializeAws_restJson1App(data.app, context);
|
|
4398
4462
|
}
|
|
@@ -4463,9 +4527,9 @@ var deserializeAws_restJson1UpdateAppCommandError = function (output, context) {
|
|
|
4463
4527
|
});
|
|
4464
4528
|
}); };
|
|
4465
4529
|
export var deserializeAws_restJson1UpdateBranchCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4466
|
-
var contents, data;
|
|
4467
|
-
return __generator(this, function (
|
|
4468
|
-
switch (
|
|
4530
|
+
var contents, data, _a, _b;
|
|
4531
|
+
return __generator(this, function (_c) {
|
|
4532
|
+
switch (_c.label) {
|
|
4469
4533
|
case 0:
|
|
4470
4534
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4471
4535
|
return [2 /*return*/, deserializeAws_restJson1UpdateBranchCommandError(output, context)];
|
|
@@ -4474,9 +4538,11 @@ export var deserializeAws_restJson1UpdateBranchCommand = function (output, conte
|
|
|
4474
4538
|
$metadata: deserializeMetadata(output),
|
|
4475
4539
|
branch: undefined,
|
|
4476
4540
|
};
|
|
4541
|
+
_a = __expectNonNull;
|
|
4542
|
+
_b = __expectObject;
|
|
4477
4543
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4478
4544
|
case 1:
|
|
4479
|
-
data = _a.sent();
|
|
4545
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4480
4546
|
if (data.branch !== undefined && data.branch !== null) {
|
|
4481
4547
|
contents.branch = deserializeAws_restJson1Branch(data.branch, context);
|
|
4482
4548
|
}
|
|
@@ -4555,9 +4621,9 @@ var deserializeAws_restJson1UpdateBranchCommandError = function (output, context
|
|
|
4555
4621
|
});
|
|
4556
4622
|
}); };
|
|
4557
4623
|
export var deserializeAws_restJson1UpdateDomainAssociationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4558
|
-
var contents, data;
|
|
4559
|
-
return __generator(this, function (
|
|
4560
|
-
switch (
|
|
4624
|
+
var contents, data, _a, _b;
|
|
4625
|
+
return __generator(this, function (_c) {
|
|
4626
|
+
switch (_c.label) {
|
|
4561
4627
|
case 0:
|
|
4562
4628
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4563
4629
|
return [2 /*return*/, deserializeAws_restJson1UpdateDomainAssociationCommandError(output, context)];
|
|
@@ -4566,9 +4632,11 @@ export var deserializeAws_restJson1UpdateDomainAssociationCommand = function (ou
|
|
|
4566
4632
|
$metadata: deserializeMetadata(output),
|
|
4567
4633
|
domainAssociation: undefined,
|
|
4568
4634
|
};
|
|
4635
|
+
_a = __expectNonNull;
|
|
4636
|
+
_b = __expectObject;
|
|
4569
4637
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4570
4638
|
case 1:
|
|
4571
|
-
data = _a.sent();
|
|
4639
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4572
4640
|
if (data.domainAssociation !== undefined && data.domainAssociation !== null) {
|
|
4573
4641
|
contents.domainAssociation = deserializeAws_restJson1DomainAssociation(data.domainAssociation, context);
|
|
4574
4642
|
}
|
|
@@ -4647,9 +4715,9 @@ var deserializeAws_restJson1UpdateDomainAssociationCommandError = function (outp
|
|
|
4647
4715
|
});
|
|
4648
4716
|
}); };
|
|
4649
4717
|
export var deserializeAws_restJson1UpdateWebhookCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4650
|
-
var contents, data;
|
|
4651
|
-
return __generator(this, function (
|
|
4652
|
-
switch (
|
|
4718
|
+
var contents, data, _a, _b;
|
|
4719
|
+
return __generator(this, function (_c) {
|
|
4720
|
+
switch (_c.label) {
|
|
4653
4721
|
case 0:
|
|
4654
4722
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4655
4723
|
return [2 /*return*/, deserializeAws_restJson1UpdateWebhookCommandError(output, context)];
|
|
@@ -4658,9 +4726,11 @@ export var deserializeAws_restJson1UpdateWebhookCommand = function (output, cont
|
|
|
4658
4726
|
$metadata: deserializeMetadata(output),
|
|
4659
4727
|
webhook: undefined,
|
|
4660
4728
|
};
|
|
4729
|
+
_a = __expectNonNull;
|
|
4730
|
+
_b = __expectObject;
|
|
4661
4731
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
4662
4732
|
case 1:
|
|
4663
|
-
data = _a.sent();
|
|
4733
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4664
4734
|
if (data.webhook !== undefined && data.webhook !== null) {
|
|
4665
4735
|
contents.webhook = deserializeAws_restJson1Webhook(data.webhook, context);
|
|
4666
4736
|
}
|
|
@@ -4955,7 +5025,7 @@ var deserializeAws_restJson1App = function (output, context) {
|
|
|
4955
5025
|
basicAuthCredentials: __expectString(output.basicAuthCredentials),
|
|
4956
5026
|
buildSpec: __expectString(output.buildSpec),
|
|
4957
5027
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
4958
|
-
?
|
|
5028
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
4959
5029
|
: undefined,
|
|
4960
5030
|
customHeaders: __expectString(output.customHeaders),
|
|
4961
5031
|
customRules: output.customRules !== undefined && output.customRules !== null
|
|
@@ -4981,7 +5051,7 @@ var deserializeAws_restJson1App = function (output, context) {
|
|
|
4981
5051
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
4982
5052
|
: undefined,
|
|
4983
5053
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
4984
|
-
?
|
|
5054
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime)))
|
|
4985
5055
|
: undefined,
|
|
4986
5056
|
};
|
|
4987
5057
|
};
|
|
@@ -5061,13 +5131,13 @@ var deserializeAws_restJson1BackendEnvironment = function (output, context) {
|
|
|
5061
5131
|
return {
|
|
5062
5132
|
backendEnvironmentArn: __expectString(output.backendEnvironmentArn),
|
|
5063
5133
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
5064
|
-
?
|
|
5134
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
5065
5135
|
: undefined,
|
|
5066
5136
|
deploymentArtifacts: __expectString(output.deploymentArtifacts),
|
|
5067
5137
|
environmentName: __expectString(output.environmentName),
|
|
5068
5138
|
stackName: __expectString(output.stackName),
|
|
5069
5139
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
5070
|
-
?
|
|
5140
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime)))
|
|
5071
5141
|
: undefined,
|
|
5072
5142
|
};
|
|
5073
5143
|
};
|
|
@@ -5093,7 +5163,7 @@ var deserializeAws_restJson1Branch = function (output, context) {
|
|
|
5093
5163
|
branchName: __expectString(output.branchName),
|
|
5094
5164
|
buildSpec: __expectString(output.buildSpec),
|
|
5095
5165
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
5096
|
-
?
|
|
5166
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
5097
5167
|
: undefined,
|
|
5098
5168
|
customDomains: output.customDomains !== undefined && output.customDomains !== null
|
|
5099
5169
|
? deserializeAws_restJson1CustomDomains(output.customDomains, context)
|
|
@@ -5120,7 +5190,7 @@ var deserializeAws_restJson1Branch = function (output, context) {
|
|
|
5120
5190
|
totalNumberOfJobs: __expectString(output.totalNumberOfJobs),
|
|
5121
5191
|
ttl: __expectString(output.ttl),
|
|
5122
5192
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
5123
|
-
?
|
|
5193
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime)))
|
|
5124
5194
|
: undefined,
|
|
5125
5195
|
};
|
|
5126
5196
|
};
|
|
@@ -5234,14 +5304,16 @@ var deserializeAws_restJson1JobSummary = function (output, context) {
|
|
|
5234
5304
|
commitId: __expectString(output.commitId),
|
|
5235
5305
|
commitMessage: __expectString(output.commitMessage),
|
|
5236
5306
|
commitTime: output.commitTime !== undefined && output.commitTime !== null
|
|
5237
|
-
?
|
|
5307
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.commitTime)))
|
|
5308
|
+
: undefined,
|
|
5309
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
5310
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
5238
5311
|
: undefined,
|
|
5239
|
-
endTime: output.endTime !== undefined && output.endTime !== null ? new Date(Math.round(output.endTime * 1000)) : undefined,
|
|
5240
5312
|
jobArn: __expectString(output.jobArn),
|
|
5241
5313
|
jobId: __expectString(output.jobId),
|
|
5242
5314
|
jobType: __expectString(output.jobType),
|
|
5243
5315
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
5244
|
-
?
|
|
5316
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
5245
5317
|
: undefined,
|
|
5246
5318
|
status: __expectString(output.status),
|
|
5247
5319
|
};
|
|
@@ -5250,7 +5322,7 @@ var deserializeAws_restJson1ProductionBranch = function (output, context) {
|
|
|
5250
5322
|
return {
|
|
5251
5323
|
branchName: __expectString(output.branchName),
|
|
5252
5324
|
lastDeployTime: output.lastDeployTime !== undefined && output.lastDeployTime !== null
|
|
5253
|
-
?
|
|
5325
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeployTime)))
|
|
5254
5326
|
: undefined,
|
|
5255
5327
|
status: __expectString(output.status),
|
|
5256
5328
|
thumbnailUrl: __expectString(output.thumbnailUrl),
|
|
@@ -5270,13 +5342,15 @@ var deserializeAws_restJson1Step = function (output, context) {
|
|
|
5270
5342
|
return {
|
|
5271
5343
|
artifactsUrl: __expectString(output.artifactsUrl),
|
|
5272
5344
|
context: __expectString(output.context),
|
|
5273
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
5345
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
5346
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
5347
|
+
: undefined,
|
|
5274
5348
|
logUrl: __expectString(output.logUrl),
|
|
5275
5349
|
screenshots: output.screenshots !== undefined && output.screenshots !== null
|
|
5276
5350
|
? deserializeAws_restJson1Screenshots(output.screenshots, context)
|
|
5277
5351
|
: undefined,
|
|
5278
5352
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
5279
|
-
?
|
|
5353
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
5280
5354
|
: undefined,
|
|
5281
5355
|
status: __expectString(output.status),
|
|
5282
5356
|
statusReason: __expectString(output.statusReason),
|
|
@@ -5334,11 +5408,11 @@ var deserializeAws_restJson1Webhook = function (output, context) {
|
|
|
5334
5408
|
return {
|
|
5335
5409
|
branchName: __expectString(output.branchName),
|
|
5336
5410
|
createTime: output.createTime !== undefined && output.createTime !== null
|
|
5337
|
-
?
|
|
5411
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
5338
5412
|
: undefined,
|
|
5339
5413
|
description: __expectString(output.description),
|
|
5340
5414
|
updateTime: output.updateTime !== undefined && output.updateTime !== null
|
|
5341
|
-
?
|
|
5415
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime)))
|
|
5342
5416
|
: undefined,
|
|
5343
5417
|
webhookArn: __expectString(output.webhookArn),
|
|
5344
5418
|
webhookId: __expectString(output.webhookId),
|