@aws-sdk/client-amp 3.303.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 (47) hide show
  1. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +2 -2
  2. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +2 -2
  3. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +2 -2
  4. package/dist-cjs/commands/CreateWorkspaceCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteWorkspaceCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeWorkspaceCommand.js +2 -2
  13. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +2 -2
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  15. package/dist-cjs/commands/ListWorkspacesCommand.js +2 -2
  16. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +2 -2
  17. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +2 -2
  18. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  19. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  20. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +2 -2
  21. package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +2 -2
  22. package/dist-cjs/protocols/Aws_restJson1.js +300 -300
  23. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +3 -3
  24. package/dist-es/commands/CreateLoggingConfigurationCommand.js +3 -3
  25. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +3 -3
  26. package/dist-es/commands/CreateWorkspaceCommand.js +3 -3
  27. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +3 -3
  28. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -3
  29. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +3 -3
  30. package/dist-es/commands/DeleteWorkspaceCommand.js +3 -3
  31. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +3 -3
  32. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +3 -3
  33. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +3 -3
  34. package/dist-es/commands/DescribeWorkspaceCommand.js +3 -3
  35. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +3 -3
  36. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  37. package/dist-es/commands/ListWorkspacesCommand.js +3 -3
  38. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +3 -3
  39. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +3 -3
  40. package/dist-es/commands/TagResourceCommand.js +3 -3
  41. package/dist-es/commands/UntagResourceCommand.js +3 -3
  42. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +3 -3
  43. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +3 -3
  44. package/dist-es/protocols/Aws_restJson1.js +257 -257
  45. package/dist-types/protocols/Aws_restJson1.d.ts +168 -42
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +42 -42
  47. package/package.json +30 -30
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateWorkspaceAliasCommand = exports.deserializeAws_restJson1UpdateLoggingConfigurationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1PutRuleGroupsNamespaceCommand = exports.deserializeAws_restJson1PutAlertManagerDefinitionCommand = exports.deserializeAws_restJson1ListWorkspacesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRuleGroupsNamespacesCommand = exports.deserializeAws_restJson1DescribeWorkspaceCommand = exports.deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand = exports.deserializeAws_restJson1DescribeLoggingConfigurationCommand = exports.deserializeAws_restJson1DescribeAlertManagerDefinitionCommand = exports.deserializeAws_restJson1DeleteWorkspaceCommand = exports.deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand = exports.deserializeAws_restJson1DeleteLoggingConfigurationCommand = exports.deserializeAws_restJson1DeleteAlertManagerDefinitionCommand = exports.deserializeAws_restJson1CreateWorkspaceCommand = exports.deserializeAws_restJson1CreateRuleGroupsNamespaceCommand = exports.deserializeAws_restJson1CreateLoggingConfigurationCommand = exports.deserializeAws_restJson1CreateAlertManagerDefinitionCommand = exports.serializeAws_restJson1UpdateWorkspaceAliasCommand = exports.serializeAws_restJson1UpdateLoggingConfigurationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1PutRuleGroupsNamespaceCommand = exports.serializeAws_restJson1PutAlertManagerDefinitionCommand = exports.serializeAws_restJson1ListWorkspacesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRuleGroupsNamespacesCommand = exports.serializeAws_restJson1DescribeWorkspaceCommand = exports.serializeAws_restJson1DescribeRuleGroupsNamespaceCommand = exports.serializeAws_restJson1DescribeLoggingConfigurationCommand = exports.serializeAws_restJson1DescribeAlertManagerDefinitionCommand = exports.serializeAws_restJson1DeleteWorkspaceCommand = exports.serializeAws_restJson1DeleteRuleGroupsNamespaceCommand = exports.serializeAws_restJson1DeleteLoggingConfigurationCommand = exports.serializeAws_restJson1DeleteAlertManagerDefinitionCommand = exports.serializeAws_restJson1CreateWorkspaceCommand = exports.serializeAws_restJson1CreateRuleGroupsNamespaceCommand = exports.serializeAws_restJson1CreateLoggingConfigurationCommand = exports.serializeAws_restJson1CreateAlertManagerDefinitionCommand = void 0;
3
+ exports.de_UpdateWorkspaceAliasCommand = exports.de_UpdateLoggingConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutRuleGroupsNamespaceCommand = exports.de_PutAlertManagerDefinitionCommand = exports.de_ListWorkspacesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRuleGroupsNamespacesCommand = exports.de_DescribeWorkspaceCommand = exports.de_DescribeRuleGroupsNamespaceCommand = exports.de_DescribeLoggingConfigurationCommand = exports.de_DescribeAlertManagerDefinitionCommand = exports.de_DeleteWorkspaceCommand = exports.de_DeleteRuleGroupsNamespaceCommand = exports.de_DeleteLoggingConfigurationCommand = exports.de_DeleteAlertManagerDefinitionCommand = exports.de_CreateWorkspaceCommand = exports.de_CreateRuleGroupsNamespaceCommand = exports.de_CreateLoggingConfigurationCommand = exports.de_CreateAlertManagerDefinitionCommand = exports.se_UpdateWorkspaceAliasCommand = exports.se_UpdateLoggingConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutRuleGroupsNamespaceCommand = exports.se_PutAlertManagerDefinitionCommand = exports.se_ListWorkspacesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRuleGroupsNamespacesCommand = exports.se_DescribeWorkspaceCommand = exports.se_DescribeRuleGroupsNamespaceCommand = exports.se_DescribeLoggingConfigurationCommand = exports.se_DescribeAlertManagerDefinitionCommand = exports.se_DeleteWorkspaceCommand = exports.se_DeleteRuleGroupsNamespaceCommand = exports.se_DeleteLoggingConfigurationCommand = exports.se_DeleteAlertManagerDefinitionCommand = exports.se_CreateWorkspaceCommand = exports.se_CreateRuleGroupsNamespaceCommand = exports.se_CreateLoggingConfigurationCommand = exports.se_CreateAlertManagerDefinitionCommand = 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 AmpServiceException_1 = require("../models/AmpServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1CreateAlertManagerDefinitionCommand = async (input, context) => {
9
+ const se_CreateAlertManagerDefinitionCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -29,8 +29,8 @@ const serializeAws_restJson1CreateAlertManagerDefinitionCommand = async (input,
29
29
  body,
30
30
  });
31
31
  };
32
- exports.serializeAws_restJson1CreateAlertManagerDefinitionCommand = serializeAws_restJson1CreateAlertManagerDefinitionCommand;
33
- const serializeAws_restJson1CreateLoggingConfigurationCommand = async (input, context) => {
32
+ exports.se_CreateAlertManagerDefinitionCommand = se_CreateAlertManagerDefinitionCommand;
33
+ const se_CreateLoggingConfigurationCommand = async (input, context) => {
34
34
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
35
  const headers = {
36
36
  "content-type": "application/json",
@@ -52,8 +52,8 @@ const serializeAws_restJson1CreateLoggingConfigurationCommand = async (input, co
52
52
  body,
53
53
  });
54
54
  };
55
- exports.serializeAws_restJson1CreateLoggingConfigurationCommand = serializeAws_restJson1CreateLoggingConfigurationCommand;
56
- const serializeAws_restJson1CreateRuleGroupsNamespaceCommand = async (input, context) => {
55
+ exports.se_CreateLoggingConfigurationCommand = se_CreateLoggingConfigurationCommand;
56
+ const se_CreateRuleGroupsNamespaceCommand = async (input, context) => {
57
57
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
58
58
  const headers = {
59
59
  "content-type": "application/json",
@@ -66,7 +66,7 @@ const serializeAws_restJson1CreateRuleGroupsNamespaceCommand = async (input, con
66
66
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
67
67
  ...(input.data != null && { data: context.base64Encoder(input.data) }),
68
68
  ...(input.name != null && { name: input.name }),
69
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
69
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
70
70
  });
71
71
  return new protocol_http_1.HttpRequest({
72
72
  protocol,
@@ -78,8 +78,8 @@ const serializeAws_restJson1CreateRuleGroupsNamespaceCommand = async (input, con
78
78
  body,
79
79
  });
80
80
  };
81
- exports.serializeAws_restJson1CreateRuleGroupsNamespaceCommand = serializeAws_restJson1CreateRuleGroupsNamespaceCommand;
82
- const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
81
+ exports.se_CreateRuleGroupsNamespaceCommand = se_CreateRuleGroupsNamespaceCommand;
82
+ const se_CreateWorkspaceCommand = async (input, context) => {
83
83
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
84
84
  const headers = {
85
85
  "content-type": "application/json",
@@ -89,7 +89,7 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
89
89
  body = JSON.stringify({
90
90
  ...(input.alias != null && { alias: input.alias }),
91
91
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
92
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
92
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
93
93
  });
94
94
  return new protocol_http_1.HttpRequest({
95
95
  protocol,
@@ -101,8 +101,8 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
101
101
  body,
102
102
  });
103
103
  };
104
- exports.serializeAws_restJson1CreateWorkspaceCommand = serializeAws_restJson1CreateWorkspaceCommand;
105
- const serializeAws_restJson1DeleteAlertManagerDefinitionCommand = async (input, context) => {
104
+ exports.se_CreateWorkspaceCommand = se_CreateWorkspaceCommand;
105
+ const se_DeleteAlertManagerDefinitionCommand = async (input, context) => {
106
106
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
107
107
  const headers = {};
108
108
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -123,8 +123,8 @@ const serializeAws_restJson1DeleteAlertManagerDefinitionCommand = async (input,
123
123
  body,
124
124
  });
125
125
  };
126
- exports.serializeAws_restJson1DeleteAlertManagerDefinitionCommand = serializeAws_restJson1DeleteAlertManagerDefinitionCommand;
127
- const serializeAws_restJson1DeleteLoggingConfigurationCommand = async (input, context) => {
126
+ exports.se_DeleteAlertManagerDefinitionCommand = se_DeleteAlertManagerDefinitionCommand;
127
+ const se_DeleteLoggingConfigurationCommand = async (input, context) => {
128
128
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
129
129
  const headers = {};
130
130
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/logging";
@@ -144,8 +144,8 @@ const serializeAws_restJson1DeleteLoggingConfigurationCommand = async (input, co
144
144
  body,
145
145
  });
146
146
  };
147
- exports.serializeAws_restJson1DeleteLoggingConfigurationCommand = serializeAws_restJson1DeleteLoggingConfigurationCommand;
148
- const serializeAws_restJson1DeleteRuleGroupsNamespaceCommand = async (input, context) => {
147
+ exports.se_DeleteLoggingConfigurationCommand = se_DeleteLoggingConfigurationCommand;
148
+ const se_DeleteRuleGroupsNamespaceCommand = async (input, context) => {
149
149
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
150
150
  const headers = {};
151
151
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -167,8 +167,8 @@ const serializeAws_restJson1DeleteRuleGroupsNamespaceCommand = async (input, con
167
167
  body,
168
168
  });
169
169
  };
170
- exports.serializeAws_restJson1DeleteRuleGroupsNamespaceCommand = serializeAws_restJson1DeleteRuleGroupsNamespaceCommand;
171
- const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
170
+ exports.se_DeleteRuleGroupsNamespaceCommand = se_DeleteRuleGroupsNamespaceCommand;
171
+ const se_DeleteWorkspaceCommand = async (input, context) => {
172
172
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
173
173
  const headers = {};
174
174
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}";
@@ -188,8 +188,8 @@ const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
188
188
  body,
189
189
  });
190
190
  };
191
- exports.serializeAws_restJson1DeleteWorkspaceCommand = serializeAws_restJson1DeleteWorkspaceCommand;
192
- const serializeAws_restJson1DescribeAlertManagerDefinitionCommand = async (input, context) => {
191
+ exports.se_DeleteWorkspaceCommand = se_DeleteWorkspaceCommand;
192
+ const se_DescribeAlertManagerDefinitionCommand = async (input, context) => {
193
193
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
194
194
  const headers = {};
195
195
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -206,8 +206,8 @@ const serializeAws_restJson1DescribeAlertManagerDefinitionCommand = async (input
206
206
  body,
207
207
  });
208
208
  };
209
- exports.serializeAws_restJson1DescribeAlertManagerDefinitionCommand = serializeAws_restJson1DescribeAlertManagerDefinitionCommand;
210
- const serializeAws_restJson1DescribeLoggingConfigurationCommand = async (input, context) => {
209
+ exports.se_DescribeAlertManagerDefinitionCommand = se_DescribeAlertManagerDefinitionCommand;
210
+ const se_DescribeLoggingConfigurationCommand = async (input, context) => {
211
211
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
212
  const headers = {};
213
213
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/logging";
@@ -223,8 +223,8 @@ const serializeAws_restJson1DescribeLoggingConfigurationCommand = async (input,
223
223
  body,
224
224
  });
225
225
  };
226
- exports.serializeAws_restJson1DescribeLoggingConfigurationCommand = serializeAws_restJson1DescribeLoggingConfigurationCommand;
227
- const serializeAws_restJson1DescribeRuleGroupsNamespaceCommand = async (input, context) => {
226
+ exports.se_DescribeLoggingConfigurationCommand = se_DescribeLoggingConfigurationCommand;
227
+ const se_DescribeRuleGroupsNamespaceCommand = async (input, context) => {
228
228
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
229
  const headers = {};
230
230
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -242,8 +242,8 @@ const serializeAws_restJson1DescribeRuleGroupsNamespaceCommand = async (input, c
242
242
  body,
243
243
  });
244
244
  };
245
- exports.serializeAws_restJson1DescribeRuleGroupsNamespaceCommand = serializeAws_restJson1DescribeRuleGroupsNamespaceCommand;
246
- const serializeAws_restJson1DescribeWorkspaceCommand = async (input, context) => {
245
+ exports.se_DescribeRuleGroupsNamespaceCommand = se_DescribeRuleGroupsNamespaceCommand;
246
+ const se_DescribeWorkspaceCommand = async (input, context) => {
247
247
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
248
248
  const headers = {};
249
249
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}";
@@ -259,8 +259,8 @@ const serializeAws_restJson1DescribeWorkspaceCommand = async (input, context) =>
259
259
  body,
260
260
  });
261
261
  };
262
- exports.serializeAws_restJson1DescribeWorkspaceCommand = serializeAws_restJson1DescribeWorkspaceCommand;
263
- const serializeAws_restJson1ListRuleGroupsNamespacesCommand = async (input, context) => {
262
+ exports.se_DescribeWorkspaceCommand = se_DescribeWorkspaceCommand;
263
+ const se_ListRuleGroupsNamespacesCommand = async (input, context) => {
264
264
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
265
  const headers = {};
266
266
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -283,8 +283,8 @@ const serializeAws_restJson1ListRuleGroupsNamespacesCommand = async (input, cont
283
283
  body,
284
284
  });
285
285
  };
286
- exports.serializeAws_restJson1ListRuleGroupsNamespacesCommand = serializeAws_restJson1ListRuleGroupsNamespacesCommand;
287
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
286
+ exports.se_ListRuleGroupsNamespacesCommand = se_ListRuleGroupsNamespacesCommand;
287
+ const se_ListTagsForResourceCommand = async (input, context) => {
288
288
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
289
  const headers = {};
290
290
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -300,8 +300,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
300
300
  body,
301
301
  });
302
302
  };
303
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
304
- const serializeAws_restJson1ListWorkspacesCommand = async (input, context) => {
303
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
304
+ const se_ListWorkspacesCommand = async (input, context) => {
305
305
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
306
306
  const headers = {};
307
307
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces";
@@ -322,8 +322,8 @@ const serializeAws_restJson1ListWorkspacesCommand = async (input, context) => {
322
322
  body,
323
323
  });
324
324
  };
325
- exports.serializeAws_restJson1ListWorkspacesCommand = serializeAws_restJson1ListWorkspacesCommand;
326
- const serializeAws_restJson1PutAlertManagerDefinitionCommand = async (input, context) => {
325
+ exports.se_ListWorkspacesCommand = se_ListWorkspacesCommand;
326
+ const se_PutAlertManagerDefinitionCommand = async (input, context) => {
327
327
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
328
328
  const headers = {
329
329
  "content-type": "application/json",
@@ -346,8 +346,8 @@ const serializeAws_restJson1PutAlertManagerDefinitionCommand = async (input, con
346
346
  body,
347
347
  });
348
348
  };
349
- exports.serializeAws_restJson1PutAlertManagerDefinitionCommand = serializeAws_restJson1PutAlertManagerDefinitionCommand;
350
- const serializeAws_restJson1PutRuleGroupsNamespaceCommand = async (input, context) => {
349
+ exports.se_PutAlertManagerDefinitionCommand = se_PutAlertManagerDefinitionCommand;
350
+ const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
351
351
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
352
352
  const headers = {
353
353
  "content-type": "application/json",
@@ -371,8 +371,8 @@ const serializeAws_restJson1PutRuleGroupsNamespaceCommand = async (input, contex
371
371
  body,
372
372
  });
373
373
  };
374
- exports.serializeAws_restJson1PutRuleGroupsNamespaceCommand = serializeAws_restJson1PutRuleGroupsNamespaceCommand;
375
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
374
+ exports.se_PutRuleGroupsNamespaceCommand = se_PutRuleGroupsNamespaceCommand;
375
+ const se_TagResourceCommand = async (input, context) => {
376
376
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
377
  const headers = {
378
378
  "content-type": "application/json",
@@ -381,7 +381,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
381
381
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
382
382
  let body;
383
383
  body = JSON.stringify({
384
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
384
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
385
385
  });
386
386
  return new protocol_http_1.HttpRequest({
387
387
  protocol,
@@ -393,8 +393,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
393
393
  body,
394
394
  });
395
395
  };
396
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
397
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
396
+ exports.se_TagResourceCommand = se_TagResourceCommand;
397
+ const se_UntagResourceCommand = async (input, context) => {
398
398
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
399
399
  const headers = {};
400
400
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -417,8 +417,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
417
417
  body,
418
418
  });
419
419
  };
420
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
421
- const serializeAws_restJson1UpdateLoggingConfigurationCommand = async (input, context) => {
420
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
421
+ const se_UpdateLoggingConfigurationCommand = async (input, context) => {
422
422
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
423
423
  const headers = {
424
424
  "content-type": "application/json",
@@ -440,8 +440,8 @@ const serializeAws_restJson1UpdateLoggingConfigurationCommand = async (input, co
440
440
  body,
441
441
  });
442
442
  };
443
- exports.serializeAws_restJson1UpdateLoggingConfigurationCommand = serializeAws_restJson1UpdateLoggingConfigurationCommand;
444
- const serializeAws_restJson1UpdateWorkspaceAliasCommand = async (input, context) => {
443
+ exports.se_UpdateLoggingConfigurationCommand = se_UpdateLoggingConfigurationCommand;
444
+ const se_UpdateWorkspaceAliasCommand = async (input, context) => {
445
445
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
446
446
  const headers = {
447
447
  "content-type": "application/json",
@@ -463,22 +463,22 @@ const serializeAws_restJson1UpdateWorkspaceAliasCommand = async (input, context)
463
463
  body,
464
464
  });
465
465
  };
466
- exports.serializeAws_restJson1UpdateWorkspaceAliasCommand = serializeAws_restJson1UpdateWorkspaceAliasCommand;
467
- const deserializeAws_restJson1CreateAlertManagerDefinitionCommand = async (output, context) => {
466
+ exports.se_UpdateWorkspaceAliasCommand = se_UpdateWorkspaceAliasCommand;
467
+ const de_CreateAlertManagerDefinitionCommand = async (output, context) => {
468
468
  if (output.statusCode !== 202 && output.statusCode >= 300) {
469
- return deserializeAws_restJson1CreateAlertManagerDefinitionCommandError(output, context);
469
+ return de_CreateAlertManagerDefinitionCommandError(output, context);
470
470
  }
471
471
  const contents = map({
472
472
  $metadata: deserializeMetadata(output),
473
473
  });
474
474
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
475
475
  if (data.status != null) {
476
- contents.status = deserializeAws_restJson1AlertManagerDefinitionStatus(data.status, context);
476
+ contents.status = de_AlertManagerDefinitionStatus(data.status, context);
477
477
  }
478
478
  return contents;
479
479
  };
480
- exports.deserializeAws_restJson1CreateAlertManagerDefinitionCommand = deserializeAws_restJson1CreateAlertManagerDefinitionCommand;
481
- const deserializeAws_restJson1CreateAlertManagerDefinitionCommandError = async (output, context) => {
480
+ exports.de_CreateAlertManagerDefinitionCommand = de_CreateAlertManagerDefinitionCommand;
481
+ const de_CreateAlertManagerDefinitionCommandError = async (output, context) => {
482
482
  const parsedOutput = {
483
483
  ...output,
484
484
  body: await parseErrorBody(output.body, context),
@@ -487,25 +487,25 @@ const deserializeAws_restJson1CreateAlertManagerDefinitionCommandError = async (
487
487
  switch (errorCode) {
488
488
  case "AccessDeniedException":
489
489
  case "com.amazonaws.amp#AccessDeniedException":
490
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
490
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
491
491
  case "ConflictException":
492
492
  case "com.amazonaws.amp#ConflictException":
493
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
493
+ throw await de_ConflictExceptionRes(parsedOutput, context);
494
494
  case "InternalServerException":
495
495
  case "com.amazonaws.amp#InternalServerException":
496
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
496
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
497
497
  case "ResourceNotFoundException":
498
498
  case "com.amazonaws.amp#ResourceNotFoundException":
499
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
499
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
500
500
  case "ServiceQuotaExceededException":
501
501
  case "com.amazonaws.amp#ServiceQuotaExceededException":
502
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
502
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
503
503
  case "ThrottlingException":
504
504
  case "com.amazonaws.amp#ThrottlingException":
505
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
505
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
506
506
  case "ValidationException":
507
507
  case "com.amazonaws.amp#ValidationException":
508
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
508
+ throw await de_ValidationExceptionRes(parsedOutput, context);
509
509
  default:
510
510
  const parsedBody = parsedOutput.body;
511
511
  (0, smithy_client_1.throwDefaultError)({
@@ -516,21 +516,21 @@ const deserializeAws_restJson1CreateAlertManagerDefinitionCommandError = async (
516
516
  });
517
517
  }
518
518
  };
519
- const deserializeAws_restJson1CreateLoggingConfigurationCommand = async (output, context) => {
519
+ const de_CreateLoggingConfigurationCommand = async (output, context) => {
520
520
  if (output.statusCode !== 202 && output.statusCode >= 300) {
521
- return deserializeAws_restJson1CreateLoggingConfigurationCommandError(output, context);
521
+ return de_CreateLoggingConfigurationCommandError(output, context);
522
522
  }
523
523
  const contents = map({
524
524
  $metadata: deserializeMetadata(output),
525
525
  });
526
526
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
527
527
  if (data.status != null) {
528
- contents.status = deserializeAws_restJson1LoggingConfigurationStatus(data.status, context);
528
+ contents.status = de_LoggingConfigurationStatus(data.status, context);
529
529
  }
530
530
  return contents;
531
531
  };
532
- exports.deserializeAws_restJson1CreateLoggingConfigurationCommand = deserializeAws_restJson1CreateLoggingConfigurationCommand;
533
- const deserializeAws_restJson1CreateLoggingConfigurationCommandError = async (output, context) => {
532
+ exports.de_CreateLoggingConfigurationCommand = de_CreateLoggingConfigurationCommand;
533
+ const de_CreateLoggingConfigurationCommandError = async (output, context) => {
534
534
  const parsedOutput = {
535
535
  ...output,
536
536
  body: await parseErrorBody(output.body, context),
@@ -539,16 +539,16 @@ const deserializeAws_restJson1CreateLoggingConfigurationCommandError = async (ou
539
539
  switch (errorCode) {
540
540
  case "AccessDeniedException":
541
541
  case "com.amazonaws.amp#AccessDeniedException":
542
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
542
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
543
543
  case "InternalServerException":
544
544
  case "com.amazonaws.amp#InternalServerException":
545
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
545
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
546
546
  case "ResourceNotFoundException":
547
547
  case "com.amazonaws.amp#ResourceNotFoundException":
548
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
548
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
549
549
  case "ValidationException":
550
550
  case "com.amazonaws.amp#ValidationException":
551
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
551
+ throw await de_ValidationExceptionRes(parsedOutput, context);
552
552
  default:
553
553
  const parsedBody = parsedOutput.body;
554
554
  (0, smithy_client_1.throwDefaultError)({
@@ -559,9 +559,9 @@ const deserializeAws_restJson1CreateLoggingConfigurationCommandError = async (ou
559
559
  });
560
560
  }
561
561
  };
562
- const deserializeAws_restJson1CreateRuleGroupsNamespaceCommand = async (output, context) => {
562
+ const de_CreateRuleGroupsNamespaceCommand = async (output, context) => {
563
563
  if (output.statusCode !== 202 && output.statusCode >= 300) {
564
- return deserializeAws_restJson1CreateRuleGroupsNamespaceCommandError(output, context);
564
+ return de_CreateRuleGroupsNamespaceCommandError(output, context);
565
565
  }
566
566
  const contents = map({
567
567
  $metadata: deserializeMetadata(output),
@@ -574,15 +574,15 @@ const deserializeAws_restJson1CreateRuleGroupsNamespaceCommand = async (output,
574
574
  contents.name = (0, smithy_client_1.expectString)(data.name);
575
575
  }
576
576
  if (data.status != null) {
577
- contents.status = deserializeAws_restJson1RuleGroupsNamespaceStatus(data.status, context);
577
+ contents.status = de_RuleGroupsNamespaceStatus(data.status, context);
578
578
  }
579
579
  if (data.tags != null) {
580
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
580
+ contents.tags = de_TagMap(data.tags, context);
581
581
  }
582
582
  return contents;
583
583
  };
584
- exports.deserializeAws_restJson1CreateRuleGroupsNamespaceCommand = deserializeAws_restJson1CreateRuleGroupsNamespaceCommand;
585
- const deserializeAws_restJson1CreateRuleGroupsNamespaceCommandError = async (output, context) => {
584
+ exports.de_CreateRuleGroupsNamespaceCommand = de_CreateRuleGroupsNamespaceCommand;
585
+ const de_CreateRuleGroupsNamespaceCommandError = async (output, context) => {
586
586
  const parsedOutput = {
587
587
  ...output,
588
588
  body: await parseErrorBody(output.body, context),
@@ -591,25 +591,25 @@ const deserializeAws_restJson1CreateRuleGroupsNamespaceCommandError = async (out
591
591
  switch (errorCode) {
592
592
  case "AccessDeniedException":
593
593
  case "com.amazonaws.amp#AccessDeniedException":
594
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
594
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
595
595
  case "ConflictException":
596
596
  case "com.amazonaws.amp#ConflictException":
597
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
597
+ throw await de_ConflictExceptionRes(parsedOutput, context);
598
598
  case "InternalServerException":
599
599
  case "com.amazonaws.amp#InternalServerException":
600
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
600
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
601
601
  case "ResourceNotFoundException":
602
602
  case "com.amazonaws.amp#ResourceNotFoundException":
603
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
603
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
604
604
  case "ServiceQuotaExceededException":
605
605
  case "com.amazonaws.amp#ServiceQuotaExceededException":
606
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
606
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
607
607
  case "ThrottlingException":
608
608
  case "com.amazonaws.amp#ThrottlingException":
609
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
609
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
610
610
  case "ValidationException":
611
611
  case "com.amazonaws.amp#ValidationException":
612
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
612
+ throw await de_ValidationExceptionRes(parsedOutput, context);
613
613
  default:
614
614
  const parsedBody = parsedOutput.body;
615
615
  (0, smithy_client_1.throwDefaultError)({
@@ -620,9 +620,9 @@ const deserializeAws_restJson1CreateRuleGroupsNamespaceCommandError = async (out
620
620
  });
621
621
  }
622
622
  };
623
- const deserializeAws_restJson1CreateWorkspaceCommand = async (output, context) => {
623
+ const de_CreateWorkspaceCommand = async (output, context) => {
624
624
  if (output.statusCode !== 202 && output.statusCode >= 300) {
625
- return deserializeAws_restJson1CreateWorkspaceCommandError(output, context);
625
+ return de_CreateWorkspaceCommandError(output, context);
626
626
  }
627
627
  const contents = map({
628
628
  $metadata: deserializeMetadata(output),
@@ -632,18 +632,18 @@ const deserializeAws_restJson1CreateWorkspaceCommand = async (output, context) =
632
632
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
633
633
  }
634
634
  if (data.status != null) {
635
- contents.status = deserializeAws_restJson1WorkspaceStatus(data.status, context);
635
+ contents.status = de_WorkspaceStatus(data.status, context);
636
636
  }
637
637
  if (data.tags != null) {
638
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
638
+ contents.tags = de_TagMap(data.tags, context);
639
639
  }
640
640
  if (data.workspaceId != null) {
641
641
  contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
642
642
  }
643
643
  return contents;
644
644
  };
645
- exports.deserializeAws_restJson1CreateWorkspaceCommand = deserializeAws_restJson1CreateWorkspaceCommand;
646
- const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, context) => {
645
+ exports.de_CreateWorkspaceCommand = de_CreateWorkspaceCommand;
646
+ const de_CreateWorkspaceCommandError = async (output, context) => {
647
647
  const parsedOutput = {
648
648
  ...output,
649
649
  body: await parseErrorBody(output.body, context),
@@ -652,22 +652,22 @@ const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, conte
652
652
  switch (errorCode) {
653
653
  case "AccessDeniedException":
654
654
  case "com.amazonaws.amp#AccessDeniedException":
655
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
655
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
656
656
  case "ConflictException":
657
657
  case "com.amazonaws.amp#ConflictException":
658
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
658
+ throw await de_ConflictExceptionRes(parsedOutput, context);
659
659
  case "InternalServerException":
660
660
  case "com.amazonaws.amp#InternalServerException":
661
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
661
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
662
662
  case "ServiceQuotaExceededException":
663
663
  case "com.amazonaws.amp#ServiceQuotaExceededException":
664
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
664
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
665
665
  case "ThrottlingException":
666
666
  case "com.amazonaws.amp#ThrottlingException":
667
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
667
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
668
668
  case "ValidationException":
669
669
  case "com.amazonaws.amp#ValidationException":
670
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
670
+ throw await de_ValidationExceptionRes(parsedOutput, context);
671
671
  default:
672
672
  const parsedBody = parsedOutput.body;
673
673
  (0, smithy_client_1.throwDefaultError)({
@@ -678,9 +678,9 @@ const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, conte
678
678
  });
679
679
  }
680
680
  };
681
- const deserializeAws_restJson1DeleteAlertManagerDefinitionCommand = async (output, context) => {
681
+ const de_DeleteAlertManagerDefinitionCommand = async (output, context) => {
682
682
  if (output.statusCode !== 202 && output.statusCode >= 300) {
683
- return deserializeAws_restJson1DeleteAlertManagerDefinitionCommandError(output, context);
683
+ return de_DeleteAlertManagerDefinitionCommandError(output, context);
684
684
  }
685
685
  const contents = map({
686
686
  $metadata: deserializeMetadata(output),
@@ -688,8 +688,8 @@ const deserializeAws_restJson1DeleteAlertManagerDefinitionCommand = async (outpu
688
688
  await collectBody(output.body, context);
689
689
  return contents;
690
690
  };
691
- exports.deserializeAws_restJson1DeleteAlertManagerDefinitionCommand = deserializeAws_restJson1DeleteAlertManagerDefinitionCommand;
692
- const deserializeAws_restJson1DeleteAlertManagerDefinitionCommandError = async (output, context) => {
691
+ exports.de_DeleteAlertManagerDefinitionCommand = de_DeleteAlertManagerDefinitionCommand;
692
+ const de_DeleteAlertManagerDefinitionCommandError = async (output, context) => {
693
693
  const parsedOutput = {
694
694
  ...output,
695
695
  body: await parseErrorBody(output.body, context),
@@ -698,22 +698,22 @@ const deserializeAws_restJson1DeleteAlertManagerDefinitionCommandError = async (
698
698
  switch (errorCode) {
699
699
  case "AccessDeniedException":
700
700
  case "com.amazonaws.amp#AccessDeniedException":
701
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
701
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
702
702
  case "ConflictException":
703
703
  case "com.amazonaws.amp#ConflictException":
704
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
704
+ throw await de_ConflictExceptionRes(parsedOutput, context);
705
705
  case "InternalServerException":
706
706
  case "com.amazonaws.amp#InternalServerException":
707
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
707
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
708
708
  case "ResourceNotFoundException":
709
709
  case "com.amazonaws.amp#ResourceNotFoundException":
710
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
710
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
711
711
  case "ThrottlingException":
712
712
  case "com.amazonaws.amp#ThrottlingException":
713
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
713
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
714
714
  case "ValidationException":
715
715
  case "com.amazonaws.amp#ValidationException":
716
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
716
+ throw await de_ValidationExceptionRes(parsedOutput, context);
717
717
  default:
718
718
  const parsedBody = parsedOutput.body;
719
719
  (0, smithy_client_1.throwDefaultError)({
@@ -724,9 +724,9 @@ const deserializeAws_restJson1DeleteAlertManagerDefinitionCommandError = async (
724
724
  });
725
725
  }
726
726
  };
727
- const deserializeAws_restJson1DeleteLoggingConfigurationCommand = async (output, context) => {
727
+ const de_DeleteLoggingConfigurationCommand = async (output, context) => {
728
728
  if (output.statusCode !== 202 && output.statusCode >= 300) {
729
- return deserializeAws_restJson1DeleteLoggingConfigurationCommandError(output, context);
729
+ return de_DeleteLoggingConfigurationCommandError(output, context);
730
730
  }
731
731
  const contents = map({
732
732
  $metadata: deserializeMetadata(output),
@@ -734,8 +734,8 @@ const deserializeAws_restJson1DeleteLoggingConfigurationCommand = async (output,
734
734
  await collectBody(output.body, context);
735
735
  return contents;
736
736
  };
737
- exports.deserializeAws_restJson1DeleteLoggingConfigurationCommand = deserializeAws_restJson1DeleteLoggingConfigurationCommand;
738
- const deserializeAws_restJson1DeleteLoggingConfigurationCommandError = async (output, context) => {
737
+ exports.de_DeleteLoggingConfigurationCommand = de_DeleteLoggingConfigurationCommand;
738
+ const de_DeleteLoggingConfigurationCommandError = async (output, context) => {
739
739
  const parsedOutput = {
740
740
  ...output,
741
741
  body: await parseErrorBody(output.body, context),
@@ -744,19 +744,19 @@ const deserializeAws_restJson1DeleteLoggingConfigurationCommandError = async (ou
744
744
  switch (errorCode) {
745
745
  case "AccessDeniedException":
746
746
  case "com.amazonaws.amp#AccessDeniedException":
747
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
747
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
748
748
  case "ConflictException":
749
749
  case "com.amazonaws.amp#ConflictException":
750
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
750
+ throw await de_ConflictExceptionRes(parsedOutput, context);
751
751
  case "InternalServerException":
752
752
  case "com.amazonaws.amp#InternalServerException":
753
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
753
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
754
754
  case "ResourceNotFoundException":
755
755
  case "com.amazonaws.amp#ResourceNotFoundException":
756
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
756
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
757
757
  case "ValidationException":
758
758
  case "com.amazonaws.amp#ValidationException":
759
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
759
+ throw await de_ValidationExceptionRes(parsedOutput, context);
760
760
  default:
761
761
  const parsedBody = parsedOutput.body;
762
762
  (0, smithy_client_1.throwDefaultError)({
@@ -767,9 +767,9 @@ const deserializeAws_restJson1DeleteLoggingConfigurationCommandError = async (ou
767
767
  });
768
768
  }
769
769
  };
770
- const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand = async (output, context) => {
770
+ const de_DeleteRuleGroupsNamespaceCommand = async (output, context) => {
771
771
  if (output.statusCode !== 202 && output.statusCode >= 300) {
772
- return deserializeAws_restJson1DeleteRuleGroupsNamespaceCommandError(output, context);
772
+ return de_DeleteRuleGroupsNamespaceCommandError(output, context);
773
773
  }
774
774
  const contents = map({
775
775
  $metadata: deserializeMetadata(output),
@@ -777,8 +777,8 @@ const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand = async (output,
777
777
  await collectBody(output.body, context);
778
778
  return contents;
779
779
  };
780
- exports.deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand = deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand;
781
- const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommandError = async (output, context) => {
780
+ exports.de_DeleteRuleGroupsNamespaceCommand = de_DeleteRuleGroupsNamespaceCommand;
781
+ const de_DeleteRuleGroupsNamespaceCommandError = async (output, context) => {
782
782
  const parsedOutput = {
783
783
  ...output,
784
784
  body: await parseErrorBody(output.body, context),
@@ -787,22 +787,22 @@ const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommandError = async (out
787
787
  switch (errorCode) {
788
788
  case "AccessDeniedException":
789
789
  case "com.amazonaws.amp#AccessDeniedException":
790
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
790
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
791
791
  case "ConflictException":
792
792
  case "com.amazonaws.amp#ConflictException":
793
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
793
+ throw await de_ConflictExceptionRes(parsedOutput, context);
794
794
  case "InternalServerException":
795
795
  case "com.amazonaws.amp#InternalServerException":
796
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
796
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
797
797
  case "ResourceNotFoundException":
798
798
  case "com.amazonaws.amp#ResourceNotFoundException":
799
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
799
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
800
800
  case "ThrottlingException":
801
801
  case "com.amazonaws.amp#ThrottlingException":
802
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
802
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
803
803
  case "ValidationException":
804
804
  case "com.amazonaws.amp#ValidationException":
805
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
805
+ throw await de_ValidationExceptionRes(parsedOutput, context);
806
806
  default:
807
807
  const parsedBody = parsedOutput.body;
808
808
  (0, smithy_client_1.throwDefaultError)({
@@ -813,9 +813,9 @@ const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommandError = async (out
813
813
  });
814
814
  }
815
815
  };
816
- const deserializeAws_restJson1DeleteWorkspaceCommand = async (output, context) => {
816
+ const de_DeleteWorkspaceCommand = async (output, context) => {
817
817
  if (output.statusCode !== 202 && output.statusCode >= 300) {
818
- return deserializeAws_restJson1DeleteWorkspaceCommandError(output, context);
818
+ return de_DeleteWorkspaceCommandError(output, context);
819
819
  }
820
820
  const contents = map({
821
821
  $metadata: deserializeMetadata(output),
@@ -823,8 +823,8 @@ const deserializeAws_restJson1DeleteWorkspaceCommand = async (output, context) =
823
823
  await collectBody(output.body, context);
824
824
  return contents;
825
825
  };
826
- exports.deserializeAws_restJson1DeleteWorkspaceCommand = deserializeAws_restJson1DeleteWorkspaceCommand;
827
- const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, context) => {
826
+ exports.de_DeleteWorkspaceCommand = de_DeleteWorkspaceCommand;
827
+ const de_DeleteWorkspaceCommandError = async (output, context) => {
828
828
  const parsedOutput = {
829
829
  ...output,
830
830
  body: await parseErrorBody(output.body, context),
@@ -833,22 +833,22 @@ const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, conte
833
833
  switch (errorCode) {
834
834
  case "AccessDeniedException":
835
835
  case "com.amazonaws.amp#AccessDeniedException":
836
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
836
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
837
837
  case "ConflictException":
838
838
  case "com.amazonaws.amp#ConflictException":
839
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
839
+ throw await de_ConflictExceptionRes(parsedOutput, context);
840
840
  case "InternalServerException":
841
841
  case "com.amazonaws.amp#InternalServerException":
842
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
842
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
843
843
  case "ResourceNotFoundException":
844
844
  case "com.amazonaws.amp#ResourceNotFoundException":
845
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
845
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
846
846
  case "ThrottlingException":
847
847
  case "com.amazonaws.amp#ThrottlingException":
848
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
848
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
849
849
  case "ValidationException":
850
850
  case "com.amazonaws.amp#ValidationException":
851
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
851
+ throw await de_ValidationExceptionRes(parsedOutput, context);
852
852
  default:
853
853
  const parsedBody = parsedOutput.body;
854
854
  (0, smithy_client_1.throwDefaultError)({
@@ -859,21 +859,21 @@ const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, conte
859
859
  });
860
860
  }
861
861
  };
862
- const deserializeAws_restJson1DescribeAlertManagerDefinitionCommand = async (output, context) => {
862
+ const de_DescribeAlertManagerDefinitionCommand = async (output, context) => {
863
863
  if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return deserializeAws_restJson1DescribeAlertManagerDefinitionCommandError(output, context);
864
+ return de_DescribeAlertManagerDefinitionCommandError(output, context);
865
865
  }
866
866
  const contents = map({
867
867
  $metadata: deserializeMetadata(output),
868
868
  });
869
869
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
870
870
  if (data.alertManagerDefinition != null) {
871
- contents.alertManagerDefinition = deserializeAws_restJson1AlertManagerDefinitionDescription(data.alertManagerDefinition, context);
871
+ contents.alertManagerDefinition = de_AlertManagerDefinitionDescription(data.alertManagerDefinition, context);
872
872
  }
873
873
  return contents;
874
874
  };
875
- exports.deserializeAws_restJson1DescribeAlertManagerDefinitionCommand = deserializeAws_restJson1DescribeAlertManagerDefinitionCommand;
876
- const deserializeAws_restJson1DescribeAlertManagerDefinitionCommandError = async (output, context) => {
875
+ exports.de_DescribeAlertManagerDefinitionCommand = de_DescribeAlertManagerDefinitionCommand;
876
+ const de_DescribeAlertManagerDefinitionCommandError = async (output, context) => {
877
877
  const parsedOutput = {
878
878
  ...output,
879
879
  body: await parseErrorBody(output.body, context),
@@ -882,19 +882,19 @@ const deserializeAws_restJson1DescribeAlertManagerDefinitionCommandError = async
882
882
  switch (errorCode) {
883
883
  case "AccessDeniedException":
884
884
  case "com.amazonaws.amp#AccessDeniedException":
885
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
885
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
886
886
  case "InternalServerException":
887
887
  case "com.amazonaws.amp#InternalServerException":
888
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
888
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
889
889
  case "ResourceNotFoundException":
890
890
  case "com.amazonaws.amp#ResourceNotFoundException":
891
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
891
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
892
892
  case "ThrottlingException":
893
893
  case "com.amazonaws.amp#ThrottlingException":
894
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
894
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
895
895
  case "ValidationException":
896
896
  case "com.amazonaws.amp#ValidationException":
897
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
897
+ throw await de_ValidationExceptionRes(parsedOutput, context);
898
898
  default:
899
899
  const parsedBody = parsedOutput.body;
900
900
  (0, smithy_client_1.throwDefaultError)({
@@ -905,21 +905,21 @@ const deserializeAws_restJson1DescribeAlertManagerDefinitionCommandError = async
905
905
  });
906
906
  }
907
907
  };
908
- const deserializeAws_restJson1DescribeLoggingConfigurationCommand = async (output, context) => {
908
+ const de_DescribeLoggingConfigurationCommand = async (output, context) => {
909
909
  if (output.statusCode !== 200 && output.statusCode >= 300) {
910
- return deserializeAws_restJson1DescribeLoggingConfigurationCommandError(output, context);
910
+ return de_DescribeLoggingConfigurationCommandError(output, context);
911
911
  }
912
912
  const contents = map({
913
913
  $metadata: deserializeMetadata(output),
914
914
  });
915
915
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
916
916
  if (data.loggingConfiguration != null) {
917
- contents.loggingConfiguration = deserializeAws_restJson1LoggingConfigurationMetadata(data.loggingConfiguration, context);
917
+ contents.loggingConfiguration = de_LoggingConfigurationMetadata(data.loggingConfiguration, context);
918
918
  }
919
919
  return contents;
920
920
  };
921
- exports.deserializeAws_restJson1DescribeLoggingConfigurationCommand = deserializeAws_restJson1DescribeLoggingConfigurationCommand;
922
- const deserializeAws_restJson1DescribeLoggingConfigurationCommandError = async (output, context) => {
921
+ exports.de_DescribeLoggingConfigurationCommand = de_DescribeLoggingConfigurationCommand;
922
+ const de_DescribeLoggingConfigurationCommandError = async (output, context) => {
923
923
  const parsedOutput = {
924
924
  ...output,
925
925
  body: await parseErrorBody(output.body, context),
@@ -928,16 +928,16 @@ const deserializeAws_restJson1DescribeLoggingConfigurationCommandError = async (
928
928
  switch (errorCode) {
929
929
  case "AccessDeniedException":
930
930
  case "com.amazonaws.amp#AccessDeniedException":
931
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
931
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
932
932
  case "InternalServerException":
933
933
  case "com.amazonaws.amp#InternalServerException":
934
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
934
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
935
935
  case "ResourceNotFoundException":
936
936
  case "com.amazonaws.amp#ResourceNotFoundException":
937
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
937
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
938
938
  case "ValidationException":
939
939
  case "com.amazonaws.amp#ValidationException":
940
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
940
+ throw await de_ValidationExceptionRes(parsedOutput, context);
941
941
  default:
942
942
  const parsedBody = parsedOutput.body;
943
943
  (0, smithy_client_1.throwDefaultError)({
@@ -948,21 +948,21 @@ const deserializeAws_restJson1DescribeLoggingConfigurationCommandError = async (
948
948
  });
949
949
  }
950
950
  };
951
- const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand = async (output, context) => {
951
+ const de_DescribeRuleGroupsNamespaceCommand = async (output, context) => {
952
952
  if (output.statusCode !== 200 && output.statusCode >= 300) {
953
- return deserializeAws_restJson1DescribeRuleGroupsNamespaceCommandError(output, context);
953
+ return de_DescribeRuleGroupsNamespaceCommandError(output, context);
954
954
  }
955
955
  const contents = map({
956
956
  $metadata: deserializeMetadata(output),
957
957
  });
958
958
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
959
959
  if (data.ruleGroupsNamespace != null) {
960
- contents.ruleGroupsNamespace = deserializeAws_restJson1RuleGroupsNamespaceDescription(data.ruleGroupsNamespace, context);
960
+ contents.ruleGroupsNamespace = de_RuleGroupsNamespaceDescription(data.ruleGroupsNamespace, context);
961
961
  }
962
962
  return contents;
963
963
  };
964
- exports.deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand = deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand;
965
- const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommandError = async (output, context) => {
964
+ exports.de_DescribeRuleGroupsNamespaceCommand = de_DescribeRuleGroupsNamespaceCommand;
965
+ const de_DescribeRuleGroupsNamespaceCommandError = async (output, context) => {
966
966
  const parsedOutput = {
967
967
  ...output,
968
968
  body: await parseErrorBody(output.body, context),
@@ -971,19 +971,19 @@ const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommandError = async (o
971
971
  switch (errorCode) {
972
972
  case "AccessDeniedException":
973
973
  case "com.amazonaws.amp#AccessDeniedException":
974
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
974
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
975
975
  case "InternalServerException":
976
976
  case "com.amazonaws.amp#InternalServerException":
977
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
977
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
978
978
  case "ResourceNotFoundException":
979
979
  case "com.amazonaws.amp#ResourceNotFoundException":
980
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
980
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
981
981
  case "ThrottlingException":
982
982
  case "com.amazonaws.amp#ThrottlingException":
983
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
983
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
984
984
  case "ValidationException":
985
985
  case "com.amazonaws.amp#ValidationException":
986
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
986
+ throw await de_ValidationExceptionRes(parsedOutput, context);
987
987
  default:
988
988
  const parsedBody = parsedOutput.body;
989
989
  (0, smithy_client_1.throwDefaultError)({
@@ -994,21 +994,21 @@ const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommandError = async (o
994
994
  });
995
995
  }
996
996
  };
997
- const deserializeAws_restJson1DescribeWorkspaceCommand = async (output, context) => {
997
+ const de_DescribeWorkspaceCommand = async (output, context) => {
998
998
  if (output.statusCode !== 200 && output.statusCode >= 300) {
999
- return deserializeAws_restJson1DescribeWorkspaceCommandError(output, context);
999
+ return de_DescribeWorkspaceCommandError(output, context);
1000
1000
  }
1001
1001
  const contents = map({
1002
1002
  $metadata: deserializeMetadata(output),
1003
1003
  });
1004
1004
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1005
1005
  if (data.workspace != null) {
1006
- contents.workspace = deserializeAws_restJson1WorkspaceDescription(data.workspace, context);
1006
+ contents.workspace = de_WorkspaceDescription(data.workspace, context);
1007
1007
  }
1008
1008
  return contents;
1009
1009
  };
1010
- exports.deserializeAws_restJson1DescribeWorkspaceCommand = deserializeAws_restJson1DescribeWorkspaceCommand;
1011
- const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, context) => {
1010
+ exports.de_DescribeWorkspaceCommand = de_DescribeWorkspaceCommand;
1011
+ const de_DescribeWorkspaceCommandError = async (output, context) => {
1012
1012
  const parsedOutput = {
1013
1013
  ...output,
1014
1014
  body: await parseErrorBody(output.body, context),
@@ -1017,19 +1017,19 @@ const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, con
1017
1017
  switch (errorCode) {
1018
1018
  case "AccessDeniedException":
1019
1019
  case "com.amazonaws.amp#AccessDeniedException":
1020
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1020
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1021
1021
  case "InternalServerException":
1022
1022
  case "com.amazonaws.amp#InternalServerException":
1023
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1023
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1024
1024
  case "ResourceNotFoundException":
1025
1025
  case "com.amazonaws.amp#ResourceNotFoundException":
1026
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1026
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1027
1027
  case "ThrottlingException":
1028
1028
  case "com.amazonaws.amp#ThrottlingException":
1029
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1029
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1030
1030
  case "ValidationException":
1031
1031
  case "com.amazonaws.amp#ValidationException":
1032
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1032
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1033
1033
  default:
1034
1034
  const parsedBody = parsedOutput.body;
1035
1035
  (0, smithy_client_1.throwDefaultError)({
@@ -1040,9 +1040,9 @@ const deserializeAws_restJson1DescribeWorkspaceCommandError = async (output, con
1040
1040
  });
1041
1041
  }
1042
1042
  };
1043
- const deserializeAws_restJson1ListRuleGroupsNamespacesCommand = async (output, context) => {
1043
+ const de_ListRuleGroupsNamespacesCommand = async (output, context) => {
1044
1044
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1045
- return deserializeAws_restJson1ListRuleGroupsNamespacesCommandError(output, context);
1045
+ return de_ListRuleGroupsNamespacesCommandError(output, context);
1046
1046
  }
1047
1047
  const contents = map({
1048
1048
  $metadata: deserializeMetadata(output),
@@ -1052,12 +1052,12 @@ const deserializeAws_restJson1ListRuleGroupsNamespacesCommand = async (output, c
1052
1052
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1053
1053
  }
1054
1054
  if (data.ruleGroupsNamespaces != null) {
1055
- contents.ruleGroupsNamespaces = deserializeAws_restJson1RuleGroupsNamespaceSummaryList(data.ruleGroupsNamespaces, context);
1055
+ contents.ruleGroupsNamespaces = de_RuleGroupsNamespaceSummaryList(data.ruleGroupsNamespaces, context);
1056
1056
  }
1057
1057
  return contents;
1058
1058
  };
1059
- exports.deserializeAws_restJson1ListRuleGroupsNamespacesCommand = deserializeAws_restJson1ListRuleGroupsNamespacesCommand;
1060
- const deserializeAws_restJson1ListRuleGroupsNamespacesCommandError = async (output, context) => {
1059
+ exports.de_ListRuleGroupsNamespacesCommand = de_ListRuleGroupsNamespacesCommand;
1060
+ const de_ListRuleGroupsNamespacesCommandError = async (output, context) => {
1061
1061
  const parsedOutput = {
1062
1062
  ...output,
1063
1063
  body: await parseErrorBody(output.body, context),
@@ -1066,19 +1066,19 @@ const deserializeAws_restJson1ListRuleGroupsNamespacesCommandError = async (outp
1066
1066
  switch (errorCode) {
1067
1067
  case "AccessDeniedException":
1068
1068
  case "com.amazonaws.amp#AccessDeniedException":
1069
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1069
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1070
1070
  case "InternalServerException":
1071
1071
  case "com.amazonaws.amp#InternalServerException":
1072
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1072
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1073
1073
  case "ResourceNotFoundException":
1074
1074
  case "com.amazonaws.amp#ResourceNotFoundException":
1075
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1075
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1076
1076
  case "ThrottlingException":
1077
1077
  case "com.amazonaws.amp#ThrottlingException":
1078
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1078
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1079
1079
  case "ValidationException":
1080
1080
  case "com.amazonaws.amp#ValidationException":
1081
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1081
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1082
1082
  default:
1083
1083
  const parsedBody = parsedOutput.body;
1084
1084
  (0, smithy_client_1.throwDefaultError)({
@@ -1089,21 +1089,21 @@ const deserializeAws_restJson1ListRuleGroupsNamespacesCommandError = async (outp
1089
1089
  });
1090
1090
  }
1091
1091
  };
1092
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1092
+ const de_ListTagsForResourceCommand = async (output, context) => {
1093
1093
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1094
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1094
+ return de_ListTagsForResourceCommandError(output, context);
1095
1095
  }
1096
1096
  const contents = map({
1097
1097
  $metadata: deserializeMetadata(output),
1098
1098
  });
1099
1099
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1100
1100
  if (data.tags != null) {
1101
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1101
+ contents.tags = de_TagMap(data.tags, context);
1102
1102
  }
1103
1103
  return contents;
1104
1104
  };
1105
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1106
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1105
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1106
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1107
1107
  const parsedOutput = {
1108
1108
  ...output,
1109
1109
  body: await parseErrorBody(output.body, context),
@@ -1112,19 +1112,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1112
1112
  switch (errorCode) {
1113
1113
  case "AccessDeniedException":
1114
1114
  case "com.amazonaws.amp#AccessDeniedException":
1115
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1115
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1116
1116
  case "InternalServerException":
1117
1117
  case "com.amazonaws.amp#InternalServerException":
1118
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1118
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1119
1119
  case "ResourceNotFoundException":
1120
1120
  case "com.amazonaws.amp#ResourceNotFoundException":
1121
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1121
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1122
1122
  case "ThrottlingException":
1123
1123
  case "com.amazonaws.amp#ThrottlingException":
1124
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1124
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1125
1125
  case "ValidationException":
1126
1126
  case "com.amazonaws.amp#ValidationException":
1127
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1127
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1128
1128
  default:
1129
1129
  const parsedBody = parsedOutput.body;
1130
1130
  (0, smithy_client_1.throwDefaultError)({
@@ -1135,9 +1135,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1135
1135
  });
1136
1136
  }
1137
1137
  };
1138
- const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) => {
1138
+ const de_ListWorkspacesCommand = async (output, context) => {
1139
1139
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1140
- return deserializeAws_restJson1ListWorkspacesCommandError(output, context);
1140
+ return de_ListWorkspacesCommandError(output, context);
1141
1141
  }
1142
1142
  const contents = map({
1143
1143
  $metadata: deserializeMetadata(output),
@@ -1147,12 +1147,12 @@ const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) =>
1147
1147
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1148
1148
  }
1149
1149
  if (data.workspaces != null) {
1150
- contents.workspaces = deserializeAws_restJson1WorkspaceSummaryList(data.workspaces, context);
1150
+ contents.workspaces = de_WorkspaceSummaryList(data.workspaces, context);
1151
1151
  }
1152
1152
  return contents;
1153
1153
  };
1154
- exports.deserializeAws_restJson1ListWorkspacesCommand = deserializeAws_restJson1ListWorkspacesCommand;
1155
- const deserializeAws_restJson1ListWorkspacesCommandError = async (output, context) => {
1154
+ exports.de_ListWorkspacesCommand = de_ListWorkspacesCommand;
1155
+ const de_ListWorkspacesCommandError = async (output, context) => {
1156
1156
  const parsedOutput = {
1157
1157
  ...output,
1158
1158
  body: await parseErrorBody(output.body, context),
@@ -1161,16 +1161,16 @@ const deserializeAws_restJson1ListWorkspacesCommandError = async (output, contex
1161
1161
  switch (errorCode) {
1162
1162
  case "AccessDeniedException":
1163
1163
  case "com.amazonaws.amp#AccessDeniedException":
1164
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1164
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1165
1165
  case "InternalServerException":
1166
1166
  case "com.amazonaws.amp#InternalServerException":
1167
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1167
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1168
1168
  case "ThrottlingException":
1169
1169
  case "com.amazonaws.amp#ThrottlingException":
1170
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1170
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1171
1171
  case "ValidationException":
1172
1172
  case "com.amazonaws.amp#ValidationException":
1173
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1173
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1174
1174
  default:
1175
1175
  const parsedBody = parsedOutput.body;
1176
1176
  (0, smithy_client_1.throwDefaultError)({
@@ -1181,21 +1181,21 @@ const deserializeAws_restJson1ListWorkspacesCommandError = async (output, contex
1181
1181
  });
1182
1182
  }
1183
1183
  };
1184
- const deserializeAws_restJson1PutAlertManagerDefinitionCommand = async (output, context) => {
1184
+ const de_PutAlertManagerDefinitionCommand = async (output, context) => {
1185
1185
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1186
- return deserializeAws_restJson1PutAlertManagerDefinitionCommandError(output, context);
1186
+ return de_PutAlertManagerDefinitionCommandError(output, context);
1187
1187
  }
1188
1188
  const contents = map({
1189
1189
  $metadata: deserializeMetadata(output),
1190
1190
  });
1191
1191
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1192
1192
  if (data.status != null) {
1193
- contents.status = deserializeAws_restJson1AlertManagerDefinitionStatus(data.status, context);
1193
+ contents.status = de_AlertManagerDefinitionStatus(data.status, context);
1194
1194
  }
1195
1195
  return contents;
1196
1196
  };
1197
- exports.deserializeAws_restJson1PutAlertManagerDefinitionCommand = deserializeAws_restJson1PutAlertManagerDefinitionCommand;
1198
- const deserializeAws_restJson1PutAlertManagerDefinitionCommandError = async (output, context) => {
1197
+ exports.de_PutAlertManagerDefinitionCommand = de_PutAlertManagerDefinitionCommand;
1198
+ const de_PutAlertManagerDefinitionCommandError = async (output, context) => {
1199
1199
  const parsedOutput = {
1200
1200
  ...output,
1201
1201
  body: await parseErrorBody(output.body, context),
@@ -1204,25 +1204,25 @@ const deserializeAws_restJson1PutAlertManagerDefinitionCommandError = async (out
1204
1204
  switch (errorCode) {
1205
1205
  case "AccessDeniedException":
1206
1206
  case "com.amazonaws.amp#AccessDeniedException":
1207
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1207
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1208
1208
  case "ConflictException":
1209
1209
  case "com.amazonaws.amp#ConflictException":
1210
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1210
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1211
1211
  case "InternalServerException":
1212
1212
  case "com.amazonaws.amp#InternalServerException":
1213
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1213
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1214
1214
  case "ResourceNotFoundException":
1215
1215
  case "com.amazonaws.amp#ResourceNotFoundException":
1216
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1216
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1217
1217
  case "ServiceQuotaExceededException":
1218
1218
  case "com.amazonaws.amp#ServiceQuotaExceededException":
1219
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1219
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1220
1220
  case "ThrottlingException":
1221
1221
  case "com.amazonaws.amp#ThrottlingException":
1222
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1222
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1223
1223
  case "ValidationException":
1224
1224
  case "com.amazonaws.amp#ValidationException":
1225
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1225
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1226
1226
  default:
1227
1227
  const parsedBody = parsedOutput.body;
1228
1228
  (0, smithy_client_1.throwDefaultError)({
@@ -1233,9 +1233,9 @@ const deserializeAws_restJson1PutAlertManagerDefinitionCommandError = async (out
1233
1233
  });
1234
1234
  }
1235
1235
  };
1236
- const deserializeAws_restJson1PutRuleGroupsNamespaceCommand = async (output, context) => {
1236
+ const de_PutRuleGroupsNamespaceCommand = async (output, context) => {
1237
1237
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1238
- return deserializeAws_restJson1PutRuleGroupsNamespaceCommandError(output, context);
1238
+ return de_PutRuleGroupsNamespaceCommandError(output, context);
1239
1239
  }
1240
1240
  const contents = map({
1241
1241
  $metadata: deserializeMetadata(output),
@@ -1248,15 +1248,15 @@ const deserializeAws_restJson1PutRuleGroupsNamespaceCommand = async (output, con
1248
1248
  contents.name = (0, smithy_client_1.expectString)(data.name);
1249
1249
  }
1250
1250
  if (data.status != null) {
1251
- contents.status = deserializeAws_restJson1RuleGroupsNamespaceStatus(data.status, context);
1251
+ contents.status = de_RuleGroupsNamespaceStatus(data.status, context);
1252
1252
  }
1253
1253
  if (data.tags != null) {
1254
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1254
+ contents.tags = de_TagMap(data.tags, context);
1255
1255
  }
1256
1256
  return contents;
1257
1257
  };
1258
- exports.deserializeAws_restJson1PutRuleGroupsNamespaceCommand = deserializeAws_restJson1PutRuleGroupsNamespaceCommand;
1259
- const deserializeAws_restJson1PutRuleGroupsNamespaceCommandError = async (output, context) => {
1258
+ exports.de_PutRuleGroupsNamespaceCommand = de_PutRuleGroupsNamespaceCommand;
1259
+ const de_PutRuleGroupsNamespaceCommandError = async (output, context) => {
1260
1260
  const parsedOutput = {
1261
1261
  ...output,
1262
1262
  body: await parseErrorBody(output.body, context),
@@ -1265,25 +1265,25 @@ const deserializeAws_restJson1PutRuleGroupsNamespaceCommandError = async (output
1265
1265
  switch (errorCode) {
1266
1266
  case "AccessDeniedException":
1267
1267
  case "com.amazonaws.amp#AccessDeniedException":
1268
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1268
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1269
1269
  case "ConflictException":
1270
1270
  case "com.amazonaws.amp#ConflictException":
1271
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1271
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1272
1272
  case "InternalServerException":
1273
1273
  case "com.amazonaws.amp#InternalServerException":
1274
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1274
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1275
1275
  case "ResourceNotFoundException":
1276
1276
  case "com.amazonaws.amp#ResourceNotFoundException":
1277
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1277
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1278
1278
  case "ServiceQuotaExceededException":
1279
1279
  case "com.amazonaws.amp#ServiceQuotaExceededException":
1280
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1280
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1281
1281
  case "ThrottlingException":
1282
1282
  case "com.amazonaws.amp#ThrottlingException":
1283
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1283
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1284
1284
  case "ValidationException":
1285
1285
  case "com.amazonaws.amp#ValidationException":
1286
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1286
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1287
1287
  default:
1288
1288
  const parsedBody = parsedOutput.body;
1289
1289
  (0, smithy_client_1.throwDefaultError)({
@@ -1294,9 +1294,9 @@ const deserializeAws_restJson1PutRuleGroupsNamespaceCommandError = async (output
1294
1294
  });
1295
1295
  }
1296
1296
  };
1297
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1297
+ const de_TagResourceCommand = async (output, context) => {
1298
1298
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1299
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1299
+ return de_TagResourceCommandError(output, context);
1300
1300
  }
1301
1301
  const contents = map({
1302
1302
  $metadata: deserializeMetadata(output),
@@ -1304,8 +1304,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1304
1304
  await collectBody(output.body, context);
1305
1305
  return contents;
1306
1306
  };
1307
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1308
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1307
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1308
+ const de_TagResourceCommandError = async (output, context) => {
1309
1309
  const parsedOutput = {
1310
1310
  ...output,
1311
1311
  body: await parseErrorBody(output.body, context),
@@ -1314,19 +1314,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1314
1314
  switch (errorCode) {
1315
1315
  case "AccessDeniedException":
1316
1316
  case "com.amazonaws.amp#AccessDeniedException":
1317
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1317
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1318
1318
  case "InternalServerException":
1319
1319
  case "com.amazonaws.amp#InternalServerException":
1320
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1320
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1321
1321
  case "ResourceNotFoundException":
1322
1322
  case "com.amazonaws.amp#ResourceNotFoundException":
1323
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1323
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1324
1324
  case "ThrottlingException":
1325
1325
  case "com.amazonaws.amp#ThrottlingException":
1326
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1326
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1327
1327
  case "ValidationException":
1328
1328
  case "com.amazonaws.amp#ValidationException":
1329
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1329
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1330
1330
  default:
1331
1331
  const parsedBody = parsedOutput.body;
1332
1332
  (0, smithy_client_1.throwDefaultError)({
@@ -1337,9 +1337,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1337
1337
  });
1338
1338
  }
1339
1339
  };
1340
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1340
+ const de_UntagResourceCommand = async (output, context) => {
1341
1341
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1342
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1342
+ return de_UntagResourceCommandError(output, context);
1343
1343
  }
1344
1344
  const contents = map({
1345
1345
  $metadata: deserializeMetadata(output),
@@ -1347,8 +1347,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1347
1347
  await collectBody(output.body, context);
1348
1348
  return contents;
1349
1349
  };
1350
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1351
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1350
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1351
+ const de_UntagResourceCommandError = async (output, context) => {
1352
1352
  const parsedOutput = {
1353
1353
  ...output,
1354
1354
  body: await parseErrorBody(output.body, context),
@@ -1357,19 +1357,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1357
1357
  switch (errorCode) {
1358
1358
  case "AccessDeniedException":
1359
1359
  case "com.amazonaws.amp#AccessDeniedException":
1360
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1360
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1361
1361
  case "InternalServerException":
1362
1362
  case "com.amazonaws.amp#InternalServerException":
1363
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1363
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1364
1364
  case "ResourceNotFoundException":
1365
1365
  case "com.amazonaws.amp#ResourceNotFoundException":
1366
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1366
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1367
1367
  case "ThrottlingException":
1368
1368
  case "com.amazonaws.amp#ThrottlingException":
1369
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1369
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1370
1370
  case "ValidationException":
1371
1371
  case "com.amazonaws.amp#ValidationException":
1372
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1372
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1373
1373
  default:
1374
1374
  const parsedBody = parsedOutput.body;
1375
1375
  (0, smithy_client_1.throwDefaultError)({
@@ -1380,21 +1380,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1380
1380
  });
1381
1381
  }
1382
1382
  };
1383
- const deserializeAws_restJson1UpdateLoggingConfigurationCommand = async (output, context) => {
1383
+ const de_UpdateLoggingConfigurationCommand = async (output, context) => {
1384
1384
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1385
- return deserializeAws_restJson1UpdateLoggingConfigurationCommandError(output, context);
1385
+ return de_UpdateLoggingConfigurationCommandError(output, context);
1386
1386
  }
1387
1387
  const contents = map({
1388
1388
  $metadata: deserializeMetadata(output),
1389
1389
  });
1390
1390
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1391
1391
  if (data.status != null) {
1392
- contents.status = deserializeAws_restJson1LoggingConfigurationStatus(data.status, context);
1392
+ contents.status = de_LoggingConfigurationStatus(data.status, context);
1393
1393
  }
1394
1394
  return contents;
1395
1395
  };
1396
- exports.deserializeAws_restJson1UpdateLoggingConfigurationCommand = deserializeAws_restJson1UpdateLoggingConfigurationCommand;
1397
- const deserializeAws_restJson1UpdateLoggingConfigurationCommandError = async (output, context) => {
1396
+ exports.de_UpdateLoggingConfigurationCommand = de_UpdateLoggingConfigurationCommand;
1397
+ const de_UpdateLoggingConfigurationCommandError = async (output, context) => {
1398
1398
  const parsedOutput = {
1399
1399
  ...output,
1400
1400
  body: await parseErrorBody(output.body, context),
@@ -1403,19 +1403,19 @@ const deserializeAws_restJson1UpdateLoggingConfigurationCommandError = async (ou
1403
1403
  switch (errorCode) {
1404
1404
  case "AccessDeniedException":
1405
1405
  case "com.amazonaws.amp#AccessDeniedException":
1406
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1406
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1407
1407
  case "ConflictException":
1408
1408
  case "com.amazonaws.amp#ConflictException":
1409
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1409
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1410
1410
  case "InternalServerException":
1411
1411
  case "com.amazonaws.amp#InternalServerException":
1412
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1412
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1413
1413
  case "ResourceNotFoundException":
1414
1414
  case "com.amazonaws.amp#ResourceNotFoundException":
1415
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1415
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1416
1416
  case "ValidationException":
1417
1417
  case "com.amazonaws.amp#ValidationException":
1418
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1418
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1419
1419
  default:
1420
1420
  const parsedBody = parsedOutput.body;
1421
1421
  (0, smithy_client_1.throwDefaultError)({
@@ -1426,9 +1426,9 @@ const deserializeAws_restJson1UpdateLoggingConfigurationCommandError = async (ou
1426
1426
  });
1427
1427
  }
1428
1428
  };
1429
- const deserializeAws_restJson1UpdateWorkspaceAliasCommand = async (output, context) => {
1429
+ const de_UpdateWorkspaceAliasCommand = async (output, context) => {
1430
1430
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1431
- return deserializeAws_restJson1UpdateWorkspaceAliasCommandError(output, context);
1431
+ return de_UpdateWorkspaceAliasCommandError(output, context);
1432
1432
  }
1433
1433
  const contents = map({
1434
1434
  $metadata: deserializeMetadata(output),
@@ -1436,8 +1436,8 @@ const deserializeAws_restJson1UpdateWorkspaceAliasCommand = async (output, conte
1436
1436
  await collectBody(output.body, context);
1437
1437
  return contents;
1438
1438
  };
1439
- exports.deserializeAws_restJson1UpdateWorkspaceAliasCommand = deserializeAws_restJson1UpdateWorkspaceAliasCommand;
1440
- const deserializeAws_restJson1UpdateWorkspaceAliasCommandError = async (output, context) => {
1439
+ exports.de_UpdateWorkspaceAliasCommand = de_UpdateWorkspaceAliasCommand;
1440
+ const de_UpdateWorkspaceAliasCommandError = async (output, context) => {
1441
1441
  const parsedOutput = {
1442
1442
  ...output,
1443
1443
  body: await parseErrorBody(output.body, context),
@@ -1446,25 +1446,25 @@ const deserializeAws_restJson1UpdateWorkspaceAliasCommandError = async (output,
1446
1446
  switch (errorCode) {
1447
1447
  case "AccessDeniedException":
1448
1448
  case "com.amazonaws.amp#AccessDeniedException":
1449
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1449
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1450
1450
  case "ConflictException":
1451
1451
  case "com.amazonaws.amp#ConflictException":
1452
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1452
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1453
1453
  case "InternalServerException":
1454
1454
  case "com.amazonaws.amp#InternalServerException":
1455
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1455
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1456
1456
  case "ResourceNotFoundException":
1457
1457
  case "com.amazonaws.amp#ResourceNotFoundException":
1458
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1458
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1459
1459
  case "ServiceQuotaExceededException":
1460
1460
  case "com.amazonaws.amp#ServiceQuotaExceededException":
1461
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1461
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1462
1462
  case "ThrottlingException":
1463
1463
  case "com.amazonaws.amp#ThrottlingException":
1464
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1464
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1465
1465
  case "ValidationException":
1466
1466
  case "com.amazonaws.amp#ValidationException":
1467
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1467
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1468
1468
  default:
1469
1469
  const parsedBody = parsedOutput.body;
1470
1470
  (0, smithy_client_1.throwDefaultError)({
@@ -1476,7 +1476,7 @@ const deserializeAws_restJson1UpdateWorkspaceAliasCommandError = async (output,
1476
1476
  }
1477
1477
  };
1478
1478
  const map = smithy_client_1.map;
1479
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1479
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1480
1480
  const contents = map({});
1481
1481
  const data = parsedOutput.body;
1482
1482
  if (data.message != null) {
@@ -1488,7 +1488,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1488
1488
  });
1489
1489
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1490
1490
  };
1491
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1491
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1492
1492
  const contents = map({});
1493
1493
  const data = parsedOutput.body;
1494
1494
  if (data.message != null) {
@@ -1506,7 +1506,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1506
1506
  });
1507
1507
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1508
1508
  };
1509
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1509
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1510
1510
  const contents = map({
1511
1511
  retryAfterSeconds: [
1512
1512
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1523,7 +1523,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1523
1523
  });
1524
1524
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1525
1525
  };
1526
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1526
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1527
1527
  const contents = map({});
1528
1528
  const data = parsedOutput.body;
1529
1529
  if (data.message != null) {
@@ -1541,7 +1541,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1541
1541
  });
1542
1542
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1543
1543
  };
1544
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1544
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1545
1545
  const contents = map({});
1546
1546
  const data = parsedOutput.body;
1547
1547
  if (data.message != null) {
@@ -1565,7 +1565,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1565
1565
  });
1566
1566
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1567
1567
  };
1568
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1568
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1569
1569
  const contents = map({
1570
1570
  retryAfterSeconds: [
1571
1571
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1588,11 +1588,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1588
1588
  });
1589
1589
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1590
1590
  };
1591
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1591
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1592
1592
  const contents = map({});
1593
1593
  const data = parsedOutput.body;
1594
1594
  if (data.fieldList != null) {
1595
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
1595
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
1596
1596
  }
1597
1597
  if (data.message != null) {
1598
1598
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -1606,7 +1606,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1606
1606
  });
1607
1607
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1608
1608
  };
1609
- const serializeAws_restJson1TagMap = (input, context) => {
1609
+ const se_TagMap = (input, context) => {
1610
1610
  return Object.entries(input).reduce((acc, [key, value]) => {
1611
1611
  if (value === null) {
1612
1612
  return acc;
@@ -1615,74 +1615,74 @@ const serializeAws_restJson1TagMap = (input, context) => {
1615
1615
  return acc;
1616
1616
  }, {});
1617
1617
  };
1618
- const deserializeAws_restJson1AlertManagerDefinitionDescription = (output, context) => {
1618
+ const de_AlertManagerDefinitionDescription = (output, context) => {
1619
1619
  return {
1620
1620
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1621
1621
  data: output.data != null ? context.base64Decoder(output.data) : undefined,
1622
1622
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
1623
- status: output.status != null ? deserializeAws_restJson1AlertManagerDefinitionStatus(output.status, context) : undefined,
1623
+ status: output.status != null ? de_AlertManagerDefinitionStatus(output.status, context) : undefined,
1624
1624
  };
1625
1625
  };
1626
- const deserializeAws_restJson1AlertManagerDefinitionStatus = (output, context) => {
1626
+ const de_AlertManagerDefinitionStatus = (output, context) => {
1627
1627
  return {
1628
1628
  statusCode: (0, smithy_client_1.expectString)(output.statusCode),
1629
1629
  statusReason: (0, smithy_client_1.expectString)(output.statusReason),
1630
1630
  };
1631
1631
  };
1632
- const deserializeAws_restJson1LoggingConfigurationMetadata = (output, context) => {
1632
+ const de_LoggingConfigurationMetadata = (output, context) => {
1633
1633
  return {
1634
1634
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1635
1635
  logGroupArn: (0, smithy_client_1.expectString)(output.logGroupArn),
1636
1636
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
1637
- status: output.status != null ? deserializeAws_restJson1LoggingConfigurationStatus(output.status, context) : undefined,
1637
+ status: output.status != null ? de_LoggingConfigurationStatus(output.status, context) : undefined,
1638
1638
  workspace: (0, smithy_client_1.expectString)(output.workspace),
1639
1639
  };
1640
1640
  };
1641
- const deserializeAws_restJson1LoggingConfigurationStatus = (output, context) => {
1641
+ const de_LoggingConfigurationStatus = (output, context) => {
1642
1642
  return {
1643
1643
  statusCode: (0, smithy_client_1.expectString)(output.statusCode),
1644
1644
  statusReason: (0, smithy_client_1.expectString)(output.statusReason),
1645
1645
  };
1646
1646
  };
1647
- const deserializeAws_restJson1RuleGroupsNamespaceDescription = (output, context) => {
1647
+ const de_RuleGroupsNamespaceDescription = (output, context) => {
1648
1648
  return {
1649
1649
  arn: (0, smithy_client_1.expectString)(output.arn),
1650
1650
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1651
1651
  data: output.data != null ? context.base64Decoder(output.data) : undefined,
1652
1652
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
1653
1653
  name: (0, smithy_client_1.expectString)(output.name),
1654
- status: output.status != null ? deserializeAws_restJson1RuleGroupsNamespaceStatus(output.status, context) : undefined,
1655
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1654
+ status: output.status != null ? de_RuleGroupsNamespaceStatus(output.status, context) : undefined,
1655
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1656
1656
  };
1657
1657
  };
1658
- const deserializeAws_restJson1RuleGroupsNamespaceStatus = (output, context) => {
1658
+ const de_RuleGroupsNamespaceStatus = (output, context) => {
1659
1659
  return {
1660
1660
  statusCode: (0, smithy_client_1.expectString)(output.statusCode),
1661
1661
  statusReason: (0, smithy_client_1.expectString)(output.statusReason),
1662
1662
  };
1663
1663
  };
1664
- const deserializeAws_restJson1RuleGroupsNamespaceSummary = (output, context) => {
1664
+ const de_RuleGroupsNamespaceSummary = (output, context) => {
1665
1665
  return {
1666
1666
  arn: (0, smithy_client_1.expectString)(output.arn),
1667
1667
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1668
1668
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
1669
1669
  name: (0, smithy_client_1.expectString)(output.name),
1670
- status: output.status != null ? deserializeAws_restJson1RuleGroupsNamespaceStatus(output.status, context) : undefined,
1671
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1670
+ status: output.status != null ? de_RuleGroupsNamespaceStatus(output.status, context) : undefined,
1671
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1672
1672
  };
1673
1673
  };
1674
- const deserializeAws_restJson1RuleGroupsNamespaceSummaryList = (output, context) => {
1674
+ const de_RuleGroupsNamespaceSummaryList = (output, context) => {
1675
1675
  const retVal = (output || [])
1676
1676
  .filter((e) => e != null)
1677
1677
  .map((entry) => {
1678
1678
  if (entry === null) {
1679
1679
  return null;
1680
1680
  }
1681
- return deserializeAws_restJson1RuleGroupsNamespaceSummary(entry, context);
1681
+ return de_RuleGroupsNamespaceSummary(entry, context);
1682
1682
  });
1683
1683
  return retVal;
1684
1684
  };
1685
- const deserializeAws_restJson1TagMap = (output, context) => {
1685
+ const de_TagMap = (output, context) => {
1686
1686
  return Object.entries(output).reduce((acc, [key, value]) => {
1687
1687
  if (value === null) {
1688
1688
  return acc;
@@ -1691,57 +1691,57 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1691
1691
  return acc;
1692
1692
  }, {});
1693
1693
  };
1694
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
1694
+ const de_ValidationExceptionField = (output, context) => {
1695
1695
  return {
1696
1696
  message: (0, smithy_client_1.expectString)(output.message),
1697
1697
  name: (0, smithy_client_1.expectString)(output.name),
1698
1698
  };
1699
1699
  };
1700
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
1700
+ const de_ValidationExceptionFieldList = (output, context) => {
1701
1701
  const retVal = (output || [])
1702
1702
  .filter((e) => e != null)
1703
1703
  .map((entry) => {
1704
1704
  if (entry === null) {
1705
1705
  return null;
1706
1706
  }
1707
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
1707
+ return de_ValidationExceptionField(entry, context);
1708
1708
  });
1709
1709
  return retVal;
1710
1710
  };
1711
- const deserializeAws_restJson1WorkspaceDescription = (output, context) => {
1711
+ const de_WorkspaceDescription = (output, context) => {
1712
1712
  return {
1713
1713
  alias: (0, smithy_client_1.expectString)(output.alias),
1714
1714
  arn: (0, smithy_client_1.expectString)(output.arn),
1715
1715
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1716
1716
  prometheusEndpoint: (0, smithy_client_1.expectString)(output.prometheusEndpoint),
1717
- status: output.status != null ? deserializeAws_restJson1WorkspaceStatus(output.status, context) : undefined,
1718
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1717
+ status: output.status != null ? de_WorkspaceStatus(output.status, context) : undefined,
1718
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1719
1719
  workspaceId: (0, smithy_client_1.expectString)(output.workspaceId),
1720
1720
  };
1721
1721
  };
1722
- const deserializeAws_restJson1WorkspaceStatus = (output, context) => {
1722
+ const de_WorkspaceStatus = (output, context) => {
1723
1723
  return {
1724
1724
  statusCode: (0, smithy_client_1.expectString)(output.statusCode),
1725
1725
  };
1726
1726
  };
1727
- const deserializeAws_restJson1WorkspaceSummary = (output, context) => {
1727
+ const de_WorkspaceSummary = (output, context) => {
1728
1728
  return {
1729
1729
  alias: (0, smithy_client_1.expectString)(output.alias),
1730
1730
  arn: (0, smithy_client_1.expectString)(output.arn),
1731
1731
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1732
- status: output.status != null ? deserializeAws_restJson1WorkspaceStatus(output.status, context) : undefined,
1733
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1732
+ status: output.status != null ? de_WorkspaceStatus(output.status, context) : undefined,
1733
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1734
1734
  workspaceId: (0, smithy_client_1.expectString)(output.workspaceId),
1735
1735
  };
1736
1736
  };
1737
- const deserializeAws_restJson1WorkspaceSummaryList = (output, context) => {
1737
+ const de_WorkspaceSummaryList = (output, context) => {
1738
1738
  const retVal = (output || [])
1739
1739
  .filter((e) => e != null)
1740
1740
  .map((entry) => {
1741
1741
  if (entry === null) {
1742
1742
  return null;
1743
1743
  }
1744
- return deserializeAws_restJson1WorkspaceSummary(entry, context);
1744
+ return de_WorkspaceSummary(entry, context);
1745
1745
  });
1746
1746
  return retVal;
1747
1747
  };