@aws-sdk/client-grafana 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 (41) hide show
  1. package/dist-cjs/commands/AssociateLicenseCommand.js +2 -2
  2. package/dist-cjs/commands/CreateWorkspaceApiKeyCommand.js +2 -2
  3. package/dist-cjs/commands/CreateWorkspaceCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteWorkspaceApiKeyCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteWorkspaceCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeWorkspaceAuthenticationCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeWorkspaceCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +2 -2
  9. package/dist-cjs/commands/DisassociateLicenseCommand.js +2 -2
  10. package/dist-cjs/commands/ListPermissionsCommand.js +2 -2
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-cjs/commands/ListWorkspacesCommand.js +2 -2
  13. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  14. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  15. package/dist-cjs/commands/UpdatePermissionsCommand.js +2 -2
  16. package/dist-cjs/commands/UpdateWorkspaceAuthenticationCommand.js +2 -2
  17. package/dist-cjs/commands/UpdateWorkspaceCommand.js +2 -2
  18. package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +2 -2
  19. package/dist-cjs/protocols/Aws_restJson1.js +340 -366
  20. package/dist-es/commands/AssociateLicenseCommand.js +3 -3
  21. package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +3 -3
  22. package/dist-es/commands/CreateWorkspaceCommand.js +3 -3
  23. package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +3 -3
  24. package/dist-es/commands/DeleteWorkspaceCommand.js +3 -3
  25. package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +3 -3
  26. package/dist-es/commands/DescribeWorkspaceCommand.js +3 -3
  27. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +3 -3
  28. package/dist-es/commands/DisassociateLicenseCommand.js +3 -3
  29. package/dist-es/commands/ListPermissionsCommand.js +3 -3
  30. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-es/commands/ListWorkspacesCommand.js +3 -3
  32. package/dist-es/commands/TagResourceCommand.js +3 -3
  33. package/dist-es/commands/UntagResourceCommand.js +3 -3
  34. package/dist-es/commands/UpdatePermissionsCommand.js +3 -3
  35. package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +3 -3
  36. package/dist-es/commands/UpdateWorkspaceCommand.js +3 -3
  37. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +3 -3
  38. package/dist-es/protocols/Aws_restJson1.js +303 -329
  39. package/dist-types/protocols/Aws_restJson1.d.ts +144 -36
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -36
  41. package/package.json +6 -6
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateWorkspaceConfigurationCommand = exports.deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand = exports.deserializeAws_restJson1UpdateWorkspaceCommand = exports.deserializeAws_restJson1UpdatePermissionsCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListWorkspacesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListPermissionsCommand = exports.deserializeAws_restJson1DisassociateLicenseCommand = exports.deserializeAws_restJson1DescribeWorkspaceConfigurationCommand = exports.deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand = exports.deserializeAws_restJson1DescribeWorkspaceCommand = exports.deserializeAws_restJson1DeleteWorkspaceApiKeyCommand = exports.deserializeAws_restJson1DeleteWorkspaceCommand = exports.deserializeAws_restJson1CreateWorkspaceApiKeyCommand = exports.deserializeAws_restJson1CreateWorkspaceCommand = exports.deserializeAws_restJson1AssociateLicenseCommand = exports.serializeAws_restJson1UpdateWorkspaceConfigurationCommand = exports.serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = exports.serializeAws_restJson1UpdateWorkspaceCommand = exports.serializeAws_restJson1UpdatePermissionsCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListWorkspacesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListPermissionsCommand = exports.serializeAws_restJson1DisassociateLicenseCommand = exports.serializeAws_restJson1DescribeWorkspaceConfigurationCommand = exports.serializeAws_restJson1DescribeWorkspaceAuthenticationCommand = exports.serializeAws_restJson1DescribeWorkspaceCommand = exports.serializeAws_restJson1DeleteWorkspaceApiKeyCommand = exports.serializeAws_restJson1DeleteWorkspaceCommand = exports.serializeAws_restJson1CreateWorkspaceApiKeyCommand = exports.serializeAws_restJson1CreateWorkspaceCommand = exports.serializeAws_restJson1AssociateLicenseCommand = void 0;
3
+ exports.de_UpdateWorkspaceConfigurationCommand = exports.de_UpdateWorkspaceAuthenticationCommand = exports.de_UpdateWorkspaceCommand = exports.de_UpdatePermissionsCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListWorkspacesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPermissionsCommand = exports.de_DisassociateLicenseCommand = exports.de_DescribeWorkspaceConfigurationCommand = exports.de_DescribeWorkspaceAuthenticationCommand = exports.de_DescribeWorkspaceCommand = exports.de_DeleteWorkspaceApiKeyCommand = exports.de_DeleteWorkspaceCommand = exports.de_CreateWorkspaceApiKeyCommand = exports.de_CreateWorkspaceCommand = exports.de_AssociateLicenseCommand = exports.se_UpdateWorkspaceConfigurationCommand = exports.se_UpdateWorkspaceAuthenticationCommand = exports.se_UpdateWorkspaceCommand = exports.se_UpdatePermissionsCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListWorkspacesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPermissionsCommand = exports.se_DisassociateLicenseCommand = exports.se_DescribeWorkspaceConfigurationCommand = exports.se_DescribeWorkspaceAuthenticationCommand = exports.se_DescribeWorkspaceCommand = exports.se_DeleteWorkspaceApiKeyCommand = exports.se_DeleteWorkspaceCommand = exports.se_CreateWorkspaceApiKeyCommand = exports.se_CreateWorkspaceCommand = exports.se_AssociateLicenseCommand = 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 uuid_1 = require("uuid");
7
7
  const GrafanaServiceException_1 = require("../models/GrafanaServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1AssociateLicenseCommand = async (input, context) => {
9
+ const se_AssociateLicenseCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
12
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -24,8 +24,8 @@ const serializeAws_restJson1AssociateLicenseCommand = async (input, context) =>
24
24
  body,
25
25
  });
26
26
  };
27
- exports.serializeAws_restJson1AssociateLicenseCommand = serializeAws_restJson1AssociateLicenseCommand;
28
- const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
27
+ exports.se_AssociateLicenseCommand = se_AssociateLicenseCommand;
28
+ const se_CreateWorkspaceCommand = async (input, context) => {
29
29
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
30
30
  const headers = {
31
31
  "content-type": "application/json",
@@ -35,30 +35,28 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
35
35
  body = JSON.stringify({
36
36
  ...(input.accountAccessType != null && { accountAccessType: input.accountAccessType }),
37
37
  ...(input.authenticationProviders != null && {
38
- authenticationProviders: serializeAws_restJson1AuthenticationProviders(input.authenticationProviders, context),
38
+ authenticationProviders: se_AuthenticationProviders(input.authenticationProviders, context),
39
39
  }),
40
40
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
41
41
  ...(input.configuration != null && { configuration: smithy_client_1.LazyJsonString.fromObject(input.configuration) }),
42
42
  ...(input.networkAccessControl != null && {
43
- networkAccessControl: serializeAws_restJson1NetworkAccessConfiguration(input.networkAccessControl, context),
43
+ networkAccessControl: se_NetworkAccessConfiguration(input.networkAccessControl, context),
44
44
  }),
45
45
  ...(input.organizationRoleName != null && { organizationRoleName: input.organizationRoleName }),
46
46
  ...(input.permissionType != null && { permissionType: input.permissionType }),
47
47
  ...(input.stackSetName != null && { stackSetName: input.stackSetName }),
48
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
49
- ...(input.vpcConfiguration != null && {
50
- vpcConfiguration: serializeAws_restJson1VpcConfiguration(input.vpcConfiguration, context),
51
- }),
48
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
49
+ ...(input.vpcConfiguration != null && { vpcConfiguration: se_VpcConfiguration(input.vpcConfiguration, context) }),
52
50
  ...(input.workspaceDataSources != null && {
53
- workspaceDataSources: serializeAws_restJson1DataSourceTypesList(input.workspaceDataSources, context),
51
+ workspaceDataSources: se_DataSourceTypesList(input.workspaceDataSources, context),
54
52
  }),
55
53
  ...(input.workspaceDescription != null && { workspaceDescription: input.workspaceDescription }),
56
54
  ...(input.workspaceName != null && { workspaceName: input.workspaceName }),
57
55
  ...(input.workspaceNotificationDestinations != null && {
58
- workspaceNotificationDestinations: serializeAws_restJson1NotificationDestinationsList(input.workspaceNotificationDestinations, context),
56
+ workspaceNotificationDestinations: se_NotificationDestinationsList(input.workspaceNotificationDestinations, context),
59
57
  }),
60
58
  ...(input.workspaceOrganizationalUnits != null && {
61
- workspaceOrganizationalUnits: serializeAws_restJson1OrganizationalUnitList(input.workspaceOrganizationalUnits, context),
59
+ workspaceOrganizationalUnits: se_OrganizationalUnitList(input.workspaceOrganizationalUnits, context),
62
60
  }),
63
61
  ...(input.workspaceRoleArn != null && { workspaceRoleArn: input.workspaceRoleArn }),
64
62
  });
@@ -72,8 +70,8 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
72
70
  body,
73
71
  });
74
72
  };
75
- exports.serializeAws_restJson1CreateWorkspaceCommand = serializeAws_restJson1CreateWorkspaceCommand;
76
- const serializeAws_restJson1CreateWorkspaceApiKeyCommand = async (input, context) => {
73
+ exports.se_CreateWorkspaceCommand = se_CreateWorkspaceCommand;
74
+ const se_CreateWorkspaceApiKeyCommand = async (input, context) => {
77
75
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
78
76
  const headers = {
79
77
  "content-type": "application/json",
@@ -96,8 +94,8 @@ const serializeAws_restJson1CreateWorkspaceApiKeyCommand = async (input, context
96
94
  body,
97
95
  });
98
96
  };
99
- exports.serializeAws_restJson1CreateWorkspaceApiKeyCommand = serializeAws_restJson1CreateWorkspaceApiKeyCommand;
100
- const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
97
+ exports.se_CreateWorkspaceApiKeyCommand = se_CreateWorkspaceApiKeyCommand;
98
+ const se_DeleteWorkspaceCommand = async (input, context) => {
101
99
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
100
  const headers = {};
103
101
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}";
@@ -113,8 +111,8 @@ const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
113
111
  body,
114
112
  });
115
113
  };
116
- exports.serializeAws_restJson1DeleteWorkspaceCommand = serializeAws_restJson1DeleteWorkspaceCommand;
117
- const serializeAws_restJson1DeleteWorkspaceApiKeyCommand = async (input, context) => {
114
+ exports.se_DeleteWorkspaceCommand = se_DeleteWorkspaceCommand;
115
+ const se_DeleteWorkspaceApiKeyCommand = async (input, context) => {
118
116
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
119
117
  const headers = {};
120
118
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -132,8 +130,8 @@ const serializeAws_restJson1DeleteWorkspaceApiKeyCommand = async (input, context
132
130
  body,
133
131
  });
134
132
  };
135
- exports.serializeAws_restJson1DeleteWorkspaceApiKeyCommand = serializeAws_restJson1DeleteWorkspaceApiKeyCommand;
136
- const serializeAws_restJson1DescribeWorkspaceCommand = async (input, context) => {
133
+ exports.se_DeleteWorkspaceApiKeyCommand = se_DeleteWorkspaceApiKeyCommand;
134
+ const se_DescribeWorkspaceCommand = async (input, context) => {
137
135
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
138
136
  const headers = {};
139
137
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}";
@@ -149,8 +147,8 @@ const serializeAws_restJson1DescribeWorkspaceCommand = async (input, context) =>
149
147
  body,
150
148
  });
151
149
  };
152
- exports.serializeAws_restJson1DescribeWorkspaceCommand = serializeAws_restJson1DescribeWorkspaceCommand;
153
- const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand = async (input, context) => {
150
+ exports.se_DescribeWorkspaceCommand = se_DescribeWorkspaceCommand;
151
+ const se_DescribeWorkspaceAuthenticationCommand = async (input, context) => {
154
152
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
155
153
  const headers = {};
156
154
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/authentication";
@@ -166,8 +164,8 @@ const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand = async (inpu
166
164
  body,
167
165
  });
168
166
  };
169
- exports.serializeAws_restJson1DescribeWorkspaceAuthenticationCommand = serializeAws_restJson1DescribeWorkspaceAuthenticationCommand;
170
- const serializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (input, context) => {
167
+ exports.se_DescribeWorkspaceAuthenticationCommand = se_DescribeWorkspaceAuthenticationCommand;
168
+ const se_DescribeWorkspaceConfigurationCommand = 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 || ""}` + "/workspaces/{workspaceId}/configuration";
@@ -183,8 +181,8 @@ const serializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (input
183
181
  body,
184
182
  });
185
183
  };
186
- exports.serializeAws_restJson1DescribeWorkspaceConfigurationCommand = serializeAws_restJson1DescribeWorkspaceConfigurationCommand;
187
- const serializeAws_restJson1DisassociateLicenseCommand = async (input, context) => {
184
+ exports.se_DescribeWorkspaceConfigurationCommand = se_DescribeWorkspaceConfigurationCommand;
185
+ const se_DisassociateLicenseCommand = async (input, context) => {
188
186
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
187
  const headers = {};
190
188
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -202,8 +200,8 @@ const serializeAws_restJson1DisassociateLicenseCommand = async (input, context)
202
200
  body,
203
201
  });
204
202
  };
205
- exports.serializeAws_restJson1DisassociateLicenseCommand = serializeAws_restJson1DisassociateLicenseCommand;
206
- const serializeAws_restJson1ListPermissionsCommand = async (input, context) => {
203
+ exports.se_DisassociateLicenseCommand = se_DisassociateLicenseCommand;
204
+ const se_ListPermissionsCommand = async (input, context) => {
207
205
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
208
206
  const headers = {};
209
207
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/permissions";
@@ -227,8 +225,8 @@ const serializeAws_restJson1ListPermissionsCommand = async (input, context) => {
227
225
  body,
228
226
  });
229
227
  };
230
- exports.serializeAws_restJson1ListPermissionsCommand = serializeAws_restJson1ListPermissionsCommand;
231
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
228
+ exports.se_ListPermissionsCommand = se_ListPermissionsCommand;
229
+ const se_ListTagsForResourceCommand = async (input, context) => {
232
230
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
233
231
  const headers = {};
234
232
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -244,8 +242,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
244
242
  body,
245
243
  });
246
244
  };
247
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
248
- const serializeAws_restJson1ListWorkspacesCommand = async (input, context) => {
245
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
246
+ const se_ListWorkspacesCommand = async (input, context) => {
249
247
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
250
248
  const headers = {};
251
249
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces";
@@ -265,8 +263,8 @@ const serializeAws_restJson1ListWorkspacesCommand = async (input, context) => {
265
263
  body,
266
264
  });
267
265
  };
268
- exports.serializeAws_restJson1ListWorkspacesCommand = serializeAws_restJson1ListWorkspacesCommand;
269
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
266
+ exports.se_ListWorkspacesCommand = se_ListWorkspacesCommand;
267
+ const se_TagResourceCommand = async (input, context) => {
270
268
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
271
269
  const headers = {
272
270
  "content-type": "application/json",
@@ -275,7 +273,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
275
273
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
276
274
  let body;
277
275
  body = JSON.stringify({
278
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
276
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
279
277
  });
280
278
  return new protocol_http_1.HttpRequest({
281
279
  protocol,
@@ -287,8 +285,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
287
285
  body,
288
286
  });
289
287
  };
290
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
291
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
288
+ exports.se_TagResourceCommand = se_TagResourceCommand;
289
+ const se_UntagResourceCommand = async (input, context) => {
292
290
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
293
291
  const headers = {};
294
292
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -311,8 +309,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
311
309
  body,
312
310
  });
313
311
  };
314
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
315
- const serializeAws_restJson1UpdatePermissionsCommand = async (input, context) => {
312
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
313
+ const se_UpdatePermissionsCommand = async (input, context) => {
316
314
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
315
  const headers = {
318
316
  "content-type": "application/json",
@@ -322,7 +320,7 @@ const serializeAws_restJson1UpdatePermissionsCommand = async (input, context) =>
322
320
  let body;
323
321
  body = JSON.stringify({
324
322
  ...(input.updateInstructionBatch != null && {
325
- updateInstructionBatch: serializeAws_restJson1UpdateInstructionBatch(input.updateInstructionBatch, context),
323
+ updateInstructionBatch: se_UpdateInstructionBatch(input.updateInstructionBatch, context),
326
324
  }),
327
325
  });
328
326
  return new protocol_http_1.HttpRequest({
@@ -335,8 +333,8 @@ const serializeAws_restJson1UpdatePermissionsCommand = async (input, context) =>
335
333
  body,
336
334
  });
337
335
  };
338
- exports.serializeAws_restJson1UpdatePermissionsCommand = serializeAws_restJson1UpdatePermissionsCommand;
339
- const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
336
+ exports.se_UpdatePermissionsCommand = se_UpdatePermissionsCommand;
337
+ const se_UpdateWorkspaceCommand = async (input, context) => {
340
338
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
341
339
  const headers = {
342
340
  "content-type": "application/json",
@@ -347,7 +345,7 @@ const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
347
345
  body = JSON.stringify({
348
346
  ...(input.accountAccessType != null && { accountAccessType: input.accountAccessType }),
349
347
  ...(input.networkAccessControl != null && {
350
- networkAccessControl: serializeAws_restJson1NetworkAccessConfiguration(input.networkAccessControl, context),
348
+ networkAccessControl: se_NetworkAccessConfiguration(input.networkAccessControl, context),
351
349
  }),
352
350
  ...(input.organizationRoleName != null && { organizationRoleName: input.organizationRoleName }),
353
351
  ...(input.permissionType != null && { permissionType: input.permissionType }),
@@ -356,19 +354,17 @@ const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
356
354
  }),
357
355
  ...(input.removeVpcConfiguration != null && { removeVpcConfiguration: input.removeVpcConfiguration }),
358
356
  ...(input.stackSetName != null && { stackSetName: input.stackSetName }),
359
- ...(input.vpcConfiguration != null && {
360
- vpcConfiguration: serializeAws_restJson1VpcConfiguration(input.vpcConfiguration, context),
361
- }),
357
+ ...(input.vpcConfiguration != null && { vpcConfiguration: se_VpcConfiguration(input.vpcConfiguration, context) }),
362
358
  ...(input.workspaceDataSources != null && {
363
- workspaceDataSources: serializeAws_restJson1DataSourceTypesList(input.workspaceDataSources, context),
359
+ workspaceDataSources: se_DataSourceTypesList(input.workspaceDataSources, context),
364
360
  }),
365
361
  ...(input.workspaceDescription != null && { workspaceDescription: input.workspaceDescription }),
366
362
  ...(input.workspaceName != null && { workspaceName: input.workspaceName }),
367
363
  ...(input.workspaceNotificationDestinations != null && {
368
- workspaceNotificationDestinations: serializeAws_restJson1NotificationDestinationsList(input.workspaceNotificationDestinations, context),
364
+ workspaceNotificationDestinations: se_NotificationDestinationsList(input.workspaceNotificationDestinations, context),
369
365
  }),
370
366
  ...(input.workspaceOrganizationalUnits != null && {
371
- workspaceOrganizationalUnits: serializeAws_restJson1OrganizationalUnitList(input.workspaceOrganizationalUnits, context),
367
+ workspaceOrganizationalUnits: se_OrganizationalUnitList(input.workspaceOrganizationalUnits, context),
372
368
  }),
373
369
  ...(input.workspaceRoleArn != null && { workspaceRoleArn: input.workspaceRoleArn }),
374
370
  });
@@ -382,8 +378,8 @@ const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
382
378
  body,
383
379
  });
384
380
  };
385
- exports.serializeAws_restJson1UpdateWorkspaceCommand = serializeAws_restJson1UpdateWorkspaceCommand;
386
- const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = async (input, context) => {
381
+ exports.se_UpdateWorkspaceCommand = se_UpdateWorkspaceCommand;
382
+ const se_UpdateWorkspaceAuthenticationCommand = async (input, context) => {
387
383
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
388
384
  const headers = {
389
385
  "content-type": "application/json",
@@ -393,10 +389,10 @@ const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = async (input,
393
389
  let body;
394
390
  body = JSON.stringify({
395
391
  ...(input.authenticationProviders != null && {
396
- authenticationProviders: serializeAws_restJson1AuthenticationProviders(input.authenticationProviders, context),
392
+ authenticationProviders: se_AuthenticationProviders(input.authenticationProviders, context),
397
393
  }),
398
394
  ...(input.samlConfiguration != null && {
399
- samlConfiguration: serializeAws_restJson1SamlConfiguration(input.samlConfiguration, context),
395
+ samlConfiguration: se_SamlConfiguration(input.samlConfiguration, context),
400
396
  }),
401
397
  });
402
398
  return new protocol_http_1.HttpRequest({
@@ -409,8 +405,8 @@ const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = async (input,
409
405
  body,
410
406
  });
411
407
  };
412
- exports.serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = serializeAws_restJson1UpdateWorkspaceAuthenticationCommand;
413
- const serializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (input, context) => {
408
+ exports.se_UpdateWorkspaceAuthenticationCommand = se_UpdateWorkspaceAuthenticationCommand;
409
+ const se_UpdateWorkspaceConfigurationCommand = async (input, context) => {
414
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
415
411
  const headers = {
416
412
  "content-type": "application/json",
@@ -431,22 +427,22 @@ const serializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (input,
431
427
  body,
432
428
  });
433
429
  };
434
- exports.serializeAws_restJson1UpdateWorkspaceConfigurationCommand = serializeAws_restJson1UpdateWorkspaceConfigurationCommand;
435
- const deserializeAws_restJson1AssociateLicenseCommand = async (output, context) => {
430
+ exports.se_UpdateWorkspaceConfigurationCommand = se_UpdateWorkspaceConfigurationCommand;
431
+ const de_AssociateLicenseCommand = async (output, context) => {
436
432
  if (output.statusCode !== 202 && output.statusCode >= 300) {
437
- return deserializeAws_restJson1AssociateLicenseCommandError(output, context);
433
+ return de_AssociateLicenseCommandError(output, context);
438
434
  }
439
435
  const contents = map({
440
436
  $metadata: deserializeMetadata(output),
441
437
  });
442
438
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
443
439
  if (data.workspace != null) {
444
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
440
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
445
441
  }
446
442
  return contents;
447
443
  };
448
- exports.deserializeAws_restJson1AssociateLicenseCommand = deserializeAws_restJson1AssociateLicenseCommand;
449
- const deserializeAws_restJson1AssociateLicenseCommandError = async (output, context) => {
444
+ exports.de_AssociateLicenseCommand = de_AssociateLicenseCommand;
445
+ const de_AssociateLicenseCommandError = async (output, context) => {
450
446
  const parsedOutput = {
451
447
  ...output,
452
448
  body: await parseErrorBody(output.body, context),
@@ -455,19 +451,19 @@ const deserializeAws_restJson1AssociateLicenseCommandError = async (output, cont
455
451
  switch (errorCode) {
456
452
  case "AccessDeniedException":
457
453
  case "com.amazonaws.grafana#AccessDeniedException":
458
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
454
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
459
455
  case "InternalServerException":
460
456
  case "com.amazonaws.grafana#InternalServerException":
461
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
457
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
462
458
  case "ResourceNotFoundException":
463
459
  case "com.amazonaws.grafana#ResourceNotFoundException":
464
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
460
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
465
461
  case "ThrottlingException":
466
462
  case "com.amazonaws.grafana#ThrottlingException":
467
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
463
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
468
464
  case "ValidationException":
469
465
  case "com.amazonaws.grafana#ValidationException":
470
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
466
+ throw await de_ValidationExceptionRes(parsedOutput, context);
471
467
  default:
472
468
  const parsedBody = parsedOutput.body;
473
469
  (0, smithy_client_1.throwDefaultError)({
@@ -478,21 +474,21 @@ const deserializeAws_restJson1AssociateLicenseCommandError = async (output, cont
478
474
  });
479
475
  }
480
476
  };
481
- const deserializeAws_restJson1CreateWorkspaceCommand = async (output, context) => {
477
+ const de_CreateWorkspaceCommand = async (output, context) => {
482
478
  if (output.statusCode !== 202 && output.statusCode >= 300) {
483
- return deserializeAws_restJson1CreateWorkspaceCommandError(output, context);
479
+ return de_CreateWorkspaceCommandError(output, context);
484
480
  }
485
481
  const contents = map({
486
482
  $metadata: deserializeMetadata(output),
487
483
  });
488
484
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
489
485
  if (data.workspace != null) {
490
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
486
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
491
487
  }
492
488
  return contents;
493
489
  };
494
- exports.deserializeAws_restJson1CreateWorkspaceCommand = deserializeAws_restJson1CreateWorkspaceCommand;
495
- const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, context) => {
490
+ exports.de_CreateWorkspaceCommand = de_CreateWorkspaceCommand;
491
+ const de_CreateWorkspaceCommandError = async (output, context) => {
496
492
  const parsedOutput = {
497
493
  ...output,
498
494
  body: await parseErrorBody(output.body, context),
@@ -501,22 +497,22 @@ const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, conte
501
497
  switch (errorCode) {
502
498
  case "AccessDeniedException":
503
499
  case "com.amazonaws.grafana#AccessDeniedException":
504
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
500
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
505
501
  case "ConflictException":
506
502
  case "com.amazonaws.grafana#ConflictException":
507
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
503
+ throw await de_ConflictExceptionRes(parsedOutput, context);
508
504
  case "InternalServerException":
509
505
  case "com.amazonaws.grafana#InternalServerException":
510
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
506
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
511
507
  case "ServiceQuotaExceededException":
512
508
  case "com.amazonaws.grafana#ServiceQuotaExceededException":
513
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
509
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
514
510
  case "ThrottlingException":
515
511
  case "com.amazonaws.grafana#ThrottlingException":
516
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
512
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
517
513
  case "ValidationException":
518
514
  case "com.amazonaws.grafana#ValidationException":
519
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
515
+ throw await de_ValidationExceptionRes(parsedOutput, context);
520
516
  default:
521
517
  const parsedBody = parsedOutput.body;
522
518
  (0, smithy_client_1.throwDefaultError)({
@@ -527,9 +523,9 @@ const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, conte
527
523
  });
528
524
  }
529
525
  };
530
- const deserializeAws_restJson1CreateWorkspaceApiKeyCommand = async (output, context) => {
526
+ const de_CreateWorkspaceApiKeyCommand = async (output, context) => {
531
527
  if (output.statusCode !== 200 && output.statusCode >= 300) {
532
- return deserializeAws_restJson1CreateWorkspaceApiKeyCommandError(output, context);
528
+ return de_CreateWorkspaceApiKeyCommandError(output, context);
533
529
  }
534
530
  const contents = map({
535
531
  $metadata: deserializeMetadata(output),
@@ -546,8 +542,8 @@ const deserializeAws_restJson1CreateWorkspaceApiKeyCommand = async (output, cont
546
542
  }
547
543
  return contents;
548
544
  };
549
- exports.deserializeAws_restJson1CreateWorkspaceApiKeyCommand = deserializeAws_restJson1CreateWorkspaceApiKeyCommand;
550
- const deserializeAws_restJson1CreateWorkspaceApiKeyCommandError = async (output, context) => {
545
+ exports.de_CreateWorkspaceApiKeyCommand = de_CreateWorkspaceApiKeyCommand;
546
+ const de_CreateWorkspaceApiKeyCommandError = async (output, context) => {
551
547
  const parsedOutput = {
552
548
  ...output,
553
549
  body: await parseErrorBody(output.body, context),
@@ -556,25 +552,25 @@ const deserializeAws_restJson1CreateWorkspaceApiKeyCommandError = async (output,
556
552
  switch (errorCode) {
557
553
  case "AccessDeniedException":
558
554
  case "com.amazonaws.grafana#AccessDeniedException":
559
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
555
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
560
556
  case "ConflictException":
561
557
  case "com.amazonaws.grafana#ConflictException":
562
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
558
+ throw await de_ConflictExceptionRes(parsedOutput, context);
563
559
  case "InternalServerException":
564
560
  case "com.amazonaws.grafana#InternalServerException":
565
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
561
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
566
562
  case "ResourceNotFoundException":
567
563
  case "com.amazonaws.grafana#ResourceNotFoundException":
568
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
564
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
569
565
  case "ServiceQuotaExceededException":
570
566
  case "com.amazonaws.grafana#ServiceQuotaExceededException":
571
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
567
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
572
568
  case "ThrottlingException":
573
569
  case "com.amazonaws.grafana#ThrottlingException":
574
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
570
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
575
571
  case "ValidationException":
576
572
  case "com.amazonaws.grafana#ValidationException":
577
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
573
+ throw await de_ValidationExceptionRes(parsedOutput, context);
578
574
  default:
579
575
  const parsedBody = parsedOutput.body;
580
576
  (0, smithy_client_1.throwDefaultError)({
@@ -585,21 +581,21 @@ const deserializeAws_restJson1CreateWorkspaceApiKeyCommandError = async (output,
585
581
  });
586
582
  }
587
583
  };
588
- const deserializeAws_restJson1DeleteWorkspaceCommand = async (output, context) => {
584
+ const de_DeleteWorkspaceCommand = async (output, context) => {
589
585
  if (output.statusCode !== 202 && output.statusCode >= 300) {
590
- return deserializeAws_restJson1DeleteWorkspaceCommandError(output, context);
586
+ return de_DeleteWorkspaceCommandError(output, context);
591
587
  }
592
588
  const contents = map({
593
589
  $metadata: deserializeMetadata(output),
594
590
  });
595
591
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
596
592
  if (data.workspace != null) {
597
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
593
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
598
594
  }
599
595
  return contents;
600
596
  };
601
- exports.deserializeAws_restJson1DeleteWorkspaceCommand = deserializeAws_restJson1DeleteWorkspaceCommand;
602
- const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, context) => {
597
+ exports.de_DeleteWorkspaceCommand = de_DeleteWorkspaceCommand;
598
+ const de_DeleteWorkspaceCommandError = async (output, context) => {
603
599
  const parsedOutput = {
604
600
  ...output,
605
601
  body: await parseErrorBody(output.body, context),
@@ -608,22 +604,22 @@ const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, conte
608
604
  switch (errorCode) {
609
605
  case "AccessDeniedException":
610
606
  case "com.amazonaws.grafana#AccessDeniedException":
611
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
607
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
612
608
  case "ConflictException":
613
609
  case "com.amazonaws.grafana#ConflictException":
614
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
610
+ throw await de_ConflictExceptionRes(parsedOutput, context);
615
611
  case "InternalServerException":
616
612
  case "com.amazonaws.grafana#InternalServerException":
617
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
613
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
618
614
  case "ResourceNotFoundException":
619
615
  case "com.amazonaws.grafana#ResourceNotFoundException":
620
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
616
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
621
617
  case "ThrottlingException":
622
618
  case "com.amazonaws.grafana#ThrottlingException":
623
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
619
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
624
620
  case "ValidationException":
625
621
  case "com.amazonaws.grafana#ValidationException":
626
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
622
+ throw await de_ValidationExceptionRes(parsedOutput, context);
627
623
  default:
628
624
  const parsedBody = parsedOutput.body;
629
625
  (0, smithy_client_1.throwDefaultError)({
@@ -634,9 +630,9 @@ const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, conte
634
630
  });
635
631
  }
636
632
  };
637
- const deserializeAws_restJson1DeleteWorkspaceApiKeyCommand = async (output, context) => {
633
+ const de_DeleteWorkspaceApiKeyCommand = async (output, context) => {
638
634
  if (output.statusCode !== 200 && output.statusCode >= 300) {
639
- return deserializeAws_restJson1DeleteWorkspaceApiKeyCommandError(output, context);
635
+ return de_DeleteWorkspaceApiKeyCommandError(output, context);
640
636
  }
641
637
  const contents = map({
642
638
  $metadata: deserializeMetadata(output),
@@ -650,8 +646,8 @@ const deserializeAws_restJson1DeleteWorkspaceApiKeyCommand = async (output, cont
650
646
  }
651
647
  return contents;
652
648
  };
653
- exports.deserializeAws_restJson1DeleteWorkspaceApiKeyCommand = deserializeAws_restJson1DeleteWorkspaceApiKeyCommand;
654
- const deserializeAws_restJson1DeleteWorkspaceApiKeyCommandError = async (output, context) => {
649
+ exports.de_DeleteWorkspaceApiKeyCommand = de_DeleteWorkspaceApiKeyCommand;
650
+ const de_DeleteWorkspaceApiKeyCommandError = async (output, context) => {
655
651
  const parsedOutput = {
656
652
  ...output,
657
653
  body: await parseErrorBody(output.body, context),
@@ -660,22 +656,22 @@ const deserializeAws_restJson1DeleteWorkspaceApiKeyCommandError = async (output,
660
656
  switch (errorCode) {
661
657
  case "AccessDeniedException":
662
658
  case "com.amazonaws.grafana#AccessDeniedException":
663
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
659
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
664
660
  case "ConflictException":
665
661
  case "com.amazonaws.grafana#ConflictException":
666
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
662
+ throw await de_ConflictExceptionRes(parsedOutput, context);
667
663
  case "InternalServerException":
668
664
  case "com.amazonaws.grafana#InternalServerException":
669
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
665
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
670
666
  case "ResourceNotFoundException":
671
667
  case "com.amazonaws.grafana#ResourceNotFoundException":
672
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
668
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
673
669
  case "ThrottlingException":
674
670
  case "com.amazonaws.grafana#ThrottlingException":
675
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
671
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
676
672
  case "ValidationException":
677
673
  case "com.amazonaws.grafana#ValidationException":
678
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
674
+ throw await de_ValidationExceptionRes(parsedOutput, context);
679
675
  default:
680
676
  const parsedBody = parsedOutput.body;
681
677
  (0, smithy_client_1.throwDefaultError)({
@@ -686,21 +682,21 @@ const deserializeAws_restJson1DeleteWorkspaceApiKeyCommandError = async (output,
686
682
  });
687
683
  }
688
684
  };
689
- const deserializeAws_restJson1DescribeWorkspaceCommand = async (output, context) => {
685
+ const de_DescribeWorkspaceCommand = async (output, context) => {
690
686
  if (output.statusCode !== 200 && output.statusCode >= 300) {
691
- return deserializeAws_restJson1DescribeWorkspaceCommandError(output, context);
687
+ return de_DescribeWorkspaceCommandError(output, context);
692
688
  }
693
689
  const contents = map({
694
690
  $metadata: deserializeMetadata(output),
695
691
  });
696
692
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
697
693
  if (data.workspace != null) {
698
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
694
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
699
695
  }
700
696
  return contents;
701
697
  };
702
- exports.deserializeAws_restJson1DescribeWorkspaceCommand = deserializeAws_restJson1DescribeWorkspaceCommand;
703
- const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, context) => {
698
+ exports.de_DescribeWorkspaceCommand = de_DescribeWorkspaceCommand;
699
+ const de_DescribeWorkspaceCommandError = async (output, context) => {
704
700
  const parsedOutput = {
705
701
  ...output,
706
702
  body: await parseErrorBody(output.body, context),
@@ -709,19 +705,19 @@ const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, con
709
705
  switch (errorCode) {
710
706
  case "AccessDeniedException":
711
707
  case "com.amazonaws.grafana#AccessDeniedException":
712
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
708
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
713
709
  case "InternalServerException":
714
710
  case "com.amazonaws.grafana#InternalServerException":
715
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
711
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
716
712
  case "ResourceNotFoundException":
717
713
  case "com.amazonaws.grafana#ResourceNotFoundException":
718
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
714
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
719
715
  case "ThrottlingException":
720
716
  case "com.amazonaws.grafana#ThrottlingException":
721
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
717
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
722
718
  case "ValidationException":
723
719
  case "com.amazonaws.grafana#ValidationException":
724
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
720
+ throw await de_ValidationExceptionRes(parsedOutput, context);
725
721
  default:
726
722
  const parsedBody = parsedOutput.body;
727
723
  (0, smithy_client_1.throwDefaultError)({
@@ -732,21 +728,21 @@ const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, con
732
728
  });
733
729
  }
734
730
  };
735
- const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand = async (output, context) => {
731
+ const de_DescribeWorkspaceAuthenticationCommand = async (output, context) => {
736
732
  if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return deserializeAws_restJson1DescribeWorkspaceAuthenticationCommandError(output, context);
733
+ return de_DescribeWorkspaceAuthenticationCommandError(output, context);
738
734
  }
739
735
  const contents = map({
740
736
  $metadata: deserializeMetadata(output),
741
737
  });
742
738
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
743
739
  if (data.authentication != null) {
744
- contents.authentication = deserializeAws_restJson1AuthenticationDescription(data.authentication, context);
740
+ contents.authentication = de_AuthenticationDescription(data.authentication, context);
745
741
  }
746
742
  return contents;
747
743
  };
748
- exports.deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand = deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand;
749
- const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommandError = async (output, context) => {
744
+ exports.de_DescribeWorkspaceAuthenticationCommand = de_DescribeWorkspaceAuthenticationCommand;
745
+ const de_DescribeWorkspaceAuthenticationCommandError = async (output, context) => {
750
746
  const parsedOutput = {
751
747
  ...output,
752
748
  body: await parseErrorBody(output.body, context),
@@ -755,19 +751,19 @@ const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommandError = asyn
755
751
  switch (errorCode) {
756
752
  case "AccessDeniedException":
757
753
  case "com.amazonaws.grafana#AccessDeniedException":
758
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
754
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
759
755
  case "InternalServerException":
760
756
  case "com.amazonaws.grafana#InternalServerException":
761
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
757
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
762
758
  case "ResourceNotFoundException":
763
759
  case "com.amazonaws.grafana#ResourceNotFoundException":
764
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
760
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
765
761
  case "ThrottlingException":
766
762
  case "com.amazonaws.grafana#ThrottlingException":
767
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
763
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
768
764
  case "ValidationException":
769
765
  case "com.amazonaws.grafana#ValidationException":
770
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
766
+ throw await de_ValidationExceptionRes(parsedOutput, context);
771
767
  default:
772
768
  const parsedBody = parsedOutput.body;
773
769
  (0, smithy_client_1.throwDefaultError)({
@@ -778,9 +774,9 @@ const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommandError = asyn
778
774
  });
779
775
  }
780
776
  };
781
- const deserializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (output, context) => {
777
+ const de_DescribeWorkspaceConfigurationCommand = async (output, context) => {
782
778
  if (output.statusCode !== 200 && output.statusCode >= 300) {
783
- return deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError(output, context);
779
+ return de_DescribeWorkspaceConfigurationCommandError(output, context);
784
780
  }
785
781
  const contents = map({
786
782
  $metadata: deserializeMetadata(output),
@@ -791,8 +787,8 @@ const deserializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (out
791
787
  }
792
788
  return contents;
793
789
  };
794
- exports.deserializeAws_restJson1DescribeWorkspaceConfigurationCommand = deserializeAws_restJson1DescribeWorkspaceConfigurationCommand;
795
- const deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError = async (output, context) => {
790
+ exports.de_DescribeWorkspaceConfigurationCommand = de_DescribeWorkspaceConfigurationCommand;
791
+ const de_DescribeWorkspaceConfigurationCommandError = async (output, context) => {
796
792
  const parsedOutput = {
797
793
  ...output,
798
794
  body: await parseErrorBody(output.body, context),
@@ -801,16 +797,16 @@ const deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError = async
801
797
  switch (errorCode) {
802
798
  case "AccessDeniedException":
803
799
  case "com.amazonaws.grafana#AccessDeniedException":
804
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
800
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
805
801
  case "InternalServerException":
806
802
  case "com.amazonaws.grafana#InternalServerException":
807
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
803
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
808
804
  case "ResourceNotFoundException":
809
805
  case "com.amazonaws.grafana#ResourceNotFoundException":
810
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
806
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
811
807
  case "ThrottlingException":
812
808
  case "com.amazonaws.grafana#ThrottlingException":
813
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
809
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
814
810
  default:
815
811
  const parsedBody = parsedOutput.body;
816
812
  (0, smithy_client_1.throwDefaultError)({
@@ -821,21 +817,21 @@ const deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError = async
821
817
  });
822
818
  }
823
819
  };
824
- const deserializeAws_restJson1DisassociateLicenseCommand = async (output, context) => {
820
+ const de_DisassociateLicenseCommand = async (output, context) => {
825
821
  if (output.statusCode !== 202 && output.statusCode >= 300) {
826
- return deserializeAws_restJson1DisassociateLicenseCommandError(output, context);
822
+ return de_DisassociateLicenseCommandError(output, context);
827
823
  }
828
824
  const contents = map({
829
825
  $metadata: deserializeMetadata(output),
830
826
  });
831
827
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
832
828
  if (data.workspace != null) {
833
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
829
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
834
830
  }
835
831
  return contents;
836
832
  };
837
- exports.deserializeAws_restJson1DisassociateLicenseCommand = deserializeAws_restJson1DisassociateLicenseCommand;
838
- const deserializeAws_restJson1DisassociateLicenseCommandError = async (output, context) => {
833
+ exports.de_DisassociateLicenseCommand = de_DisassociateLicenseCommand;
834
+ const de_DisassociateLicenseCommandError = async (output, context) => {
839
835
  const parsedOutput = {
840
836
  ...output,
841
837
  body: await parseErrorBody(output.body, context),
@@ -844,19 +840,19 @@ const deserializeAws_restJson1DisassociateLicenseCommandError = async (output, c
844
840
  switch (errorCode) {
845
841
  case "AccessDeniedException":
846
842
  case "com.amazonaws.grafana#AccessDeniedException":
847
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
843
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
848
844
  case "InternalServerException":
849
845
  case "com.amazonaws.grafana#InternalServerException":
850
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
846
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
851
847
  case "ResourceNotFoundException":
852
848
  case "com.amazonaws.grafana#ResourceNotFoundException":
853
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
849
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
854
850
  case "ThrottlingException":
855
851
  case "com.amazonaws.grafana#ThrottlingException":
856
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
852
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
857
853
  case "ValidationException":
858
854
  case "com.amazonaws.grafana#ValidationException":
859
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
855
+ throw await de_ValidationExceptionRes(parsedOutput, context);
860
856
  default:
861
857
  const parsedBody = parsedOutput.body;
862
858
  (0, smithy_client_1.throwDefaultError)({
@@ -867,9 +863,9 @@ const deserializeAws_restJson1DisassociateLicenseCommandError = async (output, c
867
863
  });
868
864
  }
869
865
  };
870
- const deserializeAws_restJson1ListPermissionsCommand = async (output, context) => {
866
+ const de_ListPermissionsCommand = async (output, context) => {
871
867
  if (output.statusCode !== 200 && output.statusCode >= 300) {
872
- return deserializeAws_restJson1ListPermissionsCommandError(output, context);
868
+ return de_ListPermissionsCommandError(output, context);
873
869
  }
874
870
  const contents = map({
875
871
  $metadata: deserializeMetadata(output),
@@ -879,12 +875,12 @@ const deserializeAws_restJson1ListPermissionsCommand = async (output, context) =
879
875
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
880
876
  }
881
877
  if (data.permissions != null) {
882
- contents.permissions = deserializeAws_restJson1PermissionEntryList(data.permissions, context);
878
+ contents.permissions = de_PermissionEntryList(data.permissions, context);
883
879
  }
884
880
  return contents;
885
881
  };
886
- exports.deserializeAws_restJson1ListPermissionsCommand = deserializeAws_restJson1ListPermissionsCommand;
887
- const deserializeAws_restJson1ListPermissionsCommandError = async (output, context) => {
882
+ exports.de_ListPermissionsCommand = de_ListPermissionsCommand;
883
+ const de_ListPermissionsCommandError = async (output, context) => {
888
884
  const parsedOutput = {
889
885
  ...output,
890
886
  body: await parseErrorBody(output.body, context),
@@ -893,19 +889,19 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
893
889
  switch (errorCode) {
894
890
  case "AccessDeniedException":
895
891
  case "com.amazonaws.grafana#AccessDeniedException":
896
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
892
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
897
893
  case "InternalServerException":
898
894
  case "com.amazonaws.grafana#InternalServerException":
899
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
895
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
900
896
  case "ResourceNotFoundException":
901
897
  case "com.amazonaws.grafana#ResourceNotFoundException":
902
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
898
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
903
899
  case "ThrottlingException":
904
900
  case "com.amazonaws.grafana#ThrottlingException":
905
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
901
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
906
902
  case "ValidationException":
907
903
  case "com.amazonaws.grafana#ValidationException":
908
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
904
+ throw await de_ValidationExceptionRes(parsedOutput, context);
909
905
  default:
910
906
  const parsedBody = parsedOutput.body;
911
907
  (0, smithy_client_1.throwDefaultError)({
@@ -916,21 +912,21 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
916
912
  });
917
913
  }
918
914
  };
919
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
915
+ const de_ListTagsForResourceCommand = async (output, context) => {
920
916
  if (output.statusCode !== 200 && output.statusCode >= 300) {
921
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
917
+ return de_ListTagsForResourceCommandError(output, context);
922
918
  }
923
919
  const contents = map({
924
920
  $metadata: deserializeMetadata(output),
925
921
  });
926
922
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
927
923
  if (data.tags != null) {
928
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
924
+ contents.tags = de_TagMap(data.tags, context);
929
925
  }
930
926
  return contents;
931
927
  };
932
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
933
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
928
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
929
+ const de_ListTagsForResourceCommandError = async (output, context) => {
934
930
  const parsedOutput = {
935
931
  ...output,
936
932
  body: await parseErrorBody(output.body, context),
@@ -939,19 +935,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
939
935
  switch (errorCode) {
940
936
  case "AccessDeniedException":
941
937
  case "com.amazonaws.grafana#AccessDeniedException":
942
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
938
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
943
939
  case "InternalServerException":
944
940
  case "com.amazonaws.grafana#InternalServerException":
945
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
941
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
946
942
  case "ResourceNotFoundException":
947
943
  case "com.amazonaws.grafana#ResourceNotFoundException":
948
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
944
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
949
945
  case "ThrottlingException":
950
946
  case "com.amazonaws.grafana#ThrottlingException":
951
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
947
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
952
948
  case "ValidationException":
953
949
  case "com.amazonaws.grafana#ValidationException":
954
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
950
+ throw await de_ValidationExceptionRes(parsedOutput, context);
955
951
  default:
956
952
  const parsedBody = parsedOutput.body;
957
953
  (0, smithy_client_1.throwDefaultError)({
@@ -962,9 +958,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
962
958
  });
963
959
  }
964
960
  };
965
- const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) => {
961
+ const de_ListWorkspacesCommand = async (output, context) => {
966
962
  if (output.statusCode !== 200 && output.statusCode >= 300) {
967
- return deserializeAws_restJson1ListWorkspacesCommandError(output, context);
963
+ return de_ListWorkspacesCommandError(output, context);
968
964
  }
969
965
  const contents = map({
970
966
  $metadata: deserializeMetadata(output),
@@ -974,12 +970,12 @@ const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) =>
974
970
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
975
971
  }
976
972
  if (data.workspaces != null) {
977
- contents.workspaces = deserializeAws_restJson1WorkspaceList(data.workspaces, context);
973
+ contents.workspaces = de_WorkspaceList(data.workspaces, context);
978
974
  }
979
975
  return contents;
980
976
  };
981
- exports.deserializeAws_restJson1ListWorkspacesCommand = deserializeAws_restJson1ListWorkspacesCommand;
982
- const deserializeAws_restJson1ListWorkspacesCommandError = async (output, context) => {
977
+ exports.de_ListWorkspacesCommand = de_ListWorkspacesCommand;
978
+ const de_ListWorkspacesCommandError = async (output, context) => {
983
979
  const parsedOutput = {
984
980
  ...output,
985
981
  body: await parseErrorBody(output.body, context),
@@ -988,13 +984,13 @@ const deserializeAws_restJson1ListWorkspacesCommandError = async (output, contex
988
984
  switch (errorCode) {
989
985
  case "AccessDeniedException":
990
986
  case "com.amazonaws.grafana#AccessDeniedException":
991
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
987
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
992
988
  case "InternalServerException":
993
989
  case "com.amazonaws.grafana#InternalServerException":
994
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
990
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
995
991
  case "ThrottlingException":
996
992
  case "com.amazonaws.grafana#ThrottlingException":
997
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
993
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
998
994
  default:
999
995
  const parsedBody = parsedOutput.body;
1000
996
  (0, smithy_client_1.throwDefaultError)({
@@ -1005,9 +1001,9 @@ const deserializeAws_restJson1ListWorkspacesCommandError = async (output, contex
1005
1001
  });
1006
1002
  }
1007
1003
  };
1008
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1004
+ const de_TagResourceCommand = async (output, context) => {
1009
1005
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1006
+ return de_TagResourceCommandError(output, context);
1011
1007
  }
1012
1008
  const contents = map({
1013
1009
  $metadata: deserializeMetadata(output),
@@ -1015,8 +1011,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1015
1011
  await collectBody(output.body, context);
1016
1012
  return contents;
1017
1013
  };
1018
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1019
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1014
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1015
+ const de_TagResourceCommandError = async (output, context) => {
1020
1016
  const parsedOutput = {
1021
1017
  ...output,
1022
1018
  body: await parseErrorBody(output.body, context),
@@ -1025,19 +1021,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1025
1021
  switch (errorCode) {
1026
1022
  case "AccessDeniedException":
1027
1023
  case "com.amazonaws.grafana#AccessDeniedException":
1028
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1024
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1029
1025
  case "InternalServerException":
1030
1026
  case "com.amazonaws.grafana#InternalServerException":
1031
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1027
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1032
1028
  case "ResourceNotFoundException":
1033
1029
  case "com.amazonaws.grafana#ResourceNotFoundException":
1034
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1030
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1035
1031
  case "ThrottlingException":
1036
1032
  case "com.amazonaws.grafana#ThrottlingException":
1037
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1033
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1038
1034
  case "ValidationException":
1039
1035
  case "com.amazonaws.grafana#ValidationException":
1040
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1036
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1041
1037
  default:
1042
1038
  const parsedBody = parsedOutput.body;
1043
1039
  (0, smithy_client_1.throwDefaultError)({
@@ -1048,9 +1044,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1048
1044
  });
1049
1045
  }
1050
1046
  };
1051
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1047
+ const de_UntagResourceCommand = async (output, context) => {
1052
1048
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1053
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1049
+ return de_UntagResourceCommandError(output, context);
1054
1050
  }
1055
1051
  const contents = map({
1056
1052
  $metadata: deserializeMetadata(output),
@@ -1058,8 +1054,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1058
1054
  await collectBody(output.body, context);
1059
1055
  return contents;
1060
1056
  };
1061
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1062
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1057
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1058
+ const de_UntagResourceCommandError = async (output, context) => {
1063
1059
  const parsedOutput = {
1064
1060
  ...output,
1065
1061
  body: await parseErrorBody(output.body, context),
@@ -1068,19 +1064,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1068
1064
  switch (errorCode) {
1069
1065
  case "AccessDeniedException":
1070
1066
  case "com.amazonaws.grafana#AccessDeniedException":
1071
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1067
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1072
1068
  case "InternalServerException":
1073
1069
  case "com.amazonaws.grafana#InternalServerException":
1074
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1070
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1075
1071
  case "ResourceNotFoundException":
1076
1072
  case "com.amazonaws.grafana#ResourceNotFoundException":
1077
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1073
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1078
1074
  case "ThrottlingException":
1079
1075
  case "com.amazonaws.grafana#ThrottlingException":
1080
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1076
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1081
1077
  case "ValidationException":
1082
1078
  case "com.amazonaws.grafana#ValidationException":
1083
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1079
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1084
1080
  default:
1085
1081
  const parsedBody = parsedOutput.body;
1086
1082
  (0, smithy_client_1.throwDefaultError)({
@@ -1091,21 +1087,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1091
1087
  });
1092
1088
  }
1093
1089
  };
1094
- const deserializeAws_restJson1UpdatePermissionsCommand = async (output, context) => {
1090
+ const de_UpdatePermissionsCommand = async (output, context) => {
1095
1091
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1096
- return deserializeAws_restJson1UpdatePermissionsCommandError(output, context);
1092
+ return de_UpdatePermissionsCommandError(output, context);
1097
1093
  }
1098
1094
  const contents = map({
1099
1095
  $metadata: deserializeMetadata(output),
1100
1096
  });
1101
1097
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1102
1098
  if (data.errors != null) {
1103
- contents.errors = deserializeAws_restJson1UpdateErrorList(data.errors, context);
1099
+ contents.errors = de_UpdateErrorList(data.errors, context);
1104
1100
  }
1105
1101
  return contents;
1106
1102
  };
1107
- exports.deserializeAws_restJson1UpdatePermissionsCommand = deserializeAws_restJson1UpdatePermissionsCommand;
1108
- const deserializeAws_restJson1UpdatePermissionsCommandError = async (output, context) => {
1103
+ exports.de_UpdatePermissionsCommand = de_UpdatePermissionsCommand;
1104
+ const de_UpdatePermissionsCommandError = async (output, context) => {
1109
1105
  const parsedOutput = {
1110
1106
  ...output,
1111
1107
  body: await parseErrorBody(output.body, context),
@@ -1114,19 +1110,19 @@ const deserializeAws_restJson1UpdatePermissionsCommandError = async (output, con
1114
1110
  switch (errorCode) {
1115
1111
  case "AccessDeniedException":
1116
1112
  case "com.amazonaws.grafana#AccessDeniedException":
1117
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1113
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1118
1114
  case "InternalServerException":
1119
1115
  case "com.amazonaws.grafana#InternalServerException":
1120
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1116
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1121
1117
  case "ResourceNotFoundException":
1122
1118
  case "com.amazonaws.grafana#ResourceNotFoundException":
1123
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1119
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1124
1120
  case "ThrottlingException":
1125
1121
  case "com.amazonaws.grafana#ThrottlingException":
1126
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1122
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1127
1123
  case "ValidationException":
1128
1124
  case "com.amazonaws.grafana#ValidationException":
1129
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1125
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1130
1126
  default:
1131
1127
  const parsedBody = parsedOutput.body;
1132
1128
  (0, smithy_client_1.throwDefaultError)({
@@ -1137,21 +1133,21 @@ const deserializeAws_restJson1UpdatePermissionsCommandError = async (output, con
1137
1133
  });
1138
1134
  }
1139
1135
  };
1140
- const deserializeAws_restJson1UpdateWorkspaceCommand = async (output, context) => {
1136
+ const de_UpdateWorkspaceCommand = async (output, context) => {
1141
1137
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1142
- return deserializeAws_restJson1UpdateWorkspaceCommandError(output, context);
1138
+ return de_UpdateWorkspaceCommandError(output, context);
1143
1139
  }
1144
1140
  const contents = map({
1145
1141
  $metadata: deserializeMetadata(output),
1146
1142
  });
1147
1143
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1148
1144
  if (data.workspace != null) {
1149
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
1145
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
1150
1146
  }
1151
1147
  return contents;
1152
1148
  };
1153
- exports.deserializeAws_restJson1UpdateWorkspaceCommand = deserializeAws_restJson1UpdateWorkspaceCommand;
1154
- const deserializeAws_restJson1UpdateWorkspaceCommandError = async (output, context) => {
1149
+ exports.de_UpdateWorkspaceCommand = de_UpdateWorkspaceCommand;
1150
+ const de_UpdateWorkspaceCommandError = async (output, context) => {
1155
1151
  const parsedOutput = {
1156
1152
  ...output,
1157
1153
  body: await parseErrorBody(output.body, context),
@@ -1160,22 +1156,22 @@ const deserializeAws_restJson1UpdateWorkspaceCommandError = async (output, conte
1160
1156
  switch (errorCode) {
1161
1157
  case "AccessDeniedException":
1162
1158
  case "com.amazonaws.grafana#AccessDeniedException":
1163
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1159
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1164
1160
  case "ConflictException":
1165
1161
  case "com.amazonaws.grafana#ConflictException":
1166
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1162
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1167
1163
  case "InternalServerException":
1168
1164
  case "com.amazonaws.grafana#InternalServerException":
1169
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1165
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1170
1166
  case "ResourceNotFoundException":
1171
1167
  case "com.amazonaws.grafana#ResourceNotFoundException":
1172
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1168
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1173
1169
  case "ThrottlingException":
1174
1170
  case "com.amazonaws.grafana#ThrottlingException":
1175
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1171
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1176
1172
  case "ValidationException":
1177
1173
  case "com.amazonaws.grafana#ValidationException":
1178
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1174
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1179
1175
  default:
1180
1176
  const parsedBody = parsedOutput.body;
1181
1177
  (0, smithy_client_1.throwDefaultError)({
@@ -1186,21 +1182,21 @@ const deserializeAws_restJson1UpdateWorkspaceCommandError = async (output, conte
1186
1182
  });
1187
1183
  }
1188
1184
  };
1189
- const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand = async (output, context) => {
1185
+ const de_UpdateWorkspaceAuthenticationCommand = async (output, context) => {
1190
1186
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1191
- return deserializeAws_restJson1UpdateWorkspaceAuthenticationCommandError(output, context);
1187
+ return de_UpdateWorkspaceAuthenticationCommandError(output, context);
1192
1188
  }
1193
1189
  const contents = map({
1194
1190
  $metadata: deserializeMetadata(output),
1195
1191
  });
1196
1192
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1197
1193
  if (data.authentication != null) {
1198
- contents.authentication = deserializeAws_restJson1AuthenticationDescription(data.authentication, context);
1194
+ contents.authentication = de_AuthenticationDescription(data.authentication, context);
1199
1195
  }
1200
1196
  return contents;
1201
1197
  };
1202
- exports.deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand = deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand;
1203
- const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommandError = async (output, context) => {
1198
+ exports.de_UpdateWorkspaceAuthenticationCommand = de_UpdateWorkspaceAuthenticationCommand;
1199
+ const de_UpdateWorkspaceAuthenticationCommandError = async (output, context) => {
1204
1200
  const parsedOutput = {
1205
1201
  ...output,
1206
1202
  body: await parseErrorBody(output.body, context),
@@ -1209,22 +1205,22 @@ const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommandError = async
1209
1205
  switch (errorCode) {
1210
1206
  case "AccessDeniedException":
1211
1207
  case "com.amazonaws.grafana#AccessDeniedException":
1212
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1208
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1213
1209
  case "ConflictException":
1214
1210
  case "com.amazonaws.grafana#ConflictException":
1215
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1211
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1216
1212
  case "InternalServerException":
1217
1213
  case "com.amazonaws.grafana#InternalServerException":
1218
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1214
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1219
1215
  case "ResourceNotFoundException":
1220
1216
  case "com.amazonaws.grafana#ResourceNotFoundException":
1221
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1217
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1222
1218
  case "ThrottlingException":
1223
1219
  case "com.amazonaws.grafana#ThrottlingException":
1224
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1220
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1225
1221
  case "ValidationException":
1226
1222
  case "com.amazonaws.grafana#ValidationException":
1227
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1223
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1228
1224
  default:
1229
1225
  const parsedBody = parsedOutput.body;
1230
1226
  (0, smithy_client_1.throwDefaultError)({
@@ -1235,9 +1231,9 @@ const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommandError = async
1235
1231
  });
1236
1232
  }
1237
1233
  };
1238
- const deserializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (output, context) => {
1234
+ const de_UpdateWorkspaceConfigurationCommand = async (output, context) => {
1239
1235
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1240
- return deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError(output, context);
1236
+ return de_UpdateWorkspaceConfigurationCommandError(output, context);
1241
1237
  }
1242
1238
  const contents = map({
1243
1239
  $metadata: deserializeMetadata(output),
@@ -1245,8 +1241,8 @@ const deserializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (outpu
1245
1241
  await collectBody(output.body, context);
1246
1242
  return contents;
1247
1243
  };
1248
- exports.deserializeAws_restJson1UpdateWorkspaceConfigurationCommand = deserializeAws_restJson1UpdateWorkspaceConfigurationCommand;
1249
- const deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError = async (output, context) => {
1244
+ exports.de_UpdateWorkspaceConfigurationCommand = de_UpdateWorkspaceConfigurationCommand;
1245
+ const de_UpdateWorkspaceConfigurationCommandError = async (output, context) => {
1250
1246
  const parsedOutput = {
1251
1247
  ...output,
1252
1248
  body: await parseErrorBody(output.body, context),
@@ -1255,22 +1251,22 @@ const deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError = async (
1255
1251
  switch (errorCode) {
1256
1252
  case "AccessDeniedException":
1257
1253
  case "com.amazonaws.grafana#AccessDeniedException":
1258
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1254
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1259
1255
  case "ConflictException":
1260
1256
  case "com.amazonaws.grafana#ConflictException":
1261
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1257
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1262
1258
  case "InternalServerException":
1263
1259
  case "com.amazonaws.grafana#InternalServerException":
1264
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1260
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1265
1261
  case "ResourceNotFoundException":
1266
1262
  case "com.amazonaws.grafana#ResourceNotFoundException":
1267
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1263
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1268
1264
  case "ThrottlingException":
1269
1265
  case "com.amazonaws.grafana#ThrottlingException":
1270
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1266
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1271
1267
  case "ValidationException":
1272
1268
  case "com.amazonaws.grafana#ValidationException":
1273
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1269
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1274
1270
  default:
1275
1271
  const parsedBody = parsedOutput.body;
1276
1272
  (0, smithy_client_1.throwDefaultError)({
@@ -1282,7 +1278,7 @@ const deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError = async (
1282
1278
  }
1283
1279
  };
1284
1280
  const map = smithy_client_1.map;
1285
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1281
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1286
1282
  const contents = map({});
1287
1283
  const data = parsedOutput.body;
1288
1284
  if (data.message != null) {
@@ -1294,7 +1290,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1294
1290
  });
1295
1291
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1296
1292
  };
1297
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1293
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1298
1294
  const contents = map({});
1299
1295
  const data = parsedOutput.body;
1300
1296
  if (data.message != null) {
@@ -1312,7 +1308,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1312
1308
  });
1313
1309
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1314
1310
  };
1315
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1311
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1316
1312
  const contents = map({
1317
1313
  retryAfterSeconds: [
1318
1314
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1329,7 +1325,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1329
1325
  });
1330
1326
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1331
1327
  };
1332
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1328
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1333
1329
  const contents = map({});
1334
1330
  const data = parsedOutput.body;
1335
1331
  if (data.message != null) {
@@ -1347,7 +1343,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1347
1343
  });
1348
1344
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1349
1345
  };
1350
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1346
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1351
1347
  const contents = map({});
1352
1348
  const data = parsedOutput.body;
1353
1349
  if (data.message != null) {
@@ -1371,7 +1367,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1371
1367
  });
1372
1368
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1373
1369
  };
1374
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1370
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1375
1371
  const contents = map({
1376
1372
  retryAfterSeconds: [
1377
1373
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1394,11 +1390,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1394
1390
  });
1395
1391
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1396
1392
  };
1397
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1393
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1398
1394
  const contents = map({});
1399
1395
  const data = parsedOutput.body;
1400
1396
  if (data.fieldList != null) {
1401
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
1397
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
1402
1398
  }
1403
1399
  if (data.message != null) {
1404
1400
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -1412,14 +1408,14 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1412
1408
  });
1413
1409
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1414
1410
  };
1415
- const serializeAws_restJson1AllowedOrganizations = (input, context) => {
1411
+ const se_AllowedOrganizations = (input, context) => {
1416
1412
  return input
1417
1413
  .filter((e) => e != null)
1418
1414
  .map((entry) => {
1419
1415
  return entry;
1420
1416
  });
1421
1417
  };
1422
- const serializeAws_restJson1AssertionAttributes = (input, context) => {
1418
+ const se_AssertionAttributes = (input, context) => {
1423
1419
  return {
1424
1420
  ...(input.email != null && { email: input.email }),
1425
1421
  ...(input.groups != null && { groups: input.groups }),
@@ -1429,97 +1425,95 @@ const serializeAws_restJson1AssertionAttributes = (input, context) => {
1429
1425
  ...(input.role != null && { role: input.role }),
1430
1426
  };
1431
1427
  };
1432
- const serializeAws_restJson1AuthenticationProviders = (input, context) => {
1428
+ const se_AuthenticationProviders = (input, context) => {
1433
1429
  return input
1434
1430
  .filter((e) => e != null)
1435
1431
  .map((entry) => {
1436
1432
  return entry;
1437
1433
  });
1438
1434
  };
1439
- const serializeAws_restJson1DataSourceTypesList = (input, context) => {
1435
+ const se_DataSourceTypesList = (input, context) => {
1440
1436
  return input
1441
1437
  .filter((e) => e != null)
1442
1438
  .map((entry) => {
1443
1439
  return entry;
1444
1440
  });
1445
1441
  };
1446
- const serializeAws_restJson1IdpMetadata = (input, context) => {
1442
+ const se_IdpMetadata = (input, context) => {
1447
1443
  return models_0_1.IdpMetadata.visit(input, {
1448
1444
  url: (value) => ({ url: value }),
1449
1445
  xml: (value) => ({ xml: value }),
1450
1446
  _: (name, value) => ({ name: value }),
1451
1447
  });
1452
1448
  };
1453
- const serializeAws_restJson1NetworkAccessConfiguration = (input, context) => {
1449
+ const se_NetworkAccessConfiguration = (input, context) => {
1454
1450
  return {
1455
- ...(input.prefixListIds != null && {
1456
- prefixListIds: serializeAws_restJson1PrefixListIds(input.prefixListIds, context),
1457
- }),
1458
- ...(input.vpceIds != null && { vpceIds: serializeAws_restJson1VpceIds(input.vpceIds, context) }),
1451
+ ...(input.prefixListIds != null && { prefixListIds: se_PrefixListIds(input.prefixListIds, context) }),
1452
+ ...(input.vpceIds != null && { vpceIds: se_VpceIds(input.vpceIds, context) }),
1459
1453
  };
1460
1454
  };
1461
- const serializeAws_restJson1NotificationDestinationsList = (input, context) => {
1455
+ const se_NotificationDestinationsList = (input, context) => {
1462
1456
  return input
1463
1457
  .filter((e) => e != null)
1464
1458
  .map((entry) => {
1465
1459
  return entry;
1466
1460
  });
1467
1461
  };
1468
- const serializeAws_restJson1OrganizationalUnitList = (input, context) => {
1462
+ const se_OrganizationalUnitList = (input, context) => {
1469
1463
  return input
1470
1464
  .filter((e) => e != null)
1471
1465
  .map((entry) => {
1472
1466
  return entry;
1473
1467
  });
1474
1468
  };
1475
- const serializeAws_restJson1PrefixListIds = (input, context) => {
1469
+ const se_PrefixListIds = (input, context) => {
1476
1470
  return input
1477
1471
  .filter((e) => e != null)
1478
1472
  .map((entry) => {
1479
1473
  return entry;
1480
1474
  });
1481
1475
  };
1482
- const serializeAws_restJson1RoleValueList = (input, context) => {
1476
+ const se_RoleValueList = (input, context) => {
1483
1477
  return input
1484
1478
  .filter((e) => e != null)
1485
1479
  .map((entry) => {
1486
1480
  return entry;
1487
1481
  });
1488
1482
  };
1489
- const serializeAws_restJson1RoleValues = (input, context) => {
1483
+ const se_RoleValues = (input, context) => {
1490
1484
  return {
1491
- ...(input.admin != null && { admin: serializeAws_restJson1RoleValueList(input.admin, context) }),
1492
- ...(input.editor != null && { editor: serializeAws_restJson1RoleValueList(input.editor, context) }),
1485
+ ...(input.admin != null && { admin: se_RoleValueList(input.admin, context) }),
1486
+ ...(input.editor != null && { editor: se_RoleValueList(input.editor, context) }),
1493
1487
  };
1494
1488
  };
1495
- const serializeAws_restJson1SamlConfiguration = (input, context) => {
1489
+ const se_SamlConfiguration = (input, context) => {
1496
1490
  return {
1497
1491
  ...(input.allowedOrganizations != null && {
1498
- allowedOrganizations: serializeAws_restJson1AllowedOrganizations(input.allowedOrganizations, context),
1492
+ allowedOrganizations: se_AllowedOrganizations(input.allowedOrganizations, context),
1499
1493
  }),
1500
1494
  ...(input.assertionAttributes != null && {
1501
- assertionAttributes: serializeAws_restJson1AssertionAttributes(input.assertionAttributes, context),
1495
+ assertionAttributes: se_AssertionAttributes(input.assertionAttributes, context),
1502
1496
  }),
1503
- ...(input.idpMetadata != null && { idpMetadata: serializeAws_restJson1IdpMetadata(input.idpMetadata, context) }),
1497
+ ...(input.idpMetadata != null && { idpMetadata: se_IdpMetadata(input.idpMetadata, context) }),
1504
1498
  ...(input.loginValidityDuration != null && { loginValidityDuration: input.loginValidityDuration }),
1505
- ...(input.roleValues != null && { roleValues: serializeAws_restJson1RoleValues(input.roleValues, context) }),
1499
+ ...(input.roleValues != null && { roleValues: se_RoleValues(input.roleValues, context) }),
1506
1500
  };
1507
1501
  };
1508
- const serializeAws_restJson1SecurityGroupIds = (input, context) => {
1502
+ const se_SecurityGroupIds = (input, context) => {
1509
1503
  return input
1510
1504
  .filter((e) => e != null)
1511
1505
  .map((entry) => {
1512
1506
  return entry;
1513
1507
  });
1514
1508
  };
1515
- const serializeAws_restJson1SubnetIds = (input, context) => {
1509
+ const se_SubnetIds = (input, context) => {
1516
1510
  return input
1517
1511
  .filter((e) => e != null)
1518
1512
  .map((entry) => {
1519
1513
  return entry;
1520
1514
  });
1521
1515
  };
1522
- const serializeAws_restJson1TagMap = (input, context) => {
1516
+ const se_TagMap = (input, context) => {
1523
1517
  return Object.entries(input).reduce((acc, [key, value]) => {
1524
1518
  if (value === null) {
1525
1519
  return acc;
@@ -1528,49 +1522,47 @@ const serializeAws_restJson1TagMap = (input, context) => {
1528
1522
  return acc;
1529
1523
  }, {});
1530
1524
  };
1531
- const serializeAws_restJson1UpdateInstruction = (input, context) => {
1525
+ const se_UpdateInstruction = (input, context) => {
1532
1526
  return {
1533
1527
  ...(input.action != null && { action: input.action }),
1534
1528
  ...(input.role != null && { role: input.role }),
1535
- ...(input.users != null && { users: serializeAws_restJson1UserList(input.users, context) }),
1529
+ ...(input.users != null && { users: se_UserList(input.users, context) }),
1536
1530
  };
1537
1531
  };
1538
- const serializeAws_restJson1UpdateInstructionBatch = (input, context) => {
1532
+ const se_UpdateInstructionBatch = (input, context) => {
1539
1533
  return input
1540
1534
  .filter((e) => e != null)
1541
1535
  .map((entry) => {
1542
- return serializeAws_restJson1UpdateInstruction(entry, context);
1536
+ return se_UpdateInstruction(entry, context);
1543
1537
  });
1544
1538
  };
1545
- const serializeAws_restJson1User = (input, context) => {
1539
+ const se_User = (input, context) => {
1546
1540
  return {
1547
1541
  ...(input.id != null && { id: input.id }),
1548
1542
  ...(input.type != null && { type: input.type }),
1549
1543
  };
1550
1544
  };
1551
- const serializeAws_restJson1UserList = (input, context) => {
1545
+ const se_UserList = (input, context) => {
1552
1546
  return input
1553
1547
  .filter((e) => e != null)
1554
1548
  .map((entry) => {
1555
- return serializeAws_restJson1User(entry, context);
1549
+ return se_User(entry, context);
1556
1550
  });
1557
1551
  };
1558
- const serializeAws_restJson1VpcConfiguration = (input, context) => {
1552
+ const se_VpcConfiguration = (input, context) => {
1559
1553
  return {
1560
- ...(input.securityGroupIds != null && {
1561
- securityGroupIds: serializeAws_restJson1SecurityGroupIds(input.securityGroupIds, context),
1562
- }),
1563
- ...(input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIds(input.subnetIds, context) }),
1554
+ ...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupIds(input.securityGroupIds, context) }),
1555
+ ...(input.subnetIds != null && { subnetIds: se_SubnetIds(input.subnetIds, context) }),
1564
1556
  };
1565
1557
  };
1566
- const serializeAws_restJson1VpceIds = (input, context) => {
1558
+ const se_VpceIds = (input, context) => {
1567
1559
  return input
1568
1560
  .filter((e) => e != null)
1569
1561
  .map((entry) => {
1570
1562
  return entry;
1571
1563
  });
1572
1564
  };
1573
- const deserializeAws_restJson1AllowedOrganizations = (output, context) => {
1565
+ const de_AllowedOrganizations = (output, context) => {
1574
1566
  const retVal = (output || [])
1575
1567
  .filter((e) => e != null)
1576
1568
  .map((entry) => {
@@ -1581,7 +1573,7 @@ const deserializeAws_restJson1AllowedOrganizations = (output, context) => {
1581
1573
  });
1582
1574
  return retVal;
1583
1575
  };
1584
- const deserializeAws_restJson1AssertionAttributes = (output, context) => {
1576
+ const de_AssertionAttributes = (output, context) => {
1585
1577
  return {
1586
1578
  email: (0, smithy_client_1.expectString)(output.email),
1587
1579
  groups: (0, smithy_client_1.expectString)(output.groups),
@@ -1591,14 +1583,14 @@ const deserializeAws_restJson1AssertionAttributes = (output, context) => {
1591
1583
  role: (0, smithy_client_1.expectString)(output.role),
1592
1584
  };
1593
1585
  };
1594
- const deserializeAws_restJson1AuthenticationDescription = (output, context) => {
1586
+ const de_AuthenticationDescription = (output, context) => {
1595
1587
  return {
1596
- awsSso: output.awsSso != null ? deserializeAws_restJson1AwsSsoAuthentication(output.awsSso, context) : undefined,
1597
- providers: output.providers != null ? deserializeAws_restJson1AuthenticationProviders(output.providers, context) : undefined,
1598
- saml: output.saml != null ? deserializeAws_restJson1SamlAuthentication(output.saml, context) : undefined,
1588
+ awsSso: output.awsSso != null ? de_AwsSsoAuthentication(output.awsSso, context) : undefined,
1589
+ providers: output.providers != null ? de_AuthenticationProviders(output.providers, context) : undefined,
1590
+ saml: output.saml != null ? de_SamlAuthentication(output.saml, context) : undefined,
1599
1591
  };
1600
1592
  };
1601
- const deserializeAws_restJson1AuthenticationProviders = (output, context) => {
1593
+ const de_AuthenticationProviders = (output, context) => {
1602
1594
  const retVal = (output || [])
1603
1595
  .filter((e) => e != null)
1604
1596
  .map((entry) => {
@@ -1609,18 +1601,18 @@ const deserializeAws_restJson1AuthenticationProviders = (output, context) => {
1609
1601
  });
1610
1602
  return retVal;
1611
1603
  };
1612
- const deserializeAws_restJson1AuthenticationSummary = (output, context) => {
1604
+ const de_AuthenticationSummary = (output, context) => {
1613
1605
  return {
1614
- providers: output.providers != null ? deserializeAws_restJson1AuthenticationProviders(output.providers, context) : undefined,
1606
+ providers: output.providers != null ? de_AuthenticationProviders(output.providers, context) : undefined,
1615
1607
  samlConfigurationStatus: (0, smithy_client_1.expectString)(output.samlConfigurationStatus),
1616
1608
  };
1617
1609
  };
1618
- const deserializeAws_restJson1AwsSsoAuthentication = (output, context) => {
1610
+ const de_AwsSsoAuthentication = (output, context) => {
1619
1611
  return {
1620
1612
  ssoClientId: (0, smithy_client_1.expectString)(output.ssoClientId),
1621
1613
  };
1622
1614
  };
1623
- const deserializeAws_restJson1DataSourceTypesList = (output, context) => {
1615
+ const de_DataSourceTypesList = (output, context) => {
1624
1616
  const retVal = (output || [])
1625
1617
  .filter((e) => e != null)
1626
1618
  .map((entry) => {
@@ -1631,7 +1623,7 @@ const deserializeAws_restJson1DataSourceTypesList = (output, context) => {
1631
1623
  });
1632
1624
  return retVal;
1633
1625
  };
1634
- const deserializeAws_restJson1IdpMetadata = (output, context) => {
1626
+ const de_IdpMetadata = (output, context) => {
1635
1627
  if ((0, smithy_client_1.expectString)(output.url) !== undefined) {
1636
1628
  return { url: (0, smithy_client_1.expectString)(output.url) };
1637
1629
  }
@@ -1640,13 +1632,13 @@ const deserializeAws_restJson1IdpMetadata = (output, context) => {
1640
1632
  }
1641
1633
  return { $unknown: Object.entries(output)[0] };
1642
1634
  };
1643
- const deserializeAws_restJson1NetworkAccessConfiguration = (output, context) => {
1635
+ const de_NetworkAccessConfiguration = (output, context) => {
1644
1636
  return {
1645
- prefixListIds: output.prefixListIds != null ? deserializeAws_restJson1PrefixListIds(output.prefixListIds, context) : undefined,
1646
- vpceIds: output.vpceIds != null ? deserializeAws_restJson1VpceIds(output.vpceIds, context) : undefined,
1637
+ prefixListIds: output.prefixListIds != null ? de_PrefixListIds(output.prefixListIds, context) : undefined,
1638
+ vpceIds: output.vpceIds != null ? de_VpceIds(output.vpceIds, context) : undefined,
1647
1639
  };
1648
1640
  };
1649
- const deserializeAws_restJson1NotificationDestinationsList = (output, context) => {
1641
+ const de_NotificationDestinationsList = (output, context) => {
1650
1642
  const retVal = (output || [])
1651
1643
  .filter((e) => e != null)
1652
1644
  .map((entry) => {
@@ -1657,7 +1649,7 @@ const deserializeAws_restJson1NotificationDestinationsList = (output, context) =
1657
1649
  });
1658
1650
  return retVal;
1659
1651
  };
1660
- const deserializeAws_restJson1OrganizationalUnitList = (output, context) => {
1652
+ const de_OrganizationalUnitList = (output, context) => {
1661
1653
  const retVal = (output || [])
1662
1654
  .filter((e) => e != null)
1663
1655
  .map((entry) => {
@@ -1668,24 +1660,24 @@ const deserializeAws_restJson1OrganizationalUnitList = (output, context) => {
1668
1660
  });
1669
1661
  return retVal;
1670
1662
  };
1671
- const deserializeAws_restJson1PermissionEntry = (output, context) => {
1663
+ const de_PermissionEntry = (output, context) => {
1672
1664
  return {
1673
1665
  role: (0, smithy_client_1.expectString)(output.role),
1674
- user: output.user != null ? deserializeAws_restJson1User(output.user, context) : undefined,
1666
+ user: output.user != null ? de_User(output.user, context) : undefined,
1675
1667
  };
1676
1668
  };
1677
- const deserializeAws_restJson1PermissionEntryList = (output, context) => {
1669
+ const de_PermissionEntryList = (output, context) => {
1678
1670
  const retVal = (output || [])
1679
1671
  .filter((e) => e != null)
1680
1672
  .map((entry) => {
1681
1673
  if (entry === null) {
1682
1674
  return null;
1683
1675
  }
1684
- return deserializeAws_restJson1PermissionEntry(entry, context);
1676
+ return de_PermissionEntry(entry, context);
1685
1677
  });
1686
1678
  return retVal;
1687
1679
  };
1688
- const deserializeAws_restJson1PrefixListIds = (output, context) => {
1680
+ const de_PrefixListIds = (output, context) => {
1689
1681
  const retVal = (output || [])
1690
1682
  .filter((e) => e != null)
1691
1683
  .map((entry) => {
@@ -1696,7 +1688,7 @@ const deserializeAws_restJson1PrefixListIds = (output, context) => {
1696
1688
  });
1697
1689
  return retVal;
1698
1690
  };
1699
- const deserializeAws_restJson1RoleValueList = (output, context) => {
1691
+ const de_RoleValueList = (output, context) => {
1700
1692
  const retVal = (output || [])
1701
1693
  .filter((e) => e != null)
1702
1694
  .map((entry) => {
@@ -1707,36 +1699,28 @@ const deserializeAws_restJson1RoleValueList = (output, context) => {
1707
1699
  });
1708
1700
  return retVal;
1709
1701
  };
1710
- const deserializeAws_restJson1RoleValues = (output, context) => {
1702
+ const de_RoleValues = (output, context) => {
1711
1703
  return {
1712
- admin: output.admin != null ? deserializeAws_restJson1RoleValueList(output.admin, context) : undefined,
1713
- editor: output.editor != null ? deserializeAws_restJson1RoleValueList(output.editor, context) : undefined,
1704
+ admin: output.admin != null ? de_RoleValueList(output.admin, context) : undefined,
1705
+ editor: output.editor != null ? de_RoleValueList(output.editor, context) : undefined,
1714
1706
  };
1715
1707
  };
1716
- const deserializeAws_restJson1SamlAuthentication = (output, context) => {
1708
+ const de_SamlAuthentication = (output, context) => {
1717
1709
  return {
1718
- configuration: output.configuration != null
1719
- ? deserializeAws_restJson1SamlConfiguration(output.configuration, context)
1720
- : undefined,
1710
+ configuration: output.configuration != null ? de_SamlConfiguration(output.configuration, context) : undefined,
1721
1711
  status: (0, smithy_client_1.expectString)(output.status),
1722
1712
  };
1723
1713
  };
1724
- const deserializeAws_restJson1SamlConfiguration = (output, context) => {
1714
+ const de_SamlConfiguration = (output, context) => {
1725
1715
  return {
1726
- allowedOrganizations: output.allowedOrganizations != null
1727
- ? deserializeAws_restJson1AllowedOrganizations(output.allowedOrganizations, context)
1728
- : undefined,
1729
- assertionAttributes: output.assertionAttributes != null
1730
- ? deserializeAws_restJson1AssertionAttributes(output.assertionAttributes, context)
1731
- : undefined,
1732
- idpMetadata: output.idpMetadata != null
1733
- ? deserializeAws_restJson1IdpMetadata((0, smithy_client_1.expectUnion)(output.idpMetadata), context)
1734
- : undefined,
1716
+ allowedOrganizations: output.allowedOrganizations != null ? de_AllowedOrganizations(output.allowedOrganizations, context) : undefined,
1717
+ assertionAttributes: output.assertionAttributes != null ? de_AssertionAttributes(output.assertionAttributes, context) : undefined,
1718
+ idpMetadata: output.idpMetadata != null ? de_IdpMetadata((0, smithy_client_1.expectUnion)(output.idpMetadata), context) : undefined,
1735
1719
  loginValidityDuration: (0, smithy_client_1.expectInt32)(output.loginValidityDuration),
1736
- roleValues: output.roleValues != null ? deserializeAws_restJson1RoleValues(output.roleValues, context) : undefined,
1720
+ roleValues: output.roleValues != null ? de_RoleValues(output.roleValues, context) : undefined,
1737
1721
  };
1738
1722
  };
1739
- const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
1723
+ const de_SecurityGroupIds = (output, context) => {
1740
1724
  const retVal = (output || [])
1741
1725
  .filter((e) => e != null)
1742
1726
  .map((entry) => {
@@ -1747,7 +1731,7 @@ const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
1747
1731
  });
1748
1732
  return retVal;
1749
1733
  };
1750
- const deserializeAws_restJson1SubnetIds = (output, context) => {
1734
+ const de_SubnetIds = (output, context) => {
1751
1735
  const retVal = (output || [])
1752
1736
  .filter((e) => e != null)
1753
1737
  .map((entry) => {
@@ -1758,7 +1742,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
1758
1742
  });
1759
1743
  return retVal;
1760
1744
  };
1761
- const deserializeAws_restJson1TagMap = (output, context) => {
1745
+ const de_TagMap = (output, context) => {
1762
1746
  return Object.entries(output).reduce((acc, [key, value]) => {
1763
1747
  if (value === null) {
1764
1748
  return acc;
@@ -1767,74 +1751,72 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1767
1751
  return acc;
1768
1752
  }, {});
1769
1753
  };
1770
- const deserializeAws_restJson1UpdateError = (output, context) => {
1754
+ const de_UpdateError = (output, context) => {
1771
1755
  return {
1772
- causedBy: output.causedBy != null ? deserializeAws_restJson1UpdateInstruction(output.causedBy, context) : undefined,
1756
+ causedBy: output.causedBy != null ? de_UpdateInstruction(output.causedBy, context) : undefined,
1773
1757
  code: (0, smithy_client_1.expectInt32)(output.code),
1774
1758
  message: (0, smithy_client_1.expectString)(output.message),
1775
1759
  };
1776
1760
  };
1777
- const deserializeAws_restJson1UpdateErrorList = (output, context) => {
1761
+ const de_UpdateErrorList = (output, context) => {
1778
1762
  const retVal = (output || [])
1779
1763
  .filter((e) => e != null)
1780
1764
  .map((entry) => {
1781
1765
  if (entry === null) {
1782
1766
  return null;
1783
1767
  }
1784
- return deserializeAws_restJson1UpdateError(entry, context);
1768
+ return de_UpdateError(entry, context);
1785
1769
  });
1786
1770
  return retVal;
1787
1771
  };
1788
- const deserializeAws_restJson1UpdateInstruction = (output, context) => {
1772
+ const de_UpdateInstruction = (output, context) => {
1789
1773
  return {
1790
1774
  action: (0, smithy_client_1.expectString)(output.action),
1791
1775
  role: (0, smithy_client_1.expectString)(output.role),
1792
- users: output.users != null ? deserializeAws_restJson1UserList(output.users, context) : undefined,
1776
+ users: output.users != null ? de_UserList(output.users, context) : undefined,
1793
1777
  };
1794
1778
  };
1795
- const deserializeAws_restJson1User = (output, context) => {
1779
+ const de_User = (output, context) => {
1796
1780
  return {
1797
1781
  id: (0, smithy_client_1.expectString)(output.id),
1798
1782
  type: (0, smithy_client_1.expectString)(output.type),
1799
1783
  };
1800
1784
  };
1801
- const deserializeAws_restJson1UserList = (output, context) => {
1785
+ const de_UserList = (output, context) => {
1802
1786
  const retVal = (output || [])
1803
1787
  .filter((e) => e != null)
1804
1788
  .map((entry) => {
1805
1789
  if (entry === null) {
1806
1790
  return null;
1807
1791
  }
1808
- return deserializeAws_restJson1User(entry, context);
1792
+ return de_User(entry, context);
1809
1793
  });
1810
1794
  return retVal;
1811
1795
  };
1812
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
1796
+ const de_ValidationExceptionField = (output, context) => {
1813
1797
  return {
1814
1798
  message: (0, smithy_client_1.expectString)(output.message),
1815
1799
  name: (0, smithy_client_1.expectString)(output.name),
1816
1800
  };
1817
1801
  };
1818
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
1802
+ const de_ValidationExceptionFieldList = (output, context) => {
1819
1803
  const retVal = (output || [])
1820
1804
  .filter((e) => e != null)
1821
1805
  .map((entry) => {
1822
1806
  if (entry === null) {
1823
1807
  return null;
1824
1808
  }
1825
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
1809
+ return de_ValidationExceptionField(entry, context);
1826
1810
  });
1827
1811
  return retVal;
1828
1812
  };
1829
- const deserializeAws_restJson1VpcConfiguration = (output, context) => {
1813
+ const de_VpcConfiguration = (output, context) => {
1830
1814
  return {
1831
- securityGroupIds: output.securityGroupIds != null
1832
- ? deserializeAws_restJson1SecurityGroupIds(output.securityGroupIds, context)
1833
- : undefined,
1834
- subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIds(output.subnetIds, context) : undefined,
1815
+ securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIds(output.securityGroupIds, context) : undefined,
1816
+ subnetIds: output.subnetIds != null ? de_SubnetIds(output.subnetIds, context) : undefined,
1835
1817
  };
1836
1818
  };
1837
- const deserializeAws_restJson1VpceIds = (output, context) => {
1819
+ const de_VpceIds = (output, context) => {
1838
1820
  const retVal = (output || [])
1839
1821
  .filter((e) => e != null)
1840
1822
  .map((entry) => {
@@ -1845,14 +1827,12 @@ const deserializeAws_restJson1VpceIds = (output, context) => {
1845
1827
  });
1846
1828
  return retVal;
1847
1829
  };
1848
- const deserializeAws_restJson1WorkspaceDescription = (output, context) => {
1830
+ const de_WorkspaceDescription = (output, context) => {
1849
1831
  return {
1850
1832
  accountAccessType: (0, smithy_client_1.expectString)(output.accountAccessType),
1851
- authentication: output.authentication != null
1852
- ? deserializeAws_restJson1AuthenticationSummary(output.authentication, context)
1853
- : undefined,
1833
+ authentication: output.authentication != null ? de_AuthenticationSummary(output.authentication, context) : undefined,
1854
1834
  created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
1855
- dataSources: output.dataSources != null ? deserializeAws_restJson1DataSourceTypesList(output.dataSources, context) : undefined,
1835
+ dataSources: output.dataSources != null ? de_DataSourceTypesList(output.dataSources, context) : undefined,
1856
1836
  description: (0, smithy_client_1.expectString)(output.description),
1857
1837
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
1858
1838
  freeTrialConsumed: (0, smithy_client_1.expectBoolean)(output.freeTrialConsumed),
@@ -1868,41 +1848,35 @@ const deserializeAws_restJson1WorkspaceDescription = (output, context) => {
1868
1848
  modified: output.modified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modified))) : undefined,
1869
1849
  name: (0, smithy_client_1.expectString)(output.name),
1870
1850
  networkAccessControl: output.networkAccessControl != null
1871
- ? deserializeAws_restJson1NetworkAccessConfiguration(output.networkAccessControl, context)
1851
+ ? de_NetworkAccessConfiguration(output.networkAccessControl, context)
1872
1852
  : undefined,
1873
1853
  notificationDestinations: output.notificationDestinations != null
1874
- ? deserializeAws_restJson1NotificationDestinationsList(output.notificationDestinations, context)
1854
+ ? de_NotificationDestinationsList(output.notificationDestinations, context)
1875
1855
  : undefined,
1876
1856
  organizationRoleName: (0, smithy_client_1.expectString)(output.organizationRoleName),
1877
- organizationalUnits: output.organizationalUnits != null
1878
- ? deserializeAws_restJson1OrganizationalUnitList(output.organizationalUnits, context)
1879
- : undefined,
1857
+ organizationalUnits: output.organizationalUnits != null ? de_OrganizationalUnitList(output.organizationalUnits, context) : undefined,
1880
1858
  permissionType: (0, smithy_client_1.expectString)(output.permissionType),
1881
1859
  stackSetName: (0, smithy_client_1.expectString)(output.stackSetName),
1882
1860
  status: (0, smithy_client_1.expectString)(output.status),
1883
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1884
- vpcConfiguration: output.vpcConfiguration != null
1885
- ? deserializeAws_restJson1VpcConfiguration(output.vpcConfiguration, context)
1886
- : undefined,
1861
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1862
+ vpcConfiguration: output.vpcConfiguration != null ? de_VpcConfiguration(output.vpcConfiguration, context) : undefined,
1887
1863
  workspaceRoleArn: (0, smithy_client_1.expectString)(output.workspaceRoleArn),
1888
1864
  };
1889
1865
  };
1890
- const deserializeAws_restJson1WorkspaceList = (output, context) => {
1866
+ const de_WorkspaceList = (output, context) => {
1891
1867
  const retVal = (output || [])
1892
1868
  .filter((e) => e != null)
1893
1869
  .map((entry) => {
1894
1870
  if (entry === null) {
1895
1871
  return null;
1896
1872
  }
1897
- return deserializeAws_restJson1WorkspaceSummary(entry, context);
1873
+ return de_WorkspaceSummary(entry, context);
1898
1874
  });
1899
1875
  return retVal;
1900
1876
  };
1901
- const deserializeAws_restJson1WorkspaceSummary = (output, context) => {
1877
+ const de_WorkspaceSummary = (output, context) => {
1902
1878
  return {
1903
- authentication: output.authentication != null
1904
- ? deserializeAws_restJson1AuthenticationSummary(output.authentication, context)
1905
- : undefined,
1879
+ authentication: output.authentication != null ? de_AuthenticationSummary(output.authentication, context) : undefined,
1906
1880
  created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
1907
1881
  description: (0, smithy_client_1.expectString)(output.description),
1908
1882
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
@@ -1911,10 +1885,10 @@ const deserializeAws_restJson1WorkspaceSummary = (output, context) => {
1911
1885
  modified: output.modified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modified))) : undefined,
1912
1886
  name: (0, smithy_client_1.expectString)(output.name),
1913
1887
  notificationDestinations: output.notificationDestinations != null
1914
- ? deserializeAws_restJson1NotificationDestinationsList(output.notificationDestinations, context)
1888
+ ? de_NotificationDestinationsList(output.notificationDestinations, context)
1915
1889
  : undefined,
1916
1890
  status: (0, smithy_client_1.expectString)(output.status),
1917
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1891
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1918
1892
  };
1919
1893
  };
1920
1894
  const deserializeMetadata = (output) => ({