@aws-sdk/client-codecatalyst 3.306.0 → 3.309.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/dist-cjs/commands/CreateAccessTokenCommand.js +2 -2
- package/dist-cjs/commands/CreateDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/CreateProjectCommand.js +2 -2
- package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +2 -2
- package/dist-cjs/commands/DeleteAccessTokenCommand.js +2 -2
- package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/GetDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/GetProjectCommand.js +2 -2
- package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +2 -2
- package/dist-cjs/commands/GetSpaceCommand.js +2 -2
- package/dist-cjs/commands/GetSubscriptionCommand.js +2 -2
- package/dist-cjs/commands/GetUserDetailsCommand.js +2 -2
- package/dist-cjs/commands/ListAccessTokensCommand.js +2 -2
- package/dist-cjs/commands/ListDevEnvironmentsCommand.js +2 -2
- package/dist-cjs/commands/ListEventLogsCommand.js +2 -2
- package/dist-cjs/commands/ListProjectsCommand.js +2 -2
- package/dist-cjs/commands/ListSourceRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +2 -2
- package/dist-cjs/commands/ListSpacesCommand.js +2 -2
- package/dist-cjs/commands/StartDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +2 -2
- package/dist-cjs/commands/StopDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +2 -2
- package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/VerifySessionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +392 -402
- package/dist-es/commands/CreateAccessTokenCommand.js +3 -3
- package/dist-es/commands/CreateDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/CreateProjectCommand.js +3 -3
- package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +3 -3
- package/dist-es/commands/DeleteAccessTokenCommand.js +3 -3
- package/dist-es/commands/DeleteDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/GetDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/GetProjectCommand.js +3 -3
- package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +3 -3
- package/dist-es/commands/GetSpaceCommand.js +3 -3
- package/dist-es/commands/GetSubscriptionCommand.js +3 -3
- package/dist-es/commands/GetUserDetailsCommand.js +3 -3
- package/dist-es/commands/ListAccessTokensCommand.js +3 -3
- package/dist-es/commands/ListDevEnvironmentsCommand.js +3 -3
- package/dist-es/commands/ListEventLogsCommand.js +3 -3
- package/dist-es/commands/ListProjectsCommand.js +3 -3
- package/dist-es/commands/ListSourceRepositoriesCommand.js +3 -3
- package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +3 -3
- package/dist-es/commands/ListSpacesCommand.js +3 -3
- package/dist-es/commands/StartDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/StartDevEnvironmentSessionCommand.js +3 -3
- package/dist-es/commands/StopDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/StopDevEnvironmentSessionCommand.js +3 -3
- package/dist-es/commands/UpdateDevEnvironmentCommand.js +3 -3
- package/dist-es/commands/VerifySessionCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +341 -351
- package/dist-types/protocols/Aws_restJson1.d.ts +200 -50
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +50 -50
- package/package.json +5 -5
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CodeCatalystServiceException as __BaseException } from "../models/CodeCatalystServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateAccessTokenCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -23,7 +23,7 @@ export const serializeAws_restJson1CreateAccessTokenCommand = async (input, cont
|
|
|
23
23
|
body,
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
-
export const
|
|
26
|
+
export const se_CreateDevEnvironmentCommand = async (input, context) => {
|
|
27
27
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
28
28
|
const headers = {
|
|
29
29
|
"content-type": "application/json",
|
|
@@ -36,15 +36,13 @@ export const serializeAws_restJson1CreateDevEnvironmentCommand = async (input, c
|
|
|
36
36
|
body = JSON.stringify({
|
|
37
37
|
...(input.alias != null && { alias: input.alias }),
|
|
38
38
|
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
39
|
-
...(input.ides != null && { ides:
|
|
39
|
+
...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
|
|
40
40
|
...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
|
|
41
41
|
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
42
42
|
...(input.persistentStorage != null && {
|
|
43
|
-
persistentStorage:
|
|
44
|
-
}),
|
|
45
|
-
...(input.repositories != null && {
|
|
46
|
-
repositories: serializeAws_restJson1RepositoriesInput(input.repositories, context),
|
|
43
|
+
persistentStorage: se_PersistentStorageConfiguration(input.persistentStorage, context),
|
|
47
44
|
}),
|
|
45
|
+
...(input.repositories != null && { repositories: se_RepositoriesInput(input.repositories, context) }),
|
|
48
46
|
});
|
|
49
47
|
return new __HttpRequest({
|
|
50
48
|
protocol,
|
|
@@ -56,7 +54,7 @@ export const serializeAws_restJson1CreateDevEnvironmentCommand = async (input, c
|
|
|
56
54
|
body,
|
|
57
55
|
});
|
|
58
56
|
};
|
|
59
|
-
export const
|
|
57
|
+
export const se_CreateProjectCommand = async (input, context) => {
|
|
60
58
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
61
59
|
const headers = {
|
|
62
60
|
"content-type": "application/json",
|
|
@@ -78,7 +76,7 @@ export const serializeAws_restJson1CreateProjectCommand = async (input, context)
|
|
|
78
76
|
body,
|
|
79
77
|
});
|
|
80
78
|
};
|
|
81
|
-
export const
|
|
79
|
+
export const se_CreateSourceRepositoryBranchCommand = async (input, context) => {
|
|
82
80
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
83
81
|
const headers = {
|
|
84
82
|
"content-type": "application/json",
|
|
@@ -103,7 +101,7 @@ export const serializeAws_restJson1CreateSourceRepositoryBranchCommand = async (
|
|
|
103
101
|
body,
|
|
104
102
|
});
|
|
105
103
|
};
|
|
106
|
-
export const
|
|
104
|
+
export const se_DeleteAccessTokenCommand = async (input, context) => {
|
|
107
105
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
108
106
|
const headers = {};
|
|
109
107
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/accessTokens/{id}";
|
|
@@ -119,7 +117,7 @@ export const serializeAws_restJson1DeleteAccessTokenCommand = async (input, cont
|
|
|
119
117
|
body,
|
|
120
118
|
});
|
|
121
119
|
};
|
|
122
|
-
export const
|
|
120
|
+
export const se_DeleteDevEnvironmentCommand = async (input, context) => {
|
|
123
121
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
124
122
|
const headers = {};
|
|
125
123
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -138,7 +136,7 @@ export const serializeAws_restJson1DeleteDevEnvironmentCommand = async (input, c
|
|
|
138
136
|
body,
|
|
139
137
|
});
|
|
140
138
|
};
|
|
141
|
-
export const
|
|
139
|
+
export const se_GetDevEnvironmentCommand = async (input, context) => {
|
|
142
140
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
143
141
|
const headers = {};
|
|
144
142
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -157,7 +155,7 @@ export const serializeAws_restJson1GetDevEnvironmentCommand = async (input, cont
|
|
|
157
155
|
body,
|
|
158
156
|
});
|
|
159
157
|
};
|
|
160
|
-
export const
|
|
158
|
+
export const se_GetProjectCommand = async (input, context) => {
|
|
161
159
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
162
160
|
const headers = {};
|
|
163
161
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{spaceName}/projects/{name}";
|
|
@@ -174,7 +172,7 @@ export const serializeAws_restJson1GetProjectCommand = async (input, context) =>
|
|
|
174
172
|
body,
|
|
175
173
|
});
|
|
176
174
|
};
|
|
177
|
-
export const
|
|
175
|
+
export const se_GetSourceRepositoryCloneUrlsCommand = async (input, context) => {
|
|
178
176
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
179
177
|
const headers = {};
|
|
180
178
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -193,7 +191,7 @@ export const serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async (
|
|
|
193
191
|
body,
|
|
194
192
|
});
|
|
195
193
|
};
|
|
196
|
-
export const
|
|
194
|
+
export const se_GetSpaceCommand = async (input, context) => {
|
|
197
195
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
198
196
|
const headers = {};
|
|
199
197
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{name}";
|
|
@@ -209,7 +207,7 @@ export const serializeAws_restJson1GetSpaceCommand = async (input, context) => {
|
|
|
209
207
|
body,
|
|
210
208
|
});
|
|
211
209
|
};
|
|
212
|
-
export const
|
|
210
|
+
export const se_GetSubscriptionCommand = async (input, context) => {
|
|
213
211
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
214
212
|
const headers = {};
|
|
215
213
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{spaceName}/subscription";
|
|
@@ -225,7 +223,7 @@ export const serializeAws_restJson1GetSubscriptionCommand = async (input, contex
|
|
|
225
223
|
body,
|
|
226
224
|
});
|
|
227
225
|
};
|
|
228
|
-
export const
|
|
226
|
+
export const se_GetUserDetailsCommand = async (input, context) => {
|
|
229
227
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
230
228
|
const headers = {};
|
|
231
229
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userDetails";
|
|
@@ -245,7 +243,7 @@ export const serializeAws_restJson1GetUserDetailsCommand = async (input, context
|
|
|
245
243
|
body,
|
|
246
244
|
});
|
|
247
245
|
};
|
|
248
|
-
export const
|
|
246
|
+
export const se_ListAccessTokensCommand = async (input, context) => {
|
|
249
247
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
250
248
|
const headers = {
|
|
251
249
|
"content-type": "application/json",
|
|
@@ -266,7 +264,7 @@ export const serializeAws_restJson1ListAccessTokensCommand = async (input, conte
|
|
|
266
264
|
body,
|
|
267
265
|
});
|
|
268
266
|
};
|
|
269
|
-
export const
|
|
267
|
+
export const se_ListDevEnvironmentsCommand = async (input, context) => {
|
|
270
268
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
271
269
|
const headers = {
|
|
272
270
|
"content-type": "application/json",
|
|
@@ -277,7 +275,7 @@ export const serializeAws_restJson1ListDevEnvironmentsCommand = async (input, co
|
|
|
277
275
|
resolvedPath = __resolvedPath(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
|
|
278
276
|
let body;
|
|
279
277
|
body = JSON.stringify({
|
|
280
|
-
...(input.filters != null && { filters:
|
|
278
|
+
...(input.filters != null && { filters: se_Filters(input.filters, context) }),
|
|
281
279
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
282
280
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
283
281
|
});
|
|
@@ -291,7 +289,7 @@ export const serializeAws_restJson1ListDevEnvironmentsCommand = async (input, co
|
|
|
291
289
|
body,
|
|
292
290
|
});
|
|
293
291
|
};
|
|
294
|
-
export const
|
|
292
|
+
export const se_ListEventLogsCommand = async (input, context) => {
|
|
295
293
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
296
294
|
const headers = {
|
|
297
295
|
"content-type": "application/json",
|
|
@@ -316,7 +314,7 @@ export const serializeAws_restJson1ListEventLogsCommand = async (input, context)
|
|
|
316
314
|
body,
|
|
317
315
|
});
|
|
318
316
|
};
|
|
319
|
-
export const
|
|
317
|
+
export const se_ListProjectsCommand = async (input, context) => {
|
|
320
318
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
321
319
|
const headers = {
|
|
322
320
|
"content-type": "application/json",
|
|
@@ -325,7 +323,7 @@ export const serializeAws_restJson1ListProjectsCommand = async (input, context)
|
|
|
325
323
|
resolvedPath = __resolvedPath(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
|
|
326
324
|
let body;
|
|
327
325
|
body = JSON.stringify({
|
|
328
|
-
...(input.filters != null && { filters:
|
|
326
|
+
...(input.filters != null && { filters: se_ProjectListFilters(input.filters, context) }),
|
|
329
327
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
330
328
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
331
329
|
});
|
|
@@ -339,7 +337,7 @@ export const serializeAws_restJson1ListProjectsCommand = async (input, context)
|
|
|
339
337
|
body,
|
|
340
338
|
});
|
|
341
339
|
};
|
|
342
|
-
export const
|
|
340
|
+
export const se_ListSourceRepositoriesCommand = async (input, context) => {
|
|
343
341
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
344
342
|
const headers = {
|
|
345
343
|
"content-type": "application/json",
|
|
@@ -363,7 +361,7 @@ export const serializeAws_restJson1ListSourceRepositoriesCommand = async (input,
|
|
|
363
361
|
body,
|
|
364
362
|
});
|
|
365
363
|
};
|
|
366
|
-
export const
|
|
364
|
+
export const se_ListSourceRepositoryBranchesCommand = async (input, context) => {
|
|
367
365
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
368
366
|
const headers = {
|
|
369
367
|
"content-type": "application/json",
|
|
@@ -388,7 +386,7 @@ export const serializeAws_restJson1ListSourceRepositoryBranchesCommand = async (
|
|
|
388
386
|
body,
|
|
389
387
|
});
|
|
390
388
|
};
|
|
391
|
-
export const
|
|
389
|
+
export const se_ListSpacesCommand = async (input, context) => {
|
|
392
390
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
393
391
|
const headers = {
|
|
394
392
|
"content-type": "application/json",
|
|
@@ -408,7 +406,7 @@ export const serializeAws_restJson1ListSpacesCommand = async (input, context) =>
|
|
|
408
406
|
body,
|
|
409
407
|
});
|
|
410
408
|
};
|
|
411
|
-
export const
|
|
409
|
+
export const se_StartDevEnvironmentCommand = async (input, context) => {
|
|
412
410
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
413
411
|
const headers = {
|
|
414
412
|
"content-type": "application/json",
|
|
@@ -420,7 +418,7 @@ export const serializeAws_restJson1StartDevEnvironmentCommand = async (input, co
|
|
|
420
418
|
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
421
419
|
let body;
|
|
422
420
|
body = JSON.stringify({
|
|
423
|
-
...(input.ides != null && { ides:
|
|
421
|
+
...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
|
|
424
422
|
...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
|
|
425
423
|
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
426
424
|
});
|
|
@@ -434,7 +432,7 @@ export const serializeAws_restJson1StartDevEnvironmentCommand = async (input, co
|
|
|
434
432
|
body,
|
|
435
433
|
});
|
|
436
434
|
};
|
|
437
|
-
export const
|
|
435
|
+
export const se_StartDevEnvironmentSessionCommand = async (input, context) => {
|
|
438
436
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
439
437
|
const headers = {
|
|
440
438
|
"content-type": "application/json",
|
|
@@ -447,7 +445,7 @@ export const serializeAws_restJson1StartDevEnvironmentSessionCommand = async (in
|
|
|
447
445
|
let body;
|
|
448
446
|
body = JSON.stringify({
|
|
449
447
|
...(input.sessionConfiguration != null && {
|
|
450
|
-
sessionConfiguration:
|
|
448
|
+
sessionConfiguration: se_DevEnvironmentSessionConfiguration(input.sessionConfiguration, context),
|
|
451
449
|
}),
|
|
452
450
|
});
|
|
453
451
|
return new __HttpRequest({
|
|
@@ -460,7 +458,7 @@ export const serializeAws_restJson1StartDevEnvironmentSessionCommand = async (in
|
|
|
460
458
|
body,
|
|
461
459
|
});
|
|
462
460
|
};
|
|
463
|
-
export const
|
|
461
|
+
export const se_StopDevEnvironmentCommand = async (input, context) => {
|
|
464
462
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
465
463
|
const headers = {};
|
|
466
464
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -479,7 +477,7 @@ export const serializeAws_restJson1StopDevEnvironmentCommand = async (input, con
|
|
|
479
477
|
body,
|
|
480
478
|
});
|
|
481
479
|
};
|
|
482
|
-
export const
|
|
480
|
+
export const se_StopDevEnvironmentSessionCommand = async (input, context) => {
|
|
483
481
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
484
482
|
const headers = {};
|
|
485
483
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -499,7 +497,7 @@ export const serializeAws_restJson1StopDevEnvironmentSessionCommand = async (inp
|
|
|
499
497
|
body,
|
|
500
498
|
});
|
|
501
499
|
};
|
|
502
|
-
export const
|
|
500
|
+
export const se_UpdateDevEnvironmentCommand = async (input, context) => {
|
|
503
501
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
504
502
|
const headers = {
|
|
505
503
|
"content-type": "application/json",
|
|
@@ -513,7 +511,7 @@ export const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, c
|
|
|
513
511
|
body = JSON.stringify({
|
|
514
512
|
...(input.alias != null && { alias: input.alias }),
|
|
515
513
|
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
516
|
-
...(input.ides != null && { ides:
|
|
514
|
+
...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
|
|
517
515
|
...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
|
|
518
516
|
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
519
517
|
});
|
|
@@ -527,7 +525,7 @@ export const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, c
|
|
|
527
525
|
body,
|
|
528
526
|
});
|
|
529
527
|
};
|
|
530
|
-
export const
|
|
528
|
+
export const se_VerifySessionCommand = async (input, context) => {
|
|
531
529
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
532
530
|
const headers = {
|
|
533
531
|
"content-type": "application/json",
|
|
@@ -545,9 +543,9 @@ export const serializeAws_restJson1VerifySessionCommand = async (input, context)
|
|
|
545
543
|
body,
|
|
546
544
|
});
|
|
547
545
|
};
|
|
548
|
-
export const
|
|
546
|
+
export const de_CreateAccessTokenCommand = async (output, context) => {
|
|
549
547
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
550
|
-
return
|
|
548
|
+
return de_CreateAccessTokenCommandError(output, context);
|
|
551
549
|
}
|
|
552
550
|
const contents = map({
|
|
553
551
|
$metadata: deserializeMetadata(output),
|
|
@@ -567,7 +565,7 @@ export const deserializeAws_restJson1CreateAccessTokenCommand = async (output, c
|
|
|
567
565
|
}
|
|
568
566
|
return contents;
|
|
569
567
|
};
|
|
570
|
-
const
|
|
568
|
+
const de_CreateAccessTokenCommandError = async (output, context) => {
|
|
571
569
|
const parsedOutput = {
|
|
572
570
|
...output,
|
|
573
571
|
body: await parseErrorBody(output.body, context),
|
|
@@ -576,22 +574,22 @@ const deserializeAws_restJson1CreateAccessTokenCommandError = async (output, con
|
|
|
576
574
|
switch (errorCode) {
|
|
577
575
|
case "AccessDeniedException":
|
|
578
576
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
579
|
-
throw await
|
|
577
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
580
578
|
case "ConflictException":
|
|
581
579
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
582
|
-
throw await
|
|
580
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
583
581
|
case "ResourceNotFoundException":
|
|
584
582
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
585
|
-
throw await
|
|
583
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
586
584
|
case "ServiceQuotaExceededException":
|
|
587
585
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
588
|
-
throw await
|
|
586
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
589
587
|
case "ThrottlingException":
|
|
590
588
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
591
|
-
throw await
|
|
589
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
592
590
|
case "ValidationException":
|
|
593
591
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
594
|
-
throw await
|
|
592
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
595
593
|
default:
|
|
596
594
|
const parsedBody = parsedOutput.body;
|
|
597
595
|
throwDefaultError({
|
|
@@ -602,9 +600,9 @@ const deserializeAws_restJson1CreateAccessTokenCommandError = async (output, con
|
|
|
602
600
|
});
|
|
603
601
|
}
|
|
604
602
|
};
|
|
605
|
-
export const
|
|
603
|
+
export const de_CreateDevEnvironmentCommand = async (output, context) => {
|
|
606
604
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
607
|
-
return
|
|
605
|
+
return de_CreateDevEnvironmentCommandError(output, context);
|
|
608
606
|
}
|
|
609
607
|
const contents = map({
|
|
610
608
|
$metadata: deserializeMetadata(output),
|
|
@@ -621,7 +619,7 @@ export const deserializeAws_restJson1CreateDevEnvironmentCommand = async (output
|
|
|
621
619
|
}
|
|
622
620
|
return contents;
|
|
623
621
|
};
|
|
624
|
-
const
|
|
622
|
+
const de_CreateDevEnvironmentCommandError = async (output, context) => {
|
|
625
623
|
const parsedOutput = {
|
|
626
624
|
...output,
|
|
627
625
|
body: await parseErrorBody(output.body, context),
|
|
@@ -630,22 +628,22 @@ const deserializeAws_restJson1CreateDevEnvironmentCommandError = async (output,
|
|
|
630
628
|
switch (errorCode) {
|
|
631
629
|
case "AccessDeniedException":
|
|
632
630
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
633
|
-
throw await
|
|
631
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
634
632
|
case "ConflictException":
|
|
635
633
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
636
|
-
throw await
|
|
634
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
637
635
|
case "ResourceNotFoundException":
|
|
638
636
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
639
|
-
throw await
|
|
637
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
640
638
|
case "ServiceQuotaExceededException":
|
|
641
639
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
642
|
-
throw await
|
|
640
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
643
641
|
case "ThrottlingException":
|
|
644
642
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
645
|
-
throw await
|
|
643
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
646
644
|
case "ValidationException":
|
|
647
645
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
648
|
-
throw await
|
|
646
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
649
647
|
default:
|
|
650
648
|
const parsedBody = parsedOutput.body;
|
|
651
649
|
throwDefaultError({
|
|
@@ -656,9 +654,9 @@ const deserializeAws_restJson1CreateDevEnvironmentCommandError = async (output,
|
|
|
656
654
|
});
|
|
657
655
|
}
|
|
658
656
|
};
|
|
659
|
-
export const
|
|
657
|
+
export const de_CreateProjectCommand = async (output, context) => {
|
|
660
658
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
661
|
-
return
|
|
659
|
+
return de_CreateProjectCommandError(output, context);
|
|
662
660
|
}
|
|
663
661
|
const contents = map({
|
|
664
662
|
$metadata: deserializeMetadata(output),
|
|
@@ -678,7 +676,7 @@ export const deserializeAws_restJson1CreateProjectCommand = async (output, conte
|
|
|
678
676
|
}
|
|
679
677
|
return contents;
|
|
680
678
|
};
|
|
681
|
-
const
|
|
679
|
+
const de_CreateProjectCommandError = async (output, context) => {
|
|
682
680
|
const parsedOutput = {
|
|
683
681
|
...output,
|
|
684
682
|
body: await parseErrorBody(output.body, context),
|
|
@@ -687,22 +685,22 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
|
|
|
687
685
|
switch (errorCode) {
|
|
688
686
|
case "AccessDeniedException":
|
|
689
687
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
690
|
-
throw await
|
|
688
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
691
689
|
case "ConflictException":
|
|
692
690
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
693
|
-
throw await
|
|
691
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
694
692
|
case "ResourceNotFoundException":
|
|
695
693
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
696
|
-
throw await
|
|
694
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
697
695
|
case "ServiceQuotaExceededException":
|
|
698
696
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
699
|
-
throw await
|
|
697
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
700
698
|
case "ThrottlingException":
|
|
701
699
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
702
|
-
throw await
|
|
700
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
703
701
|
case "ValidationException":
|
|
704
702
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
705
|
-
throw await
|
|
703
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
706
704
|
default:
|
|
707
705
|
const parsedBody = parsedOutput.body;
|
|
708
706
|
throwDefaultError({
|
|
@@ -713,9 +711,9 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
|
|
|
713
711
|
});
|
|
714
712
|
}
|
|
715
713
|
};
|
|
716
|
-
export const
|
|
714
|
+
export const de_CreateSourceRepositoryBranchCommand = async (output, context) => {
|
|
717
715
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
718
|
-
return
|
|
716
|
+
return de_CreateSourceRepositoryBranchCommandError(output, context);
|
|
719
717
|
}
|
|
720
718
|
const contents = map({
|
|
721
719
|
$metadata: deserializeMetadata(output),
|
|
@@ -735,7 +733,7 @@ export const deserializeAws_restJson1CreateSourceRepositoryBranchCommand = async
|
|
|
735
733
|
}
|
|
736
734
|
return contents;
|
|
737
735
|
};
|
|
738
|
-
const
|
|
736
|
+
const de_CreateSourceRepositoryBranchCommandError = async (output, context) => {
|
|
739
737
|
const parsedOutput = {
|
|
740
738
|
...output,
|
|
741
739
|
body: await parseErrorBody(output.body, context),
|
|
@@ -744,22 +742,22 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommandError = async (
|
|
|
744
742
|
switch (errorCode) {
|
|
745
743
|
case "AccessDeniedException":
|
|
746
744
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
747
|
-
throw await
|
|
745
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
748
746
|
case "ConflictException":
|
|
749
747
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
750
|
-
throw await
|
|
748
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
751
749
|
case "ResourceNotFoundException":
|
|
752
750
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
753
|
-
throw await
|
|
751
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
754
752
|
case "ServiceQuotaExceededException":
|
|
755
753
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
756
|
-
throw await
|
|
754
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
757
755
|
case "ThrottlingException":
|
|
758
756
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
759
|
-
throw await
|
|
757
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
760
758
|
case "ValidationException":
|
|
761
759
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
762
|
-
throw await
|
|
760
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
763
761
|
default:
|
|
764
762
|
const parsedBody = parsedOutput.body;
|
|
765
763
|
throwDefaultError({
|
|
@@ -770,9 +768,9 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommandError = async (
|
|
|
770
768
|
});
|
|
771
769
|
}
|
|
772
770
|
};
|
|
773
|
-
export const
|
|
771
|
+
export const de_DeleteAccessTokenCommand = async (output, context) => {
|
|
774
772
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
775
|
-
return
|
|
773
|
+
return de_DeleteAccessTokenCommandError(output, context);
|
|
776
774
|
}
|
|
777
775
|
const contents = map({
|
|
778
776
|
$metadata: deserializeMetadata(output),
|
|
@@ -780,7 +778,7 @@ export const deserializeAws_restJson1DeleteAccessTokenCommand = async (output, c
|
|
|
780
778
|
await collectBody(output.body, context);
|
|
781
779
|
return contents;
|
|
782
780
|
};
|
|
783
|
-
const
|
|
781
|
+
const de_DeleteAccessTokenCommandError = async (output, context) => {
|
|
784
782
|
const parsedOutput = {
|
|
785
783
|
...output,
|
|
786
784
|
body: await parseErrorBody(output.body, context),
|
|
@@ -789,22 +787,22 @@ const deserializeAws_restJson1DeleteAccessTokenCommandError = async (output, con
|
|
|
789
787
|
switch (errorCode) {
|
|
790
788
|
case "AccessDeniedException":
|
|
791
789
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
792
|
-
throw await
|
|
790
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
793
791
|
case "ConflictException":
|
|
794
792
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
795
|
-
throw await
|
|
793
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
796
794
|
case "ResourceNotFoundException":
|
|
797
795
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
798
|
-
throw await
|
|
796
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
799
797
|
case "ServiceQuotaExceededException":
|
|
800
798
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
801
|
-
throw await
|
|
799
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
802
800
|
case "ThrottlingException":
|
|
803
801
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
804
|
-
throw await
|
|
802
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
805
803
|
case "ValidationException":
|
|
806
804
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
807
|
-
throw await
|
|
805
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
808
806
|
default:
|
|
809
807
|
const parsedBody = parsedOutput.body;
|
|
810
808
|
throwDefaultError({
|
|
@@ -815,9 +813,9 @@ const deserializeAws_restJson1DeleteAccessTokenCommandError = async (output, con
|
|
|
815
813
|
});
|
|
816
814
|
}
|
|
817
815
|
};
|
|
818
|
-
export const
|
|
816
|
+
export const de_DeleteDevEnvironmentCommand = async (output, context) => {
|
|
819
817
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
820
|
-
return
|
|
818
|
+
return de_DeleteDevEnvironmentCommandError(output, context);
|
|
821
819
|
}
|
|
822
820
|
const contents = map({
|
|
823
821
|
$metadata: deserializeMetadata(output),
|
|
@@ -834,7 +832,7 @@ export const deserializeAws_restJson1DeleteDevEnvironmentCommand = async (output
|
|
|
834
832
|
}
|
|
835
833
|
return contents;
|
|
836
834
|
};
|
|
837
|
-
const
|
|
835
|
+
const de_DeleteDevEnvironmentCommandError = async (output, context) => {
|
|
838
836
|
const parsedOutput = {
|
|
839
837
|
...output,
|
|
840
838
|
body: await parseErrorBody(output.body, context),
|
|
@@ -843,22 +841,22 @@ const deserializeAws_restJson1DeleteDevEnvironmentCommandError = async (output,
|
|
|
843
841
|
switch (errorCode) {
|
|
844
842
|
case "AccessDeniedException":
|
|
845
843
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
846
|
-
throw await
|
|
844
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
847
845
|
case "ConflictException":
|
|
848
846
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
849
|
-
throw await
|
|
847
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
850
848
|
case "ResourceNotFoundException":
|
|
851
849
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
852
|
-
throw await
|
|
850
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
853
851
|
case "ServiceQuotaExceededException":
|
|
854
852
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
855
|
-
throw await
|
|
853
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
856
854
|
case "ThrottlingException":
|
|
857
855
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
858
|
-
throw await
|
|
856
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
859
857
|
case "ValidationException":
|
|
860
858
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
861
|
-
throw await
|
|
859
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
862
860
|
default:
|
|
863
861
|
const parsedBody = parsedOutput.body;
|
|
864
862
|
throwDefaultError({
|
|
@@ -869,9 +867,9 @@ const deserializeAws_restJson1DeleteDevEnvironmentCommandError = async (output,
|
|
|
869
867
|
});
|
|
870
868
|
}
|
|
871
869
|
};
|
|
872
|
-
export const
|
|
870
|
+
export const de_GetDevEnvironmentCommand = async (output, context) => {
|
|
873
871
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
874
|
-
return
|
|
872
|
+
return de_GetDevEnvironmentCommandError(output, context);
|
|
875
873
|
}
|
|
876
874
|
const contents = map({
|
|
877
875
|
$metadata: deserializeMetadata(output),
|
|
@@ -887,7 +885,7 @@ export const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, c
|
|
|
887
885
|
contents.id = __expectString(data.id);
|
|
888
886
|
}
|
|
889
887
|
if (data.ides != null) {
|
|
890
|
-
contents.ides =
|
|
888
|
+
contents.ides = de_Ides(data.ides, context);
|
|
891
889
|
}
|
|
892
890
|
if (data.inactivityTimeoutMinutes != null) {
|
|
893
891
|
contents.inactivityTimeoutMinutes = __expectInt32(data.inactivityTimeoutMinutes);
|
|
@@ -899,13 +897,13 @@ export const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, c
|
|
|
899
897
|
contents.lastUpdatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedTime));
|
|
900
898
|
}
|
|
901
899
|
if (data.persistentStorage != null) {
|
|
902
|
-
contents.persistentStorage =
|
|
900
|
+
contents.persistentStorage = de_PersistentStorage(data.persistentStorage, context);
|
|
903
901
|
}
|
|
904
902
|
if (data.projectName != null) {
|
|
905
903
|
contents.projectName = __expectString(data.projectName);
|
|
906
904
|
}
|
|
907
905
|
if (data.repositories != null) {
|
|
908
|
-
contents.repositories =
|
|
906
|
+
contents.repositories = de_DevEnvironmentRepositorySummaries(data.repositories, context);
|
|
909
907
|
}
|
|
910
908
|
if (data.spaceName != null) {
|
|
911
909
|
contents.spaceName = __expectString(data.spaceName);
|
|
@@ -918,7 +916,7 @@ export const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, c
|
|
|
918
916
|
}
|
|
919
917
|
return contents;
|
|
920
918
|
};
|
|
921
|
-
const
|
|
919
|
+
const de_GetDevEnvironmentCommandError = async (output, context) => {
|
|
922
920
|
const parsedOutput = {
|
|
923
921
|
...output,
|
|
924
922
|
body: await parseErrorBody(output.body, context),
|
|
@@ -927,22 +925,22 @@ const deserializeAws_restJson1GetDevEnvironmentCommandError = async (output, con
|
|
|
927
925
|
switch (errorCode) {
|
|
928
926
|
case "AccessDeniedException":
|
|
929
927
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
930
|
-
throw await
|
|
928
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
931
929
|
case "ConflictException":
|
|
932
930
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
933
|
-
throw await
|
|
931
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
934
932
|
case "ResourceNotFoundException":
|
|
935
933
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
936
|
-
throw await
|
|
934
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
937
935
|
case "ServiceQuotaExceededException":
|
|
938
936
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
939
|
-
throw await
|
|
937
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
940
938
|
case "ThrottlingException":
|
|
941
939
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
942
|
-
throw await
|
|
940
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
943
941
|
case "ValidationException":
|
|
944
942
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
945
|
-
throw await
|
|
943
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
946
944
|
default:
|
|
947
945
|
const parsedBody = parsedOutput.body;
|
|
948
946
|
throwDefaultError({
|
|
@@ -953,9 +951,9 @@ const deserializeAws_restJson1GetDevEnvironmentCommandError = async (output, con
|
|
|
953
951
|
});
|
|
954
952
|
}
|
|
955
953
|
};
|
|
956
|
-
export const
|
|
954
|
+
export const de_GetProjectCommand = async (output, context) => {
|
|
957
955
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
958
|
-
return
|
|
956
|
+
return de_GetProjectCommandError(output, context);
|
|
959
957
|
}
|
|
960
958
|
const contents = map({
|
|
961
959
|
$metadata: deserializeMetadata(output),
|
|
@@ -975,7 +973,7 @@ export const deserializeAws_restJson1GetProjectCommand = async (output, context)
|
|
|
975
973
|
}
|
|
976
974
|
return contents;
|
|
977
975
|
};
|
|
978
|
-
const
|
|
976
|
+
const de_GetProjectCommandError = async (output, context) => {
|
|
979
977
|
const parsedOutput = {
|
|
980
978
|
...output,
|
|
981
979
|
body: await parseErrorBody(output.body, context),
|
|
@@ -984,22 +982,22 @@ const deserializeAws_restJson1GetProjectCommandError = async (output, context) =
|
|
|
984
982
|
switch (errorCode) {
|
|
985
983
|
case "AccessDeniedException":
|
|
986
984
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
987
|
-
throw await
|
|
985
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
988
986
|
case "ConflictException":
|
|
989
987
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
990
|
-
throw await
|
|
988
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
991
989
|
case "ResourceNotFoundException":
|
|
992
990
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
993
|
-
throw await
|
|
991
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
994
992
|
case "ServiceQuotaExceededException":
|
|
995
993
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
996
|
-
throw await
|
|
994
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
997
995
|
case "ThrottlingException":
|
|
998
996
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
999
|
-
throw await
|
|
997
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1000
998
|
case "ValidationException":
|
|
1001
999
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1002
|
-
throw await
|
|
1000
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1003
1001
|
default:
|
|
1004
1002
|
const parsedBody = parsedOutput.body;
|
|
1005
1003
|
throwDefaultError({
|
|
@@ -1010,9 +1008,9 @@ const deserializeAws_restJson1GetProjectCommandError = async (output, context) =
|
|
|
1010
1008
|
});
|
|
1011
1009
|
}
|
|
1012
1010
|
};
|
|
1013
|
-
export const
|
|
1011
|
+
export const de_GetSourceRepositoryCloneUrlsCommand = async (output, context) => {
|
|
1014
1012
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1015
|
-
return
|
|
1013
|
+
return de_GetSourceRepositoryCloneUrlsCommandError(output, context);
|
|
1016
1014
|
}
|
|
1017
1015
|
const contents = map({
|
|
1018
1016
|
$metadata: deserializeMetadata(output),
|
|
@@ -1023,7 +1021,7 @@ export const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async
|
|
|
1023
1021
|
}
|
|
1024
1022
|
return contents;
|
|
1025
1023
|
};
|
|
1026
|
-
const
|
|
1024
|
+
const de_GetSourceRepositoryCloneUrlsCommandError = async (output, context) => {
|
|
1027
1025
|
const parsedOutput = {
|
|
1028
1026
|
...output,
|
|
1029
1027
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1032,22 +1030,22 @@ const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError = async (
|
|
|
1032
1030
|
switch (errorCode) {
|
|
1033
1031
|
case "AccessDeniedException":
|
|
1034
1032
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1035
|
-
throw await
|
|
1033
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1036
1034
|
case "ConflictException":
|
|
1037
1035
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1038
|
-
throw await
|
|
1036
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1039
1037
|
case "ResourceNotFoundException":
|
|
1040
1038
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1041
|
-
throw await
|
|
1039
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1042
1040
|
case "ServiceQuotaExceededException":
|
|
1043
1041
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1044
|
-
throw await
|
|
1042
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1045
1043
|
case "ThrottlingException":
|
|
1046
1044
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1047
|
-
throw await
|
|
1045
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1048
1046
|
case "ValidationException":
|
|
1049
1047
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1050
|
-
throw await
|
|
1048
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1051
1049
|
default:
|
|
1052
1050
|
const parsedBody = parsedOutput.body;
|
|
1053
1051
|
throwDefaultError({
|
|
@@ -1058,9 +1056,9 @@ const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError = async (
|
|
|
1058
1056
|
});
|
|
1059
1057
|
}
|
|
1060
1058
|
};
|
|
1061
|
-
export const
|
|
1059
|
+
export const de_GetSpaceCommand = async (output, context) => {
|
|
1062
1060
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1063
|
-
return
|
|
1061
|
+
return de_GetSpaceCommandError(output, context);
|
|
1064
1062
|
}
|
|
1065
1063
|
const contents = map({
|
|
1066
1064
|
$metadata: deserializeMetadata(output),
|
|
@@ -1080,7 +1078,7 @@ export const deserializeAws_restJson1GetSpaceCommand = async (output, context) =
|
|
|
1080
1078
|
}
|
|
1081
1079
|
return contents;
|
|
1082
1080
|
};
|
|
1083
|
-
const
|
|
1081
|
+
const de_GetSpaceCommandError = async (output, context) => {
|
|
1084
1082
|
const parsedOutput = {
|
|
1085
1083
|
...output,
|
|
1086
1084
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1089,22 +1087,22 @@ const deserializeAws_restJson1GetSpaceCommandError = async (output, context) =>
|
|
|
1089
1087
|
switch (errorCode) {
|
|
1090
1088
|
case "AccessDeniedException":
|
|
1091
1089
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1092
|
-
throw await
|
|
1090
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1093
1091
|
case "ConflictException":
|
|
1094
1092
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1095
|
-
throw await
|
|
1093
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1096
1094
|
case "ResourceNotFoundException":
|
|
1097
1095
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1098
|
-
throw await
|
|
1096
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
1097
|
case "ServiceQuotaExceededException":
|
|
1100
1098
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1101
|
-
throw await
|
|
1099
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1102
1100
|
case "ThrottlingException":
|
|
1103
1101
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1104
|
-
throw await
|
|
1102
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1105
1103
|
case "ValidationException":
|
|
1106
1104
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1107
|
-
throw await
|
|
1105
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1108
1106
|
default:
|
|
1109
1107
|
const parsedBody = parsedOutput.body;
|
|
1110
1108
|
throwDefaultError({
|
|
@@ -1115,9 +1113,9 @@ const deserializeAws_restJson1GetSpaceCommandError = async (output, context) =>
|
|
|
1115
1113
|
});
|
|
1116
1114
|
}
|
|
1117
1115
|
};
|
|
1118
|
-
export const
|
|
1116
|
+
export const de_GetSubscriptionCommand = async (output, context) => {
|
|
1119
1117
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1120
|
-
return
|
|
1118
|
+
return de_GetSubscriptionCommandError(output, context);
|
|
1121
1119
|
}
|
|
1122
1120
|
const contents = map({
|
|
1123
1121
|
$metadata: deserializeMetadata(output),
|
|
@@ -1131,7 +1129,7 @@ export const deserializeAws_restJson1GetSubscriptionCommand = async (output, con
|
|
|
1131
1129
|
}
|
|
1132
1130
|
return contents;
|
|
1133
1131
|
};
|
|
1134
|
-
const
|
|
1132
|
+
const de_GetSubscriptionCommandError = async (output, context) => {
|
|
1135
1133
|
const parsedOutput = {
|
|
1136
1134
|
...output,
|
|
1137
1135
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1140,22 +1138,22 @@ const deserializeAws_restJson1GetSubscriptionCommandError = async (output, conte
|
|
|
1140
1138
|
switch (errorCode) {
|
|
1141
1139
|
case "AccessDeniedException":
|
|
1142
1140
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1143
|
-
throw await
|
|
1141
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1144
1142
|
case "ConflictException":
|
|
1145
1143
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1146
|
-
throw await
|
|
1144
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1147
1145
|
case "ResourceNotFoundException":
|
|
1148
1146
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1149
|
-
throw await
|
|
1147
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1150
1148
|
case "ServiceQuotaExceededException":
|
|
1151
1149
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1152
|
-
throw await
|
|
1150
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1153
1151
|
case "ThrottlingException":
|
|
1154
1152
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1155
|
-
throw await
|
|
1153
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1156
1154
|
case "ValidationException":
|
|
1157
1155
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1158
|
-
throw await
|
|
1156
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1159
1157
|
default:
|
|
1160
1158
|
const parsedBody = parsedOutput.body;
|
|
1161
1159
|
throwDefaultError({
|
|
@@ -1166,9 +1164,9 @@ const deserializeAws_restJson1GetSubscriptionCommandError = async (output, conte
|
|
|
1166
1164
|
});
|
|
1167
1165
|
}
|
|
1168
1166
|
};
|
|
1169
|
-
export const
|
|
1167
|
+
export const de_GetUserDetailsCommand = async (output, context) => {
|
|
1170
1168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
-
return
|
|
1169
|
+
return de_GetUserDetailsCommandError(output, context);
|
|
1172
1170
|
}
|
|
1173
1171
|
const contents = map({
|
|
1174
1172
|
$metadata: deserializeMetadata(output),
|
|
@@ -1178,7 +1176,7 @@ export const deserializeAws_restJson1GetUserDetailsCommand = async (output, cont
|
|
|
1178
1176
|
contents.displayName = __expectString(data.displayName);
|
|
1179
1177
|
}
|
|
1180
1178
|
if (data.primaryEmail != null) {
|
|
1181
|
-
contents.primaryEmail =
|
|
1179
|
+
contents.primaryEmail = de_EmailAddress(data.primaryEmail, context);
|
|
1182
1180
|
}
|
|
1183
1181
|
if (data.userId != null) {
|
|
1184
1182
|
contents.userId = __expectString(data.userId);
|
|
@@ -1191,7 +1189,7 @@ export const deserializeAws_restJson1GetUserDetailsCommand = async (output, cont
|
|
|
1191
1189
|
}
|
|
1192
1190
|
return contents;
|
|
1193
1191
|
};
|
|
1194
|
-
const
|
|
1192
|
+
const de_GetUserDetailsCommandError = async (output, context) => {
|
|
1195
1193
|
const parsedOutput = {
|
|
1196
1194
|
...output,
|
|
1197
1195
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1200,22 +1198,22 @@ const deserializeAws_restJson1GetUserDetailsCommandError = async (output, contex
|
|
|
1200
1198
|
switch (errorCode) {
|
|
1201
1199
|
case "AccessDeniedException":
|
|
1202
1200
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1203
|
-
throw await
|
|
1201
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1204
1202
|
case "ConflictException":
|
|
1205
1203
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1206
|
-
throw await
|
|
1204
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1207
1205
|
case "ResourceNotFoundException":
|
|
1208
1206
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1209
|
-
throw await
|
|
1207
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1210
1208
|
case "ServiceQuotaExceededException":
|
|
1211
1209
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1212
|
-
throw await
|
|
1210
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1213
1211
|
case "ThrottlingException":
|
|
1214
1212
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1215
|
-
throw await
|
|
1213
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1216
1214
|
case "ValidationException":
|
|
1217
1215
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1218
|
-
throw await
|
|
1216
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1219
1217
|
default:
|
|
1220
1218
|
const parsedBody = parsedOutput.body;
|
|
1221
1219
|
throwDefaultError({
|
|
@@ -1226,23 +1224,23 @@ const deserializeAws_restJson1GetUserDetailsCommandError = async (output, contex
|
|
|
1226
1224
|
});
|
|
1227
1225
|
}
|
|
1228
1226
|
};
|
|
1229
|
-
export const
|
|
1227
|
+
export const de_ListAccessTokensCommand = async (output, context) => {
|
|
1230
1228
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1231
|
-
return
|
|
1229
|
+
return de_ListAccessTokensCommandError(output, context);
|
|
1232
1230
|
}
|
|
1233
1231
|
const contents = map({
|
|
1234
1232
|
$metadata: deserializeMetadata(output),
|
|
1235
1233
|
});
|
|
1236
1234
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1237
1235
|
if (data.items != null) {
|
|
1238
|
-
contents.items =
|
|
1236
|
+
contents.items = de_AccessTokenSummaries(data.items, context);
|
|
1239
1237
|
}
|
|
1240
1238
|
if (data.nextToken != null) {
|
|
1241
1239
|
contents.nextToken = __expectString(data.nextToken);
|
|
1242
1240
|
}
|
|
1243
1241
|
return contents;
|
|
1244
1242
|
};
|
|
1245
|
-
const
|
|
1243
|
+
const de_ListAccessTokensCommandError = async (output, context) => {
|
|
1246
1244
|
const parsedOutput = {
|
|
1247
1245
|
...output,
|
|
1248
1246
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1251,22 +1249,22 @@ const deserializeAws_restJson1ListAccessTokensCommandError = async (output, cont
|
|
|
1251
1249
|
switch (errorCode) {
|
|
1252
1250
|
case "AccessDeniedException":
|
|
1253
1251
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1254
|
-
throw await
|
|
1252
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1255
1253
|
case "ConflictException":
|
|
1256
1254
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1257
|
-
throw await
|
|
1255
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1258
1256
|
case "ResourceNotFoundException":
|
|
1259
1257
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1260
|
-
throw await
|
|
1258
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1261
1259
|
case "ServiceQuotaExceededException":
|
|
1262
1260
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1263
|
-
throw await
|
|
1261
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1264
1262
|
case "ThrottlingException":
|
|
1265
1263
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1266
|
-
throw await
|
|
1264
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1267
1265
|
case "ValidationException":
|
|
1268
1266
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1269
|
-
throw await
|
|
1267
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1270
1268
|
default:
|
|
1271
1269
|
const parsedBody = parsedOutput.body;
|
|
1272
1270
|
throwDefaultError({
|
|
@@ -1277,23 +1275,23 @@ const deserializeAws_restJson1ListAccessTokensCommandError = async (output, cont
|
|
|
1277
1275
|
});
|
|
1278
1276
|
}
|
|
1279
1277
|
};
|
|
1280
|
-
export const
|
|
1278
|
+
export const de_ListDevEnvironmentsCommand = async (output, context) => {
|
|
1281
1279
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1282
|
-
return
|
|
1280
|
+
return de_ListDevEnvironmentsCommandError(output, context);
|
|
1283
1281
|
}
|
|
1284
1282
|
const contents = map({
|
|
1285
1283
|
$metadata: deserializeMetadata(output),
|
|
1286
1284
|
});
|
|
1287
1285
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1288
1286
|
if (data.items != null) {
|
|
1289
|
-
contents.items =
|
|
1287
|
+
contents.items = de_DevEnvironmentSummaryList(data.items, context);
|
|
1290
1288
|
}
|
|
1291
1289
|
if (data.nextToken != null) {
|
|
1292
1290
|
contents.nextToken = __expectString(data.nextToken);
|
|
1293
1291
|
}
|
|
1294
1292
|
return contents;
|
|
1295
1293
|
};
|
|
1296
|
-
const
|
|
1294
|
+
const de_ListDevEnvironmentsCommandError = async (output, context) => {
|
|
1297
1295
|
const parsedOutput = {
|
|
1298
1296
|
...output,
|
|
1299
1297
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1302,22 +1300,22 @@ const deserializeAws_restJson1ListDevEnvironmentsCommandError = async (output, c
|
|
|
1302
1300
|
switch (errorCode) {
|
|
1303
1301
|
case "AccessDeniedException":
|
|
1304
1302
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1305
|
-
throw await
|
|
1303
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1306
1304
|
case "ConflictException":
|
|
1307
1305
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1308
|
-
throw await
|
|
1306
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1309
1307
|
case "ResourceNotFoundException":
|
|
1310
1308
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1311
|
-
throw await
|
|
1309
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1312
1310
|
case "ServiceQuotaExceededException":
|
|
1313
1311
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1314
|
-
throw await
|
|
1312
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1315
1313
|
case "ThrottlingException":
|
|
1316
1314
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1317
|
-
throw await
|
|
1315
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1318
1316
|
case "ValidationException":
|
|
1319
1317
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1320
|
-
throw await
|
|
1318
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1321
1319
|
default:
|
|
1322
1320
|
const parsedBody = parsedOutput.body;
|
|
1323
1321
|
throwDefaultError({
|
|
@@ -1328,23 +1326,23 @@ const deserializeAws_restJson1ListDevEnvironmentsCommandError = async (output, c
|
|
|
1328
1326
|
});
|
|
1329
1327
|
}
|
|
1330
1328
|
};
|
|
1331
|
-
export const
|
|
1329
|
+
export const de_ListEventLogsCommand = async (output, context) => {
|
|
1332
1330
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1333
|
-
return
|
|
1331
|
+
return de_ListEventLogsCommandError(output, context);
|
|
1334
1332
|
}
|
|
1335
1333
|
const contents = map({
|
|
1336
1334
|
$metadata: deserializeMetadata(output),
|
|
1337
1335
|
});
|
|
1338
1336
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1339
1337
|
if (data.items != null) {
|
|
1340
|
-
contents.items =
|
|
1338
|
+
contents.items = de_EventLogEntries(data.items, context);
|
|
1341
1339
|
}
|
|
1342
1340
|
if (data.nextToken != null) {
|
|
1343
1341
|
contents.nextToken = __expectString(data.nextToken);
|
|
1344
1342
|
}
|
|
1345
1343
|
return contents;
|
|
1346
1344
|
};
|
|
1347
|
-
const
|
|
1345
|
+
const de_ListEventLogsCommandError = async (output, context) => {
|
|
1348
1346
|
const parsedOutput = {
|
|
1349
1347
|
...output,
|
|
1350
1348
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1353,22 +1351,22 @@ const deserializeAws_restJson1ListEventLogsCommandError = async (output, context
|
|
|
1353
1351
|
switch (errorCode) {
|
|
1354
1352
|
case "AccessDeniedException":
|
|
1355
1353
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1356
|
-
throw await
|
|
1354
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1357
1355
|
case "ConflictException":
|
|
1358
1356
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1359
|
-
throw await
|
|
1357
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1360
1358
|
case "ResourceNotFoundException":
|
|
1361
1359
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1362
|
-
throw await
|
|
1360
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1363
1361
|
case "ServiceQuotaExceededException":
|
|
1364
1362
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1365
|
-
throw await
|
|
1363
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1366
1364
|
case "ThrottlingException":
|
|
1367
1365
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1368
|
-
throw await
|
|
1366
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1369
1367
|
case "ValidationException":
|
|
1370
1368
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1371
|
-
throw await
|
|
1369
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1372
1370
|
default:
|
|
1373
1371
|
const parsedBody = parsedOutput.body;
|
|
1374
1372
|
throwDefaultError({
|
|
@@ -1379,23 +1377,23 @@ const deserializeAws_restJson1ListEventLogsCommandError = async (output, context
|
|
|
1379
1377
|
});
|
|
1380
1378
|
}
|
|
1381
1379
|
};
|
|
1382
|
-
export const
|
|
1380
|
+
export const de_ListProjectsCommand = async (output, context) => {
|
|
1383
1381
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1384
|
-
return
|
|
1382
|
+
return de_ListProjectsCommandError(output, context);
|
|
1385
1383
|
}
|
|
1386
1384
|
const contents = map({
|
|
1387
1385
|
$metadata: deserializeMetadata(output),
|
|
1388
1386
|
});
|
|
1389
1387
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1390
1388
|
if (data.items != null) {
|
|
1391
|
-
contents.items =
|
|
1389
|
+
contents.items = de_ProjectSummaries(data.items, context);
|
|
1392
1390
|
}
|
|
1393
1391
|
if (data.nextToken != null) {
|
|
1394
1392
|
contents.nextToken = __expectString(data.nextToken);
|
|
1395
1393
|
}
|
|
1396
1394
|
return contents;
|
|
1397
1395
|
};
|
|
1398
|
-
const
|
|
1396
|
+
const de_ListProjectsCommandError = async (output, context) => {
|
|
1399
1397
|
const parsedOutput = {
|
|
1400
1398
|
...output,
|
|
1401
1399
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1404,22 +1402,22 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
|
|
|
1404
1402
|
switch (errorCode) {
|
|
1405
1403
|
case "AccessDeniedException":
|
|
1406
1404
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1407
|
-
throw await
|
|
1405
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1408
1406
|
case "ConflictException":
|
|
1409
1407
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1410
|
-
throw await
|
|
1408
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1411
1409
|
case "ResourceNotFoundException":
|
|
1412
1410
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1413
|
-
throw await
|
|
1411
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1414
1412
|
case "ServiceQuotaExceededException":
|
|
1415
1413
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1416
|
-
throw await
|
|
1414
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1417
1415
|
case "ThrottlingException":
|
|
1418
1416
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1419
|
-
throw await
|
|
1417
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1420
1418
|
case "ValidationException":
|
|
1421
1419
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1422
|
-
throw await
|
|
1420
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1423
1421
|
default:
|
|
1424
1422
|
const parsedBody = parsedOutput.body;
|
|
1425
1423
|
throwDefaultError({
|
|
@@ -1430,23 +1428,23 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
|
|
|
1430
1428
|
});
|
|
1431
1429
|
}
|
|
1432
1430
|
};
|
|
1433
|
-
export const
|
|
1431
|
+
export const de_ListSourceRepositoriesCommand = async (output, context) => {
|
|
1434
1432
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1435
|
-
return
|
|
1433
|
+
return de_ListSourceRepositoriesCommandError(output, context);
|
|
1436
1434
|
}
|
|
1437
1435
|
const contents = map({
|
|
1438
1436
|
$metadata: deserializeMetadata(output),
|
|
1439
1437
|
});
|
|
1440
1438
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1441
1439
|
if (data.items != null) {
|
|
1442
|
-
contents.items =
|
|
1440
|
+
contents.items = de_ListSourceRepositoriesItems(data.items, context);
|
|
1443
1441
|
}
|
|
1444
1442
|
if (data.nextToken != null) {
|
|
1445
1443
|
contents.nextToken = __expectString(data.nextToken);
|
|
1446
1444
|
}
|
|
1447
1445
|
return contents;
|
|
1448
1446
|
};
|
|
1449
|
-
const
|
|
1447
|
+
const de_ListSourceRepositoriesCommandError = async (output, context) => {
|
|
1450
1448
|
const parsedOutput = {
|
|
1451
1449
|
...output,
|
|
1452
1450
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1455,22 +1453,22 @@ const deserializeAws_restJson1ListSourceRepositoriesCommandError = async (output
|
|
|
1455
1453
|
switch (errorCode) {
|
|
1456
1454
|
case "AccessDeniedException":
|
|
1457
1455
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1458
|
-
throw await
|
|
1456
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1459
1457
|
case "ConflictException":
|
|
1460
1458
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1461
|
-
throw await
|
|
1459
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1462
1460
|
case "ResourceNotFoundException":
|
|
1463
1461
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1464
|
-
throw await
|
|
1462
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1465
1463
|
case "ServiceQuotaExceededException":
|
|
1466
1464
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1467
|
-
throw await
|
|
1465
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1468
1466
|
case "ThrottlingException":
|
|
1469
1467
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1470
|
-
throw await
|
|
1468
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1471
1469
|
case "ValidationException":
|
|
1472
1470
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1473
|
-
throw await
|
|
1471
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1474
1472
|
default:
|
|
1475
1473
|
const parsedBody = parsedOutput.body;
|
|
1476
1474
|
throwDefaultError({
|
|
@@ -1481,23 +1479,23 @@ const deserializeAws_restJson1ListSourceRepositoriesCommandError = async (output
|
|
|
1481
1479
|
});
|
|
1482
1480
|
}
|
|
1483
1481
|
};
|
|
1484
|
-
export const
|
|
1482
|
+
export const de_ListSourceRepositoryBranchesCommand = async (output, context) => {
|
|
1485
1483
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1486
|
-
return
|
|
1484
|
+
return de_ListSourceRepositoryBranchesCommandError(output, context);
|
|
1487
1485
|
}
|
|
1488
1486
|
const contents = map({
|
|
1489
1487
|
$metadata: deserializeMetadata(output),
|
|
1490
1488
|
});
|
|
1491
1489
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1492
1490
|
if (data.items != null) {
|
|
1493
|
-
contents.items =
|
|
1491
|
+
contents.items = de_ListSourceRepositoryBranchesItems(data.items, context);
|
|
1494
1492
|
}
|
|
1495
1493
|
if (data.nextToken != null) {
|
|
1496
1494
|
contents.nextToken = __expectString(data.nextToken);
|
|
1497
1495
|
}
|
|
1498
1496
|
return contents;
|
|
1499
1497
|
};
|
|
1500
|
-
const
|
|
1498
|
+
const de_ListSourceRepositoryBranchesCommandError = async (output, context) => {
|
|
1501
1499
|
const parsedOutput = {
|
|
1502
1500
|
...output,
|
|
1503
1501
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1506,22 +1504,22 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesCommandError = async (
|
|
|
1506
1504
|
switch (errorCode) {
|
|
1507
1505
|
case "AccessDeniedException":
|
|
1508
1506
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1509
|
-
throw await
|
|
1507
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1510
1508
|
case "ConflictException":
|
|
1511
1509
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1512
|
-
throw await
|
|
1510
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1513
1511
|
case "ResourceNotFoundException":
|
|
1514
1512
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1515
|
-
throw await
|
|
1513
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1516
1514
|
case "ServiceQuotaExceededException":
|
|
1517
1515
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1518
|
-
throw await
|
|
1516
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1519
1517
|
case "ThrottlingException":
|
|
1520
1518
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1521
|
-
throw await
|
|
1519
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1522
1520
|
case "ValidationException":
|
|
1523
1521
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1524
|
-
throw await
|
|
1522
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1525
1523
|
default:
|
|
1526
1524
|
const parsedBody = parsedOutput.body;
|
|
1527
1525
|
throwDefaultError({
|
|
@@ -1532,23 +1530,23 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesCommandError = async (
|
|
|
1532
1530
|
});
|
|
1533
1531
|
}
|
|
1534
1532
|
};
|
|
1535
|
-
export const
|
|
1533
|
+
export const de_ListSpacesCommand = async (output, context) => {
|
|
1536
1534
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1537
|
-
return
|
|
1535
|
+
return de_ListSpacesCommandError(output, context);
|
|
1538
1536
|
}
|
|
1539
1537
|
const contents = map({
|
|
1540
1538
|
$metadata: deserializeMetadata(output),
|
|
1541
1539
|
});
|
|
1542
1540
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1543
1541
|
if (data.items != null) {
|
|
1544
|
-
contents.items =
|
|
1542
|
+
contents.items = de_SpaceSummaries(data.items, context);
|
|
1545
1543
|
}
|
|
1546
1544
|
if (data.nextToken != null) {
|
|
1547
1545
|
contents.nextToken = __expectString(data.nextToken);
|
|
1548
1546
|
}
|
|
1549
1547
|
return contents;
|
|
1550
1548
|
};
|
|
1551
|
-
const
|
|
1549
|
+
const de_ListSpacesCommandError = async (output, context) => {
|
|
1552
1550
|
const parsedOutput = {
|
|
1553
1551
|
...output,
|
|
1554
1552
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1557,22 +1555,22 @@ const deserializeAws_restJson1ListSpacesCommandError = async (output, context) =
|
|
|
1557
1555
|
switch (errorCode) {
|
|
1558
1556
|
case "AccessDeniedException":
|
|
1559
1557
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1560
|
-
throw await
|
|
1558
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1561
1559
|
case "ConflictException":
|
|
1562
1560
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1563
|
-
throw await
|
|
1561
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1564
1562
|
case "ResourceNotFoundException":
|
|
1565
1563
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1566
|
-
throw await
|
|
1564
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1567
1565
|
case "ServiceQuotaExceededException":
|
|
1568
1566
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1569
|
-
throw await
|
|
1567
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1570
1568
|
case "ThrottlingException":
|
|
1571
1569
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1572
|
-
throw await
|
|
1570
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1573
1571
|
case "ValidationException":
|
|
1574
1572
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1575
|
-
throw await
|
|
1573
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1576
1574
|
default:
|
|
1577
1575
|
const parsedBody = parsedOutput.body;
|
|
1578
1576
|
throwDefaultError({
|
|
@@ -1583,9 +1581,9 @@ const deserializeAws_restJson1ListSpacesCommandError = async (output, context) =
|
|
|
1583
1581
|
});
|
|
1584
1582
|
}
|
|
1585
1583
|
};
|
|
1586
|
-
export const
|
|
1584
|
+
export const de_StartDevEnvironmentCommand = async (output, context) => {
|
|
1587
1585
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1588
|
-
return
|
|
1586
|
+
return de_StartDevEnvironmentCommandError(output, context);
|
|
1589
1587
|
}
|
|
1590
1588
|
const contents = map({
|
|
1591
1589
|
$metadata: deserializeMetadata(output),
|
|
@@ -1605,7 +1603,7 @@ export const deserializeAws_restJson1StartDevEnvironmentCommand = async (output,
|
|
|
1605
1603
|
}
|
|
1606
1604
|
return contents;
|
|
1607
1605
|
};
|
|
1608
|
-
const
|
|
1606
|
+
const de_StartDevEnvironmentCommandError = async (output, context) => {
|
|
1609
1607
|
const parsedOutput = {
|
|
1610
1608
|
...output,
|
|
1611
1609
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1614,22 +1612,22 @@ const deserializeAws_restJson1StartDevEnvironmentCommandError = async (output, c
|
|
|
1614
1612
|
switch (errorCode) {
|
|
1615
1613
|
case "AccessDeniedException":
|
|
1616
1614
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1617
|
-
throw await
|
|
1615
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1618
1616
|
case "ConflictException":
|
|
1619
1617
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1620
|
-
throw await
|
|
1618
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1621
1619
|
case "ResourceNotFoundException":
|
|
1622
1620
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1623
|
-
throw await
|
|
1621
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1624
1622
|
case "ServiceQuotaExceededException":
|
|
1625
1623
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1626
|
-
throw await
|
|
1624
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1627
1625
|
case "ThrottlingException":
|
|
1628
1626
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1629
|
-
throw await
|
|
1627
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1630
1628
|
case "ValidationException":
|
|
1631
1629
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1632
|
-
throw await
|
|
1630
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1633
1631
|
default:
|
|
1634
1632
|
const parsedBody = parsedOutput.body;
|
|
1635
1633
|
throwDefaultError({
|
|
@@ -1640,16 +1638,16 @@ const deserializeAws_restJson1StartDevEnvironmentCommandError = async (output, c
|
|
|
1640
1638
|
});
|
|
1641
1639
|
}
|
|
1642
1640
|
};
|
|
1643
|
-
export const
|
|
1641
|
+
export const de_StartDevEnvironmentSessionCommand = async (output, context) => {
|
|
1644
1642
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1645
|
-
return
|
|
1643
|
+
return de_StartDevEnvironmentSessionCommandError(output, context);
|
|
1646
1644
|
}
|
|
1647
1645
|
const contents = map({
|
|
1648
1646
|
$metadata: deserializeMetadata(output),
|
|
1649
1647
|
});
|
|
1650
1648
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1651
1649
|
if (data.accessDetails != null) {
|
|
1652
|
-
contents.accessDetails =
|
|
1650
|
+
contents.accessDetails = de_DevEnvironmentAccessDetails(data.accessDetails, context);
|
|
1653
1651
|
}
|
|
1654
1652
|
if (data.id != null) {
|
|
1655
1653
|
contents.id = __expectString(data.id);
|
|
@@ -1665,7 +1663,7 @@ export const deserializeAws_restJson1StartDevEnvironmentSessionCommand = async (
|
|
|
1665
1663
|
}
|
|
1666
1664
|
return contents;
|
|
1667
1665
|
};
|
|
1668
|
-
const
|
|
1666
|
+
const de_StartDevEnvironmentSessionCommandError = async (output, context) => {
|
|
1669
1667
|
const parsedOutput = {
|
|
1670
1668
|
...output,
|
|
1671
1669
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1674,22 +1672,22 @@ const deserializeAws_restJson1StartDevEnvironmentSessionCommandError = async (ou
|
|
|
1674
1672
|
switch (errorCode) {
|
|
1675
1673
|
case "AccessDeniedException":
|
|
1676
1674
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1677
|
-
throw await
|
|
1675
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1678
1676
|
case "ConflictException":
|
|
1679
1677
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1680
|
-
throw await
|
|
1678
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1681
1679
|
case "ResourceNotFoundException":
|
|
1682
1680
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1683
|
-
throw await
|
|
1681
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1684
1682
|
case "ServiceQuotaExceededException":
|
|
1685
1683
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1686
|
-
throw await
|
|
1684
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1687
1685
|
case "ThrottlingException":
|
|
1688
1686
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1689
|
-
throw await
|
|
1687
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1690
1688
|
case "ValidationException":
|
|
1691
1689
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1692
|
-
throw await
|
|
1690
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1693
1691
|
default:
|
|
1694
1692
|
const parsedBody = parsedOutput.body;
|
|
1695
1693
|
throwDefaultError({
|
|
@@ -1700,9 +1698,9 @@ const deserializeAws_restJson1StartDevEnvironmentSessionCommandError = async (ou
|
|
|
1700
1698
|
});
|
|
1701
1699
|
}
|
|
1702
1700
|
};
|
|
1703
|
-
export const
|
|
1701
|
+
export const de_StopDevEnvironmentCommand = async (output, context) => {
|
|
1704
1702
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1705
|
-
return
|
|
1703
|
+
return de_StopDevEnvironmentCommandError(output, context);
|
|
1706
1704
|
}
|
|
1707
1705
|
const contents = map({
|
|
1708
1706
|
$metadata: deserializeMetadata(output),
|
|
@@ -1722,7 +1720,7 @@ export const deserializeAws_restJson1StopDevEnvironmentCommand = async (output,
|
|
|
1722
1720
|
}
|
|
1723
1721
|
return contents;
|
|
1724
1722
|
};
|
|
1725
|
-
const
|
|
1723
|
+
const de_StopDevEnvironmentCommandError = async (output, context) => {
|
|
1726
1724
|
const parsedOutput = {
|
|
1727
1725
|
...output,
|
|
1728
1726
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1731,22 +1729,22 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
|
|
|
1731
1729
|
switch (errorCode) {
|
|
1732
1730
|
case "AccessDeniedException":
|
|
1733
1731
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1734
|
-
throw await
|
|
1732
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1735
1733
|
case "ConflictException":
|
|
1736
1734
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1737
|
-
throw await
|
|
1735
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1738
1736
|
case "ResourceNotFoundException":
|
|
1739
1737
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1740
|
-
throw await
|
|
1738
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1741
1739
|
case "ServiceQuotaExceededException":
|
|
1742
1740
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1743
|
-
throw await
|
|
1741
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1744
1742
|
case "ThrottlingException":
|
|
1745
1743
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1746
|
-
throw await
|
|
1744
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1747
1745
|
case "ValidationException":
|
|
1748
1746
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1749
|
-
throw await
|
|
1747
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1750
1748
|
default:
|
|
1751
1749
|
const parsedBody = parsedOutput.body;
|
|
1752
1750
|
throwDefaultError({
|
|
@@ -1757,9 +1755,9 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
|
|
|
1757
1755
|
});
|
|
1758
1756
|
}
|
|
1759
1757
|
};
|
|
1760
|
-
export const
|
|
1758
|
+
export const de_StopDevEnvironmentSessionCommand = async (output, context) => {
|
|
1761
1759
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1762
|
-
return
|
|
1760
|
+
return de_StopDevEnvironmentSessionCommandError(output, context);
|
|
1763
1761
|
}
|
|
1764
1762
|
const contents = map({
|
|
1765
1763
|
$metadata: deserializeMetadata(output),
|
|
@@ -1779,7 +1777,7 @@ export const deserializeAws_restJson1StopDevEnvironmentSessionCommand = async (o
|
|
|
1779
1777
|
}
|
|
1780
1778
|
return contents;
|
|
1781
1779
|
};
|
|
1782
|
-
const
|
|
1780
|
+
const de_StopDevEnvironmentSessionCommandError = async (output, context) => {
|
|
1783
1781
|
const parsedOutput = {
|
|
1784
1782
|
...output,
|
|
1785
1783
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1788,22 +1786,22 @@ const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (out
|
|
|
1788
1786
|
switch (errorCode) {
|
|
1789
1787
|
case "AccessDeniedException":
|
|
1790
1788
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1791
|
-
throw await
|
|
1789
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1792
1790
|
case "ConflictException":
|
|
1793
1791
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1794
|
-
throw await
|
|
1792
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1795
1793
|
case "ResourceNotFoundException":
|
|
1796
1794
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1797
|
-
throw await
|
|
1795
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1798
1796
|
case "ServiceQuotaExceededException":
|
|
1799
1797
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1800
|
-
throw await
|
|
1798
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1801
1799
|
case "ThrottlingException":
|
|
1802
1800
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1803
|
-
throw await
|
|
1801
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1804
1802
|
case "ValidationException":
|
|
1805
1803
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1806
|
-
throw await
|
|
1804
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1807
1805
|
default:
|
|
1808
1806
|
const parsedBody = parsedOutput.body;
|
|
1809
1807
|
throwDefaultError({
|
|
@@ -1814,9 +1812,9 @@ const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (out
|
|
|
1814
1812
|
});
|
|
1815
1813
|
}
|
|
1816
1814
|
};
|
|
1817
|
-
export const
|
|
1815
|
+
export const de_UpdateDevEnvironmentCommand = async (output, context) => {
|
|
1818
1816
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1819
|
-
return
|
|
1817
|
+
return de_UpdateDevEnvironmentCommandError(output, context);
|
|
1820
1818
|
}
|
|
1821
1819
|
const contents = map({
|
|
1822
1820
|
$metadata: deserializeMetadata(output),
|
|
@@ -1832,7 +1830,7 @@ export const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output
|
|
|
1832
1830
|
contents.id = __expectString(data.id);
|
|
1833
1831
|
}
|
|
1834
1832
|
if (data.ides != null) {
|
|
1835
|
-
contents.ides =
|
|
1833
|
+
contents.ides = de_IdeConfigurationList(data.ides, context);
|
|
1836
1834
|
}
|
|
1837
1835
|
if (data.inactivityTimeoutMinutes != null) {
|
|
1838
1836
|
contents.inactivityTimeoutMinutes = __expectInt32(data.inactivityTimeoutMinutes);
|
|
@@ -1848,7 +1846,7 @@ export const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output
|
|
|
1848
1846
|
}
|
|
1849
1847
|
return contents;
|
|
1850
1848
|
};
|
|
1851
|
-
const
|
|
1849
|
+
const de_UpdateDevEnvironmentCommandError = async (output, context) => {
|
|
1852
1850
|
const parsedOutput = {
|
|
1853
1851
|
...output,
|
|
1854
1852
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1857,22 +1855,22 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommandError = async (output,
|
|
|
1857
1855
|
switch (errorCode) {
|
|
1858
1856
|
case "AccessDeniedException":
|
|
1859
1857
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1860
|
-
throw await
|
|
1858
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1861
1859
|
case "ConflictException":
|
|
1862
1860
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1863
|
-
throw await
|
|
1861
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1864
1862
|
case "ResourceNotFoundException":
|
|
1865
1863
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1866
|
-
throw await
|
|
1864
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1867
1865
|
case "ServiceQuotaExceededException":
|
|
1868
1866
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1869
|
-
throw await
|
|
1867
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1870
1868
|
case "ThrottlingException":
|
|
1871
1869
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1872
|
-
throw await
|
|
1870
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1873
1871
|
case "ValidationException":
|
|
1874
1872
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1875
|
-
throw await
|
|
1873
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1876
1874
|
default:
|
|
1877
1875
|
const parsedBody = parsedOutput.body;
|
|
1878
1876
|
throwDefaultError({
|
|
@@ -1883,9 +1881,9 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommandError = async (output,
|
|
|
1883
1881
|
});
|
|
1884
1882
|
}
|
|
1885
1883
|
};
|
|
1886
|
-
export const
|
|
1884
|
+
export const de_VerifySessionCommand = async (output, context) => {
|
|
1887
1885
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1888
|
-
return
|
|
1886
|
+
return de_VerifySessionCommandError(output, context);
|
|
1889
1887
|
}
|
|
1890
1888
|
const contents = map({
|
|
1891
1889
|
$metadata: deserializeMetadata(output),
|
|
@@ -1896,7 +1894,7 @@ export const deserializeAws_restJson1VerifySessionCommand = async (output, conte
|
|
|
1896
1894
|
}
|
|
1897
1895
|
return contents;
|
|
1898
1896
|
};
|
|
1899
|
-
const
|
|
1897
|
+
const de_VerifySessionCommandError = async (output, context) => {
|
|
1900
1898
|
const parsedOutput = {
|
|
1901
1899
|
...output,
|
|
1902
1900
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1905,22 +1903,22 @@ const deserializeAws_restJson1VerifySessionCommandError = async (output, context
|
|
|
1905
1903
|
switch (errorCode) {
|
|
1906
1904
|
case "AccessDeniedException":
|
|
1907
1905
|
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1908
|
-
throw await
|
|
1906
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1909
1907
|
case "ConflictException":
|
|
1910
1908
|
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1911
|
-
throw await
|
|
1909
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1912
1910
|
case "ResourceNotFoundException":
|
|
1913
1911
|
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1914
|
-
throw await
|
|
1912
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1915
1913
|
case "ServiceQuotaExceededException":
|
|
1916
1914
|
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1917
|
-
throw await
|
|
1915
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1918
1916
|
case "ThrottlingException":
|
|
1919
1917
|
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1920
|
-
throw await
|
|
1918
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1921
1919
|
case "ValidationException":
|
|
1922
1920
|
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1923
|
-
throw await
|
|
1921
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1924
1922
|
default:
|
|
1925
1923
|
const parsedBody = parsedOutput.body;
|
|
1926
1924
|
throwDefaultError({
|
|
@@ -1932,7 +1930,7 @@ const deserializeAws_restJson1VerifySessionCommandError = async (output, context
|
|
|
1932
1930
|
}
|
|
1933
1931
|
};
|
|
1934
1932
|
const map = __map;
|
|
1935
|
-
const
|
|
1933
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1936
1934
|
const contents = map({});
|
|
1937
1935
|
const data = parsedOutput.body;
|
|
1938
1936
|
if (data.message != null) {
|
|
@@ -1944,7 +1942,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
1944
1942
|
});
|
|
1945
1943
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1946
1944
|
};
|
|
1947
|
-
const
|
|
1945
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1948
1946
|
const contents = map({});
|
|
1949
1947
|
const data = parsedOutput.body;
|
|
1950
1948
|
if (data.message != null) {
|
|
@@ -1956,7 +1954,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1956
1954
|
});
|
|
1957
1955
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1958
1956
|
};
|
|
1959
|
-
const
|
|
1957
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1960
1958
|
const contents = map({});
|
|
1961
1959
|
const data = parsedOutput.body;
|
|
1962
1960
|
if (data.message != null) {
|
|
@@ -1968,7 +1966,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
1968
1966
|
});
|
|
1969
1967
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1970
1968
|
};
|
|
1971
|
-
const
|
|
1969
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1972
1970
|
const contents = map({});
|
|
1973
1971
|
const data = parsedOutput.body;
|
|
1974
1972
|
if (data.message != null) {
|
|
@@ -1980,7 +1978,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
1980
1978
|
});
|
|
1981
1979
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1982
1980
|
};
|
|
1983
|
-
const
|
|
1981
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1984
1982
|
const contents = map({});
|
|
1985
1983
|
const data = parsedOutput.body;
|
|
1986
1984
|
if (data.message != null) {
|
|
@@ -1992,7 +1990,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
1992
1990
|
});
|
|
1993
1991
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1994
1992
|
};
|
|
1995
|
-
const
|
|
1993
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1996
1994
|
const contents = map({});
|
|
1997
1995
|
const data = parsedOutput.body;
|
|
1998
1996
|
if (data.message != null) {
|
|
@@ -2004,188 +2002,184 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2004
2002
|
});
|
|
2005
2003
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2006
2004
|
};
|
|
2007
|
-
const
|
|
2005
|
+
const se_DevEnvironmentSessionConfiguration = (input, context) => {
|
|
2008
2006
|
return {
|
|
2009
2007
|
...(input.executeCommandSessionConfiguration != null && {
|
|
2010
|
-
executeCommandSessionConfiguration:
|
|
2008
|
+
executeCommandSessionConfiguration: se_ExecuteCommandSessionConfiguration(input.executeCommandSessionConfiguration, context),
|
|
2011
2009
|
}),
|
|
2012
2010
|
...(input.sessionType != null && { sessionType: input.sessionType }),
|
|
2013
2011
|
};
|
|
2014
2012
|
};
|
|
2015
|
-
const
|
|
2013
|
+
const se_ExecuteCommandSessionConfiguration = (input, context) => {
|
|
2016
2014
|
return {
|
|
2017
2015
|
...(input.arguments != null && {
|
|
2018
|
-
arguments:
|
|
2016
|
+
arguments: se_ExecuteCommandSessionConfigurationArguments(input.arguments, context),
|
|
2019
2017
|
}),
|
|
2020
2018
|
...(input.command != null && { command: input.command }),
|
|
2021
2019
|
};
|
|
2022
2020
|
};
|
|
2023
|
-
const
|
|
2021
|
+
const se_ExecuteCommandSessionConfigurationArguments = (input, context) => {
|
|
2024
2022
|
return input
|
|
2025
2023
|
.filter((e) => e != null)
|
|
2026
2024
|
.map((entry) => {
|
|
2027
2025
|
return entry;
|
|
2028
2026
|
});
|
|
2029
2027
|
};
|
|
2030
|
-
const
|
|
2028
|
+
const se_Filter = (input, context) => {
|
|
2031
2029
|
return {
|
|
2032
2030
|
...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
|
|
2033
2031
|
...(input.key != null && { key: input.key }),
|
|
2034
|
-
...(input.values != null && { values:
|
|
2032
|
+
...(input.values != null && { values: se_StringList(input.values, context) }),
|
|
2035
2033
|
};
|
|
2036
2034
|
};
|
|
2037
|
-
const
|
|
2035
|
+
const se_Filters = (input, context) => {
|
|
2038
2036
|
return input
|
|
2039
2037
|
.filter((e) => e != null)
|
|
2040
2038
|
.map((entry) => {
|
|
2041
|
-
return
|
|
2039
|
+
return se_Filter(entry, context);
|
|
2042
2040
|
});
|
|
2043
2041
|
};
|
|
2044
|
-
const
|
|
2042
|
+
const se_IdeConfiguration = (input, context) => {
|
|
2045
2043
|
return {
|
|
2046
2044
|
...(input.name != null && { name: input.name }),
|
|
2047
2045
|
...(input.runtime != null && { runtime: input.runtime }),
|
|
2048
2046
|
};
|
|
2049
2047
|
};
|
|
2050
|
-
const
|
|
2048
|
+
const se_IdeConfigurationList = (input, context) => {
|
|
2051
2049
|
return input
|
|
2052
2050
|
.filter((e) => e != null)
|
|
2053
2051
|
.map((entry) => {
|
|
2054
|
-
return
|
|
2052
|
+
return se_IdeConfiguration(entry, context);
|
|
2055
2053
|
});
|
|
2056
2054
|
};
|
|
2057
|
-
const
|
|
2055
|
+
const se_PersistentStorageConfiguration = (input, context) => {
|
|
2058
2056
|
return {
|
|
2059
2057
|
...(input.sizeInGiB != null && { sizeInGiB: input.sizeInGiB }),
|
|
2060
2058
|
};
|
|
2061
2059
|
};
|
|
2062
|
-
const
|
|
2060
|
+
const se_ProjectListFilter = (input, context) => {
|
|
2063
2061
|
return {
|
|
2064
2062
|
...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
|
|
2065
2063
|
...(input.key != null && { key: input.key }),
|
|
2066
|
-
...(input.values != null && { values:
|
|
2064
|
+
...(input.values != null && { values: se_StringList(input.values, context) }),
|
|
2067
2065
|
};
|
|
2068
2066
|
};
|
|
2069
|
-
const
|
|
2067
|
+
const se_ProjectListFilters = (input, context) => {
|
|
2070
2068
|
return input
|
|
2071
2069
|
.filter((e) => e != null)
|
|
2072
2070
|
.map((entry) => {
|
|
2073
|
-
return
|
|
2071
|
+
return se_ProjectListFilter(entry, context);
|
|
2074
2072
|
});
|
|
2075
2073
|
};
|
|
2076
|
-
const
|
|
2074
|
+
const se_RepositoriesInput = (input, context) => {
|
|
2077
2075
|
return input
|
|
2078
2076
|
.filter((e) => e != null)
|
|
2079
2077
|
.map((entry) => {
|
|
2080
|
-
return
|
|
2078
|
+
return se_RepositoryInput(entry, context);
|
|
2081
2079
|
});
|
|
2082
2080
|
};
|
|
2083
|
-
const
|
|
2081
|
+
const se_RepositoryInput = (input, context) => {
|
|
2084
2082
|
return {
|
|
2085
2083
|
...(input.branchName != null && { branchName: input.branchName }),
|
|
2086
2084
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
2087
2085
|
};
|
|
2088
2086
|
};
|
|
2089
|
-
const
|
|
2087
|
+
const se_StringList = (input, context) => {
|
|
2090
2088
|
return input
|
|
2091
2089
|
.filter((e) => e != null)
|
|
2092
2090
|
.map((entry) => {
|
|
2093
2091
|
return entry;
|
|
2094
2092
|
});
|
|
2095
2093
|
};
|
|
2096
|
-
const
|
|
2094
|
+
const de_AccessTokenSummaries = (output, context) => {
|
|
2097
2095
|
const retVal = (output || [])
|
|
2098
2096
|
.filter((e) => e != null)
|
|
2099
2097
|
.map((entry) => {
|
|
2100
2098
|
if (entry === null) {
|
|
2101
2099
|
return null;
|
|
2102
2100
|
}
|
|
2103
|
-
return
|
|
2101
|
+
return de_AccessTokenSummary(entry, context);
|
|
2104
2102
|
});
|
|
2105
2103
|
return retVal;
|
|
2106
2104
|
};
|
|
2107
|
-
const
|
|
2105
|
+
const de_AccessTokenSummary = (output, context) => {
|
|
2108
2106
|
return {
|
|
2109
2107
|
expiresTime: output.expiresTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.expiresTime)) : undefined,
|
|
2110
2108
|
id: __expectString(output.id),
|
|
2111
2109
|
name: __expectString(output.name),
|
|
2112
2110
|
};
|
|
2113
2111
|
};
|
|
2114
|
-
const
|
|
2112
|
+
const de_DevEnvironmentAccessDetails = (output, context) => {
|
|
2115
2113
|
return {
|
|
2116
2114
|
streamUrl: __expectString(output.streamUrl),
|
|
2117
2115
|
tokenValue: __expectString(output.tokenValue),
|
|
2118
2116
|
};
|
|
2119
2117
|
};
|
|
2120
|
-
const
|
|
2118
|
+
const de_DevEnvironmentRepositorySummaries = (output, context) => {
|
|
2121
2119
|
const retVal = (output || [])
|
|
2122
2120
|
.filter((e) => e != null)
|
|
2123
2121
|
.map((entry) => {
|
|
2124
2122
|
if (entry === null) {
|
|
2125
2123
|
return null;
|
|
2126
2124
|
}
|
|
2127
|
-
return
|
|
2125
|
+
return de_DevEnvironmentRepositorySummary(entry, context);
|
|
2128
2126
|
});
|
|
2129
2127
|
return retVal;
|
|
2130
2128
|
};
|
|
2131
|
-
const
|
|
2129
|
+
const de_DevEnvironmentRepositorySummary = (output, context) => {
|
|
2132
2130
|
return {
|
|
2133
2131
|
branchName: __expectString(output.branchName),
|
|
2134
2132
|
repositoryName: __expectString(output.repositoryName),
|
|
2135
2133
|
};
|
|
2136
2134
|
};
|
|
2137
|
-
const
|
|
2135
|
+
const de_DevEnvironmentSummary = (output, context) => {
|
|
2138
2136
|
return {
|
|
2139
2137
|
alias: __expectString(output.alias),
|
|
2140
2138
|
creatorId: __expectString(output.creatorId),
|
|
2141
2139
|
id: __expectString(output.id),
|
|
2142
|
-
ides: output.ides != null ?
|
|
2140
|
+
ides: output.ides != null ? de_Ides(output.ides, context) : undefined,
|
|
2143
2141
|
inactivityTimeoutMinutes: __expectInt32(output.inactivityTimeoutMinutes),
|
|
2144
2142
|
instanceType: __expectString(output.instanceType),
|
|
2145
2143
|
lastUpdatedTime: output.lastUpdatedTime != null
|
|
2146
2144
|
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdatedTime))
|
|
2147
2145
|
: undefined,
|
|
2148
|
-
persistentStorage: output.persistentStorage != null
|
|
2149
|
-
? deserializeAws_restJson1PersistentStorage(output.persistentStorage, context)
|
|
2150
|
-
: undefined,
|
|
2146
|
+
persistentStorage: output.persistentStorage != null ? de_PersistentStorage(output.persistentStorage, context) : undefined,
|
|
2151
2147
|
projectName: __expectString(output.projectName),
|
|
2152
|
-
repositories: output.repositories != null
|
|
2153
|
-
? deserializeAws_restJson1DevEnvironmentRepositorySummaries(output.repositories, context)
|
|
2154
|
-
: undefined,
|
|
2148
|
+
repositories: output.repositories != null ? de_DevEnvironmentRepositorySummaries(output.repositories, context) : undefined,
|
|
2155
2149
|
spaceName: __expectString(output.spaceName),
|
|
2156
2150
|
status: __expectString(output.status),
|
|
2157
2151
|
statusReason: __expectString(output.statusReason),
|
|
2158
2152
|
};
|
|
2159
2153
|
};
|
|
2160
|
-
const
|
|
2154
|
+
const de_DevEnvironmentSummaryList = (output, context) => {
|
|
2161
2155
|
const retVal = (output || [])
|
|
2162
2156
|
.filter((e) => e != null)
|
|
2163
2157
|
.map((entry) => {
|
|
2164
2158
|
if (entry === null) {
|
|
2165
2159
|
return null;
|
|
2166
2160
|
}
|
|
2167
|
-
return
|
|
2161
|
+
return de_DevEnvironmentSummary(entry, context);
|
|
2168
2162
|
});
|
|
2169
2163
|
return retVal;
|
|
2170
2164
|
};
|
|
2171
|
-
const
|
|
2165
|
+
const de_EmailAddress = (output, context) => {
|
|
2172
2166
|
return {
|
|
2173
2167
|
email: __expectString(output.email),
|
|
2174
2168
|
verified: __expectBoolean(output.verified),
|
|
2175
2169
|
};
|
|
2176
2170
|
};
|
|
2177
|
-
const
|
|
2171
|
+
const de_EventLogEntries = (output, context) => {
|
|
2178
2172
|
const retVal = (output || [])
|
|
2179
2173
|
.filter((e) => e != null)
|
|
2180
2174
|
.map((entry) => {
|
|
2181
2175
|
if (entry === null) {
|
|
2182
2176
|
return null;
|
|
2183
2177
|
}
|
|
2184
|
-
return
|
|
2178
|
+
return de_EventLogEntry(entry, context);
|
|
2185
2179
|
});
|
|
2186
2180
|
return retVal;
|
|
2187
2181
|
};
|
|
2188
|
-
const
|
|
2182
|
+
const de_EventLogEntry = (output, context) => {
|
|
2189
2183
|
return {
|
|
2190
2184
|
errorCode: __expectString(output.errorCode),
|
|
2191
2185
|
eventCategory: __expectString(output.eventCategory),
|
|
@@ -2195,60 +2189,56 @@ const deserializeAws_restJson1EventLogEntry = (output, context) => {
|
|
|
2195
2189
|
eventType: __expectString(output.eventType),
|
|
2196
2190
|
id: __expectString(output.id),
|
|
2197
2191
|
operationType: __expectString(output.operationType),
|
|
2198
|
-
projectInformation: output.projectInformation != null
|
|
2199
|
-
? deserializeAws_restJson1ProjectInformation(output.projectInformation, context)
|
|
2200
|
-
: undefined,
|
|
2192
|
+
projectInformation: output.projectInformation != null ? de_ProjectInformation(output.projectInformation, context) : undefined,
|
|
2201
2193
|
requestId: __expectString(output.requestId),
|
|
2202
|
-
requestPayload: output.requestPayload != null ?
|
|
2203
|
-
responsePayload: output.responsePayload != null
|
|
2204
|
-
? deserializeAws_restJson1EventPayload(output.responsePayload, context)
|
|
2205
|
-
: undefined,
|
|
2194
|
+
requestPayload: output.requestPayload != null ? de_EventPayload(output.requestPayload, context) : undefined,
|
|
2195
|
+
responsePayload: output.responsePayload != null ? de_EventPayload(output.responsePayload, context) : undefined,
|
|
2206
2196
|
sourceIpAddress: __expectString(output.sourceIpAddress),
|
|
2207
2197
|
userAgent: __expectString(output.userAgent),
|
|
2208
|
-
userIdentity: output.userIdentity != null ?
|
|
2198
|
+
userIdentity: output.userIdentity != null ? de_UserIdentity(output.userIdentity, context) : undefined,
|
|
2209
2199
|
};
|
|
2210
2200
|
};
|
|
2211
|
-
const
|
|
2201
|
+
const de_EventPayload = (output, context) => {
|
|
2212
2202
|
return {
|
|
2213
2203
|
contentType: __expectString(output.contentType),
|
|
2214
2204
|
data: __expectString(output.data),
|
|
2215
2205
|
};
|
|
2216
2206
|
};
|
|
2217
|
-
const
|
|
2207
|
+
const de_Ide = (output, context) => {
|
|
2218
2208
|
return {
|
|
2219
2209
|
name: __expectString(output.name),
|
|
2220
2210
|
runtime: __expectString(output.runtime),
|
|
2221
2211
|
};
|
|
2222
2212
|
};
|
|
2223
|
-
const
|
|
2213
|
+
const de_IdeConfiguration = (output, context) => {
|
|
2224
2214
|
return {
|
|
2225
2215
|
name: __expectString(output.name),
|
|
2226
2216
|
runtime: __expectString(output.runtime),
|
|
2227
2217
|
};
|
|
2228
2218
|
};
|
|
2229
|
-
const
|
|
2219
|
+
const de_IdeConfigurationList = (output, context) => {
|
|
2230
2220
|
const retVal = (output || [])
|
|
2231
2221
|
.filter((e) => e != null)
|
|
2232
2222
|
.map((entry) => {
|
|
2233
2223
|
if (entry === null) {
|
|
2234
2224
|
return null;
|
|
2235
2225
|
}
|
|
2236
|
-
return
|
|
2226
|
+
return de_IdeConfiguration(entry, context);
|
|
2237
2227
|
});
|
|
2238
2228
|
return retVal;
|
|
2239
2229
|
};
|
|
2240
|
-
const
|
|
2230
|
+
const de_Ides = (output, context) => {
|
|
2241
2231
|
const retVal = (output || [])
|
|
2242
2232
|
.filter((e) => e != null)
|
|
2243
2233
|
.map((entry) => {
|
|
2244
2234
|
if (entry === null) {
|
|
2245
2235
|
return null;
|
|
2246
2236
|
}
|
|
2247
|
-
return
|
|
2237
|
+
return de_Ide(entry, context);
|
|
2248
2238
|
});
|
|
2249
2239
|
return retVal;
|
|
2250
2240
|
};
|
|
2251
|
-
const
|
|
2241
|
+
const de_ListSourceRepositoriesItem = (output, context) => {
|
|
2252
2242
|
return {
|
|
2253
2243
|
createdTime: output.createdTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdTime)) : undefined,
|
|
2254
2244
|
description: __expectString(output.description),
|
|
@@ -2259,18 +2249,18 @@ const deserializeAws_restJson1ListSourceRepositoriesItem = (output, context) =>
|
|
|
2259
2249
|
name: __expectString(output.name),
|
|
2260
2250
|
};
|
|
2261
2251
|
};
|
|
2262
|
-
const
|
|
2252
|
+
const de_ListSourceRepositoriesItems = (output, context) => {
|
|
2263
2253
|
const retVal = (output || [])
|
|
2264
2254
|
.filter((e) => e != null)
|
|
2265
2255
|
.map((entry) => {
|
|
2266
2256
|
if (entry === null) {
|
|
2267
2257
|
return null;
|
|
2268
2258
|
}
|
|
2269
|
-
return
|
|
2259
|
+
return de_ListSourceRepositoriesItem(entry, context);
|
|
2270
2260
|
});
|
|
2271
2261
|
return retVal;
|
|
2272
2262
|
};
|
|
2273
|
-
const
|
|
2263
|
+
const de_ListSourceRepositoryBranchesItem = (output, context) => {
|
|
2274
2264
|
return {
|
|
2275
2265
|
headCommitId: __expectString(output.headCommitId),
|
|
2276
2266
|
lastUpdatedTime: output.lastUpdatedTime != null
|
|
@@ -2280,58 +2270,58 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesItem = (output, contex
|
|
|
2280
2270
|
ref: __expectString(output.ref),
|
|
2281
2271
|
};
|
|
2282
2272
|
};
|
|
2283
|
-
const
|
|
2273
|
+
const de_ListSourceRepositoryBranchesItems = (output, context) => {
|
|
2284
2274
|
const retVal = (output || [])
|
|
2285
2275
|
.filter((e) => e != null)
|
|
2286
2276
|
.map((entry) => {
|
|
2287
2277
|
if (entry === null) {
|
|
2288
2278
|
return null;
|
|
2289
2279
|
}
|
|
2290
|
-
return
|
|
2280
|
+
return de_ListSourceRepositoryBranchesItem(entry, context);
|
|
2291
2281
|
});
|
|
2292
2282
|
return retVal;
|
|
2293
2283
|
};
|
|
2294
|
-
const
|
|
2284
|
+
const de_PersistentStorage = (output, context) => {
|
|
2295
2285
|
return {
|
|
2296
2286
|
sizeInGiB: __expectInt32(output.sizeInGiB),
|
|
2297
2287
|
};
|
|
2298
2288
|
};
|
|
2299
|
-
const
|
|
2289
|
+
const de_ProjectInformation = (output, context) => {
|
|
2300
2290
|
return {
|
|
2301
2291
|
name: __expectString(output.name),
|
|
2302
2292
|
projectId: __expectString(output.projectId),
|
|
2303
2293
|
};
|
|
2304
2294
|
};
|
|
2305
|
-
const
|
|
2295
|
+
const de_ProjectSummaries = (output, context) => {
|
|
2306
2296
|
const retVal = (output || [])
|
|
2307
2297
|
.filter((e) => e != null)
|
|
2308
2298
|
.map((entry) => {
|
|
2309
2299
|
if (entry === null) {
|
|
2310
2300
|
return null;
|
|
2311
2301
|
}
|
|
2312
|
-
return
|
|
2302
|
+
return de_ProjectSummary(entry, context);
|
|
2313
2303
|
});
|
|
2314
2304
|
return retVal;
|
|
2315
2305
|
};
|
|
2316
|
-
const
|
|
2306
|
+
const de_ProjectSummary = (output, context) => {
|
|
2317
2307
|
return {
|
|
2318
2308
|
description: __expectString(output.description),
|
|
2319
2309
|
displayName: __expectString(output.displayName),
|
|
2320
2310
|
name: __expectString(output.name),
|
|
2321
2311
|
};
|
|
2322
2312
|
};
|
|
2323
|
-
const
|
|
2313
|
+
const de_SpaceSummaries = (output, context) => {
|
|
2324
2314
|
const retVal = (output || [])
|
|
2325
2315
|
.filter((e) => e != null)
|
|
2326
2316
|
.map((entry) => {
|
|
2327
2317
|
if (entry === null) {
|
|
2328
2318
|
return null;
|
|
2329
2319
|
}
|
|
2330
|
-
return
|
|
2320
|
+
return de_SpaceSummary(entry, context);
|
|
2331
2321
|
});
|
|
2332
2322
|
return retVal;
|
|
2333
2323
|
};
|
|
2334
|
-
const
|
|
2324
|
+
const de_SpaceSummary = (output, context) => {
|
|
2335
2325
|
return {
|
|
2336
2326
|
description: __expectString(output.description),
|
|
2337
2327
|
displayName: __expectString(output.displayName),
|
|
@@ -2339,7 +2329,7 @@ const deserializeAws_restJson1SpaceSummary = (output, context) => {
|
|
|
2339
2329
|
regionName: __expectString(output.regionName),
|
|
2340
2330
|
};
|
|
2341
2331
|
};
|
|
2342
|
-
const
|
|
2332
|
+
const de_UserIdentity = (output, context) => {
|
|
2343
2333
|
return {
|
|
2344
2334
|
awsAccountId: __expectString(output.awsAccountId),
|
|
2345
2335
|
principalId: __expectString(output.principalId),
|