@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.
Files changed (55) hide show
  1. package/dist-cjs/commands/CreateAccessTokenCommand.js +2 -2
  2. package/dist-cjs/commands/CreateDevEnvironmentCommand.js +2 -2
  3. package/dist-cjs/commands/CreateProjectCommand.js +2 -2
  4. package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteAccessTokenCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +2 -2
  7. package/dist-cjs/commands/GetDevEnvironmentCommand.js +2 -2
  8. package/dist-cjs/commands/GetProjectCommand.js +2 -2
  9. package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +2 -2
  10. package/dist-cjs/commands/GetSpaceCommand.js +2 -2
  11. package/dist-cjs/commands/GetSubscriptionCommand.js +2 -2
  12. package/dist-cjs/commands/GetUserDetailsCommand.js +2 -2
  13. package/dist-cjs/commands/ListAccessTokensCommand.js +2 -2
  14. package/dist-cjs/commands/ListDevEnvironmentsCommand.js +2 -2
  15. package/dist-cjs/commands/ListEventLogsCommand.js +2 -2
  16. package/dist-cjs/commands/ListProjectsCommand.js +2 -2
  17. package/dist-cjs/commands/ListSourceRepositoriesCommand.js +2 -2
  18. package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +2 -2
  19. package/dist-cjs/commands/ListSpacesCommand.js +2 -2
  20. package/dist-cjs/commands/StartDevEnvironmentCommand.js +2 -2
  21. package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +2 -2
  22. package/dist-cjs/commands/StopDevEnvironmentCommand.js +2 -2
  23. package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +2 -2
  25. package/dist-cjs/commands/VerifySessionCommand.js +2 -2
  26. package/dist-cjs/protocols/Aws_restJson1.js +392 -402
  27. package/dist-es/commands/CreateAccessTokenCommand.js +3 -3
  28. package/dist-es/commands/CreateDevEnvironmentCommand.js +3 -3
  29. package/dist-es/commands/CreateProjectCommand.js +3 -3
  30. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +3 -3
  31. package/dist-es/commands/DeleteAccessTokenCommand.js +3 -3
  32. package/dist-es/commands/DeleteDevEnvironmentCommand.js +3 -3
  33. package/dist-es/commands/GetDevEnvironmentCommand.js +3 -3
  34. package/dist-es/commands/GetProjectCommand.js +3 -3
  35. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +3 -3
  36. package/dist-es/commands/GetSpaceCommand.js +3 -3
  37. package/dist-es/commands/GetSubscriptionCommand.js +3 -3
  38. package/dist-es/commands/GetUserDetailsCommand.js +3 -3
  39. package/dist-es/commands/ListAccessTokensCommand.js +3 -3
  40. package/dist-es/commands/ListDevEnvironmentsCommand.js +3 -3
  41. package/dist-es/commands/ListEventLogsCommand.js +3 -3
  42. package/dist-es/commands/ListProjectsCommand.js +3 -3
  43. package/dist-es/commands/ListSourceRepositoriesCommand.js +3 -3
  44. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +3 -3
  45. package/dist-es/commands/ListSpacesCommand.js +3 -3
  46. package/dist-es/commands/StartDevEnvironmentCommand.js +3 -3
  47. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +3 -3
  48. package/dist-es/commands/StopDevEnvironmentCommand.js +3 -3
  49. package/dist-es/commands/StopDevEnvironmentSessionCommand.js +3 -3
  50. package/dist-es/commands/UpdateDevEnvironmentCommand.js +3 -3
  51. package/dist-es/commands/VerifySessionCommand.js +3 -3
  52. package/dist-es/protocols/Aws_restJson1.js +341 -351
  53. package/dist-types/protocols/Aws_restJson1.d.ts +200 -50
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +50 -50
  55. package/package.json +5 -5
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1VerifySessionCommand = exports.deserializeAws_restJson1UpdateDevEnvironmentCommand = exports.deserializeAws_restJson1StopDevEnvironmentSessionCommand = exports.deserializeAws_restJson1StopDevEnvironmentCommand = exports.deserializeAws_restJson1StartDevEnvironmentSessionCommand = exports.deserializeAws_restJson1StartDevEnvironmentCommand = exports.deserializeAws_restJson1ListSpacesCommand = exports.deserializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.deserializeAws_restJson1ListSourceRepositoriesCommand = exports.deserializeAws_restJson1ListProjectsCommand = exports.deserializeAws_restJson1ListEventLogsCommand = exports.deserializeAws_restJson1ListDevEnvironmentsCommand = exports.deserializeAws_restJson1ListAccessTokensCommand = exports.deserializeAws_restJson1GetUserDetailsCommand = exports.deserializeAws_restJson1GetSubscriptionCommand = exports.deserializeAws_restJson1GetSpaceCommand = exports.deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.deserializeAws_restJson1GetProjectCommand = exports.deserializeAws_restJson1GetDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteAccessTokenCommand = exports.deserializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.deserializeAws_restJson1CreateProjectCommand = exports.deserializeAws_restJson1CreateDevEnvironmentCommand = exports.deserializeAws_restJson1CreateAccessTokenCommand = exports.serializeAws_restJson1VerifySessionCommand = exports.serializeAws_restJson1UpdateDevEnvironmentCommand = exports.serializeAws_restJson1StopDevEnvironmentSessionCommand = exports.serializeAws_restJson1StopDevEnvironmentCommand = exports.serializeAws_restJson1StartDevEnvironmentSessionCommand = exports.serializeAws_restJson1StartDevEnvironmentCommand = exports.serializeAws_restJson1ListSpacesCommand = exports.serializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.serializeAws_restJson1ListSourceRepositoriesCommand = exports.serializeAws_restJson1ListProjectsCommand = exports.serializeAws_restJson1ListEventLogsCommand = exports.serializeAws_restJson1ListDevEnvironmentsCommand = exports.serializeAws_restJson1ListAccessTokensCommand = exports.serializeAws_restJson1GetUserDetailsCommand = exports.serializeAws_restJson1GetSubscriptionCommand = exports.serializeAws_restJson1GetSpaceCommand = exports.serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.serializeAws_restJson1GetProjectCommand = exports.serializeAws_restJson1GetDevEnvironmentCommand = exports.serializeAws_restJson1DeleteDevEnvironmentCommand = exports.serializeAws_restJson1DeleteAccessTokenCommand = exports.serializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.serializeAws_restJson1CreateProjectCommand = exports.serializeAws_restJson1CreateDevEnvironmentCommand = exports.serializeAws_restJson1CreateAccessTokenCommand = void 0;
3
+ exports.de_VerifySessionCommand = exports.de_UpdateDevEnvironmentCommand = exports.de_StopDevEnvironmentSessionCommand = exports.de_StopDevEnvironmentCommand = exports.de_StartDevEnvironmentSessionCommand = exports.de_StartDevEnvironmentCommand = exports.de_ListSpacesCommand = exports.de_ListSourceRepositoryBranchesCommand = exports.de_ListSourceRepositoriesCommand = exports.de_ListProjectsCommand = exports.de_ListEventLogsCommand = exports.de_ListDevEnvironmentsCommand = exports.de_ListAccessTokensCommand = exports.de_GetUserDetailsCommand = exports.de_GetSubscriptionCommand = exports.de_GetSpaceCommand = exports.de_GetSourceRepositoryCloneUrlsCommand = exports.de_GetProjectCommand = exports.de_GetDevEnvironmentCommand = exports.de_DeleteDevEnvironmentCommand = exports.de_DeleteAccessTokenCommand = exports.de_CreateSourceRepositoryBranchCommand = exports.de_CreateProjectCommand = exports.de_CreateDevEnvironmentCommand = exports.de_CreateAccessTokenCommand = exports.se_VerifySessionCommand = exports.se_UpdateDevEnvironmentCommand = exports.se_StopDevEnvironmentSessionCommand = exports.se_StopDevEnvironmentCommand = exports.se_StartDevEnvironmentSessionCommand = exports.se_StartDevEnvironmentCommand = exports.se_ListSpacesCommand = exports.se_ListSourceRepositoryBranchesCommand = exports.se_ListSourceRepositoriesCommand = exports.se_ListProjectsCommand = exports.se_ListEventLogsCommand = exports.se_ListDevEnvironmentsCommand = exports.se_ListAccessTokensCommand = exports.se_GetUserDetailsCommand = exports.se_GetSubscriptionCommand = exports.se_GetSpaceCommand = exports.se_GetSourceRepositoryCloneUrlsCommand = exports.se_GetProjectCommand = exports.se_GetDevEnvironmentCommand = exports.se_DeleteDevEnvironmentCommand = exports.se_DeleteAccessTokenCommand = exports.se_CreateSourceRepositoryBranchCommand = exports.se_CreateProjectCommand = exports.se_CreateDevEnvironmentCommand = exports.se_CreateAccessTokenCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const CodeCatalystServiceException_1 = require("../models/CodeCatalystServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_restJson1CreateAccessTokenCommand = async (input, context) => {
8
+ const se_CreateAccessTokenCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {
11
11
  "content-type": "application/json",
@@ -26,8 +26,8 @@ const serializeAws_restJson1CreateAccessTokenCommand = async (input, context) =>
26
26
  body,
27
27
  });
28
28
  };
29
- exports.serializeAws_restJson1CreateAccessTokenCommand = serializeAws_restJson1CreateAccessTokenCommand;
30
- const serializeAws_restJson1CreateDevEnvironmentCommand = async (input, context) => {
29
+ exports.se_CreateAccessTokenCommand = se_CreateAccessTokenCommand;
30
+ const se_CreateDevEnvironmentCommand = async (input, context) => {
31
31
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
32
32
  const headers = {
33
33
  "content-type": "application/json",
@@ -40,15 +40,13 @@ const serializeAws_restJson1CreateDevEnvironmentCommand = async (input, context)
40
40
  body = JSON.stringify({
41
41
  ...(input.alias != null && { alias: input.alias }),
42
42
  ...(input.clientToken != null && { clientToken: input.clientToken }),
43
- ...(input.ides != null && { ides: serializeAws_restJson1IdeConfigurationList(input.ides, context) }),
43
+ ...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
44
44
  ...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
45
45
  ...(input.instanceType != null && { instanceType: input.instanceType }),
46
46
  ...(input.persistentStorage != null && {
47
- persistentStorage: serializeAws_restJson1PersistentStorageConfiguration(input.persistentStorage, context),
48
- }),
49
- ...(input.repositories != null && {
50
- repositories: serializeAws_restJson1RepositoriesInput(input.repositories, context),
47
+ persistentStorage: se_PersistentStorageConfiguration(input.persistentStorage, context),
51
48
  }),
49
+ ...(input.repositories != null && { repositories: se_RepositoriesInput(input.repositories, context) }),
52
50
  });
53
51
  return new protocol_http_1.HttpRequest({
54
52
  protocol,
@@ -60,8 +58,8 @@ const serializeAws_restJson1CreateDevEnvironmentCommand = async (input, context)
60
58
  body,
61
59
  });
62
60
  };
63
- exports.serializeAws_restJson1CreateDevEnvironmentCommand = serializeAws_restJson1CreateDevEnvironmentCommand;
64
- const serializeAws_restJson1CreateProjectCommand = async (input, context) => {
61
+ exports.se_CreateDevEnvironmentCommand = se_CreateDevEnvironmentCommand;
62
+ const se_CreateProjectCommand = async (input, context) => {
65
63
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
66
64
  const headers = {
67
65
  "content-type": "application/json",
@@ -83,8 +81,8 @@ const serializeAws_restJson1CreateProjectCommand = async (input, context) => {
83
81
  body,
84
82
  });
85
83
  };
86
- exports.serializeAws_restJson1CreateProjectCommand = serializeAws_restJson1CreateProjectCommand;
87
- const serializeAws_restJson1CreateSourceRepositoryBranchCommand = async (input, context) => {
84
+ exports.se_CreateProjectCommand = se_CreateProjectCommand;
85
+ const se_CreateSourceRepositoryBranchCommand = async (input, context) => {
88
86
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
89
87
  const headers = {
90
88
  "content-type": "application/json",
@@ -109,8 +107,8 @@ const serializeAws_restJson1CreateSourceRepositoryBranchCommand = async (input,
109
107
  body,
110
108
  });
111
109
  };
112
- exports.serializeAws_restJson1CreateSourceRepositoryBranchCommand = serializeAws_restJson1CreateSourceRepositoryBranchCommand;
113
- const serializeAws_restJson1DeleteAccessTokenCommand = async (input, context) => {
110
+ exports.se_CreateSourceRepositoryBranchCommand = se_CreateSourceRepositoryBranchCommand;
111
+ const se_DeleteAccessTokenCommand = async (input, context) => {
114
112
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
113
  const headers = {};
116
114
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/accessTokens/{id}";
@@ -126,8 +124,8 @@ const serializeAws_restJson1DeleteAccessTokenCommand = async (input, context) =>
126
124
  body,
127
125
  });
128
126
  };
129
- exports.serializeAws_restJson1DeleteAccessTokenCommand = serializeAws_restJson1DeleteAccessTokenCommand;
130
- const serializeAws_restJson1DeleteDevEnvironmentCommand = async (input, context) => {
127
+ exports.se_DeleteAccessTokenCommand = se_DeleteAccessTokenCommand;
128
+ const se_DeleteDevEnvironmentCommand = async (input, context) => {
131
129
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
130
  const headers = {};
133
131
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -146,8 +144,8 @@ const serializeAws_restJson1DeleteDevEnvironmentCommand = async (input, context)
146
144
  body,
147
145
  });
148
146
  };
149
- exports.serializeAws_restJson1DeleteDevEnvironmentCommand = serializeAws_restJson1DeleteDevEnvironmentCommand;
150
- const serializeAws_restJson1GetDevEnvironmentCommand = async (input, context) => {
147
+ exports.se_DeleteDevEnvironmentCommand = se_DeleteDevEnvironmentCommand;
148
+ const se_GetDevEnvironmentCommand = async (input, context) => {
151
149
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
152
150
  const headers = {};
153
151
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -166,8 +164,8 @@ const serializeAws_restJson1GetDevEnvironmentCommand = async (input, context) =>
166
164
  body,
167
165
  });
168
166
  };
169
- exports.serializeAws_restJson1GetDevEnvironmentCommand = serializeAws_restJson1GetDevEnvironmentCommand;
170
- const serializeAws_restJson1GetProjectCommand = async (input, context) => {
167
+ exports.se_GetDevEnvironmentCommand = se_GetDevEnvironmentCommand;
168
+ const se_GetProjectCommand = async (input, context) => {
171
169
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
172
170
  const headers = {};
173
171
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{spaceName}/projects/{name}";
@@ -184,8 +182,8 @@ const serializeAws_restJson1GetProjectCommand = async (input, context) => {
184
182
  body,
185
183
  });
186
184
  };
187
- exports.serializeAws_restJson1GetProjectCommand = serializeAws_restJson1GetProjectCommand;
188
- const serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async (input, context) => {
185
+ exports.se_GetProjectCommand = se_GetProjectCommand;
186
+ const se_GetSourceRepositoryCloneUrlsCommand = async (input, context) => {
189
187
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
190
188
  const headers = {};
191
189
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -204,8 +202,8 @@ const serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async (input,
204
202
  body,
205
203
  });
206
204
  };
207
- exports.serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand;
208
- const serializeAws_restJson1GetSpaceCommand = async (input, context) => {
205
+ exports.se_GetSourceRepositoryCloneUrlsCommand = se_GetSourceRepositoryCloneUrlsCommand;
206
+ const se_GetSpaceCommand = async (input, context) => {
209
207
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
210
208
  const headers = {};
211
209
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{name}";
@@ -221,8 +219,8 @@ const serializeAws_restJson1GetSpaceCommand = async (input, context) => {
221
219
  body,
222
220
  });
223
221
  };
224
- exports.serializeAws_restJson1GetSpaceCommand = serializeAws_restJson1GetSpaceCommand;
225
- const serializeAws_restJson1GetSubscriptionCommand = async (input, context) => {
222
+ exports.se_GetSpaceCommand = se_GetSpaceCommand;
223
+ const se_GetSubscriptionCommand = async (input, context) => {
226
224
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
227
225
  const headers = {};
228
226
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/spaces/{spaceName}/subscription";
@@ -238,8 +236,8 @@ const serializeAws_restJson1GetSubscriptionCommand = async (input, context) => {
238
236
  body,
239
237
  });
240
238
  };
241
- exports.serializeAws_restJson1GetSubscriptionCommand = serializeAws_restJson1GetSubscriptionCommand;
242
- const serializeAws_restJson1GetUserDetailsCommand = async (input, context) => {
239
+ exports.se_GetSubscriptionCommand = se_GetSubscriptionCommand;
240
+ const se_GetUserDetailsCommand = async (input, context) => {
243
241
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
244
242
  const headers = {};
245
243
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userDetails";
@@ -259,8 +257,8 @@ const serializeAws_restJson1GetUserDetailsCommand = async (input, context) => {
259
257
  body,
260
258
  });
261
259
  };
262
- exports.serializeAws_restJson1GetUserDetailsCommand = serializeAws_restJson1GetUserDetailsCommand;
263
- const serializeAws_restJson1ListAccessTokensCommand = async (input, context) => {
260
+ exports.se_GetUserDetailsCommand = se_GetUserDetailsCommand;
261
+ const se_ListAccessTokensCommand = async (input, context) => {
264
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
263
  const headers = {
266
264
  "content-type": "application/json",
@@ -281,8 +279,8 @@ const serializeAws_restJson1ListAccessTokensCommand = async (input, context) =>
281
279
  body,
282
280
  });
283
281
  };
284
- exports.serializeAws_restJson1ListAccessTokensCommand = serializeAws_restJson1ListAccessTokensCommand;
285
- const serializeAws_restJson1ListDevEnvironmentsCommand = async (input, context) => {
282
+ exports.se_ListAccessTokensCommand = se_ListAccessTokensCommand;
283
+ const se_ListDevEnvironmentsCommand = async (input, context) => {
286
284
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
287
285
  const headers = {
288
286
  "content-type": "application/json",
@@ -293,7 +291,7 @@ const serializeAws_restJson1ListDevEnvironmentsCommand = async (input, context)
293
291
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
294
292
  let body;
295
293
  body = JSON.stringify({
296
- ...(input.filters != null && { filters: serializeAws_restJson1Filters(input.filters, context) }),
294
+ ...(input.filters != null && { filters: se_Filters(input.filters, context) }),
297
295
  ...(input.maxResults != null && { maxResults: input.maxResults }),
298
296
  ...(input.nextToken != null && { nextToken: input.nextToken }),
299
297
  });
@@ -307,8 +305,8 @@ const serializeAws_restJson1ListDevEnvironmentsCommand = async (input, context)
307
305
  body,
308
306
  });
309
307
  };
310
- exports.serializeAws_restJson1ListDevEnvironmentsCommand = serializeAws_restJson1ListDevEnvironmentsCommand;
311
- const serializeAws_restJson1ListEventLogsCommand = async (input, context) => {
308
+ exports.se_ListDevEnvironmentsCommand = se_ListDevEnvironmentsCommand;
309
+ const se_ListEventLogsCommand = async (input, context) => {
312
310
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
313
311
  const headers = {
314
312
  "content-type": "application/json",
@@ -333,8 +331,8 @@ const serializeAws_restJson1ListEventLogsCommand = async (input, context) => {
333
331
  body,
334
332
  });
335
333
  };
336
- exports.serializeAws_restJson1ListEventLogsCommand = serializeAws_restJson1ListEventLogsCommand;
337
- const serializeAws_restJson1ListProjectsCommand = async (input, context) => {
334
+ exports.se_ListEventLogsCommand = se_ListEventLogsCommand;
335
+ const se_ListProjectsCommand = async (input, context) => {
338
336
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
339
337
  const headers = {
340
338
  "content-type": "application/json",
@@ -343,7 +341,7 @@ const serializeAws_restJson1ListProjectsCommand = async (input, context) => {
343
341
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
344
342
  let body;
345
343
  body = JSON.stringify({
346
- ...(input.filters != null && { filters: serializeAws_restJson1ProjectListFilters(input.filters, context) }),
344
+ ...(input.filters != null && { filters: se_ProjectListFilters(input.filters, context) }),
347
345
  ...(input.maxResults != null && { maxResults: input.maxResults }),
348
346
  ...(input.nextToken != null && { nextToken: input.nextToken }),
349
347
  });
@@ -357,8 +355,8 @@ const serializeAws_restJson1ListProjectsCommand = async (input, context) => {
357
355
  body,
358
356
  });
359
357
  };
360
- exports.serializeAws_restJson1ListProjectsCommand = serializeAws_restJson1ListProjectsCommand;
361
- const serializeAws_restJson1ListSourceRepositoriesCommand = async (input, context) => {
358
+ exports.se_ListProjectsCommand = se_ListProjectsCommand;
359
+ const se_ListSourceRepositoriesCommand = async (input, context) => {
362
360
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
363
361
  const headers = {
364
362
  "content-type": "application/json",
@@ -382,8 +380,8 @@ const serializeAws_restJson1ListSourceRepositoriesCommand = async (input, contex
382
380
  body,
383
381
  });
384
382
  };
385
- exports.serializeAws_restJson1ListSourceRepositoriesCommand = serializeAws_restJson1ListSourceRepositoriesCommand;
386
- const serializeAws_restJson1ListSourceRepositoryBranchesCommand = async (input, context) => {
383
+ exports.se_ListSourceRepositoriesCommand = se_ListSourceRepositoriesCommand;
384
+ const se_ListSourceRepositoryBranchesCommand = async (input, context) => {
387
385
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
388
386
  const headers = {
389
387
  "content-type": "application/json",
@@ -408,8 +406,8 @@ const serializeAws_restJson1ListSourceRepositoryBranchesCommand = async (input,
408
406
  body,
409
407
  });
410
408
  };
411
- exports.serializeAws_restJson1ListSourceRepositoryBranchesCommand = serializeAws_restJson1ListSourceRepositoryBranchesCommand;
412
- const serializeAws_restJson1ListSpacesCommand = async (input, context) => {
409
+ exports.se_ListSourceRepositoryBranchesCommand = se_ListSourceRepositoryBranchesCommand;
410
+ const se_ListSpacesCommand = async (input, context) => {
413
411
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
414
412
  const headers = {
415
413
  "content-type": "application/json",
@@ -429,8 +427,8 @@ const serializeAws_restJson1ListSpacesCommand = async (input, context) => {
429
427
  body,
430
428
  });
431
429
  };
432
- exports.serializeAws_restJson1ListSpacesCommand = serializeAws_restJson1ListSpacesCommand;
433
- const serializeAws_restJson1StartDevEnvironmentCommand = async (input, context) => {
430
+ exports.se_ListSpacesCommand = se_ListSpacesCommand;
431
+ const se_StartDevEnvironmentCommand = async (input, context) => {
434
432
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
435
433
  const headers = {
436
434
  "content-type": "application/json",
@@ -442,7 +440,7 @@ const serializeAws_restJson1StartDevEnvironmentCommand = async (input, context)
442
440
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
443
441
  let body;
444
442
  body = JSON.stringify({
445
- ...(input.ides != null && { ides: serializeAws_restJson1IdeConfigurationList(input.ides, context) }),
443
+ ...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
446
444
  ...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
447
445
  ...(input.instanceType != null && { instanceType: input.instanceType }),
448
446
  });
@@ -456,8 +454,8 @@ const serializeAws_restJson1StartDevEnvironmentCommand = async (input, context)
456
454
  body,
457
455
  });
458
456
  };
459
- exports.serializeAws_restJson1StartDevEnvironmentCommand = serializeAws_restJson1StartDevEnvironmentCommand;
460
- const serializeAws_restJson1StartDevEnvironmentSessionCommand = async (input, context) => {
457
+ exports.se_StartDevEnvironmentCommand = se_StartDevEnvironmentCommand;
458
+ const se_StartDevEnvironmentSessionCommand = async (input, context) => {
461
459
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
462
460
  const headers = {
463
461
  "content-type": "application/json",
@@ -470,7 +468,7 @@ const serializeAws_restJson1StartDevEnvironmentSessionCommand = async (input, co
470
468
  let body;
471
469
  body = JSON.stringify({
472
470
  ...(input.sessionConfiguration != null && {
473
- sessionConfiguration: serializeAws_restJson1DevEnvironmentSessionConfiguration(input.sessionConfiguration, context),
471
+ sessionConfiguration: se_DevEnvironmentSessionConfiguration(input.sessionConfiguration, context),
474
472
  }),
475
473
  });
476
474
  return new protocol_http_1.HttpRequest({
@@ -483,8 +481,8 @@ const serializeAws_restJson1StartDevEnvironmentSessionCommand = async (input, co
483
481
  body,
484
482
  });
485
483
  };
486
- exports.serializeAws_restJson1StartDevEnvironmentSessionCommand = serializeAws_restJson1StartDevEnvironmentSessionCommand;
487
- const serializeAws_restJson1StopDevEnvironmentCommand = async (input, context) => {
484
+ exports.se_StartDevEnvironmentSessionCommand = se_StartDevEnvironmentSessionCommand;
485
+ const se_StopDevEnvironmentCommand = async (input, context) => {
488
486
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
489
487
  const headers = {};
490
488
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -503,8 +501,8 @@ const serializeAws_restJson1StopDevEnvironmentCommand = async (input, context) =
503
501
  body,
504
502
  });
505
503
  };
506
- exports.serializeAws_restJson1StopDevEnvironmentCommand = serializeAws_restJson1StopDevEnvironmentCommand;
507
- const serializeAws_restJson1StopDevEnvironmentSessionCommand = async (input, context) => {
504
+ exports.se_StopDevEnvironmentCommand = se_StopDevEnvironmentCommand;
505
+ const se_StopDevEnvironmentSessionCommand = async (input, context) => {
508
506
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
509
507
  const headers = {};
510
508
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -524,8 +522,8 @@ const serializeAws_restJson1StopDevEnvironmentSessionCommand = async (input, con
524
522
  body,
525
523
  });
526
524
  };
527
- exports.serializeAws_restJson1StopDevEnvironmentSessionCommand = serializeAws_restJson1StopDevEnvironmentSessionCommand;
528
- const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, context) => {
525
+ exports.se_StopDevEnvironmentSessionCommand = se_StopDevEnvironmentSessionCommand;
526
+ const se_UpdateDevEnvironmentCommand = async (input, context) => {
529
527
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
528
  const headers = {
531
529
  "content-type": "application/json",
@@ -539,7 +537,7 @@ const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, context)
539
537
  body = JSON.stringify({
540
538
  ...(input.alias != null && { alias: input.alias }),
541
539
  ...(input.clientToken != null && { clientToken: input.clientToken }),
542
- ...(input.ides != null && { ides: serializeAws_restJson1IdeConfigurationList(input.ides, context) }),
540
+ ...(input.ides != null && { ides: se_IdeConfigurationList(input.ides, context) }),
543
541
  ...(input.inactivityTimeoutMinutes != null && { inactivityTimeoutMinutes: input.inactivityTimeoutMinutes }),
544
542
  ...(input.instanceType != null && { instanceType: input.instanceType }),
545
543
  });
@@ -553,8 +551,8 @@ const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, context)
553
551
  body,
554
552
  });
555
553
  };
556
- exports.serializeAws_restJson1UpdateDevEnvironmentCommand = serializeAws_restJson1UpdateDevEnvironmentCommand;
557
- const serializeAws_restJson1VerifySessionCommand = async (input, context) => {
554
+ exports.se_UpdateDevEnvironmentCommand = se_UpdateDevEnvironmentCommand;
555
+ const se_VerifySessionCommand = async (input, context) => {
558
556
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
559
557
  const headers = {
560
558
  "content-type": "application/json",
@@ -572,10 +570,10 @@ const serializeAws_restJson1VerifySessionCommand = async (input, context) => {
572
570
  body,
573
571
  });
574
572
  };
575
- exports.serializeAws_restJson1VerifySessionCommand = serializeAws_restJson1VerifySessionCommand;
576
- const deserializeAws_restJson1CreateAccessTokenCommand = async (output, context) => {
573
+ exports.se_VerifySessionCommand = se_VerifySessionCommand;
574
+ const de_CreateAccessTokenCommand = async (output, context) => {
577
575
  if (output.statusCode !== 201 && output.statusCode >= 300) {
578
- return deserializeAws_restJson1CreateAccessTokenCommandError(output, context);
576
+ return de_CreateAccessTokenCommandError(output, context);
579
577
  }
580
578
  const contents = map({
581
579
  $metadata: deserializeMetadata(output),
@@ -595,8 +593,8 @@ const deserializeAws_restJson1CreateAccessTokenCommand = async (output, context)
595
593
  }
596
594
  return contents;
597
595
  };
598
- exports.deserializeAws_restJson1CreateAccessTokenCommand = deserializeAws_restJson1CreateAccessTokenCommand;
599
- const deserializeAws_restJson1CreateAccessTokenCommandError = async (output, context) => {
596
+ exports.de_CreateAccessTokenCommand = de_CreateAccessTokenCommand;
597
+ const de_CreateAccessTokenCommandError = async (output, context) => {
600
598
  const parsedOutput = {
601
599
  ...output,
602
600
  body: await parseErrorBody(output.body, context),
@@ -605,22 +603,22 @@ const deserializeAws_restJson1CreateAccessTokenCommandError = async (output, con
605
603
  switch (errorCode) {
606
604
  case "AccessDeniedException":
607
605
  case "com.amazonaws.codecatalyst#AccessDeniedException":
608
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
606
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
609
607
  case "ConflictException":
610
608
  case "com.amazonaws.codecatalyst#ConflictException":
611
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
609
+ throw await de_ConflictExceptionRes(parsedOutput, context);
612
610
  case "ResourceNotFoundException":
613
611
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
614
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
612
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
615
613
  case "ServiceQuotaExceededException":
616
614
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
617
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
615
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
618
616
  case "ThrottlingException":
619
617
  case "com.amazonaws.codecatalyst#ThrottlingException":
620
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
618
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
621
619
  case "ValidationException":
622
620
  case "com.amazonaws.codecatalyst#ValidationException":
623
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
621
+ throw await de_ValidationExceptionRes(parsedOutput, context);
624
622
  default:
625
623
  const parsedBody = parsedOutput.body;
626
624
  (0, smithy_client_1.throwDefaultError)({
@@ -631,9 +629,9 @@ const deserializeAws_restJson1CreateAccessTokenCommandError = async (output, con
631
629
  });
632
630
  }
633
631
  };
634
- const deserializeAws_restJson1CreateDevEnvironmentCommand = async (output, context) => {
632
+ const de_CreateDevEnvironmentCommand = async (output, context) => {
635
633
  if (output.statusCode !== 201 && output.statusCode >= 300) {
636
- return deserializeAws_restJson1CreateDevEnvironmentCommandError(output, context);
634
+ return de_CreateDevEnvironmentCommandError(output, context);
637
635
  }
638
636
  const contents = map({
639
637
  $metadata: deserializeMetadata(output),
@@ -650,8 +648,8 @@ const deserializeAws_restJson1CreateDevEnvironmentCommand = async (output, conte
650
648
  }
651
649
  return contents;
652
650
  };
653
- exports.deserializeAws_restJson1CreateDevEnvironmentCommand = deserializeAws_restJson1CreateDevEnvironmentCommand;
654
- const deserializeAws_restJson1CreateDevEnvironmentCommandError = async (output, context) => {
651
+ exports.de_CreateDevEnvironmentCommand = de_CreateDevEnvironmentCommand;
652
+ const de_CreateDevEnvironmentCommandError = async (output, context) => {
655
653
  const parsedOutput = {
656
654
  ...output,
657
655
  body: await parseErrorBody(output.body, context),
@@ -660,22 +658,22 @@ const deserializeAws_restJson1CreateDevEnvironmentCommandError = async (output,
660
658
  switch (errorCode) {
661
659
  case "AccessDeniedException":
662
660
  case "com.amazonaws.codecatalyst#AccessDeniedException":
663
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
661
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
664
662
  case "ConflictException":
665
663
  case "com.amazonaws.codecatalyst#ConflictException":
666
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
664
+ throw await de_ConflictExceptionRes(parsedOutput, context);
667
665
  case "ResourceNotFoundException":
668
666
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
669
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
667
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
670
668
  case "ServiceQuotaExceededException":
671
669
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
672
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
670
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
673
671
  case "ThrottlingException":
674
672
  case "com.amazonaws.codecatalyst#ThrottlingException":
675
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
673
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
676
674
  case "ValidationException":
677
675
  case "com.amazonaws.codecatalyst#ValidationException":
678
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
676
+ throw await de_ValidationExceptionRes(parsedOutput, context);
679
677
  default:
680
678
  const parsedBody = parsedOutput.body;
681
679
  (0, smithy_client_1.throwDefaultError)({
@@ -686,9 +684,9 @@ const deserializeAws_restJson1CreateDevEnvironmentCommandError = async (output,
686
684
  });
687
685
  }
688
686
  };
689
- const deserializeAws_restJson1CreateProjectCommand = async (output, context) => {
687
+ const de_CreateProjectCommand = async (output, context) => {
690
688
  if (output.statusCode !== 201 && output.statusCode >= 300) {
691
- return deserializeAws_restJson1CreateProjectCommandError(output, context);
689
+ return de_CreateProjectCommandError(output, context);
692
690
  }
693
691
  const contents = map({
694
692
  $metadata: deserializeMetadata(output),
@@ -708,8 +706,8 @@ const deserializeAws_restJson1CreateProjectCommand = async (output, context) =>
708
706
  }
709
707
  return contents;
710
708
  };
711
- exports.deserializeAws_restJson1CreateProjectCommand = deserializeAws_restJson1CreateProjectCommand;
712
- const deserializeAws_restJson1CreateProjectCommandError = async (output, context) => {
709
+ exports.de_CreateProjectCommand = de_CreateProjectCommand;
710
+ const de_CreateProjectCommandError = async (output, context) => {
713
711
  const parsedOutput = {
714
712
  ...output,
715
713
  body: await parseErrorBody(output.body, context),
@@ -718,22 +716,22 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
718
716
  switch (errorCode) {
719
717
  case "AccessDeniedException":
720
718
  case "com.amazonaws.codecatalyst#AccessDeniedException":
721
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
719
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
722
720
  case "ConflictException":
723
721
  case "com.amazonaws.codecatalyst#ConflictException":
724
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
722
+ throw await de_ConflictExceptionRes(parsedOutput, context);
725
723
  case "ResourceNotFoundException":
726
724
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
727
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
725
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
728
726
  case "ServiceQuotaExceededException":
729
727
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
730
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
728
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
731
729
  case "ThrottlingException":
732
730
  case "com.amazonaws.codecatalyst#ThrottlingException":
733
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
731
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
734
732
  case "ValidationException":
735
733
  case "com.amazonaws.codecatalyst#ValidationException":
736
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
734
+ throw await de_ValidationExceptionRes(parsedOutput, context);
737
735
  default:
738
736
  const parsedBody = parsedOutput.body;
739
737
  (0, smithy_client_1.throwDefaultError)({
@@ -744,9 +742,9 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
744
742
  });
745
743
  }
746
744
  };
747
- const deserializeAws_restJson1CreateSourceRepositoryBranchCommand = async (output, context) => {
745
+ const de_CreateSourceRepositoryBranchCommand = async (output, context) => {
748
746
  if (output.statusCode !== 201 && output.statusCode >= 300) {
749
- return deserializeAws_restJson1CreateSourceRepositoryBranchCommandError(output, context);
747
+ return de_CreateSourceRepositoryBranchCommandError(output, context);
750
748
  }
751
749
  const contents = map({
752
750
  $metadata: deserializeMetadata(output),
@@ -766,8 +764,8 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommand = async (outpu
766
764
  }
767
765
  return contents;
768
766
  };
769
- exports.deserializeAws_restJson1CreateSourceRepositoryBranchCommand = deserializeAws_restJson1CreateSourceRepositoryBranchCommand;
770
- const deserializeAws_restJson1CreateSourceRepositoryBranchCommandError = async (output, context) => {
767
+ exports.de_CreateSourceRepositoryBranchCommand = de_CreateSourceRepositoryBranchCommand;
768
+ const de_CreateSourceRepositoryBranchCommandError = async (output, context) => {
771
769
  const parsedOutput = {
772
770
  ...output,
773
771
  body: await parseErrorBody(output.body, context),
@@ -776,22 +774,22 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommandError = async (
776
774
  switch (errorCode) {
777
775
  case "AccessDeniedException":
778
776
  case "com.amazonaws.codecatalyst#AccessDeniedException":
779
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
777
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
780
778
  case "ConflictException":
781
779
  case "com.amazonaws.codecatalyst#ConflictException":
782
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
780
+ throw await de_ConflictExceptionRes(parsedOutput, context);
783
781
  case "ResourceNotFoundException":
784
782
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
785
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
783
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
786
784
  case "ServiceQuotaExceededException":
787
785
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
788
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
786
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
789
787
  case "ThrottlingException":
790
788
  case "com.amazonaws.codecatalyst#ThrottlingException":
791
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
789
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
792
790
  case "ValidationException":
793
791
  case "com.amazonaws.codecatalyst#ValidationException":
794
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
792
+ throw await de_ValidationExceptionRes(parsedOutput, context);
795
793
  default:
796
794
  const parsedBody = parsedOutput.body;
797
795
  (0, smithy_client_1.throwDefaultError)({
@@ -802,9 +800,9 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommandError = async (
802
800
  });
803
801
  }
804
802
  };
805
- const deserializeAws_restJson1DeleteAccessTokenCommand = async (output, context) => {
803
+ const de_DeleteAccessTokenCommand = async (output, context) => {
806
804
  if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return deserializeAws_restJson1DeleteAccessTokenCommandError(output, context);
805
+ return de_DeleteAccessTokenCommandError(output, context);
808
806
  }
809
807
  const contents = map({
810
808
  $metadata: deserializeMetadata(output),
@@ -812,8 +810,8 @@ const deserializeAws_restJson1DeleteAccessTokenCommand = async (output, context)
812
810
  await collectBody(output.body, context);
813
811
  return contents;
814
812
  };
815
- exports.deserializeAws_restJson1DeleteAccessTokenCommand = deserializeAws_restJson1DeleteAccessTokenCommand;
816
- const deserializeAws_restJson1DeleteAccessTokenCommandError = async (output, context) => {
813
+ exports.de_DeleteAccessTokenCommand = de_DeleteAccessTokenCommand;
814
+ const de_DeleteAccessTokenCommandError = async (output, context) => {
817
815
  const parsedOutput = {
818
816
  ...output,
819
817
  body: await parseErrorBody(output.body, context),
@@ -822,22 +820,22 @@ const deserializeAws_restJson1DeleteAccessTokenCommandError = async (output, con
822
820
  switch (errorCode) {
823
821
  case "AccessDeniedException":
824
822
  case "com.amazonaws.codecatalyst#AccessDeniedException":
825
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
823
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
826
824
  case "ConflictException":
827
825
  case "com.amazonaws.codecatalyst#ConflictException":
828
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
826
+ throw await de_ConflictExceptionRes(parsedOutput, context);
829
827
  case "ResourceNotFoundException":
830
828
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
831
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
829
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
832
830
  case "ServiceQuotaExceededException":
833
831
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
834
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
832
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
835
833
  case "ThrottlingException":
836
834
  case "com.amazonaws.codecatalyst#ThrottlingException":
837
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
835
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
838
836
  case "ValidationException":
839
837
  case "com.amazonaws.codecatalyst#ValidationException":
840
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
838
+ throw await de_ValidationExceptionRes(parsedOutput, context);
841
839
  default:
842
840
  const parsedBody = parsedOutput.body;
843
841
  (0, smithy_client_1.throwDefaultError)({
@@ -848,9 +846,9 @@ const deserializeAws_restJson1DeleteAccessTokenCommandError = async (output, con
848
846
  });
849
847
  }
850
848
  };
851
- const deserializeAws_restJson1DeleteDevEnvironmentCommand = async (output, context) => {
849
+ const de_DeleteDevEnvironmentCommand = async (output, context) => {
852
850
  if (output.statusCode !== 200 && output.statusCode >= 300) {
853
- return deserializeAws_restJson1DeleteDevEnvironmentCommandError(output, context);
851
+ return de_DeleteDevEnvironmentCommandError(output, context);
854
852
  }
855
853
  const contents = map({
856
854
  $metadata: deserializeMetadata(output),
@@ -867,8 +865,8 @@ const deserializeAws_restJson1DeleteDevEnvironmentCommand = async (output, conte
867
865
  }
868
866
  return contents;
869
867
  };
870
- exports.deserializeAws_restJson1DeleteDevEnvironmentCommand = deserializeAws_restJson1DeleteDevEnvironmentCommand;
871
- const deserializeAws_restJson1DeleteDevEnvironmentCommandError = async (output, context) => {
868
+ exports.de_DeleteDevEnvironmentCommand = de_DeleteDevEnvironmentCommand;
869
+ const de_DeleteDevEnvironmentCommandError = async (output, context) => {
872
870
  const parsedOutput = {
873
871
  ...output,
874
872
  body: await parseErrorBody(output.body, context),
@@ -877,22 +875,22 @@ const deserializeAws_restJson1DeleteDevEnvironmentCommandError = async (output,
877
875
  switch (errorCode) {
878
876
  case "AccessDeniedException":
879
877
  case "com.amazonaws.codecatalyst#AccessDeniedException":
880
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
878
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
881
879
  case "ConflictException":
882
880
  case "com.amazonaws.codecatalyst#ConflictException":
883
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
881
+ throw await de_ConflictExceptionRes(parsedOutput, context);
884
882
  case "ResourceNotFoundException":
885
883
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
886
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
884
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
887
885
  case "ServiceQuotaExceededException":
888
886
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
889
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
887
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
890
888
  case "ThrottlingException":
891
889
  case "com.amazonaws.codecatalyst#ThrottlingException":
892
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
890
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
893
891
  case "ValidationException":
894
892
  case "com.amazonaws.codecatalyst#ValidationException":
895
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
893
+ throw await de_ValidationExceptionRes(parsedOutput, context);
896
894
  default:
897
895
  const parsedBody = parsedOutput.body;
898
896
  (0, smithy_client_1.throwDefaultError)({
@@ -903,9 +901,9 @@ const deserializeAws_restJson1DeleteDevEnvironmentCommandError = async (output,
903
901
  });
904
902
  }
905
903
  };
906
- const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, context) => {
904
+ const de_GetDevEnvironmentCommand = async (output, context) => {
907
905
  if (output.statusCode !== 200 && output.statusCode >= 300) {
908
- return deserializeAws_restJson1GetDevEnvironmentCommandError(output, context);
906
+ return de_GetDevEnvironmentCommandError(output, context);
909
907
  }
910
908
  const contents = map({
911
909
  $metadata: deserializeMetadata(output),
@@ -921,7 +919,7 @@ const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, context)
921
919
  contents.id = (0, smithy_client_1.expectString)(data.id);
922
920
  }
923
921
  if (data.ides != null) {
924
- contents.ides = deserializeAws_restJson1Ides(data.ides, context);
922
+ contents.ides = de_Ides(data.ides, context);
925
923
  }
926
924
  if (data.inactivityTimeoutMinutes != null) {
927
925
  contents.inactivityTimeoutMinutes = (0, smithy_client_1.expectInt32)(data.inactivityTimeoutMinutes);
@@ -933,13 +931,13 @@ const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, context)
933
931
  contents.lastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedTime));
934
932
  }
935
933
  if (data.persistentStorage != null) {
936
- contents.persistentStorage = deserializeAws_restJson1PersistentStorage(data.persistentStorage, context);
934
+ contents.persistentStorage = de_PersistentStorage(data.persistentStorage, context);
937
935
  }
938
936
  if (data.projectName != null) {
939
937
  contents.projectName = (0, smithy_client_1.expectString)(data.projectName);
940
938
  }
941
939
  if (data.repositories != null) {
942
- contents.repositories = deserializeAws_restJson1DevEnvironmentRepositorySummaries(data.repositories, context);
940
+ contents.repositories = de_DevEnvironmentRepositorySummaries(data.repositories, context);
943
941
  }
944
942
  if (data.spaceName != null) {
945
943
  contents.spaceName = (0, smithy_client_1.expectString)(data.spaceName);
@@ -952,8 +950,8 @@ const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, context)
952
950
  }
953
951
  return contents;
954
952
  };
955
- exports.deserializeAws_restJson1GetDevEnvironmentCommand = deserializeAws_restJson1GetDevEnvironmentCommand;
956
- const deserializeAws_restJson1GetDevEnvironmentCommandError = async (output, context) => {
953
+ exports.de_GetDevEnvironmentCommand = de_GetDevEnvironmentCommand;
954
+ const de_GetDevEnvironmentCommandError = async (output, context) => {
957
955
  const parsedOutput = {
958
956
  ...output,
959
957
  body: await parseErrorBody(output.body, context),
@@ -962,22 +960,22 @@ const deserializeAws_restJson1GetDevEnvironmentCommandError = async (output, con
962
960
  switch (errorCode) {
963
961
  case "AccessDeniedException":
964
962
  case "com.amazonaws.codecatalyst#AccessDeniedException":
965
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
963
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
966
964
  case "ConflictException":
967
965
  case "com.amazonaws.codecatalyst#ConflictException":
968
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
966
+ throw await de_ConflictExceptionRes(parsedOutput, context);
969
967
  case "ResourceNotFoundException":
970
968
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
971
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
969
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
972
970
  case "ServiceQuotaExceededException":
973
971
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
974
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
972
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
975
973
  case "ThrottlingException":
976
974
  case "com.amazonaws.codecatalyst#ThrottlingException":
977
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
975
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
978
976
  case "ValidationException":
979
977
  case "com.amazonaws.codecatalyst#ValidationException":
980
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
978
+ throw await de_ValidationExceptionRes(parsedOutput, context);
981
979
  default:
982
980
  const parsedBody = parsedOutput.body;
983
981
  (0, smithy_client_1.throwDefaultError)({
@@ -988,9 +986,9 @@ const deserializeAws_restJson1GetDevEnvironmentCommandError = async (output, con
988
986
  });
989
987
  }
990
988
  };
991
- const deserializeAws_restJson1GetProjectCommand = async (output, context) => {
989
+ const de_GetProjectCommand = async (output, context) => {
992
990
  if (output.statusCode !== 200 && output.statusCode >= 300) {
993
- return deserializeAws_restJson1GetProjectCommandError(output, context);
991
+ return de_GetProjectCommandError(output, context);
994
992
  }
995
993
  const contents = map({
996
994
  $metadata: deserializeMetadata(output),
@@ -1010,8 +1008,8 @@ const deserializeAws_restJson1GetProjectCommand = async (output, context) => {
1010
1008
  }
1011
1009
  return contents;
1012
1010
  };
1013
- exports.deserializeAws_restJson1GetProjectCommand = deserializeAws_restJson1GetProjectCommand;
1014
- const deserializeAws_restJson1GetProjectCommandError = async (output, context) => {
1011
+ exports.de_GetProjectCommand = de_GetProjectCommand;
1012
+ const de_GetProjectCommandError = async (output, context) => {
1015
1013
  const parsedOutput = {
1016
1014
  ...output,
1017
1015
  body: await parseErrorBody(output.body, context),
@@ -1020,22 +1018,22 @@ const deserializeAws_restJson1GetProjectCommandError = async (output, context) =
1020
1018
  switch (errorCode) {
1021
1019
  case "AccessDeniedException":
1022
1020
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1023
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1021
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1024
1022
  case "ConflictException":
1025
1023
  case "com.amazonaws.codecatalyst#ConflictException":
1026
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1024
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1027
1025
  case "ResourceNotFoundException":
1028
1026
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1029
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1027
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1030
1028
  case "ServiceQuotaExceededException":
1031
1029
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1032
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1030
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1033
1031
  case "ThrottlingException":
1034
1032
  case "com.amazonaws.codecatalyst#ThrottlingException":
1035
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1033
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1036
1034
  case "ValidationException":
1037
1035
  case "com.amazonaws.codecatalyst#ValidationException":
1038
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1036
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1039
1037
  default:
1040
1038
  const parsedBody = parsedOutput.body;
1041
1039
  (0, smithy_client_1.throwDefaultError)({
@@ -1046,9 +1044,9 @@ const deserializeAws_restJson1GetProjectCommandError = async (output, context) =
1046
1044
  });
1047
1045
  }
1048
1046
  };
1049
- const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async (output, context) => {
1047
+ const de_GetSourceRepositoryCloneUrlsCommand = async (output, context) => {
1050
1048
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1051
- return deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError(output, context);
1049
+ return de_GetSourceRepositoryCloneUrlsCommandError(output, context);
1052
1050
  }
1053
1051
  const contents = map({
1054
1052
  $metadata: deserializeMetadata(output),
@@ -1059,8 +1057,8 @@ const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = async (outpu
1059
1057
  }
1060
1058
  return contents;
1061
1059
  };
1062
- exports.deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand;
1063
- const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError = async (output, context) => {
1060
+ exports.de_GetSourceRepositoryCloneUrlsCommand = de_GetSourceRepositoryCloneUrlsCommand;
1061
+ const de_GetSourceRepositoryCloneUrlsCommandError = async (output, context) => {
1064
1062
  const parsedOutput = {
1065
1063
  ...output,
1066
1064
  body: await parseErrorBody(output.body, context),
@@ -1069,22 +1067,22 @@ const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError = async (
1069
1067
  switch (errorCode) {
1070
1068
  case "AccessDeniedException":
1071
1069
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1072
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1070
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1073
1071
  case "ConflictException":
1074
1072
  case "com.amazonaws.codecatalyst#ConflictException":
1075
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1073
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1076
1074
  case "ResourceNotFoundException":
1077
1075
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1078
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1076
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1079
1077
  case "ServiceQuotaExceededException":
1080
1078
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1081
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1079
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1082
1080
  case "ThrottlingException":
1083
1081
  case "com.amazonaws.codecatalyst#ThrottlingException":
1084
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1082
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1085
1083
  case "ValidationException":
1086
1084
  case "com.amazonaws.codecatalyst#ValidationException":
1087
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1085
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1088
1086
  default:
1089
1087
  const parsedBody = parsedOutput.body;
1090
1088
  (0, smithy_client_1.throwDefaultError)({
@@ -1095,9 +1093,9 @@ const deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommandError = async (
1095
1093
  });
1096
1094
  }
1097
1095
  };
1098
- const deserializeAws_restJson1GetSpaceCommand = async (output, context) => {
1096
+ const de_GetSpaceCommand = async (output, context) => {
1099
1097
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1100
- return deserializeAws_restJson1GetSpaceCommandError(output, context);
1098
+ return de_GetSpaceCommandError(output, context);
1101
1099
  }
1102
1100
  const contents = map({
1103
1101
  $metadata: deserializeMetadata(output),
@@ -1117,8 +1115,8 @@ const deserializeAws_restJson1GetSpaceCommand = async (output, context) => {
1117
1115
  }
1118
1116
  return contents;
1119
1117
  };
1120
- exports.deserializeAws_restJson1GetSpaceCommand = deserializeAws_restJson1GetSpaceCommand;
1121
- const deserializeAws_restJson1GetSpaceCommandError = async (output, context) => {
1118
+ exports.de_GetSpaceCommand = de_GetSpaceCommand;
1119
+ const de_GetSpaceCommandError = async (output, context) => {
1122
1120
  const parsedOutput = {
1123
1121
  ...output,
1124
1122
  body: await parseErrorBody(output.body, context),
@@ -1127,22 +1125,22 @@ const deserializeAws_restJson1GetSpaceCommandError = async (output, context) =>
1127
1125
  switch (errorCode) {
1128
1126
  case "AccessDeniedException":
1129
1127
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1130
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1128
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1131
1129
  case "ConflictException":
1132
1130
  case "com.amazonaws.codecatalyst#ConflictException":
1133
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1131
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1134
1132
  case "ResourceNotFoundException":
1135
1133
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1136
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1134
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1137
1135
  case "ServiceQuotaExceededException":
1138
1136
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1139
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1137
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1140
1138
  case "ThrottlingException":
1141
1139
  case "com.amazonaws.codecatalyst#ThrottlingException":
1142
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1140
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1143
1141
  case "ValidationException":
1144
1142
  case "com.amazonaws.codecatalyst#ValidationException":
1145
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1143
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1146
1144
  default:
1147
1145
  const parsedBody = parsedOutput.body;
1148
1146
  (0, smithy_client_1.throwDefaultError)({
@@ -1153,9 +1151,9 @@ const deserializeAws_restJson1GetSpaceCommandError = async (output, context) =>
1153
1151
  });
1154
1152
  }
1155
1153
  };
1156
- const deserializeAws_restJson1GetSubscriptionCommand = async (output, context) => {
1154
+ const de_GetSubscriptionCommand = async (output, context) => {
1157
1155
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1158
- return deserializeAws_restJson1GetSubscriptionCommandError(output, context);
1156
+ return de_GetSubscriptionCommandError(output, context);
1159
1157
  }
1160
1158
  const contents = map({
1161
1159
  $metadata: deserializeMetadata(output),
@@ -1169,8 +1167,8 @@ const deserializeAws_restJson1GetSubscriptionCommand = async (output, context) =
1169
1167
  }
1170
1168
  return contents;
1171
1169
  };
1172
- exports.deserializeAws_restJson1GetSubscriptionCommand = deserializeAws_restJson1GetSubscriptionCommand;
1173
- const deserializeAws_restJson1GetSubscriptionCommandError = async (output, context) => {
1170
+ exports.de_GetSubscriptionCommand = de_GetSubscriptionCommand;
1171
+ const de_GetSubscriptionCommandError = async (output, context) => {
1174
1172
  const parsedOutput = {
1175
1173
  ...output,
1176
1174
  body: await parseErrorBody(output.body, context),
@@ -1179,22 +1177,22 @@ const deserializeAws_restJson1GetSubscriptionCommandError = async (output, conte
1179
1177
  switch (errorCode) {
1180
1178
  case "AccessDeniedException":
1181
1179
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1182
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1180
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1183
1181
  case "ConflictException":
1184
1182
  case "com.amazonaws.codecatalyst#ConflictException":
1185
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1183
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1186
1184
  case "ResourceNotFoundException":
1187
1185
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1188
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1186
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1189
1187
  case "ServiceQuotaExceededException":
1190
1188
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1191
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1189
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1192
1190
  case "ThrottlingException":
1193
1191
  case "com.amazonaws.codecatalyst#ThrottlingException":
1194
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1192
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1195
1193
  case "ValidationException":
1196
1194
  case "com.amazonaws.codecatalyst#ValidationException":
1197
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1195
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1198
1196
  default:
1199
1197
  const parsedBody = parsedOutput.body;
1200
1198
  (0, smithy_client_1.throwDefaultError)({
@@ -1205,9 +1203,9 @@ const deserializeAws_restJson1GetSubscriptionCommandError = async (output, conte
1205
1203
  });
1206
1204
  }
1207
1205
  };
1208
- const deserializeAws_restJson1GetUserDetailsCommand = async (output, context) => {
1206
+ const de_GetUserDetailsCommand = async (output, context) => {
1209
1207
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1210
- return deserializeAws_restJson1GetUserDetailsCommandError(output, context);
1208
+ return de_GetUserDetailsCommandError(output, context);
1211
1209
  }
1212
1210
  const contents = map({
1213
1211
  $metadata: deserializeMetadata(output),
@@ -1217,7 +1215,7 @@ const deserializeAws_restJson1GetUserDetailsCommand = async (output, context) =>
1217
1215
  contents.displayName = (0, smithy_client_1.expectString)(data.displayName);
1218
1216
  }
1219
1217
  if (data.primaryEmail != null) {
1220
- contents.primaryEmail = deserializeAws_restJson1EmailAddress(data.primaryEmail, context);
1218
+ contents.primaryEmail = de_EmailAddress(data.primaryEmail, context);
1221
1219
  }
1222
1220
  if (data.userId != null) {
1223
1221
  contents.userId = (0, smithy_client_1.expectString)(data.userId);
@@ -1230,8 +1228,8 @@ const deserializeAws_restJson1GetUserDetailsCommand = async (output, context) =>
1230
1228
  }
1231
1229
  return contents;
1232
1230
  };
1233
- exports.deserializeAws_restJson1GetUserDetailsCommand = deserializeAws_restJson1GetUserDetailsCommand;
1234
- const deserializeAws_restJson1GetUserDetailsCommandError = async (output, context) => {
1231
+ exports.de_GetUserDetailsCommand = de_GetUserDetailsCommand;
1232
+ const de_GetUserDetailsCommandError = async (output, context) => {
1235
1233
  const parsedOutput = {
1236
1234
  ...output,
1237
1235
  body: await parseErrorBody(output.body, context),
@@ -1240,22 +1238,22 @@ const deserializeAws_restJson1GetUserDetailsCommandError = async (output, contex
1240
1238
  switch (errorCode) {
1241
1239
  case "AccessDeniedException":
1242
1240
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1243
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1241
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1244
1242
  case "ConflictException":
1245
1243
  case "com.amazonaws.codecatalyst#ConflictException":
1246
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1244
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1247
1245
  case "ResourceNotFoundException":
1248
1246
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1249
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1247
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1250
1248
  case "ServiceQuotaExceededException":
1251
1249
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1252
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1250
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1253
1251
  case "ThrottlingException":
1254
1252
  case "com.amazonaws.codecatalyst#ThrottlingException":
1255
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1253
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1256
1254
  case "ValidationException":
1257
1255
  case "com.amazonaws.codecatalyst#ValidationException":
1258
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1256
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1259
1257
  default:
1260
1258
  const parsedBody = parsedOutput.body;
1261
1259
  (0, smithy_client_1.throwDefaultError)({
@@ -1266,24 +1264,24 @@ const deserializeAws_restJson1GetUserDetailsCommandError = async (output, contex
1266
1264
  });
1267
1265
  }
1268
1266
  };
1269
- const deserializeAws_restJson1ListAccessTokensCommand = async (output, context) => {
1267
+ const de_ListAccessTokensCommand = async (output, context) => {
1270
1268
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1271
- return deserializeAws_restJson1ListAccessTokensCommandError(output, context);
1269
+ return de_ListAccessTokensCommandError(output, context);
1272
1270
  }
1273
1271
  const contents = map({
1274
1272
  $metadata: deserializeMetadata(output),
1275
1273
  });
1276
1274
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1277
1275
  if (data.items != null) {
1278
- contents.items = deserializeAws_restJson1AccessTokenSummaries(data.items, context);
1276
+ contents.items = de_AccessTokenSummaries(data.items, context);
1279
1277
  }
1280
1278
  if (data.nextToken != null) {
1281
1279
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1282
1280
  }
1283
1281
  return contents;
1284
1282
  };
1285
- exports.deserializeAws_restJson1ListAccessTokensCommand = deserializeAws_restJson1ListAccessTokensCommand;
1286
- const deserializeAws_restJson1ListAccessTokensCommandError = async (output, context) => {
1283
+ exports.de_ListAccessTokensCommand = de_ListAccessTokensCommand;
1284
+ const de_ListAccessTokensCommandError = async (output, context) => {
1287
1285
  const parsedOutput = {
1288
1286
  ...output,
1289
1287
  body: await parseErrorBody(output.body, context),
@@ -1292,22 +1290,22 @@ const deserializeAws_restJson1ListAccessTokensCommandError = async (output, cont
1292
1290
  switch (errorCode) {
1293
1291
  case "AccessDeniedException":
1294
1292
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1295
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1293
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1296
1294
  case "ConflictException":
1297
1295
  case "com.amazonaws.codecatalyst#ConflictException":
1298
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1296
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1299
1297
  case "ResourceNotFoundException":
1300
1298
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1301
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1299
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1302
1300
  case "ServiceQuotaExceededException":
1303
1301
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1304
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1302
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1305
1303
  case "ThrottlingException":
1306
1304
  case "com.amazonaws.codecatalyst#ThrottlingException":
1307
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1305
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1308
1306
  case "ValidationException":
1309
1307
  case "com.amazonaws.codecatalyst#ValidationException":
1310
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1308
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1311
1309
  default:
1312
1310
  const parsedBody = parsedOutput.body;
1313
1311
  (0, smithy_client_1.throwDefaultError)({
@@ -1318,24 +1316,24 @@ const deserializeAws_restJson1ListAccessTokensCommandError = async (output, cont
1318
1316
  });
1319
1317
  }
1320
1318
  };
1321
- const deserializeAws_restJson1ListDevEnvironmentsCommand = async (output, context) => {
1319
+ const de_ListDevEnvironmentsCommand = async (output, context) => {
1322
1320
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1323
- return deserializeAws_restJson1ListDevEnvironmentsCommandError(output, context);
1321
+ return de_ListDevEnvironmentsCommandError(output, context);
1324
1322
  }
1325
1323
  const contents = map({
1326
1324
  $metadata: deserializeMetadata(output),
1327
1325
  });
1328
1326
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1329
1327
  if (data.items != null) {
1330
- contents.items = deserializeAws_restJson1DevEnvironmentSummaryList(data.items, context);
1328
+ contents.items = de_DevEnvironmentSummaryList(data.items, context);
1331
1329
  }
1332
1330
  if (data.nextToken != null) {
1333
1331
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1334
1332
  }
1335
1333
  return contents;
1336
1334
  };
1337
- exports.deserializeAws_restJson1ListDevEnvironmentsCommand = deserializeAws_restJson1ListDevEnvironmentsCommand;
1338
- const deserializeAws_restJson1ListDevEnvironmentsCommandError = async (output, context) => {
1335
+ exports.de_ListDevEnvironmentsCommand = de_ListDevEnvironmentsCommand;
1336
+ const de_ListDevEnvironmentsCommandError = async (output, context) => {
1339
1337
  const parsedOutput = {
1340
1338
  ...output,
1341
1339
  body: await parseErrorBody(output.body, context),
@@ -1344,22 +1342,22 @@ const deserializeAws_restJson1ListDevEnvironmentsCommandError = async (output, c
1344
1342
  switch (errorCode) {
1345
1343
  case "AccessDeniedException":
1346
1344
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1347
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1345
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1348
1346
  case "ConflictException":
1349
1347
  case "com.amazonaws.codecatalyst#ConflictException":
1350
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1348
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1351
1349
  case "ResourceNotFoundException":
1352
1350
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1353
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1351
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1354
1352
  case "ServiceQuotaExceededException":
1355
1353
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1356
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1354
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1357
1355
  case "ThrottlingException":
1358
1356
  case "com.amazonaws.codecatalyst#ThrottlingException":
1359
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1357
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1360
1358
  case "ValidationException":
1361
1359
  case "com.amazonaws.codecatalyst#ValidationException":
1362
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1360
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1363
1361
  default:
1364
1362
  const parsedBody = parsedOutput.body;
1365
1363
  (0, smithy_client_1.throwDefaultError)({
@@ -1370,24 +1368,24 @@ const deserializeAws_restJson1ListDevEnvironmentsCommandError = async (output, c
1370
1368
  });
1371
1369
  }
1372
1370
  };
1373
- const deserializeAws_restJson1ListEventLogsCommand = async (output, context) => {
1371
+ const de_ListEventLogsCommand = async (output, context) => {
1374
1372
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1375
- return deserializeAws_restJson1ListEventLogsCommandError(output, context);
1373
+ return de_ListEventLogsCommandError(output, context);
1376
1374
  }
1377
1375
  const contents = map({
1378
1376
  $metadata: deserializeMetadata(output),
1379
1377
  });
1380
1378
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1381
1379
  if (data.items != null) {
1382
- contents.items = deserializeAws_restJson1EventLogEntries(data.items, context);
1380
+ contents.items = de_EventLogEntries(data.items, context);
1383
1381
  }
1384
1382
  if (data.nextToken != null) {
1385
1383
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1386
1384
  }
1387
1385
  return contents;
1388
1386
  };
1389
- exports.deserializeAws_restJson1ListEventLogsCommand = deserializeAws_restJson1ListEventLogsCommand;
1390
- const deserializeAws_restJson1ListEventLogsCommandError = async (output, context) => {
1387
+ exports.de_ListEventLogsCommand = de_ListEventLogsCommand;
1388
+ const de_ListEventLogsCommandError = async (output, context) => {
1391
1389
  const parsedOutput = {
1392
1390
  ...output,
1393
1391
  body: await parseErrorBody(output.body, context),
@@ -1396,22 +1394,22 @@ const deserializeAws_restJson1ListEventLogsCommandError = async (output, context
1396
1394
  switch (errorCode) {
1397
1395
  case "AccessDeniedException":
1398
1396
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1399
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1397
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1400
1398
  case "ConflictException":
1401
1399
  case "com.amazonaws.codecatalyst#ConflictException":
1402
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1400
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1403
1401
  case "ResourceNotFoundException":
1404
1402
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1405
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1403
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1406
1404
  case "ServiceQuotaExceededException":
1407
1405
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1408
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1406
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1409
1407
  case "ThrottlingException":
1410
1408
  case "com.amazonaws.codecatalyst#ThrottlingException":
1411
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1409
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1412
1410
  case "ValidationException":
1413
1411
  case "com.amazonaws.codecatalyst#ValidationException":
1414
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1412
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1415
1413
  default:
1416
1414
  const parsedBody = parsedOutput.body;
1417
1415
  (0, smithy_client_1.throwDefaultError)({
@@ -1422,24 +1420,24 @@ const deserializeAws_restJson1ListEventLogsCommandError = async (output, context
1422
1420
  });
1423
1421
  }
1424
1422
  };
1425
- const deserializeAws_restJson1ListProjectsCommand = async (output, context) => {
1423
+ const de_ListProjectsCommand = async (output, context) => {
1426
1424
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1427
- return deserializeAws_restJson1ListProjectsCommandError(output, context);
1425
+ return de_ListProjectsCommandError(output, context);
1428
1426
  }
1429
1427
  const contents = map({
1430
1428
  $metadata: deserializeMetadata(output),
1431
1429
  });
1432
1430
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1433
1431
  if (data.items != null) {
1434
- contents.items = deserializeAws_restJson1ProjectSummaries(data.items, context);
1432
+ contents.items = de_ProjectSummaries(data.items, context);
1435
1433
  }
1436
1434
  if (data.nextToken != null) {
1437
1435
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1438
1436
  }
1439
1437
  return contents;
1440
1438
  };
1441
- exports.deserializeAws_restJson1ListProjectsCommand = deserializeAws_restJson1ListProjectsCommand;
1442
- const deserializeAws_restJson1ListProjectsCommandError = async (output, context) => {
1439
+ exports.de_ListProjectsCommand = de_ListProjectsCommand;
1440
+ const de_ListProjectsCommandError = async (output, context) => {
1443
1441
  const parsedOutput = {
1444
1442
  ...output,
1445
1443
  body: await parseErrorBody(output.body, context),
@@ -1448,22 +1446,22 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
1448
1446
  switch (errorCode) {
1449
1447
  case "AccessDeniedException":
1450
1448
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1451
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1449
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1452
1450
  case "ConflictException":
1453
1451
  case "com.amazonaws.codecatalyst#ConflictException":
1454
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1452
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1455
1453
  case "ResourceNotFoundException":
1456
1454
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1457
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1455
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1458
1456
  case "ServiceQuotaExceededException":
1459
1457
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1460
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1458
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1461
1459
  case "ThrottlingException":
1462
1460
  case "com.amazonaws.codecatalyst#ThrottlingException":
1463
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1461
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1464
1462
  case "ValidationException":
1465
1463
  case "com.amazonaws.codecatalyst#ValidationException":
1466
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1464
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1467
1465
  default:
1468
1466
  const parsedBody = parsedOutput.body;
1469
1467
  (0, smithy_client_1.throwDefaultError)({
@@ -1474,24 +1472,24 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
1474
1472
  });
1475
1473
  }
1476
1474
  };
1477
- const deserializeAws_restJson1ListSourceRepositoriesCommand = async (output, context) => {
1475
+ const de_ListSourceRepositoriesCommand = async (output, context) => {
1478
1476
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1479
- return deserializeAws_restJson1ListSourceRepositoriesCommandError(output, context);
1477
+ return de_ListSourceRepositoriesCommandError(output, context);
1480
1478
  }
1481
1479
  const contents = map({
1482
1480
  $metadata: deserializeMetadata(output),
1483
1481
  });
1484
1482
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1485
1483
  if (data.items != null) {
1486
- contents.items = deserializeAws_restJson1ListSourceRepositoriesItems(data.items, context);
1484
+ contents.items = de_ListSourceRepositoriesItems(data.items, context);
1487
1485
  }
1488
1486
  if (data.nextToken != null) {
1489
1487
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1490
1488
  }
1491
1489
  return contents;
1492
1490
  };
1493
- exports.deserializeAws_restJson1ListSourceRepositoriesCommand = deserializeAws_restJson1ListSourceRepositoriesCommand;
1494
- const deserializeAws_restJson1ListSourceRepositoriesCommandError = async (output, context) => {
1491
+ exports.de_ListSourceRepositoriesCommand = de_ListSourceRepositoriesCommand;
1492
+ const de_ListSourceRepositoriesCommandError = async (output, context) => {
1495
1493
  const parsedOutput = {
1496
1494
  ...output,
1497
1495
  body: await parseErrorBody(output.body, context),
@@ -1500,22 +1498,22 @@ const deserializeAws_restJson1ListSourceRepositoriesCommandError = async (output
1500
1498
  switch (errorCode) {
1501
1499
  case "AccessDeniedException":
1502
1500
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1503
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1501
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1504
1502
  case "ConflictException":
1505
1503
  case "com.amazonaws.codecatalyst#ConflictException":
1506
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1504
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1507
1505
  case "ResourceNotFoundException":
1508
1506
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1509
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1507
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1510
1508
  case "ServiceQuotaExceededException":
1511
1509
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1512
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1510
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1513
1511
  case "ThrottlingException":
1514
1512
  case "com.amazonaws.codecatalyst#ThrottlingException":
1515
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1513
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1516
1514
  case "ValidationException":
1517
1515
  case "com.amazonaws.codecatalyst#ValidationException":
1518
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1516
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1519
1517
  default:
1520
1518
  const parsedBody = parsedOutput.body;
1521
1519
  (0, smithy_client_1.throwDefaultError)({
@@ -1526,24 +1524,24 @@ const deserializeAws_restJson1ListSourceRepositoriesCommandError = async (output
1526
1524
  });
1527
1525
  }
1528
1526
  };
1529
- const deserializeAws_restJson1ListSourceRepositoryBranchesCommand = async (output, context) => {
1527
+ const de_ListSourceRepositoryBranchesCommand = async (output, context) => {
1530
1528
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1531
- return deserializeAws_restJson1ListSourceRepositoryBranchesCommandError(output, context);
1529
+ return de_ListSourceRepositoryBranchesCommandError(output, context);
1532
1530
  }
1533
1531
  const contents = map({
1534
1532
  $metadata: deserializeMetadata(output),
1535
1533
  });
1536
1534
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1537
1535
  if (data.items != null) {
1538
- contents.items = deserializeAws_restJson1ListSourceRepositoryBranchesItems(data.items, context);
1536
+ contents.items = de_ListSourceRepositoryBranchesItems(data.items, context);
1539
1537
  }
1540
1538
  if (data.nextToken != null) {
1541
1539
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1542
1540
  }
1543
1541
  return contents;
1544
1542
  };
1545
- exports.deserializeAws_restJson1ListSourceRepositoryBranchesCommand = deserializeAws_restJson1ListSourceRepositoryBranchesCommand;
1546
- const deserializeAws_restJson1ListSourceRepositoryBranchesCommandError = async (output, context) => {
1543
+ exports.de_ListSourceRepositoryBranchesCommand = de_ListSourceRepositoryBranchesCommand;
1544
+ const de_ListSourceRepositoryBranchesCommandError = async (output, context) => {
1547
1545
  const parsedOutput = {
1548
1546
  ...output,
1549
1547
  body: await parseErrorBody(output.body, context),
@@ -1552,22 +1550,22 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesCommandError = async (
1552
1550
  switch (errorCode) {
1553
1551
  case "AccessDeniedException":
1554
1552
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1555
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1553
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1556
1554
  case "ConflictException":
1557
1555
  case "com.amazonaws.codecatalyst#ConflictException":
1558
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1556
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1559
1557
  case "ResourceNotFoundException":
1560
1558
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1561
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1559
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1562
1560
  case "ServiceQuotaExceededException":
1563
1561
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1564
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1562
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1565
1563
  case "ThrottlingException":
1566
1564
  case "com.amazonaws.codecatalyst#ThrottlingException":
1567
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1565
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1568
1566
  case "ValidationException":
1569
1567
  case "com.amazonaws.codecatalyst#ValidationException":
1570
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1568
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1571
1569
  default:
1572
1570
  const parsedBody = parsedOutput.body;
1573
1571
  (0, smithy_client_1.throwDefaultError)({
@@ -1578,24 +1576,24 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesCommandError = async (
1578
1576
  });
1579
1577
  }
1580
1578
  };
1581
- const deserializeAws_restJson1ListSpacesCommand = async (output, context) => {
1579
+ const de_ListSpacesCommand = async (output, context) => {
1582
1580
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1583
- return deserializeAws_restJson1ListSpacesCommandError(output, context);
1581
+ return de_ListSpacesCommandError(output, context);
1584
1582
  }
1585
1583
  const contents = map({
1586
1584
  $metadata: deserializeMetadata(output),
1587
1585
  });
1588
1586
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1589
1587
  if (data.items != null) {
1590
- contents.items = deserializeAws_restJson1SpaceSummaries(data.items, context);
1588
+ contents.items = de_SpaceSummaries(data.items, context);
1591
1589
  }
1592
1590
  if (data.nextToken != null) {
1593
1591
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1594
1592
  }
1595
1593
  return contents;
1596
1594
  };
1597
- exports.deserializeAws_restJson1ListSpacesCommand = deserializeAws_restJson1ListSpacesCommand;
1598
- const deserializeAws_restJson1ListSpacesCommandError = async (output, context) => {
1595
+ exports.de_ListSpacesCommand = de_ListSpacesCommand;
1596
+ const de_ListSpacesCommandError = async (output, context) => {
1599
1597
  const parsedOutput = {
1600
1598
  ...output,
1601
1599
  body: await parseErrorBody(output.body, context),
@@ -1604,22 +1602,22 @@ const deserializeAws_restJson1ListSpacesCommandError = async (output, context) =
1604
1602
  switch (errorCode) {
1605
1603
  case "AccessDeniedException":
1606
1604
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1607
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1605
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1608
1606
  case "ConflictException":
1609
1607
  case "com.amazonaws.codecatalyst#ConflictException":
1610
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1608
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1611
1609
  case "ResourceNotFoundException":
1612
1610
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1613
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1611
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1614
1612
  case "ServiceQuotaExceededException":
1615
1613
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1616
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1614
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1617
1615
  case "ThrottlingException":
1618
1616
  case "com.amazonaws.codecatalyst#ThrottlingException":
1619
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1617
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1620
1618
  case "ValidationException":
1621
1619
  case "com.amazonaws.codecatalyst#ValidationException":
1622
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1620
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1623
1621
  default:
1624
1622
  const parsedBody = parsedOutput.body;
1625
1623
  (0, smithy_client_1.throwDefaultError)({
@@ -1630,9 +1628,9 @@ const deserializeAws_restJson1ListSpacesCommandError = async (output, context) =
1630
1628
  });
1631
1629
  }
1632
1630
  };
1633
- const deserializeAws_restJson1StartDevEnvironmentCommand = async (output, context) => {
1631
+ const de_StartDevEnvironmentCommand = async (output, context) => {
1634
1632
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1635
- return deserializeAws_restJson1StartDevEnvironmentCommandError(output, context);
1633
+ return de_StartDevEnvironmentCommandError(output, context);
1636
1634
  }
1637
1635
  const contents = map({
1638
1636
  $metadata: deserializeMetadata(output),
@@ -1652,8 +1650,8 @@ const deserializeAws_restJson1StartDevEnvironmentCommand = async (output, contex
1652
1650
  }
1653
1651
  return contents;
1654
1652
  };
1655
- exports.deserializeAws_restJson1StartDevEnvironmentCommand = deserializeAws_restJson1StartDevEnvironmentCommand;
1656
- const deserializeAws_restJson1StartDevEnvironmentCommandError = async (output, context) => {
1653
+ exports.de_StartDevEnvironmentCommand = de_StartDevEnvironmentCommand;
1654
+ const de_StartDevEnvironmentCommandError = async (output, context) => {
1657
1655
  const parsedOutput = {
1658
1656
  ...output,
1659
1657
  body: await parseErrorBody(output.body, context),
@@ -1662,22 +1660,22 @@ const deserializeAws_restJson1StartDevEnvironmentCommandError = async (output, c
1662
1660
  switch (errorCode) {
1663
1661
  case "AccessDeniedException":
1664
1662
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1665
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1663
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1666
1664
  case "ConflictException":
1667
1665
  case "com.amazonaws.codecatalyst#ConflictException":
1668
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1666
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1669
1667
  case "ResourceNotFoundException":
1670
1668
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1671
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1669
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1672
1670
  case "ServiceQuotaExceededException":
1673
1671
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1674
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1672
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1675
1673
  case "ThrottlingException":
1676
1674
  case "com.amazonaws.codecatalyst#ThrottlingException":
1677
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1675
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1678
1676
  case "ValidationException":
1679
1677
  case "com.amazonaws.codecatalyst#ValidationException":
1680
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1678
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1681
1679
  default:
1682
1680
  const parsedBody = parsedOutput.body;
1683
1681
  (0, smithy_client_1.throwDefaultError)({
@@ -1688,16 +1686,16 @@ const deserializeAws_restJson1StartDevEnvironmentCommandError = async (output, c
1688
1686
  });
1689
1687
  }
1690
1688
  };
1691
- const deserializeAws_restJson1StartDevEnvironmentSessionCommand = async (output, context) => {
1689
+ const de_StartDevEnvironmentSessionCommand = async (output, context) => {
1692
1690
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1693
- return deserializeAws_restJson1StartDevEnvironmentSessionCommandError(output, context);
1691
+ return de_StartDevEnvironmentSessionCommandError(output, context);
1694
1692
  }
1695
1693
  const contents = map({
1696
1694
  $metadata: deserializeMetadata(output),
1697
1695
  });
1698
1696
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1699
1697
  if (data.accessDetails != null) {
1700
- contents.accessDetails = deserializeAws_restJson1DevEnvironmentAccessDetails(data.accessDetails, context);
1698
+ contents.accessDetails = de_DevEnvironmentAccessDetails(data.accessDetails, context);
1701
1699
  }
1702
1700
  if (data.id != null) {
1703
1701
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1713,8 +1711,8 @@ const deserializeAws_restJson1StartDevEnvironmentSessionCommand = async (output,
1713
1711
  }
1714
1712
  return contents;
1715
1713
  };
1716
- exports.deserializeAws_restJson1StartDevEnvironmentSessionCommand = deserializeAws_restJson1StartDevEnvironmentSessionCommand;
1717
- const deserializeAws_restJson1StartDevEnvironmentSessionCommandError = async (output, context) => {
1714
+ exports.de_StartDevEnvironmentSessionCommand = de_StartDevEnvironmentSessionCommand;
1715
+ const de_StartDevEnvironmentSessionCommandError = async (output, context) => {
1718
1716
  const parsedOutput = {
1719
1717
  ...output,
1720
1718
  body: await parseErrorBody(output.body, context),
@@ -1723,22 +1721,22 @@ const deserializeAws_restJson1StartDevEnvironmentSessionCommandError = async (ou
1723
1721
  switch (errorCode) {
1724
1722
  case "AccessDeniedException":
1725
1723
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1726
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1724
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1727
1725
  case "ConflictException":
1728
1726
  case "com.amazonaws.codecatalyst#ConflictException":
1729
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1727
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1730
1728
  case "ResourceNotFoundException":
1731
1729
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1732
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1730
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1733
1731
  case "ServiceQuotaExceededException":
1734
1732
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1735
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1733
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1736
1734
  case "ThrottlingException":
1737
1735
  case "com.amazonaws.codecatalyst#ThrottlingException":
1738
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1736
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1739
1737
  case "ValidationException":
1740
1738
  case "com.amazonaws.codecatalyst#ValidationException":
1741
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1739
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1742
1740
  default:
1743
1741
  const parsedBody = parsedOutput.body;
1744
1742
  (0, smithy_client_1.throwDefaultError)({
@@ -1749,9 +1747,9 @@ const deserializeAws_restJson1StartDevEnvironmentSessionCommandError = async (ou
1749
1747
  });
1750
1748
  }
1751
1749
  };
1752
- const deserializeAws_restJson1StopDevEnvironmentCommand = async (output, context) => {
1750
+ const de_StopDevEnvironmentCommand = async (output, context) => {
1753
1751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1754
- return deserializeAws_restJson1StopDevEnvironmentCommandError(output, context);
1752
+ return de_StopDevEnvironmentCommandError(output, context);
1755
1753
  }
1756
1754
  const contents = map({
1757
1755
  $metadata: deserializeMetadata(output),
@@ -1771,8 +1769,8 @@ const deserializeAws_restJson1StopDevEnvironmentCommand = async (output, context
1771
1769
  }
1772
1770
  return contents;
1773
1771
  };
1774
- exports.deserializeAws_restJson1StopDevEnvironmentCommand = deserializeAws_restJson1StopDevEnvironmentCommand;
1775
- const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, context) => {
1772
+ exports.de_StopDevEnvironmentCommand = de_StopDevEnvironmentCommand;
1773
+ const de_StopDevEnvironmentCommandError = async (output, context) => {
1776
1774
  const parsedOutput = {
1777
1775
  ...output,
1778
1776
  body: await parseErrorBody(output.body, context),
@@ -1781,22 +1779,22 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
1781
1779
  switch (errorCode) {
1782
1780
  case "AccessDeniedException":
1783
1781
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1784
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1782
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1785
1783
  case "ConflictException":
1786
1784
  case "com.amazonaws.codecatalyst#ConflictException":
1787
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1785
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1788
1786
  case "ResourceNotFoundException":
1789
1787
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1790
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1788
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1791
1789
  case "ServiceQuotaExceededException":
1792
1790
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1793
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1791
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1794
1792
  case "ThrottlingException":
1795
1793
  case "com.amazonaws.codecatalyst#ThrottlingException":
1796
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1794
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1797
1795
  case "ValidationException":
1798
1796
  case "com.amazonaws.codecatalyst#ValidationException":
1799
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1797
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1800
1798
  default:
1801
1799
  const parsedBody = parsedOutput.body;
1802
1800
  (0, smithy_client_1.throwDefaultError)({
@@ -1807,9 +1805,9 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
1807
1805
  });
1808
1806
  }
1809
1807
  };
1810
- const deserializeAws_restJson1StopDevEnvironmentSessionCommand = async (output, context) => {
1808
+ const de_StopDevEnvironmentSessionCommand = async (output, context) => {
1811
1809
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1812
- return deserializeAws_restJson1StopDevEnvironmentSessionCommandError(output, context);
1810
+ return de_StopDevEnvironmentSessionCommandError(output, context);
1813
1811
  }
1814
1812
  const contents = map({
1815
1813
  $metadata: deserializeMetadata(output),
@@ -1829,8 +1827,8 @@ const deserializeAws_restJson1StopDevEnvironmentSessionCommand = async (output,
1829
1827
  }
1830
1828
  return contents;
1831
1829
  };
1832
- exports.deserializeAws_restJson1StopDevEnvironmentSessionCommand = deserializeAws_restJson1StopDevEnvironmentSessionCommand;
1833
- const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (output, context) => {
1830
+ exports.de_StopDevEnvironmentSessionCommand = de_StopDevEnvironmentSessionCommand;
1831
+ const de_StopDevEnvironmentSessionCommandError = async (output, context) => {
1834
1832
  const parsedOutput = {
1835
1833
  ...output,
1836
1834
  body: await parseErrorBody(output.body, context),
@@ -1839,22 +1837,22 @@ const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (out
1839
1837
  switch (errorCode) {
1840
1838
  case "AccessDeniedException":
1841
1839
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1842
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1840
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1843
1841
  case "ConflictException":
1844
1842
  case "com.amazonaws.codecatalyst#ConflictException":
1845
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1843
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1846
1844
  case "ResourceNotFoundException":
1847
1845
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1848
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1846
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1849
1847
  case "ServiceQuotaExceededException":
1850
1848
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1851
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1849
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1852
1850
  case "ThrottlingException":
1853
1851
  case "com.amazonaws.codecatalyst#ThrottlingException":
1854
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1852
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1855
1853
  case "ValidationException":
1856
1854
  case "com.amazonaws.codecatalyst#ValidationException":
1857
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1855
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1858
1856
  default:
1859
1857
  const parsedBody = parsedOutput.body;
1860
1858
  (0, smithy_client_1.throwDefaultError)({
@@ -1865,9 +1863,9 @@ const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (out
1865
1863
  });
1866
1864
  }
1867
1865
  };
1868
- const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output, context) => {
1866
+ const de_UpdateDevEnvironmentCommand = async (output, context) => {
1869
1867
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1870
- return deserializeAws_restJson1UpdateDevEnvironmentCommandError(output, context);
1868
+ return de_UpdateDevEnvironmentCommandError(output, context);
1871
1869
  }
1872
1870
  const contents = map({
1873
1871
  $metadata: deserializeMetadata(output),
@@ -1883,7 +1881,7 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output, conte
1883
1881
  contents.id = (0, smithy_client_1.expectString)(data.id);
1884
1882
  }
1885
1883
  if (data.ides != null) {
1886
- contents.ides = deserializeAws_restJson1IdeConfigurationList(data.ides, context);
1884
+ contents.ides = de_IdeConfigurationList(data.ides, context);
1887
1885
  }
1888
1886
  if (data.inactivityTimeoutMinutes != null) {
1889
1887
  contents.inactivityTimeoutMinutes = (0, smithy_client_1.expectInt32)(data.inactivityTimeoutMinutes);
@@ -1899,8 +1897,8 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output, conte
1899
1897
  }
1900
1898
  return contents;
1901
1899
  };
1902
- exports.deserializeAws_restJson1UpdateDevEnvironmentCommand = deserializeAws_restJson1UpdateDevEnvironmentCommand;
1903
- const deserializeAws_restJson1UpdateDevEnvironmentCommandError = async (output, context) => {
1900
+ exports.de_UpdateDevEnvironmentCommand = de_UpdateDevEnvironmentCommand;
1901
+ const de_UpdateDevEnvironmentCommandError = async (output, context) => {
1904
1902
  const parsedOutput = {
1905
1903
  ...output,
1906
1904
  body: await parseErrorBody(output.body, context),
@@ -1909,22 +1907,22 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommandError = async (output,
1909
1907
  switch (errorCode) {
1910
1908
  case "AccessDeniedException":
1911
1909
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1912
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1910
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1913
1911
  case "ConflictException":
1914
1912
  case "com.amazonaws.codecatalyst#ConflictException":
1915
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1913
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1916
1914
  case "ResourceNotFoundException":
1917
1915
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1918
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1916
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1919
1917
  case "ServiceQuotaExceededException":
1920
1918
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1921
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1919
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1922
1920
  case "ThrottlingException":
1923
1921
  case "com.amazonaws.codecatalyst#ThrottlingException":
1924
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1922
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1925
1923
  case "ValidationException":
1926
1924
  case "com.amazonaws.codecatalyst#ValidationException":
1927
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1925
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1928
1926
  default:
1929
1927
  const parsedBody = parsedOutput.body;
1930
1928
  (0, smithy_client_1.throwDefaultError)({
@@ -1935,9 +1933,9 @@ const deserializeAws_restJson1UpdateDevEnvironmentCommandError = async (output,
1935
1933
  });
1936
1934
  }
1937
1935
  };
1938
- const deserializeAws_restJson1VerifySessionCommand = async (output, context) => {
1936
+ const de_VerifySessionCommand = async (output, context) => {
1939
1937
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1940
- return deserializeAws_restJson1VerifySessionCommandError(output, context);
1938
+ return de_VerifySessionCommandError(output, context);
1941
1939
  }
1942
1940
  const contents = map({
1943
1941
  $metadata: deserializeMetadata(output),
@@ -1948,8 +1946,8 @@ const deserializeAws_restJson1VerifySessionCommand = async (output, context) =>
1948
1946
  }
1949
1947
  return contents;
1950
1948
  };
1951
- exports.deserializeAws_restJson1VerifySessionCommand = deserializeAws_restJson1VerifySessionCommand;
1952
- const deserializeAws_restJson1VerifySessionCommandError = async (output, context) => {
1949
+ exports.de_VerifySessionCommand = de_VerifySessionCommand;
1950
+ const de_VerifySessionCommandError = async (output, context) => {
1953
1951
  const parsedOutput = {
1954
1952
  ...output,
1955
1953
  body: await parseErrorBody(output.body, context),
@@ -1958,22 +1956,22 @@ const deserializeAws_restJson1VerifySessionCommandError = async (output, context
1958
1956
  switch (errorCode) {
1959
1957
  case "AccessDeniedException":
1960
1958
  case "com.amazonaws.codecatalyst#AccessDeniedException":
1961
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1959
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1962
1960
  case "ConflictException":
1963
1961
  case "com.amazonaws.codecatalyst#ConflictException":
1964
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1962
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1965
1963
  case "ResourceNotFoundException":
1966
1964
  case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1967
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1965
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1968
1966
  case "ServiceQuotaExceededException":
1969
1967
  case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1970
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1968
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1971
1969
  case "ThrottlingException":
1972
1970
  case "com.amazonaws.codecatalyst#ThrottlingException":
1973
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1971
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1974
1972
  case "ValidationException":
1975
1973
  case "com.amazonaws.codecatalyst#ValidationException":
1976
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1974
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1977
1975
  default:
1978
1976
  const parsedBody = parsedOutput.body;
1979
1977
  (0, smithy_client_1.throwDefaultError)({
@@ -1985,7 +1983,7 @@ const deserializeAws_restJson1VerifySessionCommandError = async (output, context
1985
1983
  }
1986
1984
  };
1987
1985
  const map = smithy_client_1.map;
1988
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1986
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1989
1987
  const contents = map({});
1990
1988
  const data = parsedOutput.body;
1991
1989
  if (data.message != null) {
@@ -1997,7 +1995,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1997
1995
  });
1998
1996
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1999
1997
  };
2000
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1998
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2001
1999
  const contents = map({});
2002
2000
  const data = parsedOutput.body;
2003
2001
  if (data.message != null) {
@@ -2009,7 +2007,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2009
2007
  });
2010
2008
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2011
2009
  };
2012
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2010
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2013
2011
  const contents = map({});
2014
2012
  const data = parsedOutput.body;
2015
2013
  if (data.message != null) {
@@ -2021,7 +2019,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2021
2019
  });
2022
2020
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2023
2021
  };
2024
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2022
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2025
2023
  const contents = map({});
2026
2024
  const data = parsedOutput.body;
2027
2025
  if (data.message != null) {
@@ -2033,7 +2031,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2033
2031
  });
2034
2032
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2035
2033
  };
2036
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2034
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2037
2035
  const contents = map({});
2038
2036
  const data = parsedOutput.body;
2039
2037
  if (data.message != null) {
@@ -2045,7 +2043,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2045
2043
  });
2046
2044
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2047
2045
  };
2048
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2046
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2049
2047
  const contents = map({});
2050
2048
  const data = parsedOutput.body;
2051
2049
  if (data.message != null) {
@@ -2057,188 +2055,184 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2057
2055
  });
2058
2056
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2059
2057
  };
2060
- const serializeAws_restJson1DevEnvironmentSessionConfiguration = (input, context) => {
2058
+ const se_DevEnvironmentSessionConfiguration = (input, context) => {
2061
2059
  return {
2062
2060
  ...(input.executeCommandSessionConfiguration != null && {
2063
- executeCommandSessionConfiguration: serializeAws_restJson1ExecuteCommandSessionConfiguration(input.executeCommandSessionConfiguration, context),
2061
+ executeCommandSessionConfiguration: se_ExecuteCommandSessionConfiguration(input.executeCommandSessionConfiguration, context),
2064
2062
  }),
2065
2063
  ...(input.sessionType != null && { sessionType: input.sessionType }),
2066
2064
  };
2067
2065
  };
2068
- const serializeAws_restJson1ExecuteCommandSessionConfiguration = (input, context) => {
2066
+ const se_ExecuteCommandSessionConfiguration = (input, context) => {
2069
2067
  return {
2070
2068
  ...(input.arguments != null && {
2071
- arguments: serializeAws_restJson1ExecuteCommandSessionConfigurationArguments(input.arguments, context),
2069
+ arguments: se_ExecuteCommandSessionConfigurationArguments(input.arguments, context),
2072
2070
  }),
2073
2071
  ...(input.command != null && { command: input.command }),
2074
2072
  };
2075
2073
  };
2076
- const serializeAws_restJson1ExecuteCommandSessionConfigurationArguments = (input, context) => {
2074
+ const se_ExecuteCommandSessionConfigurationArguments = (input, context) => {
2077
2075
  return input
2078
2076
  .filter((e) => e != null)
2079
2077
  .map((entry) => {
2080
2078
  return entry;
2081
2079
  });
2082
2080
  };
2083
- const serializeAws_restJson1Filter = (input, context) => {
2081
+ const se_Filter = (input, context) => {
2084
2082
  return {
2085
2083
  ...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
2086
2084
  ...(input.key != null && { key: input.key }),
2087
- ...(input.values != null && { values: serializeAws_restJson1StringList(input.values, context) }),
2085
+ ...(input.values != null && { values: se_StringList(input.values, context) }),
2088
2086
  };
2089
2087
  };
2090
- const serializeAws_restJson1Filters = (input, context) => {
2088
+ const se_Filters = (input, context) => {
2091
2089
  return input
2092
2090
  .filter((e) => e != null)
2093
2091
  .map((entry) => {
2094
- return serializeAws_restJson1Filter(entry, context);
2092
+ return se_Filter(entry, context);
2095
2093
  });
2096
2094
  };
2097
- const serializeAws_restJson1IdeConfiguration = (input, context) => {
2095
+ const se_IdeConfiguration = (input, context) => {
2098
2096
  return {
2099
2097
  ...(input.name != null && { name: input.name }),
2100
2098
  ...(input.runtime != null && { runtime: input.runtime }),
2101
2099
  };
2102
2100
  };
2103
- const serializeAws_restJson1IdeConfigurationList = (input, context) => {
2101
+ const se_IdeConfigurationList = (input, context) => {
2104
2102
  return input
2105
2103
  .filter((e) => e != null)
2106
2104
  .map((entry) => {
2107
- return serializeAws_restJson1IdeConfiguration(entry, context);
2105
+ return se_IdeConfiguration(entry, context);
2108
2106
  });
2109
2107
  };
2110
- const serializeAws_restJson1PersistentStorageConfiguration = (input, context) => {
2108
+ const se_PersistentStorageConfiguration = (input, context) => {
2111
2109
  return {
2112
2110
  ...(input.sizeInGiB != null && { sizeInGiB: input.sizeInGiB }),
2113
2111
  };
2114
2112
  };
2115
- const serializeAws_restJson1ProjectListFilter = (input, context) => {
2113
+ const se_ProjectListFilter = (input, context) => {
2116
2114
  return {
2117
2115
  ...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
2118
2116
  ...(input.key != null && { key: input.key }),
2119
- ...(input.values != null && { values: serializeAws_restJson1StringList(input.values, context) }),
2117
+ ...(input.values != null && { values: se_StringList(input.values, context) }),
2120
2118
  };
2121
2119
  };
2122
- const serializeAws_restJson1ProjectListFilters = (input, context) => {
2120
+ const se_ProjectListFilters = (input, context) => {
2123
2121
  return input
2124
2122
  .filter((e) => e != null)
2125
2123
  .map((entry) => {
2126
- return serializeAws_restJson1ProjectListFilter(entry, context);
2124
+ return se_ProjectListFilter(entry, context);
2127
2125
  });
2128
2126
  };
2129
- const serializeAws_restJson1RepositoriesInput = (input, context) => {
2127
+ const se_RepositoriesInput = (input, context) => {
2130
2128
  return input
2131
2129
  .filter((e) => e != null)
2132
2130
  .map((entry) => {
2133
- return serializeAws_restJson1RepositoryInput(entry, context);
2131
+ return se_RepositoryInput(entry, context);
2134
2132
  });
2135
2133
  };
2136
- const serializeAws_restJson1RepositoryInput = (input, context) => {
2134
+ const se_RepositoryInput = (input, context) => {
2137
2135
  return {
2138
2136
  ...(input.branchName != null && { branchName: input.branchName }),
2139
2137
  ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
2140
2138
  };
2141
2139
  };
2142
- const serializeAws_restJson1StringList = (input, context) => {
2140
+ const se_StringList = (input, context) => {
2143
2141
  return input
2144
2142
  .filter((e) => e != null)
2145
2143
  .map((entry) => {
2146
2144
  return entry;
2147
2145
  });
2148
2146
  };
2149
- const deserializeAws_restJson1AccessTokenSummaries = (output, context) => {
2147
+ const de_AccessTokenSummaries = (output, context) => {
2150
2148
  const retVal = (output || [])
2151
2149
  .filter((e) => e != null)
2152
2150
  .map((entry) => {
2153
2151
  if (entry === null) {
2154
2152
  return null;
2155
2153
  }
2156
- return deserializeAws_restJson1AccessTokenSummary(entry, context);
2154
+ return de_AccessTokenSummary(entry, context);
2157
2155
  });
2158
2156
  return retVal;
2159
2157
  };
2160
- const deserializeAws_restJson1AccessTokenSummary = (output, context) => {
2158
+ const de_AccessTokenSummary = (output, context) => {
2161
2159
  return {
2162
2160
  expiresTime: output.expiresTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.expiresTime)) : undefined,
2163
2161
  id: (0, smithy_client_1.expectString)(output.id),
2164
2162
  name: (0, smithy_client_1.expectString)(output.name),
2165
2163
  };
2166
2164
  };
2167
- const deserializeAws_restJson1DevEnvironmentAccessDetails = (output, context) => {
2165
+ const de_DevEnvironmentAccessDetails = (output, context) => {
2168
2166
  return {
2169
2167
  streamUrl: (0, smithy_client_1.expectString)(output.streamUrl),
2170
2168
  tokenValue: (0, smithy_client_1.expectString)(output.tokenValue),
2171
2169
  };
2172
2170
  };
2173
- const deserializeAws_restJson1DevEnvironmentRepositorySummaries = (output, context) => {
2171
+ const de_DevEnvironmentRepositorySummaries = (output, context) => {
2174
2172
  const retVal = (output || [])
2175
2173
  .filter((e) => e != null)
2176
2174
  .map((entry) => {
2177
2175
  if (entry === null) {
2178
2176
  return null;
2179
2177
  }
2180
- return deserializeAws_restJson1DevEnvironmentRepositorySummary(entry, context);
2178
+ return de_DevEnvironmentRepositorySummary(entry, context);
2181
2179
  });
2182
2180
  return retVal;
2183
2181
  };
2184
- const deserializeAws_restJson1DevEnvironmentRepositorySummary = (output, context) => {
2182
+ const de_DevEnvironmentRepositorySummary = (output, context) => {
2185
2183
  return {
2186
2184
  branchName: (0, smithy_client_1.expectString)(output.branchName),
2187
2185
  repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
2188
2186
  };
2189
2187
  };
2190
- const deserializeAws_restJson1DevEnvironmentSummary = (output, context) => {
2188
+ const de_DevEnvironmentSummary = (output, context) => {
2191
2189
  return {
2192
2190
  alias: (0, smithy_client_1.expectString)(output.alias),
2193
2191
  creatorId: (0, smithy_client_1.expectString)(output.creatorId),
2194
2192
  id: (0, smithy_client_1.expectString)(output.id),
2195
- ides: output.ides != null ? deserializeAws_restJson1Ides(output.ides, context) : undefined,
2193
+ ides: output.ides != null ? de_Ides(output.ides, context) : undefined,
2196
2194
  inactivityTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.inactivityTimeoutMinutes),
2197
2195
  instanceType: (0, smithy_client_1.expectString)(output.instanceType),
2198
2196
  lastUpdatedTime: output.lastUpdatedTime != null
2199
2197
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdatedTime))
2200
2198
  : undefined,
2201
- persistentStorage: output.persistentStorage != null
2202
- ? deserializeAws_restJson1PersistentStorage(output.persistentStorage, context)
2203
- : undefined,
2199
+ persistentStorage: output.persistentStorage != null ? de_PersistentStorage(output.persistentStorage, context) : undefined,
2204
2200
  projectName: (0, smithy_client_1.expectString)(output.projectName),
2205
- repositories: output.repositories != null
2206
- ? deserializeAws_restJson1DevEnvironmentRepositorySummaries(output.repositories, context)
2207
- : undefined,
2201
+ repositories: output.repositories != null ? de_DevEnvironmentRepositorySummaries(output.repositories, context) : undefined,
2208
2202
  spaceName: (0, smithy_client_1.expectString)(output.spaceName),
2209
2203
  status: (0, smithy_client_1.expectString)(output.status),
2210
2204
  statusReason: (0, smithy_client_1.expectString)(output.statusReason),
2211
2205
  };
2212
2206
  };
2213
- const deserializeAws_restJson1DevEnvironmentSummaryList = (output, context) => {
2207
+ const de_DevEnvironmentSummaryList = (output, context) => {
2214
2208
  const retVal = (output || [])
2215
2209
  .filter((e) => e != null)
2216
2210
  .map((entry) => {
2217
2211
  if (entry === null) {
2218
2212
  return null;
2219
2213
  }
2220
- return deserializeAws_restJson1DevEnvironmentSummary(entry, context);
2214
+ return de_DevEnvironmentSummary(entry, context);
2221
2215
  });
2222
2216
  return retVal;
2223
2217
  };
2224
- const deserializeAws_restJson1EmailAddress = (output, context) => {
2218
+ const de_EmailAddress = (output, context) => {
2225
2219
  return {
2226
2220
  email: (0, smithy_client_1.expectString)(output.email),
2227
2221
  verified: (0, smithy_client_1.expectBoolean)(output.verified),
2228
2222
  };
2229
2223
  };
2230
- const deserializeAws_restJson1EventLogEntries = (output, context) => {
2224
+ const de_EventLogEntries = (output, context) => {
2231
2225
  const retVal = (output || [])
2232
2226
  .filter((e) => e != null)
2233
2227
  .map((entry) => {
2234
2228
  if (entry === null) {
2235
2229
  return null;
2236
2230
  }
2237
- return deserializeAws_restJson1EventLogEntry(entry, context);
2231
+ return de_EventLogEntry(entry, context);
2238
2232
  });
2239
2233
  return retVal;
2240
2234
  };
2241
- const deserializeAws_restJson1EventLogEntry = (output, context) => {
2235
+ const de_EventLogEntry = (output, context) => {
2242
2236
  return {
2243
2237
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
2244
2238
  eventCategory: (0, smithy_client_1.expectString)(output.eventCategory),
@@ -2248,60 +2242,56 @@ const deserializeAws_restJson1EventLogEntry = (output, context) => {
2248
2242
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2249
2243
  id: (0, smithy_client_1.expectString)(output.id),
2250
2244
  operationType: (0, smithy_client_1.expectString)(output.operationType),
2251
- projectInformation: output.projectInformation != null
2252
- ? deserializeAws_restJson1ProjectInformation(output.projectInformation, context)
2253
- : undefined,
2245
+ projectInformation: output.projectInformation != null ? de_ProjectInformation(output.projectInformation, context) : undefined,
2254
2246
  requestId: (0, smithy_client_1.expectString)(output.requestId),
2255
- requestPayload: output.requestPayload != null ? deserializeAws_restJson1EventPayload(output.requestPayload, context) : undefined,
2256
- responsePayload: output.responsePayload != null
2257
- ? deserializeAws_restJson1EventPayload(output.responsePayload, context)
2258
- : undefined,
2247
+ requestPayload: output.requestPayload != null ? de_EventPayload(output.requestPayload, context) : undefined,
2248
+ responsePayload: output.responsePayload != null ? de_EventPayload(output.responsePayload, context) : undefined,
2259
2249
  sourceIpAddress: (0, smithy_client_1.expectString)(output.sourceIpAddress),
2260
2250
  userAgent: (0, smithy_client_1.expectString)(output.userAgent),
2261
- userIdentity: output.userIdentity != null ? deserializeAws_restJson1UserIdentity(output.userIdentity, context) : undefined,
2251
+ userIdentity: output.userIdentity != null ? de_UserIdentity(output.userIdentity, context) : undefined,
2262
2252
  };
2263
2253
  };
2264
- const deserializeAws_restJson1EventPayload = (output, context) => {
2254
+ const de_EventPayload = (output, context) => {
2265
2255
  return {
2266
2256
  contentType: (0, smithy_client_1.expectString)(output.contentType),
2267
2257
  data: (0, smithy_client_1.expectString)(output.data),
2268
2258
  };
2269
2259
  };
2270
- const deserializeAws_restJson1Ide = (output, context) => {
2260
+ const de_Ide = (output, context) => {
2271
2261
  return {
2272
2262
  name: (0, smithy_client_1.expectString)(output.name),
2273
2263
  runtime: (0, smithy_client_1.expectString)(output.runtime),
2274
2264
  };
2275
2265
  };
2276
- const deserializeAws_restJson1IdeConfiguration = (output, context) => {
2266
+ const de_IdeConfiguration = (output, context) => {
2277
2267
  return {
2278
2268
  name: (0, smithy_client_1.expectString)(output.name),
2279
2269
  runtime: (0, smithy_client_1.expectString)(output.runtime),
2280
2270
  };
2281
2271
  };
2282
- const deserializeAws_restJson1IdeConfigurationList = (output, context) => {
2272
+ const de_IdeConfigurationList = (output, context) => {
2283
2273
  const retVal = (output || [])
2284
2274
  .filter((e) => e != null)
2285
2275
  .map((entry) => {
2286
2276
  if (entry === null) {
2287
2277
  return null;
2288
2278
  }
2289
- return deserializeAws_restJson1IdeConfiguration(entry, context);
2279
+ return de_IdeConfiguration(entry, context);
2290
2280
  });
2291
2281
  return retVal;
2292
2282
  };
2293
- const deserializeAws_restJson1Ides = (output, context) => {
2283
+ const de_Ides = (output, context) => {
2294
2284
  const retVal = (output || [])
2295
2285
  .filter((e) => e != null)
2296
2286
  .map((entry) => {
2297
2287
  if (entry === null) {
2298
2288
  return null;
2299
2289
  }
2300
- return deserializeAws_restJson1Ide(entry, context);
2290
+ return de_Ide(entry, context);
2301
2291
  });
2302
2292
  return retVal;
2303
2293
  };
2304
- const deserializeAws_restJson1ListSourceRepositoriesItem = (output, context) => {
2294
+ const de_ListSourceRepositoriesItem = (output, context) => {
2305
2295
  return {
2306
2296
  createdTime: output.createdTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdTime)) : undefined,
2307
2297
  description: (0, smithy_client_1.expectString)(output.description),
@@ -2312,18 +2302,18 @@ const deserializeAws_restJson1ListSourceRepositoriesItem = (output, context) =>
2312
2302
  name: (0, smithy_client_1.expectString)(output.name),
2313
2303
  };
2314
2304
  };
2315
- const deserializeAws_restJson1ListSourceRepositoriesItems = (output, context) => {
2305
+ const de_ListSourceRepositoriesItems = (output, context) => {
2316
2306
  const retVal = (output || [])
2317
2307
  .filter((e) => e != null)
2318
2308
  .map((entry) => {
2319
2309
  if (entry === null) {
2320
2310
  return null;
2321
2311
  }
2322
- return deserializeAws_restJson1ListSourceRepositoriesItem(entry, context);
2312
+ return de_ListSourceRepositoriesItem(entry, context);
2323
2313
  });
2324
2314
  return retVal;
2325
2315
  };
2326
- const deserializeAws_restJson1ListSourceRepositoryBranchesItem = (output, context) => {
2316
+ const de_ListSourceRepositoryBranchesItem = (output, context) => {
2327
2317
  return {
2328
2318
  headCommitId: (0, smithy_client_1.expectString)(output.headCommitId),
2329
2319
  lastUpdatedTime: output.lastUpdatedTime != null
@@ -2333,58 +2323,58 @@ const deserializeAws_restJson1ListSourceRepositoryBranchesItem = (output, contex
2333
2323
  ref: (0, smithy_client_1.expectString)(output.ref),
2334
2324
  };
2335
2325
  };
2336
- const deserializeAws_restJson1ListSourceRepositoryBranchesItems = (output, context) => {
2326
+ const de_ListSourceRepositoryBranchesItems = (output, context) => {
2337
2327
  const retVal = (output || [])
2338
2328
  .filter((e) => e != null)
2339
2329
  .map((entry) => {
2340
2330
  if (entry === null) {
2341
2331
  return null;
2342
2332
  }
2343
- return deserializeAws_restJson1ListSourceRepositoryBranchesItem(entry, context);
2333
+ return de_ListSourceRepositoryBranchesItem(entry, context);
2344
2334
  });
2345
2335
  return retVal;
2346
2336
  };
2347
- const deserializeAws_restJson1PersistentStorage = (output, context) => {
2337
+ const de_PersistentStorage = (output, context) => {
2348
2338
  return {
2349
2339
  sizeInGiB: (0, smithy_client_1.expectInt32)(output.sizeInGiB),
2350
2340
  };
2351
2341
  };
2352
- const deserializeAws_restJson1ProjectInformation = (output, context) => {
2342
+ const de_ProjectInformation = (output, context) => {
2353
2343
  return {
2354
2344
  name: (0, smithy_client_1.expectString)(output.name),
2355
2345
  projectId: (0, smithy_client_1.expectString)(output.projectId),
2356
2346
  };
2357
2347
  };
2358
- const deserializeAws_restJson1ProjectSummaries = (output, context) => {
2348
+ const de_ProjectSummaries = (output, context) => {
2359
2349
  const retVal = (output || [])
2360
2350
  .filter((e) => e != null)
2361
2351
  .map((entry) => {
2362
2352
  if (entry === null) {
2363
2353
  return null;
2364
2354
  }
2365
- return deserializeAws_restJson1ProjectSummary(entry, context);
2355
+ return de_ProjectSummary(entry, context);
2366
2356
  });
2367
2357
  return retVal;
2368
2358
  };
2369
- const deserializeAws_restJson1ProjectSummary = (output, context) => {
2359
+ const de_ProjectSummary = (output, context) => {
2370
2360
  return {
2371
2361
  description: (0, smithy_client_1.expectString)(output.description),
2372
2362
  displayName: (0, smithy_client_1.expectString)(output.displayName),
2373
2363
  name: (0, smithy_client_1.expectString)(output.name),
2374
2364
  };
2375
2365
  };
2376
- const deserializeAws_restJson1SpaceSummaries = (output, context) => {
2366
+ const de_SpaceSummaries = (output, context) => {
2377
2367
  const retVal = (output || [])
2378
2368
  .filter((e) => e != null)
2379
2369
  .map((entry) => {
2380
2370
  if (entry === null) {
2381
2371
  return null;
2382
2372
  }
2383
- return deserializeAws_restJson1SpaceSummary(entry, context);
2373
+ return de_SpaceSummary(entry, context);
2384
2374
  });
2385
2375
  return retVal;
2386
2376
  };
2387
- const deserializeAws_restJson1SpaceSummary = (output, context) => {
2377
+ const de_SpaceSummary = (output, context) => {
2388
2378
  return {
2389
2379
  description: (0, smithy_client_1.expectString)(output.description),
2390
2380
  displayName: (0, smithy_client_1.expectString)(output.displayName),
@@ -2392,7 +2382,7 @@ const deserializeAws_restJson1SpaceSummary = (output, context) => {
2392
2382
  regionName: (0, smithy_client_1.expectString)(output.regionName),
2393
2383
  };
2394
2384
  };
2395
- const deserializeAws_restJson1UserIdentity = (output, context) => {
2385
+ const de_UserIdentity = (output, context) => {
2396
2386
  return {
2397
2387
  awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
2398
2388
  principalId: (0, smithy_client_1.expectString)(output.principalId),