@aws-sdk/client-snowball 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist-cjs/commands/CancelClusterCommand.js +2 -2
  2. package/dist-cjs/commands/CancelJobCommand.js +2 -2
  3. package/dist-cjs/commands/CreateAddressCommand.js +2 -2
  4. package/dist-cjs/commands/CreateClusterCommand.js +2 -2
  5. package/dist-cjs/commands/CreateJobCommand.js +2 -2
  6. package/dist-cjs/commands/CreateLongTermPricingCommand.js +2 -2
  7. package/dist-cjs/commands/CreateReturnShippingLabelCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeAddressCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeAddressesCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeClusterCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeJobCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeReturnShippingLabelCommand.js +2 -2
  13. package/dist-cjs/commands/GetJobManifestCommand.js +2 -2
  14. package/dist-cjs/commands/GetJobUnlockCodeCommand.js +2 -2
  15. package/dist-cjs/commands/GetSnowballUsageCommand.js +2 -2
  16. package/dist-cjs/commands/GetSoftwareUpdatesCommand.js +2 -2
  17. package/dist-cjs/commands/ListClusterJobsCommand.js +2 -2
  18. package/dist-cjs/commands/ListClustersCommand.js +2 -2
  19. package/dist-cjs/commands/ListCompatibleImagesCommand.js +2 -2
  20. package/dist-cjs/commands/ListJobsCommand.js +2 -2
  21. package/dist-cjs/commands/ListLongTermPricingCommand.js +2 -2
  22. package/dist-cjs/commands/ListServiceVersionsCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateClusterCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateJobCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateJobShipmentStateCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateLongTermPricingCommand.js +2 -2
  27. package/dist-cjs/protocols/Aws_json1_1.js +519 -561
  28. package/dist-es/commands/CancelClusterCommand.js +3 -3
  29. package/dist-es/commands/CancelJobCommand.js +3 -3
  30. package/dist-es/commands/CreateAddressCommand.js +3 -3
  31. package/dist-es/commands/CreateClusterCommand.js +3 -3
  32. package/dist-es/commands/CreateJobCommand.js +3 -3
  33. package/dist-es/commands/CreateLongTermPricingCommand.js +3 -3
  34. package/dist-es/commands/CreateReturnShippingLabelCommand.js +3 -3
  35. package/dist-es/commands/DescribeAddressCommand.js +3 -3
  36. package/dist-es/commands/DescribeAddressesCommand.js +3 -3
  37. package/dist-es/commands/DescribeClusterCommand.js +3 -3
  38. package/dist-es/commands/DescribeJobCommand.js +3 -3
  39. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +3 -3
  40. package/dist-es/commands/GetJobManifestCommand.js +3 -3
  41. package/dist-es/commands/GetJobUnlockCodeCommand.js +3 -3
  42. package/dist-es/commands/GetSnowballUsageCommand.js +3 -3
  43. package/dist-es/commands/GetSoftwareUpdatesCommand.js +3 -3
  44. package/dist-es/commands/ListClusterJobsCommand.js +3 -3
  45. package/dist-es/commands/ListClustersCommand.js +3 -3
  46. package/dist-es/commands/ListCompatibleImagesCommand.js +3 -3
  47. package/dist-es/commands/ListJobsCommand.js +3 -3
  48. package/dist-es/commands/ListLongTermPricingCommand.js +3 -3
  49. package/dist-es/commands/ListServiceVersionsCommand.js +3 -3
  50. package/dist-es/commands/UpdateClusterCommand.js +3 -3
  51. package/dist-es/commands/UpdateJobCommand.js +3 -3
  52. package/dist-es/commands/UpdateJobShipmentStateCommand.js +3 -3
  53. package/dist-es/commands/UpdateLongTermPricingCommand.js +3 -3
  54. package/dist-es/protocols/Aws_json1_1.js +465 -507
  55. package/dist-types/protocols/Aws_json1_1.d.ts +208 -52
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +52 -52
  57. package/package.json +6 -6
@@ -2,254 +2,254 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { ClusterLimitExceededException, ConflictException, Ec2RequestFailedException, InvalidAddressException, InvalidInputCombinationException, InvalidJobStateException, InvalidNextTokenException, InvalidResourceException, KMSRequestFailedException, ReturnShippingLabelAlreadyExistsException, UnsupportedAddressException, } from "../models/models_0";
4
4
  import { SnowballServiceException as __BaseException } from "../models/SnowballServiceException";
5
- export const serializeAws_json1_1CancelClusterCommand = async (input, context) => {
5
+ export const se_CancelClusterCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.1",
8
8
  "x-amz-target": "AWSIESnowballJobManagementService.CancelCluster",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_1CancelClusterRequest(input, context));
11
+ body = JSON.stringify(se_CancelClusterRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_1CancelJobCommand = async (input, context) => {
14
+ export const se_CancelJobCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.1",
17
17
  "x-amz-target": "AWSIESnowballJobManagementService.CancelJob",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_1CancelJobRequest(input, context));
20
+ body = JSON.stringify(se_CancelJobRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_1CreateAddressCommand = async (input, context) => {
23
+ export const se_CreateAddressCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.1",
26
26
  "x-amz-target": "AWSIESnowballJobManagementService.CreateAddress",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_1CreateAddressRequest(input, context));
29
+ body = JSON.stringify(se_CreateAddressRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_1CreateClusterCommand = async (input, context) => {
32
+ export const se_CreateClusterCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.1",
35
35
  "x-amz-target": "AWSIESnowballJobManagementService.CreateCluster",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_1CreateClusterRequest(input, context));
38
+ body = JSON.stringify(se_CreateClusterRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_1CreateJobCommand = async (input, context) => {
41
+ export const se_CreateJobCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.1",
44
44
  "x-amz-target": "AWSIESnowballJobManagementService.CreateJob",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_1CreateJobRequest(input, context));
47
+ body = JSON.stringify(se_CreateJobRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_1CreateLongTermPricingCommand = async (input, context) => {
50
+ export const se_CreateLongTermPricingCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "AWSIESnowballJobManagementService.CreateLongTermPricing",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1CreateLongTermPricingRequest(input, context));
56
+ body = JSON.stringify(se_CreateLongTermPricingRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_1CreateReturnShippingLabelCommand = async (input, context) => {
59
+ export const se_CreateReturnShippingLabelCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "AWSIESnowballJobManagementService.CreateReturnShippingLabel",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1CreateReturnShippingLabelRequest(input, context));
65
+ body = JSON.stringify(se_CreateReturnShippingLabelRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_1DescribeAddressCommand = async (input, context) => {
68
+ export const se_DescribeAddressCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "AWSIESnowballJobManagementService.DescribeAddress",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1DescribeAddressRequest(input, context));
74
+ body = JSON.stringify(se_DescribeAddressRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_1DescribeAddressesCommand = async (input, context) => {
77
+ export const se_DescribeAddressesCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "AWSIESnowballJobManagementService.DescribeAddresses",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1DescribeAddressesRequest(input, context));
83
+ body = JSON.stringify(se_DescribeAddressesRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_1DescribeClusterCommand = async (input, context) => {
86
+ export const se_DescribeClusterCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.1",
89
89
  "x-amz-target": "AWSIESnowballJobManagementService.DescribeCluster",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_1DescribeClusterRequest(input, context));
92
+ body = JSON.stringify(se_DescribeClusterRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_1DescribeJobCommand = async (input, context) => {
95
+ export const se_DescribeJobCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.1",
98
98
  "x-amz-target": "AWSIESnowballJobManagementService.DescribeJob",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_1DescribeJobRequest(input, context));
101
+ body = JSON.stringify(se_DescribeJobRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_1DescribeReturnShippingLabelCommand = async (input, context) => {
104
+ export const se_DescribeReturnShippingLabelCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.1",
107
107
  "x-amz-target": "AWSIESnowballJobManagementService.DescribeReturnShippingLabel",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_1DescribeReturnShippingLabelRequest(input, context));
110
+ body = JSON.stringify(se_DescribeReturnShippingLabelRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_1GetJobManifestCommand = async (input, context) => {
113
+ export const se_GetJobManifestCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.1",
116
116
  "x-amz-target": "AWSIESnowballJobManagementService.GetJobManifest",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_1GetJobManifestRequest(input, context));
119
+ body = JSON.stringify(se_GetJobManifestRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const serializeAws_json1_1GetJobUnlockCodeCommand = async (input, context) => {
122
+ export const se_GetJobUnlockCodeCommand = async (input, context) => {
123
123
  const headers = {
124
124
  "content-type": "application/x-amz-json-1.1",
125
125
  "x-amz-target": "AWSIESnowballJobManagementService.GetJobUnlockCode",
126
126
  };
127
127
  let body;
128
- body = JSON.stringify(serializeAws_json1_1GetJobUnlockCodeRequest(input, context));
128
+ body = JSON.stringify(se_GetJobUnlockCodeRequest(input, context));
129
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
130
  };
131
- export const serializeAws_json1_1GetSnowballUsageCommand = async (input, context) => {
131
+ export const se_GetSnowballUsageCommand = async (input, context) => {
132
132
  const headers = {
133
133
  "content-type": "application/x-amz-json-1.1",
134
134
  "x-amz-target": "AWSIESnowballJobManagementService.GetSnowballUsage",
135
135
  };
136
136
  let body;
137
- body = JSON.stringify(serializeAws_json1_1GetSnowballUsageRequest(input, context));
137
+ body = JSON.stringify(se_GetSnowballUsageRequest(input, context));
138
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
139
  };
140
- export const serializeAws_json1_1GetSoftwareUpdatesCommand = async (input, context) => {
140
+ export const se_GetSoftwareUpdatesCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "AWSIESnowballJobManagementService.GetSoftwareUpdates",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1GetSoftwareUpdatesRequest(input, context));
146
+ body = JSON.stringify(se_GetSoftwareUpdatesRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- export const serializeAws_json1_1ListClusterJobsCommand = async (input, context) => {
149
+ export const se_ListClusterJobsCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "AWSIESnowballJobManagementService.ListClusterJobs",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1ListClusterJobsRequest(input, context));
155
+ body = JSON.stringify(se_ListClusterJobsRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- export const serializeAws_json1_1ListClustersCommand = async (input, context) => {
158
+ export const se_ListClustersCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "AWSIESnowballJobManagementService.ListClusters",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1ListClustersRequest(input, context));
164
+ body = JSON.stringify(se_ListClustersRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- export const serializeAws_json1_1ListCompatibleImagesCommand = async (input, context) => {
167
+ export const se_ListCompatibleImagesCommand = async (input, context) => {
168
168
  const headers = {
169
169
  "content-type": "application/x-amz-json-1.1",
170
170
  "x-amz-target": "AWSIESnowballJobManagementService.ListCompatibleImages",
171
171
  };
172
172
  let body;
173
- body = JSON.stringify(serializeAws_json1_1ListCompatibleImagesRequest(input, context));
173
+ body = JSON.stringify(se_ListCompatibleImagesRequest(input, context));
174
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
175
  };
176
- export const serializeAws_json1_1ListJobsCommand = async (input, context) => {
176
+ export const se_ListJobsCommand = async (input, context) => {
177
177
  const headers = {
178
178
  "content-type": "application/x-amz-json-1.1",
179
179
  "x-amz-target": "AWSIESnowballJobManagementService.ListJobs",
180
180
  };
181
181
  let body;
182
- body = JSON.stringify(serializeAws_json1_1ListJobsRequest(input, context));
182
+ body = JSON.stringify(se_ListJobsRequest(input, context));
183
183
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
184
  };
185
- export const serializeAws_json1_1ListLongTermPricingCommand = async (input, context) => {
185
+ export const se_ListLongTermPricingCommand = async (input, context) => {
186
186
  const headers = {
187
187
  "content-type": "application/x-amz-json-1.1",
188
188
  "x-amz-target": "AWSIESnowballJobManagementService.ListLongTermPricing",
189
189
  };
190
190
  let body;
191
- body = JSON.stringify(serializeAws_json1_1ListLongTermPricingRequest(input, context));
191
+ body = JSON.stringify(se_ListLongTermPricingRequest(input, context));
192
192
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
193
193
  };
194
- export const serializeAws_json1_1ListServiceVersionsCommand = async (input, context) => {
194
+ export const se_ListServiceVersionsCommand = async (input, context) => {
195
195
  const headers = {
196
196
  "content-type": "application/x-amz-json-1.1",
197
197
  "x-amz-target": "AWSIESnowballJobManagementService.ListServiceVersions",
198
198
  };
199
199
  let body;
200
- body = JSON.stringify(serializeAws_json1_1ListServiceVersionsRequest(input, context));
200
+ body = JSON.stringify(se_ListServiceVersionsRequest(input, context));
201
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
202
202
  };
203
- export const serializeAws_json1_1UpdateClusterCommand = async (input, context) => {
203
+ export const se_UpdateClusterCommand = async (input, context) => {
204
204
  const headers = {
205
205
  "content-type": "application/x-amz-json-1.1",
206
206
  "x-amz-target": "AWSIESnowballJobManagementService.UpdateCluster",
207
207
  };
208
208
  let body;
209
- body = JSON.stringify(serializeAws_json1_1UpdateClusterRequest(input, context));
209
+ body = JSON.stringify(se_UpdateClusterRequest(input, context));
210
210
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
211
211
  };
212
- export const serializeAws_json1_1UpdateJobCommand = async (input, context) => {
212
+ export const se_UpdateJobCommand = async (input, context) => {
213
213
  const headers = {
214
214
  "content-type": "application/x-amz-json-1.1",
215
215
  "x-amz-target": "AWSIESnowballJobManagementService.UpdateJob",
216
216
  };
217
217
  let body;
218
- body = JSON.stringify(serializeAws_json1_1UpdateJobRequest(input, context));
218
+ body = JSON.stringify(se_UpdateJobRequest(input, context));
219
219
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
220
220
  };
221
- export const serializeAws_json1_1UpdateJobShipmentStateCommand = async (input, context) => {
221
+ export const se_UpdateJobShipmentStateCommand = async (input, context) => {
222
222
  const headers = {
223
223
  "content-type": "application/x-amz-json-1.1",
224
224
  "x-amz-target": "AWSIESnowballJobManagementService.UpdateJobShipmentState",
225
225
  };
226
226
  let body;
227
- body = JSON.stringify(serializeAws_json1_1UpdateJobShipmentStateRequest(input, context));
227
+ body = JSON.stringify(se_UpdateJobShipmentStateRequest(input, context));
228
228
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
229
229
  };
230
- export const serializeAws_json1_1UpdateLongTermPricingCommand = async (input, context) => {
230
+ export const se_UpdateLongTermPricingCommand = async (input, context) => {
231
231
  const headers = {
232
232
  "content-type": "application/x-amz-json-1.1",
233
233
  "x-amz-target": "AWSIESnowballJobManagementService.UpdateLongTermPricing",
234
234
  };
235
235
  let body;
236
- body = JSON.stringify(serializeAws_json1_1UpdateLongTermPricingRequest(input, context));
236
+ body = JSON.stringify(se_UpdateLongTermPricingRequest(input, context));
237
237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
238
238
  };
239
- export const deserializeAws_json1_1CancelClusterCommand = async (output, context) => {
239
+ export const de_CancelClusterCommand = async (output, context) => {
240
240
  if (output.statusCode >= 300) {
241
- return deserializeAws_json1_1CancelClusterCommandError(output, context);
241
+ return de_CancelClusterCommandError(output, context);
242
242
  }
243
243
  const data = await parseBody(output.body, context);
244
244
  let contents = {};
245
- contents = deserializeAws_json1_1CancelClusterResult(data, context);
245
+ contents = de_CancelClusterResult(data, context);
246
246
  const response = {
247
247
  $metadata: deserializeMetadata(output),
248
248
  ...contents,
249
249
  };
250
250
  return Promise.resolve(response);
251
251
  };
252
- const deserializeAws_json1_1CancelClusterCommandError = async (output, context) => {
252
+ const de_CancelClusterCommandError = async (output, context) => {
253
253
  const parsedOutput = {
254
254
  ...output,
255
255
  body: await parseErrorBody(output.body, context),
@@ -258,13 +258,13 @@ const deserializeAws_json1_1CancelClusterCommandError = async (output, context)
258
258
  switch (errorCode) {
259
259
  case "InvalidJobStateException":
260
260
  case "com.amazonaws.snowball#InvalidJobStateException":
261
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
261
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
262
262
  case "InvalidResourceException":
263
263
  case "com.amazonaws.snowball#InvalidResourceException":
264
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
264
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
265
265
  case "KMSRequestFailedException":
266
266
  case "com.amazonaws.snowball#KMSRequestFailedException":
267
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
267
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
268
268
  default:
269
269
  const parsedBody = parsedOutput.body;
270
270
  throwDefaultError({
@@ -275,20 +275,20 @@ const deserializeAws_json1_1CancelClusterCommandError = async (output, context)
275
275
  });
276
276
  }
277
277
  };
278
- export const deserializeAws_json1_1CancelJobCommand = async (output, context) => {
278
+ export const de_CancelJobCommand = async (output, context) => {
279
279
  if (output.statusCode >= 300) {
280
- return deserializeAws_json1_1CancelJobCommandError(output, context);
280
+ return de_CancelJobCommandError(output, context);
281
281
  }
282
282
  const data = await parseBody(output.body, context);
283
283
  let contents = {};
284
- contents = deserializeAws_json1_1CancelJobResult(data, context);
284
+ contents = de_CancelJobResult(data, context);
285
285
  const response = {
286
286
  $metadata: deserializeMetadata(output),
287
287
  ...contents,
288
288
  };
289
289
  return Promise.resolve(response);
290
290
  };
291
- const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
291
+ const de_CancelJobCommandError = async (output, context) => {
292
292
  const parsedOutput = {
293
293
  ...output,
294
294
  body: await parseErrorBody(output.body, context),
@@ -297,13 +297,13 @@ const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
297
297
  switch (errorCode) {
298
298
  case "InvalidJobStateException":
299
299
  case "com.amazonaws.snowball#InvalidJobStateException":
300
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
300
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
301
301
  case "InvalidResourceException":
302
302
  case "com.amazonaws.snowball#InvalidResourceException":
303
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
303
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
304
304
  case "KMSRequestFailedException":
305
305
  case "com.amazonaws.snowball#KMSRequestFailedException":
306
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
306
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
307
307
  default:
308
308
  const parsedBody = parsedOutput.body;
309
309
  throwDefaultError({
@@ -314,20 +314,20 @@ const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
314
314
  });
315
315
  }
316
316
  };
317
- export const deserializeAws_json1_1CreateAddressCommand = async (output, context) => {
317
+ export const de_CreateAddressCommand = async (output, context) => {
318
318
  if (output.statusCode >= 300) {
319
- return deserializeAws_json1_1CreateAddressCommandError(output, context);
319
+ return de_CreateAddressCommandError(output, context);
320
320
  }
321
321
  const data = await parseBody(output.body, context);
322
322
  let contents = {};
323
- contents = deserializeAws_json1_1CreateAddressResult(data, context);
323
+ contents = de_CreateAddressResult(data, context);
324
324
  const response = {
325
325
  $metadata: deserializeMetadata(output),
326
326
  ...contents,
327
327
  };
328
328
  return Promise.resolve(response);
329
329
  };
330
- const deserializeAws_json1_1CreateAddressCommandError = async (output, context) => {
330
+ const de_CreateAddressCommandError = async (output, context) => {
331
331
  const parsedOutput = {
332
332
  ...output,
333
333
  body: await parseErrorBody(output.body, context),
@@ -336,10 +336,10 @@ const deserializeAws_json1_1CreateAddressCommandError = async (output, context)
336
336
  switch (errorCode) {
337
337
  case "InvalidAddressException":
338
338
  case "com.amazonaws.snowball#InvalidAddressException":
339
- throw await deserializeAws_json1_1InvalidAddressExceptionResponse(parsedOutput, context);
339
+ throw await de_InvalidAddressExceptionRes(parsedOutput, context);
340
340
  case "UnsupportedAddressException":
341
341
  case "com.amazonaws.snowball#UnsupportedAddressException":
342
- throw await deserializeAws_json1_1UnsupportedAddressExceptionResponse(parsedOutput, context);
342
+ throw await de_UnsupportedAddressExceptionRes(parsedOutput, context);
343
343
  default:
344
344
  const parsedBody = parsedOutput.body;
345
345
  throwDefaultError({
@@ -350,20 +350,20 @@ const deserializeAws_json1_1CreateAddressCommandError = async (output, context)
350
350
  });
351
351
  }
352
352
  };
353
- export const deserializeAws_json1_1CreateClusterCommand = async (output, context) => {
353
+ export const de_CreateClusterCommand = async (output, context) => {
354
354
  if (output.statusCode >= 300) {
355
- return deserializeAws_json1_1CreateClusterCommandError(output, context);
355
+ return de_CreateClusterCommandError(output, context);
356
356
  }
357
357
  const data = await parseBody(output.body, context);
358
358
  let contents = {};
359
- contents = deserializeAws_json1_1CreateClusterResult(data, context);
359
+ contents = de_CreateClusterResult(data, context);
360
360
  const response = {
361
361
  $metadata: deserializeMetadata(output),
362
362
  ...contents,
363
363
  };
364
364
  return Promise.resolve(response);
365
365
  };
366
- const deserializeAws_json1_1CreateClusterCommandError = async (output, context) => {
366
+ const de_CreateClusterCommandError = async (output, context) => {
367
367
  const parsedOutput = {
368
368
  ...output,
369
369
  body: await parseErrorBody(output.body, context),
@@ -372,16 +372,16 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
372
372
  switch (errorCode) {
373
373
  case "Ec2RequestFailedException":
374
374
  case "com.amazonaws.snowball#Ec2RequestFailedException":
375
- throw await deserializeAws_json1_1Ec2RequestFailedExceptionResponse(parsedOutput, context);
375
+ throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
376
376
  case "InvalidInputCombinationException":
377
377
  case "com.amazonaws.snowball#InvalidInputCombinationException":
378
- throw await deserializeAws_json1_1InvalidInputCombinationExceptionResponse(parsedOutput, context);
378
+ throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
379
379
  case "InvalidResourceException":
380
380
  case "com.amazonaws.snowball#InvalidResourceException":
381
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
381
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
382
382
  case "KMSRequestFailedException":
383
383
  case "com.amazonaws.snowball#KMSRequestFailedException":
384
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
384
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
385
385
  default:
386
386
  const parsedBody = parsedOutput.body;
387
387
  throwDefaultError({
@@ -392,20 +392,20 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
392
392
  });
393
393
  }
394
394
  };
395
- export const deserializeAws_json1_1CreateJobCommand = async (output, context) => {
395
+ export const de_CreateJobCommand = async (output, context) => {
396
396
  if (output.statusCode >= 300) {
397
- return deserializeAws_json1_1CreateJobCommandError(output, context);
397
+ return de_CreateJobCommandError(output, context);
398
398
  }
399
399
  const data = await parseBody(output.body, context);
400
400
  let contents = {};
401
- contents = deserializeAws_json1_1CreateJobResult(data, context);
401
+ contents = de_CreateJobResult(data, context);
402
402
  const response = {
403
403
  $metadata: deserializeMetadata(output),
404
404
  ...contents,
405
405
  };
406
406
  return Promise.resolve(response);
407
407
  };
408
- const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
408
+ const de_CreateJobCommandError = async (output, context) => {
409
409
  const parsedOutput = {
410
410
  ...output,
411
411
  body: await parseErrorBody(output.body, context),
@@ -414,19 +414,19 @@ const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
414
414
  switch (errorCode) {
415
415
  case "ClusterLimitExceededException":
416
416
  case "com.amazonaws.snowball#ClusterLimitExceededException":
417
- throw await deserializeAws_json1_1ClusterLimitExceededExceptionResponse(parsedOutput, context);
417
+ throw await de_ClusterLimitExceededExceptionRes(parsedOutput, context);
418
418
  case "Ec2RequestFailedException":
419
419
  case "com.amazonaws.snowball#Ec2RequestFailedException":
420
- throw await deserializeAws_json1_1Ec2RequestFailedExceptionResponse(parsedOutput, context);
420
+ throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
421
421
  case "InvalidInputCombinationException":
422
422
  case "com.amazonaws.snowball#InvalidInputCombinationException":
423
- throw await deserializeAws_json1_1InvalidInputCombinationExceptionResponse(parsedOutput, context);
423
+ throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
424
424
  case "InvalidResourceException":
425
425
  case "com.amazonaws.snowball#InvalidResourceException":
426
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
426
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
427
427
  case "KMSRequestFailedException":
428
428
  case "com.amazonaws.snowball#KMSRequestFailedException":
429
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
429
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
430
430
  default:
431
431
  const parsedBody = parsedOutput.body;
432
432
  throwDefaultError({
@@ -437,20 +437,20 @@ const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
437
437
  });
438
438
  }
439
439
  };
440
- export const deserializeAws_json1_1CreateLongTermPricingCommand = async (output, context) => {
440
+ export const de_CreateLongTermPricingCommand = async (output, context) => {
441
441
  if (output.statusCode >= 300) {
442
- return deserializeAws_json1_1CreateLongTermPricingCommandError(output, context);
442
+ return de_CreateLongTermPricingCommandError(output, context);
443
443
  }
444
444
  const data = await parseBody(output.body, context);
445
445
  let contents = {};
446
- contents = deserializeAws_json1_1CreateLongTermPricingResult(data, context);
446
+ contents = de_CreateLongTermPricingResult(data, context);
447
447
  const response = {
448
448
  $metadata: deserializeMetadata(output),
449
449
  ...contents,
450
450
  };
451
451
  return Promise.resolve(response);
452
452
  };
453
- const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, context) => {
453
+ const de_CreateLongTermPricingCommandError = async (output, context) => {
454
454
  const parsedOutput = {
455
455
  ...output,
456
456
  body: await parseErrorBody(output.body, context),
@@ -459,7 +459,7 @@ const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, c
459
459
  switch (errorCode) {
460
460
  case "InvalidResourceException":
461
461
  case "com.amazonaws.snowball#InvalidResourceException":
462
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
462
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
463
463
  default:
464
464
  const parsedBody = parsedOutput.body;
465
465
  throwDefaultError({
@@ -470,20 +470,20 @@ const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, c
470
470
  });
471
471
  }
472
472
  };
473
- export const deserializeAws_json1_1CreateReturnShippingLabelCommand = async (output, context) => {
473
+ export const de_CreateReturnShippingLabelCommand = async (output, context) => {
474
474
  if (output.statusCode >= 300) {
475
- return deserializeAws_json1_1CreateReturnShippingLabelCommandError(output, context);
475
+ return de_CreateReturnShippingLabelCommandError(output, context);
476
476
  }
477
477
  const data = await parseBody(output.body, context);
478
478
  let contents = {};
479
- contents = deserializeAws_json1_1CreateReturnShippingLabelResult(data, context);
479
+ contents = de_CreateReturnShippingLabelResult(data, context);
480
480
  const response = {
481
481
  $metadata: deserializeMetadata(output),
482
482
  ...contents,
483
483
  };
484
484
  return Promise.resolve(response);
485
485
  };
486
- const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (output, context) => {
486
+ const de_CreateReturnShippingLabelCommandError = async (output, context) => {
487
487
  const parsedOutput = {
488
488
  ...output,
489
489
  body: await parseErrorBody(output.body, context),
@@ -492,19 +492,19 @@ const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (outpu
492
492
  switch (errorCode) {
493
493
  case "ConflictException":
494
494
  case "com.amazonaws.snowball#ConflictException":
495
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
495
+ throw await de_ConflictExceptionRes(parsedOutput, context);
496
496
  case "InvalidInputCombinationException":
497
497
  case "com.amazonaws.snowball#InvalidInputCombinationException":
498
- throw await deserializeAws_json1_1InvalidInputCombinationExceptionResponse(parsedOutput, context);
498
+ throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
499
499
  case "InvalidJobStateException":
500
500
  case "com.amazonaws.snowball#InvalidJobStateException":
501
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
501
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
502
502
  case "InvalidResourceException":
503
503
  case "com.amazonaws.snowball#InvalidResourceException":
504
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
504
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
505
505
  case "ReturnShippingLabelAlreadyExistsException":
506
506
  case "com.amazonaws.snowball#ReturnShippingLabelAlreadyExistsException":
507
- throw await deserializeAws_json1_1ReturnShippingLabelAlreadyExistsExceptionResponse(parsedOutput, context);
507
+ throw await de_ReturnShippingLabelAlreadyExistsExceptionRes(parsedOutput, context);
508
508
  default:
509
509
  const parsedBody = parsedOutput.body;
510
510
  throwDefaultError({
@@ -515,20 +515,20 @@ const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (outpu
515
515
  });
516
516
  }
517
517
  };
518
- export const deserializeAws_json1_1DescribeAddressCommand = async (output, context) => {
518
+ export const de_DescribeAddressCommand = async (output, context) => {
519
519
  if (output.statusCode >= 300) {
520
- return deserializeAws_json1_1DescribeAddressCommandError(output, context);
520
+ return de_DescribeAddressCommandError(output, context);
521
521
  }
522
522
  const data = await parseBody(output.body, context);
523
523
  let contents = {};
524
- contents = deserializeAws_json1_1DescribeAddressResult(data, context);
524
+ contents = de_DescribeAddressResult(data, context);
525
525
  const response = {
526
526
  $metadata: deserializeMetadata(output),
527
527
  ...contents,
528
528
  };
529
529
  return Promise.resolve(response);
530
530
  };
531
- const deserializeAws_json1_1DescribeAddressCommandError = async (output, context) => {
531
+ const de_DescribeAddressCommandError = async (output, context) => {
532
532
  const parsedOutput = {
533
533
  ...output,
534
534
  body: await parseErrorBody(output.body, context),
@@ -537,7 +537,7 @@ const deserializeAws_json1_1DescribeAddressCommandError = async (output, context
537
537
  switch (errorCode) {
538
538
  case "InvalidResourceException":
539
539
  case "com.amazonaws.snowball#InvalidResourceException":
540
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
540
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
541
541
  default:
542
542
  const parsedBody = parsedOutput.body;
543
543
  throwDefaultError({
@@ -548,20 +548,20 @@ const deserializeAws_json1_1DescribeAddressCommandError = async (output, context
548
548
  });
549
549
  }
550
550
  };
551
- export const deserializeAws_json1_1DescribeAddressesCommand = async (output, context) => {
551
+ export const de_DescribeAddressesCommand = async (output, context) => {
552
552
  if (output.statusCode >= 300) {
553
- return deserializeAws_json1_1DescribeAddressesCommandError(output, context);
553
+ return de_DescribeAddressesCommandError(output, context);
554
554
  }
555
555
  const data = await parseBody(output.body, context);
556
556
  let contents = {};
557
- contents = deserializeAws_json1_1DescribeAddressesResult(data, context);
557
+ contents = de_DescribeAddressesResult(data, context);
558
558
  const response = {
559
559
  $metadata: deserializeMetadata(output),
560
560
  ...contents,
561
561
  };
562
562
  return Promise.resolve(response);
563
563
  };
564
- const deserializeAws_json1_1DescribeAddressesCommandError = async (output, context) => {
564
+ const de_DescribeAddressesCommandError = async (output, context) => {
565
565
  const parsedOutput = {
566
566
  ...output,
567
567
  body: await parseErrorBody(output.body, context),
@@ -570,10 +570,10 @@ const deserializeAws_json1_1DescribeAddressesCommandError = async (output, conte
570
570
  switch (errorCode) {
571
571
  case "InvalidNextTokenException":
572
572
  case "com.amazonaws.snowball#InvalidNextTokenException":
573
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
573
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
574
574
  case "InvalidResourceException":
575
575
  case "com.amazonaws.snowball#InvalidResourceException":
576
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
576
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
577
577
  default:
578
578
  const parsedBody = parsedOutput.body;
579
579
  throwDefaultError({
@@ -584,20 +584,20 @@ const deserializeAws_json1_1DescribeAddressesCommandError = async (output, conte
584
584
  });
585
585
  }
586
586
  };
587
- export const deserializeAws_json1_1DescribeClusterCommand = async (output, context) => {
587
+ export const de_DescribeClusterCommand = async (output, context) => {
588
588
  if (output.statusCode >= 300) {
589
- return deserializeAws_json1_1DescribeClusterCommandError(output, context);
589
+ return de_DescribeClusterCommandError(output, context);
590
590
  }
591
591
  const data = await parseBody(output.body, context);
592
592
  let contents = {};
593
- contents = deserializeAws_json1_1DescribeClusterResult(data, context);
593
+ contents = de_DescribeClusterResult(data, context);
594
594
  const response = {
595
595
  $metadata: deserializeMetadata(output),
596
596
  ...contents,
597
597
  };
598
598
  return Promise.resolve(response);
599
599
  };
600
- const deserializeAws_json1_1DescribeClusterCommandError = async (output, context) => {
600
+ const de_DescribeClusterCommandError = async (output, context) => {
601
601
  const parsedOutput = {
602
602
  ...output,
603
603
  body: await parseErrorBody(output.body, context),
@@ -606,7 +606,7 @@ const deserializeAws_json1_1DescribeClusterCommandError = async (output, context
606
606
  switch (errorCode) {
607
607
  case "InvalidResourceException":
608
608
  case "com.amazonaws.snowball#InvalidResourceException":
609
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
609
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
610
610
  default:
611
611
  const parsedBody = parsedOutput.body;
612
612
  throwDefaultError({
@@ -617,20 +617,20 @@ const deserializeAws_json1_1DescribeClusterCommandError = async (output, context
617
617
  });
618
618
  }
619
619
  };
620
- export const deserializeAws_json1_1DescribeJobCommand = async (output, context) => {
620
+ export const de_DescribeJobCommand = async (output, context) => {
621
621
  if (output.statusCode >= 300) {
622
- return deserializeAws_json1_1DescribeJobCommandError(output, context);
622
+ return de_DescribeJobCommandError(output, context);
623
623
  }
624
624
  const data = await parseBody(output.body, context);
625
625
  let contents = {};
626
- contents = deserializeAws_json1_1DescribeJobResult(data, context);
626
+ contents = de_DescribeJobResult(data, context);
627
627
  const response = {
628
628
  $metadata: deserializeMetadata(output),
629
629
  ...contents,
630
630
  };
631
631
  return Promise.resolve(response);
632
632
  };
633
- const deserializeAws_json1_1DescribeJobCommandError = async (output, context) => {
633
+ const de_DescribeJobCommandError = async (output, context) => {
634
634
  const parsedOutput = {
635
635
  ...output,
636
636
  body: await parseErrorBody(output.body, context),
@@ -639,7 +639,7 @@ const deserializeAws_json1_1DescribeJobCommandError = async (output, context) =>
639
639
  switch (errorCode) {
640
640
  case "InvalidResourceException":
641
641
  case "com.amazonaws.snowball#InvalidResourceException":
642
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
642
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
643
643
  default:
644
644
  const parsedBody = parsedOutput.body;
645
645
  throwDefaultError({
@@ -650,20 +650,20 @@ const deserializeAws_json1_1DescribeJobCommandError = async (output, context) =>
650
650
  });
651
651
  }
652
652
  };
653
- export const deserializeAws_json1_1DescribeReturnShippingLabelCommand = async (output, context) => {
653
+ export const de_DescribeReturnShippingLabelCommand = async (output, context) => {
654
654
  if (output.statusCode >= 300) {
655
- return deserializeAws_json1_1DescribeReturnShippingLabelCommandError(output, context);
655
+ return de_DescribeReturnShippingLabelCommandError(output, context);
656
656
  }
657
657
  const data = await parseBody(output.body, context);
658
658
  let contents = {};
659
- contents = deserializeAws_json1_1DescribeReturnShippingLabelResult(data, context);
659
+ contents = de_DescribeReturnShippingLabelResult(data, context);
660
660
  const response = {
661
661
  $metadata: deserializeMetadata(output),
662
662
  ...contents,
663
663
  };
664
664
  return Promise.resolve(response);
665
665
  };
666
- const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (output, context) => {
666
+ const de_DescribeReturnShippingLabelCommandError = async (output, context) => {
667
667
  const parsedOutput = {
668
668
  ...output,
669
669
  body: await parseErrorBody(output.body, context),
@@ -672,13 +672,13 @@ const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (out
672
672
  switch (errorCode) {
673
673
  case "ConflictException":
674
674
  case "com.amazonaws.snowball#ConflictException":
675
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
675
+ throw await de_ConflictExceptionRes(parsedOutput, context);
676
676
  case "InvalidJobStateException":
677
677
  case "com.amazonaws.snowball#InvalidJobStateException":
678
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
678
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
679
679
  case "InvalidResourceException":
680
680
  case "com.amazonaws.snowball#InvalidResourceException":
681
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
681
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
682
682
  default:
683
683
  const parsedBody = parsedOutput.body;
684
684
  throwDefaultError({
@@ -689,20 +689,20 @@ const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (out
689
689
  });
690
690
  }
691
691
  };
692
- export const deserializeAws_json1_1GetJobManifestCommand = async (output, context) => {
692
+ export const de_GetJobManifestCommand = async (output, context) => {
693
693
  if (output.statusCode >= 300) {
694
- return deserializeAws_json1_1GetJobManifestCommandError(output, context);
694
+ return de_GetJobManifestCommandError(output, context);
695
695
  }
696
696
  const data = await parseBody(output.body, context);
697
697
  let contents = {};
698
- contents = deserializeAws_json1_1GetJobManifestResult(data, context);
698
+ contents = de_GetJobManifestResult(data, context);
699
699
  const response = {
700
700
  $metadata: deserializeMetadata(output),
701
701
  ...contents,
702
702
  };
703
703
  return Promise.resolve(response);
704
704
  };
705
- const deserializeAws_json1_1GetJobManifestCommandError = async (output, context) => {
705
+ const de_GetJobManifestCommandError = async (output, context) => {
706
706
  const parsedOutput = {
707
707
  ...output,
708
708
  body: await parseErrorBody(output.body, context),
@@ -711,10 +711,10 @@ const deserializeAws_json1_1GetJobManifestCommandError = async (output, context)
711
711
  switch (errorCode) {
712
712
  case "InvalidJobStateException":
713
713
  case "com.amazonaws.snowball#InvalidJobStateException":
714
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
714
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
715
715
  case "InvalidResourceException":
716
716
  case "com.amazonaws.snowball#InvalidResourceException":
717
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
717
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
718
718
  default:
719
719
  const parsedBody = parsedOutput.body;
720
720
  throwDefaultError({
@@ -725,20 +725,20 @@ const deserializeAws_json1_1GetJobManifestCommandError = async (output, context)
725
725
  });
726
726
  }
727
727
  };
728
- export const deserializeAws_json1_1GetJobUnlockCodeCommand = async (output, context) => {
728
+ export const de_GetJobUnlockCodeCommand = async (output, context) => {
729
729
  if (output.statusCode >= 300) {
730
- return deserializeAws_json1_1GetJobUnlockCodeCommandError(output, context);
730
+ return de_GetJobUnlockCodeCommandError(output, context);
731
731
  }
732
732
  const data = await parseBody(output.body, context);
733
733
  let contents = {};
734
- contents = deserializeAws_json1_1GetJobUnlockCodeResult(data, context);
734
+ contents = de_GetJobUnlockCodeResult(data, context);
735
735
  const response = {
736
736
  $metadata: deserializeMetadata(output),
737
737
  ...contents,
738
738
  };
739
739
  return Promise.resolve(response);
740
740
  };
741
- const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, context) => {
741
+ const de_GetJobUnlockCodeCommandError = async (output, context) => {
742
742
  const parsedOutput = {
743
743
  ...output,
744
744
  body: await parseErrorBody(output.body, context),
@@ -747,10 +747,10 @@ const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, contex
747
747
  switch (errorCode) {
748
748
  case "InvalidJobStateException":
749
749
  case "com.amazonaws.snowball#InvalidJobStateException":
750
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
750
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
751
751
  case "InvalidResourceException":
752
752
  case "com.amazonaws.snowball#InvalidResourceException":
753
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
753
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
754
754
  default:
755
755
  const parsedBody = parsedOutput.body;
756
756
  throwDefaultError({
@@ -761,20 +761,20 @@ const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, contex
761
761
  });
762
762
  }
763
763
  };
764
- export const deserializeAws_json1_1GetSnowballUsageCommand = async (output, context) => {
764
+ export const de_GetSnowballUsageCommand = async (output, context) => {
765
765
  if (output.statusCode >= 300) {
766
- return deserializeAws_json1_1GetSnowballUsageCommandError(output, context);
766
+ return de_GetSnowballUsageCommandError(output, context);
767
767
  }
768
768
  const data = await parseBody(output.body, context);
769
769
  let contents = {};
770
- contents = deserializeAws_json1_1GetSnowballUsageResult(data, context);
770
+ contents = de_GetSnowballUsageResult(data, context);
771
771
  const response = {
772
772
  $metadata: deserializeMetadata(output),
773
773
  ...contents,
774
774
  };
775
775
  return Promise.resolve(response);
776
776
  };
777
- const deserializeAws_json1_1GetSnowballUsageCommandError = async (output, context) => {
777
+ const de_GetSnowballUsageCommandError = async (output, context) => {
778
778
  const parsedOutput = {
779
779
  ...output,
780
780
  body: await parseErrorBody(output.body, context),
@@ -788,20 +788,20 @@ const deserializeAws_json1_1GetSnowballUsageCommandError = async (output, contex
788
788
  errorCode,
789
789
  });
790
790
  };
791
- export const deserializeAws_json1_1GetSoftwareUpdatesCommand = async (output, context) => {
791
+ export const de_GetSoftwareUpdatesCommand = async (output, context) => {
792
792
  if (output.statusCode >= 300) {
793
- return deserializeAws_json1_1GetSoftwareUpdatesCommandError(output, context);
793
+ return de_GetSoftwareUpdatesCommandError(output, context);
794
794
  }
795
795
  const data = await parseBody(output.body, context);
796
796
  let contents = {};
797
- contents = deserializeAws_json1_1GetSoftwareUpdatesResult(data, context);
797
+ contents = de_GetSoftwareUpdatesResult(data, context);
798
798
  const response = {
799
799
  $metadata: deserializeMetadata(output),
800
800
  ...contents,
801
801
  };
802
802
  return Promise.resolve(response);
803
803
  };
804
- const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, context) => {
804
+ const de_GetSoftwareUpdatesCommandError = async (output, context) => {
805
805
  const parsedOutput = {
806
806
  ...output,
807
807
  body: await parseErrorBody(output.body, context),
@@ -810,10 +810,10 @@ const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, cont
810
810
  switch (errorCode) {
811
811
  case "InvalidJobStateException":
812
812
  case "com.amazonaws.snowball#InvalidJobStateException":
813
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
813
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
814
814
  case "InvalidResourceException":
815
815
  case "com.amazonaws.snowball#InvalidResourceException":
816
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
816
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
817
817
  default:
818
818
  const parsedBody = parsedOutput.body;
819
819
  throwDefaultError({
@@ -824,20 +824,20 @@ const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, cont
824
824
  });
825
825
  }
826
826
  };
827
- export const deserializeAws_json1_1ListClusterJobsCommand = async (output, context) => {
827
+ export const de_ListClusterJobsCommand = async (output, context) => {
828
828
  if (output.statusCode >= 300) {
829
- return deserializeAws_json1_1ListClusterJobsCommandError(output, context);
829
+ return de_ListClusterJobsCommandError(output, context);
830
830
  }
831
831
  const data = await parseBody(output.body, context);
832
832
  let contents = {};
833
- contents = deserializeAws_json1_1ListClusterJobsResult(data, context);
833
+ contents = de_ListClusterJobsResult(data, context);
834
834
  const response = {
835
835
  $metadata: deserializeMetadata(output),
836
836
  ...contents,
837
837
  };
838
838
  return Promise.resolve(response);
839
839
  };
840
- const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context) => {
840
+ const de_ListClusterJobsCommandError = async (output, context) => {
841
841
  const parsedOutput = {
842
842
  ...output,
843
843
  body: await parseErrorBody(output.body, context),
@@ -846,10 +846,10 @@ const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context
846
846
  switch (errorCode) {
847
847
  case "InvalidNextTokenException":
848
848
  case "com.amazonaws.snowball#InvalidNextTokenException":
849
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
849
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
850
850
  case "InvalidResourceException":
851
851
  case "com.amazonaws.snowball#InvalidResourceException":
852
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
852
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
853
853
  default:
854
854
  const parsedBody = parsedOutput.body;
855
855
  throwDefaultError({
@@ -860,20 +860,20 @@ const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context
860
860
  });
861
861
  }
862
862
  };
863
- export const deserializeAws_json1_1ListClustersCommand = async (output, context) => {
863
+ export const de_ListClustersCommand = async (output, context) => {
864
864
  if (output.statusCode >= 300) {
865
- return deserializeAws_json1_1ListClustersCommandError(output, context);
865
+ return de_ListClustersCommandError(output, context);
866
866
  }
867
867
  const data = await parseBody(output.body, context);
868
868
  let contents = {};
869
- contents = deserializeAws_json1_1ListClustersResult(data, context);
869
+ contents = de_ListClustersResult(data, context);
870
870
  const response = {
871
871
  $metadata: deserializeMetadata(output),
872
872
  ...contents,
873
873
  };
874
874
  return Promise.resolve(response);
875
875
  };
876
- const deserializeAws_json1_1ListClustersCommandError = async (output, context) => {
876
+ const de_ListClustersCommandError = async (output, context) => {
877
877
  const parsedOutput = {
878
878
  ...output,
879
879
  body: await parseErrorBody(output.body, context),
@@ -882,7 +882,7 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
882
882
  switch (errorCode) {
883
883
  case "InvalidNextTokenException":
884
884
  case "com.amazonaws.snowball#InvalidNextTokenException":
885
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
885
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
886
886
  default:
887
887
  const parsedBody = parsedOutput.body;
888
888
  throwDefaultError({
@@ -893,20 +893,20 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
893
893
  });
894
894
  }
895
895
  };
896
- export const deserializeAws_json1_1ListCompatibleImagesCommand = async (output, context) => {
896
+ export const de_ListCompatibleImagesCommand = async (output, context) => {
897
897
  if (output.statusCode >= 300) {
898
- return deserializeAws_json1_1ListCompatibleImagesCommandError(output, context);
898
+ return de_ListCompatibleImagesCommandError(output, context);
899
899
  }
900
900
  const data = await parseBody(output.body, context);
901
901
  let contents = {};
902
- contents = deserializeAws_json1_1ListCompatibleImagesResult(data, context);
902
+ contents = de_ListCompatibleImagesResult(data, context);
903
903
  const response = {
904
904
  $metadata: deserializeMetadata(output),
905
905
  ...contents,
906
906
  };
907
907
  return Promise.resolve(response);
908
908
  };
909
- const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, context) => {
909
+ const de_ListCompatibleImagesCommandError = async (output, context) => {
910
910
  const parsedOutput = {
911
911
  ...output,
912
912
  body: await parseErrorBody(output.body, context),
@@ -915,10 +915,10 @@ const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, co
915
915
  switch (errorCode) {
916
916
  case "Ec2RequestFailedException":
917
917
  case "com.amazonaws.snowball#Ec2RequestFailedException":
918
- throw await deserializeAws_json1_1Ec2RequestFailedExceptionResponse(parsedOutput, context);
918
+ throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
919
919
  case "InvalidNextTokenException":
920
920
  case "com.amazonaws.snowball#InvalidNextTokenException":
921
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
921
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
922
922
  default:
923
923
  const parsedBody = parsedOutput.body;
924
924
  throwDefaultError({
@@ -929,20 +929,20 @@ const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, co
929
929
  });
930
930
  }
931
931
  };
932
- export const deserializeAws_json1_1ListJobsCommand = async (output, context) => {
932
+ export const de_ListJobsCommand = async (output, context) => {
933
933
  if (output.statusCode >= 300) {
934
- return deserializeAws_json1_1ListJobsCommandError(output, context);
934
+ return de_ListJobsCommandError(output, context);
935
935
  }
936
936
  const data = await parseBody(output.body, context);
937
937
  let contents = {};
938
- contents = deserializeAws_json1_1ListJobsResult(data, context);
938
+ contents = de_ListJobsResult(data, context);
939
939
  const response = {
940
940
  $metadata: deserializeMetadata(output),
941
941
  ...contents,
942
942
  };
943
943
  return Promise.resolve(response);
944
944
  };
945
- const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
945
+ const de_ListJobsCommandError = async (output, context) => {
946
946
  const parsedOutput = {
947
947
  ...output,
948
948
  body: await parseErrorBody(output.body, context),
@@ -951,7 +951,7 @@ const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
951
951
  switch (errorCode) {
952
952
  case "InvalidNextTokenException":
953
953
  case "com.amazonaws.snowball#InvalidNextTokenException":
954
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
954
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
955
955
  default:
956
956
  const parsedBody = parsedOutput.body;
957
957
  throwDefaultError({
@@ -962,20 +962,20 @@ const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
962
962
  });
963
963
  }
964
964
  };
965
- export const deserializeAws_json1_1ListLongTermPricingCommand = async (output, context) => {
965
+ export const de_ListLongTermPricingCommand = async (output, context) => {
966
966
  if (output.statusCode >= 300) {
967
- return deserializeAws_json1_1ListLongTermPricingCommandError(output, context);
967
+ return de_ListLongTermPricingCommandError(output, context);
968
968
  }
969
969
  const data = await parseBody(output.body, context);
970
970
  let contents = {};
971
- contents = deserializeAws_json1_1ListLongTermPricingResult(data, context);
971
+ contents = de_ListLongTermPricingResult(data, context);
972
972
  const response = {
973
973
  $metadata: deserializeMetadata(output),
974
974
  ...contents,
975
975
  };
976
976
  return Promise.resolve(response);
977
977
  };
978
- const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, context) => {
978
+ const de_ListLongTermPricingCommandError = async (output, context) => {
979
979
  const parsedOutput = {
980
980
  ...output,
981
981
  body: await parseErrorBody(output.body, context),
@@ -984,10 +984,10 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
984
984
  switch (errorCode) {
985
985
  case "InvalidNextTokenException":
986
986
  case "com.amazonaws.snowball#InvalidNextTokenException":
987
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
987
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
988
988
  case "InvalidResourceException":
989
989
  case "com.amazonaws.snowball#InvalidResourceException":
990
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
990
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
991
991
  default:
992
992
  const parsedBody = parsedOutput.body;
993
993
  throwDefaultError({
@@ -998,20 +998,20 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
998
998
  });
999
999
  }
1000
1000
  };
1001
- export const deserializeAws_json1_1ListServiceVersionsCommand = async (output, context) => {
1001
+ export const de_ListServiceVersionsCommand = async (output, context) => {
1002
1002
  if (output.statusCode >= 300) {
1003
- return deserializeAws_json1_1ListServiceVersionsCommandError(output, context);
1003
+ return de_ListServiceVersionsCommandError(output, context);
1004
1004
  }
1005
1005
  const data = await parseBody(output.body, context);
1006
1006
  let contents = {};
1007
- contents = deserializeAws_json1_1ListServiceVersionsResult(data, context);
1007
+ contents = de_ListServiceVersionsResult(data, context);
1008
1008
  const response = {
1009
1009
  $metadata: deserializeMetadata(output),
1010
1010
  ...contents,
1011
1011
  };
1012
1012
  return Promise.resolve(response);
1013
1013
  };
1014
- const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, context) => {
1014
+ const de_ListServiceVersionsCommandError = async (output, context) => {
1015
1015
  const parsedOutput = {
1016
1016
  ...output,
1017
1017
  body: await parseErrorBody(output.body, context),
@@ -1020,10 +1020,10 @@ const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, con
1020
1020
  switch (errorCode) {
1021
1021
  case "InvalidNextTokenException":
1022
1022
  case "com.amazonaws.snowball#InvalidNextTokenException":
1023
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1023
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1024
1024
  case "InvalidResourceException":
1025
1025
  case "com.amazonaws.snowball#InvalidResourceException":
1026
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1026
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1027
1027
  default:
1028
1028
  const parsedBody = parsedOutput.body;
1029
1029
  throwDefaultError({
@@ -1034,20 +1034,20 @@ const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, con
1034
1034
  });
1035
1035
  }
1036
1036
  };
1037
- export const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
1037
+ export const de_UpdateClusterCommand = async (output, context) => {
1038
1038
  if (output.statusCode >= 300) {
1039
- return deserializeAws_json1_1UpdateClusterCommandError(output, context);
1039
+ return de_UpdateClusterCommandError(output, context);
1040
1040
  }
1041
1041
  const data = await parseBody(output.body, context);
1042
1042
  let contents = {};
1043
- contents = deserializeAws_json1_1UpdateClusterResult(data, context);
1043
+ contents = de_UpdateClusterResult(data, context);
1044
1044
  const response = {
1045
1045
  $metadata: deserializeMetadata(output),
1046
1046
  ...contents,
1047
1047
  };
1048
1048
  return Promise.resolve(response);
1049
1049
  };
1050
- const deserializeAws_json1_1UpdateClusterCommandError = async (output, context) => {
1050
+ const de_UpdateClusterCommandError = async (output, context) => {
1051
1051
  const parsedOutput = {
1052
1052
  ...output,
1053
1053
  body: await parseErrorBody(output.body, context),
@@ -1056,19 +1056,19 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
1056
1056
  switch (errorCode) {
1057
1057
  case "Ec2RequestFailedException":
1058
1058
  case "com.amazonaws.snowball#Ec2RequestFailedException":
1059
- throw await deserializeAws_json1_1Ec2RequestFailedExceptionResponse(parsedOutput, context);
1059
+ throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
1060
1060
  case "InvalidInputCombinationException":
1061
1061
  case "com.amazonaws.snowball#InvalidInputCombinationException":
1062
- throw await deserializeAws_json1_1InvalidInputCombinationExceptionResponse(parsedOutput, context);
1062
+ throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
1063
1063
  case "InvalidJobStateException":
1064
1064
  case "com.amazonaws.snowball#InvalidJobStateException":
1065
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1065
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1066
1066
  case "InvalidResourceException":
1067
1067
  case "com.amazonaws.snowball#InvalidResourceException":
1068
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1068
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1069
1069
  case "KMSRequestFailedException":
1070
1070
  case "com.amazonaws.snowball#KMSRequestFailedException":
1071
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
1071
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
1072
1072
  default:
1073
1073
  const parsedBody = parsedOutput.body;
1074
1074
  throwDefaultError({
@@ -1079,20 +1079,20 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
1079
1079
  });
1080
1080
  }
1081
1081
  };
1082
- export const deserializeAws_json1_1UpdateJobCommand = async (output, context) => {
1082
+ export const de_UpdateJobCommand = async (output, context) => {
1083
1083
  if (output.statusCode >= 300) {
1084
- return deserializeAws_json1_1UpdateJobCommandError(output, context);
1084
+ return de_UpdateJobCommandError(output, context);
1085
1085
  }
1086
1086
  const data = await parseBody(output.body, context);
1087
1087
  let contents = {};
1088
- contents = deserializeAws_json1_1UpdateJobResult(data, context);
1088
+ contents = de_UpdateJobResult(data, context);
1089
1089
  const response = {
1090
1090
  $metadata: deserializeMetadata(output),
1091
1091
  ...contents,
1092
1092
  };
1093
1093
  return Promise.resolve(response);
1094
1094
  };
1095
- const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
1095
+ const de_UpdateJobCommandError = async (output, context) => {
1096
1096
  const parsedOutput = {
1097
1097
  ...output,
1098
1098
  body: await parseErrorBody(output.body, context),
@@ -1101,22 +1101,22 @@ const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
1101
1101
  switch (errorCode) {
1102
1102
  case "ClusterLimitExceededException":
1103
1103
  case "com.amazonaws.snowball#ClusterLimitExceededException":
1104
- throw await deserializeAws_json1_1ClusterLimitExceededExceptionResponse(parsedOutput, context);
1104
+ throw await de_ClusterLimitExceededExceptionRes(parsedOutput, context);
1105
1105
  case "Ec2RequestFailedException":
1106
1106
  case "com.amazonaws.snowball#Ec2RequestFailedException":
1107
- throw await deserializeAws_json1_1Ec2RequestFailedExceptionResponse(parsedOutput, context);
1107
+ throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
1108
1108
  case "InvalidInputCombinationException":
1109
1109
  case "com.amazonaws.snowball#InvalidInputCombinationException":
1110
- throw await deserializeAws_json1_1InvalidInputCombinationExceptionResponse(parsedOutput, context);
1110
+ throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
1111
1111
  case "InvalidJobStateException":
1112
1112
  case "com.amazonaws.snowball#InvalidJobStateException":
1113
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1113
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1114
1114
  case "InvalidResourceException":
1115
1115
  case "com.amazonaws.snowball#InvalidResourceException":
1116
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1116
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1117
1117
  case "KMSRequestFailedException":
1118
1118
  case "com.amazonaws.snowball#KMSRequestFailedException":
1119
- throw await deserializeAws_json1_1KMSRequestFailedExceptionResponse(parsedOutput, context);
1119
+ throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
1120
1120
  default:
1121
1121
  const parsedBody = parsedOutput.body;
1122
1122
  throwDefaultError({
@@ -1127,20 +1127,20 @@ const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
1127
1127
  });
1128
1128
  }
1129
1129
  };
1130
- export const deserializeAws_json1_1UpdateJobShipmentStateCommand = async (output, context) => {
1130
+ export const de_UpdateJobShipmentStateCommand = async (output, context) => {
1131
1131
  if (output.statusCode >= 300) {
1132
- return deserializeAws_json1_1UpdateJobShipmentStateCommandError(output, context);
1132
+ return de_UpdateJobShipmentStateCommandError(output, context);
1133
1133
  }
1134
1134
  const data = await parseBody(output.body, context);
1135
1135
  let contents = {};
1136
- contents = deserializeAws_json1_1UpdateJobShipmentStateResult(data, context);
1136
+ contents = de_UpdateJobShipmentStateResult(data, context);
1137
1137
  const response = {
1138
1138
  $metadata: deserializeMetadata(output),
1139
1139
  ...contents,
1140
1140
  };
1141
1141
  return Promise.resolve(response);
1142
1142
  };
1143
- const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output, context) => {
1143
+ const de_UpdateJobShipmentStateCommandError = async (output, context) => {
1144
1144
  const parsedOutput = {
1145
1145
  ...output,
1146
1146
  body: await parseErrorBody(output.body, context),
@@ -1149,10 +1149,10 @@ const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output,
1149
1149
  switch (errorCode) {
1150
1150
  case "InvalidJobStateException":
1151
1151
  case "com.amazonaws.snowball#InvalidJobStateException":
1152
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1152
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1153
1153
  case "InvalidResourceException":
1154
1154
  case "com.amazonaws.snowball#InvalidResourceException":
1155
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1155
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1156
1156
  default:
1157
1157
  const parsedBody = parsedOutput.body;
1158
1158
  throwDefaultError({
@@ -1163,20 +1163,20 @@ const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output,
1163
1163
  });
1164
1164
  }
1165
1165
  };
1166
- export const deserializeAws_json1_1UpdateLongTermPricingCommand = async (output, context) => {
1166
+ export const de_UpdateLongTermPricingCommand = async (output, context) => {
1167
1167
  if (output.statusCode >= 300) {
1168
- return deserializeAws_json1_1UpdateLongTermPricingCommandError(output, context);
1168
+ return de_UpdateLongTermPricingCommandError(output, context);
1169
1169
  }
1170
1170
  const data = await parseBody(output.body, context);
1171
1171
  let contents = {};
1172
- contents = deserializeAws_json1_1UpdateLongTermPricingResult(data, context);
1172
+ contents = de_UpdateLongTermPricingResult(data, context);
1173
1173
  const response = {
1174
1174
  $metadata: deserializeMetadata(output),
1175
1175
  ...contents,
1176
1176
  };
1177
1177
  return Promise.resolve(response);
1178
1178
  };
1179
- const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, context) => {
1179
+ const de_UpdateLongTermPricingCommandError = async (output, context) => {
1180
1180
  const parsedOutput = {
1181
1181
  ...output,
1182
1182
  body: await parseErrorBody(output.body, context),
@@ -1185,7 +1185,7 @@ const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, c
1185
1185
  switch (errorCode) {
1186
1186
  case "InvalidResourceException":
1187
1187
  case "com.amazonaws.snowball#InvalidResourceException":
1188
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1188
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1189
1189
  default:
1190
1190
  const parsedBody = parsedOutput.body;
1191
1191
  throwDefaultError({
@@ -1196,106 +1196,106 @@ const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, c
1196
1196
  });
1197
1197
  }
1198
1198
  };
1199
- const deserializeAws_json1_1ClusterLimitExceededExceptionResponse = async (parsedOutput, context) => {
1199
+ const de_ClusterLimitExceededExceptionRes = async (parsedOutput, context) => {
1200
1200
  const body = parsedOutput.body;
1201
- const deserialized = deserializeAws_json1_1ClusterLimitExceededException(body, context);
1201
+ const deserialized = de_ClusterLimitExceededException(body, context);
1202
1202
  const exception = new ClusterLimitExceededException({
1203
1203
  $metadata: deserializeMetadata(parsedOutput),
1204
1204
  ...deserialized,
1205
1205
  });
1206
1206
  return __decorateServiceException(exception, body);
1207
1207
  };
1208
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
1208
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1209
1209
  const body = parsedOutput.body;
1210
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
1210
+ const deserialized = de_ConflictException(body, context);
1211
1211
  const exception = new ConflictException({
1212
1212
  $metadata: deserializeMetadata(parsedOutput),
1213
1213
  ...deserialized,
1214
1214
  });
1215
1215
  return __decorateServiceException(exception, body);
1216
1216
  };
1217
- const deserializeAws_json1_1Ec2RequestFailedExceptionResponse = async (parsedOutput, context) => {
1217
+ const de_Ec2RequestFailedExceptionRes = async (parsedOutput, context) => {
1218
1218
  const body = parsedOutput.body;
1219
- const deserialized = deserializeAws_json1_1Ec2RequestFailedException(body, context);
1219
+ const deserialized = de_Ec2RequestFailedException(body, context);
1220
1220
  const exception = new Ec2RequestFailedException({
1221
1221
  $metadata: deserializeMetadata(parsedOutput),
1222
1222
  ...deserialized,
1223
1223
  });
1224
1224
  return __decorateServiceException(exception, body);
1225
1225
  };
1226
- const deserializeAws_json1_1InvalidAddressExceptionResponse = async (parsedOutput, context) => {
1226
+ const de_InvalidAddressExceptionRes = async (parsedOutput, context) => {
1227
1227
  const body = parsedOutput.body;
1228
- const deserialized = deserializeAws_json1_1InvalidAddressException(body, context);
1228
+ const deserialized = de_InvalidAddressException(body, context);
1229
1229
  const exception = new InvalidAddressException({
1230
1230
  $metadata: deserializeMetadata(parsedOutput),
1231
1231
  ...deserialized,
1232
1232
  });
1233
1233
  return __decorateServiceException(exception, body);
1234
1234
  };
1235
- const deserializeAws_json1_1InvalidInputCombinationExceptionResponse = async (parsedOutput, context) => {
1235
+ const de_InvalidInputCombinationExceptionRes = async (parsedOutput, context) => {
1236
1236
  const body = parsedOutput.body;
1237
- const deserialized = deserializeAws_json1_1InvalidInputCombinationException(body, context);
1237
+ const deserialized = de_InvalidInputCombinationException(body, context);
1238
1238
  const exception = new InvalidInputCombinationException({
1239
1239
  $metadata: deserializeMetadata(parsedOutput),
1240
1240
  ...deserialized,
1241
1241
  });
1242
1242
  return __decorateServiceException(exception, body);
1243
1243
  };
1244
- const deserializeAws_json1_1InvalidJobStateExceptionResponse = async (parsedOutput, context) => {
1244
+ const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
1245
1245
  const body = parsedOutput.body;
1246
- const deserialized = deserializeAws_json1_1InvalidJobStateException(body, context);
1246
+ const deserialized = de_InvalidJobStateException(body, context);
1247
1247
  const exception = new InvalidJobStateException({
1248
1248
  $metadata: deserializeMetadata(parsedOutput),
1249
1249
  ...deserialized,
1250
1250
  });
1251
1251
  return __decorateServiceException(exception, body);
1252
1252
  };
1253
- const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
1253
+ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
1254
1254
  const body = parsedOutput.body;
1255
- const deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
1255
+ const deserialized = de_InvalidNextTokenException(body, context);
1256
1256
  const exception = new InvalidNextTokenException({
1257
1257
  $metadata: deserializeMetadata(parsedOutput),
1258
1258
  ...deserialized,
1259
1259
  });
1260
1260
  return __decorateServiceException(exception, body);
1261
1261
  };
1262
- const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutput, context) => {
1262
+ const de_InvalidResourceExceptionRes = async (parsedOutput, context) => {
1263
1263
  const body = parsedOutput.body;
1264
- const deserialized = deserializeAws_json1_1InvalidResourceException(body, context);
1264
+ const deserialized = de_InvalidResourceException(body, context);
1265
1265
  const exception = new InvalidResourceException({
1266
1266
  $metadata: deserializeMetadata(parsedOutput),
1267
1267
  ...deserialized,
1268
1268
  });
1269
1269
  return __decorateServiceException(exception, body);
1270
1270
  };
1271
- const deserializeAws_json1_1KMSRequestFailedExceptionResponse = async (parsedOutput, context) => {
1271
+ const de_KMSRequestFailedExceptionRes = async (parsedOutput, context) => {
1272
1272
  const body = parsedOutput.body;
1273
- const deserialized = deserializeAws_json1_1KMSRequestFailedException(body, context);
1273
+ const deserialized = de_KMSRequestFailedException(body, context);
1274
1274
  const exception = new KMSRequestFailedException({
1275
1275
  $metadata: deserializeMetadata(parsedOutput),
1276
1276
  ...deserialized,
1277
1277
  });
1278
1278
  return __decorateServiceException(exception, body);
1279
1279
  };
1280
- const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1280
+ const de_ReturnShippingLabelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1281
1281
  const body = parsedOutput.body;
1282
- const deserialized = deserializeAws_json1_1ReturnShippingLabelAlreadyExistsException(body, context);
1282
+ const deserialized = de_ReturnShippingLabelAlreadyExistsException(body, context);
1283
1283
  const exception = new ReturnShippingLabelAlreadyExistsException({
1284
1284
  $metadata: deserializeMetadata(parsedOutput),
1285
1285
  ...deserialized,
1286
1286
  });
1287
1287
  return __decorateServiceException(exception, body);
1288
1288
  };
1289
- const deserializeAws_json1_1UnsupportedAddressExceptionResponse = async (parsedOutput, context) => {
1289
+ const de_UnsupportedAddressExceptionRes = async (parsedOutput, context) => {
1290
1290
  const body = parsedOutput.body;
1291
- const deserialized = deserializeAws_json1_1UnsupportedAddressException(body, context);
1291
+ const deserialized = de_UnsupportedAddressException(body, context);
1292
1292
  const exception = new UnsupportedAddressException({
1293
1293
  $metadata: deserializeMetadata(parsedOutput),
1294
1294
  ...deserialized,
1295
1295
  });
1296
1296
  return __decorateServiceException(exception, body);
1297
1297
  };
1298
- const serializeAws_json1_1Address = (input, context) => {
1298
+ const se_Address = (input, context) => {
1299
1299
  return {
1300
1300
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1301
1301
  ...(input.City != null && { City: input.City }),
@@ -1313,390 +1313,380 @@ const serializeAws_json1_1Address = (input, context) => {
1313
1313
  ...(input.Street3 != null && { Street3: input.Street3 }),
1314
1314
  };
1315
1315
  };
1316
- const serializeAws_json1_1CancelClusterRequest = (input, context) => {
1316
+ const se_CancelClusterRequest = (input, context) => {
1317
1317
  return {
1318
1318
  ...(input.ClusterId != null && { ClusterId: input.ClusterId }),
1319
1319
  };
1320
1320
  };
1321
- const serializeAws_json1_1CancelJobRequest = (input, context) => {
1321
+ const se_CancelJobRequest = (input, context) => {
1322
1322
  return {
1323
1323
  ...(input.JobId != null && { JobId: input.JobId }),
1324
1324
  };
1325
1325
  };
1326
- const serializeAws_json1_1CreateAddressRequest = (input, context) => {
1326
+ const se_CreateAddressRequest = (input, context) => {
1327
1327
  return {
1328
- ...(input.Address != null && { Address: serializeAws_json1_1Address(input.Address, context) }),
1328
+ ...(input.Address != null && { Address: se_Address(input.Address, context) }),
1329
1329
  };
1330
1330
  };
1331
- const serializeAws_json1_1CreateClusterRequest = (input, context) => {
1331
+ const se_CreateClusterRequest = (input, context) => {
1332
1332
  return {
1333
1333
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1334
1334
  ...(input.Description != null && { Description: input.Description }),
1335
1335
  ...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
1336
1336
  ...(input.JobType != null && { JobType: input.JobType }),
1337
1337
  ...(input.KmsKeyARN != null && { KmsKeyARN: input.KmsKeyARN }),
1338
- ...(input.Notification != null && { Notification: serializeAws_json1_1Notification(input.Notification, context) }),
1338
+ ...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
1339
1339
  ...(input.OnDeviceServiceConfiguration != null && {
1340
- OnDeviceServiceConfiguration: serializeAws_json1_1OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1340
+ OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1341
1341
  }),
1342
1342
  ...(input.RemoteManagement != null && { RemoteManagement: input.RemoteManagement }),
1343
- ...(input.Resources != null && { Resources: serializeAws_json1_1JobResource(input.Resources, context) }),
1343
+ ...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
1344
1344
  ...(input.RoleARN != null && { RoleARN: input.RoleARN }),
1345
1345
  ...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
1346
1346
  ...(input.SnowballType != null && { SnowballType: input.SnowballType }),
1347
- ...(input.TaxDocuments != null && { TaxDocuments: serializeAws_json1_1TaxDocuments(input.TaxDocuments, context) }),
1347
+ ...(input.TaxDocuments != null && { TaxDocuments: se_TaxDocuments(input.TaxDocuments, context) }),
1348
1348
  };
1349
1349
  };
1350
- const serializeAws_json1_1CreateJobRequest = (input, context) => {
1350
+ const se_CreateJobRequest = (input, context) => {
1351
1351
  return {
1352
1352
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1353
1353
  ...(input.ClusterId != null && { ClusterId: input.ClusterId }),
1354
1354
  ...(input.Description != null && { Description: input.Description }),
1355
1355
  ...(input.DeviceConfiguration != null && {
1356
- DeviceConfiguration: serializeAws_json1_1DeviceConfiguration(input.DeviceConfiguration, context),
1356
+ DeviceConfiguration: se_DeviceConfiguration(input.DeviceConfiguration, context),
1357
1357
  }),
1358
1358
  ...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
1359
1359
  ...(input.JobType != null && { JobType: input.JobType }),
1360
1360
  ...(input.KmsKeyARN != null && { KmsKeyARN: input.KmsKeyARN }),
1361
1361
  ...(input.LongTermPricingId != null && { LongTermPricingId: input.LongTermPricingId }),
1362
- ...(input.Notification != null && { Notification: serializeAws_json1_1Notification(input.Notification, context) }),
1362
+ ...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
1363
1363
  ...(input.OnDeviceServiceConfiguration != null && {
1364
- OnDeviceServiceConfiguration: serializeAws_json1_1OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1364
+ OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1365
1365
  }),
1366
1366
  ...(input.RemoteManagement != null && { RemoteManagement: input.RemoteManagement }),
1367
- ...(input.Resources != null && { Resources: serializeAws_json1_1JobResource(input.Resources, context) }),
1367
+ ...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
1368
1368
  ...(input.RoleARN != null && { RoleARN: input.RoleARN }),
1369
1369
  ...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
1370
1370
  ...(input.SnowballCapacityPreference != null && { SnowballCapacityPreference: input.SnowballCapacityPreference }),
1371
1371
  ...(input.SnowballType != null && { SnowballType: input.SnowballType }),
1372
- ...(input.TaxDocuments != null && { TaxDocuments: serializeAws_json1_1TaxDocuments(input.TaxDocuments, context) }),
1372
+ ...(input.TaxDocuments != null && { TaxDocuments: se_TaxDocuments(input.TaxDocuments, context) }),
1373
1373
  };
1374
1374
  };
1375
- const serializeAws_json1_1CreateLongTermPricingRequest = (input, context) => {
1375
+ const se_CreateLongTermPricingRequest = (input, context) => {
1376
1376
  return {
1377
1377
  ...(input.IsLongTermPricingAutoRenew != null && { IsLongTermPricingAutoRenew: input.IsLongTermPricingAutoRenew }),
1378
1378
  ...(input.LongTermPricingType != null && { LongTermPricingType: input.LongTermPricingType }),
1379
1379
  ...(input.SnowballType != null && { SnowballType: input.SnowballType }),
1380
1380
  };
1381
1381
  };
1382
- const serializeAws_json1_1CreateReturnShippingLabelRequest = (input, context) => {
1382
+ const se_CreateReturnShippingLabelRequest = (input, context) => {
1383
1383
  return {
1384
1384
  ...(input.JobId != null && { JobId: input.JobId }),
1385
1385
  ...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
1386
1386
  };
1387
1387
  };
1388
- const serializeAws_json1_1DependentService = (input, context) => {
1388
+ const se_DependentService = (input, context) => {
1389
1389
  return {
1390
1390
  ...(input.ServiceName != null && { ServiceName: input.ServiceName }),
1391
- ...(input.ServiceVersion != null && {
1392
- ServiceVersion: serializeAws_json1_1ServiceVersion(input.ServiceVersion, context),
1393
- }),
1391
+ ...(input.ServiceVersion != null && { ServiceVersion: se_ServiceVersion(input.ServiceVersion, context) }),
1394
1392
  };
1395
1393
  };
1396
- const serializeAws_json1_1DependentServiceList = (input, context) => {
1394
+ const se_DependentServiceList = (input, context) => {
1397
1395
  return input
1398
1396
  .filter((e) => e != null)
1399
1397
  .map((entry) => {
1400
- return serializeAws_json1_1DependentService(entry, context);
1398
+ return se_DependentService(entry, context);
1401
1399
  });
1402
1400
  };
1403
- const serializeAws_json1_1DescribeAddressesRequest = (input, context) => {
1401
+ const se_DescribeAddressesRequest = (input, context) => {
1404
1402
  return {
1405
1403
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1406
1404
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1407
1405
  };
1408
1406
  };
1409
- const serializeAws_json1_1DescribeAddressRequest = (input, context) => {
1407
+ const se_DescribeAddressRequest = (input, context) => {
1410
1408
  return {
1411
1409
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1412
1410
  };
1413
1411
  };
1414
- const serializeAws_json1_1DescribeClusterRequest = (input, context) => {
1412
+ const se_DescribeClusterRequest = (input, context) => {
1415
1413
  return {
1416
1414
  ...(input.ClusterId != null && { ClusterId: input.ClusterId }),
1417
1415
  };
1418
1416
  };
1419
- const serializeAws_json1_1DescribeJobRequest = (input, context) => {
1417
+ const se_DescribeJobRequest = (input, context) => {
1420
1418
  return {
1421
1419
  ...(input.JobId != null && { JobId: input.JobId }),
1422
1420
  };
1423
1421
  };
1424
- const serializeAws_json1_1DescribeReturnShippingLabelRequest = (input, context) => {
1422
+ const se_DescribeReturnShippingLabelRequest = (input, context) => {
1425
1423
  return {
1426
1424
  ...(input.JobId != null && { JobId: input.JobId }),
1427
1425
  };
1428
1426
  };
1429
- const serializeAws_json1_1DeviceConfiguration = (input, context) => {
1427
+ const se_DeviceConfiguration = (input, context) => {
1430
1428
  return {
1431
1429
  ...(input.SnowconeDeviceConfiguration != null && {
1432
- SnowconeDeviceConfiguration: serializeAws_json1_1SnowconeDeviceConfiguration(input.SnowconeDeviceConfiguration, context),
1430
+ SnowconeDeviceConfiguration: se_SnowconeDeviceConfiguration(input.SnowconeDeviceConfiguration, context),
1433
1431
  }),
1434
1432
  };
1435
1433
  };
1436
- const serializeAws_json1_1Ec2AmiResource = (input, context) => {
1434
+ const se_Ec2AmiResource = (input, context) => {
1437
1435
  return {
1438
1436
  ...(input.AmiId != null && { AmiId: input.AmiId }),
1439
1437
  ...(input.SnowballAmiId != null && { SnowballAmiId: input.SnowballAmiId }),
1440
1438
  };
1441
1439
  };
1442
- const serializeAws_json1_1Ec2AmiResourceList = (input, context) => {
1440
+ const se_Ec2AmiResourceList = (input, context) => {
1443
1441
  return input
1444
1442
  .filter((e) => e != null)
1445
1443
  .map((entry) => {
1446
- return serializeAws_json1_1Ec2AmiResource(entry, context);
1444
+ return se_Ec2AmiResource(entry, context);
1447
1445
  });
1448
1446
  };
1449
- const serializeAws_json1_1EKSOnDeviceServiceConfiguration = (input, context) => {
1447
+ const se_EKSOnDeviceServiceConfiguration = (input, context) => {
1450
1448
  return {
1451
1449
  ...(input.EKSAnywhereVersion != null && { EKSAnywhereVersion: input.EKSAnywhereVersion }),
1452
1450
  ...(input.KubernetesVersion != null && { KubernetesVersion: input.KubernetesVersion }),
1453
1451
  };
1454
1452
  };
1455
- const serializeAws_json1_1EventTriggerDefinition = (input, context) => {
1453
+ const se_EventTriggerDefinition = (input, context) => {
1456
1454
  return {
1457
1455
  ...(input.EventResourceARN != null && { EventResourceARN: input.EventResourceARN }),
1458
1456
  };
1459
1457
  };
1460
- const serializeAws_json1_1EventTriggerDefinitionList = (input, context) => {
1458
+ const se_EventTriggerDefinitionList = (input, context) => {
1461
1459
  return input
1462
1460
  .filter((e) => e != null)
1463
1461
  .map((entry) => {
1464
- return serializeAws_json1_1EventTriggerDefinition(entry, context);
1462
+ return se_EventTriggerDefinition(entry, context);
1465
1463
  });
1466
1464
  };
1467
- const serializeAws_json1_1GetJobManifestRequest = (input, context) => {
1465
+ const se_GetJobManifestRequest = (input, context) => {
1468
1466
  return {
1469
1467
  ...(input.JobId != null && { JobId: input.JobId }),
1470
1468
  };
1471
1469
  };
1472
- const serializeAws_json1_1GetJobUnlockCodeRequest = (input, context) => {
1470
+ const se_GetJobUnlockCodeRequest = (input, context) => {
1473
1471
  return {
1474
1472
  ...(input.JobId != null && { JobId: input.JobId }),
1475
1473
  };
1476
1474
  };
1477
- const serializeAws_json1_1GetSnowballUsageRequest = (input, context) => {
1475
+ const se_GetSnowballUsageRequest = (input, context) => {
1478
1476
  return {};
1479
1477
  };
1480
- const serializeAws_json1_1GetSoftwareUpdatesRequest = (input, context) => {
1478
+ const se_GetSoftwareUpdatesRequest = (input, context) => {
1481
1479
  return {
1482
1480
  ...(input.JobId != null && { JobId: input.JobId }),
1483
1481
  };
1484
1482
  };
1485
- const serializeAws_json1_1INDTaxDocuments = (input, context) => {
1483
+ const se_INDTaxDocuments = (input, context) => {
1486
1484
  return {
1487
1485
  ...(input.GSTIN != null && { GSTIN: input.GSTIN }),
1488
1486
  };
1489
1487
  };
1490
- const serializeAws_json1_1JobResource = (input, context) => {
1488
+ const se_JobResource = (input, context) => {
1491
1489
  return {
1492
- ...(input.Ec2AmiResources != null && {
1493
- Ec2AmiResources: serializeAws_json1_1Ec2AmiResourceList(input.Ec2AmiResources, context),
1494
- }),
1495
- ...(input.LambdaResources != null && {
1496
- LambdaResources: serializeAws_json1_1LambdaResourceList(input.LambdaResources, context),
1497
- }),
1498
- ...(input.S3Resources != null && { S3Resources: serializeAws_json1_1S3ResourceList(input.S3Resources, context) }),
1490
+ ...(input.Ec2AmiResources != null && { Ec2AmiResources: se_Ec2AmiResourceList(input.Ec2AmiResources, context) }),
1491
+ ...(input.LambdaResources != null && { LambdaResources: se_LambdaResourceList(input.LambdaResources, context) }),
1492
+ ...(input.S3Resources != null && { S3Resources: se_S3ResourceList(input.S3Resources, context) }),
1499
1493
  };
1500
1494
  };
1501
- const serializeAws_json1_1JobStateList = (input, context) => {
1495
+ const se_JobStateList = (input, context) => {
1502
1496
  return input
1503
1497
  .filter((e) => e != null)
1504
1498
  .map((entry) => {
1505
1499
  return entry;
1506
1500
  });
1507
1501
  };
1508
- const serializeAws_json1_1KeyRange = (input, context) => {
1502
+ const se_KeyRange = (input, context) => {
1509
1503
  return {
1510
1504
  ...(input.BeginMarker != null && { BeginMarker: input.BeginMarker }),
1511
1505
  ...(input.EndMarker != null && { EndMarker: input.EndMarker }),
1512
1506
  };
1513
1507
  };
1514
- const serializeAws_json1_1LambdaResource = (input, context) => {
1508
+ const se_LambdaResource = (input, context) => {
1515
1509
  return {
1516
- ...(input.EventTriggers != null && {
1517
- EventTriggers: serializeAws_json1_1EventTriggerDefinitionList(input.EventTriggers, context),
1518
- }),
1510
+ ...(input.EventTriggers != null && { EventTriggers: se_EventTriggerDefinitionList(input.EventTriggers, context) }),
1519
1511
  ...(input.LambdaArn != null && { LambdaArn: input.LambdaArn }),
1520
1512
  };
1521
1513
  };
1522
- const serializeAws_json1_1LambdaResourceList = (input, context) => {
1514
+ const se_LambdaResourceList = (input, context) => {
1523
1515
  return input
1524
1516
  .filter((e) => e != null)
1525
1517
  .map((entry) => {
1526
- return serializeAws_json1_1LambdaResource(entry, context);
1518
+ return se_LambdaResource(entry, context);
1527
1519
  });
1528
1520
  };
1529
- const serializeAws_json1_1ListClusterJobsRequest = (input, context) => {
1521
+ const se_ListClusterJobsRequest = (input, context) => {
1530
1522
  return {
1531
1523
  ...(input.ClusterId != null && { ClusterId: input.ClusterId }),
1532
1524
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1533
1525
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1534
1526
  };
1535
1527
  };
1536
- const serializeAws_json1_1ListClustersRequest = (input, context) => {
1528
+ const se_ListClustersRequest = (input, context) => {
1537
1529
  return {
1538
1530
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1539
1531
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1540
1532
  };
1541
1533
  };
1542
- const serializeAws_json1_1ListCompatibleImagesRequest = (input, context) => {
1534
+ const se_ListCompatibleImagesRequest = (input, context) => {
1543
1535
  return {
1544
1536
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1545
1537
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1546
1538
  };
1547
1539
  };
1548
- const serializeAws_json1_1ListJobsRequest = (input, context) => {
1540
+ const se_ListJobsRequest = (input, context) => {
1549
1541
  return {
1550
1542
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1551
1543
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1552
1544
  };
1553
1545
  };
1554
- const serializeAws_json1_1ListLongTermPricingRequest = (input, context) => {
1546
+ const se_ListLongTermPricingRequest = (input, context) => {
1555
1547
  return {
1556
1548
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1557
1549
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1558
1550
  };
1559
1551
  };
1560
- const serializeAws_json1_1ListServiceVersionsRequest = (input, context) => {
1552
+ const se_ListServiceVersionsRequest = (input, context) => {
1561
1553
  return {
1562
1554
  ...(input.DependentServices != null && {
1563
- DependentServices: serializeAws_json1_1DependentServiceList(input.DependentServices, context),
1555
+ DependentServices: se_DependentServiceList(input.DependentServices, context),
1564
1556
  }),
1565
1557
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1566
1558
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1567
1559
  ...(input.ServiceName != null && { ServiceName: input.ServiceName }),
1568
1560
  };
1569
1561
  };
1570
- const serializeAws_json1_1NFSOnDeviceServiceConfiguration = (input, context) => {
1562
+ const se_NFSOnDeviceServiceConfiguration = (input, context) => {
1571
1563
  return {
1572
1564
  ...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
1573
1565
  ...(input.StorageUnit != null && { StorageUnit: input.StorageUnit }),
1574
1566
  };
1575
1567
  };
1576
- const serializeAws_json1_1Notification = (input, context) => {
1568
+ const se_Notification = (input, context) => {
1577
1569
  return {
1578
- ...(input.JobStatesToNotify != null && {
1579
- JobStatesToNotify: serializeAws_json1_1JobStateList(input.JobStatesToNotify, context),
1580
- }),
1570
+ ...(input.JobStatesToNotify != null && { JobStatesToNotify: se_JobStateList(input.JobStatesToNotify, context) }),
1581
1571
  ...(input.NotifyAll != null && { NotifyAll: input.NotifyAll }),
1582
1572
  ...(input.SnsTopicARN != null && { SnsTopicARN: input.SnsTopicARN }),
1583
1573
  };
1584
1574
  };
1585
- const serializeAws_json1_1OnDeviceServiceConfiguration = (input, context) => {
1575
+ const se_OnDeviceServiceConfiguration = (input, context) => {
1586
1576
  return {
1587
1577
  ...(input.EKSOnDeviceService != null && {
1588
- EKSOnDeviceService: serializeAws_json1_1EKSOnDeviceServiceConfiguration(input.EKSOnDeviceService, context),
1578
+ EKSOnDeviceService: se_EKSOnDeviceServiceConfiguration(input.EKSOnDeviceService, context),
1589
1579
  }),
1590
1580
  ...(input.NFSOnDeviceService != null && {
1591
- NFSOnDeviceService: serializeAws_json1_1NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
1581
+ NFSOnDeviceService: se_NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
1592
1582
  }),
1593
1583
  ...(input.TGWOnDeviceService != null && {
1594
- TGWOnDeviceService: serializeAws_json1_1TGWOnDeviceServiceConfiguration(input.TGWOnDeviceService, context),
1584
+ TGWOnDeviceService: se_TGWOnDeviceServiceConfiguration(input.TGWOnDeviceService, context),
1595
1585
  }),
1596
1586
  };
1597
1587
  };
1598
- const serializeAws_json1_1S3Resource = (input, context) => {
1588
+ const se_S3Resource = (input, context) => {
1599
1589
  return {
1600
1590
  ...(input.BucketArn != null && { BucketArn: input.BucketArn }),
1601
- ...(input.KeyRange != null && { KeyRange: serializeAws_json1_1KeyRange(input.KeyRange, context) }),
1591
+ ...(input.KeyRange != null && { KeyRange: se_KeyRange(input.KeyRange, context) }),
1602
1592
  ...(input.TargetOnDeviceServices != null && {
1603
- TargetOnDeviceServices: serializeAws_json1_1TargetOnDeviceServiceList(input.TargetOnDeviceServices, context),
1593
+ TargetOnDeviceServices: se_TargetOnDeviceServiceList(input.TargetOnDeviceServices, context),
1604
1594
  }),
1605
1595
  };
1606
1596
  };
1607
- const serializeAws_json1_1S3ResourceList = (input, context) => {
1597
+ const se_S3ResourceList = (input, context) => {
1608
1598
  return input
1609
1599
  .filter((e) => e != null)
1610
1600
  .map((entry) => {
1611
- return serializeAws_json1_1S3Resource(entry, context);
1601
+ return se_S3Resource(entry, context);
1612
1602
  });
1613
1603
  };
1614
- const serializeAws_json1_1ServiceVersion = (input, context) => {
1604
+ const se_ServiceVersion = (input, context) => {
1615
1605
  return {
1616
1606
  ...(input.Version != null && { Version: input.Version }),
1617
1607
  };
1618
1608
  };
1619
- const serializeAws_json1_1SnowconeDeviceConfiguration = (input, context) => {
1609
+ const se_SnowconeDeviceConfiguration = (input, context) => {
1620
1610
  return {
1621
1611
  ...(input.WirelessConnection != null && {
1622
- WirelessConnection: serializeAws_json1_1WirelessConnection(input.WirelessConnection, context),
1612
+ WirelessConnection: se_WirelessConnection(input.WirelessConnection, context),
1623
1613
  }),
1624
1614
  };
1625
1615
  };
1626
- const serializeAws_json1_1TargetOnDeviceService = (input, context) => {
1616
+ const se_TargetOnDeviceService = (input, context) => {
1627
1617
  return {
1628
1618
  ...(input.ServiceName != null && { ServiceName: input.ServiceName }),
1629
1619
  ...(input.TransferOption != null && { TransferOption: input.TransferOption }),
1630
1620
  };
1631
1621
  };
1632
- const serializeAws_json1_1TargetOnDeviceServiceList = (input, context) => {
1622
+ const se_TargetOnDeviceServiceList = (input, context) => {
1633
1623
  return input
1634
1624
  .filter((e) => e != null)
1635
1625
  .map((entry) => {
1636
- return serializeAws_json1_1TargetOnDeviceService(entry, context);
1626
+ return se_TargetOnDeviceService(entry, context);
1637
1627
  });
1638
1628
  };
1639
- const serializeAws_json1_1TaxDocuments = (input, context) => {
1629
+ const se_TaxDocuments = (input, context) => {
1640
1630
  return {
1641
- ...(input.IND != null && { IND: serializeAws_json1_1INDTaxDocuments(input.IND, context) }),
1631
+ ...(input.IND != null && { IND: se_INDTaxDocuments(input.IND, context) }),
1642
1632
  };
1643
1633
  };
1644
- const serializeAws_json1_1TGWOnDeviceServiceConfiguration = (input, context) => {
1634
+ const se_TGWOnDeviceServiceConfiguration = (input, context) => {
1645
1635
  return {
1646
1636
  ...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
1647
1637
  ...(input.StorageUnit != null && { StorageUnit: input.StorageUnit }),
1648
1638
  };
1649
1639
  };
1650
- const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
1640
+ const se_UpdateClusterRequest = (input, context) => {
1651
1641
  return {
1652
1642
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1653
1643
  ...(input.ClusterId != null && { ClusterId: input.ClusterId }),
1654
1644
  ...(input.Description != null && { Description: input.Description }),
1655
1645
  ...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
1656
- ...(input.Notification != null && { Notification: serializeAws_json1_1Notification(input.Notification, context) }),
1646
+ ...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
1657
1647
  ...(input.OnDeviceServiceConfiguration != null && {
1658
- OnDeviceServiceConfiguration: serializeAws_json1_1OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1648
+ OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1659
1649
  }),
1660
- ...(input.Resources != null && { Resources: serializeAws_json1_1JobResource(input.Resources, context) }),
1650
+ ...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
1661
1651
  ...(input.RoleARN != null && { RoleARN: input.RoleARN }),
1662
1652
  ...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
1663
1653
  };
1664
1654
  };
1665
- const serializeAws_json1_1UpdateJobRequest = (input, context) => {
1655
+ const se_UpdateJobRequest = (input, context) => {
1666
1656
  return {
1667
1657
  ...(input.AddressId != null && { AddressId: input.AddressId }),
1668
1658
  ...(input.Description != null && { Description: input.Description }),
1669
1659
  ...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
1670
1660
  ...(input.JobId != null && { JobId: input.JobId }),
1671
- ...(input.Notification != null && { Notification: serializeAws_json1_1Notification(input.Notification, context) }),
1661
+ ...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
1672
1662
  ...(input.OnDeviceServiceConfiguration != null && {
1673
- OnDeviceServiceConfiguration: serializeAws_json1_1OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1663
+ OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
1674
1664
  }),
1675
- ...(input.Resources != null && { Resources: serializeAws_json1_1JobResource(input.Resources, context) }),
1665
+ ...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
1676
1666
  ...(input.RoleARN != null && { RoleARN: input.RoleARN }),
1677
1667
  ...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
1678
1668
  ...(input.SnowballCapacityPreference != null && { SnowballCapacityPreference: input.SnowballCapacityPreference }),
1679
1669
  };
1680
1670
  };
1681
- const serializeAws_json1_1UpdateJobShipmentStateRequest = (input, context) => {
1671
+ const se_UpdateJobShipmentStateRequest = (input, context) => {
1682
1672
  return {
1683
1673
  ...(input.JobId != null && { JobId: input.JobId }),
1684
1674
  ...(input.ShipmentState != null && { ShipmentState: input.ShipmentState }),
1685
1675
  };
1686
1676
  };
1687
- const serializeAws_json1_1UpdateLongTermPricingRequest = (input, context) => {
1677
+ const se_UpdateLongTermPricingRequest = (input, context) => {
1688
1678
  return {
1689
1679
  ...(input.IsLongTermPricingAutoRenew != null && { IsLongTermPricingAutoRenew: input.IsLongTermPricingAutoRenew }),
1690
1680
  ...(input.LongTermPricingId != null && { LongTermPricingId: input.LongTermPricingId }),
1691
1681
  ...(input.ReplacementJob != null && { ReplacementJob: input.ReplacementJob }),
1692
1682
  };
1693
1683
  };
1694
- const serializeAws_json1_1WirelessConnection = (input, context) => {
1684
+ const se_WirelessConnection = (input, context) => {
1695
1685
  return {
1696
1686
  ...(input.IsWifiEnabled != null && { IsWifiEnabled: input.IsWifiEnabled }),
1697
1687
  };
1698
1688
  };
1699
- const deserializeAws_json1_1Address = (output, context) => {
1689
+ const de_Address = (output, context) => {
1700
1690
  return {
1701
1691
  AddressId: __expectString(output.AddressId),
1702
1692
  City: __expectString(output.City),
@@ -1714,29 +1704,29 @@ const deserializeAws_json1_1Address = (output, context) => {
1714
1704
  Street3: __expectString(output.Street3),
1715
1705
  };
1716
1706
  };
1717
- const deserializeAws_json1_1AddressList = (output, context) => {
1707
+ const de_AddressList = (output, context) => {
1718
1708
  const retVal = (output || [])
1719
1709
  .filter((e) => e != null)
1720
1710
  .map((entry) => {
1721
1711
  if (entry === null) {
1722
1712
  return null;
1723
1713
  }
1724
- return deserializeAws_json1_1Address(entry, context);
1714
+ return de_Address(entry, context);
1725
1715
  });
1726
1716
  return retVal;
1727
1717
  };
1728
- const deserializeAws_json1_1CancelClusterResult = (output, context) => {
1718
+ const de_CancelClusterResult = (output, context) => {
1729
1719
  return {};
1730
1720
  };
1731
- const deserializeAws_json1_1CancelJobResult = (output, context) => {
1721
+ const de_CancelJobResult = (output, context) => {
1732
1722
  return {};
1733
1723
  };
1734
- const deserializeAws_json1_1ClusterLimitExceededException = (output, context) => {
1724
+ const de_ClusterLimitExceededException = (output, context) => {
1735
1725
  return {
1736
1726
  Message: __expectString(output.Message),
1737
1727
  };
1738
1728
  };
1739
- const deserializeAws_json1_1ClusterListEntry = (output, context) => {
1729
+ const de_ClusterListEntry = (output, context) => {
1740
1730
  return {
1741
1731
  ClusterId: __expectString(output.ClusterId),
1742
1732
  ClusterState: __expectString(output.ClusterState),
@@ -1746,18 +1736,18 @@ const deserializeAws_json1_1ClusterListEntry = (output, context) => {
1746
1736
  Description: __expectString(output.Description),
1747
1737
  };
1748
1738
  };
1749
- const deserializeAws_json1_1ClusterListEntryList = (output, context) => {
1739
+ const de_ClusterListEntryList = (output, context) => {
1750
1740
  const retVal = (output || [])
1751
1741
  .filter((e) => e != null)
1752
1742
  .map((entry) => {
1753
1743
  if (entry === null) {
1754
1744
  return null;
1755
1745
  }
1756
- return deserializeAws_json1_1ClusterListEntry(entry, context);
1746
+ return de_ClusterListEntry(entry, context);
1757
1747
  });
1758
1748
  return retVal;
1759
1749
  };
1760
- const deserializeAws_json1_1ClusterMetadata = (output, context) => {
1750
+ const de_ClusterMetadata = (output, context) => {
1761
1751
  return {
1762
1752
  AddressId: __expectString(output.AddressId),
1763
1753
  ClusterId: __expectString(output.ClusterId),
@@ -1769,66 +1759,66 @@ const deserializeAws_json1_1ClusterMetadata = (output, context) => {
1769
1759
  ForwardingAddressId: __expectString(output.ForwardingAddressId),
1770
1760
  JobType: __expectString(output.JobType),
1771
1761
  KmsKeyARN: __expectString(output.KmsKeyARN),
1772
- Notification: output.Notification != null ? deserializeAws_json1_1Notification(output.Notification, context) : undefined,
1762
+ Notification: output.Notification != null ? de_Notification(output.Notification, context) : undefined,
1773
1763
  OnDeviceServiceConfiguration: output.OnDeviceServiceConfiguration != null
1774
- ? deserializeAws_json1_1OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
1764
+ ? de_OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
1775
1765
  : undefined,
1776
- Resources: output.Resources != null ? deserializeAws_json1_1JobResource(output.Resources, context) : undefined,
1766
+ Resources: output.Resources != null ? de_JobResource(output.Resources, context) : undefined,
1777
1767
  RoleARN: __expectString(output.RoleARN),
1778
1768
  ShippingOption: __expectString(output.ShippingOption),
1779
1769
  SnowballType: __expectString(output.SnowballType),
1780
- TaxDocuments: output.TaxDocuments != null ? deserializeAws_json1_1TaxDocuments(output.TaxDocuments, context) : undefined,
1770
+ TaxDocuments: output.TaxDocuments != null ? de_TaxDocuments(output.TaxDocuments, context) : undefined,
1781
1771
  };
1782
1772
  };
1783
- const deserializeAws_json1_1CompatibleImage = (output, context) => {
1773
+ const de_CompatibleImage = (output, context) => {
1784
1774
  return {
1785
1775
  AmiId: __expectString(output.AmiId),
1786
1776
  Name: __expectString(output.Name),
1787
1777
  };
1788
1778
  };
1789
- const deserializeAws_json1_1CompatibleImageList = (output, context) => {
1779
+ const de_CompatibleImageList = (output, context) => {
1790
1780
  const retVal = (output || [])
1791
1781
  .filter((e) => e != null)
1792
1782
  .map((entry) => {
1793
1783
  if (entry === null) {
1794
1784
  return null;
1795
1785
  }
1796
- return deserializeAws_json1_1CompatibleImage(entry, context);
1786
+ return de_CompatibleImage(entry, context);
1797
1787
  });
1798
1788
  return retVal;
1799
1789
  };
1800
- const deserializeAws_json1_1ConflictException = (output, context) => {
1790
+ const de_ConflictException = (output, context) => {
1801
1791
  return {
1802
1792
  ConflictResource: __expectString(output.ConflictResource),
1803
1793
  Message: __expectString(output.Message),
1804
1794
  };
1805
1795
  };
1806
- const deserializeAws_json1_1CreateAddressResult = (output, context) => {
1796
+ const de_CreateAddressResult = (output, context) => {
1807
1797
  return {
1808
1798
  AddressId: __expectString(output.AddressId),
1809
1799
  };
1810
1800
  };
1811
- const deserializeAws_json1_1CreateClusterResult = (output, context) => {
1801
+ const de_CreateClusterResult = (output, context) => {
1812
1802
  return {
1813
1803
  ClusterId: __expectString(output.ClusterId),
1814
1804
  };
1815
1805
  };
1816
- const deserializeAws_json1_1CreateJobResult = (output, context) => {
1806
+ const de_CreateJobResult = (output, context) => {
1817
1807
  return {
1818
1808
  JobId: __expectString(output.JobId),
1819
1809
  };
1820
1810
  };
1821
- const deserializeAws_json1_1CreateLongTermPricingResult = (output, context) => {
1811
+ const de_CreateLongTermPricingResult = (output, context) => {
1822
1812
  return {
1823
1813
  LongTermPricingId: __expectString(output.LongTermPricingId),
1824
1814
  };
1825
1815
  };
1826
- const deserializeAws_json1_1CreateReturnShippingLabelResult = (output, context) => {
1816
+ const de_CreateReturnShippingLabelResult = (output, context) => {
1827
1817
  return {
1828
1818
  Status: __expectString(output.Status),
1829
1819
  };
1830
1820
  };
1831
- const deserializeAws_json1_1DataTransfer = (output, context) => {
1821
+ const de_DataTransfer = (output, context) => {
1832
1822
  return {
1833
1823
  BytesTransferred: __expectLong(output.BytesTransferred),
1834
1824
  ObjectsTransferred: __expectLong(output.ObjectsTransferred),
@@ -1836,48 +1826,46 @@ const deserializeAws_json1_1DataTransfer = (output, context) => {
1836
1826
  TotalObjects: __expectLong(output.TotalObjects),
1837
1827
  };
1838
1828
  };
1839
- const deserializeAws_json1_1DependentService = (output, context) => {
1829
+ const de_DependentService = (output, context) => {
1840
1830
  return {
1841
1831
  ServiceName: __expectString(output.ServiceName),
1842
- ServiceVersion: output.ServiceVersion != null ? deserializeAws_json1_1ServiceVersion(output.ServiceVersion, context) : undefined,
1832
+ ServiceVersion: output.ServiceVersion != null ? de_ServiceVersion(output.ServiceVersion, context) : undefined,
1843
1833
  };
1844
1834
  };
1845
- const deserializeAws_json1_1DependentServiceList = (output, context) => {
1835
+ const de_DependentServiceList = (output, context) => {
1846
1836
  const retVal = (output || [])
1847
1837
  .filter((e) => e != null)
1848
1838
  .map((entry) => {
1849
1839
  if (entry === null) {
1850
1840
  return null;
1851
1841
  }
1852
- return deserializeAws_json1_1DependentService(entry, context);
1842
+ return de_DependentService(entry, context);
1853
1843
  });
1854
1844
  return retVal;
1855
1845
  };
1856
- const deserializeAws_json1_1DescribeAddressesResult = (output, context) => {
1846
+ const de_DescribeAddressesResult = (output, context) => {
1857
1847
  return {
1858
- Addresses: output.Addresses != null ? deserializeAws_json1_1AddressList(output.Addresses, context) : undefined,
1848
+ Addresses: output.Addresses != null ? de_AddressList(output.Addresses, context) : undefined,
1859
1849
  NextToken: __expectString(output.NextToken),
1860
1850
  };
1861
1851
  };
1862
- const deserializeAws_json1_1DescribeAddressResult = (output, context) => {
1852
+ const de_DescribeAddressResult = (output, context) => {
1863
1853
  return {
1864
- Address: output.Address != null ? deserializeAws_json1_1Address(output.Address, context) : undefined,
1854
+ Address: output.Address != null ? de_Address(output.Address, context) : undefined,
1865
1855
  };
1866
1856
  };
1867
- const deserializeAws_json1_1DescribeClusterResult = (output, context) => {
1857
+ const de_DescribeClusterResult = (output, context) => {
1868
1858
  return {
1869
- ClusterMetadata: output.ClusterMetadata != null
1870
- ? deserializeAws_json1_1ClusterMetadata(output.ClusterMetadata, context)
1871
- : undefined,
1859
+ ClusterMetadata: output.ClusterMetadata != null ? de_ClusterMetadata(output.ClusterMetadata, context) : undefined,
1872
1860
  };
1873
1861
  };
1874
- const deserializeAws_json1_1DescribeJobResult = (output, context) => {
1862
+ const de_DescribeJobResult = (output, context) => {
1875
1863
  return {
1876
- JobMetadata: output.JobMetadata != null ? deserializeAws_json1_1JobMetadata(output.JobMetadata, context) : undefined,
1877
- SubJobMetadata: output.SubJobMetadata != null ? deserializeAws_json1_1JobMetadataList(output.SubJobMetadata, context) : undefined,
1864
+ JobMetadata: output.JobMetadata != null ? de_JobMetadata(output.JobMetadata, context) : undefined,
1865
+ SubJobMetadata: output.SubJobMetadata != null ? de_JobMetadataList(output.SubJobMetadata, context) : undefined,
1878
1866
  };
1879
1867
  };
1880
- const deserializeAws_json1_1DescribeReturnShippingLabelResult = (output, context) => {
1868
+ const de_DescribeReturnShippingLabelResult = (output, context) => {
1881
1869
  return {
1882
1870
  ExpirationDate: output.ExpirationDate != null
1883
1871
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
@@ -1886,110 +1874,110 @@ const deserializeAws_json1_1DescribeReturnShippingLabelResult = (output, context
1886
1874
  Status: __expectString(output.Status),
1887
1875
  };
1888
1876
  };
1889
- const deserializeAws_json1_1DeviceConfiguration = (output, context) => {
1877
+ const de_DeviceConfiguration = (output, context) => {
1890
1878
  return {
1891
1879
  SnowconeDeviceConfiguration: output.SnowconeDeviceConfiguration != null
1892
- ? deserializeAws_json1_1SnowconeDeviceConfiguration(output.SnowconeDeviceConfiguration, context)
1880
+ ? de_SnowconeDeviceConfiguration(output.SnowconeDeviceConfiguration, context)
1893
1881
  : undefined,
1894
1882
  };
1895
1883
  };
1896
- const deserializeAws_json1_1Ec2AmiResource = (output, context) => {
1884
+ const de_Ec2AmiResource = (output, context) => {
1897
1885
  return {
1898
1886
  AmiId: __expectString(output.AmiId),
1899
1887
  SnowballAmiId: __expectString(output.SnowballAmiId),
1900
1888
  };
1901
1889
  };
1902
- const deserializeAws_json1_1Ec2AmiResourceList = (output, context) => {
1890
+ const de_Ec2AmiResourceList = (output, context) => {
1903
1891
  const retVal = (output || [])
1904
1892
  .filter((e) => e != null)
1905
1893
  .map((entry) => {
1906
1894
  if (entry === null) {
1907
1895
  return null;
1908
1896
  }
1909
- return deserializeAws_json1_1Ec2AmiResource(entry, context);
1897
+ return de_Ec2AmiResource(entry, context);
1910
1898
  });
1911
1899
  return retVal;
1912
1900
  };
1913
- const deserializeAws_json1_1Ec2RequestFailedException = (output, context) => {
1901
+ const de_Ec2RequestFailedException = (output, context) => {
1914
1902
  return {
1915
1903
  Message: __expectString(output.Message),
1916
1904
  };
1917
1905
  };
1918
- const deserializeAws_json1_1EKSOnDeviceServiceConfiguration = (output, context) => {
1906
+ const de_EKSOnDeviceServiceConfiguration = (output, context) => {
1919
1907
  return {
1920
1908
  EKSAnywhereVersion: __expectString(output.EKSAnywhereVersion),
1921
1909
  KubernetesVersion: __expectString(output.KubernetesVersion),
1922
1910
  };
1923
1911
  };
1924
- const deserializeAws_json1_1EventTriggerDefinition = (output, context) => {
1912
+ const de_EventTriggerDefinition = (output, context) => {
1925
1913
  return {
1926
1914
  EventResourceARN: __expectString(output.EventResourceARN),
1927
1915
  };
1928
1916
  };
1929
- const deserializeAws_json1_1EventTriggerDefinitionList = (output, context) => {
1917
+ const de_EventTriggerDefinitionList = (output, context) => {
1930
1918
  const retVal = (output || [])
1931
1919
  .filter((e) => e != null)
1932
1920
  .map((entry) => {
1933
1921
  if (entry === null) {
1934
1922
  return null;
1935
1923
  }
1936
- return deserializeAws_json1_1EventTriggerDefinition(entry, context);
1924
+ return de_EventTriggerDefinition(entry, context);
1937
1925
  });
1938
1926
  return retVal;
1939
1927
  };
1940
- const deserializeAws_json1_1GetJobManifestResult = (output, context) => {
1928
+ const de_GetJobManifestResult = (output, context) => {
1941
1929
  return {
1942
1930
  ManifestURI: __expectString(output.ManifestURI),
1943
1931
  };
1944
1932
  };
1945
- const deserializeAws_json1_1GetJobUnlockCodeResult = (output, context) => {
1933
+ const de_GetJobUnlockCodeResult = (output, context) => {
1946
1934
  return {
1947
1935
  UnlockCode: __expectString(output.UnlockCode),
1948
1936
  };
1949
1937
  };
1950
- const deserializeAws_json1_1GetSnowballUsageResult = (output, context) => {
1938
+ const de_GetSnowballUsageResult = (output, context) => {
1951
1939
  return {
1952
1940
  SnowballLimit: __expectInt32(output.SnowballLimit),
1953
1941
  SnowballsInUse: __expectInt32(output.SnowballsInUse),
1954
1942
  };
1955
1943
  };
1956
- const deserializeAws_json1_1GetSoftwareUpdatesResult = (output, context) => {
1944
+ const de_GetSoftwareUpdatesResult = (output, context) => {
1957
1945
  return {
1958
1946
  UpdatesURI: __expectString(output.UpdatesURI),
1959
1947
  };
1960
1948
  };
1961
- const deserializeAws_json1_1INDTaxDocuments = (output, context) => {
1949
+ const de_INDTaxDocuments = (output, context) => {
1962
1950
  return {
1963
1951
  GSTIN: __expectString(output.GSTIN),
1964
1952
  };
1965
1953
  };
1966
- const deserializeAws_json1_1InvalidAddressException = (output, context) => {
1954
+ const de_InvalidAddressException = (output, context) => {
1967
1955
  return {
1968
1956
  Message: __expectString(output.Message),
1969
1957
  };
1970
1958
  };
1971
- const deserializeAws_json1_1InvalidInputCombinationException = (output, context) => {
1959
+ const de_InvalidInputCombinationException = (output, context) => {
1972
1960
  return {
1973
1961
  Message: __expectString(output.Message),
1974
1962
  };
1975
1963
  };
1976
- const deserializeAws_json1_1InvalidJobStateException = (output, context) => {
1964
+ const de_InvalidJobStateException = (output, context) => {
1977
1965
  return {
1978
1966
  Message: __expectString(output.Message),
1979
1967
  };
1980
1968
  };
1981
- const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
1969
+ const de_InvalidNextTokenException = (output, context) => {
1982
1970
  return {
1983
1971
  Message: __expectString(output.Message),
1984
1972
  };
1985
1973
  };
1986
- const deserializeAws_json1_1InvalidResourceException = (output, context) => {
1974
+ const de_InvalidResourceException = (output, context) => {
1987
1975
  return {
1988
1976
  Message: __expectString(output.Message),
1989
1977
  ResourceType: __expectString(output.ResourceType),
1990
1978
  };
1991
1979
  };
1992
- const deserializeAws_json1_1JobListEntry = (output, context) => {
1980
+ const de_JobListEntry = (output, context) => {
1993
1981
  return {
1994
1982
  CreationDate: output.CreationDate != null
1995
1983
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
@@ -2002,83 +1990,73 @@ const deserializeAws_json1_1JobListEntry = (output, context) => {
2002
1990
  SnowballType: __expectString(output.SnowballType),
2003
1991
  };
2004
1992
  };
2005
- const deserializeAws_json1_1JobListEntryList = (output, context) => {
1993
+ const de_JobListEntryList = (output, context) => {
2006
1994
  const retVal = (output || [])
2007
1995
  .filter((e) => e != null)
2008
1996
  .map((entry) => {
2009
1997
  if (entry === null) {
2010
1998
  return null;
2011
1999
  }
2012
- return deserializeAws_json1_1JobListEntry(entry, context);
2000
+ return de_JobListEntry(entry, context);
2013
2001
  });
2014
2002
  return retVal;
2015
2003
  };
2016
- const deserializeAws_json1_1JobLogs = (output, context) => {
2004
+ const de_JobLogs = (output, context) => {
2017
2005
  return {
2018
2006
  JobCompletionReportURI: __expectString(output.JobCompletionReportURI),
2019
2007
  JobFailureLogURI: __expectString(output.JobFailureLogURI),
2020
2008
  JobSuccessLogURI: __expectString(output.JobSuccessLogURI),
2021
2009
  };
2022
2010
  };
2023
- const deserializeAws_json1_1JobMetadata = (output, context) => {
2011
+ const de_JobMetadata = (output, context) => {
2024
2012
  return {
2025
2013
  AddressId: __expectString(output.AddressId),
2026
2014
  ClusterId: __expectString(output.ClusterId),
2027
2015
  CreationDate: output.CreationDate != null
2028
2016
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
2029
2017
  : undefined,
2030
- DataTransferProgress: output.DataTransferProgress != null
2031
- ? deserializeAws_json1_1DataTransfer(output.DataTransferProgress, context)
2032
- : undefined,
2018
+ DataTransferProgress: output.DataTransferProgress != null ? de_DataTransfer(output.DataTransferProgress, context) : undefined,
2033
2019
  Description: __expectString(output.Description),
2034
- DeviceConfiguration: output.DeviceConfiguration != null
2035
- ? deserializeAws_json1_1DeviceConfiguration(output.DeviceConfiguration, context)
2036
- : undefined,
2020
+ DeviceConfiguration: output.DeviceConfiguration != null ? de_DeviceConfiguration(output.DeviceConfiguration, context) : undefined,
2037
2021
  ForwardingAddressId: __expectString(output.ForwardingAddressId),
2038
2022
  JobId: __expectString(output.JobId),
2039
- JobLogInfo: output.JobLogInfo != null ? deserializeAws_json1_1JobLogs(output.JobLogInfo, context) : undefined,
2023
+ JobLogInfo: output.JobLogInfo != null ? de_JobLogs(output.JobLogInfo, context) : undefined,
2040
2024
  JobState: __expectString(output.JobState),
2041
2025
  JobType: __expectString(output.JobType),
2042
2026
  KmsKeyARN: __expectString(output.KmsKeyARN),
2043
2027
  LongTermPricingId: __expectString(output.LongTermPricingId),
2044
- Notification: output.Notification != null ? deserializeAws_json1_1Notification(output.Notification, context) : undefined,
2028
+ Notification: output.Notification != null ? de_Notification(output.Notification, context) : undefined,
2045
2029
  OnDeviceServiceConfiguration: output.OnDeviceServiceConfiguration != null
2046
- ? deserializeAws_json1_1OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
2030
+ ? de_OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
2047
2031
  : undefined,
2048
2032
  RemoteManagement: __expectString(output.RemoteManagement),
2049
- Resources: output.Resources != null ? deserializeAws_json1_1JobResource(output.Resources, context) : undefined,
2033
+ Resources: output.Resources != null ? de_JobResource(output.Resources, context) : undefined,
2050
2034
  RoleARN: __expectString(output.RoleARN),
2051
- ShippingDetails: output.ShippingDetails != null
2052
- ? deserializeAws_json1_1ShippingDetails(output.ShippingDetails, context)
2053
- : undefined,
2035
+ ShippingDetails: output.ShippingDetails != null ? de_ShippingDetails(output.ShippingDetails, context) : undefined,
2054
2036
  SnowballCapacityPreference: __expectString(output.SnowballCapacityPreference),
2055
2037
  SnowballType: __expectString(output.SnowballType),
2056
- TaxDocuments: output.TaxDocuments != null ? deserializeAws_json1_1TaxDocuments(output.TaxDocuments, context) : undefined,
2038
+ TaxDocuments: output.TaxDocuments != null ? de_TaxDocuments(output.TaxDocuments, context) : undefined,
2057
2039
  };
2058
2040
  };
2059
- const deserializeAws_json1_1JobMetadataList = (output, context) => {
2041
+ const de_JobMetadataList = (output, context) => {
2060
2042
  const retVal = (output || [])
2061
2043
  .filter((e) => e != null)
2062
2044
  .map((entry) => {
2063
2045
  if (entry === null) {
2064
2046
  return null;
2065
2047
  }
2066
- return deserializeAws_json1_1JobMetadata(entry, context);
2048
+ return de_JobMetadata(entry, context);
2067
2049
  });
2068
2050
  return retVal;
2069
2051
  };
2070
- const deserializeAws_json1_1JobResource = (output, context) => {
2052
+ const de_JobResource = (output, context) => {
2071
2053
  return {
2072
- Ec2AmiResources: output.Ec2AmiResources != null
2073
- ? deserializeAws_json1_1Ec2AmiResourceList(output.Ec2AmiResources, context)
2074
- : undefined,
2075
- LambdaResources: output.LambdaResources != null
2076
- ? deserializeAws_json1_1LambdaResourceList(output.LambdaResources, context)
2077
- : undefined,
2078
- S3Resources: output.S3Resources != null ? deserializeAws_json1_1S3ResourceList(output.S3Resources, context) : undefined,
2054
+ Ec2AmiResources: output.Ec2AmiResources != null ? de_Ec2AmiResourceList(output.Ec2AmiResources, context) : undefined,
2055
+ LambdaResources: output.LambdaResources != null ? de_LambdaResourceList(output.LambdaResources, context) : undefined,
2056
+ S3Resources: output.S3Resources != null ? de_S3ResourceList(output.S3Resources, context) : undefined,
2079
2057
  };
2080
2058
  };
2081
- const deserializeAws_json1_1JobStateList = (output, context) => {
2059
+ const de_JobStateList = (output, context) => {
2082
2060
  const retVal = (output || [])
2083
2061
  .filter((e) => e != null)
2084
2062
  .map((entry) => {
@@ -2089,89 +2067,75 @@ const deserializeAws_json1_1JobStateList = (output, context) => {
2089
2067
  });
2090
2068
  return retVal;
2091
2069
  };
2092
- const deserializeAws_json1_1KeyRange = (output, context) => {
2070
+ const de_KeyRange = (output, context) => {
2093
2071
  return {
2094
2072
  BeginMarker: __expectString(output.BeginMarker),
2095
2073
  EndMarker: __expectString(output.EndMarker),
2096
2074
  };
2097
2075
  };
2098
- const deserializeAws_json1_1KMSRequestFailedException = (output, context) => {
2076
+ const de_KMSRequestFailedException = (output, context) => {
2099
2077
  return {
2100
2078
  Message: __expectString(output.Message),
2101
2079
  };
2102
2080
  };
2103
- const deserializeAws_json1_1LambdaResource = (output, context) => {
2081
+ const de_LambdaResource = (output, context) => {
2104
2082
  return {
2105
- EventTriggers: output.EventTriggers != null
2106
- ? deserializeAws_json1_1EventTriggerDefinitionList(output.EventTriggers, context)
2107
- : undefined,
2083
+ EventTriggers: output.EventTriggers != null ? de_EventTriggerDefinitionList(output.EventTriggers, context) : undefined,
2108
2084
  LambdaArn: __expectString(output.LambdaArn),
2109
2085
  };
2110
2086
  };
2111
- const deserializeAws_json1_1LambdaResourceList = (output, context) => {
2087
+ const de_LambdaResourceList = (output, context) => {
2112
2088
  const retVal = (output || [])
2113
2089
  .filter((e) => e != null)
2114
2090
  .map((entry) => {
2115
2091
  if (entry === null) {
2116
2092
  return null;
2117
2093
  }
2118
- return deserializeAws_json1_1LambdaResource(entry, context);
2094
+ return de_LambdaResource(entry, context);
2119
2095
  });
2120
2096
  return retVal;
2121
2097
  };
2122
- const deserializeAws_json1_1ListClusterJobsResult = (output, context) => {
2098
+ const de_ListClusterJobsResult = (output, context) => {
2123
2099
  return {
2124
- JobListEntries: output.JobListEntries != null
2125
- ? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
2126
- : undefined,
2100
+ JobListEntries: output.JobListEntries != null ? de_JobListEntryList(output.JobListEntries, context) : undefined,
2127
2101
  NextToken: __expectString(output.NextToken),
2128
2102
  };
2129
2103
  };
2130
- const deserializeAws_json1_1ListClustersResult = (output, context) => {
2104
+ const de_ListClustersResult = (output, context) => {
2131
2105
  return {
2132
- ClusterListEntries: output.ClusterListEntries != null
2133
- ? deserializeAws_json1_1ClusterListEntryList(output.ClusterListEntries, context)
2134
- : undefined,
2106
+ ClusterListEntries: output.ClusterListEntries != null ? de_ClusterListEntryList(output.ClusterListEntries, context) : undefined,
2135
2107
  NextToken: __expectString(output.NextToken),
2136
2108
  };
2137
2109
  };
2138
- const deserializeAws_json1_1ListCompatibleImagesResult = (output, context) => {
2110
+ const de_ListCompatibleImagesResult = (output, context) => {
2139
2111
  return {
2140
- CompatibleImages: output.CompatibleImages != null
2141
- ? deserializeAws_json1_1CompatibleImageList(output.CompatibleImages, context)
2142
- : undefined,
2112
+ CompatibleImages: output.CompatibleImages != null ? de_CompatibleImageList(output.CompatibleImages, context) : undefined,
2143
2113
  NextToken: __expectString(output.NextToken),
2144
2114
  };
2145
2115
  };
2146
- const deserializeAws_json1_1ListJobsResult = (output, context) => {
2116
+ const de_ListJobsResult = (output, context) => {
2147
2117
  return {
2148
- JobListEntries: output.JobListEntries != null
2149
- ? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
2150
- : undefined,
2118
+ JobListEntries: output.JobListEntries != null ? de_JobListEntryList(output.JobListEntries, context) : undefined,
2151
2119
  NextToken: __expectString(output.NextToken),
2152
2120
  };
2153
2121
  };
2154
- const deserializeAws_json1_1ListLongTermPricingResult = (output, context) => {
2122
+ const de_ListLongTermPricingResult = (output, context) => {
2155
2123
  return {
2156
2124
  LongTermPricingEntries: output.LongTermPricingEntries != null
2157
- ? deserializeAws_json1_1LongTermPricingEntryList(output.LongTermPricingEntries, context)
2125
+ ? de_LongTermPricingEntryList(output.LongTermPricingEntries, context)
2158
2126
  : undefined,
2159
2127
  NextToken: __expectString(output.NextToken),
2160
2128
  };
2161
2129
  };
2162
- const deserializeAws_json1_1ListServiceVersionsResult = (output, context) => {
2130
+ const de_ListServiceVersionsResult = (output, context) => {
2163
2131
  return {
2164
- DependentServices: output.DependentServices != null
2165
- ? deserializeAws_json1_1DependentServiceList(output.DependentServices, context)
2166
- : undefined,
2132
+ DependentServices: output.DependentServices != null ? de_DependentServiceList(output.DependentServices, context) : undefined,
2167
2133
  NextToken: __expectString(output.NextToken),
2168
2134
  ServiceName: __expectString(output.ServiceName),
2169
- ServiceVersions: output.ServiceVersions != null
2170
- ? deserializeAws_json1_1ServiceVersionList(output.ServiceVersions, context)
2171
- : undefined,
2135
+ ServiceVersions: output.ServiceVersions != null ? de_ServiceVersionList(output.ServiceVersions, context) : undefined,
2172
2136
  };
2173
2137
  };
2174
- const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, context) => {
2138
+ const de_LongTermPricingAssociatedJobIdList = (output, context) => {
2175
2139
  const retVal = (output || [])
2176
2140
  .filter((e) => e != null)
2177
2141
  .map((entry) => {
@@ -2182,24 +2146,22 @@ const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, contex
2182
2146
  });
2183
2147
  return retVal;
2184
2148
  };
2185
- const deserializeAws_json1_1LongTermPricingEntryList = (output, context) => {
2149
+ const de_LongTermPricingEntryList = (output, context) => {
2186
2150
  const retVal = (output || [])
2187
2151
  .filter((e) => e != null)
2188
2152
  .map((entry) => {
2189
2153
  if (entry === null) {
2190
2154
  return null;
2191
2155
  }
2192
- return deserializeAws_json1_1LongTermPricingListEntry(entry, context);
2156
+ return de_LongTermPricingListEntry(entry, context);
2193
2157
  });
2194
2158
  return retVal;
2195
2159
  };
2196
- const deserializeAws_json1_1LongTermPricingListEntry = (output, context) => {
2160
+ const de_LongTermPricingListEntry = (output, context) => {
2197
2161
  return {
2198
2162
  CurrentActiveJob: __expectString(output.CurrentActiveJob),
2199
2163
  IsLongTermPricingAutoRenew: __expectBoolean(output.IsLongTermPricingAutoRenew),
2200
- JobIds: output.JobIds != null
2201
- ? deserializeAws_json1_1LongTermPricingAssociatedJobIdList(output.JobIds, context)
2202
- : undefined,
2164
+ JobIds: output.JobIds != null ? de_LongTermPricingAssociatedJobIdList(output.JobIds, context) : undefined,
2203
2165
  LongTermPricingEndDate: output.LongTermPricingEndDate != null
2204
2166
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LongTermPricingEndDate)))
2205
2167
  : undefined,
@@ -2213,141 +2175,137 @@ const deserializeAws_json1_1LongTermPricingListEntry = (output, context) => {
2213
2175
  SnowballType: __expectString(output.SnowballType),
2214
2176
  };
2215
2177
  };
2216
- const deserializeAws_json1_1NFSOnDeviceServiceConfiguration = (output, context) => {
2178
+ const de_NFSOnDeviceServiceConfiguration = (output, context) => {
2217
2179
  return {
2218
2180
  StorageLimit: __expectInt32(output.StorageLimit),
2219
2181
  StorageUnit: __expectString(output.StorageUnit),
2220
2182
  };
2221
2183
  };
2222
- const deserializeAws_json1_1Notification = (output, context) => {
2184
+ const de_Notification = (output, context) => {
2223
2185
  return {
2224
- JobStatesToNotify: output.JobStatesToNotify != null
2225
- ? deserializeAws_json1_1JobStateList(output.JobStatesToNotify, context)
2226
- : undefined,
2186
+ JobStatesToNotify: output.JobStatesToNotify != null ? de_JobStateList(output.JobStatesToNotify, context) : undefined,
2227
2187
  NotifyAll: __expectBoolean(output.NotifyAll),
2228
2188
  SnsTopicARN: __expectString(output.SnsTopicARN),
2229
2189
  };
2230
2190
  };
2231
- const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) => {
2191
+ const de_OnDeviceServiceConfiguration = (output, context) => {
2232
2192
  return {
2233
2193
  EKSOnDeviceService: output.EKSOnDeviceService != null
2234
- ? deserializeAws_json1_1EKSOnDeviceServiceConfiguration(output.EKSOnDeviceService, context)
2194
+ ? de_EKSOnDeviceServiceConfiguration(output.EKSOnDeviceService, context)
2235
2195
  : undefined,
2236
2196
  NFSOnDeviceService: output.NFSOnDeviceService != null
2237
- ? deserializeAws_json1_1NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
2197
+ ? de_NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
2238
2198
  : undefined,
2239
2199
  TGWOnDeviceService: output.TGWOnDeviceService != null
2240
- ? deserializeAws_json1_1TGWOnDeviceServiceConfiguration(output.TGWOnDeviceService, context)
2200
+ ? de_TGWOnDeviceServiceConfiguration(output.TGWOnDeviceService, context)
2241
2201
  : undefined,
2242
2202
  };
2243
2203
  };
2244
- const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsException = (output, context) => {
2204
+ const de_ReturnShippingLabelAlreadyExistsException = (output, context) => {
2245
2205
  return {
2246
2206
  Message: __expectString(output.Message),
2247
2207
  };
2248
2208
  };
2249
- const deserializeAws_json1_1S3Resource = (output, context) => {
2209
+ const de_S3Resource = (output, context) => {
2250
2210
  return {
2251
2211
  BucketArn: __expectString(output.BucketArn),
2252
- KeyRange: output.KeyRange != null ? deserializeAws_json1_1KeyRange(output.KeyRange, context) : undefined,
2212
+ KeyRange: output.KeyRange != null ? de_KeyRange(output.KeyRange, context) : undefined,
2253
2213
  TargetOnDeviceServices: output.TargetOnDeviceServices != null
2254
- ? deserializeAws_json1_1TargetOnDeviceServiceList(output.TargetOnDeviceServices, context)
2214
+ ? de_TargetOnDeviceServiceList(output.TargetOnDeviceServices, context)
2255
2215
  : undefined,
2256
2216
  };
2257
2217
  };
2258
- const deserializeAws_json1_1S3ResourceList = (output, context) => {
2218
+ const de_S3ResourceList = (output, context) => {
2259
2219
  const retVal = (output || [])
2260
2220
  .filter((e) => e != null)
2261
2221
  .map((entry) => {
2262
2222
  if (entry === null) {
2263
2223
  return null;
2264
2224
  }
2265
- return deserializeAws_json1_1S3Resource(entry, context);
2225
+ return de_S3Resource(entry, context);
2266
2226
  });
2267
2227
  return retVal;
2268
2228
  };
2269
- const deserializeAws_json1_1ServiceVersion = (output, context) => {
2229
+ const de_ServiceVersion = (output, context) => {
2270
2230
  return {
2271
2231
  Version: __expectString(output.Version),
2272
2232
  };
2273
2233
  };
2274
- const deserializeAws_json1_1ServiceVersionList = (output, context) => {
2234
+ const de_ServiceVersionList = (output, context) => {
2275
2235
  const retVal = (output || [])
2276
2236
  .filter((e) => e != null)
2277
2237
  .map((entry) => {
2278
2238
  if (entry === null) {
2279
2239
  return null;
2280
2240
  }
2281
- return deserializeAws_json1_1ServiceVersion(entry, context);
2241
+ return de_ServiceVersion(entry, context);
2282
2242
  });
2283
2243
  return retVal;
2284
2244
  };
2285
- const deserializeAws_json1_1Shipment = (output, context) => {
2245
+ const de_Shipment = (output, context) => {
2286
2246
  return {
2287
2247
  Status: __expectString(output.Status),
2288
2248
  TrackingNumber: __expectString(output.TrackingNumber),
2289
2249
  };
2290
2250
  };
2291
- const deserializeAws_json1_1ShippingDetails = (output, context) => {
2251
+ const de_ShippingDetails = (output, context) => {
2292
2252
  return {
2293
- InboundShipment: output.InboundShipment != null ? deserializeAws_json1_1Shipment(output.InboundShipment, context) : undefined,
2294
- OutboundShipment: output.OutboundShipment != null ? deserializeAws_json1_1Shipment(output.OutboundShipment, context) : undefined,
2253
+ InboundShipment: output.InboundShipment != null ? de_Shipment(output.InboundShipment, context) : undefined,
2254
+ OutboundShipment: output.OutboundShipment != null ? de_Shipment(output.OutboundShipment, context) : undefined,
2295
2255
  ShippingOption: __expectString(output.ShippingOption),
2296
2256
  };
2297
2257
  };
2298
- const deserializeAws_json1_1SnowconeDeviceConfiguration = (output, context) => {
2258
+ const de_SnowconeDeviceConfiguration = (output, context) => {
2299
2259
  return {
2300
- WirelessConnection: output.WirelessConnection != null
2301
- ? deserializeAws_json1_1WirelessConnection(output.WirelessConnection, context)
2302
- : undefined,
2260
+ WirelessConnection: output.WirelessConnection != null ? de_WirelessConnection(output.WirelessConnection, context) : undefined,
2303
2261
  };
2304
2262
  };
2305
- const deserializeAws_json1_1TargetOnDeviceService = (output, context) => {
2263
+ const de_TargetOnDeviceService = (output, context) => {
2306
2264
  return {
2307
2265
  ServiceName: __expectString(output.ServiceName),
2308
2266
  TransferOption: __expectString(output.TransferOption),
2309
2267
  };
2310
2268
  };
2311
- const deserializeAws_json1_1TargetOnDeviceServiceList = (output, context) => {
2269
+ const de_TargetOnDeviceServiceList = (output, context) => {
2312
2270
  const retVal = (output || [])
2313
2271
  .filter((e) => e != null)
2314
2272
  .map((entry) => {
2315
2273
  if (entry === null) {
2316
2274
  return null;
2317
2275
  }
2318
- return deserializeAws_json1_1TargetOnDeviceService(entry, context);
2276
+ return de_TargetOnDeviceService(entry, context);
2319
2277
  });
2320
2278
  return retVal;
2321
2279
  };
2322
- const deserializeAws_json1_1TaxDocuments = (output, context) => {
2280
+ const de_TaxDocuments = (output, context) => {
2323
2281
  return {
2324
- IND: output.IND != null ? deserializeAws_json1_1INDTaxDocuments(output.IND, context) : undefined,
2282
+ IND: output.IND != null ? de_INDTaxDocuments(output.IND, context) : undefined,
2325
2283
  };
2326
2284
  };
2327
- const deserializeAws_json1_1TGWOnDeviceServiceConfiguration = (output, context) => {
2285
+ const de_TGWOnDeviceServiceConfiguration = (output, context) => {
2328
2286
  return {
2329
2287
  StorageLimit: __expectInt32(output.StorageLimit),
2330
2288
  StorageUnit: __expectString(output.StorageUnit),
2331
2289
  };
2332
2290
  };
2333
- const deserializeAws_json1_1UnsupportedAddressException = (output, context) => {
2291
+ const de_UnsupportedAddressException = (output, context) => {
2334
2292
  return {
2335
2293
  Message: __expectString(output.Message),
2336
2294
  };
2337
2295
  };
2338
- const deserializeAws_json1_1UpdateClusterResult = (output, context) => {
2296
+ const de_UpdateClusterResult = (output, context) => {
2339
2297
  return {};
2340
2298
  };
2341
- const deserializeAws_json1_1UpdateJobResult = (output, context) => {
2299
+ const de_UpdateJobResult = (output, context) => {
2342
2300
  return {};
2343
2301
  };
2344
- const deserializeAws_json1_1UpdateJobShipmentStateResult = (output, context) => {
2302
+ const de_UpdateJobShipmentStateResult = (output, context) => {
2345
2303
  return {};
2346
2304
  };
2347
- const deserializeAws_json1_1UpdateLongTermPricingResult = (output, context) => {
2305
+ const de_UpdateLongTermPricingResult = (output, context) => {
2348
2306
  return {};
2349
2307
  };
2350
- const deserializeAws_json1_1WirelessConnection = (output, context) => {
2308
+ const de_WirelessConnection = (output, context) => {
2351
2309
  return {
2352
2310
  IsWifiEnabled: __expectBoolean(output.IsWifiEnabled),
2353
2311
  };