@aws-sdk/client-drs 3.306.0 → 3.310.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 (75) hide show
  1. package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +2 -2
  2. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +2 -2
  3. package/dist-cjs/commands/DeleteJobCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteSourceServerCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeJobsCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeSourceServersCommand.js +2 -2
  13. package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +2 -2
  14. package/dist-cjs/commands/DisconnectSourceServerCommand.js +2 -2
  15. package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +2 -2
  16. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +2 -2
  17. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +2 -2
  18. package/dist-cjs/commands/InitializeServiceCommand.js +2 -2
  19. package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +2 -2
  20. package/dist-cjs/commands/ListStagingAccountsCommand.js +2 -2
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  22. package/dist-cjs/commands/RetryDataReplicationCommand.js +2 -2
  23. package/dist-cjs/commands/ReverseReplicationCommand.js +2 -2
  24. package/dist-cjs/commands/StartFailbackLaunchCommand.js +2 -2
  25. package/dist-cjs/commands/StartRecoveryCommand.js +2 -2
  26. package/dist-cjs/commands/StartReplicationCommand.js +2 -2
  27. package/dist-cjs/commands/StopFailbackCommand.js +2 -2
  28. package/dist-cjs/commands/StopReplicationCommand.js +2 -2
  29. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  30. package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +2 -2
  31. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -2
  36. package/dist-cjs/protocols/Aws_restJson1.js +627 -669
  37. package/dist-es/commands/CreateExtendedSourceServerCommand.js +3 -3
  38. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  39. package/dist-es/commands/DeleteJobCommand.js +3 -3
  40. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +3 -3
  41. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  42. package/dist-es/commands/DeleteSourceServerCommand.js +3 -3
  43. package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -3
  44. package/dist-es/commands/DescribeJobsCommand.js +3 -3
  45. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +3 -3
  46. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +3 -3
  47. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  48. package/dist-es/commands/DescribeSourceServersCommand.js +3 -3
  49. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +3 -3
  50. package/dist-es/commands/DisconnectSourceServerCommand.js +3 -3
  51. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +3 -3
  52. package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -3
  53. package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -3
  54. package/dist-es/commands/InitializeServiceCommand.js +3 -3
  55. package/dist-es/commands/ListExtensibleSourceServersCommand.js +3 -3
  56. package/dist-es/commands/ListStagingAccountsCommand.js +3 -3
  57. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  58. package/dist-es/commands/RetryDataReplicationCommand.js +3 -3
  59. package/dist-es/commands/ReverseReplicationCommand.js +3 -3
  60. package/dist-es/commands/StartFailbackLaunchCommand.js +3 -3
  61. package/dist-es/commands/StartRecoveryCommand.js +3 -3
  62. package/dist-es/commands/StartReplicationCommand.js +3 -3
  63. package/dist-es/commands/StopFailbackCommand.js +3 -3
  64. package/dist-es/commands/StopReplicationCommand.js +3 -3
  65. package/dist-es/commands/TagResourceCommand.js +3 -3
  66. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +3 -3
  67. package/dist-es/commands/UntagResourceCommand.js +3 -3
  68. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +3 -3
  69. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -3
  70. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -3
  71. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  72. package/dist-es/protocols/Aws_restJson1.js +555 -597
  73. package/dist-types/protocols/Aws_restJson1.d.ts +280 -70
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +70 -70
  75. package/package.json +35 -35
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetFailbackReplicationConfigurationCommand = exports.deserializeAws_restJson1DisconnectSourceServerCommand = exports.deserializeAws_restJson1DisconnectRecoveryInstanceCommand = exports.deserializeAws_restJson1DescribeSourceServersCommand = exports.deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = exports.deserializeAws_restJson1DescribeRecoverySnapshotsCommand = exports.deserializeAws_restJson1DescribeRecoveryInstancesCommand = exports.deserializeAws_restJson1DescribeJobsCommand = exports.deserializeAws_restJson1DescribeJobLogItemsCommand = exports.deserializeAws_restJson1DeleteSourceServerCommand = exports.deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = exports.deserializeAws_restJson1DeleteRecoveryInstanceCommand = exports.deserializeAws_restJson1DeleteJobCommand = exports.deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = exports.deserializeAws_restJson1CreateExtendedSourceServerCommand = exports.serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = exports.serializeAws_restJson1UpdateReplicationConfigurationCommand = exports.serializeAws_restJson1UpdateLaunchConfigurationCommand = exports.serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TerminateRecoveryInstancesCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopReplicationCommand = exports.serializeAws_restJson1StopFailbackCommand = exports.serializeAws_restJson1StartReplicationCommand = exports.serializeAws_restJson1StartRecoveryCommand = exports.serializeAws_restJson1StartFailbackLaunchCommand = exports.serializeAws_restJson1ReverseReplicationCommand = exports.serializeAws_restJson1RetryDataReplicationCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListStagingAccountsCommand = exports.serializeAws_restJson1ListExtensibleSourceServersCommand = exports.serializeAws_restJson1InitializeServiceCommand = exports.serializeAws_restJson1GetReplicationConfigurationCommand = exports.serializeAws_restJson1GetLaunchConfigurationCommand = exports.serializeAws_restJson1GetFailbackReplicationConfigurationCommand = exports.serializeAws_restJson1DisconnectSourceServerCommand = exports.serializeAws_restJson1DisconnectRecoveryInstanceCommand = exports.serializeAws_restJson1DescribeSourceServersCommand = exports.serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = exports.serializeAws_restJson1DescribeRecoverySnapshotsCommand = exports.serializeAws_restJson1DescribeRecoveryInstancesCommand = exports.serializeAws_restJson1DescribeJobsCommand = exports.serializeAws_restJson1DescribeJobLogItemsCommand = exports.serializeAws_restJson1DeleteSourceServerCommand = exports.serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = exports.serializeAws_restJson1DeleteRecoveryInstanceCommand = exports.serializeAws_restJson1DeleteJobCommand = exports.serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = exports.serializeAws_restJson1CreateExtendedSourceServerCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = exports.deserializeAws_restJson1UpdateReplicationConfigurationCommand = exports.deserializeAws_restJson1UpdateLaunchConfigurationCommand = exports.deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TerminateRecoveryInstancesCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopReplicationCommand = exports.deserializeAws_restJson1StopFailbackCommand = exports.deserializeAws_restJson1StartReplicationCommand = exports.deserializeAws_restJson1StartRecoveryCommand = exports.deserializeAws_restJson1StartFailbackLaunchCommand = exports.deserializeAws_restJson1ReverseReplicationCommand = exports.deserializeAws_restJson1RetryDataReplicationCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListStagingAccountsCommand = exports.deserializeAws_restJson1ListExtensibleSourceServersCommand = exports.deserializeAws_restJson1InitializeServiceCommand = exports.deserializeAws_restJson1GetReplicationConfigurationCommand = exports.deserializeAws_restJson1GetLaunchConfigurationCommand = void 0;
3
+ exports.de_GetFailbackReplicationConfigurationCommand = exports.de_DisconnectSourceServerCommand = exports.de_DisconnectRecoveryInstanceCommand = exports.de_DescribeSourceServersCommand = exports.de_DescribeReplicationConfigurationTemplatesCommand = exports.de_DescribeRecoverySnapshotsCommand = exports.de_DescribeRecoveryInstancesCommand = exports.de_DescribeJobsCommand = exports.de_DescribeJobLogItemsCommand = exports.de_DeleteSourceServerCommand = exports.de_DeleteReplicationConfigurationTemplateCommand = exports.de_DeleteRecoveryInstanceCommand = exports.de_DeleteJobCommand = exports.de_CreateReplicationConfigurationTemplateCommand = exports.de_CreateExtendedSourceServerCommand = exports.se_UpdateReplicationConfigurationTemplateCommand = exports.se_UpdateReplicationConfigurationCommand = exports.se_UpdateLaunchConfigurationCommand = exports.se_UpdateFailbackReplicationConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TerminateRecoveryInstancesCommand = exports.se_TagResourceCommand = exports.se_StopReplicationCommand = exports.se_StopFailbackCommand = exports.se_StartReplicationCommand = exports.se_StartRecoveryCommand = exports.se_StartFailbackLaunchCommand = exports.se_ReverseReplicationCommand = exports.se_RetryDataReplicationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStagingAccountsCommand = exports.se_ListExtensibleSourceServersCommand = exports.se_InitializeServiceCommand = exports.se_GetReplicationConfigurationCommand = exports.se_GetLaunchConfigurationCommand = exports.se_GetFailbackReplicationConfigurationCommand = exports.se_DisconnectSourceServerCommand = exports.se_DisconnectRecoveryInstanceCommand = exports.se_DescribeSourceServersCommand = exports.se_DescribeReplicationConfigurationTemplatesCommand = exports.se_DescribeRecoverySnapshotsCommand = exports.se_DescribeRecoveryInstancesCommand = exports.se_DescribeJobsCommand = exports.se_DescribeJobLogItemsCommand = exports.se_DeleteSourceServerCommand = exports.se_DeleteReplicationConfigurationTemplateCommand = exports.se_DeleteRecoveryInstanceCommand = exports.se_DeleteJobCommand = exports.se_CreateReplicationConfigurationTemplateCommand = exports.se_CreateExtendedSourceServerCommand = void 0;
4
+ exports.de_UpdateReplicationConfigurationTemplateCommand = exports.de_UpdateReplicationConfigurationCommand = exports.de_UpdateLaunchConfigurationCommand = exports.de_UpdateFailbackReplicationConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TerminateRecoveryInstancesCommand = exports.de_TagResourceCommand = exports.de_StopReplicationCommand = exports.de_StopFailbackCommand = exports.de_StartReplicationCommand = exports.de_StartRecoveryCommand = exports.de_StartFailbackLaunchCommand = exports.de_ReverseReplicationCommand = exports.de_RetryDataReplicationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStagingAccountsCommand = exports.de_ListExtensibleSourceServersCommand = exports.de_InitializeServiceCommand = exports.de_GetReplicationConfigurationCommand = exports.de_GetLaunchConfigurationCommand = 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 DrsServiceException_1 = require("../models/DrsServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1CreateExtendedSourceServerCommand = async (input, context) => {
9
+ const se_CreateExtendedSourceServerCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,7 +15,7 @@ const serializeAws_restJson1CreateExtendedSourceServerCommand = async (input, co
15
15
  let body;
16
16
  body = JSON.stringify({
17
17
  ...(input.sourceServerArn != null && { sourceServerArn: input.sourceServerArn }),
18
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
18
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
19
19
  });
20
20
  return new protocol_http_1.HttpRequest({
21
21
  protocol,
@@ -27,8 +27,8 @@ const serializeAws_restJson1CreateExtendedSourceServerCommand = async (input, co
27
27
  body,
28
28
  });
29
29
  };
30
- exports.serializeAws_restJson1CreateExtendedSourceServerCommand = serializeAws_restJson1CreateExtendedSourceServerCommand;
31
- const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = async (input, context) => {
30
+ exports.se_CreateExtendedSourceServerCommand = se_CreateExtendedSourceServerCommand;
31
+ const se_CreateReplicationConfigurationTemplateCommand = async (input, context) => {
32
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
33
  const headers = {
34
34
  "content-type": "application/json",
@@ -48,18 +48,16 @@ const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = asyn
48
48
  }),
49
49
  ...(input.ebsEncryption != null && { ebsEncryption: input.ebsEncryption }),
50
50
  ...(input.ebsEncryptionKeyArn != null && { ebsEncryptionKeyArn: input.ebsEncryptionKeyArn }),
51
- ...(input.pitPolicy != null && { pitPolicy: serializeAws_restJson1PITPolicy(input.pitPolicy, context) }),
51
+ ...(input.pitPolicy != null && { pitPolicy: se_PITPolicy(input.pitPolicy, context) }),
52
52
  ...(input.replicationServerInstanceType != null && {
53
53
  replicationServerInstanceType: input.replicationServerInstanceType,
54
54
  }),
55
55
  ...(input.replicationServersSecurityGroupsIDs != null && {
56
- replicationServersSecurityGroupsIDs: serializeAws_restJson1ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
56
+ replicationServersSecurityGroupsIDs: se_ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
57
57
  }),
58
58
  ...(input.stagingAreaSubnetId != null && { stagingAreaSubnetId: input.stagingAreaSubnetId }),
59
- ...(input.stagingAreaTags != null && {
60
- stagingAreaTags: serializeAws_restJson1TagsMap(input.stagingAreaTags, context),
61
- }),
62
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
59
+ ...(input.stagingAreaTags != null && { stagingAreaTags: se_TagsMap(input.stagingAreaTags, context) }),
60
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
63
61
  ...(input.useDedicatedReplicationServer != null && {
64
62
  useDedicatedReplicationServer: input.useDedicatedReplicationServer,
65
63
  }),
@@ -74,8 +72,8 @@ const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = asyn
74
72
  body,
75
73
  });
76
74
  };
77
- exports.serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = serializeAws_restJson1CreateReplicationConfigurationTemplateCommand;
78
- const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
75
+ exports.se_CreateReplicationConfigurationTemplateCommand = se_CreateReplicationConfigurationTemplateCommand;
76
+ const se_DeleteJobCommand = async (input, context) => {
79
77
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
80
78
  const headers = {
81
79
  "content-type": "application/json",
@@ -95,8 +93,8 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
95
93
  body,
96
94
  });
97
95
  };
98
- exports.serializeAws_restJson1DeleteJobCommand = serializeAws_restJson1DeleteJobCommand;
99
- const serializeAws_restJson1DeleteRecoveryInstanceCommand = async (input, context) => {
96
+ exports.se_DeleteJobCommand = se_DeleteJobCommand;
97
+ const se_DeleteRecoveryInstanceCommand = async (input, context) => {
100
98
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
101
99
  const headers = {
102
100
  "content-type": "application/json",
@@ -116,8 +114,8 @@ const serializeAws_restJson1DeleteRecoveryInstanceCommand = async (input, contex
116
114
  body,
117
115
  });
118
116
  };
119
- exports.serializeAws_restJson1DeleteRecoveryInstanceCommand = serializeAws_restJson1DeleteRecoveryInstanceCommand;
120
- const serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = async (input, context) => {
117
+ exports.se_DeleteRecoveryInstanceCommand = se_DeleteRecoveryInstanceCommand;
118
+ const se_DeleteReplicationConfigurationTemplateCommand = async (input, context) => {
121
119
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
122
120
  const headers = {
123
121
  "content-type": "application/json",
@@ -139,8 +137,8 @@ const serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = asyn
139
137
  body,
140
138
  });
141
139
  };
142
- exports.serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand;
143
- const serializeAws_restJson1DeleteSourceServerCommand = async (input, context) => {
140
+ exports.se_DeleteReplicationConfigurationTemplateCommand = se_DeleteReplicationConfigurationTemplateCommand;
141
+ const se_DeleteSourceServerCommand = async (input, context) => {
144
142
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
145
143
  const headers = {
146
144
  "content-type": "application/json",
@@ -160,8 +158,8 @@ const serializeAws_restJson1DeleteSourceServerCommand = async (input, context) =
160
158
  body,
161
159
  });
162
160
  };
163
- exports.serializeAws_restJson1DeleteSourceServerCommand = serializeAws_restJson1DeleteSourceServerCommand;
164
- const serializeAws_restJson1DescribeJobLogItemsCommand = async (input, context) => {
161
+ exports.se_DeleteSourceServerCommand = se_DeleteSourceServerCommand;
162
+ const se_DescribeJobLogItemsCommand = async (input, context) => {
165
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
164
  const headers = {
167
165
  "content-type": "application/json",
@@ -183,8 +181,8 @@ const serializeAws_restJson1DescribeJobLogItemsCommand = async (input, context)
183
181
  body,
184
182
  });
185
183
  };
186
- exports.serializeAws_restJson1DescribeJobLogItemsCommand = serializeAws_restJson1DescribeJobLogItemsCommand;
187
- const serializeAws_restJson1DescribeJobsCommand = async (input, context) => {
184
+ exports.se_DescribeJobLogItemsCommand = se_DescribeJobLogItemsCommand;
185
+ const se_DescribeJobsCommand = async (input, context) => {
188
186
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
187
  const headers = {
190
188
  "content-type": "application/json",
@@ -192,7 +190,7 @@ const serializeAws_restJson1DescribeJobsCommand = async (input, context) => {
192
190
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobs";
193
191
  let body;
194
192
  body = JSON.stringify({
195
- ...(input.filters != null && { filters: serializeAws_restJson1DescribeJobsRequestFilters(input.filters, context) }),
193
+ ...(input.filters != null && { filters: se_DescribeJobsRequestFilters(input.filters, context) }),
196
194
  ...(input.maxResults != null && { maxResults: input.maxResults }),
197
195
  ...(input.nextToken != null && { nextToken: input.nextToken }),
198
196
  });
@@ -206,8 +204,8 @@ const serializeAws_restJson1DescribeJobsCommand = async (input, context) => {
206
204
  body,
207
205
  });
208
206
  };
209
- exports.serializeAws_restJson1DescribeJobsCommand = serializeAws_restJson1DescribeJobsCommand;
210
- const serializeAws_restJson1DescribeRecoveryInstancesCommand = async (input, context) => {
207
+ exports.se_DescribeJobsCommand = se_DescribeJobsCommand;
208
+ const se_DescribeRecoveryInstancesCommand = async (input, context) => {
211
209
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
210
  const headers = {
213
211
  "content-type": "application/json",
@@ -215,9 +213,7 @@ const serializeAws_restJson1DescribeRecoveryInstancesCommand = async (input, con
215
213
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeRecoveryInstances";
216
214
  let body;
217
215
  body = JSON.stringify({
218
- ...(input.filters != null && {
219
- filters: serializeAws_restJson1DescribeRecoveryInstancesRequestFilters(input.filters, context),
220
- }),
216
+ ...(input.filters != null && { filters: se_DescribeRecoveryInstancesRequestFilters(input.filters, context) }),
221
217
  ...(input.maxResults != null && { maxResults: input.maxResults }),
222
218
  ...(input.nextToken != null && { nextToken: input.nextToken }),
223
219
  });
@@ -231,8 +227,8 @@ const serializeAws_restJson1DescribeRecoveryInstancesCommand = async (input, con
231
227
  body,
232
228
  });
233
229
  };
234
- exports.serializeAws_restJson1DescribeRecoveryInstancesCommand = serializeAws_restJson1DescribeRecoveryInstancesCommand;
235
- const serializeAws_restJson1DescribeRecoverySnapshotsCommand = async (input, context) => {
230
+ exports.se_DescribeRecoveryInstancesCommand = se_DescribeRecoveryInstancesCommand;
231
+ const se_DescribeRecoverySnapshotsCommand = async (input, context) => {
236
232
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
237
233
  const headers = {
238
234
  "content-type": "application/json",
@@ -240,9 +236,7 @@ const serializeAws_restJson1DescribeRecoverySnapshotsCommand = async (input, con
240
236
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeRecoverySnapshots";
241
237
  let body;
242
238
  body = JSON.stringify({
243
- ...(input.filters != null && {
244
- filters: serializeAws_restJson1DescribeRecoverySnapshotsRequestFilters(input.filters, context),
245
- }),
239
+ ...(input.filters != null && { filters: se_DescribeRecoverySnapshotsRequestFilters(input.filters, context) }),
246
240
  ...(input.maxResults != null && { maxResults: input.maxResults }),
247
241
  ...(input.nextToken != null && { nextToken: input.nextToken }),
248
242
  ...(input.order != null && { order: input.order }),
@@ -258,8 +252,8 @@ const serializeAws_restJson1DescribeRecoverySnapshotsCommand = async (input, con
258
252
  body,
259
253
  });
260
254
  };
261
- exports.serializeAws_restJson1DescribeRecoverySnapshotsCommand = serializeAws_restJson1DescribeRecoverySnapshotsCommand;
262
- const serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = async (input, context) => {
255
+ exports.se_DescribeRecoverySnapshotsCommand = se_DescribeRecoverySnapshotsCommand;
256
+ const se_DescribeReplicationConfigurationTemplatesCommand = async (input, context) => {
263
257
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
264
258
  const headers = {
265
259
  "content-type": "application/json",
@@ -271,7 +265,7 @@ const serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = a
271
265
  ...(input.maxResults != null && { maxResults: input.maxResults }),
272
266
  ...(input.nextToken != null && { nextToken: input.nextToken }),
273
267
  ...(input.replicationConfigurationTemplateIDs != null && {
274
- replicationConfigurationTemplateIDs: serializeAws_restJson1ReplicationConfigurationTemplateIDs(input.replicationConfigurationTemplateIDs, context),
268
+ replicationConfigurationTemplateIDs: se_ReplicationConfigurationTemplateIDs(input.replicationConfigurationTemplateIDs, context),
275
269
  }),
276
270
  });
277
271
  return new protocol_http_1.HttpRequest({
@@ -284,8 +278,8 @@ const serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = a
284
278
  body,
285
279
  });
286
280
  };
287
- exports.serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand;
288
- const serializeAws_restJson1DescribeSourceServersCommand = async (input, context) => {
281
+ exports.se_DescribeReplicationConfigurationTemplatesCommand = se_DescribeReplicationConfigurationTemplatesCommand;
282
+ const se_DescribeSourceServersCommand = async (input, context) => {
289
283
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
290
284
  const headers = {
291
285
  "content-type": "application/json",
@@ -293,9 +287,7 @@ const serializeAws_restJson1DescribeSourceServersCommand = async (input, context
293
287
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSourceServers";
294
288
  let body;
295
289
  body = JSON.stringify({
296
- ...(input.filters != null && {
297
- filters: serializeAws_restJson1DescribeSourceServersRequestFilters(input.filters, context),
298
- }),
290
+ ...(input.filters != null && { filters: se_DescribeSourceServersRequestFilters(input.filters, context) }),
299
291
  ...(input.maxResults != null && { maxResults: input.maxResults }),
300
292
  ...(input.nextToken != null && { nextToken: input.nextToken }),
301
293
  });
@@ -309,8 +301,8 @@ const serializeAws_restJson1DescribeSourceServersCommand = async (input, context
309
301
  body,
310
302
  });
311
303
  };
312
- exports.serializeAws_restJson1DescribeSourceServersCommand = serializeAws_restJson1DescribeSourceServersCommand;
313
- const serializeAws_restJson1DisconnectRecoveryInstanceCommand = async (input, context) => {
304
+ exports.se_DescribeSourceServersCommand = se_DescribeSourceServersCommand;
305
+ const se_DisconnectRecoveryInstanceCommand = async (input, context) => {
314
306
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
315
307
  const headers = {
316
308
  "content-type": "application/json",
@@ -330,8 +322,8 @@ const serializeAws_restJson1DisconnectRecoveryInstanceCommand = async (input, co
330
322
  body,
331
323
  });
332
324
  };
333
- exports.serializeAws_restJson1DisconnectRecoveryInstanceCommand = serializeAws_restJson1DisconnectRecoveryInstanceCommand;
334
- const serializeAws_restJson1DisconnectSourceServerCommand = async (input, context) => {
325
+ exports.se_DisconnectRecoveryInstanceCommand = se_DisconnectRecoveryInstanceCommand;
326
+ const se_DisconnectSourceServerCommand = async (input, context) => {
335
327
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
336
328
  const headers = {
337
329
  "content-type": "application/json",
@@ -351,8 +343,8 @@ const serializeAws_restJson1DisconnectSourceServerCommand = async (input, contex
351
343
  body,
352
344
  });
353
345
  };
354
- exports.serializeAws_restJson1DisconnectSourceServerCommand = serializeAws_restJson1DisconnectSourceServerCommand;
355
- const serializeAws_restJson1GetFailbackReplicationConfigurationCommand = async (input, context) => {
346
+ exports.se_DisconnectSourceServerCommand = se_DisconnectSourceServerCommand;
347
+ const se_GetFailbackReplicationConfigurationCommand = async (input, context) => {
356
348
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
349
  const headers = {
358
350
  "content-type": "application/json",
@@ -372,8 +364,8 @@ const serializeAws_restJson1GetFailbackReplicationConfigurationCommand = async (
372
364
  body,
373
365
  });
374
366
  };
375
- exports.serializeAws_restJson1GetFailbackReplicationConfigurationCommand = serializeAws_restJson1GetFailbackReplicationConfigurationCommand;
376
- const serializeAws_restJson1GetLaunchConfigurationCommand = async (input, context) => {
367
+ exports.se_GetFailbackReplicationConfigurationCommand = se_GetFailbackReplicationConfigurationCommand;
368
+ const se_GetLaunchConfigurationCommand = async (input, context) => {
377
369
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
378
370
  const headers = {
379
371
  "content-type": "application/json",
@@ -393,8 +385,8 @@ const serializeAws_restJson1GetLaunchConfigurationCommand = async (input, contex
393
385
  body,
394
386
  });
395
387
  };
396
- exports.serializeAws_restJson1GetLaunchConfigurationCommand = serializeAws_restJson1GetLaunchConfigurationCommand;
397
- const serializeAws_restJson1GetReplicationConfigurationCommand = async (input, context) => {
388
+ exports.se_GetLaunchConfigurationCommand = se_GetLaunchConfigurationCommand;
389
+ const se_GetReplicationConfigurationCommand = async (input, context) => {
398
390
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
399
391
  const headers = {
400
392
  "content-type": "application/json",
@@ -414,8 +406,8 @@ const serializeAws_restJson1GetReplicationConfigurationCommand = async (input, c
414
406
  body,
415
407
  });
416
408
  };
417
- exports.serializeAws_restJson1GetReplicationConfigurationCommand = serializeAws_restJson1GetReplicationConfigurationCommand;
418
- const serializeAws_restJson1InitializeServiceCommand = async (input, context) => {
409
+ exports.se_GetReplicationConfigurationCommand = se_GetReplicationConfigurationCommand;
410
+ const se_InitializeServiceCommand = async (input, context) => {
419
411
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
420
412
  const headers = {
421
413
  "content-type": "application/json",
@@ -433,8 +425,8 @@ const serializeAws_restJson1InitializeServiceCommand = async (input, context) =>
433
425
  body,
434
426
  });
435
427
  };
436
- exports.serializeAws_restJson1InitializeServiceCommand = serializeAws_restJson1InitializeServiceCommand;
437
- const serializeAws_restJson1ListExtensibleSourceServersCommand = async (input, context) => {
428
+ exports.se_InitializeServiceCommand = se_InitializeServiceCommand;
429
+ const se_ListExtensibleSourceServersCommand = async (input, context) => {
438
430
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
439
431
  const headers = {
440
432
  "content-type": "application/json",
@@ -456,8 +448,8 @@ const serializeAws_restJson1ListExtensibleSourceServersCommand = async (input, c
456
448
  body,
457
449
  });
458
450
  };
459
- exports.serializeAws_restJson1ListExtensibleSourceServersCommand = serializeAws_restJson1ListExtensibleSourceServersCommand;
460
- const serializeAws_restJson1ListStagingAccountsCommand = async (input, context) => {
451
+ exports.se_ListExtensibleSourceServersCommand = se_ListExtensibleSourceServersCommand;
452
+ const se_ListStagingAccountsCommand = async (input, context) => {
461
453
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
462
454
  const headers = {};
463
455
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListStagingAccounts";
@@ -477,8 +469,8 @@ const serializeAws_restJson1ListStagingAccountsCommand = async (input, context)
477
469
  body,
478
470
  });
479
471
  };
480
- exports.serializeAws_restJson1ListStagingAccountsCommand = serializeAws_restJson1ListStagingAccountsCommand;
481
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
472
+ exports.se_ListStagingAccountsCommand = se_ListStagingAccountsCommand;
473
+ const se_ListTagsForResourceCommand = async (input, context) => {
482
474
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
483
475
  const headers = {};
484
476
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -494,8 +486,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
494
486
  body,
495
487
  });
496
488
  };
497
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
498
- const serializeAws_restJson1RetryDataReplicationCommand = async (input, context) => {
489
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
490
+ const se_RetryDataReplicationCommand = async (input, context) => {
499
491
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
500
492
  const headers = {
501
493
  "content-type": "application/json",
@@ -515,8 +507,8 @@ const serializeAws_restJson1RetryDataReplicationCommand = async (input, context)
515
507
  body,
516
508
  });
517
509
  };
518
- exports.serializeAws_restJson1RetryDataReplicationCommand = serializeAws_restJson1RetryDataReplicationCommand;
519
- const serializeAws_restJson1ReverseReplicationCommand = async (input, context) => {
510
+ exports.se_RetryDataReplicationCommand = se_RetryDataReplicationCommand;
511
+ const se_ReverseReplicationCommand = async (input, context) => {
520
512
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
521
513
  const headers = {
522
514
  "content-type": "application/json",
@@ -536,8 +528,8 @@ const serializeAws_restJson1ReverseReplicationCommand = async (input, context) =
536
528
  body,
537
529
  });
538
530
  };
539
- exports.serializeAws_restJson1ReverseReplicationCommand = serializeAws_restJson1ReverseReplicationCommand;
540
- const serializeAws_restJson1StartFailbackLaunchCommand = async (input, context) => {
531
+ exports.se_ReverseReplicationCommand = se_ReverseReplicationCommand;
532
+ const se_StartFailbackLaunchCommand = async (input, context) => {
541
533
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
542
534
  const headers = {
543
535
  "content-type": "application/json",
@@ -546,9 +538,9 @@ const serializeAws_restJson1StartFailbackLaunchCommand = async (input, context)
546
538
  let body;
547
539
  body = JSON.stringify({
548
540
  ...(input.recoveryInstanceIDs != null && {
549
- recoveryInstanceIDs: serializeAws_restJson1StartFailbackRequestRecoveryInstanceIDs(input.recoveryInstanceIDs, context),
541
+ recoveryInstanceIDs: se_StartFailbackRequestRecoveryInstanceIDs(input.recoveryInstanceIDs, context),
550
542
  }),
551
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
543
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
552
544
  });
553
545
  return new protocol_http_1.HttpRequest({
554
546
  protocol,
@@ -560,8 +552,8 @@ const serializeAws_restJson1StartFailbackLaunchCommand = async (input, context)
560
552
  body,
561
553
  });
562
554
  };
563
- exports.serializeAws_restJson1StartFailbackLaunchCommand = serializeAws_restJson1StartFailbackLaunchCommand;
564
- const serializeAws_restJson1StartRecoveryCommand = async (input, context) => {
555
+ exports.se_StartFailbackLaunchCommand = se_StartFailbackLaunchCommand;
556
+ const se_StartRecoveryCommand = async (input, context) => {
565
557
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
566
558
  const headers = {
567
559
  "content-type": "application/json",
@@ -571,9 +563,9 @@ const serializeAws_restJson1StartRecoveryCommand = async (input, context) => {
571
563
  body = JSON.stringify({
572
564
  ...(input.isDrill != null && { isDrill: input.isDrill }),
573
565
  ...(input.sourceServers != null && {
574
- sourceServers: serializeAws_restJson1StartRecoveryRequestSourceServers(input.sourceServers, context),
566
+ sourceServers: se_StartRecoveryRequestSourceServers(input.sourceServers, context),
575
567
  }),
576
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
568
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
577
569
  });
578
570
  return new protocol_http_1.HttpRequest({
579
571
  protocol,
@@ -585,8 +577,8 @@ const serializeAws_restJson1StartRecoveryCommand = async (input, context) => {
585
577
  body,
586
578
  });
587
579
  };
588
- exports.serializeAws_restJson1StartRecoveryCommand = serializeAws_restJson1StartRecoveryCommand;
589
- const serializeAws_restJson1StartReplicationCommand = async (input, context) => {
580
+ exports.se_StartRecoveryCommand = se_StartRecoveryCommand;
581
+ const se_StartReplicationCommand = async (input, context) => {
590
582
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
591
583
  const headers = {
592
584
  "content-type": "application/json",
@@ -606,8 +598,8 @@ const serializeAws_restJson1StartReplicationCommand = async (input, context) =>
606
598
  body,
607
599
  });
608
600
  };
609
- exports.serializeAws_restJson1StartReplicationCommand = serializeAws_restJson1StartReplicationCommand;
610
- const serializeAws_restJson1StopFailbackCommand = async (input, context) => {
601
+ exports.se_StartReplicationCommand = se_StartReplicationCommand;
602
+ const se_StopFailbackCommand = async (input, context) => {
611
603
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
612
604
  const headers = {
613
605
  "content-type": "application/json",
@@ -627,8 +619,8 @@ const serializeAws_restJson1StopFailbackCommand = async (input, context) => {
627
619
  body,
628
620
  });
629
621
  };
630
- exports.serializeAws_restJson1StopFailbackCommand = serializeAws_restJson1StopFailbackCommand;
631
- const serializeAws_restJson1StopReplicationCommand = async (input, context) => {
622
+ exports.se_StopFailbackCommand = se_StopFailbackCommand;
623
+ const se_StopReplicationCommand = async (input, context) => {
632
624
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
633
625
  const headers = {
634
626
  "content-type": "application/json",
@@ -648,8 +640,8 @@ const serializeAws_restJson1StopReplicationCommand = async (input, context) => {
648
640
  body,
649
641
  });
650
642
  };
651
- exports.serializeAws_restJson1StopReplicationCommand = serializeAws_restJson1StopReplicationCommand;
652
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
643
+ exports.se_StopReplicationCommand = se_StopReplicationCommand;
644
+ const se_TagResourceCommand = async (input, context) => {
653
645
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
654
646
  const headers = {
655
647
  "content-type": "application/json",
@@ -658,7 +650,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
658
650
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
659
651
  let body;
660
652
  body = JSON.stringify({
661
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
653
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
662
654
  });
663
655
  return new protocol_http_1.HttpRequest({
664
656
  protocol,
@@ -670,8 +662,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
670
662
  body,
671
663
  });
672
664
  };
673
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
674
- const serializeAws_restJson1TerminateRecoveryInstancesCommand = async (input, context) => {
665
+ exports.se_TagResourceCommand = se_TagResourceCommand;
666
+ const se_TerminateRecoveryInstancesCommand = async (input, context) => {
675
667
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
676
668
  const headers = {
677
669
  "content-type": "application/json",
@@ -680,7 +672,7 @@ const serializeAws_restJson1TerminateRecoveryInstancesCommand = async (input, co
680
672
  let body;
681
673
  body = JSON.stringify({
682
674
  ...(input.recoveryInstanceIDs != null && {
683
- recoveryInstanceIDs: serializeAws_restJson1RecoveryInstancesForTerminationRequest(input.recoveryInstanceIDs, context),
675
+ recoveryInstanceIDs: se_RecoveryInstancesForTerminationRequest(input.recoveryInstanceIDs, context),
684
676
  }),
685
677
  });
686
678
  return new protocol_http_1.HttpRequest({
@@ -693,8 +685,8 @@ const serializeAws_restJson1TerminateRecoveryInstancesCommand = async (input, co
693
685
  body,
694
686
  });
695
687
  };
696
- exports.serializeAws_restJson1TerminateRecoveryInstancesCommand = serializeAws_restJson1TerminateRecoveryInstancesCommand;
697
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
688
+ exports.se_TerminateRecoveryInstancesCommand = se_TerminateRecoveryInstancesCommand;
689
+ const se_UntagResourceCommand = async (input, context) => {
698
690
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
699
691
  const headers = {};
700
692
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -717,8 +709,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
717
709
  body,
718
710
  });
719
711
  };
720
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
721
- const serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = async (input, context) => {
712
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
713
+ const se_UpdateFailbackReplicationConfigurationCommand = async (input, context) => {
722
714
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
723
715
  const headers = {
724
716
  "content-type": "application/json",
@@ -741,8 +733,8 @@ const serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = asyn
741
733
  body,
742
734
  });
743
735
  };
744
- exports.serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand;
745
- const serializeAws_restJson1UpdateLaunchConfigurationCommand = async (input, context) => {
736
+ exports.se_UpdateFailbackReplicationConfigurationCommand = se_UpdateFailbackReplicationConfigurationCommand;
737
+ const se_UpdateLaunchConfigurationCommand = async (input, context) => {
746
738
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
747
739
  const headers = {
748
740
  "content-type": "application/json",
@@ -753,7 +745,7 @@ const serializeAws_restJson1UpdateLaunchConfigurationCommand = async (input, con
753
745
  ...(input.copyPrivateIp != null && { copyPrivateIp: input.copyPrivateIp }),
754
746
  ...(input.copyTags != null && { copyTags: input.copyTags }),
755
747
  ...(input.launchDisposition != null && { launchDisposition: input.launchDisposition }),
756
- ...(input.licensing != null && { licensing: serializeAws_restJson1Licensing(input.licensing, context) }),
748
+ ...(input.licensing != null && { licensing: se_Licensing(input.licensing, context) }),
757
749
  ...(input.name != null && { name: input.name }),
758
750
  ...(input.sourceServerID != null && { sourceServerID: input.sourceServerID }),
759
751
  ...(input.targetInstanceTypeRightSizingMethod != null && {
@@ -770,8 +762,8 @@ const serializeAws_restJson1UpdateLaunchConfigurationCommand = async (input, con
770
762
  body,
771
763
  });
772
764
  };
773
- exports.serializeAws_restJson1UpdateLaunchConfigurationCommand = serializeAws_restJson1UpdateLaunchConfigurationCommand;
774
- const serializeAws_restJson1UpdateReplicationConfigurationCommand = async (input, context) => {
765
+ exports.se_UpdateLaunchConfigurationCommand = se_UpdateLaunchConfigurationCommand;
766
+ const se_UpdateReplicationConfigurationCommand = async (input, context) => {
775
767
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
776
768
  const headers = {
777
769
  "content-type": "application/json",
@@ -792,21 +784,19 @@ const serializeAws_restJson1UpdateReplicationConfigurationCommand = async (input
792
784
  ...(input.ebsEncryption != null && { ebsEncryption: input.ebsEncryption }),
793
785
  ...(input.ebsEncryptionKeyArn != null && { ebsEncryptionKeyArn: input.ebsEncryptionKeyArn }),
794
786
  ...(input.name != null && { name: input.name }),
795
- ...(input.pitPolicy != null && { pitPolicy: serializeAws_restJson1PITPolicy(input.pitPolicy, context) }),
787
+ ...(input.pitPolicy != null && { pitPolicy: se_PITPolicy(input.pitPolicy, context) }),
796
788
  ...(input.replicatedDisks != null && {
797
- replicatedDisks: serializeAws_restJson1ReplicationConfigurationReplicatedDisks(input.replicatedDisks, context),
789
+ replicatedDisks: se_ReplicationConfigurationReplicatedDisks(input.replicatedDisks, context),
798
790
  }),
799
791
  ...(input.replicationServerInstanceType != null && {
800
792
  replicationServerInstanceType: input.replicationServerInstanceType,
801
793
  }),
802
794
  ...(input.replicationServersSecurityGroupsIDs != null && {
803
- replicationServersSecurityGroupsIDs: serializeAws_restJson1ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
795
+ replicationServersSecurityGroupsIDs: se_ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
804
796
  }),
805
797
  ...(input.sourceServerID != null && { sourceServerID: input.sourceServerID }),
806
798
  ...(input.stagingAreaSubnetId != null && { stagingAreaSubnetId: input.stagingAreaSubnetId }),
807
- ...(input.stagingAreaTags != null && {
808
- stagingAreaTags: serializeAws_restJson1TagsMap(input.stagingAreaTags, context),
809
- }),
799
+ ...(input.stagingAreaTags != null && { stagingAreaTags: se_TagsMap(input.stagingAreaTags, context) }),
810
800
  ...(input.useDedicatedReplicationServer != null && {
811
801
  useDedicatedReplicationServer: input.useDedicatedReplicationServer,
812
802
  }),
@@ -821,8 +811,8 @@ const serializeAws_restJson1UpdateReplicationConfigurationCommand = async (input
821
811
  body,
822
812
  });
823
813
  };
824
- exports.serializeAws_restJson1UpdateReplicationConfigurationCommand = serializeAws_restJson1UpdateReplicationConfigurationCommand;
825
- const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = async (input, context) => {
814
+ exports.se_UpdateReplicationConfigurationCommand = se_UpdateReplicationConfigurationCommand;
815
+ const se_UpdateReplicationConfigurationTemplateCommand = async (input, context) => {
826
816
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
827
817
  const headers = {
828
818
  "content-type": "application/json",
@@ -843,7 +833,7 @@ const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = asyn
843
833
  }),
844
834
  ...(input.ebsEncryption != null && { ebsEncryption: input.ebsEncryption }),
845
835
  ...(input.ebsEncryptionKeyArn != null && { ebsEncryptionKeyArn: input.ebsEncryptionKeyArn }),
846
- ...(input.pitPolicy != null && { pitPolicy: serializeAws_restJson1PITPolicy(input.pitPolicy, context) }),
836
+ ...(input.pitPolicy != null && { pitPolicy: se_PITPolicy(input.pitPolicy, context) }),
847
837
  ...(input.replicationConfigurationTemplateID != null && {
848
838
  replicationConfigurationTemplateID: input.replicationConfigurationTemplateID,
849
839
  }),
@@ -851,12 +841,10 @@ const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = asyn
851
841
  replicationServerInstanceType: input.replicationServerInstanceType,
852
842
  }),
853
843
  ...(input.replicationServersSecurityGroupsIDs != null && {
854
- replicationServersSecurityGroupsIDs: serializeAws_restJson1ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
844
+ replicationServersSecurityGroupsIDs: se_ReplicationServersSecurityGroupsIDs(input.replicationServersSecurityGroupsIDs, context),
855
845
  }),
856
846
  ...(input.stagingAreaSubnetId != null && { stagingAreaSubnetId: input.stagingAreaSubnetId }),
857
- ...(input.stagingAreaTags != null && {
858
- stagingAreaTags: serializeAws_restJson1TagsMap(input.stagingAreaTags, context),
859
- }),
847
+ ...(input.stagingAreaTags != null && { stagingAreaTags: se_TagsMap(input.stagingAreaTags, context) }),
860
848
  ...(input.useDedicatedReplicationServer != null && {
861
849
  useDedicatedReplicationServer: input.useDedicatedReplicationServer,
862
850
  }),
@@ -871,22 +859,22 @@ const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = asyn
871
859
  body,
872
860
  });
873
861
  };
874
- exports.serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand;
875
- const deserializeAws_restJson1CreateExtendedSourceServerCommand = async (output, context) => {
862
+ exports.se_UpdateReplicationConfigurationTemplateCommand = se_UpdateReplicationConfigurationTemplateCommand;
863
+ const de_CreateExtendedSourceServerCommand = async (output, context) => {
876
864
  if (output.statusCode !== 201 && output.statusCode >= 300) {
877
- return deserializeAws_restJson1CreateExtendedSourceServerCommandError(output, context);
865
+ return de_CreateExtendedSourceServerCommandError(output, context);
878
866
  }
879
867
  const contents = map({
880
868
  $metadata: deserializeMetadata(output),
881
869
  });
882
870
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
883
871
  if (data.sourceServer != null) {
884
- contents.sourceServer = deserializeAws_restJson1SourceServer(data.sourceServer, context);
872
+ contents.sourceServer = de_SourceServer(data.sourceServer, context);
885
873
  }
886
874
  return contents;
887
875
  };
888
- exports.deserializeAws_restJson1CreateExtendedSourceServerCommand = deserializeAws_restJson1CreateExtendedSourceServerCommand;
889
- const deserializeAws_restJson1CreateExtendedSourceServerCommandError = async (output, context) => {
876
+ exports.de_CreateExtendedSourceServerCommand = de_CreateExtendedSourceServerCommand;
877
+ const de_CreateExtendedSourceServerCommandError = async (output, context) => {
890
878
  const parsedOutput = {
891
879
  ...output,
892
880
  body: await parseErrorBody(output.body, context),
@@ -895,25 +883,25 @@ const deserializeAws_restJson1CreateExtendedSourceServerCommandError = async (ou
895
883
  switch (errorCode) {
896
884
  case "AccessDeniedException":
897
885
  case "com.amazonaws.drs#AccessDeniedException":
898
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
886
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
899
887
  case "InternalServerException":
900
888
  case "com.amazonaws.drs#InternalServerException":
901
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
889
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
902
890
  case "ResourceNotFoundException":
903
891
  case "com.amazonaws.drs#ResourceNotFoundException":
904
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
892
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
905
893
  case "ServiceQuotaExceededException":
906
894
  case "com.amazonaws.drs#ServiceQuotaExceededException":
907
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
895
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
908
896
  case "ThrottlingException":
909
897
  case "com.amazonaws.drs#ThrottlingException":
910
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
898
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
911
899
  case "UninitializedAccountException":
912
900
  case "com.amazonaws.drs#UninitializedAccountException":
913
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
901
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
914
902
  case "ValidationException":
915
903
  case "com.amazonaws.drs#ValidationException":
916
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
904
+ throw await de_ValidationExceptionRes(parsedOutput, context);
917
905
  default:
918
906
  const parsedBody = parsedOutput.body;
919
907
  (0, smithy_client_1.throwDefaultError)({
@@ -924,9 +912,9 @@ const deserializeAws_restJson1CreateExtendedSourceServerCommandError = async (ou
924
912
  });
925
913
  }
926
914
  };
927
- const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = async (output, context) => {
915
+ const de_CreateReplicationConfigurationTemplateCommand = async (output, context) => {
928
916
  if (output.statusCode !== 201 && output.statusCode >= 300) {
929
- return deserializeAws_restJson1CreateReplicationConfigurationTemplateCommandError(output, context);
917
+ return de_CreateReplicationConfigurationTemplateCommandError(output, context);
930
918
  }
931
919
  const contents = map({
932
920
  $metadata: deserializeMetadata(output),
@@ -960,7 +948,7 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = as
960
948
  contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
961
949
  }
962
950
  if (data.pitPolicy != null) {
963
- contents.pitPolicy = deserializeAws_restJson1PITPolicy(data.pitPolicy, context);
951
+ contents.pitPolicy = de_PITPolicy(data.pitPolicy, context);
964
952
  }
965
953
  if (data.replicationConfigurationTemplateID != null) {
966
954
  contents.replicationConfigurationTemplateID = (0, smithy_client_1.expectString)(data.replicationConfigurationTemplateID);
@@ -969,24 +957,24 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = as
969
957
  contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
970
958
  }
971
959
  if (data.replicationServersSecurityGroupsIDs != null) {
972
- contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
960
+ contents.replicationServersSecurityGroupsIDs = de_ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
973
961
  }
974
962
  if (data.stagingAreaSubnetId != null) {
975
963
  contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
976
964
  }
977
965
  if (data.stagingAreaTags != null) {
978
- contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
966
+ contents.stagingAreaTags = de_TagsMap(data.stagingAreaTags, context);
979
967
  }
980
968
  if (data.tags != null) {
981
- contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
969
+ contents.tags = de_TagsMap(data.tags, context);
982
970
  }
983
971
  if (data.useDedicatedReplicationServer != null) {
984
972
  contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
985
973
  }
986
974
  return contents;
987
975
  };
988
- exports.deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand;
989
- const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommandError = async (output, context) => {
976
+ exports.de_CreateReplicationConfigurationTemplateCommand = de_CreateReplicationConfigurationTemplateCommand;
977
+ const de_CreateReplicationConfigurationTemplateCommandError = async (output, context) => {
990
978
  const parsedOutput = {
991
979
  ...output,
992
980
  body: await parseErrorBody(output.body, context),
@@ -995,22 +983,22 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommandError
995
983
  switch (errorCode) {
996
984
  case "AccessDeniedException":
997
985
  case "com.amazonaws.drs#AccessDeniedException":
998
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
986
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
999
987
  case "InternalServerException":
1000
988
  case "com.amazonaws.drs#InternalServerException":
1001
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
989
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1002
990
  case "ServiceQuotaExceededException":
1003
991
  case "com.amazonaws.drs#ServiceQuotaExceededException":
1004
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
992
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1005
993
  case "ThrottlingException":
1006
994
  case "com.amazonaws.drs#ThrottlingException":
1007
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
995
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1008
996
  case "UninitializedAccountException":
1009
997
  case "com.amazonaws.drs#UninitializedAccountException":
1010
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
998
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1011
999
  case "ValidationException":
1012
1000
  case "com.amazonaws.drs#ValidationException":
1013
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1001
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1014
1002
  default:
1015
1003
  const parsedBody = parsedOutput.body;
1016
1004
  (0, smithy_client_1.throwDefaultError)({
@@ -1021,9 +1009,9 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommandError
1021
1009
  });
1022
1010
  }
1023
1011
  };
1024
- const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
1012
+ const de_DeleteJobCommand = async (output, context) => {
1025
1013
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1026
- return deserializeAws_restJson1DeleteJobCommandError(output, context);
1014
+ return de_DeleteJobCommandError(output, context);
1027
1015
  }
1028
1016
  const contents = map({
1029
1017
  $metadata: deserializeMetadata(output),
@@ -1031,8 +1019,8 @@ const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
1031
1019
  await collectBody(output.body, context);
1032
1020
  return contents;
1033
1021
  };
1034
- exports.deserializeAws_restJson1DeleteJobCommand = deserializeAws_restJson1DeleteJobCommand;
1035
- const deserializeAws_restJson1DeleteJobCommandError = async (output, context) => {
1022
+ exports.de_DeleteJobCommand = de_DeleteJobCommand;
1023
+ const de_DeleteJobCommandError = async (output, context) => {
1036
1024
  const parsedOutput = {
1037
1025
  ...output,
1038
1026
  body: await parseErrorBody(output.body, context),
@@ -1041,19 +1029,19 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
1041
1029
  switch (errorCode) {
1042
1030
  case "ConflictException":
1043
1031
  case "com.amazonaws.drs#ConflictException":
1044
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1032
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1045
1033
  case "InternalServerException":
1046
1034
  case "com.amazonaws.drs#InternalServerException":
1047
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1035
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1048
1036
  case "ResourceNotFoundException":
1049
1037
  case "com.amazonaws.drs#ResourceNotFoundException":
1050
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1038
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1051
1039
  case "ThrottlingException":
1052
1040
  case "com.amazonaws.drs#ThrottlingException":
1053
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1041
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1054
1042
  case "UninitializedAccountException":
1055
1043
  case "com.amazonaws.drs#UninitializedAccountException":
1056
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1044
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1057
1045
  default:
1058
1046
  const parsedBody = parsedOutput.body;
1059
1047
  (0, smithy_client_1.throwDefaultError)({
@@ -1064,9 +1052,9 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
1064
1052
  });
1065
1053
  }
1066
1054
  };
1067
- const deserializeAws_restJson1DeleteRecoveryInstanceCommand = async (output, context) => {
1055
+ const de_DeleteRecoveryInstanceCommand = async (output, context) => {
1068
1056
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1069
- return deserializeAws_restJson1DeleteRecoveryInstanceCommandError(output, context);
1057
+ return de_DeleteRecoveryInstanceCommandError(output, context);
1070
1058
  }
1071
1059
  const contents = map({
1072
1060
  $metadata: deserializeMetadata(output),
@@ -1074,8 +1062,8 @@ const deserializeAws_restJson1DeleteRecoveryInstanceCommand = async (output, con
1074
1062
  await collectBody(output.body, context);
1075
1063
  return contents;
1076
1064
  };
1077
- exports.deserializeAws_restJson1DeleteRecoveryInstanceCommand = deserializeAws_restJson1DeleteRecoveryInstanceCommand;
1078
- const deserializeAws_restJson1DeleteRecoveryInstanceCommandError = async (output, context) => {
1065
+ exports.de_DeleteRecoveryInstanceCommand = de_DeleteRecoveryInstanceCommand;
1066
+ const de_DeleteRecoveryInstanceCommandError = async (output, context) => {
1079
1067
  const parsedOutput = {
1080
1068
  ...output,
1081
1069
  body: await parseErrorBody(output.body, context),
@@ -1084,19 +1072,19 @@ const deserializeAws_restJson1DeleteRecoveryInstanceCommandError = async (output
1084
1072
  switch (errorCode) {
1085
1073
  case "AccessDeniedException":
1086
1074
  case "com.amazonaws.drs#AccessDeniedException":
1087
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1075
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1088
1076
  case "ConflictException":
1089
1077
  case "com.amazonaws.drs#ConflictException":
1090
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1078
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1091
1079
  case "InternalServerException":
1092
1080
  case "com.amazonaws.drs#InternalServerException":
1093
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1081
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1094
1082
  case "ThrottlingException":
1095
1083
  case "com.amazonaws.drs#ThrottlingException":
1096
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1084
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1097
1085
  case "UninitializedAccountException":
1098
1086
  case "com.amazonaws.drs#UninitializedAccountException":
1099
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1087
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1100
1088
  default:
1101
1089
  const parsedBody = parsedOutput.body;
1102
1090
  (0, smithy_client_1.throwDefaultError)({
@@ -1107,9 +1095,9 @@ const deserializeAws_restJson1DeleteRecoveryInstanceCommandError = async (output
1107
1095
  });
1108
1096
  }
1109
1097
  };
1110
- const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = async (output, context) => {
1098
+ const de_DeleteReplicationConfigurationTemplateCommand = async (output, context) => {
1111
1099
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1112
- return deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommandError(output, context);
1100
+ return de_DeleteReplicationConfigurationTemplateCommandError(output, context);
1113
1101
  }
1114
1102
  const contents = map({
1115
1103
  $metadata: deserializeMetadata(output),
@@ -1117,8 +1105,8 @@ const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = as
1117
1105
  await collectBody(output.body, context);
1118
1106
  return contents;
1119
1107
  };
1120
- exports.deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand;
1121
- const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommandError = async (output, context) => {
1108
+ exports.de_DeleteReplicationConfigurationTemplateCommand = de_DeleteReplicationConfigurationTemplateCommand;
1109
+ const de_DeleteReplicationConfigurationTemplateCommandError = async (output, context) => {
1122
1110
  const parsedOutput = {
1123
1111
  ...output,
1124
1112
  body: await parseErrorBody(output.body, context),
@@ -1127,19 +1115,19 @@ const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommandError
1127
1115
  switch (errorCode) {
1128
1116
  case "ConflictException":
1129
1117
  case "com.amazonaws.drs#ConflictException":
1130
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1118
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1131
1119
  case "InternalServerException":
1132
1120
  case "com.amazonaws.drs#InternalServerException":
1133
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1121
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1134
1122
  case "ResourceNotFoundException":
1135
1123
  case "com.amazonaws.drs#ResourceNotFoundException":
1136
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1124
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1137
1125
  case "ThrottlingException":
1138
1126
  case "com.amazonaws.drs#ThrottlingException":
1139
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1127
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1140
1128
  case "UninitializedAccountException":
1141
1129
  case "com.amazonaws.drs#UninitializedAccountException":
1142
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1130
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1143
1131
  default:
1144
1132
  const parsedBody = parsedOutput.body;
1145
1133
  (0, smithy_client_1.throwDefaultError)({
@@ -1150,9 +1138,9 @@ const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommandError
1150
1138
  });
1151
1139
  }
1152
1140
  };
1153
- const deserializeAws_restJson1DeleteSourceServerCommand = async (output, context) => {
1141
+ const de_DeleteSourceServerCommand = async (output, context) => {
1154
1142
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1155
- return deserializeAws_restJson1DeleteSourceServerCommandError(output, context);
1143
+ return de_DeleteSourceServerCommandError(output, context);
1156
1144
  }
1157
1145
  const contents = map({
1158
1146
  $metadata: deserializeMetadata(output),
@@ -1160,8 +1148,8 @@ const deserializeAws_restJson1DeleteSourceServerCommand = async (output, context
1160
1148
  await collectBody(output.body, context);
1161
1149
  return contents;
1162
1150
  };
1163
- exports.deserializeAws_restJson1DeleteSourceServerCommand = deserializeAws_restJson1DeleteSourceServerCommand;
1164
- const deserializeAws_restJson1DeleteSourceServerCommandError = async (output, context) => {
1151
+ exports.de_DeleteSourceServerCommand = de_DeleteSourceServerCommand;
1152
+ const de_DeleteSourceServerCommandError = async (output, context) => {
1165
1153
  const parsedOutput = {
1166
1154
  ...output,
1167
1155
  body: await parseErrorBody(output.body, context),
@@ -1170,19 +1158,19 @@ const deserializeAws_restJson1DeleteSourceServerCommandError = async (output, co
1170
1158
  switch (errorCode) {
1171
1159
  case "ConflictException":
1172
1160
  case "com.amazonaws.drs#ConflictException":
1173
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1161
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1174
1162
  case "InternalServerException":
1175
1163
  case "com.amazonaws.drs#InternalServerException":
1176
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1164
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1177
1165
  case "ResourceNotFoundException":
1178
1166
  case "com.amazonaws.drs#ResourceNotFoundException":
1179
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1167
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1180
1168
  case "ThrottlingException":
1181
1169
  case "com.amazonaws.drs#ThrottlingException":
1182
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1170
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1183
1171
  case "UninitializedAccountException":
1184
1172
  case "com.amazonaws.drs#UninitializedAccountException":
1185
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1173
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1186
1174
  default:
1187
1175
  const parsedBody = parsedOutput.body;
1188
1176
  (0, smithy_client_1.throwDefaultError)({
@@ -1193,24 +1181,24 @@ const deserializeAws_restJson1DeleteSourceServerCommandError = async (output, co
1193
1181
  });
1194
1182
  }
1195
1183
  };
1196
- const deserializeAws_restJson1DescribeJobLogItemsCommand = async (output, context) => {
1184
+ const de_DescribeJobLogItemsCommand = async (output, context) => {
1197
1185
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1198
- return deserializeAws_restJson1DescribeJobLogItemsCommandError(output, context);
1186
+ return de_DescribeJobLogItemsCommandError(output, context);
1199
1187
  }
1200
1188
  const contents = map({
1201
1189
  $metadata: deserializeMetadata(output),
1202
1190
  });
1203
1191
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1204
1192
  if (data.items != null) {
1205
- contents.items = deserializeAws_restJson1JobLogs(data.items, context);
1193
+ contents.items = de_JobLogs(data.items, context);
1206
1194
  }
1207
1195
  if (data.nextToken != null) {
1208
1196
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1209
1197
  }
1210
1198
  return contents;
1211
1199
  };
1212
- exports.deserializeAws_restJson1DescribeJobLogItemsCommand = deserializeAws_restJson1DescribeJobLogItemsCommand;
1213
- const deserializeAws_restJson1DescribeJobLogItemsCommandError = async (output, context) => {
1200
+ exports.de_DescribeJobLogItemsCommand = de_DescribeJobLogItemsCommand;
1201
+ const de_DescribeJobLogItemsCommandError = async (output, context) => {
1214
1202
  const parsedOutput = {
1215
1203
  ...output,
1216
1204
  body: await parseErrorBody(output.body, context),
@@ -1219,16 +1207,16 @@ const deserializeAws_restJson1DescribeJobLogItemsCommandError = async (output, c
1219
1207
  switch (errorCode) {
1220
1208
  case "InternalServerException":
1221
1209
  case "com.amazonaws.drs#InternalServerException":
1222
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1210
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1223
1211
  case "ThrottlingException":
1224
1212
  case "com.amazonaws.drs#ThrottlingException":
1225
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1213
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1226
1214
  case "UninitializedAccountException":
1227
1215
  case "com.amazonaws.drs#UninitializedAccountException":
1228
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1216
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1229
1217
  case "ValidationException":
1230
1218
  case "com.amazonaws.drs#ValidationException":
1231
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1219
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1232
1220
  default:
1233
1221
  const parsedBody = parsedOutput.body;
1234
1222
  (0, smithy_client_1.throwDefaultError)({
@@ -1239,24 +1227,24 @@ const deserializeAws_restJson1DescribeJobLogItemsCommandError = async (output, c
1239
1227
  });
1240
1228
  }
1241
1229
  };
1242
- const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
1230
+ const de_DescribeJobsCommand = async (output, context) => {
1243
1231
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1244
- return deserializeAws_restJson1DescribeJobsCommandError(output, context);
1232
+ return de_DescribeJobsCommandError(output, context);
1245
1233
  }
1246
1234
  const contents = map({
1247
1235
  $metadata: deserializeMetadata(output),
1248
1236
  });
1249
1237
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1250
1238
  if (data.items != null) {
1251
- contents.items = deserializeAws_restJson1JobsList(data.items, context);
1239
+ contents.items = de_JobsList(data.items, context);
1252
1240
  }
1253
1241
  if (data.nextToken != null) {
1254
1242
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1255
1243
  }
1256
1244
  return contents;
1257
1245
  };
1258
- exports.deserializeAws_restJson1DescribeJobsCommand = deserializeAws_restJson1DescribeJobsCommand;
1259
- const deserializeAws_restJson1DescribeJobsCommandError = async (output, context) => {
1246
+ exports.de_DescribeJobsCommand = de_DescribeJobsCommand;
1247
+ const de_DescribeJobsCommandError = async (output, context) => {
1260
1248
  const parsedOutput = {
1261
1249
  ...output,
1262
1250
  body: await parseErrorBody(output.body, context),
@@ -1265,16 +1253,16 @@ const deserializeAws_restJson1DescribeJobsCommandError = async (output, context)
1265
1253
  switch (errorCode) {
1266
1254
  case "InternalServerException":
1267
1255
  case "com.amazonaws.drs#InternalServerException":
1268
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1256
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1269
1257
  case "ThrottlingException":
1270
1258
  case "com.amazonaws.drs#ThrottlingException":
1271
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1259
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1272
1260
  case "UninitializedAccountException":
1273
1261
  case "com.amazonaws.drs#UninitializedAccountException":
1274
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1262
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1275
1263
  case "ValidationException":
1276
1264
  case "com.amazonaws.drs#ValidationException":
1277
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1265
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1278
1266
  default:
1279
1267
  const parsedBody = parsedOutput.body;
1280
1268
  (0, smithy_client_1.throwDefaultError)({
@@ -1285,24 +1273,24 @@ const deserializeAws_restJson1DescribeJobsCommandError = async (output, context)
1285
1273
  });
1286
1274
  }
1287
1275
  };
1288
- const deserializeAws_restJson1DescribeRecoveryInstancesCommand = async (output, context) => {
1276
+ const de_DescribeRecoveryInstancesCommand = async (output, context) => {
1289
1277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1290
- return deserializeAws_restJson1DescribeRecoveryInstancesCommandError(output, context);
1278
+ return de_DescribeRecoveryInstancesCommandError(output, context);
1291
1279
  }
1292
1280
  const contents = map({
1293
1281
  $metadata: deserializeMetadata(output),
1294
1282
  });
1295
1283
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1296
1284
  if (data.items != null) {
1297
- contents.items = deserializeAws_restJson1DescribeRecoveryInstancesItems(data.items, context);
1285
+ contents.items = de_DescribeRecoveryInstancesItems(data.items, context);
1298
1286
  }
1299
1287
  if (data.nextToken != null) {
1300
1288
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1301
1289
  }
1302
1290
  return contents;
1303
1291
  };
1304
- exports.deserializeAws_restJson1DescribeRecoveryInstancesCommand = deserializeAws_restJson1DescribeRecoveryInstancesCommand;
1305
- const deserializeAws_restJson1DescribeRecoveryInstancesCommandError = async (output, context) => {
1292
+ exports.de_DescribeRecoveryInstancesCommand = de_DescribeRecoveryInstancesCommand;
1293
+ const de_DescribeRecoveryInstancesCommandError = async (output, context) => {
1306
1294
  const parsedOutput = {
1307
1295
  ...output,
1308
1296
  body: await parseErrorBody(output.body, context),
@@ -1311,16 +1299,16 @@ const deserializeAws_restJson1DescribeRecoveryInstancesCommandError = async (out
1311
1299
  switch (errorCode) {
1312
1300
  case "AccessDeniedException":
1313
1301
  case "com.amazonaws.drs#AccessDeniedException":
1314
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1302
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1315
1303
  case "InternalServerException":
1316
1304
  case "com.amazonaws.drs#InternalServerException":
1317
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1305
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1318
1306
  case "ThrottlingException":
1319
1307
  case "com.amazonaws.drs#ThrottlingException":
1320
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1308
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1321
1309
  case "UninitializedAccountException":
1322
1310
  case "com.amazonaws.drs#UninitializedAccountException":
1323
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1311
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1324
1312
  default:
1325
1313
  const parsedBody = parsedOutput.body;
1326
1314
  (0, smithy_client_1.throwDefaultError)({
@@ -1331,24 +1319,24 @@ const deserializeAws_restJson1DescribeRecoveryInstancesCommandError = async (out
1331
1319
  });
1332
1320
  }
1333
1321
  };
1334
- const deserializeAws_restJson1DescribeRecoverySnapshotsCommand = async (output, context) => {
1322
+ const de_DescribeRecoverySnapshotsCommand = async (output, context) => {
1335
1323
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1336
- return deserializeAws_restJson1DescribeRecoverySnapshotsCommandError(output, context);
1324
+ return de_DescribeRecoverySnapshotsCommandError(output, context);
1337
1325
  }
1338
1326
  const contents = map({
1339
1327
  $metadata: deserializeMetadata(output),
1340
1328
  });
1341
1329
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1342
1330
  if (data.items != null) {
1343
- contents.items = deserializeAws_restJson1RecoverySnapshotsList(data.items, context);
1331
+ contents.items = de_RecoverySnapshotsList(data.items, context);
1344
1332
  }
1345
1333
  if (data.nextToken != null) {
1346
1334
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1347
1335
  }
1348
1336
  return contents;
1349
1337
  };
1350
- exports.deserializeAws_restJson1DescribeRecoverySnapshotsCommand = deserializeAws_restJson1DescribeRecoverySnapshotsCommand;
1351
- const deserializeAws_restJson1DescribeRecoverySnapshotsCommandError = async (output, context) => {
1338
+ exports.de_DescribeRecoverySnapshotsCommand = de_DescribeRecoverySnapshotsCommand;
1339
+ const de_DescribeRecoverySnapshotsCommandError = async (output, context) => {
1352
1340
  const parsedOutput = {
1353
1341
  ...output,
1354
1342
  body: await parseErrorBody(output.body, context),
@@ -1357,19 +1345,19 @@ const deserializeAws_restJson1DescribeRecoverySnapshotsCommandError = async (out
1357
1345
  switch (errorCode) {
1358
1346
  case "AccessDeniedException":
1359
1347
  case "com.amazonaws.drs#AccessDeniedException":
1360
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1348
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1361
1349
  case "InternalServerException":
1362
1350
  case "com.amazonaws.drs#InternalServerException":
1363
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1351
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1364
1352
  case "ThrottlingException":
1365
1353
  case "com.amazonaws.drs#ThrottlingException":
1366
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1354
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1367
1355
  case "UninitializedAccountException":
1368
1356
  case "com.amazonaws.drs#UninitializedAccountException":
1369
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1357
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1370
1358
  case "ValidationException":
1371
1359
  case "com.amazonaws.drs#ValidationException":
1372
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1360
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1373
1361
  default:
1374
1362
  const parsedBody = parsedOutput.body;
1375
1363
  (0, smithy_client_1.throwDefaultError)({
@@ -1380,24 +1368,24 @@ const deserializeAws_restJson1DescribeRecoverySnapshotsCommandError = async (out
1380
1368
  });
1381
1369
  }
1382
1370
  };
1383
- const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = async (output, context) => {
1371
+ const de_DescribeReplicationConfigurationTemplatesCommand = async (output, context) => {
1384
1372
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1385
- return deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommandError(output, context);
1373
+ return de_DescribeReplicationConfigurationTemplatesCommandError(output, context);
1386
1374
  }
1387
1375
  const contents = map({
1388
1376
  $metadata: deserializeMetadata(output),
1389
1377
  });
1390
1378
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1391
1379
  if (data.items != null) {
1392
- contents.items = deserializeAws_restJson1ReplicationConfigurationTemplates(data.items, context);
1380
+ contents.items = de_ReplicationConfigurationTemplates(data.items, context);
1393
1381
  }
1394
1382
  if (data.nextToken != null) {
1395
1383
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1396
1384
  }
1397
1385
  return contents;
1398
1386
  };
1399
- exports.deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand;
1400
- const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommandError = async (output, context) => {
1387
+ exports.de_DescribeReplicationConfigurationTemplatesCommand = de_DescribeReplicationConfigurationTemplatesCommand;
1388
+ const de_DescribeReplicationConfigurationTemplatesCommandError = async (output, context) => {
1401
1389
  const parsedOutput = {
1402
1390
  ...output,
1403
1391
  body: await parseErrorBody(output.body, context),
@@ -1406,19 +1394,19 @@ const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommandEr
1406
1394
  switch (errorCode) {
1407
1395
  case "InternalServerException":
1408
1396
  case "com.amazonaws.drs#InternalServerException":
1409
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1397
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1410
1398
  case "ResourceNotFoundException":
1411
1399
  case "com.amazonaws.drs#ResourceNotFoundException":
1412
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1400
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1413
1401
  case "ThrottlingException":
1414
1402
  case "com.amazonaws.drs#ThrottlingException":
1415
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1403
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1416
1404
  case "UninitializedAccountException":
1417
1405
  case "com.amazonaws.drs#UninitializedAccountException":
1418
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1406
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1419
1407
  case "ValidationException":
1420
1408
  case "com.amazonaws.drs#ValidationException":
1421
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1409
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1422
1410
  default:
1423
1411
  const parsedBody = parsedOutput.body;
1424
1412
  (0, smithy_client_1.throwDefaultError)({
@@ -1429,24 +1417,24 @@ const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommandEr
1429
1417
  });
1430
1418
  }
1431
1419
  };
1432
- const deserializeAws_restJson1DescribeSourceServersCommand = async (output, context) => {
1420
+ const de_DescribeSourceServersCommand = async (output, context) => {
1433
1421
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1434
- return deserializeAws_restJson1DescribeSourceServersCommandError(output, context);
1422
+ return de_DescribeSourceServersCommandError(output, context);
1435
1423
  }
1436
1424
  const contents = map({
1437
1425
  $metadata: deserializeMetadata(output),
1438
1426
  });
1439
1427
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1440
1428
  if (data.items != null) {
1441
- contents.items = deserializeAws_restJson1SourceServersList(data.items, context);
1429
+ contents.items = de_SourceServersList(data.items, context);
1442
1430
  }
1443
1431
  if (data.nextToken != null) {
1444
1432
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1445
1433
  }
1446
1434
  return contents;
1447
1435
  };
1448
- exports.deserializeAws_restJson1DescribeSourceServersCommand = deserializeAws_restJson1DescribeSourceServersCommand;
1449
- const deserializeAws_restJson1DescribeSourceServersCommandError = async (output, context) => {
1436
+ exports.de_DescribeSourceServersCommand = de_DescribeSourceServersCommand;
1437
+ const de_DescribeSourceServersCommandError = async (output, context) => {
1450
1438
  const parsedOutput = {
1451
1439
  ...output,
1452
1440
  body: await parseErrorBody(output.body, context),
@@ -1455,16 +1443,16 @@ const deserializeAws_restJson1DescribeSourceServersCommandError = async (output,
1455
1443
  switch (errorCode) {
1456
1444
  case "InternalServerException":
1457
1445
  case "com.amazonaws.drs#InternalServerException":
1458
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1446
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1459
1447
  case "ThrottlingException":
1460
1448
  case "com.amazonaws.drs#ThrottlingException":
1461
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1449
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1462
1450
  case "UninitializedAccountException":
1463
1451
  case "com.amazonaws.drs#UninitializedAccountException":
1464
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1452
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1465
1453
  case "ValidationException":
1466
1454
  case "com.amazonaws.drs#ValidationException":
1467
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1455
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1468
1456
  default:
1469
1457
  const parsedBody = parsedOutput.body;
1470
1458
  (0, smithy_client_1.throwDefaultError)({
@@ -1475,9 +1463,9 @@ const deserializeAws_restJson1DescribeSourceServersCommandError = async (output,
1475
1463
  });
1476
1464
  }
1477
1465
  };
1478
- const deserializeAws_restJson1DisconnectRecoveryInstanceCommand = async (output, context) => {
1466
+ const de_DisconnectRecoveryInstanceCommand = async (output, context) => {
1479
1467
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1480
- return deserializeAws_restJson1DisconnectRecoveryInstanceCommandError(output, context);
1468
+ return de_DisconnectRecoveryInstanceCommandError(output, context);
1481
1469
  }
1482
1470
  const contents = map({
1483
1471
  $metadata: deserializeMetadata(output),
@@ -1485,8 +1473,8 @@ const deserializeAws_restJson1DisconnectRecoveryInstanceCommand = async (output,
1485
1473
  await collectBody(output.body, context);
1486
1474
  return contents;
1487
1475
  };
1488
- exports.deserializeAws_restJson1DisconnectRecoveryInstanceCommand = deserializeAws_restJson1DisconnectRecoveryInstanceCommand;
1489
- const deserializeAws_restJson1DisconnectRecoveryInstanceCommandError = async (output, context) => {
1476
+ exports.de_DisconnectRecoveryInstanceCommand = de_DisconnectRecoveryInstanceCommand;
1477
+ const de_DisconnectRecoveryInstanceCommandError = async (output, context) => {
1490
1478
  const parsedOutput = {
1491
1479
  ...output,
1492
1480
  body: await parseErrorBody(output.body, context),
@@ -1495,22 +1483,22 @@ const deserializeAws_restJson1DisconnectRecoveryInstanceCommandError = async (ou
1495
1483
  switch (errorCode) {
1496
1484
  case "AccessDeniedException":
1497
1485
  case "com.amazonaws.drs#AccessDeniedException":
1498
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1486
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1499
1487
  case "ConflictException":
1500
1488
  case "com.amazonaws.drs#ConflictException":
1501
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1489
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1502
1490
  case "InternalServerException":
1503
1491
  case "com.amazonaws.drs#InternalServerException":
1504
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1492
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1505
1493
  case "ResourceNotFoundException":
1506
1494
  case "com.amazonaws.drs#ResourceNotFoundException":
1507
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1495
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1508
1496
  case "ThrottlingException":
1509
1497
  case "com.amazonaws.drs#ThrottlingException":
1510
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1498
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1511
1499
  case "UninitializedAccountException":
1512
1500
  case "com.amazonaws.drs#UninitializedAccountException":
1513
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1501
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1514
1502
  default:
1515
1503
  const parsedBody = parsedOutput.body;
1516
1504
  (0, smithy_client_1.throwDefaultError)({
@@ -1521,9 +1509,9 @@ const deserializeAws_restJson1DisconnectRecoveryInstanceCommandError = async (ou
1521
1509
  });
1522
1510
  }
1523
1511
  };
1524
- const deserializeAws_restJson1DisconnectSourceServerCommand = async (output, context) => {
1512
+ const de_DisconnectSourceServerCommand = async (output, context) => {
1525
1513
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1526
- return deserializeAws_restJson1DisconnectSourceServerCommandError(output, context);
1514
+ return de_DisconnectSourceServerCommandError(output, context);
1527
1515
  }
1528
1516
  const contents = map({
1529
1517
  $metadata: deserializeMetadata(output),
@@ -1533,13 +1521,13 @@ const deserializeAws_restJson1DisconnectSourceServerCommand = async (output, con
1533
1521
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
1534
1522
  }
1535
1523
  if (data.dataReplicationInfo != null) {
1536
- contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
1524
+ contents.dataReplicationInfo = de_DataReplicationInfo(data.dataReplicationInfo, context);
1537
1525
  }
1538
1526
  if (data.lastLaunchResult != null) {
1539
1527
  contents.lastLaunchResult = (0, smithy_client_1.expectString)(data.lastLaunchResult);
1540
1528
  }
1541
1529
  if (data.lifeCycle != null) {
1542
- contents.lifeCycle = deserializeAws_restJson1LifeCycle(data.lifeCycle, context);
1530
+ contents.lifeCycle = de_LifeCycle(data.lifeCycle, context);
1543
1531
  }
1544
1532
  if (data.recoveryInstanceId != null) {
1545
1533
  contents.recoveryInstanceId = (0, smithy_client_1.expectString)(data.recoveryInstanceId);
@@ -1551,24 +1539,24 @@ const deserializeAws_restJson1DisconnectSourceServerCommand = async (output, con
1551
1539
  contents.reversedDirectionSourceServerArn = (0, smithy_client_1.expectString)(data.reversedDirectionSourceServerArn);
1552
1540
  }
1553
1541
  if (data.sourceCloudProperties != null) {
1554
- contents.sourceCloudProperties = deserializeAws_restJson1SourceCloudProperties(data.sourceCloudProperties, context);
1542
+ contents.sourceCloudProperties = de_SourceCloudProperties(data.sourceCloudProperties, context);
1555
1543
  }
1556
1544
  if (data.sourceProperties != null) {
1557
- contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
1545
+ contents.sourceProperties = de_SourceProperties(data.sourceProperties, context);
1558
1546
  }
1559
1547
  if (data.sourceServerID != null) {
1560
1548
  contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1561
1549
  }
1562
1550
  if (data.stagingArea != null) {
1563
- contents.stagingArea = deserializeAws_restJson1StagingArea(data.stagingArea, context);
1551
+ contents.stagingArea = de_StagingArea(data.stagingArea, context);
1564
1552
  }
1565
1553
  if (data.tags != null) {
1566
- contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
1554
+ contents.tags = de_TagsMap(data.tags, context);
1567
1555
  }
1568
1556
  return contents;
1569
1557
  };
1570
- exports.deserializeAws_restJson1DisconnectSourceServerCommand = deserializeAws_restJson1DisconnectSourceServerCommand;
1571
- const deserializeAws_restJson1DisconnectSourceServerCommandError = async (output, context) => {
1558
+ exports.de_DisconnectSourceServerCommand = de_DisconnectSourceServerCommand;
1559
+ const de_DisconnectSourceServerCommandError = async (output, context) => {
1572
1560
  const parsedOutput = {
1573
1561
  ...output,
1574
1562
  body: await parseErrorBody(output.body, context),
@@ -1577,19 +1565,19 @@ const deserializeAws_restJson1DisconnectSourceServerCommandError = async (output
1577
1565
  switch (errorCode) {
1578
1566
  case "ConflictException":
1579
1567
  case "com.amazonaws.drs#ConflictException":
1580
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1568
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1581
1569
  case "InternalServerException":
1582
1570
  case "com.amazonaws.drs#InternalServerException":
1583
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1571
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1584
1572
  case "ResourceNotFoundException":
1585
1573
  case "com.amazonaws.drs#ResourceNotFoundException":
1586
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1574
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1587
1575
  case "ThrottlingException":
1588
1576
  case "com.amazonaws.drs#ThrottlingException":
1589
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1577
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1590
1578
  case "UninitializedAccountException":
1591
1579
  case "com.amazonaws.drs#UninitializedAccountException":
1592
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1580
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1593
1581
  default:
1594
1582
  const parsedBody = parsedOutput.body;
1595
1583
  (0, smithy_client_1.throwDefaultError)({
@@ -1600,9 +1588,9 @@ const deserializeAws_restJson1DisconnectSourceServerCommandError = async (output
1600
1588
  });
1601
1589
  }
1602
1590
  };
1603
- const deserializeAws_restJson1GetFailbackReplicationConfigurationCommand = async (output, context) => {
1591
+ const de_GetFailbackReplicationConfigurationCommand = async (output, context) => {
1604
1592
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1605
- return deserializeAws_restJson1GetFailbackReplicationConfigurationCommandError(output, context);
1593
+ return de_GetFailbackReplicationConfigurationCommandError(output, context);
1606
1594
  }
1607
1595
  const contents = map({
1608
1596
  $metadata: deserializeMetadata(output),
@@ -1622,8 +1610,8 @@ const deserializeAws_restJson1GetFailbackReplicationConfigurationCommand = async
1622
1610
  }
1623
1611
  return contents;
1624
1612
  };
1625
- exports.deserializeAws_restJson1GetFailbackReplicationConfigurationCommand = deserializeAws_restJson1GetFailbackReplicationConfigurationCommand;
1626
- const deserializeAws_restJson1GetFailbackReplicationConfigurationCommandError = async (output, context) => {
1613
+ exports.de_GetFailbackReplicationConfigurationCommand = de_GetFailbackReplicationConfigurationCommand;
1614
+ const de_GetFailbackReplicationConfigurationCommandError = async (output, context) => {
1627
1615
  const parsedOutput = {
1628
1616
  ...output,
1629
1617
  body: await parseErrorBody(output.body, context),
@@ -1632,16 +1620,16 @@ const deserializeAws_restJson1GetFailbackReplicationConfigurationCommandError =
1632
1620
  switch (errorCode) {
1633
1621
  case "InternalServerException":
1634
1622
  case "com.amazonaws.drs#InternalServerException":
1635
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1623
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1636
1624
  case "ResourceNotFoundException":
1637
1625
  case "com.amazonaws.drs#ResourceNotFoundException":
1638
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1626
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1639
1627
  case "ThrottlingException":
1640
1628
  case "com.amazonaws.drs#ThrottlingException":
1641
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1629
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1642
1630
  case "UninitializedAccountException":
1643
1631
  case "com.amazonaws.drs#UninitializedAccountException":
1644
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1632
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1645
1633
  default:
1646
1634
  const parsedBody = parsedOutput.body;
1647
1635
  (0, smithy_client_1.throwDefaultError)({
@@ -1652,9 +1640,9 @@ const deserializeAws_restJson1GetFailbackReplicationConfigurationCommandError =
1652
1640
  });
1653
1641
  }
1654
1642
  };
1655
- const deserializeAws_restJson1GetLaunchConfigurationCommand = async (output, context) => {
1643
+ const de_GetLaunchConfigurationCommand = async (output, context) => {
1656
1644
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1657
- return deserializeAws_restJson1GetLaunchConfigurationCommandError(output, context);
1645
+ return de_GetLaunchConfigurationCommandError(output, context);
1658
1646
  }
1659
1647
  const contents = map({
1660
1648
  $metadata: deserializeMetadata(output),
@@ -1673,7 +1661,7 @@ const deserializeAws_restJson1GetLaunchConfigurationCommand = async (output, con
1673
1661
  contents.launchDisposition = (0, smithy_client_1.expectString)(data.launchDisposition);
1674
1662
  }
1675
1663
  if (data.licensing != null) {
1676
- contents.licensing = deserializeAws_restJson1Licensing(data.licensing, context);
1664
+ contents.licensing = de_Licensing(data.licensing, context);
1677
1665
  }
1678
1666
  if (data.name != null) {
1679
1667
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -1686,8 +1674,8 @@ const deserializeAws_restJson1GetLaunchConfigurationCommand = async (output, con
1686
1674
  }
1687
1675
  return contents;
1688
1676
  };
1689
- exports.deserializeAws_restJson1GetLaunchConfigurationCommand = deserializeAws_restJson1GetLaunchConfigurationCommand;
1690
- const deserializeAws_restJson1GetLaunchConfigurationCommandError = async (output, context) => {
1677
+ exports.de_GetLaunchConfigurationCommand = de_GetLaunchConfigurationCommand;
1678
+ const de_GetLaunchConfigurationCommandError = async (output, context) => {
1691
1679
  const parsedOutput = {
1692
1680
  ...output,
1693
1681
  body: await parseErrorBody(output.body, context),
@@ -1696,16 +1684,16 @@ const deserializeAws_restJson1GetLaunchConfigurationCommandError = async (output
1696
1684
  switch (errorCode) {
1697
1685
  case "InternalServerException":
1698
1686
  case "com.amazonaws.drs#InternalServerException":
1699
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1687
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1700
1688
  case "ResourceNotFoundException":
1701
1689
  case "com.amazonaws.drs#ResourceNotFoundException":
1702
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1690
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1703
1691
  case "ThrottlingException":
1704
1692
  case "com.amazonaws.drs#ThrottlingException":
1705
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1693
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1706
1694
  case "UninitializedAccountException":
1707
1695
  case "com.amazonaws.drs#UninitializedAccountException":
1708
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1696
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1709
1697
  default:
1710
1698
  const parsedBody = parsedOutput.body;
1711
1699
  (0, smithy_client_1.throwDefaultError)({
@@ -1716,9 +1704,9 @@ const deserializeAws_restJson1GetLaunchConfigurationCommandError = async (output
1716
1704
  });
1717
1705
  }
1718
1706
  };
1719
- const deserializeAws_restJson1GetReplicationConfigurationCommand = async (output, context) => {
1707
+ const de_GetReplicationConfigurationCommand = async (output, context) => {
1720
1708
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1721
- return deserializeAws_restJson1GetReplicationConfigurationCommandError(output, context);
1709
+ return de_GetReplicationConfigurationCommandError(output, context);
1722
1710
  }
1723
1711
  const contents = map({
1724
1712
  $metadata: deserializeMetadata(output),
@@ -1752,16 +1740,16 @@ const deserializeAws_restJson1GetReplicationConfigurationCommand = async (output
1752
1740
  contents.name = (0, smithy_client_1.expectString)(data.name);
1753
1741
  }
1754
1742
  if (data.pitPolicy != null) {
1755
- contents.pitPolicy = deserializeAws_restJson1PITPolicy(data.pitPolicy, context);
1743
+ contents.pitPolicy = de_PITPolicy(data.pitPolicy, context);
1756
1744
  }
1757
1745
  if (data.replicatedDisks != null) {
1758
- contents.replicatedDisks = deserializeAws_restJson1ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
1746
+ contents.replicatedDisks = de_ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
1759
1747
  }
1760
1748
  if (data.replicationServerInstanceType != null) {
1761
1749
  contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
1762
1750
  }
1763
1751
  if (data.replicationServersSecurityGroupsIDs != null) {
1764
- contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
1752
+ contents.replicationServersSecurityGroupsIDs = de_ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
1765
1753
  }
1766
1754
  if (data.sourceServerID != null) {
1767
1755
  contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
@@ -1770,15 +1758,15 @@ const deserializeAws_restJson1GetReplicationConfigurationCommand = async (output
1770
1758
  contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
1771
1759
  }
1772
1760
  if (data.stagingAreaTags != null) {
1773
- contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
1761
+ contents.stagingAreaTags = de_TagsMap(data.stagingAreaTags, context);
1774
1762
  }
1775
1763
  if (data.useDedicatedReplicationServer != null) {
1776
1764
  contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
1777
1765
  }
1778
1766
  return contents;
1779
1767
  };
1780
- exports.deserializeAws_restJson1GetReplicationConfigurationCommand = deserializeAws_restJson1GetReplicationConfigurationCommand;
1781
- const deserializeAws_restJson1GetReplicationConfigurationCommandError = async (output, context) => {
1768
+ exports.de_GetReplicationConfigurationCommand = de_GetReplicationConfigurationCommand;
1769
+ const de_GetReplicationConfigurationCommandError = async (output, context) => {
1782
1770
  const parsedOutput = {
1783
1771
  ...output,
1784
1772
  body: await parseErrorBody(output.body, context),
@@ -1787,19 +1775,19 @@ const deserializeAws_restJson1GetReplicationConfigurationCommandError = async (o
1787
1775
  switch (errorCode) {
1788
1776
  case "AccessDeniedException":
1789
1777
  case "com.amazonaws.drs#AccessDeniedException":
1790
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1778
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1791
1779
  case "InternalServerException":
1792
1780
  case "com.amazonaws.drs#InternalServerException":
1793
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1781
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1794
1782
  case "ResourceNotFoundException":
1795
1783
  case "com.amazonaws.drs#ResourceNotFoundException":
1796
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1784
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1797
1785
  case "ThrottlingException":
1798
1786
  case "com.amazonaws.drs#ThrottlingException":
1799
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1787
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1800
1788
  case "UninitializedAccountException":
1801
1789
  case "com.amazonaws.drs#UninitializedAccountException":
1802
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1790
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1803
1791
  default:
1804
1792
  const parsedBody = parsedOutput.body;
1805
1793
  (0, smithy_client_1.throwDefaultError)({
@@ -1810,9 +1798,9 @@ const deserializeAws_restJson1GetReplicationConfigurationCommandError = async (o
1810
1798
  });
1811
1799
  }
1812
1800
  };
1813
- const deserializeAws_restJson1InitializeServiceCommand = async (output, context) => {
1801
+ const de_InitializeServiceCommand = async (output, context) => {
1814
1802
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1815
- return deserializeAws_restJson1InitializeServiceCommandError(output, context);
1803
+ return de_InitializeServiceCommandError(output, context);
1816
1804
  }
1817
1805
  const contents = map({
1818
1806
  $metadata: deserializeMetadata(output),
@@ -1820,8 +1808,8 @@ const deserializeAws_restJson1InitializeServiceCommand = async (output, context)
1820
1808
  await collectBody(output.body, context);
1821
1809
  return contents;
1822
1810
  };
1823
- exports.deserializeAws_restJson1InitializeServiceCommand = deserializeAws_restJson1InitializeServiceCommand;
1824
- const deserializeAws_restJson1InitializeServiceCommandError = async (output, context) => {
1811
+ exports.de_InitializeServiceCommand = de_InitializeServiceCommand;
1812
+ const de_InitializeServiceCommandError = async (output, context) => {
1825
1813
  const parsedOutput = {
1826
1814
  ...output,
1827
1815
  body: await parseErrorBody(output.body, context),
@@ -1830,16 +1818,16 @@ const deserializeAws_restJson1InitializeServiceCommandError = async (output, con
1830
1818
  switch (errorCode) {
1831
1819
  case "AccessDeniedException":
1832
1820
  case "com.amazonaws.drs#AccessDeniedException":
1833
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1821
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1834
1822
  case "InternalServerException":
1835
1823
  case "com.amazonaws.drs#InternalServerException":
1836
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1824
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1837
1825
  case "ThrottlingException":
1838
1826
  case "com.amazonaws.drs#ThrottlingException":
1839
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1827
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1840
1828
  case "ValidationException":
1841
1829
  case "com.amazonaws.drs#ValidationException":
1842
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1830
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1843
1831
  default:
1844
1832
  const parsedBody = parsedOutput.body;
1845
1833
  (0, smithy_client_1.throwDefaultError)({
@@ -1850,24 +1838,24 @@ const deserializeAws_restJson1InitializeServiceCommandError = async (output, con
1850
1838
  });
1851
1839
  }
1852
1840
  };
1853
- const deserializeAws_restJson1ListExtensibleSourceServersCommand = async (output, context) => {
1841
+ const de_ListExtensibleSourceServersCommand = async (output, context) => {
1854
1842
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1855
- return deserializeAws_restJson1ListExtensibleSourceServersCommandError(output, context);
1843
+ return de_ListExtensibleSourceServersCommandError(output, context);
1856
1844
  }
1857
1845
  const contents = map({
1858
1846
  $metadata: deserializeMetadata(output),
1859
1847
  });
1860
1848
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1861
1849
  if (data.items != null) {
1862
- contents.items = deserializeAws_restJson1StagingSourceServersList(data.items, context);
1850
+ contents.items = de_StagingSourceServersList(data.items, context);
1863
1851
  }
1864
1852
  if (data.nextToken != null) {
1865
1853
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1866
1854
  }
1867
1855
  return contents;
1868
1856
  };
1869
- exports.deserializeAws_restJson1ListExtensibleSourceServersCommand = deserializeAws_restJson1ListExtensibleSourceServersCommand;
1870
- const deserializeAws_restJson1ListExtensibleSourceServersCommandError = async (output, context) => {
1857
+ exports.de_ListExtensibleSourceServersCommand = de_ListExtensibleSourceServersCommand;
1858
+ const de_ListExtensibleSourceServersCommandError = async (output, context) => {
1871
1859
  const parsedOutput = {
1872
1860
  ...output,
1873
1861
  body: await parseErrorBody(output.body, context),
@@ -1876,19 +1864,19 @@ const deserializeAws_restJson1ListExtensibleSourceServersCommandError = async (o
1876
1864
  switch (errorCode) {
1877
1865
  case "AccessDeniedException":
1878
1866
  case "com.amazonaws.drs#AccessDeniedException":
1879
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1867
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1880
1868
  case "InternalServerException":
1881
1869
  case "com.amazonaws.drs#InternalServerException":
1882
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1870
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1883
1871
  case "ThrottlingException":
1884
1872
  case "com.amazonaws.drs#ThrottlingException":
1885
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1873
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1886
1874
  case "UninitializedAccountException":
1887
1875
  case "com.amazonaws.drs#UninitializedAccountException":
1888
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1876
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1889
1877
  case "ValidationException":
1890
1878
  case "com.amazonaws.drs#ValidationException":
1891
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1879
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1892
1880
  default:
1893
1881
  const parsedBody = parsedOutput.body;
1894
1882
  (0, smithy_client_1.throwDefaultError)({
@@ -1899,24 +1887,24 @@ const deserializeAws_restJson1ListExtensibleSourceServersCommandError = async (o
1899
1887
  });
1900
1888
  }
1901
1889
  };
1902
- const deserializeAws_restJson1ListStagingAccountsCommand = async (output, context) => {
1890
+ const de_ListStagingAccountsCommand = async (output, context) => {
1903
1891
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1904
- return deserializeAws_restJson1ListStagingAccountsCommandError(output, context);
1892
+ return de_ListStagingAccountsCommandError(output, context);
1905
1893
  }
1906
1894
  const contents = map({
1907
1895
  $metadata: deserializeMetadata(output),
1908
1896
  });
1909
1897
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1910
1898
  if (data.accounts != null) {
1911
- contents.accounts = deserializeAws_restJson1Accounts(data.accounts, context);
1899
+ contents.accounts = de_Accounts(data.accounts, context);
1912
1900
  }
1913
1901
  if (data.nextToken != null) {
1914
1902
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1915
1903
  }
1916
1904
  return contents;
1917
1905
  };
1918
- exports.deserializeAws_restJson1ListStagingAccountsCommand = deserializeAws_restJson1ListStagingAccountsCommand;
1919
- const deserializeAws_restJson1ListStagingAccountsCommandError = async (output, context) => {
1906
+ exports.de_ListStagingAccountsCommand = de_ListStagingAccountsCommand;
1907
+ const de_ListStagingAccountsCommandError = async (output, context) => {
1920
1908
  const parsedOutput = {
1921
1909
  ...output,
1922
1910
  body: await parseErrorBody(output.body, context),
@@ -1925,19 +1913,19 @@ const deserializeAws_restJson1ListStagingAccountsCommandError = async (output, c
1925
1913
  switch (errorCode) {
1926
1914
  case "AccessDeniedException":
1927
1915
  case "com.amazonaws.drs#AccessDeniedException":
1928
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1916
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1929
1917
  case "InternalServerException":
1930
1918
  case "com.amazonaws.drs#InternalServerException":
1931
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1919
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1932
1920
  case "ThrottlingException":
1933
1921
  case "com.amazonaws.drs#ThrottlingException":
1934
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1922
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1935
1923
  case "UninitializedAccountException":
1936
1924
  case "com.amazonaws.drs#UninitializedAccountException":
1937
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
1925
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
1938
1926
  case "ValidationException":
1939
1927
  case "com.amazonaws.drs#ValidationException":
1940
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1928
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1941
1929
  default:
1942
1930
  const parsedBody = parsedOutput.body;
1943
1931
  (0, smithy_client_1.throwDefaultError)({
@@ -1948,21 +1936,21 @@ const deserializeAws_restJson1ListStagingAccountsCommandError = async (output, c
1948
1936
  });
1949
1937
  }
1950
1938
  };
1951
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1939
+ const de_ListTagsForResourceCommand = async (output, context) => {
1952
1940
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1953
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1941
+ return de_ListTagsForResourceCommandError(output, context);
1954
1942
  }
1955
1943
  const contents = map({
1956
1944
  $metadata: deserializeMetadata(output),
1957
1945
  });
1958
1946
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1959
1947
  if (data.tags != null) {
1960
- contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
1948
+ contents.tags = de_TagsMap(data.tags, context);
1961
1949
  }
1962
1950
  return contents;
1963
1951
  };
1964
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1965
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1952
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1953
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1966
1954
  const parsedOutput = {
1967
1955
  ...output,
1968
1956
  body: await parseErrorBody(output.body, context),
@@ -1971,19 +1959,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1971
1959
  switch (errorCode) {
1972
1960
  case "AccessDeniedException":
1973
1961
  case "com.amazonaws.drs#AccessDeniedException":
1974
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1962
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1975
1963
  case "InternalServerException":
1976
1964
  case "com.amazonaws.drs#InternalServerException":
1977
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1965
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1978
1966
  case "ResourceNotFoundException":
1979
1967
  case "com.amazonaws.drs#ResourceNotFoundException":
1980
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1968
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1981
1969
  case "ThrottlingException":
1982
1970
  case "com.amazonaws.drs#ThrottlingException":
1983
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1971
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1984
1972
  case "ValidationException":
1985
1973
  case "com.amazonaws.drs#ValidationException":
1986
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1974
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1987
1975
  default:
1988
1976
  const parsedBody = parsedOutput.body;
1989
1977
  (0, smithy_client_1.throwDefaultError)({
@@ -1994,9 +1982,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1994
1982
  });
1995
1983
  }
1996
1984
  };
1997
- const deserializeAws_restJson1RetryDataReplicationCommand = async (output, context) => {
1985
+ const de_RetryDataReplicationCommand = async (output, context) => {
1998
1986
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1999
- return deserializeAws_restJson1RetryDataReplicationCommandError(output, context);
1987
+ return de_RetryDataReplicationCommandError(output, context);
2000
1988
  }
2001
1989
  const contents = map({
2002
1990
  $metadata: deserializeMetadata(output),
@@ -2006,13 +1994,13 @@ const deserializeAws_restJson1RetryDataReplicationCommand = async (output, conte
2006
1994
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
2007
1995
  }
2008
1996
  if (data.dataReplicationInfo != null) {
2009
- contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
1997
+ contents.dataReplicationInfo = de_DataReplicationInfo(data.dataReplicationInfo, context);
2010
1998
  }
2011
1999
  if (data.lastLaunchResult != null) {
2012
2000
  contents.lastLaunchResult = (0, smithy_client_1.expectString)(data.lastLaunchResult);
2013
2001
  }
2014
2002
  if (data.lifeCycle != null) {
2015
- contents.lifeCycle = deserializeAws_restJson1LifeCycle(data.lifeCycle, context);
2003
+ contents.lifeCycle = de_LifeCycle(data.lifeCycle, context);
2016
2004
  }
2017
2005
  if (data.recoveryInstanceId != null) {
2018
2006
  contents.recoveryInstanceId = (0, smithy_client_1.expectString)(data.recoveryInstanceId);
@@ -2024,24 +2012,24 @@ const deserializeAws_restJson1RetryDataReplicationCommand = async (output, conte
2024
2012
  contents.reversedDirectionSourceServerArn = (0, smithy_client_1.expectString)(data.reversedDirectionSourceServerArn);
2025
2013
  }
2026
2014
  if (data.sourceCloudProperties != null) {
2027
- contents.sourceCloudProperties = deserializeAws_restJson1SourceCloudProperties(data.sourceCloudProperties, context);
2015
+ contents.sourceCloudProperties = de_SourceCloudProperties(data.sourceCloudProperties, context);
2028
2016
  }
2029
2017
  if (data.sourceProperties != null) {
2030
- contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
2018
+ contents.sourceProperties = de_SourceProperties(data.sourceProperties, context);
2031
2019
  }
2032
2020
  if (data.sourceServerID != null) {
2033
2021
  contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
2034
2022
  }
2035
2023
  if (data.stagingArea != null) {
2036
- contents.stagingArea = deserializeAws_restJson1StagingArea(data.stagingArea, context);
2024
+ contents.stagingArea = de_StagingArea(data.stagingArea, context);
2037
2025
  }
2038
2026
  if (data.tags != null) {
2039
- contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
2027
+ contents.tags = de_TagsMap(data.tags, context);
2040
2028
  }
2041
2029
  return contents;
2042
2030
  };
2043
- exports.deserializeAws_restJson1RetryDataReplicationCommand = deserializeAws_restJson1RetryDataReplicationCommand;
2044
- const deserializeAws_restJson1RetryDataReplicationCommandError = async (output, context) => {
2031
+ exports.de_RetryDataReplicationCommand = de_RetryDataReplicationCommand;
2032
+ const de_RetryDataReplicationCommandError = async (output, context) => {
2045
2033
  const parsedOutput = {
2046
2034
  ...output,
2047
2035
  body: await parseErrorBody(output.body, context),
@@ -2050,19 +2038,19 @@ const deserializeAws_restJson1RetryDataReplicationCommandError = async (output,
2050
2038
  switch (errorCode) {
2051
2039
  case "InternalServerException":
2052
2040
  case "com.amazonaws.drs#InternalServerException":
2053
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2041
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2054
2042
  case "ResourceNotFoundException":
2055
2043
  case "com.amazonaws.drs#ResourceNotFoundException":
2056
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2044
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2057
2045
  case "ThrottlingException":
2058
2046
  case "com.amazonaws.drs#ThrottlingException":
2059
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2047
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2060
2048
  case "UninitializedAccountException":
2061
2049
  case "com.amazonaws.drs#UninitializedAccountException":
2062
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2050
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2063
2051
  case "ValidationException":
2064
2052
  case "com.amazonaws.drs#ValidationException":
2065
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2053
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2066
2054
  default:
2067
2055
  const parsedBody = parsedOutput.body;
2068
2056
  (0, smithy_client_1.throwDefaultError)({
@@ -2073,9 +2061,9 @@ const deserializeAws_restJson1RetryDataReplicationCommandError = async (output,
2073
2061
  });
2074
2062
  }
2075
2063
  };
2076
- const deserializeAws_restJson1ReverseReplicationCommand = async (output, context) => {
2064
+ const de_ReverseReplicationCommand = async (output, context) => {
2077
2065
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2078
- return deserializeAws_restJson1ReverseReplicationCommandError(output, context);
2066
+ return de_ReverseReplicationCommandError(output, context);
2079
2067
  }
2080
2068
  const contents = map({
2081
2069
  $metadata: deserializeMetadata(output),
@@ -2086,8 +2074,8 @@ const deserializeAws_restJson1ReverseReplicationCommand = async (output, context
2086
2074
  }
2087
2075
  return contents;
2088
2076
  };
2089
- exports.deserializeAws_restJson1ReverseReplicationCommand = deserializeAws_restJson1ReverseReplicationCommand;
2090
- const deserializeAws_restJson1ReverseReplicationCommandError = async (output, context) => {
2077
+ exports.de_ReverseReplicationCommand = de_ReverseReplicationCommand;
2078
+ const de_ReverseReplicationCommandError = async (output, context) => {
2091
2079
  const parsedOutput = {
2092
2080
  ...output,
2093
2081
  body: await parseErrorBody(output.body, context),
@@ -2096,25 +2084,25 @@ const deserializeAws_restJson1ReverseReplicationCommandError = async (output, co
2096
2084
  switch (errorCode) {
2097
2085
  case "AccessDeniedException":
2098
2086
  case "com.amazonaws.drs#AccessDeniedException":
2099
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2087
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2100
2088
  case "ConflictException":
2101
2089
  case "com.amazonaws.drs#ConflictException":
2102
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2090
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2103
2091
  case "InternalServerException":
2104
2092
  case "com.amazonaws.drs#InternalServerException":
2105
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2093
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2106
2094
  case "ResourceNotFoundException":
2107
2095
  case "com.amazonaws.drs#ResourceNotFoundException":
2108
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2096
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2109
2097
  case "ThrottlingException":
2110
2098
  case "com.amazonaws.drs#ThrottlingException":
2111
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2099
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2112
2100
  case "UninitializedAccountException":
2113
2101
  case "com.amazonaws.drs#UninitializedAccountException":
2114
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2102
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2115
2103
  case "ValidationException":
2116
2104
  case "com.amazonaws.drs#ValidationException":
2117
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2105
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2118
2106
  default:
2119
2107
  const parsedBody = parsedOutput.body;
2120
2108
  (0, smithy_client_1.throwDefaultError)({
@@ -2125,21 +2113,21 @@ const deserializeAws_restJson1ReverseReplicationCommandError = async (output, co
2125
2113
  });
2126
2114
  }
2127
2115
  };
2128
- const deserializeAws_restJson1StartFailbackLaunchCommand = async (output, context) => {
2116
+ const de_StartFailbackLaunchCommand = async (output, context) => {
2129
2117
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2130
- return deserializeAws_restJson1StartFailbackLaunchCommandError(output, context);
2118
+ return de_StartFailbackLaunchCommandError(output, context);
2131
2119
  }
2132
2120
  const contents = map({
2133
2121
  $metadata: deserializeMetadata(output),
2134
2122
  });
2135
2123
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2136
2124
  if (data.job != null) {
2137
- contents.job = deserializeAws_restJson1Job(data.job, context);
2125
+ contents.job = de_Job(data.job, context);
2138
2126
  }
2139
2127
  return contents;
2140
2128
  };
2141
- exports.deserializeAws_restJson1StartFailbackLaunchCommand = deserializeAws_restJson1StartFailbackLaunchCommand;
2142
- const deserializeAws_restJson1StartFailbackLaunchCommandError = async (output, context) => {
2129
+ exports.de_StartFailbackLaunchCommand = de_StartFailbackLaunchCommand;
2130
+ const de_StartFailbackLaunchCommandError = async (output, context) => {
2143
2131
  const parsedOutput = {
2144
2132
  ...output,
2145
2133
  body: await parseErrorBody(output.body, context),
@@ -2148,22 +2136,22 @@ const deserializeAws_restJson1StartFailbackLaunchCommandError = async (output, c
2148
2136
  switch (errorCode) {
2149
2137
  case "ConflictException":
2150
2138
  case "com.amazonaws.drs#ConflictException":
2151
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2139
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2152
2140
  case "InternalServerException":
2153
2141
  case "com.amazonaws.drs#InternalServerException":
2154
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2142
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2155
2143
  case "ServiceQuotaExceededException":
2156
2144
  case "com.amazonaws.drs#ServiceQuotaExceededException":
2157
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2145
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2158
2146
  case "ThrottlingException":
2159
2147
  case "com.amazonaws.drs#ThrottlingException":
2160
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2148
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2161
2149
  case "UninitializedAccountException":
2162
2150
  case "com.amazonaws.drs#UninitializedAccountException":
2163
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2151
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2164
2152
  case "ValidationException":
2165
2153
  case "com.amazonaws.drs#ValidationException":
2166
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2154
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2167
2155
  default:
2168
2156
  const parsedBody = parsedOutput.body;
2169
2157
  (0, smithy_client_1.throwDefaultError)({
@@ -2174,21 +2162,21 @@ const deserializeAws_restJson1StartFailbackLaunchCommandError = async (output, c
2174
2162
  });
2175
2163
  }
2176
2164
  };
2177
- const deserializeAws_restJson1StartRecoveryCommand = async (output, context) => {
2165
+ const de_StartRecoveryCommand = async (output, context) => {
2178
2166
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2179
- return deserializeAws_restJson1StartRecoveryCommandError(output, context);
2167
+ return de_StartRecoveryCommandError(output, context);
2180
2168
  }
2181
2169
  const contents = map({
2182
2170
  $metadata: deserializeMetadata(output),
2183
2171
  });
2184
2172
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2185
2173
  if (data.job != null) {
2186
- contents.job = deserializeAws_restJson1Job(data.job, context);
2174
+ contents.job = de_Job(data.job, context);
2187
2175
  }
2188
2176
  return contents;
2189
2177
  };
2190
- exports.deserializeAws_restJson1StartRecoveryCommand = deserializeAws_restJson1StartRecoveryCommand;
2191
- const deserializeAws_restJson1StartRecoveryCommandError = async (output, context) => {
2178
+ exports.de_StartRecoveryCommand = de_StartRecoveryCommand;
2179
+ const de_StartRecoveryCommandError = async (output, context) => {
2192
2180
  const parsedOutput = {
2193
2181
  ...output,
2194
2182
  body: await parseErrorBody(output.body, context),
@@ -2197,19 +2185,19 @@ const deserializeAws_restJson1StartRecoveryCommandError = async (output, context
2197
2185
  switch (errorCode) {
2198
2186
  case "ConflictException":
2199
2187
  case "com.amazonaws.drs#ConflictException":
2200
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2188
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2201
2189
  case "InternalServerException":
2202
2190
  case "com.amazonaws.drs#InternalServerException":
2203
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2191
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2204
2192
  case "ServiceQuotaExceededException":
2205
2193
  case "com.amazonaws.drs#ServiceQuotaExceededException":
2206
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2194
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2207
2195
  case "ThrottlingException":
2208
2196
  case "com.amazonaws.drs#ThrottlingException":
2209
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2197
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2210
2198
  case "UninitializedAccountException":
2211
2199
  case "com.amazonaws.drs#UninitializedAccountException":
2212
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2200
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2213
2201
  default:
2214
2202
  const parsedBody = parsedOutput.body;
2215
2203
  (0, smithy_client_1.throwDefaultError)({
@@ -2220,21 +2208,21 @@ const deserializeAws_restJson1StartRecoveryCommandError = async (output, context
2220
2208
  });
2221
2209
  }
2222
2210
  };
2223
- const deserializeAws_restJson1StartReplicationCommand = async (output, context) => {
2211
+ const de_StartReplicationCommand = async (output, context) => {
2224
2212
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2225
- return deserializeAws_restJson1StartReplicationCommandError(output, context);
2213
+ return de_StartReplicationCommandError(output, context);
2226
2214
  }
2227
2215
  const contents = map({
2228
2216
  $metadata: deserializeMetadata(output),
2229
2217
  });
2230
2218
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2231
2219
  if (data.sourceServer != null) {
2232
- contents.sourceServer = deserializeAws_restJson1SourceServer(data.sourceServer, context);
2220
+ contents.sourceServer = de_SourceServer(data.sourceServer, context);
2233
2221
  }
2234
2222
  return contents;
2235
2223
  };
2236
- exports.deserializeAws_restJson1StartReplicationCommand = deserializeAws_restJson1StartReplicationCommand;
2237
- const deserializeAws_restJson1StartReplicationCommandError = async (output, context) => {
2224
+ exports.de_StartReplicationCommand = de_StartReplicationCommand;
2225
+ const de_StartReplicationCommandError = async (output, context) => {
2238
2226
  const parsedOutput = {
2239
2227
  ...output,
2240
2228
  body: await parseErrorBody(output.body, context),
@@ -2243,19 +2231,19 @@ const deserializeAws_restJson1StartReplicationCommandError = async (output, cont
2243
2231
  switch (errorCode) {
2244
2232
  case "ConflictException":
2245
2233
  case "com.amazonaws.drs#ConflictException":
2246
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2234
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2247
2235
  case "InternalServerException":
2248
2236
  case "com.amazonaws.drs#InternalServerException":
2249
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2237
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2250
2238
  case "ResourceNotFoundException":
2251
2239
  case "com.amazonaws.drs#ResourceNotFoundException":
2252
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2240
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2253
2241
  case "ThrottlingException":
2254
2242
  case "com.amazonaws.drs#ThrottlingException":
2255
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2243
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2256
2244
  case "UninitializedAccountException":
2257
2245
  case "com.amazonaws.drs#UninitializedAccountException":
2258
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2246
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2259
2247
  default:
2260
2248
  const parsedBody = parsedOutput.body;
2261
2249
  (0, smithy_client_1.throwDefaultError)({
@@ -2266,9 +2254,9 @@ const deserializeAws_restJson1StartReplicationCommandError = async (output, cont
2266
2254
  });
2267
2255
  }
2268
2256
  };
2269
- const deserializeAws_restJson1StopFailbackCommand = async (output, context) => {
2257
+ const de_StopFailbackCommand = async (output, context) => {
2270
2258
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2271
- return deserializeAws_restJson1StopFailbackCommandError(output, context);
2259
+ return de_StopFailbackCommandError(output, context);
2272
2260
  }
2273
2261
  const contents = map({
2274
2262
  $metadata: deserializeMetadata(output),
@@ -2276,8 +2264,8 @@ const deserializeAws_restJson1StopFailbackCommand = async (output, context) => {
2276
2264
  await collectBody(output.body, context);
2277
2265
  return contents;
2278
2266
  };
2279
- exports.deserializeAws_restJson1StopFailbackCommand = deserializeAws_restJson1StopFailbackCommand;
2280
- const deserializeAws_restJson1StopFailbackCommandError = async (output, context) => {
2267
+ exports.de_StopFailbackCommand = de_StopFailbackCommand;
2268
+ const de_StopFailbackCommandError = async (output, context) => {
2281
2269
  const parsedOutput = {
2282
2270
  ...output,
2283
2271
  body: await parseErrorBody(output.body, context),
@@ -2286,16 +2274,16 @@ const deserializeAws_restJson1StopFailbackCommandError = async (output, context)
2286
2274
  switch (errorCode) {
2287
2275
  case "InternalServerException":
2288
2276
  case "com.amazonaws.drs#InternalServerException":
2289
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2277
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2290
2278
  case "ResourceNotFoundException":
2291
2279
  case "com.amazonaws.drs#ResourceNotFoundException":
2292
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2280
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2293
2281
  case "ThrottlingException":
2294
2282
  case "com.amazonaws.drs#ThrottlingException":
2295
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2283
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2296
2284
  case "UninitializedAccountException":
2297
2285
  case "com.amazonaws.drs#UninitializedAccountException":
2298
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2286
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2299
2287
  default:
2300
2288
  const parsedBody = parsedOutput.body;
2301
2289
  (0, smithy_client_1.throwDefaultError)({
@@ -2306,21 +2294,21 @@ const deserializeAws_restJson1StopFailbackCommandError = async (output, context)
2306
2294
  });
2307
2295
  }
2308
2296
  };
2309
- const deserializeAws_restJson1StopReplicationCommand = async (output, context) => {
2297
+ const de_StopReplicationCommand = async (output, context) => {
2310
2298
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2311
- return deserializeAws_restJson1StopReplicationCommandError(output, context);
2299
+ return de_StopReplicationCommandError(output, context);
2312
2300
  }
2313
2301
  const contents = map({
2314
2302
  $metadata: deserializeMetadata(output),
2315
2303
  });
2316
2304
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2317
2305
  if (data.sourceServer != null) {
2318
- contents.sourceServer = deserializeAws_restJson1SourceServer(data.sourceServer, context);
2306
+ contents.sourceServer = de_SourceServer(data.sourceServer, context);
2319
2307
  }
2320
2308
  return contents;
2321
2309
  };
2322
- exports.deserializeAws_restJson1StopReplicationCommand = deserializeAws_restJson1StopReplicationCommand;
2323
- const deserializeAws_restJson1StopReplicationCommandError = async (output, context) => {
2310
+ exports.de_StopReplicationCommand = de_StopReplicationCommand;
2311
+ const de_StopReplicationCommandError = async (output, context) => {
2324
2312
  const parsedOutput = {
2325
2313
  ...output,
2326
2314
  body: await parseErrorBody(output.body, context),
@@ -2329,19 +2317,19 @@ const deserializeAws_restJson1StopReplicationCommandError = async (output, conte
2329
2317
  switch (errorCode) {
2330
2318
  case "ConflictException":
2331
2319
  case "com.amazonaws.drs#ConflictException":
2332
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2320
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2333
2321
  case "InternalServerException":
2334
2322
  case "com.amazonaws.drs#InternalServerException":
2335
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2323
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2336
2324
  case "ResourceNotFoundException":
2337
2325
  case "com.amazonaws.drs#ResourceNotFoundException":
2338
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2326
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2339
2327
  case "ThrottlingException":
2340
2328
  case "com.amazonaws.drs#ThrottlingException":
2341
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2329
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2342
2330
  case "UninitializedAccountException":
2343
2331
  case "com.amazonaws.drs#UninitializedAccountException":
2344
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2332
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2345
2333
  default:
2346
2334
  const parsedBody = parsedOutput.body;
2347
2335
  (0, smithy_client_1.throwDefaultError)({
@@ -2352,9 +2340,9 @@ const deserializeAws_restJson1StopReplicationCommandError = async (output, conte
2352
2340
  });
2353
2341
  }
2354
2342
  };
2355
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2343
+ const de_TagResourceCommand = async (output, context) => {
2356
2344
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2357
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2345
+ return de_TagResourceCommandError(output, context);
2358
2346
  }
2359
2347
  const contents = map({
2360
2348
  $metadata: deserializeMetadata(output),
@@ -2362,8 +2350,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2362
2350
  await collectBody(output.body, context);
2363
2351
  return contents;
2364
2352
  };
2365
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2366
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2353
+ exports.de_TagResourceCommand = de_TagResourceCommand;
2354
+ const de_TagResourceCommandError = async (output, context) => {
2367
2355
  const parsedOutput = {
2368
2356
  ...output,
2369
2357
  body: await parseErrorBody(output.body, context),
@@ -2372,19 +2360,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2372
2360
  switch (errorCode) {
2373
2361
  case "AccessDeniedException":
2374
2362
  case "com.amazonaws.drs#AccessDeniedException":
2375
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2363
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2376
2364
  case "InternalServerException":
2377
2365
  case "com.amazonaws.drs#InternalServerException":
2378
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2366
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2379
2367
  case "ResourceNotFoundException":
2380
2368
  case "com.amazonaws.drs#ResourceNotFoundException":
2381
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2369
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2382
2370
  case "ThrottlingException":
2383
2371
  case "com.amazonaws.drs#ThrottlingException":
2384
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2372
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2385
2373
  case "ValidationException":
2386
2374
  case "com.amazonaws.drs#ValidationException":
2387
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2375
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2388
2376
  default:
2389
2377
  const parsedBody = parsedOutput.body;
2390
2378
  (0, smithy_client_1.throwDefaultError)({
@@ -2395,21 +2383,21 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2395
2383
  });
2396
2384
  }
2397
2385
  };
2398
- const deserializeAws_restJson1TerminateRecoveryInstancesCommand = async (output, context) => {
2386
+ const de_TerminateRecoveryInstancesCommand = async (output, context) => {
2399
2387
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2400
- return deserializeAws_restJson1TerminateRecoveryInstancesCommandError(output, context);
2388
+ return de_TerminateRecoveryInstancesCommandError(output, context);
2401
2389
  }
2402
2390
  const contents = map({
2403
2391
  $metadata: deserializeMetadata(output),
2404
2392
  });
2405
2393
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2406
2394
  if (data.job != null) {
2407
- contents.job = deserializeAws_restJson1Job(data.job, context);
2395
+ contents.job = de_Job(data.job, context);
2408
2396
  }
2409
2397
  return contents;
2410
2398
  };
2411
- exports.deserializeAws_restJson1TerminateRecoveryInstancesCommand = deserializeAws_restJson1TerminateRecoveryInstancesCommand;
2412
- const deserializeAws_restJson1TerminateRecoveryInstancesCommandError = async (output, context) => {
2399
+ exports.de_TerminateRecoveryInstancesCommand = de_TerminateRecoveryInstancesCommand;
2400
+ const de_TerminateRecoveryInstancesCommandError = async (output, context) => {
2413
2401
  const parsedOutput = {
2414
2402
  ...output,
2415
2403
  body: await parseErrorBody(output.body, context),
@@ -2418,19 +2406,19 @@ const deserializeAws_restJson1TerminateRecoveryInstancesCommandError = async (ou
2418
2406
  switch (errorCode) {
2419
2407
  case "ConflictException":
2420
2408
  case "com.amazonaws.drs#ConflictException":
2421
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2409
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2422
2410
  case "InternalServerException":
2423
2411
  case "com.amazonaws.drs#InternalServerException":
2424
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2412
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2425
2413
  case "ServiceQuotaExceededException":
2426
2414
  case "com.amazonaws.drs#ServiceQuotaExceededException":
2427
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2415
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2428
2416
  case "ThrottlingException":
2429
2417
  case "com.amazonaws.drs#ThrottlingException":
2430
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2418
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2431
2419
  case "UninitializedAccountException":
2432
2420
  case "com.amazonaws.drs#UninitializedAccountException":
2433
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2421
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2434
2422
  default:
2435
2423
  const parsedBody = parsedOutput.body;
2436
2424
  (0, smithy_client_1.throwDefaultError)({
@@ -2441,9 +2429,9 @@ const deserializeAws_restJson1TerminateRecoveryInstancesCommandError = async (ou
2441
2429
  });
2442
2430
  }
2443
2431
  };
2444
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2432
+ const de_UntagResourceCommand = async (output, context) => {
2445
2433
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2446
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2434
+ return de_UntagResourceCommandError(output, context);
2447
2435
  }
2448
2436
  const contents = map({
2449
2437
  $metadata: deserializeMetadata(output),
@@ -2451,8 +2439,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2451
2439
  await collectBody(output.body, context);
2452
2440
  return contents;
2453
2441
  };
2454
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2455
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2442
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2443
+ const de_UntagResourceCommandError = async (output, context) => {
2456
2444
  const parsedOutput = {
2457
2445
  ...output,
2458
2446
  body: await parseErrorBody(output.body, context),
@@ -2461,19 +2449,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2461
2449
  switch (errorCode) {
2462
2450
  case "AccessDeniedException":
2463
2451
  case "com.amazonaws.drs#AccessDeniedException":
2464
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2452
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2465
2453
  case "InternalServerException":
2466
2454
  case "com.amazonaws.drs#InternalServerException":
2467
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2455
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2468
2456
  case "ResourceNotFoundException":
2469
2457
  case "com.amazonaws.drs#ResourceNotFoundException":
2470
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2458
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2471
2459
  case "ThrottlingException":
2472
2460
  case "com.amazonaws.drs#ThrottlingException":
2473
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2461
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2474
2462
  case "ValidationException":
2475
2463
  case "com.amazonaws.drs#ValidationException":
2476
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2464
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2477
2465
  default:
2478
2466
  const parsedBody = parsedOutput.body;
2479
2467
  (0, smithy_client_1.throwDefaultError)({
@@ -2484,9 +2472,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2484
2472
  });
2485
2473
  }
2486
2474
  };
2487
- const deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = async (output, context) => {
2475
+ const de_UpdateFailbackReplicationConfigurationCommand = async (output, context) => {
2488
2476
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2489
- return deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommandError(output, context);
2477
+ return de_UpdateFailbackReplicationConfigurationCommandError(output, context);
2490
2478
  }
2491
2479
  const contents = map({
2492
2480
  $metadata: deserializeMetadata(output),
@@ -2494,8 +2482,8 @@ const deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = as
2494
2482
  await collectBody(output.body, context);
2495
2483
  return contents;
2496
2484
  };
2497
- exports.deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand = deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand;
2498
- const deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommandError = async (output, context) => {
2485
+ exports.de_UpdateFailbackReplicationConfigurationCommand = de_UpdateFailbackReplicationConfigurationCommand;
2486
+ const de_UpdateFailbackReplicationConfigurationCommandError = async (output, context) => {
2499
2487
  const parsedOutput = {
2500
2488
  ...output,
2501
2489
  body: await parseErrorBody(output.body, context),
@@ -2504,19 +2492,19 @@ const deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommandError
2504
2492
  switch (errorCode) {
2505
2493
  case "AccessDeniedException":
2506
2494
  case "com.amazonaws.drs#AccessDeniedException":
2507
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2495
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2508
2496
  case "InternalServerException":
2509
2497
  case "com.amazonaws.drs#InternalServerException":
2510
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2498
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2511
2499
  case "ResourceNotFoundException":
2512
2500
  case "com.amazonaws.drs#ResourceNotFoundException":
2513
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2501
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2514
2502
  case "ThrottlingException":
2515
2503
  case "com.amazonaws.drs#ThrottlingException":
2516
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2504
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2517
2505
  case "UninitializedAccountException":
2518
2506
  case "com.amazonaws.drs#UninitializedAccountException":
2519
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2507
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2520
2508
  default:
2521
2509
  const parsedBody = parsedOutput.body;
2522
2510
  (0, smithy_client_1.throwDefaultError)({
@@ -2527,9 +2515,9 @@ const deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommandError
2527
2515
  });
2528
2516
  }
2529
2517
  };
2530
- const deserializeAws_restJson1UpdateLaunchConfigurationCommand = async (output, context) => {
2518
+ const de_UpdateLaunchConfigurationCommand = async (output, context) => {
2531
2519
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2532
- return deserializeAws_restJson1UpdateLaunchConfigurationCommandError(output, context);
2520
+ return de_UpdateLaunchConfigurationCommandError(output, context);
2533
2521
  }
2534
2522
  const contents = map({
2535
2523
  $metadata: deserializeMetadata(output),
@@ -2548,7 +2536,7 @@ const deserializeAws_restJson1UpdateLaunchConfigurationCommand = async (output,
2548
2536
  contents.launchDisposition = (0, smithy_client_1.expectString)(data.launchDisposition);
2549
2537
  }
2550
2538
  if (data.licensing != null) {
2551
- contents.licensing = deserializeAws_restJson1Licensing(data.licensing, context);
2539
+ contents.licensing = de_Licensing(data.licensing, context);
2552
2540
  }
2553
2541
  if (data.name != null) {
2554
2542
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -2561,8 +2549,8 @@ const deserializeAws_restJson1UpdateLaunchConfigurationCommand = async (output,
2561
2549
  }
2562
2550
  return contents;
2563
2551
  };
2564
- exports.deserializeAws_restJson1UpdateLaunchConfigurationCommand = deserializeAws_restJson1UpdateLaunchConfigurationCommand;
2565
- const deserializeAws_restJson1UpdateLaunchConfigurationCommandError = async (output, context) => {
2552
+ exports.de_UpdateLaunchConfigurationCommand = de_UpdateLaunchConfigurationCommand;
2553
+ const de_UpdateLaunchConfigurationCommandError = async (output, context) => {
2566
2554
  const parsedOutput = {
2567
2555
  ...output,
2568
2556
  body: await parseErrorBody(output.body, context),
@@ -2571,22 +2559,22 @@ const deserializeAws_restJson1UpdateLaunchConfigurationCommandError = async (out
2571
2559
  switch (errorCode) {
2572
2560
  case "ConflictException":
2573
2561
  case "com.amazonaws.drs#ConflictException":
2574
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2562
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2575
2563
  case "InternalServerException":
2576
2564
  case "com.amazonaws.drs#InternalServerException":
2577
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2565
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2578
2566
  case "ResourceNotFoundException":
2579
2567
  case "com.amazonaws.drs#ResourceNotFoundException":
2580
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2568
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2581
2569
  case "ThrottlingException":
2582
2570
  case "com.amazonaws.drs#ThrottlingException":
2583
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2571
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2584
2572
  case "UninitializedAccountException":
2585
2573
  case "com.amazonaws.drs#UninitializedAccountException":
2586
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2574
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2587
2575
  case "ValidationException":
2588
2576
  case "com.amazonaws.drs#ValidationException":
2589
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2577
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2590
2578
  default:
2591
2579
  const parsedBody = parsedOutput.body;
2592
2580
  (0, smithy_client_1.throwDefaultError)({
@@ -2597,9 +2585,9 @@ const deserializeAws_restJson1UpdateLaunchConfigurationCommandError = async (out
2597
2585
  });
2598
2586
  }
2599
2587
  };
2600
- const deserializeAws_restJson1UpdateReplicationConfigurationCommand = async (output, context) => {
2588
+ const de_UpdateReplicationConfigurationCommand = async (output, context) => {
2601
2589
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2602
- return deserializeAws_restJson1UpdateReplicationConfigurationCommandError(output, context);
2590
+ return de_UpdateReplicationConfigurationCommandError(output, context);
2603
2591
  }
2604
2592
  const contents = map({
2605
2593
  $metadata: deserializeMetadata(output),
@@ -2633,16 +2621,16 @@ const deserializeAws_restJson1UpdateReplicationConfigurationCommand = async (out
2633
2621
  contents.name = (0, smithy_client_1.expectString)(data.name);
2634
2622
  }
2635
2623
  if (data.pitPolicy != null) {
2636
- contents.pitPolicy = deserializeAws_restJson1PITPolicy(data.pitPolicy, context);
2624
+ contents.pitPolicy = de_PITPolicy(data.pitPolicy, context);
2637
2625
  }
2638
2626
  if (data.replicatedDisks != null) {
2639
- contents.replicatedDisks = deserializeAws_restJson1ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
2627
+ contents.replicatedDisks = de_ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
2640
2628
  }
2641
2629
  if (data.replicationServerInstanceType != null) {
2642
2630
  contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
2643
2631
  }
2644
2632
  if (data.replicationServersSecurityGroupsIDs != null) {
2645
- contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2633
+ contents.replicationServersSecurityGroupsIDs = de_ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2646
2634
  }
2647
2635
  if (data.sourceServerID != null) {
2648
2636
  contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
@@ -2651,15 +2639,15 @@ const deserializeAws_restJson1UpdateReplicationConfigurationCommand = async (out
2651
2639
  contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
2652
2640
  }
2653
2641
  if (data.stagingAreaTags != null) {
2654
- contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
2642
+ contents.stagingAreaTags = de_TagsMap(data.stagingAreaTags, context);
2655
2643
  }
2656
2644
  if (data.useDedicatedReplicationServer != null) {
2657
2645
  contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
2658
2646
  }
2659
2647
  return contents;
2660
2648
  };
2661
- exports.deserializeAws_restJson1UpdateReplicationConfigurationCommand = deserializeAws_restJson1UpdateReplicationConfigurationCommand;
2662
- const deserializeAws_restJson1UpdateReplicationConfigurationCommandError = async (output, context) => {
2649
+ exports.de_UpdateReplicationConfigurationCommand = de_UpdateReplicationConfigurationCommand;
2650
+ const de_UpdateReplicationConfigurationCommandError = async (output, context) => {
2663
2651
  const parsedOutput = {
2664
2652
  ...output,
2665
2653
  body: await parseErrorBody(output.body, context),
@@ -2668,25 +2656,25 @@ const deserializeAws_restJson1UpdateReplicationConfigurationCommandError = async
2668
2656
  switch (errorCode) {
2669
2657
  case "AccessDeniedException":
2670
2658
  case "com.amazonaws.drs#AccessDeniedException":
2671
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2659
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2672
2660
  case "ConflictException":
2673
2661
  case "com.amazonaws.drs#ConflictException":
2674
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2662
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2675
2663
  case "InternalServerException":
2676
2664
  case "com.amazonaws.drs#InternalServerException":
2677
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2665
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2678
2666
  case "ResourceNotFoundException":
2679
2667
  case "com.amazonaws.drs#ResourceNotFoundException":
2680
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2668
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2681
2669
  case "ThrottlingException":
2682
2670
  case "com.amazonaws.drs#ThrottlingException":
2683
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2671
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2684
2672
  case "UninitializedAccountException":
2685
2673
  case "com.amazonaws.drs#UninitializedAccountException":
2686
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2674
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2687
2675
  case "ValidationException":
2688
2676
  case "com.amazonaws.drs#ValidationException":
2689
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2677
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2690
2678
  default:
2691
2679
  const parsedBody = parsedOutput.body;
2692
2680
  (0, smithy_client_1.throwDefaultError)({
@@ -2697,9 +2685,9 @@ const deserializeAws_restJson1UpdateReplicationConfigurationCommandError = async
2697
2685
  });
2698
2686
  }
2699
2687
  };
2700
- const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = async (output, context) => {
2688
+ const de_UpdateReplicationConfigurationTemplateCommand = async (output, context) => {
2701
2689
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2702
- return deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommandError(output, context);
2690
+ return de_UpdateReplicationConfigurationTemplateCommandError(output, context);
2703
2691
  }
2704
2692
  const contents = map({
2705
2693
  $metadata: deserializeMetadata(output),
@@ -2733,7 +2721,7 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = as
2733
2721
  contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
2734
2722
  }
2735
2723
  if (data.pitPolicy != null) {
2736
- contents.pitPolicy = deserializeAws_restJson1PITPolicy(data.pitPolicy, context);
2724
+ contents.pitPolicy = de_PITPolicy(data.pitPolicy, context);
2737
2725
  }
2738
2726
  if (data.replicationConfigurationTemplateID != null) {
2739
2727
  contents.replicationConfigurationTemplateID = (0, smithy_client_1.expectString)(data.replicationConfigurationTemplateID);
@@ -2742,24 +2730,24 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = as
2742
2730
  contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
2743
2731
  }
2744
2732
  if (data.replicationServersSecurityGroupsIDs != null) {
2745
- contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2733
+ contents.replicationServersSecurityGroupsIDs = de_ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2746
2734
  }
2747
2735
  if (data.stagingAreaSubnetId != null) {
2748
2736
  contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
2749
2737
  }
2750
2738
  if (data.stagingAreaTags != null) {
2751
- contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
2739
+ contents.stagingAreaTags = de_TagsMap(data.stagingAreaTags, context);
2752
2740
  }
2753
2741
  if (data.tags != null) {
2754
- contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
2742
+ contents.tags = de_TagsMap(data.tags, context);
2755
2743
  }
2756
2744
  if (data.useDedicatedReplicationServer != null) {
2757
2745
  contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
2758
2746
  }
2759
2747
  return contents;
2760
2748
  };
2761
- exports.deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand;
2762
- const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommandError = async (output, context) => {
2749
+ exports.de_UpdateReplicationConfigurationTemplateCommand = de_UpdateReplicationConfigurationTemplateCommand;
2750
+ const de_UpdateReplicationConfigurationTemplateCommandError = async (output, context) => {
2763
2751
  const parsedOutput = {
2764
2752
  ...output,
2765
2753
  body: await parseErrorBody(output.body, context),
@@ -2768,22 +2756,22 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommandError
2768
2756
  switch (errorCode) {
2769
2757
  case "AccessDeniedException":
2770
2758
  case "com.amazonaws.drs#AccessDeniedException":
2771
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2759
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2772
2760
  case "InternalServerException":
2773
2761
  case "com.amazonaws.drs#InternalServerException":
2774
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2762
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2775
2763
  case "ResourceNotFoundException":
2776
2764
  case "com.amazonaws.drs#ResourceNotFoundException":
2777
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2765
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2778
2766
  case "ThrottlingException":
2779
2767
  case "com.amazonaws.drs#ThrottlingException":
2780
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2768
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2781
2769
  case "UninitializedAccountException":
2782
2770
  case "com.amazonaws.drs#UninitializedAccountException":
2783
- throw await deserializeAws_restJson1UninitializedAccountExceptionResponse(parsedOutput, context);
2771
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2784
2772
  case "ValidationException":
2785
2773
  case "com.amazonaws.drs#ValidationException":
2786
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2787
2775
  default:
2788
2776
  const parsedBody = parsedOutput.body;
2789
2777
  (0, smithy_client_1.throwDefaultError)({
@@ -2795,7 +2783,7 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommandError
2795
2783
  }
2796
2784
  };
2797
2785
  const map = smithy_client_1.map;
2798
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2786
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2799
2787
  const contents = map({});
2800
2788
  const data = parsedOutput.body;
2801
2789
  if (data.code != null) {
@@ -2810,7 +2798,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2810
2798
  });
2811
2799
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2812
2800
  };
2813
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2801
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2814
2802
  const contents = map({});
2815
2803
  const data = parsedOutput.body;
2816
2804
  if (data.code != null) {
@@ -2831,7 +2819,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2831
2819
  });
2832
2820
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2833
2821
  };
2834
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2822
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2835
2823
  const contents = map({
2836
2824
  retryAfterSeconds: [
2837
2825
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2848,7 +2836,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2848
2836
  });
2849
2837
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2850
2838
  };
2851
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2839
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2852
2840
  const contents = map({});
2853
2841
  const data = parsedOutput.body;
2854
2842
  if (data.code != null) {
@@ -2869,7 +2857,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2869
2857
  });
2870
2858
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2871
2859
  };
2872
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2860
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2873
2861
  const contents = map({});
2874
2862
  const data = parsedOutput.body;
2875
2863
  if (data.code != null) {
@@ -2896,7 +2884,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2896
2884
  });
2897
2885
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2898
2886
  };
2899
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2887
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2900
2888
  const contents = map({
2901
2889
  retryAfterSeconds: [, parsedOutput.headers["retry-after"]],
2902
2890
  });
@@ -2916,7 +2904,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2916
2904
  });
2917
2905
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2918
2906
  };
2919
- const deserializeAws_restJson1UninitializedAccountExceptionResponse = async (parsedOutput, context) => {
2907
+ const de_UninitializedAccountExceptionRes = async (parsedOutput, context) => {
2920
2908
  const contents = map({});
2921
2909
  const data = parsedOutput.body;
2922
2910
  if (data.code != null) {
@@ -2931,14 +2919,14 @@ const deserializeAws_restJson1UninitializedAccountExceptionResponse = async (par
2931
2919
  });
2932
2920
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2933
2921
  };
2934
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2922
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2935
2923
  const contents = map({});
2936
2924
  const data = parsedOutput.body;
2937
2925
  if (data.code != null) {
2938
2926
  contents.code = (0, smithy_client_1.expectString)(data.code);
2939
2927
  }
2940
2928
  if (data.fieldList != null) {
2941
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
2929
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
2942
2930
  }
2943
2931
  if (data.message != null) {
2944
2932
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -2952,76 +2940,70 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2952
2940
  });
2953
2941
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2954
2942
  };
2955
- const serializeAws_restJson1AccountIDs = (input, context) => {
2943
+ const se_AccountIDs = (input, context) => {
2956
2944
  return input
2957
2945
  .filter((e) => e != null)
2958
2946
  .map((entry) => {
2959
2947
  return entry;
2960
2948
  });
2961
2949
  };
2962
- const serializeAws_restJson1DescribeJobsRequestFilters = (input, context) => {
2950
+ const se_DescribeJobsRequestFilters = (input, context) => {
2963
2951
  return {
2964
2952
  ...(input.fromDate != null && { fromDate: input.fromDate }),
2965
- ...(input.jobIDs != null && {
2966
- jobIDs: serializeAws_restJson1DescribeJobsRequestFiltersJobIDs(input.jobIDs, context),
2967
- }),
2953
+ ...(input.jobIDs != null && { jobIDs: se_DescribeJobsRequestFiltersJobIDs(input.jobIDs, context) }),
2968
2954
  ...(input.toDate != null && { toDate: input.toDate }),
2969
2955
  };
2970
2956
  };
2971
- const serializeAws_restJson1DescribeJobsRequestFiltersJobIDs = (input, context) => {
2957
+ const se_DescribeJobsRequestFiltersJobIDs = (input, context) => {
2972
2958
  return input
2973
2959
  .filter((e) => e != null)
2974
2960
  .map((entry) => {
2975
2961
  return entry;
2976
2962
  });
2977
2963
  };
2978
- const serializeAws_restJson1DescribeRecoveryInstancesRequestFilters = (input, context) => {
2964
+ const se_DescribeRecoveryInstancesRequestFilters = (input, context) => {
2979
2965
  return {
2980
2966
  ...(input.recoveryInstanceIDs != null && {
2981
- recoveryInstanceIDs: serializeAws_restJson1RecoveryInstanceIDs(input.recoveryInstanceIDs, context),
2982
- }),
2983
- ...(input.sourceServerIDs != null && {
2984
- sourceServerIDs: serializeAws_restJson1SourceServerIDs(input.sourceServerIDs, context),
2967
+ recoveryInstanceIDs: se_RecoveryInstanceIDs(input.recoveryInstanceIDs, context),
2985
2968
  }),
2969
+ ...(input.sourceServerIDs != null && { sourceServerIDs: se_SourceServerIDs(input.sourceServerIDs, context) }),
2986
2970
  };
2987
2971
  };
2988
- const serializeAws_restJson1DescribeRecoverySnapshotsRequestFilters = (input, context) => {
2972
+ const se_DescribeRecoverySnapshotsRequestFilters = (input, context) => {
2989
2973
  return {
2990
2974
  ...(input.fromDateTime != null && { fromDateTime: input.fromDateTime }),
2991
2975
  ...(input.toDateTime != null && { toDateTime: input.toDateTime }),
2992
2976
  };
2993
2977
  };
2994
- const serializeAws_restJson1DescribeSourceServersRequestFilters = (input, context) => {
2978
+ const se_DescribeSourceServersRequestFilters = (input, context) => {
2995
2979
  return {
2996
2980
  ...(input.hardwareId != null && { hardwareId: input.hardwareId }),
2997
2981
  ...(input.sourceServerIDs != null && {
2998
- sourceServerIDs: serializeAws_restJson1DescribeSourceServersRequestFiltersIDs(input.sourceServerIDs, context),
2999
- }),
3000
- ...(input.stagingAccountIDs != null && {
3001
- stagingAccountIDs: serializeAws_restJson1AccountIDs(input.stagingAccountIDs, context),
2982
+ sourceServerIDs: se_DescribeSourceServersRequestFiltersIDs(input.sourceServerIDs, context),
3002
2983
  }),
2984
+ ...(input.stagingAccountIDs != null && { stagingAccountIDs: se_AccountIDs(input.stagingAccountIDs, context) }),
3003
2985
  };
3004
2986
  };
3005
- const serializeAws_restJson1DescribeSourceServersRequestFiltersIDs = (input, context) => {
2987
+ const se_DescribeSourceServersRequestFiltersIDs = (input, context) => {
3006
2988
  return input
3007
2989
  .filter((e) => e != null)
3008
2990
  .map((entry) => {
3009
2991
  return entry;
3010
2992
  });
3011
2993
  };
3012
- const serializeAws_restJson1Licensing = (input, context) => {
2994
+ const se_Licensing = (input, context) => {
3013
2995
  return {
3014
2996
  ...(input.osByol != null && { osByol: input.osByol }),
3015
2997
  };
3016
2998
  };
3017
- const serializeAws_restJson1PITPolicy = (input, context) => {
2999
+ const se_PITPolicy = (input, context) => {
3018
3000
  return input
3019
3001
  .filter((e) => e != null)
3020
3002
  .map((entry) => {
3021
- return serializeAws_restJson1PITPolicyRule(entry, context);
3003
+ return se_PITPolicyRule(entry, context);
3022
3004
  });
3023
3005
  };
3024
- const serializeAws_restJson1PITPolicyRule = (input, context) => {
3006
+ const se_PITPolicyRule = (input, context) => {
3025
3007
  return {
3026
3008
  ...(input.enabled != null && { enabled: input.enabled }),
3027
3009
  ...(input.interval != null && { interval: input.interval }),
@@ -3030,21 +3012,21 @@ const serializeAws_restJson1PITPolicyRule = (input, context) => {
3030
3012
  ...(input.units != null && { units: input.units }),
3031
3013
  };
3032
3014
  };
3033
- const serializeAws_restJson1RecoveryInstanceIDs = (input, context) => {
3015
+ const se_RecoveryInstanceIDs = (input, context) => {
3034
3016
  return input
3035
3017
  .filter((e) => e != null)
3036
3018
  .map((entry) => {
3037
3019
  return entry;
3038
3020
  });
3039
3021
  };
3040
- const serializeAws_restJson1RecoveryInstancesForTerminationRequest = (input, context) => {
3022
+ const se_RecoveryInstancesForTerminationRequest = (input, context) => {
3041
3023
  return input
3042
3024
  .filter((e) => e != null)
3043
3025
  .map((entry) => {
3044
3026
  return entry;
3045
3027
  });
3046
3028
  };
3047
- const serializeAws_restJson1ReplicationConfigurationReplicatedDisk = (input, context) => {
3029
+ const se_ReplicationConfigurationReplicatedDisk = (input, context) => {
3048
3030
  return {
3049
3031
  ...(input.deviceName != null && { deviceName: input.deviceName }),
3050
3032
  ...(input.iops != null && { iops: input.iops }),
@@ -3054,55 +3036,55 @@ const serializeAws_restJson1ReplicationConfigurationReplicatedDisk = (input, con
3054
3036
  ...(input.throughput != null && { throughput: input.throughput }),
3055
3037
  };
3056
3038
  };
3057
- const serializeAws_restJson1ReplicationConfigurationReplicatedDisks = (input, context) => {
3039
+ const se_ReplicationConfigurationReplicatedDisks = (input, context) => {
3058
3040
  return input
3059
3041
  .filter((e) => e != null)
3060
3042
  .map((entry) => {
3061
- return serializeAws_restJson1ReplicationConfigurationReplicatedDisk(entry, context);
3043
+ return se_ReplicationConfigurationReplicatedDisk(entry, context);
3062
3044
  });
3063
3045
  };
3064
- const serializeAws_restJson1ReplicationConfigurationTemplateIDs = (input, context) => {
3046
+ const se_ReplicationConfigurationTemplateIDs = (input, context) => {
3065
3047
  return input
3066
3048
  .filter((e) => e != null)
3067
3049
  .map((entry) => {
3068
3050
  return entry;
3069
3051
  });
3070
3052
  };
3071
- const serializeAws_restJson1ReplicationServersSecurityGroupsIDs = (input, context) => {
3053
+ const se_ReplicationServersSecurityGroupsIDs = (input, context) => {
3072
3054
  return input
3073
3055
  .filter((e) => e != null)
3074
3056
  .map((entry) => {
3075
3057
  return entry;
3076
3058
  });
3077
3059
  };
3078
- const serializeAws_restJson1SourceServerIDs = (input, context) => {
3060
+ const se_SourceServerIDs = (input, context) => {
3079
3061
  return input
3080
3062
  .filter((e) => e != null)
3081
3063
  .map((entry) => {
3082
3064
  return entry;
3083
3065
  });
3084
3066
  };
3085
- const serializeAws_restJson1StartFailbackRequestRecoveryInstanceIDs = (input, context) => {
3067
+ const se_StartFailbackRequestRecoveryInstanceIDs = (input, context) => {
3086
3068
  return input
3087
3069
  .filter((e) => e != null)
3088
3070
  .map((entry) => {
3089
3071
  return entry;
3090
3072
  });
3091
3073
  };
3092
- const serializeAws_restJson1StartRecoveryRequestSourceServer = (input, context) => {
3074
+ const se_StartRecoveryRequestSourceServer = (input, context) => {
3093
3075
  return {
3094
3076
  ...(input.recoverySnapshotID != null && { recoverySnapshotID: input.recoverySnapshotID }),
3095
3077
  ...(input.sourceServerID != null && { sourceServerID: input.sourceServerID }),
3096
3078
  };
3097
3079
  };
3098
- const serializeAws_restJson1StartRecoveryRequestSourceServers = (input, context) => {
3080
+ const se_StartRecoveryRequestSourceServers = (input, context) => {
3099
3081
  return input
3100
3082
  .filter((e) => e != null)
3101
3083
  .map((entry) => {
3102
- return serializeAws_restJson1StartRecoveryRequestSourceServer(entry, context);
3084
+ return se_StartRecoveryRequestSourceServer(entry, context);
3103
3085
  });
3104
3086
  };
3105
- const serializeAws_restJson1TagsMap = (input, context) => {
3087
+ const se_TagsMap = (input, context) => {
3106
3088
  return Object.entries(input).reduce((acc, [key, value]) => {
3107
3089
  if (value === null) {
3108
3090
  return acc;
@@ -3111,23 +3093,23 @@ const serializeAws_restJson1TagsMap = (input, context) => {
3111
3093
  return acc;
3112
3094
  }, {});
3113
3095
  };
3114
- const deserializeAws_restJson1Account = (output, context) => {
3096
+ const de_Account = (output, context) => {
3115
3097
  return {
3116
3098
  accountID: (0, smithy_client_1.expectString)(output.accountID),
3117
3099
  };
3118
3100
  };
3119
- const deserializeAws_restJson1Accounts = (output, context) => {
3101
+ const de_Accounts = (output, context) => {
3120
3102
  const retVal = (output || [])
3121
3103
  .filter((e) => e != null)
3122
3104
  .map((entry) => {
3123
3105
  if (entry === null) {
3124
3106
  return null;
3125
3107
  }
3126
- return deserializeAws_restJson1Account(entry, context);
3108
+ return de_Account(entry, context);
3127
3109
  });
3128
3110
  return retVal;
3129
3111
  };
3130
- const deserializeAws_restJson1ConversionMap = (output, context) => {
3112
+ const de_ConversionMap = (output, context) => {
3131
3113
  return Object.entries(output).reduce((acc, [key, value]) => {
3132
3114
  if (value === null) {
3133
3115
  return acc;
@@ -3136,60 +3118,56 @@ const deserializeAws_restJson1ConversionMap = (output, context) => {
3136
3118
  return acc;
3137
3119
  }, {});
3138
3120
  };
3139
- const deserializeAws_restJson1ConversionProperties = (output, context) => {
3121
+ const de_ConversionProperties = (output, context) => {
3140
3122
  return {
3141
3123
  dataTimestamp: (0, smithy_client_1.expectString)(output.dataTimestamp),
3142
3124
  forceUefi: (0, smithy_client_1.expectBoolean)(output.forceUefi),
3143
3125
  rootVolumeName: (0, smithy_client_1.expectString)(output.rootVolumeName),
3144
3126
  volumeToConversionMap: output.volumeToConversionMap != null
3145
- ? deserializeAws_restJson1VolumeToConversionMap(output.volumeToConversionMap, context)
3146
- : undefined,
3147
- volumeToVolumeSize: output.volumeToVolumeSize != null
3148
- ? deserializeAws_restJson1VolumeToSizeMap(output.volumeToVolumeSize, context)
3127
+ ? de_VolumeToConversionMap(output.volumeToConversionMap, context)
3149
3128
  : undefined,
3129
+ volumeToVolumeSize: output.volumeToVolumeSize != null ? de_VolumeToSizeMap(output.volumeToVolumeSize, context) : undefined,
3150
3130
  };
3151
3131
  };
3152
- const deserializeAws_restJson1CPU = (output, context) => {
3132
+ const de_CPU = (output, context) => {
3153
3133
  return {
3154
3134
  cores: (0, smithy_client_1.expectLong)(output.cores),
3155
3135
  modelName: (0, smithy_client_1.expectString)(output.modelName),
3156
3136
  };
3157
3137
  };
3158
- const deserializeAws_restJson1Cpus = (output, context) => {
3138
+ const de_Cpus = (output, context) => {
3159
3139
  const retVal = (output || [])
3160
3140
  .filter((e) => e != null)
3161
3141
  .map((entry) => {
3162
3142
  if (entry === null) {
3163
3143
  return null;
3164
3144
  }
3165
- return deserializeAws_restJson1CPU(entry, context);
3145
+ return de_CPU(entry, context);
3166
3146
  });
3167
3147
  return retVal;
3168
3148
  };
3169
- const deserializeAws_restJson1DataReplicationError = (output, context) => {
3149
+ const de_DataReplicationError = (output, context) => {
3170
3150
  return {
3171
3151
  error: (0, smithy_client_1.expectString)(output.error),
3172
3152
  rawError: (0, smithy_client_1.expectString)(output.rawError),
3173
3153
  };
3174
3154
  };
3175
- const deserializeAws_restJson1DataReplicationInfo = (output, context) => {
3155
+ const de_DataReplicationInfo = (output, context) => {
3176
3156
  return {
3177
- dataReplicationError: output.dataReplicationError != null
3178
- ? deserializeAws_restJson1DataReplicationError(output.dataReplicationError, context)
3179
- : undefined,
3157
+ dataReplicationError: output.dataReplicationError != null ? de_DataReplicationError(output.dataReplicationError, context) : undefined,
3180
3158
  dataReplicationInitiation: output.dataReplicationInitiation != null
3181
- ? deserializeAws_restJson1DataReplicationInitiation(output.dataReplicationInitiation, context)
3159
+ ? de_DataReplicationInitiation(output.dataReplicationInitiation, context)
3182
3160
  : undefined,
3183
3161
  dataReplicationState: (0, smithy_client_1.expectString)(output.dataReplicationState),
3184
3162
  etaDateTime: (0, smithy_client_1.expectString)(output.etaDateTime),
3185
3163
  lagDuration: (0, smithy_client_1.expectString)(output.lagDuration),
3186
3164
  replicatedDisks: output.replicatedDisks != null
3187
- ? deserializeAws_restJson1DataReplicationInfoReplicatedDisks(output.replicatedDisks, context)
3165
+ ? de_DataReplicationInfoReplicatedDisks(output.replicatedDisks, context)
3188
3166
  : undefined,
3189
3167
  stagingAvailabilityZone: (0, smithy_client_1.expectString)(output.stagingAvailabilityZone),
3190
3168
  };
3191
3169
  };
3192
- const deserializeAws_restJson1DataReplicationInfoReplicatedDisk = (output, context) => {
3170
+ const de_DataReplicationInfoReplicatedDisk = (output, context) => {
3193
3171
  return {
3194
3172
  backloggedStorageBytes: (0, smithy_client_1.expectLong)(output.backloggedStorageBytes),
3195
3173
  deviceName: (0, smithy_client_1.expectString)(output.deviceName),
@@ -3198,70 +3176,70 @@ const deserializeAws_restJson1DataReplicationInfoReplicatedDisk = (output, conte
3198
3176
  totalStorageBytes: (0, smithy_client_1.expectLong)(output.totalStorageBytes),
3199
3177
  };
3200
3178
  };
3201
- const deserializeAws_restJson1DataReplicationInfoReplicatedDisks = (output, context) => {
3179
+ const de_DataReplicationInfoReplicatedDisks = (output, context) => {
3202
3180
  const retVal = (output || [])
3203
3181
  .filter((e) => e != null)
3204
3182
  .map((entry) => {
3205
3183
  if (entry === null) {
3206
3184
  return null;
3207
3185
  }
3208
- return deserializeAws_restJson1DataReplicationInfoReplicatedDisk(entry, context);
3186
+ return de_DataReplicationInfoReplicatedDisk(entry, context);
3209
3187
  });
3210
3188
  return retVal;
3211
3189
  };
3212
- const deserializeAws_restJson1DataReplicationInitiation = (output, context) => {
3190
+ const de_DataReplicationInitiation = (output, context) => {
3213
3191
  return {
3214
3192
  nextAttemptDateTime: (0, smithy_client_1.expectString)(output.nextAttemptDateTime),
3215
3193
  startDateTime: (0, smithy_client_1.expectString)(output.startDateTime),
3216
- steps: output.steps != null ? deserializeAws_restJson1DataReplicationInitiationSteps(output.steps, context) : undefined,
3194
+ steps: output.steps != null ? de_DataReplicationInitiationSteps(output.steps, context) : undefined,
3217
3195
  };
3218
3196
  };
3219
- const deserializeAws_restJson1DataReplicationInitiationStep = (output, context) => {
3197
+ const de_DataReplicationInitiationStep = (output, context) => {
3220
3198
  return {
3221
3199
  name: (0, smithy_client_1.expectString)(output.name),
3222
3200
  status: (0, smithy_client_1.expectString)(output.status),
3223
3201
  };
3224
3202
  };
3225
- const deserializeAws_restJson1DataReplicationInitiationSteps = (output, context) => {
3203
+ const de_DataReplicationInitiationSteps = (output, context) => {
3226
3204
  const retVal = (output || [])
3227
3205
  .filter((e) => e != null)
3228
3206
  .map((entry) => {
3229
3207
  if (entry === null) {
3230
3208
  return null;
3231
3209
  }
3232
- return deserializeAws_restJson1DataReplicationInitiationStep(entry, context);
3210
+ return de_DataReplicationInitiationStep(entry, context);
3233
3211
  });
3234
3212
  return retVal;
3235
3213
  };
3236
- const deserializeAws_restJson1DescribeRecoveryInstancesItems = (output, context) => {
3214
+ const de_DescribeRecoveryInstancesItems = (output, context) => {
3237
3215
  const retVal = (output || [])
3238
3216
  .filter((e) => e != null)
3239
3217
  .map((entry) => {
3240
3218
  if (entry === null) {
3241
3219
  return null;
3242
3220
  }
3243
- return deserializeAws_restJson1RecoveryInstance(entry, context);
3221
+ return de_RecoveryInstance(entry, context);
3244
3222
  });
3245
3223
  return retVal;
3246
3224
  };
3247
- const deserializeAws_restJson1Disk = (output, context) => {
3225
+ const de_Disk = (output, context) => {
3248
3226
  return {
3249
3227
  bytes: (0, smithy_client_1.expectLong)(output.bytes),
3250
3228
  deviceName: (0, smithy_client_1.expectString)(output.deviceName),
3251
3229
  };
3252
3230
  };
3253
- const deserializeAws_restJson1Disks = (output, context) => {
3231
+ const de_Disks = (output, context) => {
3254
3232
  const retVal = (output || [])
3255
3233
  .filter((e) => e != null)
3256
3234
  .map((entry) => {
3257
3235
  if (entry === null) {
3258
3236
  return null;
3259
3237
  }
3260
- return deserializeAws_restJson1Disk(entry, context);
3238
+ return de_Disk(entry, context);
3261
3239
  });
3262
3240
  return retVal;
3263
3241
  };
3264
- const deserializeAws_restJson1EbsSnapshotsList = (output, context) => {
3242
+ const de_EbsSnapshotsList = (output, context) => {
3265
3243
  const retVal = (output || [])
3266
3244
  .filter((e) => e != null)
3267
3245
  .map((entry) => {
@@ -3272,7 +3250,7 @@ const deserializeAws_restJson1EbsSnapshotsList = (output, context) => {
3272
3250
  });
3273
3251
  return retVal;
3274
3252
  };
3275
- const deserializeAws_restJson1IdentificationHints = (output, context) => {
3253
+ const de_IdentificationHints = (output, context) => {
3276
3254
  return {
3277
3255
  awsInstanceID: (0, smithy_client_1.expectString)(output.awsInstanceID),
3278
3256
  fqdn: (0, smithy_client_1.expectString)(output.fqdn),
@@ -3280,7 +3258,7 @@ const deserializeAws_restJson1IdentificationHints = (output, context) => {
3280
3258
  vmWareUuid: (0, smithy_client_1.expectString)(output.vmWareUuid),
3281
3259
  };
3282
3260
  };
3283
- const deserializeAws_restJson1IPsList = (output, context) => {
3261
+ const de_IPsList = (output, context) => {
3284
3262
  const retVal = (output || [])
3285
3263
  .filter((e) => e != null)
3286
3264
  .map((entry) => {
@@ -3291,143 +3269,137 @@ const deserializeAws_restJson1IPsList = (output, context) => {
3291
3269
  });
3292
3270
  return retVal;
3293
3271
  };
3294
- const deserializeAws_restJson1Job = (output, context) => {
3272
+ const de_Job = (output, context) => {
3295
3273
  return {
3296
3274
  arn: (0, smithy_client_1.expectString)(output.arn),
3297
3275
  creationDateTime: (0, smithy_client_1.expectString)(output.creationDateTime),
3298
3276
  endDateTime: (0, smithy_client_1.expectString)(output.endDateTime),
3299
3277
  initiatedBy: (0, smithy_client_1.expectString)(output.initiatedBy),
3300
3278
  jobID: (0, smithy_client_1.expectString)(output.jobID),
3301
- participatingServers: output.participatingServers != null
3302
- ? deserializeAws_restJson1ParticipatingServers(output.participatingServers, context)
3303
- : undefined,
3279
+ participatingServers: output.participatingServers != null ? de_ParticipatingServers(output.participatingServers, context) : undefined,
3304
3280
  status: (0, smithy_client_1.expectString)(output.status),
3305
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
3281
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
3306
3282
  type: (0, smithy_client_1.expectString)(output.type),
3307
3283
  };
3308
3284
  };
3309
- const deserializeAws_restJson1JobLog = (output, context) => {
3285
+ const de_JobLog = (output, context) => {
3310
3286
  return {
3311
3287
  event: (0, smithy_client_1.expectString)(output.event),
3312
- eventData: output.eventData != null ? deserializeAws_restJson1JobLogEventData(output.eventData, context) : undefined,
3288
+ eventData: output.eventData != null ? de_JobLogEventData(output.eventData, context) : undefined,
3313
3289
  logDateTime: (0, smithy_client_1.expectString)(output.logDateTime),
3314
3290
  };
3315
3291
  };
3316
- const deserializeAws_restJson1JobLogEventData = (output, context) => {
3292
+ const de_JobLogEventData = (output, context) => {
3317
3293
  return {
3318
- conversionProperties: output.conversionProperties != null
3319
- ? deserializeAws_restJson1ConversionProperties(output.conversionProperties, context)
3320
- : undefined,
3294
+ conversionProperties: output.conversionProperties != null ? de_ConversionProperties(output.conversionProperties, context) : undefined,
3321
3295
  conversionServerID: (0, smithy_client_1.expectString)(output.conversionServerID),
3322
3296
  rawError: (0, smithy_client_1.expectString)(output.rawError),
3323
3297
  sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3324
3298
  targetInstanceID: (0, smithy_client_1.expectString)(output.targetInstanceID),
3325
3299
  };
3326
3300
  };
3327
- const deserializeAws_restJson1JobLogs = (output, context) => {
3301
+ const de_JobLogs = (output, context) => {
3328
3302
  const retVal = (output || [])
3329
3303
  .filter((e) => e != null)
3330
3304
  .map((entry) => {
3331
3305
  if (entry === null) {
3332
3306
  return null;
3333
3307
  }
3334
- return deserializeAws_restJson1JobLog(entry, context);
3308
+ return de_JobLog(entry, context);
3335
3309
  });
3336
3310
  return retVal;
3337
3311
  };
3338
- const deserializeAws_restJson1JobsList = (output, context) => {
3312
+ const de_JobsList = (output, context) => {
3339
3313
  const retVal = (output || [])
3340
3314
  .filter((e) => e != null)
3341
3315
  .map((entry) => {
3342
3316
  if (entry === null) {
3343
3317
  return null;
3344
3318
  }
3345
- return deserializeAws_restJson1Job(entry, context);
3319
+ return de_Job(entry, context);
3346
3320
  });
3347
3321
  return retVal;
3348
3322
  };
3349
- const deserializeAws_restJson1Licensing = (output, context) => {
3323
+ const de_Licensing = (output, context) => {
3350
3324
  return {
3351
3325
  osByol: (0, smithy_client_1.expectBoolean)(output.osByol),
3352
3326
  };
3353
3327
  };
3354
- const deserializeAws_restJson1LifeCycle = (output, context) => {
3328
+ const de_LifeCycle = (output, context) => {
3355
3329
  return {
3356
3330
  addedToServiceDateTime: (0, smithy_client_1.expectString)(output.addedToServiceDateTime),
3357
3331
  elapsedReplicationDuration: (0, smithy_client_1.expectString)(output.elapsedReplicationDuration),
3358
3332
  firstByteDateTime: (0, smithy_client_1.expectString)(output.firstByteDateTime),
3359
- lastLaunch: output.lastLaunch != null ? deserializeAws_restJson1LifeCycleLastLaunch(output.lastLaunch, context) : undefined,
3333
+ lastLaunch: output.lastLaunch != null ? de_LifeCycleLastLaunch(output.lastLaunch, context) : undefined,
3360
3334
  lastSeenByServiceDateTime: (0, smithy_client_1.expectString)(output.lastSeenByServiceDateTime),
3361
3335
  };
3362
3336
  };
3363
- const deserializeAws_restJson1LifeCycleLastLaunch = (output, context) => {
3337
+ const de_LifeCycleLastLaunch = (output, context) => {
3364
3338
  return {
3365
- initiated: output.initiated != null
3366
- ? deserializeAws_restJson1LifeCycleLastLaunchInitiated(output.initiated, context)
3367
- : undefined,
3339
+ initiated: output.initiated != null ? de_LifeCycleLastLaunchInitiated(output.initiated, context) : undefined,
3368
3340
  status: (0, smithy_client_1.expectString)(output.status),
3369
3341
  };
3370
3342
  };
3371
- const deserializeAws_restJson1LifeCycleLastLaunchInitiated = (output, context) => {
3343
+ const de_LifeCycleLastLaunchInitiated = (output, context) => {
3372
3344
  return {
3373
3345
  apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3374
3346
  jobID: (0, smithy_client_1.expectString)(output.jobID),
3375
3347
  type: (0, smithy_client_1.expectString)(output.type),
3376
3348
  };
3377
3349
  };
3378
- const deserializeAws_restJson1NetworkInterface = (output, context) => {
3350
+ const de_NetworkInterface = (output, context) => {
3379
3351
  return {
3380
- ips: output.ips != null ? deserializeAws_restJson1IPsList(output.ips, context) : undefined,
3352
+ ips: output.ips != null ? de_IPsList(output.ips, context) : undefined,
3381
3353
  isPrimary: (0, smithy_client_1.expectBoolean)(output.isPrimary),
3382
3354
  macAddress: (0, smithy_client_1.expectString)(output.macAddress),
3383
3355
  };
3384
3356
  };
3385
- const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
3357
+ const de_NetworkInterfaces = (output, context) => {
3386
3358
  const retVal = (output || [])
3387
3359
  .filter((e) => e != null)
3388
3360
  .map((entry) => {
3389
3361
  if (entry === null) {
3390
3362
  return null;
3391
3363
  }
3392
- return deserializeAws_restJson1NetworkInterface(entry, context);
3364
+ return de_NetworkInterface(entry, context);
3393
3365
  });
3394
3366
  return retVal;
3395
3367
  };
3396
- const deserializeAws_restJson1OS = (output, context) => {
3368
+ const de_OS = (output, context) => {
3397
3369
  return {
3398
3370
  fullString: (0, smithy_client_1.expectString)(output.fullString),
3399
3371
  };
3400
3372
  };
3401
- const deserializeAws_restJson1ParticipatingServer = (output, context) => {
3373
+ const de_ParticipatingServer = (output, context) => {
3402
3374
  return {
3403
3375
  launchStatus: (0, smithy_client_1.expectString)(output.launchStatus),
3404
3376
  recoveryInstanceID: (0, smithy_client_1.expectString)(output.recoveryInstanceID),
3405
3377
  sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3406
3378
  };
3407
3379
  };
3408
- const deserializeAws_restJson1ParticipatingServers = (output, context) => {
3380
+ const de_ParticipatingServers = (output, context) => {
3409
3381
  const retVal = (output || [])
3410
3382
  .filter((e) => e != null)
3411
3383
  .map((entry) => {
3412
3384
  if (entry === null) {
3413
3385
  return null;
3414
3386
  }
3415
- return deserializeAws_restJson1ParticipatingServer(entry, context);
3387
+ return de_ParticipatingServer(entry, context);
3416
3388
  });
3417
3389
  return retVal;
3418
3390
  };
3419
- const deserializeAws_restJson1PITPolicy = (output, context) => {
3391
+ const de_PITPolicy = (output, context) => {
3420
3392
  const retVal = (output || [])
3421
3393
  .filter((e) => e != null)
3422
3394
  .map((entry) => {
3423
3395
  if (entry === null) {
3424
3396
  return null;
3425
3397
  }
3426
- return deserializeAws_restJson1PITPolicyRule(entry, context);
3398
+ return de_PITPolicyRule(entry, context);
3427
3399
  });
3428
3400
  return retVal;
3429
3401
  };
3430
- const deserializeAws_restJson1PITPolicyRule = (output, context) => {
3402
+ const de_PITPolicyRule = (output, context) => {
3431
3403
  return {
3432
3404
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3433
3405
  interval: (0, smithy_client_1.expectInt32)(output.interval),
@@ -3436,15 +3408,15 @@ const deserializeAws_restJson1PITPolicyRule = (output, context) => {
3436
3408
  units: (0, smithy_client_1.expectString)(output.units),
3437
3409
  };
3438
3410
  };
3439
- const deserializeAws_restJson1RecoveryInstance = (output, context) => {
3411
+ const de_RecoveryInstance = (output, context) => {
3440
3412
  return {
3441
3413
  arn: (0, smithy_client_1.expectString)(output.arn),
3442
3414
  dataReplicationInfo: output.dataReplicationInfo != null
3443
- ? deserializeAws_restJson1RecoveryInstanceDataReplicationInfo(output.dataReplicationInfo, context)
3415
+ ? de_RecoveryInstanceDataReplicationInfo(output.dataReplicationInfo, context)
3444
3416
  : undefined,
3445
3417
  ec2InstanceID: (0, smithy_client_1.expectString)(output.ec2InstanceID),
3446
3418
  ec2InstanceState: (0, smithy_client_1.expectString)(output.ec2InstanceState),
3447
- failback: output.failback != null ? deserializeAws_restJson1RecoveryInstanceFailback(output.failback, context) : undefined,
3419
+ failback: output.failback != null ? de_RecoveryInstanceFailback(output.failback, context) : undefined,
3448
3420
  isDrill: (0, smithy_client_1.expectBoolean)(output.isDrill),
3449
3421
  jobID: (0, smithy_client_1.expectString)(output.jobID),
3450
3422
  originAvailabilityZone: (0, smithy_client_1.expectString)(output.originAvailabilityZone),
@@ -3452,36 +3424,36 @@ const deserializeAws_restJson1RecoveryInstance = (output, context) => {
3452
3424
  pointInTimeSnapshotDateTime: (0, smithy_client_1.expectString)(output.pointInTimeSnapshotDateTime),
3453
3425
  recoveryInstanceID: (0, smithy_client_1.expectString)(output.recoveryInstanceID),
3454
3426
  recoveryInstanceProperties: output.recoveryInstanceProperties != null
3455
- ? deserializeAws_restJson1RecoveryInstanceProperties(output.recoveryInstanceProperties, context)
3427
+ ? de_RecoveryInstanceProperties(output.recoveryInstanceProperties, context)
3456
3428
  : undefined,
3457
3429
  sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3458
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
3430
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
3459
3431
  };
3460
3432
  };
3461
- const deserializeAws_restJson1RecoveryInstanceDataReplicationError = (output, context) => {
3433
+ const de_RecoveryInstanceDataReplicationError = (output, context) => {
3462
3434
  return {
3463
3435
  error: (0, smithy_client_1.expectString)(output.error),
3464
3436
  rawError: (0, smithy_client_1.expectString)(output.rawError),
3465
3437
  };
3466
3438
  };
3467
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInfo = (output, context) => {
3439
+ const de_RecoveryInstanceDataReplicationInfo = (output, context) => {
3468
3440
  return {
3469
3441
  dataReplicationError: output.dataReplicationError != null
3470
- ? deserializeAws_restJson1RecoveryInstanceDataReplicationError(output.dataReplicationError, context)
3442
+ ? de_RecoveryInstanceDataReplicationError(output.dataReplicationError, context)
3471
3443
  : undefined,
3472
3444
  dataReplicationInitiation: output.dataReplicationInitiation != null
3473
- ? deserializeAws_restJson1RecoveryInstanceDataReplicationInitiation(output.dataReplicationInitiation, context)
3445
+ ? de_RecoveryInstanceDataReplicationInitiation(output.dataReplicationInitiation, context)
3474
3446
  : undefined,
3475
3447
  dataReplicationState: (0, smithy_client_1.expectString)(output.dataReplicationState),
3476
3448
  etaDateTime: (0, smithy_client_1.expectString)(output.etaDateTime),
3477
3449
  lagDuration: (0, smithy_client_1.expectString)(output.lagDuration),
3478
3450
  replicatedDisks: output.replicatedDisks != null
3479
- ? deserializeAws_restJson1RecoveryInstanceDataReplicationInfoReplicatedDisks(output.replicatedDisks, context)
3451
+ ? de_RecoveryInstanceDataReplicationInfoReplicatedDisks(output.replicatedDisks, context)
3480
3452
  : undefined,
3481
3453
  stagingAvailabilityZone: (0, smithy_client_1.expectString)(output.stagingAvailabilityZone),
3482
3454
  };
3483
3455
  };
3484
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInfoReplicatedDisk = (output, context) => {
3456
+ const de_RecoveryInstanceDataReplicationInfoReplicatedDisk = (output, context) => {
3485
3457
  return {
3486
3458
  backloggedStorageBytes: (0, smithy_client_1.expectLong)(output.backloggedStorageBytes),
3487
3459
  deviceName: (0, smithy_client_1.expectString)(output.deviceName),
@@ -3490,61 +3462,59 @@ const deserializeAws_restJson1RecoveryInstanceDataReplicationInfoReplicatedDisk
3490
3462
  totalStorageBytes: (0, smithy_client_1.expectLong)(output.totalStorageBytes),
3491
3463
  };
3492
3464
  };
3493
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInfoReplicatedDisks = (output, context) => {
3465
+ const de_RecoveryInstanceDataReplicationInfoReplicatedDisks = (output, context) => {
3494
3466
  const retVal = (output || [])
3495
3467
  .filter((e) => e != null)
3496
3468
  .map((entry) => {
3497
3469
  if (entry === null) {
3498
3470
  return null;
3499
3471
  }
3500
- return deserializeAws_restJson1RecoveryInstanceDataReplicationInfoReplicatedDisk(entry, context);
3472
+ return de_RecoveryInstanceDataReplicationInfoReplicatedDisk(entry, context);
3501
3473
  });
3502
3474
  return retVal;
3503
3475
  };
3504
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInitiation = (output, context) => {
3476
+ const de_RecoveryInstanceDataReplicationInitiation = (output, context) => {
3505
3477
  return {
3506
3478
  startDateTime: (0, smithy_client_1.expectString)(output.startDateTime),
3507
- steps: output.steps != null
3508
- ? deserializeAws_restJson1RecoveryInstanceDataReplicationInitiationSteps(output.steps, context)
3509
- : undefined,
3479
+ steps: output.steps != null ? de_RecoveryInstanceDataReplicationInitiationSteps(output.steps, context) : undefined,
3510
3480
  };
3511
3481
  };
3512
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInitiationStep = (output, context) => {
3482
+ const de_RecoveryInstanceDataReplicationInitiationStep = (output, context) => {
3513
3483
  return {
3514
3484
  name: (0, smithy_client_1.expectString)(output.name),
3515
3485
  status: (0, smithy_client_1.expectString)(output.status),
3516
3486
  };
3517
3487
  };
3518
- const deserializeAws_restJson1RecoveryInstanceDataReplicationInitiationSteps = (output, context) => {
3488
+ const de_RecoveryInstanceDataReplicationInitiationSteps = (output, context) => {
3519
3489
  const retVal = (output || [])
3520
3490
  .filter((e) => e != null)
3521
3491
  .map((entry) => {
3522
3492
  if (entry === null) {
3523
3493
  return null;
3524
3494
  }
3525
- return deserializeAws_restJson1RecoveryInstanceDataReplicationInitiationStep(entry, context);
3495
+ return de_RecoveryInstanceDataReplicationInitiationStep(entry, context);
3526
3496
  });
3527
3497
  return retVal;
3528
3498
  };
3529
- const deserializeAws_restJson1RecoveryInstanceDisk = (output, context) => {
3499
+ const de_RecoveryInstanceDisk = (output, context) => {
3530
3500
  return {
3531
3501
  bytes: (0, smithy_client_1.expectLong)(output.bytes),
3532
3502
  ebsVolumeID: (0, smithy_client_1.expectString)(output.ebsVolumeID),
3533
3503
  internalDeviceName: (0, smithy_client_1.expectString)(output.internalDeviceName),
3534
3504
  };
3535
3505
  };
3536
- const deserializeAws_restJson1RecoveryInstanceDisks = (output, context) => {
3506
+ const de_RecoveryInstanceDisks = (output, context) => {
3537
3507
  const retVal = (output || [])
3538
3508
  .filter((e) => e != null)
3539
3509
  .map((entry) => {
3540
3510
  if (entry === null) {
3541
3511
  return null;
3542
3512
  }
3543
- return deserializeAws_restJson1RecoveryInstanceDisk(entry, context);
3513
+ return de_RecoveryInstanceDisk(entry, context);
3544
3514
  });
3545
3515
  return retVal;
3546
3516
  };
3547
- const deserializeAws_restJson1RecoveryInstanceFailback = (output, context) => {
3517
+ const de_RecoveryInstanceFailback = (output, context) => {
3548
3518
  return {
3549
3519
  agentLastSeenByServiceDateTime: (0, smithy_client_1.expectString)(output.agentLastSeenByServiceDateTime),
3550
3520
  elapsedReplicationDuration: (0, smithy_client_1.expectString)(output.elapsedReplicationDuration),
@@ -3558,42 +3528,38 @@ const deserializeAws_restJson1RecoveryInstanceFailback = (output, context) => {
3558
3528
  state: (0, smithy_client_1.expectString)(output.state),
3559
3529
  };
3560
3530
  };
3561
- const deserializeAws_restJson1RecoveryInstanceProperties = (output, context) => {
3531
+ const de_RecoveryInstanceProperties = (output, context) => {
3562
3532
  return {
3563
- cpus: output.cpus != null ? deserializeAws_restJson1Cpus(output.cpus, context) : undefined,
3564
- disks: output.disks != null ? deserializeAws_restJson1RecoveryInstanceDisks(output.disks, context) : undefined,
3565
- identificationHints: output.identificationHints != null
3566
- ? deserializeAws_restJson1IdentificationHints(output.identificationHints, context)
3567
- : undefined,
3533
+ cpus: output.cpus != null ? de_Cpus(output.cpus, context) : undefined,
3534
+ disks: output.disks != null ? de_RecoveryInstanceDisks(output.disks, context) : undefined,
3535
+ identificationHints: output.identificationHints != null ? de_IdentificationHints(output.identificationHints, context) : undefined,
3568
3536
  lastUpdatedDateTime: (0, smithy_client_1.expectString)(output.lastUpdatedDateTime),
3569
- networkInterfaces: output.networkInterfaces != null
3570
- ? deserializeAws_restJson1NetworkInterfaces(output.networkInterfaces, context)
3571
- : undefined,
3572
- os: output.os != null ? deserializeAws_restJson1OS(output.os, context) : undefined,
3537
+ networkInterfaces: output.networkInterfaces != null ? de_NetworkInterfaces(output.networkInterfaces, context) : undefined,
3538
+ os: output.os != null ? de_OS(output.os, context) : undefined,
3573
3539
  ramBytes: (0, smithy_client_1.expectLong)(output.ramBytes),
3574
3540
  };
3575
3541
  };
3576
- const deserializeAws_restJson1RecoverySnapshot = (output, context) => {
3542
+ const de_RecoverySnapshot = (output, context) => {
3577
3543
  return {
3578
- ebsSnapshots: output.ebsSnapshots != null ? deserializeAws_restJson1EbsSnapshotsList(output.ebsSnapshots, context) : undefined,
3544
+ ebsSnapshots: output.ebsSnapshots != null ? de_EbsSnapshotsList(output.ebsSnapshots, context) : undefined,
3579
3545
  expectedTimestamp: (0, smithy_client_1.expectString)(output.expectedTimestamp),
3580
3546
  snapshotID: (0, smithy_client_1.expectString)(output.snapshotID),
3581
3547
  sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3582
3548
  timestamp: (0, smithy_client_1.expectString)(output.timestamp),
3583
3549
  };
3584
3550
  };
3585
- const deserializeAws_restJson1RecoverySnapshotsList = (output, context) => {
3551
+ const de_RecoverySnapshotsList = (output, context) => {
3586
3552
  const retVal = (output || [])
3587
3553
  .filter((e) => e != null)
3588
3554
  .map((entry) => {
3589
3555
  if (entry === null) {
3590
3556
  return null;
3591
3557
  }
3592
- return deserializeAws_restJson1RecoverySnapshot(entry, context);
3558
+ return de_RecoverySnapshot(entry, context);
3593
3559
  });
3594
3560
  return retVal;
3595
3561
  };
3596
- const deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = (output, context) => {
3562
+ const de_ReplicationConfigurationReplicatedDisk = (output, context) => {
3597
3563
  return {
3598
3564
  deviceName: (0, smithy_client_1.expectString)(output.deviceName),
3599
3565
  iops: (0, smithy_client_1.expectLong)(output.iops),
@@ -3603,18 +3569,18 @@ const deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = (output,
3603
3569
  throughput: (0, smithy_client_1.expectLong)(output.throughput),
3604
3570
  };
3605
3571
  };
3606
- const deserializeAws_restJson1ReplicationConfigurationReplicatedDisks = (output, context) => {
3572
+ const de_ReplicationConfigurationReplicatedDisks = (output, context) => {
3607
3573
  const retVal = (output || [])
3608
3574
  .filter((e) => e != null)
3609
3575
  .map((entry) => {
3610
3576
  if (entry === null) {
3611
3577
  return null;
3612
3578
  }
3613
- return deserializeAws_restJson1ReplicationConfigurationReplicatedDisk(entry, context);
3579
+ return de_ReplicationConfigurationReplicatedDisk(entry, context);
3614
3580
  });
3615
3581
  return retVal;
3616
3582
  };
3617
- const deserializeAws_restJson1ReplicationConfigurationTemplate = (output, context) => {
3583
+ const de_ReplicationConfigurationTemplate = (output, context) => {
3618
3584
  return {
3619
3585
  arn: (0, smithy_client_1.expectString)(output.arn),
3620
3586
  associateDefaultSecurityGroup: (0, smithy_client_1.expectBoolean)(output.associateDefaultSecurityGroup),
@@ -3625,30 +3591,30 @@ const deserializeAws_restJson1ReplicationConfigurationTemplate = (output, contex
3625
3591
  defaultLargeStagingDiskType: (0, smithy_client_1.expectString)(output.defaultLargeStagingDiskType),
3626
3592
  ebsEncryption: (0, smithy_client_1.expectString)(output.ebsEncryption),
3627
3593
  ebsEncryptionKeyArn: (0, smithy_client_1.expectString)(output.ebsEncryptionKeyArn),
3628
- pitPolicy: output.pitPolicy != null ? deserializeAws_restJson1PITPolicy(output.pitPolicy, context) : undefined,
3594
+ pitPolicy: output.pitPolicy != null ? de_PITPolicy(output.pitPolicy, context) : undefined,
3629
3595
  replicationConfigurationTemplateID: (0, smithy_client_1.expectString)(output.replicationConfigurationTemplateID),
3630
3596
  replicationServerInstanceType: (0, smithy_client_1.expectString)(output.replicationServerInstanceType),
3631
3597
  replicationServersSecurityGroupsIDs: output.replicationServersSecurityGroupsIDs != null
3632
- ? deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(output.replicationServersSecurityGroupsIDs, context)
3598
+ ? de_ReplicationServersSecurityGroupsIDs(output.replicationServersSecurityGroupsIDs, context)
3633
3599
  : undefined,
3634
3600
  stagingAreaSubnetId: (0, smithy_client_1.expectString)(output.stagingAreaSubnetId),
3635
- stagingAreaTags: output.stagingAreaTags != null ? deserializeAws_restJson1TagsMap(output.stagingAreaTags, context) : undefined,
3636
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
3601
+ stagingAreaTags: output.stagingAreaTags != null ? de_TagsMap(output.stagingAreaTags, context) : undefined,
3602
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
3637
3603
  useDedicatedReplicationServer: (0, smithy_client_1.expectBoolean)(output.useDedicatedReplicationServer),
3638
3604
  };
3639
3605
  };
3640
- const deserializeAws_restJson1ReplicationConfigurationTemplates = (output, context) => {
3606
+ const de_ReplicationConfigurationTemplates = (output, context) => {
3641
3607
  const retVal = (output || [])
3642
3608
  .filter((e) => e != null)
3643
3609
  .map((entry) => {
3644
3610
  if (entry === null) {
3645
3611
  return null;
3646
3612
  }
3647
- return deserializeAws_restJson1ReplicationConfigurationTemplate(entry, context);
3613
+ return de_ReplicationConfigurationTemplate(entry, context);
3648
3614
  });
3649
3615
  return retVal;
3650
3616
  };
3651
- const deserializeAws_restJson1ReplicationServersSecurityGroupsIDs = (output, context) => {
3617
+ const de_ReplicationServersSecurityGroupsIDs = (output, context) => {
3652
3618
  const retVal = (output || [])
3653
3619
  .filter((e) => e != null)
3654
3620
  .map((entry) => {
@@ -3659,63 +3625,55 @@ const deserializeAws_restJson1ReplicationServersSecurityGroupsIDs = (output, con
3659
3625
  });
3660
3626
  return retVal;
3661
3627
  };
3662
- const deserializeAws_restJson1SourceCloudProperties = (output, context) => {
3628
+ const de_SourceCloudProperties = (output, context) => {
3663
3629
  return {
3664
3630
  originAccountID: (0, smithy_client_1.expectString)(output.originAccountID),
3665
3631
  originAvailabilityZone: (0, smithy_client_1.expectString)(output.originAvailabilityZone),
3666
3632
  originRegion: (0, smithy_client_1.expectString)(output.originRegion),
3667
3633
  };
3668
3634
  };
3669
- const deserializeAws_restJson1SourceProperties = (output, context) => {
3635
+ const de_SourceProperties = (output, context) => {
3670
3636
  return {
3671
- cpus: output.cpus != null ? deserializeAws_restJson1Cpus(output.cpus, context) : undefined,
3672
- disks: output.disks != null ? deserializeAws_restJson1Disks(output.disks, context) : undefined,
3673
- identificationHints: output.identificationHints != null
3674
- ? deserializeAws_restJson1IdentificationHints(output.identificationHints, context)
3675
- : undefined,
3637
+ cpus: output.cpus != null ? de_Cpus(output.cpus, context) : undefined,
3638
+ disks: output.disks != null ? de_Disks(output.disks, context) : undefined,
3639
+ identificationHints: output.identificationHints != null ? de_IdentificationHints(output.identificationHints, context) : undefined,
3676
3640
  lastUpdatedDateTime: (0, smithy_client_1.expectString)(output.lastUpdatedDateTime),
3677
- networkInterfaces: output.networkInterfaces != null
3678
- ? deserializeAws_restJson1NetworkInterfaces(output.networkInterfaces, context)
3679
- : undefined,
3680
- os: output.os != null ? deserializeAws_restJson1OS(output.os, context) : undefined,
3641
+ networkInterfaces: output.networkInterfaces != null ? de_NetworkInterfaces(output.networkInterfaces, context) : undefined,
3642
+ os: output.os != null ? de_OS(output.os, context) : undefined,
3681
3643
  ramBytes: (0, smithy_client_1.expectLong)(output.ramBytes),
3682
3644
  recommendedInstanceType: (0, smithy_client_1.expectString)(output.recommendedInstanceType),
3683
3645
  };
3684
3646
  };
3685
- const deserializeAws_restJson1SourceServer = (output, context) => {
3647
+ const de_SourceServer = (output, context) => {
3686
3648
  return {
3687
3649
  arn: (0, smithy_client_1.expectString)(output.arn),
3688
- dataReplicationInfo: output.dataReplicationInfo != null
3689
- ? deserializeAws_restJson1DataReplicationInfo(output.dataReplicationInfo, context)
3690
- : undefined,
3650
+ dataReplicationInfo: output.dataReplicationInfo != null ? de_DataReplicationInfo(output.dataReplicationInfo, context) : undefined,
3691
3651
  lastLaunchResult: (0, smithy_client_1.expectString)(output.lastLaunchResult),
3692
- lifeCycle: output.lifeCycle != null ? deserializeAws_restJson1LifeCycle(output.lifeCycle, context) : undefined,
3652
+ lifeCycle: output.lifeCycle != null ? de_LifeCycle(output.lifeCycle, context) : undefined,
3693
3653
  recoveryInstanceId: (0, smithy_client_1.expectString)(output.recoveryInstanceId),
3694
3654
  replicationDirection: (0, smithy_client_1.expectString)(output.replicationDirection),
3695
3655
  reversedDirectionSourceServerArn: (0, smithy_client_1.expectString)(output.reversedDirectionSourceServerArn),
3696
3656
  sourceCloudProperties: output.sourceCloudProperties != null
3697
- ? deserializeAws_restJson1SourceCloudProperties(output.sourceCloudProperties, context)
3698
- : undefined,
3699
- sourceProperties: output.sourceProperties != null
3700
- ? deserializeAws_restJson1SourceProperties(output.sourceProperties, context)
3657
+ ? de_SourceCloudProperties(output.sourceCloudProperties, context)
3701
3658
  : undefined,
3659
+ sourceProperties: output.sourceProperties != null ? de_SourceProperties(output.sourceProperties, context) : undefined,
3702
3660
  sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3703
- stagingArea: output.stagingArea != null ? deserializeAws_restJson1StagingArea(output.stagingArea, context) : undefined,
3704
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
3661
+ stagingArea: output.stagingArea != null ? de_StagingArea(output.stagingArea, context) : undefined,
3662
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
3705
3663
  };
3706
3664
  };
3707
- const deserializeAws_restJson1SourceServersList = (output, context) => {
3665
+ const de_SourceServersList = (output, context) => {
3708
3666
  const retVal = (output || [])
3709
3667
  .filter((e) => e != null)
3710
3668
  .map((entry) => {
3711
3669
  if (entry === null) {
3712
3670
  return null;
3713
3671
  }
3714
- return deserializeAws_restJson1SourceServer(entry, context);
3672
+ return de_SourceServer(entry, context);
3715
3673
  });
3716
3674
  return retVal;
3717
3675
  };
3718
- const deserializeAws_restJson1StagingArea = (output, context) => {
3676
+ const de_StagingArea = (output, context) => {
3719
3677
  return {
3720
3678
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3721
3679
  stagingAccountID: (0, smithy_client_1.expectString)(output.stagingAccountID),
@@ -3723,25 +3681,25 @@ const deserializeAws_restJson1StagingArea = (output, context) => {
3723
3681
  status: (0, smithy_client_1.expectString)(output.status),
3724
3682
  };
3725
3683
  };
3726
- const deserializeAws_restJson1StagingSourceServer = (output, context) => {
3684
+ const de_StagingSourceServer = (output, context) => {
3727
3685
  return {
3728
3686
  arn: (0, smithy_client_1.expectString)(output.arn),
3729
3687
  hostname: (0, smithy_client_1.expectString)(output.hostname),
3730
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
3688
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
3731
3689
  };
3732
3690
  };
3733
- const deserializeAws_restJson1StagingSourceServersList = (output, context) => {
3691
+ const de_StagingSourceServersList = (output, context) => {
3734
3692
  const retVal = (output || [])
3735
3693
  .filter((e) => e != null)
3736
3694
  .map((entry) => {
3737
3695
  if (entry === null) {
3738
3696
  return null;
3739
3697
  }
3740
- return deserializeAws_restJson1StagingSourceServer(entry, context);
3698
+ return de_StagingSourceServer(entry, context);
3741
3699
  });
3742
3700
  return retVal;
3743
3701
  };
3744
- const deserializeAws_restJson1TagsMap = (output, context) => {
3702
+ const de_TagsMap = (output, context) => {
3745
3703
  return Object.entries(output).reduce((acc, [key, value]) => {
3746
3704
  if (value === null) {
3747
3705
  return acc;
@@ -3750,33 +3708,33 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
3750
3708
  return acc;
3751
3709
  }, {});
3752
3710
  };
3753
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3711
+ const de_ValidationExceptionField = (output, context) => {
3754
3712
  return {
3755
3713
  message: (0, smithy_client_1.expectString)(output.message),
3756
3714
  name: (0, smithy_client_1.expectString)(output.name),
3757
3715
  };
3758
3716
  };
3759
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
3717
+ const de_ValidationExceptionFieldList = (output, context) => {
3760
3718
  const retVal = (output || [])
3761
3719
  .filter((e) => e != null)
3762
3720
  .map((entry) => {
3763
3721
  if (entry === null) {
3764
3722
  return null;
3765
3723
  }
3766
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
3724
+ return de_ValidationExceptionField(entry, context);
3767
3725
  });
3768
3726
  return retVal;
3769
3727
  };
3770
- const deserializeAws_restJson1VolumeToConversionMap = (output, context) => {
3728
+ const de_VolumeToConversionMap = (output, context) => {
3771
3729
  return Object.entries(output).reduce((acc, [key, value]) => {
3772
3730
  if (value === null) {
3773
3731
  return acc;
3774
3732
  }
3775
- acc[key] = deserializeAws_restJson1ConversionMap(value, context);
3733
+ acc[key] = de_ConversionMap(value, context);
3776
3734
  return acc;
3777
3735
  }, {});
3778
3736
  };
3779
- const deserializeAws_restJson1VolumeToSizeMap = (output, context) => {
3737
+ const de_VolumeToSizeMap = (output, context) => {
3780
3738
  return Object.entries(output).reduce((acc, [key, value]) => {
3781
3739
  if (value === null) {
3782
3740
  return acc;