@aws-sdk/client-ssm-incidents 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 (63) hide show
  1. package/dist-cjs/commands/CreateReplicationSetCommand.js +2 -2
  2. package/dist-cjs/commands/CreateResponsePlanCommand.js +2 -2
  3. package/dist-cjs/commands/CreateTimelineEventCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteIncidentRecordCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteReplicationSetCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteResponsePlanCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteTimelineEventCommand.js +2 -2
  9. package/dist-cjs/commands/GetIncidentRecordCommand.js +2 -2
  10. package/dist-cjs/commands/GetReplicationSetCommand.js +2 -2
  11. package/dist-cjs/commands/GetResourcePoliciesCommand.js +2 -2
  12. package/dist-cjs/commands/GetResponsePlanCommand.js +2 -2
  13. package/dist-cjs/commands/GetTimelineEventCommand.js +2 -2
  14. package/dist-cjs/commands/ListIncidentRecordsCommand.js +2 -2
  15. package/dist-cjs/commands/ListRelatedItemsCommand.js +2 -2
  16. package/dist-cjs/commands/ListReplicationSetsCommand.js +2 -2
  17. package/dist-cjs/commands/ListResponsePlansCommand.js +2 -2
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  19. package/dist-cjs/commands/ListTimelineEventsCommand.js +2 -2
  20. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
  21. package/dist-cjs/commands/StartIncidentCommand.js +2 -2
  22. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  23. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateIncidentRecordCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateRelatedItemsCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateReplicationSetCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateResponsePlanCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateTimelineEventCommand.js +2 -2
  30. package/dist-cjs/protocols/Aws_restJson1.js +519 -555
  31. package/dist-es/commands/CreateReplicationSetCommand.js +3 -3
  32. package/dist-es/commands/CreateResponsePlanCommand.js +3 -3
  33. package/dist-es/commands/CreateTimelineEventCommand.js +3 -3
  34. package/dist-es/commands/DeleteIncidentRecordCommand.js +3 -3
  35. package/dist-es/commands/DeleteReplicationSetCommand.js +3 -3
  36. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  37. package/dist-es/commands/DeleteResponsePlanCommand.js +3 -3
  38. package/dist-es/commands/DeleteTimelineEventCommand.js +3 -3
  39. package/dist-es/commands/GetIncidentRecordCommand.js +3 -3
  40. package/dist-es/commands/GetReplicationSetCommand.js +3 -3
  41. package/dist-es/commands/GetResourcePoliciesCommand.js +3 -3
  42. package/dist-es/commands/GetResponsePlanCommand.js +3 -3
  43. package/dist-es/commands/GetTimelineEventCommand.js +3 -3
  44. package/dist-es/commands/ListIncidentRecordsCommand.js +3 -3
  45. package/dist-es/commands/ListRelatedItemsCommand.js +3 -3
  46. package/dist-es/commands/ListReplicationSetsCommand.js +3 -3
  47. package/dist-es/commands/ListResponsePlansCommand.js +3 -3
  48. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  49. package/dist-es/commands/ListTimelineEventsCommand.js +3 -3
  50. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  51. package/dist-es/commands/StartIncidentCommand.js +3 -3
  52. package/dist-es/commands/TagResourceCommand.js +3 -3
  53. package/dist-es/commands/UntagResourceCommand.js +3 -3
  54. package/dist-es/commands/UpdateDeletionProtectionCommand.js +3 -3
  55. package/dist-es/commands/UpdateIncidentRecordCommand.js +3 -3
  56. package/dist-es/commands/UpdateRelatedItemsCommand.js +3 -3
  57. package/dist-es/commands/UpdateReplicationSetCommand.js +3 -3
  58. package/dist-es/commands/UpdateResponsePlanCommand.js +3 -3
  59. package/dist-es/commands/UpdateTimelineEventCommand.js +3 -3
  60. package/dist-es/protocols/Aws_restJson1.js +459 -495
  61. package/dist-types/protocols/Aws_restJson1.d.ts +232 -58
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +58 -58
  63. package/package.json +30 -30
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1StartIncidentCommand = exports.deserializeAws_restJson1PutResourcePolicyCommand = exports.deserializeAws_restJson1ListTimelineEventsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListResponsePlansCommand = exports.deserializeAws_restJson1ListReplicationSetsCommand = exports.deserializeAws_restJson1ListRelatedItemsCommand = exports.deserializeAws_restJson1ListIncidentRecordsCommand = exports.deserializeAws_restJson1GetTimelineEventCommand = exports.deserializeAws_restJson1GetResponsePlanCommand = exports.deserializeAws_restJson1GetResourcePoliciesCommand = exports.deserializeAws_restJson1GetReplicationSetCommand = exports.deserializeAws_restJson1GetIncidentRecordCommand = exports.deserializeAws_restJson1DeleteTimelineEventCommand = exports.deserializeAws_restJson1DeleteResponsePlanCommand = exports.deserializeAws_restJson1DeleteResourcePolicyCommand = exports.deserializeAws_restJson1DeleteReplicationSetCommand = exports.deserializeAws_restJson1DeleteIncidentRecordCommand = exports.deserializeAws_restJson1CreateTimelineEventCommand = exports.deserializeAws_restJson1CreateResponsePlanCommand = exports.deserializeAws_restJson1CreateReplicationSetCommand = exports.serializeAws_restJson1UpdateTimelineEventCommand = exports.serializeAws_restJson1UpdateResponsePlanCommand = exports.serializeAws_restJson1UpdateReplicationSetCommand = exports.serializeAws_restJson1UpdateRelatedItemsCommand = exports.serializeAws_restJson1UpdateIncidentRecordCommand = exports.serializeAws_restJson1UpdateDeletionProtectionCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartIncidentCommand = exports.serializeAws_restJson1PutResourcePolicyCommand = exports.serializeAws_restJson1ListTimelineEventsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListResponsePlansCommand = exports.serializeAws_restJson1ListReplicationSetsCommand = exports.serializeAws_restJson1ListRelatedItemsCommand = exports.serializeAws_restJson1ListIncidentRecordsCommand = exports.serializeAws_restJson1GetTimelineEventCommand = exports.serializeAws_restJson1GetResponsePlanCommand = exports.serializeAws_restJson1GetResourcePoliciesCommand = exports.serializeAws_restJson1GetReplicationSetCommand = exports.serializeAws_restJson1GetIncidentRecordCommand = exports.serializeAws_restJson1DeleteTimelineEventCommand = exports.serializeAws_restJson1DeleteResponsePlanCommand = exports.serializeAws_restJson1DeleteResourcePolicyCommand = exports.serializeAws_restJson1DeleteReplicationSetCommand = exports.serializeAws_restJson1DeleteIncidentRecordCommand = exports.serializeAws_restJson1CreateTimelineEventCommand = exports.serializeAws_restJson1CreateResponsePlanCommand = exports.serializeAws_restJson1CreateReplicationSetCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateTimelineEventCommand = exports.deserializeAws_restJson1UpdateResponsePlanCommand = exports.deserializeAws_restJson1UpdateReplicationSetCommand = exports.deserializeAws_restJson1UpdateRelatedItemsCommand = exports.deserializeAws_restJson1UpdateIncidentRecordCommand = exports.deserializeAws_restJson1UpdateDeletionProtectionCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = void 0;
3
+ exports.de_StartIncidentCommand = exports.de_PutResourcePolicyCommand = exports.de_ListTimelineEventsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResponsePlansCommand = exports.de_ListReplicationSetsCommand = exports.de_ListRelatedItemsCommand = exports.de_ListIncidentRecordsCommand = exports.de_GetTimelineEventCommand = exports.de_GetResponsePlanCommand = exports.de_GetResourcePoliciesCommand = exports.de_GetReplicationSetCommand = exports.de_GetIncidentRecordCommand = exports.de_DeleteTimelineEventCommand = exports.de_DeleteResponsePlanCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteReplicationSetCommand = exports.de_DeleteIncidentRecordCommand = exports.de_CreateTimelineEventCommand = exports.de_CreateResponsePlanCommand = exports.de_CreateReplicationSetCommand = exports.se_UpdateTimelineEventCommand = exports.se_UpdateResponsePlanCommand = exports.se_UpdateReplicationSetCommand = exports.se_UpdateRelatedItemsCommand = exports.se_UpdateIncidentRecordCommand = exports.se_UpdateDeletionProtectionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartIncidentCommand = exports.se_PutResourcePolicyCommand = exports.se_ListTimelineEventsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResponsePlansCommand = exports.se_ListReplicationSetsCommand = exports.se_ListRelatedItemsCommand = exports.se_ListIncidentRecordsCommand = exports.se_GetTimelineEventCommand = exports.se_GetResponsePlanCommand = exports.se_GetResourcePoliciesCommand = exports.se_GetReplicationSetCommand = exports.se_GetIncidentRecordCommand = exports.se_DeleteTimelineEventCommand = exports.se_DeleteResponsePlanCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteReplicationSetCommand = exports.se_DeleteIncidentRecordCommand = exports.se_CreateTimelineEventCommand = exports.se_CreateResponsePlanCommand = exports.se_CreateReplicationSetCommand = void 0;
4
+ exports.de_UpdateTimelineEventCommand = exports.de_UpdateResponsePlanCommand = exports.de_UpdateReplicationSetCommand = exports.de_UpdateRelatedItemsCommand = exports.de_UpdateIncidentRecordCommand = exports.de_UpdateDeletionProtectionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const SSMIncidentsServiceException_1 = require("../models/SSMIncidentsServiceException");
10
- const serializeAws_restJson1CreateReplicationSetCommand = async (input, context) => {
10
+ const se_CreateReplicationSetCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -16,8 +16,8 @@ const serializeAws_restJson1CreateReplicationSetCommand = async (input, context)
16
16
  let body;
17
17
  body = JSON.stringify({
18
18
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
19
- ...(input.regions != null && { regions: serializeAws_restJson1RegionMapInput(input.regions, context) }),
20
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
19
+ ...(input.regions != null && { regions: se_RegionMapInput(input.regions, context) }),
20
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
21
21
  });
22
22
  return new protocol_http_1.HttpRequest({
23
23
  protocol,
@@ -29,8 +29,8 @@ const serializeAws_restJson1CreateReplicationSetCommand = async (input, context)
29
29
  body,
30
30
  });
31
31
  };
32
- exports.serializeAws_restJson1CreateReplicationSetCommand = serializeAws_restJson1CreateReplicationSetCommand;
33
- const serializeAws_restJson1CreateResponsePlanCommand = async (input, context) => {
32
+ exports.se_CreateReplicationSetCommand = se_CreateReplicationSetCommand;
33
+ const se_CreateResponsePlanCommand = 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",
@@ -38,19 +38,15 @@ const serializeAws_restJson1CreateResponsePlanCommand = async (input, context) =
38
38
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/createResponsePlan";
39
39
  let body;
40
40
  body = JSON.stringify({
41
- ...(input.actions != null && { actions: serializeAws_restJson1ActionsList(input.actions, context) }),
42
- ...(input.chatChannel != null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
41
+ ...(input.actions != null && { actions: se_ActionsList(input.actions, context) }),
42
+ ...(input.chatChannel != null && { chatChannel: se_ChatChannel(input.chatChannel, context) }),
43
43
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
44
44
  ...(input.displayName != null && { displayName: input.displayName }),
45
- ...(input.engagements != null && { engagements: serializeAws_restJson1EngagementSet(input.engagements, context) }),
46
- ...(input.incidentTemplate != null && {
47
- incidentTemplate: serializeAws_restJson1IncidentTemplate(input.incidentTemplate, context),
48
- }),
49
- ...(input.integrations != null && {
50
- integrations: serializeAws_restJson1Integrations(input.integrations, context),
51
- }),
45
+ ...(input.engagements != null && { engagements: se_EngagementSet(input.engagements, context) }),
46
+ ...(input.incidentTemplate != null && { incidentTemplate: se_IncidentTemplate(input.incidentTemplate, context) }),
47
+ ...(input.integrations != null && { integrations: se_Integrations(input.integrations, context) }),
52
48
  ...(input.name != null && { name: input.name }),
53
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
49
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
54
50
  });
55
51
  return new protocol_http_1.HttpRequest({
56
52
  protocol,
@@ -62,8 +58,8 @@ const serializeAws_restJson1CreateResponsePlanCommand = async (input, context) =
62
58
  body,
63
59
  });
64
60
  };
65
- exports.serializeAws_restJson1CreateResponsePlanCommand = serializeAws_restJson1CreateResponsePlanCommand;
66
- const serializeAws_restJson1CreateTimelineEventCommand = async (input, context) => {
61
+ exports.se_CreateResponsePlanCommand = se_CreateResponsePlanCommand;
62
+ const se_CreateTimelineEventCommand = async (input, context) => {
67
63
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
68
64
  const headers = {
69
65
  "content-type": "application/json",
@@ -73,9 +69,7 @@ const serializeAws_restJson1CreateTimelineEventCommand = async (input, context)
73
69
  body = JSON.stringify({
74
70
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
75
71
  ...(input.eventData != null && { eventData: input.eventData }),
76
- ...(input.eventReferences != null && {
77
- eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
78
- }),
72
+ ...(input.eventReferences != null && { eventReferences: se_EventReferenceList(input.eventReferences, context) }),
79
73
  ...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
80
74
  ...(input.eventType != null && { eventType: input.eventType }),
81
75
  ...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
@@ -90,8 +84,8 @@ const serializeAws_restJson1CreateTimelineEventCommand = async (input, context)
90
84
  body,
91
85
  });
92
86
  };
93
- exports.serializeAws_restJson1CreateTimelineEventCommand = serializeAws_restJson1CreateTimelineEventCommand;
94
- const serializeAws_restJson1DeleteIncidentRecordCommand = async (input, context) => {
87
+ exports.se_CreateTimelineEventCommand = se_CreateTimelineEventCommand;
88
+ const se_DeleteIncidentRecordCommand = async (input, context) => {
95
89
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
96
90
  const headers = {
97
91
  "content-type": "application/json",
@@ -111,8 +105,8 @@ const serializeAws_restJson1DeleteIncidentRecordCommand = async (input, context)
111
105
  body,
112
106
  });
113
107
  };
114
- exports.serializeAws_restJson1DeleteIncidentRecordCommand = serializeAws_restJson1DeleteIncidentRecordCommand;
115
- const serializeAws_restJson1DeleteReplicationSetCommand = async (input, context) => {
108
+ exports.se_DeleteIncidentRecordCommand = se_DeleteIncidentRecordCommand;
109
+ const se_DeleteReplicationSetCommand = async (input, context) => {
116
110
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
117
111
  const headers = {};
118
112
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deleteReplicationSet";
@@ -131,8 +125,8 @@ const serializeAws_restJson1DeleteReplicationSetCommand = async (input, context)
131
125
  body,
132
126
  });
133
127
  };
134
- exports.serializeAws_restJson1DeleteReplicationSetCommand = serializeAws_restJson1DeleteReplicationSetCommand;
135
- const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context) => {
128
+ exports.se_DeleteReplicationSetCommand = se_DeleteReplicationSetCommand;
129
+ const se_DeleteResourcePolicyCommand = async (input, context) => {
136
130
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
137
131
  const headers = {
138
132
  "content-type": "application/json",
@@ -153,8 +147,8 @@ const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context)
153
147
  body,
154
148
  });
155
149
  };
156
- exports.serializeAws_restJson1DeleteResourcePolicyCommand = serializeAws_restJson1DeleteResourcePolicyCommand;
157
- const serializeAws_restJson1DeleteResponsePlanCommand = async (input, context) => {
150
+ exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
151
+ const se_DeleteResponsePlanCommand = async (input, context) => {
158
152
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
159
153
  const headers = {
160
154
  "content-type": "application/json",
@@ -174,8 +168,8 @@ const serializeAws_restJson1DeleteResponsePlanCommand = async (input, context) =
174
168
  body,
175
169
  });
176
170
  };
177
- exports.serializeAws_restJson1DeleteResponsePlanCommand = serializeAws_restJson1DeleteResponsePlanCommand;
178
- const serializeAws_restJson1DeleteTimelineEventCommand = async (input, context) => {
171
+ exports.se_DeleteResponsePlanCommand = se_DeleteResponsePlanCommand;
172
+ const se_DeleteTimelineEventCommand = async (input, context) => {
179
173
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
180
174
  const headers = {
181
175
  "content-type": "application/json",
@@ -196,8 +190,8 @@ const serializeAws_restJson1DeleteTimelineEventCommand = async (input, context)
196
190
  body,
197
191
  });
198
192
  };
199
- exports.serializeAws_restJson1DeleteTimelineEventCommand = serializeAws_restJson1DeleteTimelineEventCommand;
200
- const serializeAws_restJson1GetIncidentRecordCommand = async (input, context) => {
193
+ exports.se_DeleteTimelineEventCommand = se_DeleteTimelineEventCommand;
194
+ const se_GetIncidentRecordCommand = async (input, context) => {
201
195
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
202
196
  const headers = {};
203
197
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getIncidentRecord";
@@ -216,8 +210,8 @@ const serializeAws_restJson1GetIncidentRecordCommand = async (input, context) =>
216
210
  body,
217
211
  });
218
212
  };
219
- exports.serializeAws_restJson1GetIncidentRecordCommand = serializeAws_restJson1GetIncidentRecordCommand;
220
- const serializeAws_restJson1GetReplicationSetCommand = async (input, context) => {
213
+ exports.se_GetIncidentRecordCommand = se_GetIncidentRecordCommand;
214
+ const se_GetReplicationSetCommand = async (input, context) => {
221
215
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
222
216
  const headers = {};
223
217
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getReplicationSet";
@@ -236,8 +230,8 @@ const serializeAws_restJson1GetReplicationSetCommand = async (input, context) =>
236
230
  body,
237
231
  });
238
232
  };
239
- exports.serializeAws_restJson1GetReplicationSetCommand = serializeAws_restJson1GetReplicationSetCommand;
240
- const serializeAws_restJson1GetResourcePoliciesCommand = async (input, context) => {
233
+ exports.se_GetReplicationSetCommand = se_GetReplicationSetCommand;
234
+ const se_GetResourcePoliciesCommand = async (input, context) => {
241
235
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
236
  const headers = {
243
237
  "content-type": "application/json",
@@ -262,8 +256,8 @@ const serializeAws_restJson1GetResourcePoliciesCommand = async (input, context)
262
256
  body,
263
257
  });
264
258
  };
265
- exports.serializeAws_restJson1GetResourcePoliciesCommand = serializeAws_restJson1GetResourcePoliciesCommand;
266
- const serializeAws_restJson1GetResponsePlanCommand = async (input, context) => {
259
+ exports.se_GetResourcePoliciesCommand = se_GetResourcePoliciesCommand;
260
+ const se_GetResponsePlanCommand = async (input, context) => {
267
261
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
268
262
  const headers = {};
269
263
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getResponsePlan";
@@ -282,8 +276,8 @@ const serializeAws_restJson1GetResponsePlanCommand = async (input, context) => {
282
276
  body,
283
277
  });
284
278
  };
285
- exports.serializeAws_restJson1GetResponsePlanCommand = serializeAws_restJson1GetResponsePlanCommand;
286
- const serializeAws_restJson1GetTimelineEventCommand = async (input, context) => {
279
+ exports.se_GetResponsePlanCommand = se_GetResponsePlanCommand;
280
+ const se_GetTimelineEventCommand = async (input, context) => {
287
281
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
288
282
  const headers = {};
289
283
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getTimelineEvent";
@@ -303,8 +297,8 @@ const serializeAws_restJson1GetTimelineEventCommand = async (input, context) =>
303
297
  body,
304
298
  });
305
299
  };
306
- exports.serializeAws_restJson1GetTimelineEventCommand = serializeAws_restJson1GetTimelineEventCommand;
307
- const serializeAws_restJson1ListIncidentRecordsCommand = async (input, context) => {
300
+ exports.se_GetTimelineEventCommand = se_GetTimelineEventCommand;
301
+ const se_ListIncidentRecordsCommand = async (input, context) => {
308
302
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
309
303
  const headers = {
310
304
  "content-type": "application/json",
@@ -312,7 +306,7 @@ const serializeAws_restJson1ListIncidentRecordsCommand = async (input, context)
312
306
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/listIncidentRecords";
313
307
  let body;
314
308
  body = JSON.stringify({
315
- ...(input.filters != null && { filters: serializeAws_restJson1FilterList(input.filters, context) }),
309
+ ...(input.filters != null && { filters: se_FilterList(input.filters, context) }),
316
310
  ...(input.maxResults != null && { maxResults: input.maxResults }),
317
311
  ...(input.nextToken != null && { nextToken: input.nextToken }),
318
312
  });
@@ -326,8 +320,8 @@ const serializeAws_restJson1ListIncidentRecordsCommand = async (input, context)
326
320
  body,
327
321
  });
328
322
  };
329
- exports.serializeAws_restJson1ListIncidentRecordsCommand = serializeAws_restJson1ListIncidentRecordsCommand;
330
- const serializeAws_restJson1ListRelatedItemsCommand = async (input, context) => {
323
+ exports.se_ListIncidentRecordsCommand = se_ListIncidentRecordsCommand;
324
+ const se_ListRelatedItemsCommand = async (input, context) => {
331
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
332
326
  const headers = {
333
327
  "content-type": "application/json",
@@ -349,8 +343,8 @@ const serializeAws_restJson1ListRelatedItemsCommand = async (input, context) =>
349
343
  body,
350
344
  });
351
345
  };
352
- exports.serializeAws_restJson1ListRelatedItemsCommand = serializeAws_restJson1ListRelatedItemsCommand;
353
- const serializeAws_restJson1ListReplicationSetsCommand = async (input, context) => {
346
+ exports.se_ListRelatedItemsCommand = se_ListRelatedItemsCommand;
347
+ const se_ListReplicationSetsCommand = async (input, context) => {
354
348
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
355
349
  const headers = {
356
350
  "content-type": "application/json",
@@ -371,8 +365,8 @@ const serializeAws_restJson1ListReplicationSetsCommand = async (input, context)
371
365
  body,
372
366
  });
373
367
  };
374
- exports.serializeAws_restJson1ListReplicationSetsCommand = serializeAws_restJson1ListReplicationSetsCommand;
375
- const serializeAws_restJson1ListResponsePlansCommand = async (input, context) => {
368
+ exports.se_ListReplicationSetsCommand = se_ListReplicationSetsCommand;
369
+ const se_ListResponsePlansCommand = async (input, context) => {
376
370
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
371
  const headers = {
378
372
  "content-type": "application/json",
@@ -393,8 +387,8 @@ const serializeAws_restJson1ListResponsePlansCommand = async (input, context) =>
393
387
  body,
394
388
  });
395
389
  };
396
- exports.serializeAws_restJson1ListResponsePlansCommand = serializeAws_restJson1ListResponsePlansCommand;
397
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
390
+ exports.se_ListResponsePlansCommand = se_ListResponsePlansCommand;
391
+ const se_ListTagsForResourceCommand = async (input, context) => {
398
392
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
399
393
  const headers = {};
400
394
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -410,8 +404,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
410
404
  body,
411
405
  });
412
406
  };
413
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
414
- const serializeAws_restJson1ListTimelineEventsCommand = async (input, context) => {
407
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
408
+ const se_ListTimelineEventsCommand = async (input, context) => {
415
409
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
416
410
  const headers = {
417
411
  "content-type": "application/json",
@@ -419,7 +413,7 @@ const serializeAws_restJson1ListTimelineEventsCommand = async (input, context) =
419
413
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/listTimelineEvents";
420
414
  let body;
421
415
  body = JSON.stringify({
422
- ...(input.filters != null && { filters: serializeAws_restJson1FilterList(input.filters, context) }),
416
+ ...(input.filters != null && { filters: se_FilterList(input.filters, context) }),
423
417
  ...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
424
418
  ...(input.maxResults != null && { maxResults: input.maxResults }),
425
419
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -436,8 +430,8 @@ const serializeAws_restJson1ListTimelineEventsCommand = async (input, context) =
436
430
  body,
437
431
  });
438
432
  };
439
- exports.serializeAws_restJson1ListTimelineEventsCommand = serializeAws_restJson1ListTimelineEventsCommand;
440
- const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) => {
433
+ exports.se_ListTimelineEventsCommand = se_ListTimelineEventsCommand;
434
+ const se_PutResourcePolicyCommand = async (input, context) => {
441
435
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
442
436
  const headers = {
443
437
  "content-type": "application/json",
@@ -458,8 +452,8 @@ const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) =>
458
452
  body,
459
453
  });
460
454
  };
461
- exports.serializeAws_restJson1PutResourcePolicyCommand = serializeAws_restJson1PutResourcePolicyCommand;
462
- const serializeAws_restJson1StartIncidentCommand = async (input, context) => {
455
+ exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
456
+ const se_StartIncidentCommand = async (input, context) => {
463
457
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
464
458
  const headers = {
465
459
  "content-type": "application/json",
@@ -469,14 +463,10 @@ const serializeAws_restJson1StartIncidentCommand = async (input, context) => {
469
463
  body = JSON.stringify({
470
464
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
471
465
  ...(input.impact != null && { impact: input.impact }),
472
- ...(input.relatedItems != null && {
473
- relatedItems: serializeAws_restJson1RelatedItemList(input.relatedItems, context),
474
- }),
466
+ ...(input.relatedItems != null && { relatedItems: se_RelatedItemList(input.relatedItems, context) }),
475
467
  ...(input.responsePlanArn != null && { responsePlanArn: input.responsePlanArn }),
476
468
  ...(input.title != null && { title: input.title }),
477
- ...(input.triggerDetails != null && {
478
- triggerDetails: serializeAws_restJson1TriggerDetails(input.triggerDetails, context),
479
- }),
469
+ ...(input.triggerDetails != null && { triggerDetails: se_TriggerDetails(input.triggerDetails, context) }),
480
470
  });
481
471
  return new protocol_http_1.HttpRequest({
482
472
  protocol,
@@ -488,8 +478,8 @@ const serializeAws_restJson1StartIncidentCommand = async (input, context) => {
488
478
  body,
489
479
  });
490
480
  };
491
- exports.serializeAws_restJson1StartIncidentCommand = serializeAws_restJson1StartIncidentCommand;
492
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
481
+ exports.se_StartIncidentCommand = se_StartIncidentCommand;
482
+ const se_TagResourceCommand = async (input, context) => {
493
483
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
494
484
  const headers = {
495
485
  "content-type": "application/json",
@@ -498,7 +488,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
498
488
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
499
489
  let body;
500
490
  body = JSON.stringify({
501
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
491
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
502
492
  });
503
493
  return new protocol_http_1.HttpRequest({
504
494
  protocol,
@@ -510,8 +500,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
510
500
  body,
511
501
  });
512
502
  };
513
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
514
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
503
+ exports.se_TagResourceCommand = se_TagResourceCommand;
504
+ const se_UntagResourceCommand = async (input, context) => {
515
505
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
516
506
  const headers = {};
517
507
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -534,8 +524,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
534
524
  body,
535
525
  });
536
526
  };
537
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
538
- const serializeAws_restJson1UpdateDeletionProtectionCommand = async (input, context) => {
527
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
528
+ const se_UpdateDeletionProtectionCommand = async (input, context) => {
539
529
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
530
  const headers = {
541
531
  "content-type": "application/json",
@@ -557,8 +547,8 @@ const serializeAws_restJson1UpdateDeletionProtectionCommand = async (input, cont
557
547
  body,
558
548
  });
559
549
  };
560
- exports.serializeAws_restJson1UpdateDeletionProtectionCommand = serializeAws_restJson1UpdateDeletionProtectionCommand;
561
- const serializeAws_restJson1UpdateIncidentRecordCommand = async (input, context) => {
550
+ exports.se_UpdateDeletionProtectionCommand = se_UpdateDeletionProtectionCommand;
551
+ const se_UpdateIncidentRecordCommand = async (input, context) => {
562
552
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
563
553
  const headers = {
564
554
  "content-type": "application/json",
@@ -567,11 +557,11 @@ const serializeAws_restJson1UpdateIncidentRecordCommand = async (input, context)
567
557
  let body;
568
558
  body = JSON.stringify({
569
559
  ...(input.arn != null && { arn: input.arn }),
570
- ...(input.chatChannel != null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
560
+ ...(input.chatChannel != null && { chatChannel: se_ChatChannel(input.chatChannel, context) }),
571
561
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
572
562
  ...(input.impact != null && { impact: input.impact }),
573
563
  ...(input.notificationTargets != null && {
574
- notificationTargets: serializeAws_restJson1NotificationTargetSet(input.notificationTargets, context),
564
+ notificationTargets: se_NotificationTargetSet(input.notificationTargets, context),
575
565
  }),
576
566
  ...(input.status != null && { status: input.status }),
577
567
  ...(input.summary != null && { summary: input.summary }),
@@ -587,8 +577,8 @@ const serializeAws_restJson1UpdateIncidentRecordCommand = async (input, context)
587
577
  body,
588
578
  });
589
579
  };
590
- exports.serializeAws_restJson1UpdateIncidentRecordCommand = serializeAws_restJson1UpdateIncidentRecordCommand;
591
- const serializeAws_restJson1UpdateRelatedItemsCommand = async (input, context) => {
580
+ exports.se_UpdateIncidentRecordCommand = se_UpdateIncidentRecordCommand;
581
+ const se_UpdateRelatedItemsCommand = async (input, context) => {
592
582
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
593
583
  const headers = {
594
584
  "content-type": "application/json",
@@ -599,7 +589,7 @@ const serializeAws_restJson1UpdateRelatedItemsCommand = async (input, context) =
599
589
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
600
590
  ...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
601
591
  ...(input.relatedItemsUpdate != null && {
602
- relatedItemsUpdate: serializeAws_restJson1RelatedItemsUpdate(input.relatedItemsUpdate, context),
592
+ relatedItemsUpdate: se_RelatedItemsUpdate(input.relatedItemsUpdate, context),
603
593
  }),
604
594
  });
605
595
  return new protocol_http_1.HttpRequest({
@@ -612,8 +602,8 @@ const serializeAws_restJson1UpdateRelatedItemsCommand = async (input, context) =
612
602
  body,
613
603
  });
614
604
  };
615
- exports.serializeAws_restJson1UpdateRelatedItemsCommand = serializeAws_restJson1UpdateRelatedItemsCommand;
616
- const serializeAws_restJson1UpdateReplicationSetCommand = async (input, context) => {
605
+ exports.se_UpdateRelatedItemsCommand = se_UpdateRelatedItemsCommand;
606
+ const se_UpdateReplicationSetCommand = async (input, context) => {
617
607
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
618
608
  const headers = {
619
609
  "content-type": "application/json",
@@ -621,7 +611,7 @@ const serializeAws_restJson1UpdateReplicationSetCommand = async (input, context)
621
611
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/updateReplicationSet";
622
612
  let body;
623
613
  body = JSON.stringify({
624
- ...(input.actions != null && { actions: serializeAws_restJson1UpdateActionList(input.actions, context) }),
614
+ ...(input.actions != null && { actions: se_UpdateActionList(input.actions, context) }),
625
615
  ...(input.arn != null && { arn: input.arn }),
626
616
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
627
617
  });
@@ -635,8 +625,8 @@ const serializeAws_restJson1UpdateReplicationSetCommand = async (input, context)
635
625
  body,
636
626
  });
637
627
  };
638
- exports.serializeAws_restJson1UpdateReplicationSetCommand = serializeAws_restJson1UpdateReplicationSetCommand;
639
- const serializeAws_restJson1UpdateResponsePlanCommand = async (input, context) => {
628
+ exports.se_UpdateReplicationSetCommand = se_UpdateReplicationSetCommand;
629
+ const se_UpdateResponsePlanCommand = async (input, context) => {
640
630
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
641
631
  const headers = {
642
632
  "content-type": "application/json",
@@ -644,27 +634,25 @@ const serializeAws_restJson1UpdateResponsePlanCommand = async (input, context) =
644
634
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/updateResponsePlan";
645
635
  let body;
646
636
  body = JSON.stringify({
647
- ...(input.actions != null && { actions: serializeAws_restJson1ActionsList(input.actions, context) }),
637
+ ...(input.actions != null && { actions: se_ActionsList(input.actions, context) }),
648
638
  ...(input.arn != null && { arn: input.arn }),
649
- ...(input.chatChannel != null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
639
+ ...(input.chatChannel != null && { chatChannel: se_ChatChannel(input.chatChannel, context) }),
650
640
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
651
641
  ...(input.displayName != null && { displayName: input.displayName }),
652
- ...(input.engagements != null && { engagements: serializeAws_restJson1EngagementSet(input.engagements, context) }),
642
+ ...(input.engagements != null && { engagements: se_EngagementSet(input.engagements, context) }),
653
643
  ...(input.incidentTemplateDedupeString != null && {
654
644
  incidentTemplateDedupeString: input.incidentTemplateDedupeString,
655
645
  }),
656
646
  ...(input.incidentTemplateImpact != null && { incidentTemplateImpact: input.incidentTemplateImpact }),
657
647
  ...(input.incidentTemplateNotificationTargets != null && {
658
- incidentTemplateNotificationTargets: serializeAws_restJson1NotificationTargetSet(input.incidentTemplateNotificationTargets, context),
648
+ incidentTemplateNotificationTargets: se_NotificationTargetSet(input.incidentTemplateNotificationTargets, context),
659
649
  }),
660
650
  ...(input.incidentTemplateSummary != null && { incidentTemplateSummary: input.incidentTemplateSummary }),
661
651
  ...(input.incidentTemplateTags != null && {
662
- incidentTemplateTags: serializeAws_restJson1TagMapUpdate(input.incidentTemplateTags, context),
652
+ incidentTemplateTags: se_TagMapUpdate(input.incidentTemplateTags, context),
663
653
  }),
664
654
  ...(input.incidentTemplateTitle != null && { incidentTemplateTitle: input.incidentTemplateTitle }),
665
- ...(input.integrations != null && {
666
- integrations: serializeAws_restJson1Integrations(input.integrations, context),
667
- }),
655
+ ...(input.integrations != null && { integrations: se_Integrations(input.integrations, context) }),
668
656
  });
669
657
  return new protocol_http_1.HttpRequest({
670
658
  protocol,
@@ -676,8 +664,8 @@ const serializeAws_restJson1UpdateResponsePlanCommand = async (input, context) =
676
664
  body,
677
665
  });
678
666
  };
679
- exports.serializeAws_restJson1UpdateResponsePlanCommand = serializeAws_restJson1UpdateResponsePlanCommand;
680
- const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context) => {
667
+ exports.se_UpdateResponsePlanCommand = se_UpdateResponsePlanCommand;
668
+ const se_UpdateTimelineEventCommand = async (input, context) => {
681
669
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
682
670
  const headers = {
683
671
  "content-type": "application/json",
@@ -688,9 +676,7 @@ const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context)
688
676
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
689
677
  ...(input.eventData != null && { eventData: input.eventData }),
690
678
  ...(input.eventId != null && { eventId: input.eventId }),
691
- ...(input.eventReferences != null && {
692
- eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
693
- }),
679
+ ...(input.eventReferences != null && { eventReferences: se_EventReferenceList(input.eventReferences, context) }),
694
680
  ...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
695
681
  ...(input.eventType != null && { eventType: input.eventType }),
696
682
  ...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
@@ -705,10 +691,10 @@ const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context)
705
691
  body,
706
692
  });
707
693
  };
708
- exports.serializeAws_restJson1UpdateTimelineEventCommand = serializeAws_restJson1UpdateTimelineEventCommand;
709
- const deserializeAws_restJson1CreateReplicationSetCommand = async (output, context) => {
694
+ exports.se_UpdateTimelineEventCommand = se_UpdateTimelineEventCommand;
695
+ const de_CreateReplicationSetCommand = async (output, context) => {
710
696
  if (output.statusCode !== 201 && output.statusCode >= 300) {
711
- return deserializeAws_restJson1CreateReplicationSetCommandError(output, context);
697
+ return de_CreateReplicationSetCommandError(output, context);
712
698
  }
713
699
  const contents = map({
714
700
  $metadata: deserializeMetadata(output),
@@ -719,8 +705,8 @@ const deserializeAws_restJson1CreateReplicationSetCommand = async (output, conte
719
705
  }
720
706
  return contents;
721
707
  };
722
- exports.deserializeAws_restJson1CreateReplicationSetCommand = deserializeAws_restJson1CreateReplicationSetCommand;
723
- const deserializeAws_restJson1CreateReplicationSetCommandError = async (output, context) => {
708
+ exports.de_CreateReplicationSetCommand = de_CreateReplicationSetCommand;
709
+ const de_CreateReplicationSetCommandError = async (output, context) => {
724
710
  const parsedOutput = {
725
711
  ...output,
726
712
  body: await parseErrorBody(output.body, context),
@@ -729,22 +715,22 @@ const deserializeAws_restJson1CreateReplicationSetCommandError = async (output,
729
715
  switch (errorCode) {
730
716
  case "AccessDeniedException":
731
717
  case "com.amazonaws.ssmincidents#AccessDeniedException":
732
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
718
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
733
719
  case "ConflictException":
734
720
  case "com.amazonaws.ssmincidents#ConflictException":
735
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
721
+ throw await de_ConflictExceptionRes(parsedOutput, context);
736
722
  case "InternalServerException":
737
723
  case "com.amazonaws.ssmincidents#InternalServerException":
738
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
724
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
739
725
  case "ServiceQuotaExceededException":
740
726
  case "com.amazonaws.ssmincidents#ServiceQuotaExceededException":
741
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
727
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
742
728
  case "ThrottlingException":
743
729
  case "com.amazonaws.ssmincidents#ThrottlingException":
744
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
730
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
745
731
  case "ValidationException":
746
732
  case "com.amazonaws.ssmincidents#ValidationException":
747
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
733
+ throw await de_ValidationExceptionRes(parsedOutput, context);
748
734
  default:
749
735
  const parsedBody = parsedOutput.body;
750
736
  (0, smithy_client_1.throwDefaultError)({
@@ -755,9 +741,9 @@ const deserializeAws_restJson1CreateReplicationSetCommandError = async (output,
755
741
  });
756
742
  }
757
743
  };
758
- const deserializeAws_restJson1CreateResponsePlanCommand = async (output, context) => {
744
+ const de_CreateResponsePlanCommand = async (output, context) => {
759
745
  if (output.statusCode !== 201 && output.statusCode >= 300) {
760
- return deserializeAws_restJson1CreateResponsePlanCommandError(output, context);
746
+ return de_CreateResponsePlanCommandError(output, context);
761
747
  }
762
748
  const contents = map({
763
749
  $metadata: deserializeMetadata(output),
@@ -768,8 +754,8 @@ const deserializeAws_restJson1CreateResponsePlanCommand = async (output, context
768
754
  }
769
755
  return contents;
770
756
  };
771
- exports.deserializeAws_restJson1CreateResponsePlanCommand = deserializeAws_restJson1CreateResponsePlanCommand;
772
- const deserializeAws_restJson1CreateResponsePlanCommandError = async (output, context) => {
757
+ exports.de_CreateResponsePlanCommand = de_CreateResponsePlanCommand;
758
+ const de_CreateResponsePlanCommandError = async (output, context) => {
773
759
  const parsedOutput = {
774
760
  ...output,
775
761
  body: await parseErrorBody(output.body, context),
@@ -778,22 +764,22 @@ const deserializeAws_restJson1CreateResponsePlanCommandError = async (output, co
778
764
  switch (errorCode) {
779
765
  case "AccessDeniedException":
780
766
  case "com.amazonaws.ssmincidents#AccessDeniedException":
781
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
767
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
782
768
  case "ConflictException":
783
769
  case "com.amazonaws.ssmincidents#ConflictException":
784
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
770
+ throw await de_ConflictExceptionRes(parsedOutput, context);
785
771
  case "InternalServerException":
786
772
  case "com.amazonaws.ssmincidents#InternalServerException":
787
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
773
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
788
774
  case "ResourceNotFoundException":
789
775
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
790
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
776
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
791
777
  case "ThrottlingException":
792
778
  case "com.amazonaws.ssmincidents#ThrottlingException":
793
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
779
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
794
780
  case "ValidationException":
795
781
  case "com.amazonaws.ssmincidents#ValidationException":
796
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
782
+ throw await de_ValidationExceptionRes(parsedOutput, context);
797
783
  default:
798
784
  const parsedBody = parsedOutput.body;
799
785
  (0, smithy_client_1.throwDefaultError)({
@@ -804,9 +790,9 @@ const deserializeAws_restJson1CreateResponsePlanCommandError = async (output, co
804
790
  });
805
791
  }
806
792
  };
807
- const deserializeAws_restJson1CreateTimelineEventCommand = async (output, context) => {
793
+ const de_CreateTimelineEventCommand = async (output, context) => {
808
794
  if (output.statusCode !== 201 && output.statusCode >= 300) {
809
- return deserializeAws_restJson1CreateTimelineEventCommandError(output, context);
795
+ return de_CreateTimelineEventCommandError(output, context);
810
796
  }
811
797
  const contents = map({
812
798
  $metadata: deserializeMetadata(output),
@@ -820,8 +806,8 @@ const deserializeAws_restJson1CreateTimelineEventCommand = async (output, contex
820
806
  }
821
807
  return contents;
822
808
  };
823
- exports.deserializeAws_restJson1CreateTimelineEventCommand = deserializeAws_restJson1CreateTimelineEventCommand;
824
- const deserializeAws_restJson1CreateTimelineEventCommandError = async (output, context) => {
809
+ exports.de_CreateTimelineEventCommand = de_CreateTimelineEventCommand;
810
+ const de_CreateTimelineEventCommandError = async (output, context) => {
825
811
  const parsedOutput = {
826
812
  ...output,
827
813
  body: await parseErrorBody(output.body, context),
@@ -830,22 +816,22 @@ const deserializeAws_restJson1CreateTimelineEventCommandError = async (output, c
830
816
  switch (errorCode) {
831
817
  case "AccessDeniedException":
832
818
  case "com.amazonaws.ssmincidents#AccessDeniedException":
833
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
819
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
834
820
  case "ConflictException":
835
821
  case "com.amazonaws.ssmincidents#ConflictException":
836
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
822
+ throw await de_ConflictExceptionRes(parsedOutput, context);
837
823
  case "InternalServerException":
838
824
  case "com.amazonaws.ssmincidents#InternalServerException":
839
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
825
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
840
826
  case "ResourceNotFoundException":
841
827
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
842
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
828
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
843
829
  case "ThrottlingException":
844
830
  case "com.amazonaws.ssmincidents#ThrottlingException":
845
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
831
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
846
832
  case "ValidationException":
847
833
  case "com.amazonaws.ssmincidents#ValidationException":
848
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
834
+ throw await de_ValidationExceptionRes(parsedOutput, context);
849
835
  default:
850
836
  const parsedBody = parsedOutput.body;
851
837
  (0, smithy_client_1.throwDefaultError)({
@@ -856,9 +842,9 @@ const deserializeAws_restJson1CreateTimelineEventCommandError = async (output, c
856
842
  });
857
843
  }
858
844
  };
859
- const deserializeAws_restJson1DeleteIncidentRecordCommand = async (output, context) => {
845
+ const de_DeleteIncidentRecordCommand = async (output, context) => {
860
846
  if (output.statusCode !== 204 && output.statusCode >= 300) {
861
- return deserializeAws_restJson1DeleteIncidentRecordCommandError(output, context);
847
+ return de_DeleteIncidentRecordCommandError(output, context);
862
848
  }
863
849
  const contents = map({
864
850
  $metadata: deserializeMetadata(output),
@@ -866,8 +852,8 @@ const deserializeAws_restJson1DeleteIncidentRecordCommand = async (output, conte
866
852
  await collectBody(output.body, context);
867
853
  return contents;
868
854
  };
869
- exports.deserializeAws_restJson1DeleteIncidentRecordCommand = deserializeAws_restJson1DeleteIncidentRecordCommand;
870
- const deserializeAws_restJson1DeleteIncidentRecordCommandError = async (output, context) => {
855
+ exports.de_DeleteIncidentRecordCommand = de_DeleteIncidentRecordCommand;
856
+ const de_DeleteIncidentRecordCommandError = async (output, context) => {
871
857
  const parsedOutput = {
872
858
  ...output,
873
859
  body: await parseErrorBody(output.body, context),
@@ -876,16 +862,16 @@ const deserializeAws_restJson1DeleteIncidentRecordCommandError = async (output,
876
862
  switch (errorCode) {
877
863
  case "AccessDeniedException":
878
864
  case "com.amazonaws.ssmincidents#AccessDeniedException":
879
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
865
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
880
866
  case "InternalServerException":
881
867
  case "com.amazonaws.ssmincidents#InternalServerException":
882
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
868
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
883
869
  case "ThrottlingException":
884
870
  case "com.amazonaws.ssmincidents#ThrottlingException":
885
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
871
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
886
872
  case "ValidationException":
887
873
  case "com.amazonaws.ssmincidents#ValidationException":
888
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
874
+ throw await de_ValidationExceptionRes(parsedOutput, context);
889
875
  default:
890
876
  const parsedBody = parsedOutput.body;
891
877
  (0, smithy_client_1.throwDefaultError)({
@@ -896,9 +882,9 @@ const deserializeAws_restJson1DeleteIncidentRecordCommandError = async (output,
896
882
  });
897
883
  }
898
884
  };
899
- const deserializeAws_restJson1DeleteReplicationSetCommand = async (output, context) => {
885
+ const de_DeleteReplicationSetCommand = async (output, context) => {
900
886
  if (output.statusCode !== 204 && output.statusCode >= 300) {
901
- return deserializeAws_restJson1DeleteReplicationSetCommandError(output, context);
887
+ return de_DeleteReplicationSetCommandError(output, context);
902
888
  }
903
889
  const contents = map({
904
890
  $metadata: deserializeMetadata(output),
@@ -906,8 +892,8 @@ const deserializeAws_restJson1DeleteReplicationSetCommand = async (output, conte
906
892
  await collectBody(output.body, context);
907
893
  return contents;
908
894
  };
909
- exports.deserializeAws_restJson1DeleteReplicationSetCommand = deserializeAws_restJson1DeleteReplicationSetCommand;
910
- const deserializeAws_restJson1DeleteReplicationSetCommandError = async (output, context) => {
895
+ exports.de_DeleteReplicationSetCommand = de_DeleteReplicationSetCommand;
896
+ const de_DeleteReplicationSetCommandError = async (output, context) => {
911
897
  const parsedOutput = {
912
898
  ...output,
913
899
  body: await parseErrorBody(output.body, context),
@@ -916,19 +902,19 @@ const deserializeAws_restJson1DeleteReplicationSetCommandError = async (output,
916
902
  switch (errorCode) {
917
903
  case "AccessDeniedException":
918
904
  case "com.amazonaws.ssmincidents#AccessDeniedException":
919
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
905
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
920
906
  case "InternalServerException":
921
907
  case "com.amazonaws.ssmincidents#InternalServerException":
922
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
908
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
923
909
  case "ResourceNotFoundException":
924
910
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
925
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
911
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
926
912
  case "ThrottlingException":
927
913
  case "com.amazonaws.ssmincidents#ThrottlingException":
928
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
914
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
929
915
  case "ValidationException":
930
916
  case "com.amazonaws.ssmincidents#ValidationException":
931
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
917
+ throw await de_ValidationExceptionRes(parsedOutput, context);
932
918
  default:
933
919
  const parsedBody = parsedOutput.body;
934
920
  (0, smithy_client_1.throwDefaultError)({
@@ -939,9 +925,9 @@ const deserializeAws_restJson1DeleteReplicationSetCommandError = async (output,
939
925
  });
940
926
  }
941
927
  };
942
- const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
928
+ const de_DeleteResourcePolicyCommand = async (output, context) => {
943
929
  if (output.statusCode !== 200 && output.statusCode >= 300) {
944
- return deserializeAws_restJson1DeleteResourcePolicyCommandError(output, context);
930
+ return de_DeleteResourcePolicyCommandError(output, context);
945
931
  }
946
932
  const contents = map({
947
933
  $metadata: deserializeMetadata(output),
@@ -949,8 +935,8 @@ const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, conte
949
935
  await collectBody(output.body, context);
950
936
  return contents;
951
937
  };
952
- exports.deserializeAws_restJson1DeleteResourcePolicyCommand = deserializeAws_restJson1DeleteResourcePolicyCommand;
953
- const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output, context) => {
938
+ exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
939
+ const de_DeleteResourcePolicyCommandError = async (output, context) => {
954
940
  const parsedOutput = {
955
941
  ...output,
956
942
  body: await parseErrorBody(output.body, context),
@@ -959,19 +945,19 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
959
945
  switch (errorCode) {
960
946
  case "AccessDeniedException":
961
947
  case "com.amazonaws.ssmincidents#AccessDeniedException":
962
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
948
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
963
949
  case "InternalServerException":
964
950
  case "com.amazonaws.ssmincidents#InternalServerException":
965
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
951
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
966
952
  case "ResourceNotFoundException":
967
953
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
968
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
954
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
969
955
  case "ThrottlingException":
970
956
  case "com.amazonaws.ssmincidents#ThrottlingException":
971
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
957
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
972
958
  case "ValidationException":
973
959
  case "com.amazonaws.ssmincidents#ValidationException":
974
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
960
+ throw await de_ValidationExceptionRes(parsedOutput, context);
975
961
  default:
976
962
  const parsedBody = parsedOutput.body;
977
963
  (0, smithy_client_1.throwDefaultError)({
@@ -982,9 +968,9 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
982
968
  });
983
969
  }
984
970
  };
985
- const deserializeAws_restJson1DeleteResponsePlanCommand = async (output, context) => {
971
+ const de_DeleteResponsePlanCommand = async (output, context) => {
986
972
  if (output.statusCode !== 204 && output.statusCode >= 300) {
987
- return deserializeAws_restJson1DeleteResponsePlanCommandError(output, context);
973
+ return de_DeleteResponsePlanCommandError(output, context);
988
974
  }
989
975
  const contents = map({
990
976
  $metadata: deserializeMetadata(output),
@@ -992,8 +978,8 @@ const deserializeAws_restJson1DeleteResponsePlanCommand = async (output, context
992
978
  await collectBody(output.body, context);
993
979
  return contents;
994
980
  };
995
- exports.deserializeAws_restJson1DeleteResponsePlanCommand = deserializeAws_restJson1DeleteResponsePlanCommand;
996
- const deserializeAws_restJson1DeleteResponsePlanCommandError = async (output, context) => {
981
+ exports.de_DeleteResponsePlanCommand = de_DeleteResponsePlanCommand;
982
+ const de_DeleteResponsePlanCommandError = async (output, context) => {
997
983
  const parsedOutput = {
998
984
  ...output,
999
985
  body: await parseErrorBody(output.body, context),
@@ -1002,16 +988,16 @@ const deserializeAws_restJson1DeleteResponsePlanCommandError = async (output, co
1002
988
  switch (errorCode) {
1003
989
  case "AccessDeniedException":
1004
990
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1005
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
991
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1006
992
  case "InternalServerException":
1007
993
  case "com.amazonaws.ssmincidents#InternalServerException":
1008
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
994
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1009
995
  case "ThrottlingException":
1010
996
  case "com.amazonaws.ssmincidents#ThrottlingException":
1011
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
997
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1012
998
  case "ValidationException":
1013
999
  case "com.amazonaws.ssmincidents#ValidationException":
1014
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1000
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1015
1001
  default:
1016
1002
  const parsedBody = parsedOutput.body;
1017
1003
  (0, smithy_client_1.throwDefaultError)({
@@ -1022,9 +1008,9 @@ const deserializeAws_restJson1DeleteResponsePlanCommandError = async (output, co
1022
1008
  });
1023
1009
  }
1024
1010
  };
1025
- const deserializeAws_restJson1DeleteTimelineEventCommand = async (output, context) => {
1011
+ const de_DeleteTimelineEventCommand = async (output, context) => {
1026
1012
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1027
- return deserializeAws_restJson1DeleteTimelineEventCommandError(output, context);
1013
+ return de_DeleteTimelineEventCommandError(output, context);
1028
1014
  }
1029
1015
  const contents = map({
1030
1016
  $metadata: deserializeMetadata(output),
@@ -1032,8 +1018,8 @@ const deserializeAws_restJson1DeleteTimelineEventCommand = async (output, contex
1032
1018
  await collectBody(output.body, context);
1033
1019
  return contents;
1034
1020
  };
1035
- exports.deserializeAws_restJson1DeleteTimelineEventCommand = deserializeAws_restJson1DeleteTimelineEventCommand;
1036
- const deserializeAws_restJson1DeleteTimelineEventCommandError = async (output, context) => {
1021
+ exports.de_DeleteTimelineEventCommand = de_DeleteTimelineEventCommand;
1022
+ const de_DeleteTimelineEventCommandError = async (output, context) => {
1037
1023
  const parsedOutput = {
1038
1024
  ...output,
1039
1025
  body: await parseErrorBody(output.body, context),
@@ -1042,16 +1028,16 @@ const deserializeAws_restJson1DeleteTimelineEventCommandError = async (output, c
1042
1028
  switch (errorCode) {
1043
1029
  case "AccessDeniedException":
1044
1030
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1045
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1031
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1046
1032
  case "InternalServerException":
1047
1033
  case "com.amazonaws.ssmincidents#InternalServerException":
1048
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1034
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1049
1035
  case "ThrottlingException":
1050
1036
  case "com.amazonaws.ssmincidents#ThrottlingException":
1051
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1037
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1052
1038
  case "ValidationException":
1053
1039
  case "com.amazonaws.ssmincidents#ValidationException":
1054
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1040
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1055
1041
  default:
1056
1042
  const parsedBody = parsedOutput.body;
1057
1043
  (0, smithy_client_1.throwDefaultError)({
@@ -1062,21 +1048,21 @@ const deserializeAws_restJson1DeleteTimelineEventCommandError = async (output, c
1062
1048
  });
1063
1049
  }
1064
1050
  };
1065
- const deserializeAws_restJson1GetIncidentRecordCommand = async (output, context) => {
1051
+ const de_GetIncidentRecordCommand = async (output, context) => {
1066
1052
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1067
- return deserializeAws_restJson1GetIncidentRecordCommandError(output, context);
1053
+ return de_GetIncidentRecordCommandError(output, context);
1068
1054
  }
1069
1055
  const contents = map({
1070
1056
  $metadata: deserializeMetadata(output),
1071
1057
  });
1072
1058
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1073
1059
  if (data.incidentRecord != null) {
1074
- contents.incidentRecord = deserializeAws_restJson1IncidentRecord(data.incidentRecord, context);
1060
+ contents.incidentRecord = de_IncidentRecord(data.incidentRecord, context);
1075
1061
  }
1076
1062
  return contents;
1077
1063
  };
1078
- exports.deserializeAws_restJson1GetIncidentRecordCommand = deserializeAws_restJson1GetIncidentRecordCommand;
1079
- const deserializeAws_restJson1GetIncidentRecordCommandError = async (output, context) => {
1064
+ exports.de_GetIncidentRecordCommand = de_GetIncidentRecordCommand;
1065
+ const de_GetIncidentRecordCommandError = async (output, context) => {
1080
1066
  const parsedOutput = {
1081
1067
  ...output,
1082
1068
  body: await parseErrorBody(output.body, context),
@@ -1085,19 +1071,19 @@ const deserializeAws_restJson1GetIncidentRecordCommandError = async (output, con
1085
1071
  switch (errorCode) {
1086
1072
  case "AccessDeniedException":
1087
1073
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1088
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1074
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1089
1075
  case "InternalServerException":
1090
1076
  case "com.amazonaws.ssmincidents#InternalServerException":
1091
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1077
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1092
1078
  case "ResourceNotFoundException":
1093
1079
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1094
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1080
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1095
1081
  case "ThrottlingException":
1096
1082
  case "com.amazonaws.ssmincidents#ThrottlingException":
1097
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1083
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1098
1084
  case "ValidationException":
1099
1085
  case "com.amazonaws.ssmincidents#ValidationException":
1100
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1086
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1101
1087
  default:
1102
1088
  const parsedBody = parsedOutput.body;
1103
1089
  (0, smithy_client_1.throwDefaultError)({
@@ -1108,21 +1094,21 @@ const deserializeAws_restJson1GetIncidentRecordCommandError = async (output, con
1108
1094
  });
1109
1095
  }
1110
1096
  };
1111
- const deserializeAws_restJson1GetReplicationSetCommand = async (output, context) => {
1097
+ const de_GetReplicationSetCommand = async (output, context) => {
1112
1098
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1113
- return deserializeAws_restJson1GetReplicationSetCommandError(output, context);
1099
+ return de_GetReplicationSetCommandError(output, context);
1114
1100
  }
1115
1101
  const contents = map({
1116
1102
  $metadata: deserializeMetadata(output),
1117
1103
  });
1118
1104
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1119
1105
  if (data.replicationSet != null) {
1120
- contents.replicationSet = deserializeAws_restJson1ReplicationSet(data.replicationSet, context);
1106
+ contents.replicationSet = de_ReplicationSet(data.replicationSet, context);
1121
1107
  }
1122
1108
  return contents;
1123
1109
  };
1124
- exports.deserializeAws_restJson1GetReplicationSetCommand = deserializeAws_restJson1GetReplicationSetCommand;
1125
- const deserializeAws_restJson1GetReplicationSetCommandError = async (output, context) => {
1110
+ exports.de_GetReplicationSetCommand = de_GetReplicationSetCommand;
1111
+ const de_GetReplicationSetCommandError = async (output, context) => {
1126
1112
  const parsedOutput = {
1127
1113
  ...output,
1128
1114
  body: await parseErrorBody(output.body, context),
@@ -1131,19 +1117,19 @@ const deserializeAws_restJson1GetReplicationSetCommandError = async (output, con
1131
1117
  switch (errorCode) {
1132
1118
  case "AccessDeniedException":
1133
1119
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1134
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1120
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1135
1121
  case "InternalServerException":
1136
1122
  case "com.amazonaws.ssmincidents#InternalServerException":
1137
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1123
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1138
1124
  case "ResourceNotFoundException":
1139
1125
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1140
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1126
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1141
1127
  case "ThrottlingException":
1142
1128
  case "com.amazonaws.ssmincidents#ThrottlingException":
1143
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1129
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1144
1130
  case "ValidationException":
1145
1131
  case "com.amazonaws.ssmincidents#ValidationException":
1146
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1132
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1147
1133
  default:
1148
1134
  const parsedBody = parsedOutput.body;
1149
1135
  (0, smithy_client_1.throwDefaultError)({
@@ -1154,9 +1140,9 @@ const deserializeAws_restJson1GetReplicationSetCommandError = async (output, con
1154
1140
  });
1155
1141
  }
1156
1142
  };
1157
- const deserializeAws_restJson1GetResourcePoliciesCommand = async (output, context) => {
1143
+ const de_GetResourcePoliciesCommand = async (output, context) => {
1158
1144
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1159
- return deserializeAws_restJson1GetResourcePoliciesCommandError(output, context);
1145
+ return de_GetResourcePoliciesCommandError(output, context);
1160
1146
  }
1161
1147
  const contents = map({
1162
1148
  $metadata: deserializeMetadata(output),
@@ -1166,12 +1152,12 @@ const deserializeAws_restJson1GetResourcePoliciesCommand = async (output, contex
1166
1152
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1167
1153
  }
1168
1154
  if (data.resourcePolicies != null) {
1169
- contents.resourcePolicies = deserializeAws_restJson1ResourcePolicyList(data.resourcePolicies, context);
1155
+ contents.resourcePolicies = de_ResourcePolicyList(data.resourcePolicies, context);
1170
1156
  }
1171
1157
  return contents;
1172
1158
  };
1173
- exports.deserializeAws_restJson1GetResourcePoliciesCommand = deserializeAws_restJson1GetResourcePoliciesCommand;
1174
- const deserializeAws_restJson1GetResourcePoliciesCommandError = async (output, context) => {
1159
+ exports.de_GetResourcePoliciesCommand = de_GetResourcePoliciesCommand;
1160
+ const de_GetResourcePoliciesCommandError = async (output, context) => {
1175
1161
  const parsedOutput = {
1176
1162
  ...output,
1177
1163
  body: await parseErrorBody(output.body, context),
@@ -1180,19 +1166,19 @@ const deserializeAws_restJson1GetResourcePoliciesCommandError = async (output, c
1180
1166
  switch (errorCode) {
1181
1167
  case "AccessDeniedException":
1182
1168
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1183
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1169
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1184
1170
  case "InternalServerException":
1185
1171
  case "com.amazonaws.ssmincidents#InternalServerException":
1186
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1172
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1187
1173
  case "ResourceNotFoundException":
1188
1174
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1189
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1175
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1190
1176
  case "ThrottlingException":
1191
1177
  case "com.amazonaws.ssmincidents#ThrottlingException":
1192
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1178
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1193
1179
  case "ValidationException":
1194
1180
  case "com.amazonaws.ssmincidents#ValidationException":
1195
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1181
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1196
1182
  default:
1197
1183
  const parsedBody = parsedOutput.body;
1198
1184
  (0, smithy_client_1.throwDefaultError)({
@@ -1203,42 +1189,42 @@ const deserializeAws_restJson1GetResourcePoliciesCommandError = async (output, c
1203
1189
  });
1204
1190
  }
1205
1191
  };
1206
- const deserializeAws_restJson1GetResponsePlanCommand = async (output, context) => {
1192
+ const de_GetResponsePlanCommand = async (output, context) => {
1207
1193
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1208
- return deserializeAws_restJson1GetResponsePlanCommandError(output, context);
1194
+ return de_GetResponsePlanCommandError(output, context);
1209
1195
  }
1210
1196
  const contents = map({
1211
1197
  $metadata: deserializeMetadata(output),
1212
1198
  });
1213
1199
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1214
1200
  if (data.actions != null) {
1215
- contents.actions = deserializeAws_restJson1ActionsList(data.actions, context);
1201
+ contents.actions = de_ActionsList(data.actions, context);
1216
1202
  }
1217
1203
  if (data.arn != null) {
1218
1204
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
1219
1205
  }
1220
1206
  if (data.chatChannel != null) {
1221
- contents.chatChannel = deserializeAws_restJson1ChatChannel((0, smithy_client_1.expectUnion)(data.chatChannel), context);
1207
+ contents.chatChannel = de_ChatChannel((0, smithy_client_1.expectUnion)(data.chatChannel), context);
1222
1208
  }
1223
1209
  if (data.displayName != null) {
1224
1210
  contents.displayName = (0, smithy_client_1.expectString)(data.displayName);
1225
1211
  }
1226
1212
  if (data.engagements != null) {
1227
- contents.engagements = deserializeAws_restJson1EngagementSet(data.engagements, context);
1213
+ contents.engagements = de_EngagementSet(data.engagements, context);
1228
1214
  }
1229
1215
  if (data.incidentTemplate != null) {
1230
- contents.incidentTemplate = deserializeAws_restJson1IncidentTemplate(data.incidentTemplate, context);
1216
+ contents.incidentTemplate = de_IncidentTemplate(data.incidentTemplate, context);
1231
1217
  }
1232
1218
  if (data.integrations != null) {
1233
- contents.integrations = deserializeAws_restJson1Integrations(data.integrations, context);
1219
+ contents.integrations = de_Integrations(data.integrations, context);
1234
1220
  }
1235
1221
  if (data.name != null) {
1236
1222
  contents.name = (0, smithy_client_1.expectString)(data.name);
1237
1223
  }
1238
1224
  return contents;
1239
1225
  };
1240
- exports.deserializeAws_restJson1GetResponsePlanCommand = deserializeAws_restJson1GetResponsePlanCommand;
1241
- const deserializeAws_restJson1GetResponsePlanCommandError = async (output, context) => {
1226
+ exports.de_GetResponsePlanCommand = de_GetResponsePlanCommand;
1227
+ const de_GetResponsePlanCommandError = async (output, context) => {
1242
1228
  const parsedOutput = {
1243
1229
  ...output,
1244
1230
  body: await parseErrorBody(output.body, context),
@@ -1247,19 +1233,19 @@ const deserializeAws_restJson1GetResponsePlanCommandError = async (output, conte
1247
1233
  switch (errorCode) {
1248
1234
  case "AccessDeniedException":
1249
1235
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1250
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1236
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1251
1237
  case "InternalServerException":
1252
1238
  case "com.amazonaws.ssmincidents#InternalServerException":
1253
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1239
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1254
1240
  case "ResourceNotFoundException":
1255
1241
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1256
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1242
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1257
1243
  case "ThrottlingException":
1258
1244
  case "com.amazonaws.ssmincidents#ThrottlingException":
1259
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1245
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1260
1246
  case "ValidationException":
1261
1247
  case "com.amazonaws.ssmincidents#ValidationException":
1262
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1248
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1263
1249
  default:
1264
1250
  const parsedBody = parsedOutput.body;
1265
1251
  (0, smithy_client_1.throwDefaultError)({
@@ -1270,21 +1256,21 @@ const deserializeAws_restJson1GetResponsePlanCommandError = async (output, conte
1270
1256
  });
1271
1257
  }
1272
1258
  };
1273
- const deserializeAws_restJson1GetTimelineEventCommand = async (output, context) => {
1259
+ const de_GetTimelineEventCommand = async (output, context) => {
1274
1260
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1275
- return deserializeAws_restJson1GetTimelineEventCommandError(output, context);
1261
+ return de_GetTimelineEventCommandError(output, context);
1276
1262
  }
1277
1263
  const contents = map({
1278
1264
  $metadata: deserializeMetadata(output),
1279
1265
  });
1280
1266
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1281
1267
  if (data.event != null) {
1282
- contents.event = deserializeAws_restJson1TimelineEvent(data.event, context);
1268
+ contents.event = de_TimelineEvent(data.event, context);
1283
1269
  }
1284
1270
  return contents;
1285
1271
  };
1286
- exports.deserializeAws_restJson1GetTimelineEventCommand = deserializeAws_restJson1GetTimelineEventCommand;
1287
- const deserializeAws_restJson1GetTimelineEventCommandError = async (output, context) => {
1272
+ exports.de_GetTimelineEventCommand = de_GetTimelineEventCommand;
1273
+ const de_GetTimelineEventCommandError = async (output, context) => {
1288
1274
  const parsedOutput = {
1289
1275
  ...output,
1290
1276
  body: await parseErrorBody(output.body, context),
@@ -1293,19 +1279,19 @@ const deserializeAws_restJson1GetTimelineEventCommandError = async (output, cont
1293
1279
  switch (errorCode) {
1294
1280
  case "AccessDeniedException":
1295
1281
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1296
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1282
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1297
1283
  case "InternalServerException":
1298
1284
  case "com.amazonaws.ssmincidents#InternalServerException":
1299
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1285
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1300
1286
  case "ResourceNotFoundException":
1301
1287
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1302
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1288
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1303
1289
  case "ThrottlingException":
1304
1290
  case "com.amazonaws.ssmincidents#ThrottlingException":
1305
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1291
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1306
1292
  case "ValidationException":
1307
1293
  case "com.amazonaws.ssmincidents#ValidationException":
1308
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1294
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1309
1295
  default:
1310
1296
  const parsedBody = parsedOutput.body;
1311
1297
  (0, smithy_client_1.throwDefaultError)({
@@ -1316,24 +1302,24 @@ const deserializeAws_restJson1GetTimelineEventCommandError = async (output, cont
1316
1302
  });
1317
1303
  }
1318
1304
  };
1319
- const deserializeAws_restJson1ListIncidentRecordsCommand = async (output, context) => {
1305
+ const de_ListIncidentRecordsCommand = async (output, context) => {
1320
1306
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1321
- return deserializeAws_restJson1ListIncidentRecordsCommandError(output, context);
1307
+ return de_ListIncidentRecordsCommandError(output, context);
1322
1308
  }
1323
1309
  const contents = map({
1324
1310
  $metadata: deserializeMetadata(output),
1325
1311
  });
1326
1312
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1327
1313
  if (data.incidentRecordSummaries != null) {
1328
- contents.incidentRecordSummaries = deserializeAws_restJson1IncidentRecordSummaryList(data.incidentRecordSummaries, context);
1314
+ contents.incidentRecordSummaries = de_IncidentRecordSummaryList(data.incidentRecordSummaries, context);
1329
1315
  }
1330
1316
  if (data.nextToken != null) {
1331
1317
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1332
1318
  }
1333
1319
  return contents;
1334
1320
  };
1335
- exports.deserializeAws_restJson1ListIncidentRecordsCommand = deserializeAws_restJson1ListIncidentRecordsCommand;
1336
- const deserializeAws_restJson1ListIncidentRecordsCommandError = async (output, context) => {
1321
+ exports.de_ListIncidentRecordsCommand = de_ListIncidentRecordsCommand;
1322
+ const de_ListIncidentRecordsCommandError = async (output, context) => {
1337
1323
  const parsedOutput = {
1338
1324
  ...output,
1339
1325
  body: await parseErrorBody(output.body, context),
@@ -1342,16 +1328,16 @@ const deserializeAws_restJson1ListIncidentRecordsCommandError = async (output, c
1342
1328
  switch (errorCode) {
1343
1329
  case "AccessDeniedException":
1344
1330
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1345
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1331
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1346
1332
  case "InternalServerException":
1347
1333
  case "com.amazonaws.ssmincidents#InternalServerException":
1348
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1334
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1349
1335
  case "ThrottlingException":
1350
1336
  case "com.amazonaws.ssmincidents#ThrottlingException":
1351
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1337
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1352
1338
  case "ValidationException":
1353
1339
  case "com.amazonaws.ssmincidents#ValidationException":
1354
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1340
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1355
1341
  default:
1356
1342
  const parsedBody = parsedOutput.body;
1357
1343
  (0, smithy_client_1.throwDefaultError)({
@@ -1362,9 +1348,9 @@ const deserializeAws_restJson1ListIncidentRecordsCommandError = async (output, c
1362
1348
  });
1363
1349
  }
1364
1350
  };
1365
- const deserializeAws_restJson1ListRelatedItemsCommand = async (output, context) => {
1351
+ const de_ListRelatedItemsCommand = async (output, context) => {
1366
1352
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1367
- return deserializeAws_restJson1ListRelatedItemsCommandError(output, context);
1353
+ return de_ListRelatedItemsCommandError(output, context);
1368
1354
  }
1369
1355
  const contents = map({
1370
1356
  $metadata: deserializeMetadata(output),
@@ -1374,12 +1360,12 @@ const deserializeAws_restJson1ListRelatedItemsCommand = async (output, context)
1374
1360
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1375
1361
  }
1376
1362
  if (data.relatedItems != null) {
1377
- contents.relatedItems = deserializeAws_restJson1RelatedItemList(data.relatedItems, context);
1363
+ contents.relatedItems = de_RelatedItemList(data.relatedItems, context);
1378
1364
  }
1379
1365
  return contents;
1380
1366
  };
1381
- exports.deserializeAws_restJson1ListRelatedItemsCommand = deserializeAws_restJson1ListRelatedItemsCommand;
1382
- const deserializeAws_restJson1ListRelatedItemsCommandError = async (output, context) => {
1367
+ exports.de_ListRelatedItemsCommand = de_ListRelatedItemsCommand;
1368
+ const de_ListRelatedItemsCommandError = async (output, context) => {
1383
1369
  const parsedOutput = {
1384
1370
  ...output,
1385
1371
  body: await parseErrorBody(output.body, context),
@@ -1388,16 +1374,16 @@ const deserializeAws_restJson1ListRelatedItemsCommandError = async (output, cont
1388
1374
  switch (errorCode) {
1389
1375
  case "AccessDeniedException":
1390
1376
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1391
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1377
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1392
1378
  case "InternalServerException":
1393
1379
  case "com.amazonaws.ssmincidents#InternalServerException":
1394
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1380
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1395
1381
  case "ThrottlingException":
1396
1382
  case "com.amazonaws.ssmincidents#ThrottlingException":
1397
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1383
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1398
1384
  case "ValidationException":
1399
1385
  case "com.amazonaws.ssmincidents#ValidationException":
1400
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1386
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1401
1387
  default:
1402
1388
  const parsedBody = parsedOutput.body;
1403
1389
  (0, smithy_client_1.throwDefaultError)({
@@ -1408,9 +1394,9 @@ const deserializeAws_restJson1ListRelatedItemsCommandError = async (output, cont
1408
1394
  });
1409
1395
  }
1410
1396
  };
1411
- const deserializeAws_restJson1ListReplicationSetsCommand = async (output, context) => {
1397
+ const de_ListReplicationSetsCommand = async (output, context) => {
1412
1398
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1413
- return deserializeAws_restJson1ListReplicationSetsCommandError(output, context);
1399
+ return de_ListReplicationSetsCommandError(output, context);
1414
1400
  }
1415
1401
  const contents = map({
1416
1402
  $metadata: deserializeMetadata(output),
@@ -1420,12 +1406,12 @@ const deserializeAws_restJson1ListReplicationSetsCommand = async (output, contex
1420
1406
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1421
1407
  }
1422
1408
  if (data.replicationSetArns != null) {
1423
- contents.replicationSetArns = deserializeAws_restJson1ReplicationSetArnList(data.replicationSetArns, context);
1409
+ contents.replicationSetArns = de_ReplicationSetArnList(data.replicationSetArns, context);
1424
1410
  }
1425
1411
  return contents;
1426
1412
  };
1427
- exports.deserializeAws_restJson1ListReplicationSetsCommand = deserializeAws_restJson1ListReplicationSetsCommand;
1428
- const deserializeAws_restJson1ListReplicationSetsCommandError = async (output, context) => {
1413
+ exports.de_ListReplicationSetsCommand = de_ListReplicationSetsCommand;
1414
+ const de_ListReplicationSetsCommandError = async (output, context) => {
1429
1415
  const parsedOutput = {
1430
1416
  ...output,
1431
1417
  body: await parseErrorBody(output.body, context),
@@ -1434,16 +1420,16 @@ const deserializeAws_restJson1ListReplicationSetsCommandError = async (output, c
1434
1420
  switch (errorCode) {
1435
1421
  case "AccessDeniedException":
1436
1422
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1437
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1423
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1438
1424
  case "InternalServerException":
1439
1425
  case "com.amazonaws.ssmincidents#InternalServerException":
1440
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1426
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1441
1427
  case "ThrottlingException":
1442
1428
  case "com.amazonaws.ssmincidents#ThrottlingException":
1443
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1429
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1444
1430
  case "ValidationException":
1445
1431
  case "com.amazonaws.ssmincidents#ValidationException":
1446
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1432
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1447
1433
  default:
1448
1434
  const parsedBody = parsedOutput.body;
1449
1435
  (0, smithy_client_1.throwDefaultError)({
@@ -1454,9 +1440,9 @@ const deserializeAws_restJson1ListReplicationSetsCommandError = async (output, c
1454
1440
  });
1455
1441
  }
1456
1442
  };
1457
- const deserializeAws_restJson1ListResponsePlansCommand = async (output, context) => {
1443
+ const de_ListResponsePlansCommand = async (output, context) => {
1458
1444
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1459
- return deserializeAws_restJson1ListResponsePlansCommandError(output, context);
1445
+ return de_ListResponsePlansCommandError(output, context);
1460
1446
  }
1461
1447
  const contents = map({
1462
1448
  $metadata: deserializeMetadata(output),
@@ -1466,12 +1452,12 @@ const deserializeAws_restJson1ListResponsePlansCommand = async (output, context)
1466
1452
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1467
1453
  }
1468
1454
  if (data.responsePlanSummaries != null) {
1469
- contents.responsePlanSummaries = deserializeAws_restJson1ResponsePlanSummaryList(data.responsePlanSummaries, context);
1455
+ contents.responsePlanSummaries = de_ResponsePlanSummaryList(data.responsePlanSummaries, context);
1470
1456
  }
1471
1457
  return contents;
1472
1458
  };
1473
- exports.deserializeAws_restJson1ListResponsePlansCommand = deserializeAws_restJson1ListResponsePlansCommand;
1474
- const deserializeAws_restJson1ListResponsePlansCommandError = async (output, context) => {
1459
+ exports.de_ListResponsePlansCommand = de_ListResponsePlansCommand;
1460
+ const de_ListResponsePlansCommandError = async (output, context) => {
1475
1461
  const parsedOutput = {
1476
1462
  ...output,
1477
1463
  body: await parseErrorBody(output.body, context),
@@ -1480,16 +1466,16 @@ const deserializeAws_restJson1ListResponsePlansCommandError = async (output, con
1480
1466
  switch (errorCode) {
1481
1467
  case "AccessDeniedException":
1482
1468
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1483
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1469
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1484
1470
  case "InternalServerException":
1485
1471
  case "com.amazonaws.ssmincidents#InternalServerException":
1486
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1472
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1487
1473
  case "ThrottlingException":
1488
1474
  case "com.amazonaws.ssmincidents#ThrottlingException":
1489
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1475
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1490
1476
  case "ValidationException":
1491
1477
  case "com.amazonaws.ssmincidents#ValidationException":
1492
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1478
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1493
1479
  default:
1494
1480
  const parsedBody = parsedOutput.body;
1495
1481
  (0, smithy_client_1.throwDefaultError)({
@@ -1500,21 +1486,21 @@ const deserializeAws_restJson1ListResponsePlansCommandError = async (output, con
1500
1486
  });
1501
1487
  }
1502
1488
  };
1503
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1489
+ const de_ListTagsForResourceCommand = async (output, context) => {
1504
1490
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1505
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1491
+ return de_ListTagsForResourceCommandError(output, context);
1506
1492
  }
1507
1493
  const contents = map({
1508
1494
  $metadata: deserializeMetadata(output),
1509
1495
  });
1510
1496
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1511
1497
  if (data.tags != null) {
1512
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1498
+ contents.tags = de_TagMap(data.tags, context);
1513
1499
  }
1514
1500
  return contents;
1515
1501
  };
1516
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1517
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1502
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1503
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1518
1504
  const parsedOutput = {
1519
1505
  ...output,
1520
1506
  body: await parseErrorBody(output.body, context),
@@ -1523,19 +1509,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1523
1509
  switch (errorCode) {
1524
1510
  case "AccessDeniedException":
1525
1511
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1526
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1512
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1527
1513
  case "InternalServerException":
1528
1514
  case "com.amazonaws.ssmincidents#InternalServerException":
1529
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1515
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1530
1516
  case "ResourceNotFoundException":
1531
1517
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1532
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1518
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1533
1519
  case "ThrottlingException":
1534
1520
  case "com.amazonaws.ssmincidents#ThrottlingException":
1535
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1521
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1536
1522
  case "ValidationException":
1537
1523
  case "com.amazonaws.ssmincidents#ValidationException":
1538
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1524
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1539
1525
  default:
1540
1526
  const parsedBody = parsedOutput.body;
1541
1527
  (0, smithy_client_1.throwDefaultError)({
@@ -1546,24 +1532,24 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1546
1532
  });
1547
1533
  }
1548
1534
  };
1549
- const deserializeAws_restJson1ListTimelineEventsCommand = async (output, context) => {
1535
+ const de_ListTimelineEventsCommand = async (output, context) => {
1550
1536
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1551
- return deserializeAws_restJson1ListTimelineEventsCommandError(output, context);
1537
+ return de_ListTimelineEventsCommandError(output, context);
1552
1538
  }
1553
1539
  const contents = map({
1554
1540
  $metadata: deserializeMetadata(output),
1555
1541
  });
1556
1542
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1557
1543
  if (data.eventSummaries != null) {
1558
- contents.eventSummaries = deserializeAws_restJson1EventSummaryList(data.eventSummaries, context);
1544
+ contents.eventSummaries = de_EventSummaryList(data.eventSummaries, context);
1559
1545
  }
1560
1546
  if (data.nextToken != null) {
1561
1547
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1562
1548
  }
1563
1549
  return contents;
1564
1550
  };
1565
- exports.deserializeAws_restJson1ListTimelineEventsCommand = deserializeAws_restJson1ListTimelineEventsCommand;
1566
- const deserializeAws_restJson1ListTimelineEventsCommandError = async (output, context) => {
1551
+ exports.de_ListTimelineEventsCommand = de_ListTimelineEventsCommand;
1552
+ const de_ListTimelineEventsCommandError = async (output, context) => {
1567
1553
  const parsedOutput = {
1568
1554
  ...output,
1569
1555
  body: await parseErrorBody(output.body, context),
@@ -1572,16 +1558,16 @@ const deserializeAws_restJson1ListTimelineEventsCommandError = async (output, co
1572
1558
  switch (errorCode) {
1573
1559
  case "AccessDeniedException":
1574
1560
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1575
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1561
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1576
1562
  case "InternalServerException":
1577
1563
  case "com.amazonaws.ssmincidents#InternalServerException":
1578
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1564
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1579
1565
  case "ThrottlingException":
1580
1566
  case "com.amazonaws.ssmincidents#ThrottlingException":
1581
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1567
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1582
1568
  case "ValidationException":
1583
1569
  case "com.amazonaws.ssmincidents#ValidationException":
1584
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1570
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1585
1571
  default:
1586
1572
  const parsedBody = parsedOutput.body;
1587
1573
  (0, smithy_client_1.throwDefaultError)({
@@ -1592,9 +1578,9 @@ const deserializeAws_restJson1ListTimelineEventsCommandError = async (output, co
1592
1578
  });
1593
1579
  }
1594
1580
  };
1595
- const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
1581
+ const de_PutResourcePolicyCommand = async (output, context) => {
1596
1582
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1597
- return deserializeAws_restJson1PutResourcePolicyCommandError(output, context);
1583
+ return de_PutResourcePolicyCommandError(output, context);
1598
1584
  }
1599
1585
  const contents = map({
1600
1586
  $metadata: deserializeMetadata(output),
@@ -1605,8 +1591,8 @@ const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context)
1605
1591
  }
1606
1592
  return contents;
1607
1593
  };
1608
- exports.deserializeAws_restJson1PutResourcePolicyCommand = deserializeAws_restJson1PutResourcePolicyCommand;
1609
- const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, context) => {
1594
+ exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
1595
+ const de_PutResourcePolicyCommandError = async (output, context) => {
1610
1596
  const parsedOutput = {
1611
1597
  ...output,
1612
1598
  body: await parseErrorBody(output.body, context),
@@ -1615,19 +1601,19 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
1615
1601
  switch (errorCode) {
1616
1602
  case "AccessDeniedException":
1617
1603
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1618
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1604
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1619
1605
  case "InternalServerException":
1620
1606
  case "com.amazonaws.ssmincidents#InternalServerException":
1621
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1607
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1622
1608
  case "ResourceNotFoundException":
1623
1609
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1624
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1610
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1625
1611
  case "ThrottlingException":
1626
1612
  case "com.amazonaws.ssmincidents#ThrottlingException":
1627
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1613
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1628
1614
  case "ValidationException":
1629
1615
  case "com.amazonaws.ssmincidents#ValidationException":
1630
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1616
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1631
1617
  default:
1632
1618
  const parsedBody = parsedOutput.body;
1633
1619
  (0, smithy_client_1.throwDefaultError)({
@@ -1638,9 +1624,9 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
1638
1624
  });
1639
1625
  }
1640
1626
  };
1641
- const deserializeAws_restJson1StartIncidentCommand = async (output, context) => {
1627
+ const de_StartIncidentCommand = async (output, context) => {
1642
1628
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1643
- return deserializeAws_restJson1StartIncidentCommandError(output, context);
1629
+ return de_StartIncidentCommandError(output, context);
1644
1630
  }
1645
1631
  const contents = map({
1646
1632
  $metadata: deserializeMetadata(output),
@@ -1651,8 +1637,8 @@ const deserializeAws_restJson1StartIncidentCommand = async (output, context) =>
1651
1637
  }
1652
1638
  return contents;
1653
1639
  };
1654
- exports.deserializeAws_restJson1StartIncidentCommand = deserializeAws_restJson1StartIncidentCommand;
1655
- const deserializeAws_restJson1StartIncidentCommandError = async (output, context) => {
1640
+ exports.de_StartIncidentCommand = de_StartIncidentCommand;
1641
+ const de_StartIncidentCommandError = async (output, context) => {
1656
1642
  const parsedOutput = {
1657
1643
  ...output,
1658
1644
  body: await parseErrorBody(output.body, context),
@@ -1661,22 +1647,22 @@ const deserializeAws_restJson1StartIncidentCommandError = async (output, context
1661
1647
  switch (errorCode) {
1662
1648
  case "AccessDeniedException":
1663
1649
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1664
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1650
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1665
1651
  case "ConflictException":
1666
1652
  case "com.amazonaws.ssmincidents#ConflictException":
1667
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1653
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1668
1654
  case "InternalServerException":
1669
1655
  case "com.amazonaws.ssmincidents#InternalServerException":
1670
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1656
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1671
1657
  case "ResourceNotFoundException":
1672
1658
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1673
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1659
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1674
1660
  case "ThrottlingException":
1675
1661
  case "com.amazonaws.ssmincidents#ThrottlingException":
1676
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1662
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1677
1663
  case "ValidationException":
1678
1664
  case "com.amazonaws.ssmincidents#ValidationException":
1679
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1665
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1680
1666
  default:
1681
1667
  const parsedBody = parsedOutput.body;
1682
1668
  (0, smithy_client_1.throwDefaultError)({
@@ -1687,9 +1673,9 @@ const deserializeAws_restJson1StartIncidentCommandError = async (output, context
1687
1673
  });
1688
1674
  }
1689
1675
  };
1690
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1676
+ const de_TagResourceCommand = async (output, context) => {
1691
1677
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1692
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1678
+ return de_TagResourceCommandError(output, context);
1693
1679
  }
1694
1680
  const contents = map({
1695
1681
  $metadata: deserializeMetadata(output),
@@ -1697,8 +1683,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1697
1683
  await collectBody(output.body, context);
1698
1684
  return contents;
1699
1685
  };
1700
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1701
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1686
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1687
+ const de_TagResourceCommandError = async (output, context) => {
1702
1688
  const parsedOutput = {
1703
1689
  ...output,
1704
1690
  body: await parseErrorBody(output.body, context),
@@ -1707,25 +1693,25 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1707
1693
  switch (errorCode) {
1708
1694
  case "AccessDeniedException":
1709
1695
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1710
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1696
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1711
1697
  case "ConflictException":
1712
1698
  case "com.amazonaws.ssmincidents#ConflictException":
1713
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1699
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1714
1700
  case "InternalServerException":
1715
1701
  case "com.amazonaws.ssmincidents#InternalServerException":
1716
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1702
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1717
1703
  case "ResourceNotFoundException":
1718
1704
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1719
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1705
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1720
1706
  case "ServiceQuotaExceededException":
1721
1707
  case "com.amazonaws.ssmincidents#ServiceQuotaExceededException":
1722
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1708
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1723
1709
  case "ThrottlingException":
1724
1710
  case "com.amazonaws.ssmincidents#ThrottlingException":
1725
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1711
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1726
1712
  case "ValidationException":
1727
1713
  case "com.amazonaws.ssmincidents#ValidationException":
1728
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1714
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1729
1715
  default:
1730
1716
  const parsedBody = parsedOutput.body;
1731
1717
  (0, smithy_client_1.throwDefaultError)({
@@ -1736,9 +1722,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1736
1722
  });
1737
1723
  }
1738
1724
  };
1739
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1725
+ const de_UntagResourceCommand = async (output, context) => {
1740
1726
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1741
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1727
+ return de_UntagResourceCommandError(output, context);
1742
1728
  }
1743
1729
  const contents = map({
1744
1730
  $metadata: deserializeMetadata(output),
@@ -1746,8 +1732,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1746
1732
  await collectBody(output.body, context);
1747
1733
  return contents;
1748
1734
  };
1749
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1750
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1735
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1736
+ const de_UntagResourceCommandError = async (output, context) => {
1751
1737
  const parsedOutput = {
1752
1738
  ...output,
1753
1739
  body: await parseErrorBody(output.body, context),
@@ -1756,22 +1742,22 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1756
1742
  switch (errorCode) {
1757
1743
  case "AccessDeniedException":
1758
1744
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1759
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1745
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1760
1746
  case "ConflictException":
1761
1747
  case "com.amazonaws.ssmincidents#ConflictException":
1762
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1748
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1763
1749
  case "InternalServerException":
1764
1750
  case "com.amazonaws.ssmincidents#InternalServerException":
1765
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1751
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1766
1752
  case "ResourceNotFoundException":
1767
1753
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1768
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1754
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1769
1755
  case "ThrottlingException":
1770
1756
  case "com.amazonaws.ssmincidents#ThrottlingException":
1771
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1757
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1772
1758
  case "ValidationException":
1773
1759
  case "com.amazonaws.ssmincidents#ValidationException":
1774
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1760
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1775
1761
  default:
1776
1762
  const parsedBody = parsedOutput.body;
1777
1763
  (0, smithy_client_1.throwDefaultError)({
@@ -1782,9 +1768,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1782
1768
  });
1783
1769
  }
1784
1770
  };
1785
- const deserializeAws_restJson1UpdateDeletionProtectionCommand = async (output, context) => {
1771
+ const de_UpdateDeletionProtectionCommand = async (output, context) => {
1786
1772
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1787
- return deserializeAws_restJson1UpdateDeletionProtectionCommandError(output, context);
1773
+ return de_UpdateDeletionProtectionCommandError(output, context);
1788
1774
  }
1789
1775
  const contents = map({
1790
1776
  $metadata: deserializeMetadata(output),
@@ -1792,8 +1778,8 @@ const deserializeAws_restJson1UpdateDeletionProtectionCommand = async (output, c
1792
1778
  await collectBody(output.body, context);
1793
1779
  return contents;
1794
1780
  };
1795
- exports.deserializeAws_restJson1UpdateDeletionProtectionCommand = deserializeAws_restJson1UpdateDeletionProtectionCommand;
1796
- const deserializeAws_restJson1UpdateDeletionProtectionCommandError = async (output, context) => {
1781
+ exports.de_UpdateDeletionProtectionCommand = de_UpdateDeletionProtectionCommand;
1782
+ const de_UpdateDeletionProtectionCommandError = async (output, context) => {
1797
1783
  const parsedOutput = {
1798
1784
  ...output,
1799
1785
  body: await parseErrorBody(output.body, context),
@@ -1802,19 +1788,19 @@ const deserializeAws_restJson1UpdateDeletionProtectionCommandError = async (outp
1802
1788
  switch (errorCode) {
1803
1789
  case "AccessDeniedException":
1804
1790
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1805
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1791
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1806
1792
  case "InternalServerException":
1807
1793
  case "com.amazonaws.ssmincidents#InternalServerException":
1808
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1794
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1809
1795
  case "ResourceNotFoundException":
1810
1796
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1811
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1797
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1812
1798
  case "ThrottlingException":
1813
1799
  case "com.amazonaws.ssmincidents#ThrottlingException":
1814
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1800
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1815
1801
  case "ValidationException":
1816
1802
  case "com.amazonaws.ssmincidents#ValidationException":
1817
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1803
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1818
1804
  default:
1819
1805
  const parsedBody = parsedOutput.body;
1820
1806
  (0, smithy_client_1.throwDefaultError)({
@@ -1825,9 +1811,9 @@ const deserializeAws_restJson1UpdateDeletionProtectionCommandError = async (outp
1825
1811
  });
1826
1812
  }
1827
1813
  };
1828
- const deserializeAws_restJson1UpdateIncidentRecordCommand = async (output, context) => {
1814
+ const de_UpdateIncidentRecordCommand = async (output, context) => {
1829
1815
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1830
- return deserializeAws_restJson1UpdateIncidentRecordCommandError(output, context);
1816
+ return de_UpdateIncidentRecordCommandError(output, context);
1831
1817
  }
1832
1818
  const contents = map({
1833
1819
  $metadata: deserializeMetadata(output),
@@ -1835,8 +1821,8 @@ const deserializeAws_restJson1UpdateIncidentRecordCommand = async (output, conte
1835
1821
  await collectBody(output.body, context);
1836
1822
  return contents;
1837
1823
  };
1838
- exports.deserializeAws_restJson1UpdateIncidentRecordCommand = deserializeAws_restJson1UpdateIncidentRecordCommand;
1839
- const deserializeAws_restJson1UpdateIncidentRecordCommandError = async (output, context) => {
1824
+ exports.de_UpdateIncidentRecordCommand = de_UpdateIncidentRecordCommand;
1825
+ const de_UpdateIncidentRecordCommandError = async (output, context) => {
1840
1826
  const parsedOutput = {
1841
1827
  ...output,
1842
1828
  body: await parseErrorBody(output.body, context),
@@ -1845,22 +1831,22 @@ const deserializeAws_restJson1UpdateIncidentRecordCommandError = async (output,
1845
1831
  switch (errorCode) {
1846
1832
  case "AccessDeniedException":
1847
1833
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1848
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1834
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1849
1835
  case "ConflictException":
1850
1836
  case "com.amazonaws.ssmincidents#ConflictException":
1851
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1837
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1852
1838
  case "InternalServerException":
1853
1839
  case "com.amazonaws.ssmincidents#InternalServerException":
1854
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1840
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1855
1841
  case "ResourceNotFoundException":
1856
1842
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1857
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1843
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1858
1844
  case "ThrottlingException":
1859
1845
  case "com.amazonaws.ssmincidents#ThrottlingException":
1860
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1846
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1861
1847
  case "ValidationException":
1862
1848
  case "com.amazonaws.ssmincidents#ValidationException":
1863
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1849
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1864
1850
  default:
1865
1851
  const parsedBody = parsedOutput.body;
1866
1852
  (0, smithy_client_1.throwDefaultError)({
@@ -1871,9 +1857,9 @@ const deserializeAws_restJson1UpdateIncidentRecordCommandError = async (output,
1871
1857
  });
1872
1858
  }
1873
1859
  };
1874
- const deserializeAws_restJson1UpdateRelatedItemsCommand = async (output, context) => {
1860
+ const de_UpdateRelatedItemsCommand = async (output, context) => {
1875
1861
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1876
- return deserializeAws_restJson1UpdateRelatedItemsCommandError(output, context);
1862
+ return de_UpdateRelatedItemsCommandError(output, context);
1877
1863
  }
1878
1864
  const contents = map({
1879
1865
  $metadata: deserializeMetadata(output),
@@ -1881,8 +1867,8 @@ const deserializeAws_restJson1UpdateRelatedItemsCommand = async (output, context
1881
1867
  await collectBody(output.body, context);
1882
1868
  return contents;
1883
1869
  };
1884
- exports.deserializeAws_restJson1UpdateRelatedItemsCommand = deserializeAws_restJson1UpdateRelatedItemsCommand;
1885
- const deserializeAws_restJson1UpdateRelatedItemsCommandError = async (output, context) => {
1870
+ exports.de_UpdateRelatedItemsCommand = de_UpdateRelatedItemsCommand;
1871
+ const de_UpdateRelatedItemsCommandError = async (output, context) => {
1886
1872
  const parsedOutput = {
1887
1873
  ...output,
1888
1874
  body: await parseErrorBody(output.body, context),
@@ -1891,22 +1877,22 @@ const deserializeAws_restJson1UpdateRelatedItemsCommandError = async (output, co
1891
1877
  switch (errorCode) {
1892
1878
  case "AccessDeniedException":
1893
1879
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1894
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1880
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1895
1881
  case "ConflictException":
1896
1882
  case "com.amazonaws.ssmincidents#ConflictException":
1897
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1883
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1898
1884
  case "InternalServerException":
1899
1885
  case "com.amazonaws.ssmincidents#InternalServerException":
1900
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1886
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1901
1887
  case "ResourceNotFoundException":
1902
1888
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1903
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1889
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1904
1890
  case "ThrottlingException":
1905
1891
  case "com.amazonaws.ssmincidents#ThrottlingException":
1906
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1892
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1907
1893
  case "ValidationException":
1908
1894
  case "com.amazonaws.ssmincidents#ValidationException":
1909
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1895
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1910
1896
  default:
1911
1897
  const parsedBody = parsedOutput.body;
1912
1898
  (0, smithy_client_1.throwDefaultError)({
@@ -1917,9 +1903,9 @@ const deserializeAws_restJson1UpdateRelatedItemsCommandError = async (output, co
1917
1903
  });
1918
1904
  }
1919
1905
  };
1920
- const deserializeAws_restJson1UpdateReplicationSetCommand = async (output, context) => {
1906
+ const de_UpdateReplicationSetCommand = async (output, context) => {
1921
1907
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1922
- return deserializeAws_restJson1UpdateReplicationSetCommandError(output, context);
1908
+ return de_UpdateReplicationSetCommandError(output, context);
1923
1909
  }
1924
1910
  const contents = map({
1925
1911
  $metadata: deserializeMetadata(output),
@@ -1927,8 +1913,8 @@ const deserializeAws_restJson1UpdateReplicationSetCommand = async (output, conte
1927
1913
  await collectBody(output.body, context);
1928
1914
  return contents;
1929
1915
  };
1930
- exports.deserializeAws_restJson1UpdateReplicationSetCommand = deserializeAws_restJson1UpdateReplicationSetCommand;
1931
- const deserializeAws_restJson1UpdateReplicationSetCommandError = async (output, context) => {
1916
+ exports.de_UpdateReplicationSetCommand = de_UpdateReplicationSetCommand;
1917
+ const de_UpdateReplicationSetCommandError = async (output, context) => {
1932
1918
  const parsedOutput = {
1933
1919
  ...output,
1934
1920
  body: await parseErrorBody(output.body, context),
@@ -1937,22 +1923,22 @@ const deserializeAws_restJson1UpdateReplicationSetCommandError = async (output,
1937
1923
  switch (errorCode) {
1938
1924
  case "AccessDeniedException":
1939
1925
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1940
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1926
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1941
1927
  case "ConflictException":
1942
1928
  case "com.amazonaws.ssmincidents#ConflictException":
1943
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1929
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1944
1930
  case "InternalServerException":
1945
1931
  case "com.amazonaws.ssmincidents#InternalServerException":
1946
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1932
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1947
1933
  case "ResourceNotFoundException":
1948
1934
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1949
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1935
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1950
1936
  case "ThrottlingException":
1951
1937
  case "com.amazonaws.ssmincidents#ThrottlingException":
1952
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1938
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1953
1939
  case "ValidationException":
1954
1940
  case "com.amazonaws.ssmincidents#ValidationException":
1955
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1941
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1956
1942
  default:
1957
1943
  const parsedBody = parsedOutput.body;
1958
1944
  (0, smithy_client_1.throwDefaultError)({
@@ -1963,9 +1949,9 @@ const deserializeAws_restJson1UpdateReplicationSetCommandError = async (output,
1963
1949
  });
1964
1950
  }
1965
1951
  };
1966
- const deserializeAws_restJson1UpdateResponsePlanCommand = async (output, context) => {
1952
+ const de_UpdateResponsePlanCommand = async (output, context) => {
1967
1953
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1968
- return deserializeAws_restJson1UpdateResponsePlanCommandError(output, context);
1954
+ return de_UpdateResponsePlanCommandError(output, context);
1969
1955
  }
1970
1956
  const contents = map({
1971
1957
  $metadata: deserializeMetadata(output),
@@ -1973,8 +1959,8 @@ const deserializeAws_restJson1UpdateResponsePlanCommand = async (output, context
1973
1959
  await collectBody(output.body, context);
1974
1960
  return contents;
1975
1961
  };
1976
- exports.deserializeAws_restJson1UpdateResponsePlanCommand = deserializeAws_restJson1UpdateResponsePlanCommand;
1977
- const deserializeAws_restJson1UpdateResponsePlanCommandError = async (output, context) => {
1962
+ exports.de_UpdateResponsePlanCommand = de_UpdateResponsePlanCommand;
1963
+ const de_UpdateResponsePlanCommandError = async (output, context) => {
1978
1964
  const parsedOutput = {
1979
1965
  ...output,
1980
1966
  body: await parseErrorBody(output.body, context),
@@ -1983,22 +1969,22 @@ const deserializeAws_restJson1UpdateResponsePlanCommandError = async (output, co
1983
1969
  switch (errorCode) {
1984
1970
  case "AccessDeniedException":
1985
1971
  case "com.amazonaws.ssmincidents#AccessDeniedException":
1986
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1972
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1987
1973
  case "ConflictException":
1988
1974
  case "com.amazonaws.ssmincidents#ConflictException":
1989
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1975
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1990
1976
  case "InternalServerException":
1991
1977
  case "com.amazonaws.ssmincidents#InternalServerException":
1992
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1978
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1993
1979
  case "ResourceNotFoundException":
1994
1980
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1995
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1981
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1996
1982
  case "ThrottlingException":
1997
1983
  case "com.amazonaws.ssmincidents#ThrottlingException":
1998
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1984
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1999
1985
  case "ValidationException":
2000
1986
  case "com.amazonaws.ssmincidents#ValidationException":
2001
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1987
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2002
1988
  default:
2003
1989
  const parsedBody = parsedOutput.body;
2004
1990
  (0, smithy_client_1.throwDefaultError)({
@@ -2009,9 +1995,9 @@ const deserializeAws_restJson1UpdateResponsePlanCommandError = async (output, co
2009
1995
  });
2010
1996
  }
2011
1997
  };
2012
- const deserializeAws_restJson1UpdateTimelineEventCommand = async (output, context) => {
1998
+ const de_UpdateTimelineEventCommand = async (output, context) => {
2013
1999
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2014
- return deserializeAws_restJson1UpdateTimelineEventCommandError(output, context);
2000
+ return de_UpdateTimelineEventCommandError(output, context);
2015
2001
  }
2016
2002
  const contents = map({
2017
2003
  $metadata: deserializeMetadata(output),
@@ -2019,8 +2005,8 @@ const deserializeAws_restJson1UpdateTimelineEventCommand = async (output, contex
2019
2005
  await collectBody(output.body, context);
2020
2006
  return contents;
2021
2007
  };
2022
- exports.deserializeAws_restJson1UpdateTimelineEventCommand = deserializeAws_restJson1UpdateTimelineEventCommand;
2023
- const deserializeAws_restJson1UpdateTimelineEventCommandError = async (output, context) => {
2008
+ exports.de_UpdateTimelineEventCommand = de_UpdateTimelineEventCommand;
2009
+ const de_UpdateTimelineEventCommandError = async (output, context) => {
2024
2010
  const parsedOutput = {
2025
2011
  ...output,
2026
2012
  body: await parseErrorBody(output.body, context),
@@ -2029,22 +2015,22 @@ const deserializeAws_restJson1UpdateTimelineEventCommandError = async (output, c
2029
2015
  switch (errorCode) {
2030
2016
  case "AccessDeniedException":
2031
2017
  case "com.amazonaws.ssmincidents#AccessDeniedException":
2032
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2018
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2033
2019
  case "ConflictException":
2034
2020
  case "com.amazonaws.ssmincidents#ConflictException":
2035
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2021
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2036
2022
  case "InternalServerException":
2037
2023
  case "com.amazonaws.ssmincidents#InternalServerException":
2038
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2024
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2039
2025
  case "ResourceNotFoundException":
2040
2026
  case "com.amazonaws.ssmincidents#ResourceNotFoundException":
2041
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2027
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2042
2028
  case "ThrottlingException":
2043
2029
  case "com.amazonaws.ssmincidents#ThrottlingException":
2044
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2030
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2045
2031
  case "ValidationException":
2046
2032
  case "com.amazonaws.ssmincidents#ValidationException":
2047
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2033
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2048
2034
  default:
2049
2035
  const parsedBody = parsedOutput.body;
2050
2036
  (0, smithy_client_1.throwDefaultError)({
@@ -2056,7 +2042,7 @@ const deserializeAws_restJson1UpdateTimelineEventCommandError = async (output, c
2056
2042
  }
2057
2043
  };
2058
2044
  const map = smithy_client_1.map;
2059
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2045
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2060
2046
  const contents = map({});
2061
2047
  const data = parsedOutput.body;
2062
2048
  if (data.message != null) {
@@ -2068,7 +2054,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2068
2054
  });
2069
2055
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2070
2056
  };
2071
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2057
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2072
2058
  const contents = map({});
2073
2059
  const data = parsedOutput.body;
2074
2060
  if (data.message != null) {
@@ -2089,7 +2075,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2089
2075
  });
2090
2076
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2091
2077
  };
2092
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2078
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2093
2079
  const contents = map({});
2094
2080
  const data = parsedOutput.body;
2095
2081
  if (data.message != null) {
@@ -2101,7 +2087,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2101
2087
  });
2102
2088
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2103
2089
  };
2104
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2090
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2105
2091
  const contents = map({});
2106
2092
  const data = parsedOutput.body;
2107
2093
  if (data.message != null) {
@@ -2119,7 +2105,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2119
2105
  });
2120
2106
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2121
2107
  };
2122
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2108
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2123
2109
  const contents = map({});
2124
2110
  const data = parsedOutput.body;
2125
2111
  if (data.message != null) {
@@ -2143,7 +2129,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2143
2129
  });
2144
2130
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2145
2131
  };
2146
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2132
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2147
2133
  const contents = map({});
2148
2134
  const data = parsedOutput.body;
2149
2135
  if (data.message != null) {
@@ -2161,7 +2147,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2161
2147
  });
2162
2148
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2163
2149
  };
2164
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2150
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2165
2151
  const contents = map({});
2166
2152
  const data = parsedOutput.body;
2167
2153
  if (data.message != null) {
@@ -2173,267 +2159,263 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2173
2159
  });
2174
2160
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2175
2161
  };
2176
- const serializeAws_restJson1Action = (input, context) => {
2162
+ const se_Action = (input, context) => {
2177
2163
  return models_0_1.Action.visit(input, {
2178
- ssmAutomation: (value) => ({ ssmAutomation: serializeAws_restJson1SsmAutomation(value, context) }),
2164
+ ssmAutomation: (value) => ({ ssmAutomation: se_SsmAutomation(value, context) }),
2179
2165
  _: (name, value) => ({ name: value }),
2180
2166
  });
2181
2167
  };
2182
- const serializeAws_restJson1ActionsList = (input, context) => {
2168
+ const se_ActionsList = (input, context) => {
2183
2169
  return input
2184
2170
  .filter((e) => e != null)
2185
2171
  .map((entry) => {
2186
- return serializeAws_restJson1Action(entry, context);
2172
+ return se_Action(entry, context);
2187
2173
  });
2188
2174
  };
2189
- const serializeAws_restJson1AddRegionAction = (input, context) => {
2175
+ const se_AddRegionAction = (input, context) => {
2190
2176
  return {
2191
2177
  ...(input.regionName != null && { regionName: input.regionName }),
2192
2178
  ...(input.sseKmsKeyId != null && { sseKmsKeyId: input.sseKmsKeyId }),
2193
2179
  };
2194
2180
  };
2195
- const serializeAws_restJson1AttributeValueList = (input, context) => {
2181
+ const se_AttributeValueList = (input, context) => {
2196
2182
  return models_0_1.AttributeValueList.visit(input, {
2197
- integerValues: (value) => ({ integerValues: serializeAws_restJson1IntegerList(value, context) }),
2198
- stringValues: (value) => ({ stringValues: serializeAws_restJson1StringList(value, context) }),
2183
+ integerValues: (value) => ({ integerValues: se_IntegerList(value, context) }),
2184
+ stringValues: (value) => ({ stringValues: se_StringList(value, context) }),
2199
2185
  _: (name, value) => ({ name: value }),
2200
2186
  });
2201
2187
  };
2202
- const serializeAws_restJson1ChatbotSnsConfigurationSet = (input, context) => {
2188
+ const se_ChatbotSnsConfigurationSet = (input, context) => {
2203
2189
  return input
2204
2190
  .filter((e) => e != null)
2205
2191
  .map((entry) => {
2206
2192
  return entry;
2207
2193
  });
2208
2194
  };
2209
- const serializeAws_restJson1ChatChannel = (input, context) => {
2195
+ const se_ChatChannel = (input, context) => {
2210
2196
  return models_0_1.ChatChannel.visit(input, {
2211
- chatbotSns: (value) => ({ chatbotSns: serializeAws_restJson1ChatbotSnsConfigurationSet(value, context) }),
2212
- empty: (value) => ({ empty: serializeAws_restJson1EmptyChatChannel(value, context) }),
2197
+ chatbotSns: (value) => ({ chatbotSns: se_ChatbotSnsConfigurationSet(value, context) }),
2198
+ empty: (value) => ({ empty: se_EmptyChatChannel(value, context) }),
2213
2199
  _: (name, value) => ({ name: value }),
2214
2200
  });
2215
2201
  };
2216
- const serializeAws_restJson1Condition = (input, context) => {
2202
+ const se_Condition = (input, context) => {
2217
2203
  return models_0_1.Condition.visit(input, {
2218
2204
  after: (value) => ({ after: Math.round(value.getTime() / 1000) }),
2219
2205
  before: (value) => ({ before: Math.round(value.getTime() / 1000) }),
2220
- equals: (value) => ({ equals: serializeAws_restJson1AttributeValueList(value, context) }),
2206
+ equals: (value) => ({ equals: se_AttributeValueList(value, context) }),
2221
2207
  _: (name, value) => ({ name: value }),
2222
2208
  });
2223
2209
  };
2224
- const serializeAws_restJson1DeleteRegionAction = (input, context) => {
2210
+ const se_DeleteRegionAction = (input, context) => {
2225
2211
  return {
2226
2212
  ...(input.regionName != null && { regionName: input.regionName }),
2227
2213
  };
2228
2214
  };
2229
- const serializeAws_restJson1DynamicSsmParameters = (input, context) => {
2215
+ const se_DynamicSsmParameters = (input, context) => {
2230
2216
  return Object.entries(input).reduce((acc, [key, value]) => {
2231
2217
  if (value === null) {
2232
2218
  return acc;
2233
2219
  }
2234
- acc[key] = serializeAws_restJson1DynamicSsmParameterValue(value, context);
2220
+ acc[key] = se_DynamicSsmParameterValue(value, context);
2235
2221
  return acc;
2236
2222
  }, {});
2237
2223
  };
2238
- const serializeAws_restJson1DynamicSsmParameterValue = (input, context) => {
2224
+ const se_DynamicSsmParameterValue = (input, context) => {
2239
2225
  return models_0_1.DynamicSsmParameterValue.visit(input, {
2240
2226
  variable: (value) => ({ variable: value }),
2241
2227
  _: (name, value) => ({ name: value }),
2242
2228
  });
2243
2229
  };
2244
- const serializeAws_restJson1EmptyChatChannel = (input, context) => {
2230
+ const se_EmptyChatChannel = (input, context) => {
2245
2231
  return {};
2246
2232
  };
2247
- const serializeAws_restJson1EngagementSet = (input, context) => {
2233
+ const se_EngagementSet = (input, context) => {
2248
2234
  return input
2249
2235
  .filter((e) => e != null)
2250
2236
  .map((entry) => {
2251
2237
  return entry;
2252
2238
  });
2253
2239
  };
2254
- const serializeAws_restJson1EventReference = (input, context) => {
2240
+ const se_EventReference = (input, context) => {
2255
2241
  return models_0_1.EventReference.visit(input, {
2256
2242
  relatedItemId: (value) => ({ relatedItemId: value }),
2257
2243
  resource: (value) => ({ resource: value }),
2258
2244
  _: (name, value) => ({ name: value }),
2259
2245
  });
2260
2246
  };
2261
- const serializeAws_restJson1EventReferenceList = (input, context) => {
2247
+ const se_EventReferenceList = (input, context) => {
2262
2248
  return input
2263
2249
  .filter((e) => e != null)
2264
2250
  .map((entry) => {
2265
- return serializeAws_restJson1EventReference(entry, context);
2251
+ return se_EventReference(entry, context);
2266
2252
  });
2267
2253
  };
2268
- const serializeAws_restJson1Filter = (input, context) => {
2254
+ const se_Filter = (input, context) => {
2269
2255
  return {
2270
- ...(input.condition != null && { condition: serializeAws_restJson1Condition(input.condition, context) }),
2256
+ ...(input.condition != null && { condition: se_Condition(input.condition, context) }),
2271
2257
  ...(input.key != null && { key: input.key }),
2272
2258
  };
2273
2259
  };
2274
- const serializeAws_restJson1FilterList = (input, context) => {
2260
+ const se_FilterList = (input, context) => {
2275
2261
  return input
2276
2262
  .filter((e) => e != null)
2277
2263
  .map((entry) => {
2278
- return serializeAws_restJson1Filter(entry, context);
2264
+ return se_Filter(entry, context);
2279
2265
  });
2280
2266
  };
2281
- const serializeAws_restJson1IncidentTemplate = (input, context) => {
2267
+ const se_IncidentTemplate = (input, context) => {
2282
2268
  return {
2283
2269
  ...(input.dedupeString != null && { dedupeString: input.dedupeString }),
2284
2270
  ...(input.impact != null && { impact: input.impact }),
2285
- ...(input.incidentTags != null && { incidentTags: serializeAws_restJson1TagMap(input.incidentTags, context) }),
2271
+ ...(input.incidentTags != null && { incidentTags: se_TagMap(input.incidentTags, context) }),
2286
2272
  ...(input.notificationTargets != null && {
2287
- notificationTargets: serializeAws_restJson1NotificationTargetSet(input.notificationTargets, context),
2273
+ notificationTargets: se_NotificationTargetSet(input.notificationTargets, context),
2288
2274
  }),
2289
2275
  ...(input.summary != null && { summary: input.summary }),
2290
2276
  ...(input.title != null && { title: input.title }),
2291
2277
  };
2292
2278
  };
2293
- const serializeAws_restJson1IntegerList = (input, context) => {
2279
+ const se_IntegerList = (input, context) => {
2294
2280
  return input
2295
2281
  .filter((e) => e != null)
2296
2282
  .map((entry) => {
2297
2283
  return entry;
2298
2284
  });
2299
2285
  };
2300
- const serializeAws_restJson1Integration = (input, context) => {
2286
+ const se_Integration = (input, context) => {
2301
2287
  return models_0_1.Integration.visit(input, {
2302
- pagerDutyConfiguration: (value) => ({
2303
- pagerDutyConfiguration: serializeAws_restJson1PagerDutyConfiguration(value, context),
2304
- }),
2288
+ pagerDutyConfiguration: (value) => ({ pagerDutyConfiguration: se_PagerDutyConfiguration(value, context) }),
2305
2289
  _: (name, value) => ({ name: value }),
2306
2290
  });
2307
2291
  };
2308
- const serializeAws_restJson1Integrations = (input, context) => {
2292
+ const se_Integrations = (input, context) => {
2309
2293
  return input
2310
2294
  .filter((e) => e != null)
2311
2295
  .map((entry) => {
2312
- return serializeAws_restJson1Integration(entry, context);
2296
+ return se_Integration(entry, context);
2313
2297
  });
2314
2298
  };
2315
- const serializeAws_restJson1ItemIdentifier = (input, context) => {
2299
+ const se_ItemIdentifier = (input, context) => {
2316
2300
  return {
2317
2301
  ...(input.type != null && { type: input.type }),
2318
- ...(input.value != null && { value: serializeAws_restJson1ItemValue(input.value, context) }),
2302
+ ...(input.value != null && { value: se_ItemValue(input.value, context) }),
2319
2303
  };
2320
2304
  };
2321
- const serializeAws_restJson1ItemValue = (input, context) => {
2305
+ const se_ItemValue = (input, context) => {
2322
2306
  return models_0_1.ItemValue.visit(input, {
2323
2307
  arn: (value) => ({ arn: value }),
2324
2308
  metricDefinition: (value) => ({ metricDefinition: value }),
2325
- pagerDutyIncidentDetail: (value) => ({
2326
- pagerDutyIncidentDetail: serializeAws_restJson1PagerDutyIncidentDetail(value, context),
2327
- }),
2309
+ pagerDutyIncidentDetail: (value) => ({ pagerDutyIncidentDetail: se_PagerDutyIncidentDetail(value, context) }),
2328
2310
  url: (value) => ({ url: value }),
2329
2311
  _: (name, value) => ({ name: value }),
2330
2312
  });
2331
2313
  };
2332
- const serializeAws_restJson1NotificationTargetItem = (input, context) => {
2314
+ const se_NotificationTargetItem = (input, context) => {
2333
2315
  return models_0_1.NotificationTargetItem.visit(input, {
2334
2316
  snsTopicArn: (value) => ({ snsTopicArn: value }),
2335
2317
  _: (name, value) => ({ name: value }),
2336
2318
  });
2337
2319
  };
2338
- const serializeAws_restJson1NotificationTargetSet = (input, context) => {
2320
+ const se_NotificationTargetSet = (input, context) => {
2339
2321
  return input
2340
2322
  .filter((e) => e != null)
2341
2323
  .map((entry) => {
2342
- return serializeAws_restJson1NotificationTargetItem(entry, context);
2324
+ return se_NotificationTargetItem(entry, context);
2343
2325
  });
2344
2326
  };
2345
- const serializeAws_restJson1PagerDutyConfiguration = (input, context) => {
2327
+ const se_PagerDutyConfiguration = (input, context) => {
2346
2328
  return {
2347
2329
  ...(input.name != null && { name: input.name }),
2348
2330
  ...(input.pagerDutyIncidentConfiguration != null && {
2349
- pagerDutyIncidentConfiguration: serializeAws_restJson1PagerDutyIncidentConfiguration(input.pagerDutyIncidentConfiguration, context),
2331
+ pagerDutyIncidentConfiguration: se_PagerDutyIncidentConfiguration(input.pagerDutyIncidentConfiguration, context),
2350
2332
  }),
2351
2333
  ...(input.secretId != null && { secretId: input.secretId }),
2352
2334
  };
2353
2335
  };
2354
- const serializeAws_restJson1PagerDutyIncidentConfiguration = (input, context) => {
2336
+ const se_PagerDutyIncidentConfiguration = (input, context) => {
2355
2337
  return {
2356
2338
  ...(input.serviceId != null && { serviceId: input.serviceId }),
2357
2339
  };
2358
2340
  };
2359
- const serializeAws_restJson1PagerDutyIncidentDetail = (input, context) => {
2341
+ const se_PagerDutyIncidentDetail = (input, context) => {
2360
2342
  return {
2361
2343
  ...(input.autoResolve != null && { autoResolve: input.autoResolve }),
2362
2344
  ...(input.id != null && { id: input.id }),
2363
2345
  ...(input.secretId != null && { secretId: input.secretId }),
2364
2346
  };
2365
2347
  };
2366
- const serializeAws_restJson1RegionMapInput = (input, context) => {
2348
+ const se_RegionMapInput = (input, context) => {
2367
2349
  return Object.entries(input).reduce((acc, [key, value]) => {
2368
2350
  if (value === null) {
2369
2351
  return acc;
2370
2352
  }
2371
- acc[key] = serializeAws_restJson1RegionMapInputValue(value, context);
2353
+ acc[key] = se_RegionMapInputValue(value, context);
2372
2354
  return acc;
2373
2355
  }, {});
2374
2356
  };
2375
- const serializeAws_restJson1RegionMapInputValue = (input, context) => {
2357
+ const se_RegionMapInputValue = (input, context) => {
2376
2358
  return {
2377
2359
  ...(input.sseKmsKeyId != null && { sseKmsKeyId: input.sseKmsKeyId }),
2378
2360
  };
2379
2361
  };
2380
- const serializeAws_restJson1RelatedItem = (input, context) => {
2362
+ const se_RelatedItem = (input, context) => {
2381
2363
  return {
2382
2364
  ...(input.generatedId != null && { generatedId: input.generatedId }),
2383
- ...(input.identifier != null && { identifier: serializeAws_restJson1ItemIdentifier(input.identifier, context) }),
2365
+ ...(input.identifier != null && { identifier: se_ItemIdentifier(input.identifier, context) }),
2384
2366
  ...(input.title != null && { title: input.title }),
2385
2367
  };
2386
2368
  };
2387
- const serializeAws_restJson1RelatedItemList = (input, context) => {
2369
+ const se_RelatedItemList = (input, context) => {
2388
2370
  return input
2389
2371
  .filter((e) => e != null)
2390
2372
  .map((entry) => {
2391
- return serializeAws_restJson1RelatedItem(entry, context);
2373
+ return se_RelatedItem(entry, context);
2392
2374
  });
2393
2375
  };
2394
- const serializeAws_restJson1RelatedItemsUpdate = (input, context) => {
2376
+ const se_RelatedItemsUpdate = (input, context) => {
2395
2377
  return models_0_1.RelatedItemsUpdate.visit(input, {
2396
- itemToAdd: (value) => ({ itemToAdd: serializeAws_restJson1RelatedItem(value, context) }),
2397
- itemToRemove: (value) => ({ itemToRemove: serializeAws_restJson1ItemIdentifier(value, context) }),
2378
+ itemToAdd: (value) => ({ itemToAdd: se_RelatedItem(value, context) }),
2379
+ itemToRemove: (value) => ({ itemToRemove: se_ItemIdentifier(value, context) }),
2398
2380
  _: (name, value) => ({ name: value }),
2399
2381
  });
2400
2382
  };
2401
- const serializeAws_restJson1SsmAutomation = (input, context) => {
2383
+ const se_SsmAutomation = (input, context) => {
2402
2384
  return {
2403
2385
  ...(input.documentName != null && { documentName: input.documentName }),
2404
2386
  ...(input.documentVersion != null && { documentVersion: input.documentVersion }),
2405
2387
  ...(input.dynamicParameters != null && {
2406
- dynamicParameters: serializeAws_restJson1DynamicSsmParameters(input.dynamicParameters, context),
2388
+ dynamicParameters: se_DynamicSsmParameters(input.dynamicParameters, context),
2407
2389
  }),
2408
- ...(input.parameters != null && { parameters: serializeAws_restJson1SsmParameters(input.parameters, context) }),
2390
+ ...(input.parameters != null && { parameters: se_SsmParameters(input.parameters, context) }),
2409
2391
  ...(input.roleArn != null && { roleArn: input.roleArn }),
2410
2392
  ...(input.targetAccount != null && { targetAccount: input.targetAccount }),
2411
2393
  };
2412
2394
  };
2413
- const serializeAws_restJson1SsmParameters = (input, context) => {
2395
+ const se_SsmParameters = (input, context) => {
2414
2396
  return Object.entries(input).reduce((acc, [key, value]) => {
2415
2397
  if (value === null) {
2416
2398
  return acc;
2417
2399
  }
2418
- acc[key] = serializeAws_restJson1SsmParameterValues(value, context);
2400
+ acc[key] = se_SsmParameterValues(value, context);
2419
2401
  return acc;
2420
2402
  }, {});
2421
2403
  };
2422
- const serializeAws_restJson1SsmParameterValues = (input, context) => {
2404
+ const se_SsmParameterValues = (input, context) => {
2423
2405
  return input
2424
2406
  .filter((e) => e != null)
2425
2407
  .map((entry) => {
2426
2408
  return entry;
2427
2409
  });
2428
2410
  };
2429
- const serializeAws_restJson1StringList = (input, context) => {
2411
+ const se_StringList = (input, context) => {
2430
2412
  return input
2431
2413
  .filter((e) => e != null)
2432
2414
  .map((entry) => {
2433
2415
  return entry;
2434
2416
  });
2435
2417
  };
2436
- const serializeAws_restJson1TagMap = (input, context) => {
2418
+ const se_TagMap = (input, context) => {
2437
2419
  return Object.entries(input).reduce((acc, [key, value]) => {
2438
2420
  if (value === null) {
2439
2421
  return acc;
@@ -2442,7 +2424,7 @@ const serializeAws_restJson1TagMap = (input, context) => {
2442
2424
  return acc;
2443
2425
  }, {});
2444
2426
  };
2445
- const serializeAws_restJson1TagMapUpdate = (input, context) => {
2427
+ const se_TagMapUpdate = (input, context) => {
2446
2428
  return Object.entries(input).reduce((acc, [key, value]) => {
2447
2429
  if (value === null) {
2448
2430
  return acc;
@@ -2451,7 +2433,7 @@ const serializeAws_restJson1TagMapUpdate = (input, context) => {
2451
2433
  return acc;
2452
2434
  }, {});
2453
2435
  };
2454
- const serializeAws_restJson1TriggerDetails = (input, context) => {
2436
+ const se_TriggerDetails = (input, context) => {
2455
2437
  return {
2456
2438
  ...(input.rawData != null && { rawData: input.rawData }),
2457
2439
  ...(input.source != null && { source: input.source }),
@@ -2459,57 +2441,57 @@ const serializeAws_restJson1TriggerDetails = (input, context) => {
2459
2441
  ...(input.triggerArn != null && { triggerArn: input.triggerArn }),
2460
2442
  };
2461
2443
  };
2462
- const serializeAws_restJson1UpdateActionList = (input, context) => {
2444
+ const se_UpdateActionList = (input, context) => {
2463
2445
  return input
2464
2446
  .filter((e) => e != null)
2465
2447
  .map((entry) => {
2466
- return serializeAws_restJson1UpdateReplicationSetAction(entry, context);
2448
+ return se_UpdateReplicationSetAction(entry, context);
2467
2449
  });
2468
2450
  };
2469
- const serializeAws_restJson1UpdateReplicationSetAction = (input, context) => {
2451
+ const se_UpdateReplicationSetAction = (input, context) => {
2470
2452
  return models_0_1.UpdateReplicationSetAction.visit(input, {
2471
- addRegionAction: (value) => ({ addRegionAction: serializeAws_restJson1AddRegionAction(value, context) }),
2472
- deleteRegionAction: (value) => ({ deleteRegionAction: serializeAws_restJson1DeleteRegionAction(value, context) }),
2453
+ addRegionAction: (value) => ({ addRegionAction: se_AddRegionAction(value, context) }),
2454
+ deleteRegionAction: (value) => ({ deleteRegionAction: se_DeleteRegionAction(value, context) }),
2473
2455
  _: (name, value) => ({ name: value }),
2474
2456
  });
2475
2457
  };
2476
- const deserializeAws_restJson1Action = (output, context) => {
2458
+ const de_Action = (output, context) => {
2477
2459
  if (output.ssmAutomation != null) {
2478
2460
  return {
2479
- ssmAutomation: deserializeAws_restJson1SsmAutomation(output.ssmAutomation, context),
2461
+ ssmAutomation: de_SsmAutomation(output.ssmAutomation, context),
2480
2462
  };
2481
2463
  }
2482
2464
  return { $unknown: Object.entries(output)[0] };
2483
2465
  };
2484
- const deserializeAws_restJson1ActionsList = (output, context) => {
2466
+ const de_ActionsList = (output, context) => {
2485
2467
  const retVal = (output || [])
2486
2468
  .filter((e) => e != null)
2487
2469
  .map((entry) => {
2488
2470
  if (entry === null) {
2489
2471
  return null;
2490
2472
  }
2491
- return deserializeAws_restJson1Action((0, smithy_client_1.expectUnion)(entry), context);
2473
+ return de_Action((0, smithy_client_1.expectUnion)(entry), context);
2492
2474
  });
2493
2475
  return retVal;
2494
2476
  };
2495
- const deserializeAws_restJson1AutomationExecution = (output, context) => {
2477
+ const de_AutomationExecution = (output, context) => {
2496
2478
  if ((0, smithy_client_1.expectString)(output.ssmExecutionArn) !== undefined) {
2497
2479
  return { ssmExecutionArn: (0, smithy_client_1.expectString)(output.ssmExecutionArn) };
2498
2480
  }
2499
2481
  return { $unknown: Object.entries(output)[0] };
2500
2482
  };
2501
- const deserializeAws_restJson1AutomationExecutionSet = (output, context) => {
2483
+ const de_AutomationExecutionSet = (output, context) => {
2502
2484
  const retVal = (output || [])
2503
2485
  .filter((e) => e != null)
2504
2486
  .map((entry) => {
2505
2487
  if (entry === null) {
2506
2488
  return null;
2507
2489
  }
2508
- return deserializeAws_restJson1AutomationExecution((0, smithy_client_1.expectUnion)(entry), context);
2490
+ return de_AutomationExecution((0, smithy_client_1.expectUnion)(entry), context);
2509
2491
  });
2510
2492
  return retVal;
2511
2493
  };
2512
- const deserializeAws_restJson1ChatbotSnsConfigurationSet = (output, context) => {
2494
+ const de_ChatbotSnsConfigurationSet = (output, context) => {
2513
2495
  const retVal = (output || [])
2514
2496
  .filter((e) => e != null)
2515
2497
  .map((entry) => {
@@ -2520,38 +2502,38 @@ const deserializeAws_restJson1ChatbotSnsConfigurationSet = (output, context) =>
2520
2502
  });
2521
2503
  return retVal;
2522
2504
  };
2523
- const deserializeAws_restJson1ChatChannel = (output, context) => {
2505
+ const de_ChatChannel = (output, context) => {
2524
2506
  if (output.chatbotSns != null) {
2525
2507
  return {
2526
- chatbotSns: deserializeAws_restJson1ChatbotSnsConfigurationSet(output.chatbotSns, context),
2508
+ chatbotSns: de_ChatbotSnsConfigurationSet(output.chatbotSns, context),
2527
2509
  };
2528
2510
  }
2529
2511
  if (output.empty != null) {
2530
2512
  return {
2531
- empty: deserializeAws_restJson1EmptyChatChannel(output.empty, context),
2513
+ empty: de_EmptyChatChannel(output.empty, context),
2532
2514
  };
2533
2515
  }
2534
2516
  return { $unknown: Object.entries(output)[0] };
2535
2517
  };
2536
- const deserializeAws_restJson1DynamicSsmParameters = (output, context) => {
2518
+ const de_DynamicSsmParameters = (output, context) => {
2537
2519
  return Object.entries(output).reduce((acc, [key, value]) => {
2538
2520
  if (value === null) {
2539
2521
  return acc;
2540
2522
  }
2541
- acc[key] = deserializeAws_restJson1DynamicSsmParameterValue((0, smithy_client_1.expectUnion)(value), context);
2523
+ acc[key] = de_DynamicSsmParameterValue((0, smithy_client_1.expectUnion)(value), context);
2542
2524
  return acc;
2543
2525
  }, {});
2544
2526
  };
2545
- const deserializeAws_restJson1DynamicSsmParameterValue = (output, context) => {
2527
+ const de_DynamicSsmParameterValue = (output, context) => {
2546
2528
  if ((0, smithy_client_1.expectString)(output.variable) !== undefined) {
2547
2529
  return { variable: (0, smithy_client_1.expectString)(output.variable) };
2548
2530
  }
2549
2531
  return { $unknown: Object.entries(output)[0] };
2550
2532
  };
2551
- const deserializeAws_restJson1EmptyChatChannel = (output, context) => {
2533
+ const de_EmptyChatChannel = (output, context) => {
2552
2534
  return {};
2553
2535
  };
2554
- const deserializeAws_restJson1EngagementSet = (output, context) => {
2536
+ const de_EngagementSet = (output, context) => {
2555
2537
  const retVal = (output || [])
2556
2538
  .filter((e) => e != null)
2557
2539
  .map((entry) => {
@@ -2562,7 +2544,7 @@ const deserializeAws_restJson1EngagementSet = (output, context) => {
2562
2544
  });
2563
2545
  return retVal;
2564
2546
  };
2565
- const deserializeAws_restJson1EventReference = (output, context) => {
2547
+ const de_EventReference = (output, context) => {
2566
2548
  if ((0, smithy_client_1.expectString)(output.relatedItemId) !== undefined) {
2567
2549
  return { relatedItemId: (0, smithy_client_1.expectString)(output.relatedItemId) };
2568
2550
  }
@@ -2571,23 +2553,21 @@ const deserializeAws_restJson1EventReference = (output, context) => {
2571
2553
  }
2572
2554
  return { $unknown: Object.entries(output)[0] };
2573
2555
  };
2574
- const deserializeAws_restJson1EventReferenceList = (output, context) => {
2556
+ const de_EventReferenceList = (output, context) => {
2575
2557
  const retVal = (output || [])
2576
2558
  .filter((e) => e != null)
2577
2559
  .map((entry) => {
2578
2560
  if (entry === null) {
2579
2561
  return null;
2580
2562
  }
2581
- return deserializeAws_restJson1EventReference((0, smithy_client_1.expectUnion)(entry), context);
2563
+ return de_EventReference((0, smithy_client_1.expectUnion)(entry), context);
2582
2564
  });
2583
2565
  return retVal;
2584
2566
  };
2585
- const deserializeAws_restJson1EventSummary = (output, context) => {
2567
+ const de_EventSummary = (output, context) => {
2586
2568
  return {
2587
2569
  eventId: (0, smithy_client_1.expectString)(output.eventId),
2588
- eventReferences: output.eventReferences != null
2589
- ? deserializeAws_restJson1EventReferenceList(output.eventReferences, context)
2590
- : undefined,
2570
+ eventReferences: output.eventReferences != null ? de_EventReferenceList(output.eventReferences, context) : undefined,
2591
2571
  eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTime))) : undefined,
2592
2572
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2593
2573
  eventUpdatedTime: output.eventUpdatedTime != null
@@ -2596,41 +2576,33 @@ const deserializeAws_restJson1EventSummary = (output, context) => {
2596
2576
  incidentRecordArn: (0, smithy_client_1.expectString)(output.incidentRecordArn),
2597
2577
  };
2598
2578
  };
2599
- const deserializeAws_restJson1EventSummaryList = (output, context) => {
2579
+ const de_EventSummaryList = (output, context) => {
2600
2580
  const retVal = (output || [])
2601
2581
  .filter((e) => e != null)
2602
2582
  .map((entry) => {
2603
2583
  if (entry === null) {
2604
2584
  return null;
2605
2585
  }
2606
- return deserializeAws_restJson1EventSummary(entry, context);
2586
+ return de_EventSummary(entry, context);
2607
2587
  });
2608
2588
  return retVal;
2609
2589
  };
2610
- const deserializeAws_restJson1IncidentRecord = (output, context) => {
2590
+ const de_IncidentRecord = (output, context) => {
2611
2591
  return {
2612
2592
  arn: (0, smithy_client_1.expectString)(output.arn),
2613
- automationExecutions: output.automationExecutions != null
2614
- ? deserializeAws_restJson1AutomationExecutionSet(output.automationExecutions, context)
2615
- : undefined,
2616
- chatChannel: output.chatChannel != null
2617
- ? deserializeAws_restJson1ChatChannel((0, smithy_client_1.expectUnion)(output.chatChannel), context)
2618
- : undefined,
2593
+ automationExecutions: output.automationExecutions != null ? de_AutomationExecutionSet(output.automationExecutions, context) : undefined,
2594
+ chatChannel: output.chatChannel != null ? de_ChatChannel((0, smithy_client_1.expectUnion)(output.chatChannel), context) : undefined,
2619
2595
  creationTime: output.creationTime != null
2620
2596
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
2621
2597
  : undefined,
2622
2598
  dedupeString: (0, smithy_client_1.expectString)(output.dedupeString),
2623
2599
  impact: (0, smithy_client_1.expectInt32)(output.impact),
2624
- incidentRecordSource: output.incidentRecordSource != null
2625
- ? deserializeAws_restJson1IncidentRecordSource(output.incidentRecordSource, context)
2626
- : undefined,
2600
+ incidentRecordSource: output.incidentRecordSource != null ? de_IncidentRecordSource(output.incidentRecordSource, context) : undefined,
2627
2601
  lastModifiedBy: (0, smithy_client_1.expectString)(output.lastModifiedBy),
2628
2602
  lastModifiedTime: output.lastModifiedTime != null
2629
2603
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedTime)))
2630
2604
  : undefined,
2631
- notificationTargets: output.notificationTargets != null
2632
- ? deserializeAws_restJson1NotificationTargetSet(output.notificationTargets, context)
2633
- : undefined,
2605
+ notificationTargets: output.notificationTargets != null ? de_NotificationTargetSet(output.notificationTargets, context) : undefined,
2634
2606
  resolvedTime: output.resolvedTime != null
2635
2607
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resolvedTime)))
2636
2608
  : undefined,
@@ -2639,7 +2611,7 @@ const deserializeAws_restJson1IncidentRecord = (output, context) => {
2639
2611
  title: (0, smithy_client_1.expectString)(output.title),
2640
2612
  };
2641
2613
  };
2642
- const deserializeAws_restJson1IncidentRecordSource = (output, context) => {
2614
+ const de_IncidentRecordSource = (output, context) => {
2643
2615
  return {
2644
2616
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
2645
2617
  invokedBy: (0, smithy_client_1.expectString)(output.invokedBy),
@@ -2647,16 +2619,14 @@ const deserializeAws_restJson1IncidentRecordSource = (output, context) => {
2647
2619
  source: (0, smithy_client_1.expectString)(output.source),
2648
2620
  };
2649
2621
  };
2650
- const deserializeAws_restJson1IncidentRecordSummary = (output, context) => {
2622
+ const de_IncidentRecordSummary = (output, context) => {
2651
2623
  return {
2652
2624
  arn: (0, smithy_client_1.expectString)(output.arn),
2653
2625
  creationTime: output.creationTime != null
2654
2626
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
2655
2627
  : undefined,
2656
2628
  impact: (0, smithy_client_1.expectInt32)(output.impact),
2657
- incidentRecordSource: output.incidentRecordSource != null
2658
- ? deserializeAws_restJson1IncidentRecordSource(output.incidentRecordSource, context)
2659
- : undefined,
2629
+ incidentRecordSource: output.incidentRecordSource != null ? de_IncidentRecordSource(output.incidentRecordSource, context) : undefined,
2660
2630
  resolvedTime: output.resolvedTime != null
2661
2631
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resolvedTime)))
2662
2632
  : undefined,
@@ -2664,55 +2634,53 @@ const deserializeAws_restJson1IncidentRecordSummary = (output, context) => {
2664
2634
  title: (0, smithy_client_1.expectString)(output.title),
2665
2635
  };
2666
2636
  };
2667
- const deserializeAws_restJson1IncidentRecordSummaryList = (output, context) => {
2637
+ const de_IncidentRecordSummaryList = (output, context) => {
2668
2638
  const retVal = (output || [])
2669
2639
  .filter((e) => e != null)
2670
2640
  .map((entry) => {
2671
2641
  if (entry === null) {
2672
2642
  return null;
2673
2643
  }
2674
- return deserializeAws_restJson1IncidentRecordSummary(entry, context);
2644
+ return de_IncidentRecordSummary(entry, context);
2675
2645
  });
2676
2646
  return retVal;
2677
2647
  };
2678
- const deserializeAws_restJson1IncidentTemplate = (output, context) => {
2648
+ const de_IncidentTemplate = (output, context) => {
2679
2649
  return {
2680
2650
  dedupeString: (0, smithy_client_1.expectString)(output.dedupeString),
2681
2651
  impact: (0, smithy_client_1.expectInt32)(output.impact),
2682
- incidentTags: output.incidentTags != null ? deserializeAws_restJson1TagMap(output.incidentTags, context) : undefined,
2683
- notificationTargets: output.notificationTargets != null
2684
- ? deserializeAws_restJson1NotificationTargetSet(output.notificationTargets, context)
2685
- : undefined,
2652
+ incidentTags: output.incidentTags != null ? de_TagMap(output.incidentTags, context) : undefined,
2653
+ notificationTargets: output.notificationTargets != null ? de_NotificationTargetSet(output.notificationTargets, context) : undefined,
2686
2654
  summary: (0, smithy_client_1.expectString)(output.summary),
2687
2655
  title: (0, smithy_client_1.expectString)(output.title),
2688
2656
  };
2689
2657
  };
2690
- const deserializeAws_restJson1Integration = (output, context) => {
2658
+ const de_Integration = (output, context) => {
2691
2659
  if (output.pagerDutyConfiguration != null) {
2692
2660
  return {
2693
- pagerDutyConfiguration: deserializeAws_restJson1PagerDutyConfiguration(output.pagerDutyConfiguration, context),
2661
+ pagerDutyConfiguration: de_PagerDutyConfiguration(output.pagerDutyConfiguration, context),
2694
2662
  };
2695
2663
  }
2696
2664
  return { $unknown: Object.entries(output)[0] };
2697
2665
  };
2698
- const deserializeAws_restJson1Integrations = (output, context) => {
2666
+ const de_Integrations = (output, context) => {
2699
2667
  const retVal = (output || [])
2700
2668
  .filter((e) => e != null)
2701
2669
  .map((entry) => {
2702
2670
  if (entry === null) {
2703
2671
  return null;
2704
2672
  }
2705
- return deserializeAws_restJson1Integration((0, smithy_client_1.expectUnion)(entry), context);
2673
+ return de_Integration((0, smithy_client_1.expectUnion)(entry), context);
2706
2674
  });
2707
2675
  return retVal;
2708
2676
  };
2709
- const deserializeAws_restJson1ItemIdentifier = (output, context) => {
2677
+ const de_ItemIdentifier = (output, context) => {
2710
2678
  return {
2711
2679
  type: (0, smithy_client_1.expectString)(output.type),
2712
- value: output.value != null ? deserializeAws_restJson1ItemValue((0, smithy_client_1.expectUnion)(output.value), context) : undefined,
2680
+ value: output.value != null ? de_ItemValue((0, smithy_client_1.expectUnion)(output.value), context) : undefined,
2713
2681
  };
2714
2682
  };
2715
- const deserializeAws_restJson1ItemValue = (output, context) => {
2683
+ const de_ItemValue = (output, context) => {
2716
2684
  if ((0, smithy_client_1.expectString)(output.arn) !== undefined) {
2717
2685
  return { arn: (0, smithy_client_1.expectString)(output.arn) };
2718
2686
  }
@@ -2721,7 +2689,7 @@ const deserializeAws_restJson1ItemValue = (output, context) => {
2721
2689
  }
2722
2690
  if (output.pagerDutyIncidentDetail != null) {
2723
2691
  return {
2724
- pagerDutyIncidentDetail: deserializeAws_restJson1PagerDutyIncidentDetail(output.pagerDutyIncidentDetail, context),
2692
+ pagerDutyIncidentDetail: de_PagerDutyIncidentDetail(output.pagerDutyIncidentDetail, context),
2725
2693
  };
2726
2694
  }
2727
2695
  if ((0, smithy_client_1.expectString)(output.url) !== undefined) {
@@ -2729,45 +2697,45 @@ const deserializeAws_restJson1ItemValue = (output, context) => {
2729
2697
  }
2730
2698
  return { $unknown: Object.entries(output)[0] };
2731
2699
  };
2732
- const deserializeAws_restJson1NotificationTargetItem = (output, context) => {
2700
+ const de_NotificationTargetItem = (output, context) => {
2733
2701
  if ((0, smithy_client_1.expectString)(output.snsTopicArn) !== undefined) {
2734
2702
  return { snsTopicArn: (0, smithy_client_1.expectString)(output.snsTopicArn) };
2735
2703
  }
2736
2704
  return { $unknown: Object.entries(output)[0] };
2737
2705
  };
2738
- const deserializeAws_restJson1NotificationTargetSet = (output, context) => {
2706
+ const de_NotificationTargetSet = (output, context) => {
2739
2707
  const retVal = (output || [])
2740
2708
  .filter((e) => e != null)
2741
2709
  .map((entry) => {
2742
2710
  if (entry === null) {
2743
2711
  return null;
2744
2712
  }
2745
- return deserializeAws_restJson1NotificationTargetItem((0, smithy_client_1.expectUnion)(entry), context);
2713
+ return de_NotificationTargetItem((0, smithy_client_1.expectUnion)(entry), context);
2746
2714
  });
2747
2715
  return retVal;
2748
2716
  };
2749
- const deserializeAws_restJson1PagerDutyConfiguration = (output, context) => {
2717
+ const de_PagerDutyConfiguration = (output, context) => {
2750
2718
  return {
2751
2719
  name: (0, smithy_client_1.expectString)(output.name),
2752
2720
  pagerDutyIncidentConfiguration: output.pagerDutyIncidentConfiguration != null
2753
- ? deserializeAws_restJson1PagerDutyIncidentConfiguration(output.pagerDutyIncidentConfiguration, context)
2721
+ ? de_PagerDutyIncidentConfiguration(output.pagerDutyIncidentConfiguration, context)
2754
2722
  : undefined,
2755
2723
  secretId: (0, smithy_client_1.expectString)(output.secretId),
2756
2724
  };
2757
2725
  };
2758
- const deserializeAws_restJson1PagerDutyIncidentConfiguration = (output, context) => {
2726
+ const de_PagerDutyIncidentConfiguration = (output, context) => {
2759
2727
  return {
2760
2728
  serviceId: (0, smithy_client_1.expectString)(output.serviceId),
2761
2729
  };
2762
2730
  };
2763
- const deserializeAws_restJson1PagerDutyIncidentDetail = (output, context) => {
2731
+ const de_PagerDutyIncidentDetail = (output, context) => {
2764
2732
  return {
2765
2733
  autoResolve: (0, smithy_client_1.expectBoolean)(output.autoResolve),
2766
2734
  id: (0, smithy_client_1.expectString)(output.id),
2767
2735
  secretId: (0, smithy_client_1.expectString)(output.secretId),
2768
2736
  };
2769
2737
  };
2770
- const deserializeAws_restJson1RegionInfo = (output, context) => {
2738
+ const de_RegionInfo = (output, context) => {
2771
2739
  return {
2772
2740
  sseKmsKeyId: (0, smithy_client_1.expectString)(output.sseKmsKeyId),
2773
2741
  status: (0, smithy_client_1.expectString)(output.status),
@@ -2777,34 +2745,34 @@ const deserializeAws_restJson1RegionInfo = (output, context) => {
2777
2745
  : undefined,
2778
2746
  };
2779
2747
  };
2780
- const deserializeAws_restJson1RegionInfoMap = (output, context) => {
2748
+ const de_RegionInfoMap = (output, context) => {
2781
2749
  return Object.entries(output).reduce((acc, [key, value]) => {
2782
2750
  if (value === null) {
2783
2751
  return acc;
2784
2752
  }
2785
- acc[key] = deserializeAws_restJson1RegionInfo(value, context);
2753
+ acc[key] = de_RegionInfo(value, context);
2786
2754
  return acc;
2787
2755
  }, {});
2788
2756
  };
2789
- const deserializeAws_restJson1RelatedItem = (output, context) => {
2757
+ const de_RelatedItem = (output, context) => {
2790
2758
  return {
2791
2759
  generatedId: (0, smithy_client_1.expectString)(output.generatedId),
2792
- identifier: output.identifier != null ? deserializeAws_restJson1ItemIdentifier(output.identifier, context) : undefined,
2760
+ identifier: output.identifier != null ? de_ItemIdentifier(output.identifier, context) : undefined,
2793
2761
  title: (0, smithy_client_1.expectString)(output.title),
2794
2762
  };
2795
2763
  };
2796
- const deserializeAws_restJson1RelatedItemList = (output, context) => {
2764
+ const de_RelatedItemList = (output, context) => {
2797
2765
  const retVal = (output || [])
2798
2766
  .filter((e) => e != null)
2799
2767
  .map((entry) => {
2800
2768
  if (entry === null) {
2801
2769
  return null;
2802
2770
  }
2803
- return deserializeAws_restJson1RelatedItem(entry, context);
2771
+ return de_RelatedItem(entry, context);
2804
2772
  });
2805
2773
  return retVal;
2806
2774
  };
2807
- const deserializeAws_restJson1ReplicationSet = (output, context) => {
2775
+ const de_ReplicationSet = (output, context) => {
2808
2776
  return {
2809
2777
  arn: (0, smithy_client_1.expectString)(output.arn),
2810
2778
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
@@ -2816,11 +2784,11 @@ const deserializeAws_restJson1ReplicationSet = (output, context) => {
2816
2784
  lastModifiedTime: output.lastModifiedTime != null
2817
2785
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedTime)))
2818
2786
  : undefined,
2819
- regionMap: output.regionMap != null ? deserializeAws_restJson1RegionInfoMap(output.regionMap, context) : undefined,
2787
+ regionMap: output.regionMap != null ? de_RegionInfoMap(output.regionMap, context) : undefined,
2820
2788
  status: (0, smithy_client_1.expectString)(output.status),
2821
2789
  };
2822
2790
  };
2823
- const deserializeAws_restJson1ReplicationSetArnList = (output, context) => {
2791
+ const de_ReplicationSetArnList = (output, context) => {
2824
2792
  const retVal = (output || [])
2825
2793
  .filter((e) => e != null)
2826
2794
  .map((entry) => {
@@ -2831,64 +2799,62 @@ const deserializeAws_restJson1ReplicationSetArnList = (output, context) => {
2831
2799
  });
2832
2800
  return retVal;
2833
2801
  };
2834
- const deserializeAws_restJson1ResourcePolicy = (output, context) => {
2802
+ const de_ResourcePolicy = (output, context) => {
2835
2803
  return {
2836
2804
  policyDocument: (0, smithy_client_1.expectString)(output.policyDocument),
2837
2805
  policyId: (0, smithy_client_1.expectString)(output.policyId),
2838
2806
  ramResourceShareRegion: (0, smithy_client_1.expectString)(output.ramResourceShareRegion),
2839
2807
  };
2840
2808
  };
2841
- const deserializeAws_restJson1ResourcePolicyList = (output, context) => {
2809
+ const de_ResourcePolicyList = (output, context) => {
2842
2810
  const retVal = (output || [])
2843
2811
  .filter((e) => e != null)
2844
2812
  .map((entry) => {
2845
2813
  if (entry === null) {
2846
2814
  return null;
2847
2815
  }
2848
- return deserializeAws_restJson1ResourcePolicy(entry, context);
2816
+ return de_ResourcePolicy(entry, context);
2849
2817
  });
2850
2818
  return retVal;
2851
2819
  };
2852
- const deserializeAws_restJson1ResponsePlanSummary = (output, context) => {
2820
+ const de_ResponsePlanSummary = (output, context) => {
2853
2821
  return {
2854
2822
  arn: (0, smithy_client_1.expectString)(output.arn),
2855
2823
  displayName: (0, smithy_client_1.expectString)(output.displayName),
2856
2824
  name: (0, smithy_client_1.expectString)(output.name),
2857
2825
  };
2858
2826
  };
2859
- const deserializeAws_restJson1ResponsePlanSummaryList = (output, context) => {
2827
+ const de_ResponsePlanSummaryList = (output, context) => {
2860
2828
  const retVal = (output || [])
2861
2829
  .filter((e) => e != null)
2862
2830
  .map((entry) => {
2863
2831
  if (entry === null) {
2864
2832
  return null;
2865
2833
  }
2866
- return deserializeAws_restJson1ResponsePlanSummary(entry, context);
2834
+ return de_ResponsePlanSummary(entry, context);
2867
2835
  });
2868
2836
  return retVal;
2869
2837
  };
2870
- const deserializeAws_restJson1SsmAutomation = (output, context) => {
2838
+ const de_SsmAutomation = (output, context) => {
2871
2839
  return {
2872
2840
  documentName: (0, smithy_client_1.expectString)(output.documentName),
2873
2841
  documentVersion: (0, smithy_client_1.expectString)(output.documentVersion),
2874
- dynamicParameters: output.dynamicParameters != null
2875
- ? deserializeAws_restJson1DynamicSsmParameters(output.dynamicParameters, context)
2876
- : undefined,
2877
- parameters: output.parameters != null ? deserializeAws_restJson1SsmParameters(output.parameters, context) : undefined,
2842
+ dynamicParameters: output.dynamicParameters != null ? de_DynamicSsmParameters(output.dynamicParameters, context) : undefined,
2843
+ parameters: output.parameters != null ? de_SsmParameters(output.parameters, context) : undefined,
2878
2844
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
2879
2845
  targetAccount: (0, smithy_client_1.expectString)(output.targetAccount),
2880
2846
  };
2881
2847
  };
2882
- const deserializeAws_restJson1SsmParameters = (output, context) => {
2848
+ const de_SsmParameters = (output, context) => {
2883
2849
  return Object.entries(output).reduce((acc, [key, value]) => {
2884
2850
  if (value === null) {
2885
2851
  return acc;
2886
2852
  }
2887
- acc[key] = deserializeAws_restJson1SsmParameterValues(value, context);
2853
+ acc[key] = de_SsmParameterValues(value, context);
2888
2854
  return acc;
2889
2855
  }, {});
2890
2856
  };
2891
- const deserializeAws_restJson1SsmParameterValues = (output, context) => {
2857
+ const de_SsmParameterValues = (output, context) => {
2892
2858
  const retVal = (output || [])
2893
2859
  .filter((e) => e != null)
2894
2860
  .map((entry) => {
@@ -2899,7 +2865,7 @@ const deserializeAws_restJson1SsmParameterValues = (output, context) => {
2899
2865
  });
2900
2866
  return retVal;
2901
2867
  };
2902
- const deserializeAws_restJson1TagMap = (output, context) => {
2868
+ const de_TagMap = (output, context) => {
2903
2869
  return Object.entries(output).reduce((acc, [key, value]) => {
2904
2870
  if (value === null) {
2905
2871
  return acc;
@@ -2908,13 +2874,11 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2908
2874
  return acc;
2909
2875
  }, {});
2910
2876
  };
2911
- const deserializeAws_restJson1TimelineEvent = (output, context) => {
2877
+ const de_TimelineEvent = (output, context) => {
2912
2878
  return {
2913
2879
  eventData: (0, smithy_client_1.expectString)(output.eventData),
2914
2880
  eventId: (0, smithy_client_1.expectString)(output.eventId),
2915
- eventReferences: output.eventReferences != null
2916
- ? deserializeAws_restJson1EventReferenceList(output.eventReferences, context)
2917
- : undefined,
2881
+ eventReferences: output.eventReferences != null ? de_EventReferenceList(output.eventReferences, context) : undefined,
2918
2882
  eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTime))) : undefined,
2919
2883
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2920
2884
  eventUpdatedTime: output.eventUpdatedTime != null