@aws-sdk/client-timestream-query 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist-cjs/commands/CancelQueryCommand.js +2 -2
  2. package/dist-cjs/commands/CreateScheduledQueryCommand.js +2 -2
  3. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +2 -2
  4. package/dist-cjs/commands/DescribeEndpointsCommand.js +2 -2
  5. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +2 -2
  6. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +2 -2
  7. package/dist-cjs/commands/ListScheduledQueriesCommand.js +2 -2
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  9. package/dist-cjs/commands/PrepareQueryCommand.js +2 -2
  10. package/dist-cjs/commands/QueryCommand.js +2 -2
  11. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  12. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  13. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +2 -2
  14. package/dist-cjs/protocols/Aws_json1_0.js +352 -380
  15. package/dist-es/commands/CancelQueryCommand.js +3 -3
  16. package/dist-es/commands/CreateScheduledQueryCommand.js +3 -3
  17. package/dist-es/commands/DeleteScheduledQueryCommand.js +3 -3
  18. package/dist-es/commands/DescribeEndpointsCommand.js +3 -3
  19. package/dist-es/commands/DescribeScheduledQueryCommand.js +3 -3
  20. package/dist-es/commands/ExecuteScheduledQueryCommand.js +3 -3
  21. package/dist-es/commands/ListScheduledQueriesCommand.js +3 -3
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  23. package/dist-es/commands/PrepareQueryCommand.js +3 -3
  24. package/dist-es/commands/QueryCommand.js +3 -3
  25. package/dist-es/commands/TagResourceCommand.js +3 -3
  26. package/dist-es/commands/UntagResourceCommand.js +3 -3
  27. package/dist-es/commands/UpdateScheduledQueryCommand.js +3 -3
  28. package/dist-es/protocols/Aws_json1_0.js +325 -353
  29. package/dist-types/protocols/Aws_json1_0.d.ts +104 -26
  30. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +26 -26
  31. package/package.json +30 -30
@@ -3,137 +3,137 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidEndpointException, QueryExecutionException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { TimestreamQueryServiceException as __BaseException } from "../models/TimestreamQueryServiceException";
6
- export const serializeAws_json1_0CancelQueryCommand = async (input, context) => {
6
+ export const se_CancelQueryCommand = async (input, context) => {
7
7
  const headers = {
8
8
  "content-type": "application/x-amz-json-1.0",
9
9
  "x-amz-target": "Timestream_20181101.CancelQuery",
10
10
  };
11
11
  let body;
12
- body = JSON.stringify(serializeAws_json1_0CancelQueryRequest(input, context));
12
+ body = JSON.stringify(se_CancelQueryRequest(input, context));
13
13
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
14
14
  };
15
- export const serializeAws_json1_0CreateScheduledQueryCommand = async (input, context) => {
15
+ export const se_CreateScheduledQueryCommand = async (input, context) => {
16
16
  const headers = {
17
17
  "content-type": "application/x-amz-json-1.0",
18
18
  "x-amz-target": "Timestream_20181101.CreateScheduledQuery",
19
19
  };
20
20
  let body;
21
- body = JSON.stringify(serializeAws_json1_0CreateScheduledQueryRequest(input, context));
21
+ body = JSON.stringify(se_CreateScheduledQueryRequest(input, context));
22
22
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
23
  };
24
- export const serializeAws_json1_0DeleteScheduledQueryCommand = async (input, context) => {
24
+ export const se_DeleteScheduledQueryCommand = async (input, context) => {
25
25
  const headers = {
26
26
  "content-type": "application/x-amz-json-1.0",
27
27
  "x-amz-target": "Timestream_20181101.DeleteScheduledQuery",
28
28
  };
29
29
  let body;
30
- body = JSON.stringify(serializeAws_json1_0DeleteScheduledQueryRequest(input, context));
30
+ body = JSON.stringify(se_DeleteScheduledQueryRequest(input, context));
31
31
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
32
32
  };
33
- export const serializeAws_json1_0DescribeEndpointsCommand = async (input, context) => {
33
+ export const se_DescribeEndpointsCommand = async (input, context) => {
34
34
  const headers = {
35
35
  "content-type": "application/x-amz-json-1.0",
36
36
  "x-amz-target": "Timestream_20181101.DescribeEndpoints",
37
37
  };
38
38
  let body;
39
- body = JSON.stringify(serializeAws_json1_0DescribeEndpointsRequest(input, context));
39
+ body = JSON.stringify(se_DescribeEndpointsRequest(input, context));
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
- export const serializeAws_json1_0DescribeScheduledQueryCommand = async (input, context) => {
42
+ export const se_DescribeScheduledQueryCommand = async (input, context) => {
43
43
  const headers = {
44
44
  "content-type": "application/x-amz-json-1.0",
45
45
  "x-amz-target": "Timestream_20181101.DescribeScheduledQuery",
46
46
  };
47
47
  let body;
48
- body = JSON.stringify(serializeAws_json1_0DescribeScheduledQueryRequest(input, context));
48
+ body = JSON.stringify(se_DescribeScheduledQueryRequest(input, context));
49
49
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
50
50
  };
51
- export const serializeAws_json1_0ExecuteScheduledQueryCommand = async (input, context) => {
51
+ export const se_ExecuteScheduledQueryCommand = async (input, context) => {
52
52
  const headers = {
53
53
  "content-type": "application/x-amz-json-1.0",
54
54
  "x-amz-target": "Timestream_20181101.ExecuteScheduledQuery",
55
55
  };
56
56
  let body;
57
- body = JSON.stringify(serializeAws_json1_0ExecuteScheduledQueryRequest(input, context));
57
+ body = JSON.stringify(se_ExecuteScheduledQueryRequest(input, context));
58
58
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
59
  };
60
- export const serializeAws_json1_0ListScheduledQueriesCommand = async (input, context) => {
60
+ export const se_ListScheduledQueriesCommand = async (input, context) => {
61
61
  const headers = {
62
62
  "content-type": "application/x-amz-json-1.0",
63
63
  "x-amz-target": "Timestream_20181101.ListScheduledQueries",
64
64
  };
65
65
  let body;
66
- body = JSON.stringify(serializeAws_json1_0ListScheduledQueriesRequest(input, context));
66
+ body = JSON.stringify(se_ListScheduledQueriesRequest(input, context));
67
67
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
68
68
  };
69
- export const serializeAws_json1_0ListTagsForResourceCommand = async (input, context) => {
69
+ export const se_ListTagsForResourceCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/x-amz-json-1.0",
72
72
  "x-amz-target": "Timestream_20181101.ListTagsForResource",
73
73
  };
74
74
  let body;
75
- body = JSON.stringify(serializeAws_json1_0ListTagsForResourceRequest(input, context));
75
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- export const serializeAws_json1_0PrepareQueryCommand = async (input, context) => {
78
+ export const se_PrepareQueryCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-amz-json-1.0",
81
81
  "x-amz-target": "Timestream_20181101.PrepareQuery",
82
82
  };
83
83
  let body;
84
- body = JSON.stringify(serializeAws_json1_0PrepareQueryRequest(input, context));
84
+ body = JSON.stringify(se_PrepareQueryRequest(input, context));
85
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
86
  };
87
- export const serializeAws_json1_0QueryCommand = async (input, context) => {
87
+ export const se_QueryCommand = async (input, context) => {
88
88
  const headers = {
89
89
  "content-type": "application/x-amz-json-1.0",
90
90
  "x-amz-target": "Timestream_20181101.Query",
91
91
  };
92
92
  let body;
93
- body = JSON.stringify(serializeAws_json1_0QueryRequest(input, context));
93
+ body = JSON.stringify(se_QueryRequest(input, context));
94
94
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
95
  };
96
- export const serializeAws_json1_0TagResourceCommand = async (input, context) => {
96
+ export const se_TagResourceCommand = async (input, context) => {
97
97
  const headers = {
98
98
  "content-type": "application/x-amz-json-1.0",
99
99
  "x-amz-target": "Timestream_20181101.TagResource",
100
100
  };
101
101
  let body;
102
- body = JSON.stringify(serializeAws_json1_0TagResourceRequest(input, context));
102
+ body = JSON.stringify(se_TagResourceRequest(input, context));
103
103
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
104
104
  };
105
- export const serializeAws_json1_0UntagResourceCommand = async (input, context) => {
105
+ export const se_UntagResourceCommand = async (input, context) => {
106
106
  const headers = {
107
107
  "content-type": "application/x-amz-json-1.0",
108
108
  "x-amz-target": "Timestream_20181101.UntagResource",
109
109
  };
110
110
  let body;
111
- body = JSON.stringify(serializeAws_json1_0UntagResourceRequest(input, context));
111
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
112
112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
113
  };
114
- export const serializeAws_json1_0UpdateScheduledQueryCommand = async (input, context) => {
114
+ export const se_UpdateScheduledQueryCommand = async (input, context) => {
115
115
  const headers = {
116
116
  "content-type": "application/x-amz-json-1.0",
117
117
  "x-amz-target": "Timestream_20181101.UpdateScheduledQuery",
118
118
  };
119
119
  let body;
120
- body = JSON.stringify(serializeAws_json1_0UpdateScheduledQueryRequest(input, context));
120
+ body = JSON.stringify(se_UpdateScheduledQueryRequest(input, context));
121
121
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
122
122
  };
123
- export const deserializeAws_json1_0CancelQueryCommand = async (output, context) => {
123
+ export const de_CancelQueryCommand = async (output, context) => {
124
124
  if (output.statusCode >= 300) {
125
- return deserializeAws_json1_0CancelQueryCommandError(output, context);
125
+ return de_CancelQueryCommandError(output, context);
126
126
  }
127
127
  const data = await parseBody(output.body, context);
128
128
  let contents = {};
129
- contents = deserializeAws_json1_0CancelQueryResponse(data, context);
129
+ contents = de_CancelQueryResponse(data, context);
130
130
  const response = {
131
131
  $metadata: deserializeMetadata(output),
132
132
  ...contents,
133
133
  };
134
134
  return Promise.resolve(response);
135
135
  };
136
- const deserializeAws_json1_0CancelQueryCommandError = async (output, context) => {
136
+ const de_CancelQueryCommandError = async (output, context) => {
137
137
  const parsedOutput = {
138
138
  ...output,
139
139
  body: await parseErrorBody(output.body, context),
@@ -142,19 +142,19 @@ const deserializeAws_json1_0CancelQueryCommandError = async (output, context) =>
142
142
  switch (errorCode) {
143
143
  case "AccessDeniedException":
144
144
  case "com.amazonaws.timestreamquery#AccessDeniedException":
145
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
145
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
146
146
  case "InternalServerException":
147
147
  case "com.amazonaws.timestreamquery#InternalServerException":
148
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
148
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
149
149
  case "InvalidEndpointException":
150
150
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
151
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
151
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
152
152
  case "ThrottlingException":
153
153
  case "com.amazonaws.timestreamquery#ThrottlingException":
154
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
154
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
155
155
  case "ValidationException":
156
156
  case "com.amazonaws.timestreamquery#ValidationException":
157
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
157
+ throw await de_ValidationExceptionRes(parsedOutput, context);
158
158
  default:
159
159
  const parsedBody = parsedOutput.body;
160
160
  throwDefaultError({
@@ -165,20 +165,20 @@ const deserializeAws_json1_0CancelQueryCommandError = async (output, context) =>
165
165
  });
166
166
  }
167
167
  };
168
- export const deserializeAws_json1_0CreateScheduledQueryCommand = async (output, context) => {
168
+ export const de_CreateScheduledQueryCommand = async (output, context) => {
169
169
  if (output.statusCode >= 300) {
170
- return deserializeAws_json1_0CreateScheduledQueryCommandError(output, context);
170
+ return de_CreateScheduledQueryCommandError(output, context);
171
171
  }
172
172
  const data = await parseBody(output.body, context);
173
173
  let contents = {};
174
- contents = deserializeAws_json1_0CreateScheduledQueryResponse(data, context);
174
+ contents = de_CreateScheduledQueryResponse(data, context);
175
175
  const response = {
176
176
  $metadata: deserializeMetadata(output),
177
177
  ...contents,
178
178
  };
179
179
  return Promise.resolve(response);
180
180
  };
181
- const deserializeAws_json1_0CreateScheduledQueryCommandError = async (output, context) => {
181
+ const de_CreateScheduledQueryCommandError = async (output, context) => {
182
182
  const parsedOutput = {
183
183
  ...output,
184
184
  body: await parseErrorBody(output.body, context),
@@ -187,25 +187,25 @@ const deserializeAws_json1_0CreateScheduledQueryCommandError = async (output, co
187
187
  switch (errorCode) {
188
188
  case "AccessDeniedException":
189
189
  case "com.amazonaws.timestreamquery#AccessDeniedException":
190
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
190
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
191
191
  case "ConflictException":
192
192
  case "com.amazonaws.timestreamquery#ConflictException":
193
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
193
+ throw await de_ConflictExceptionRes(parsedOutput, context);
194
194
  case "InternalServerException":
195
195
  case "com.amazonaws.timestreamquery#InternalServerException":
196
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
196
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
197
197
  case "InvalidEndpointException":
198
198
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
199
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
199
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
200
200
  case "ServiceQuotaExceededException":
201
201
  case "com.amazonaws.timestreamquery#ServiceQuotaExceededException":
202
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
202
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
203
203
  case "ThrottlingException":
204
204
  case "com.amazonaws.timestreamquery#ThrottlingException":
205
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
205
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
206
206
  case "ValidationException":
207
207
  case "com.amazonaws.timestreamquery#ValidationException":
208
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
208
+ throw await de_ValidationExceptionRes(parsedOutput, context);
209
209
  default:
210
210
  const parsedBody = parsedOutput.body;
211
211
  throwDefaultError({
@@ -216,9 +216,9 @@ const deserializeAws_json1_0CreateScheduledQueryCommandError = async (output, co
216
216
  });
217
217
  }
218
218
  };
219
- export const deserializeAws_json1_0DeleteScheduledQueryCommand = async (output, context) => {
219
+ export const de_DeleteScheduledQueryCommand = async (output, context) => {
220
220
  if (output.statusCode >= 300) {
221
- return deserializeAws_json1_0DeleteScheduledQueryCommandError(output, context);
221
+ return de_DeleteScheduledQueryCommandError(output, context);
222
222
  }
223
223
  await collectBody(output.body, context);
224
224
  const response = {
@@ -226,7 +226,7 @@ export const deserializeAws_json1_0DeleteScheduledQueryCommand = async (output,
226
226
  };
227
227
  return Promise.resolve(response);
228
228
  };
229
- const deserializeAws_json1_0DeleteScheduledQueryCommandError = async (output, context) => {
229
+ const de_DeleteScheduledQueryCommandError = async (output, context) => {
230
230
  const parsedOutput = {
231
231
  ...output,
232
232
  body: await parseErrorBody(output.body, context),
@@ -235,22 +235,22 @@ const deserializeAws_json1_0DeleteScheduledQueryCommandError = async (output, co
235
235
  switch (errorCode) {
236
236
  case "AccessDeniedException":
237
237
  case "com.amazonaws.timestreamquery#AccessDeniedException":
238
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
238
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
239
239
  case "InternalServerException":
240
240
  case "com.amazonaws.timestreamquery#InternalServerException":
241
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
241
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
242
242
  case "InvalidEndpointException":
243
243
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
244
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
244
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
245
245
  case "ResourceNotFoundException":
246
246
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
247
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
247
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
248
248
  case "ThrottlingException":
249
249
  case "com.amazonaws.timestreamquery#ThrottlingException":
250
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
250
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
251
251
  case "ValidationException":
252
252
  case "com.amazonaws.timestreamquery#ValidationException":
253
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
253
+ throw await de_ValidationExceptionRes(parsedOutput, context);
254
254
  default:
255
255
  const parsedBody = parsedOutput.body;
256
256
  throwDefaultError({
@@ -261,20 +261,20 @@ const deserializeAws_json1_0DeleteScheduledQueryCommandError = async (output, co
261
261
  });
262
262
  }
263
263
  };
264
- export const deserializeAws_json1_0DescribeEndpointsCommand = async (output, context) => {
264
+ export const de_DescribeEndpointsCommand = async (output, context) => {
265
265
  if (output.statusCode >= 300) {
266
- return deserializeAws_json1_0DescribeEndpointsCommandError(output, context);
266
+ return de_DescribeEndpointsCommandError(output, context);
267
267
  }
268
268
  const data = await parseBody(output.body, context);
269
269
  let contents = {};
270
- contents = deserializeAws_json1_0DescribeEndpointsResponse(data, context);
270
+ contents = de_DescribeEndpointsResponse(data, context);
271
271
  const response = {
272
272
  $metadata: deserializeMetadata(output),
273
273
  ...contents,
274
274
  };
275
275
  return Promise.resolve(response);
276
276
  };
277
- const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, context) => {
277
+ const de_DescribeEndpointsCommandError = async (output, context) => {
278
278
  const parsedOutput = {
279
279
  ...output,
280
280
  body: await parseErrorBody(output.body, context),
@@ -283,13 +283,13 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, conte
283
283
  switch (errorCode) {
284
284
  case "InternalServerException":
285
285
  case "com.amazonaws.timestreamquery#InternalServerException":
286
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
286
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
287
287
  case "ThrottlingException":
288
288
  case "com.amazonaws.timestreamquery#ThrottlingException":
289
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
289
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
290
290
  case "ValidationException":
291
291
  case "com.amazonaws.timestreamquery#ValidationException":
292
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
292
+ throw await de_ValidationExceptionRes(parsedOutput, context);
293
293
  default:
294
294
  const parsedBody = parsedOutput.body;
295
295
  throwDefaultError({
@@ -300,20 +300,20 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, conte
300
300
  });
301
301
  }
302
302
  };
303
- export const deserializeAws_json1_0DescribeScheduledQueryCommand = async (output, context) => {
303
+ export const de_DescribeScheduledQueryCommand = async (output, context) => {
304
304
  if (output.statusCode >= 300) {
305
- return deserializeAws_json1_0DescribeScheduledQueryCommandError(output, context);
305
+ return de_DescribeScheduledQueryCommandError(output, context);
306
306
  }
307
307
  const data = await parseBody(output.body, context);
308
308
  let contents = {};
309
- contents = deserializeAws_json1_0DescribeScheduledQueryResponse(data, context);
309
+ contents = de_DescribeScheduledQueryResponse(data, context);
310
310
  const response = {
311
311
  $metadata: deserializeMetadata(output),
312
312
  ...contents,
313
313
  };
314
314
  return Promise.resolve(response);
315
315
  };
316
- const deserializeAws_json1_0DescribeScheduledQueryCommandError = async (output, context) => {
316
+ const de_DescribeScheduledQueryCommandError = async (output, context) => {
317
317
  const parsedOutput = {
318
318
  ...output,
319
319
  body: await parseErrorBody(output.body, context),
@@ -322,22 +322,22 @@ const deserializeAws_json1_0DescribeScheduledQueryCommandError = async (output,
322
322
  switch (errorCode) {
323
323
  case "AccessDeniedException":
324
324
  case "com.amazonaws.timestreamquery#AccessDeniedException":
325
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
325
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
326
326
  case "InternalServerException":
327
327
  case "com.amazonaws.timestreamquery#InternalServerException":
328
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
328
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
329
329
  case "InvalidEndpointException":
330
330
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
331
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
331
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
332
332
  case "ResourceNotFoundException":
333
333
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
334
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
334
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
335
335
  case "ThrottlingException":
336
336
  case "com.amazonaws.timestreamquery#ThrottlingException":
337
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
337
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
338
338
  case "ValidationException":
339
339
  case "com.amazonaws.timestreamquery#ValidationException":
340
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
340
+ throw await de_ValidationExceptionRes(parsedOutput, context);
341
341
  default:
342
342
  const parsedBody = parsedOutput.body;
343
343
  throwDefaultError({
@@ -348,9 +348,9 @@ const deserializeAws_json1_0DescribeScheduledQueryCommandError = async (output,
348
348
  });
349
349
  }
350
350
  };
351
- export const deserializeAws_json1_0ExecuteScheduledQueryCommand = async (output, context) => {
351
+ export const de_ExecuteScheduledQueryCommand = async (output, context) => {
352
352
  if (output.statusCode >= 300) {
353
- return deserializeAws_json1_0ExecuteScheduledQueryCommandError(output, context);
353
+ return de_ExecuteScheduledQueryCommandError(output, context);
354
354
  }
355
355
  await collectBody(output.body, context);
356
356
  const response = {
@@ -358,7 +358,7 @@ export const deserializeAws_json1_0ExecuteScheduledQueryCommand = async (output,
358
358
  };
359
359
  return Promise.resolve(response);
360
360
  };
361
- const deserializeAws_json1_0ExecuteScheduledQueryCommandError = async (output, context) => {
361
+ const de_ExecuteScheduledQueryCommandError = async (output, context) => {
362
362
  const parsedOutput = {
363
363
  ...output,
364
364
  body: await parseErrorBody(output.body, context),
@@ -367,22 +367,22 @@ const deserializeAws_json1_0ExecuteScheduledQueryCommandError = async (output, c
367
367
  switch (errorCode) {
368
368
  case "AccessDeniedException":
369
369
  case "com.amazonaws.timestreamquery#AccessDeniedException":
370
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
370
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
371
371
  case "InternalServerException":
372
372
  case "com.amazonaws.timestreamquery#InternalServerException":
373
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
373
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
374
374
  case "InvalidEndpointException":
375
375
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
376
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
376
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
377
377
  case "ResourceNotFoundException":
378
378
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
379
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
379
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
380
380
  case "ThrottlingException":
381
381
  case "com.amazonaws.timestreamquery#ThrottlingException":
382
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
382
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
383
383
  case "ValidationException":
384
384
  case "com.amazonaws.timestreamquery#ValidationException":
385
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
385
+ throw await de_ValidationExceptionRes(parsedOutput, context);
386
386
  default:
387
387
  const parsedBody = parsedOutput.body;
388
388
  throwDefaultError({
@@ -393,20 +393,20 @@ const deserializeAws_json1_0ExecuteScheduledQueryCommandError = async (output, c
393
393
  });
394
394
  }
395
395
  };
396
- export const deserializeAws_json1_0ListScheduledQueriesCommand = async (output, context) => {
396
+ export const de_ListScheduledQueriesCommand = async (output, context) => {
397
397
  if (output.statusCode >= 300) {
398
- return deserializeAws_json1_0ListScheduledQueriesCommandError(output, context);
398
+ return de_ListScheduledQueriesCommandError(output, context);
399
399
  }
400
400
  const data = await parseBody(output.body, context);
401
401
  let contents = {};
402
- contents = deserializeAws_json1_0ListScheduledQueriesResponse(data, context);
402
+ contents = de_ListScheduledQueriesResponse(data, context);
403
403
  const response = {
404
404
  $metadata: deserializeMetadata(output),
405
405
  ...contents,
406
406
  };
407
407
  return Promise.resolve(response);
408
408
  };
409
- const deserializeAws_json1_0ListScheduledQueriesCommandError = async (output, context) => {
409
+ const de_ListScheduledQueriesCommandError = async (output, context) => {
410
410
  const parsedOutput = {
411
411
  ...output,
412
412
  body: await parseErrorBody(output.body, context),
@@ -415,19 +415,19 @@ const deserializeAws_json1_0ListScheduledQueriesCommandError = async (output, co
415
415
  switch (errorCode) {
416
416
  case "AccessDeniedException":
417
417
  case "com.amazonaws.timestreamquery#AccessDeniedException":
418
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
418
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
419
419
  case "InternalServerException":
420
420
  case "com.amazonaws.timestreamquery#InternalServerException":
421
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
421
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
422
422
  case "InvalidEndpointException":
423
423
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
424
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
424
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
425
425
  case "ThrottlingException":
426
426
  case "com.amazonaws.timestreamquery#ThrottlingException":
427
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
427
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
428
428
  case "ValidationException":
429
429
  case "com.amazonaws.timestreamquery#ValidationException":
430
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
430
+ throw await de_ValidationExceptionRes(parsedOutput, context);
431
431
  default:
432
432
  const parsedBody = parsedOutput.body;
433
433
  throwDefaultError({
@@ -438,20 +438,20 @@ const deserializeAws_json1_0ListScheduledQueriesCommandError = async (output, co
438
438
  });
439
439
  }
440
440
  };
441
- export const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
441
+ export const de_ListTagsForResourceCommand = async (output, context) => {
442
442
  if (output.statusCode >= 300) {
443
- return deserializeAws_json1_0ListTagsForResourceCommandError(output, context);
443
+ return de_ListTagsForResourceCommandError(output, context);
444
444
  }
445
445
  const data = await parseBody(output.body, context);
446
446
  let contents = {};
447
- contents = deserializeAws_json1_0ListTagsForResourceResponse(data, context);
447
+ contents = de_ListTagsForResourceResponse(data, context);
448
448
  const response = {
449
449
  $metadata: deserializeMetadata(output),
450
450
  ...contents,
451
451
  };
452
452
  return Promise.resolve(response);
453
453
  };
454
- const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, context) => {
454
+ const de_ListTagsForResourceCommandError = async (output, context) => {
455
455
  const parsedOutput = {
456
456
  ...output,
457
457
  body: await parseErrorBody(output.body, context),
@@ -460,16 +460,16 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
460
460
  switch (errorCode) {
461
461
  case "InvalidEndpointException":
462
462
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
463
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
463
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
464
464
  case "ResourceNotFoundException":
465
465
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
466
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
466
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
467
467
  case "ThrottlingException":
468
468
  case "com.amazonaws.timestreamquery#ThrottlingException":
469
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
469
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
470
470
  case "ValidationException":
471
471
  case "com.amazonaws.timestreamquery#ValidationException":
472
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
472
+ throw await de_ValidationExceptionRes(parsedOutput, context);
473
473
  default:
474
474
  const parsedBody = parsedOutput.body;
475
475
  throwDefaultError({
@@ -480,20 +480,20 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
480
480
  });
481
481
  }
482
482
  };
483
- export const deserializeAws_json1_0PrepareQueryCommand = async (output, context) => {
483
+ export const de_PrepareQueryCommand = async (output, context) => {
484
484
  if (output.statusCode >= 300) {
485
- return deserializeAws_json1_0PrepareQueryCommandError(output, context);
485
+ return de_PrepareQueryCommandError(output, context);
486
486
  }
487
487
  const data = await parseBody(output.body, context);
488
488
  let contents = {};
489
- contents = deserializeAws_json1_0PrepareQueryResponse(data, context);
489
+ contents = de_PrepareQueryResponse(data, context);
490
490
  const response = {
491
491
  $metadata: deserializeMetadata(output),
492
492
  ...contents,
493
493
  };
494
494
  return Promise.resolve(response);
495
495
  };
496
- const deserializeAws_json1_0PrepareQueryCommandError = async (output, context) => {
496
+ const de_PrepareQueryCommandError = async (output, context) => {
497
497
  const parsedOutput = {
498
498
  ...output,
499
499
  body: await parseErrorBody(output.body, context),
@@ -502,19 +502,19 @@ const deserializeAws_json1_0PrepareQueryCommandError = async (output, context) =
502
502
  switch (errorCode) {
503
503
  case "AccessDeniedException":
504
504
  case "com.amazonaws.timestreamquery#AccessDeniedException":
505
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
505
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
506
506
  case "InternalServerException":
507
507
  case "com.amazonaws.timestreamquery#InternalServerException":
508
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
508
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
509
509
  case "InvalidEndpointException":
510
510
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
511
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
511
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
512
512
  case "ThrottlingException":
513
513
  case "com.amazonaws.timestreamquery#ThrottlingException":
514
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
514
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
515
515
  case "ValidationException":
516
516
  case "com.amazonaws.timestreamquery#ValidationException":
517
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
517
+ throw await de_ValidationExceptionRes(parsedOutput, context);
518
518
  default:
519
519
  const parsedBody = parsedOutput.body;
520
520
  throwDefaultError({
@@ -525,20 +525,20 @@ const deserializeAws_json1_0PrepareQueryCommandError = async (output, context) =
525
525
  });
526
526
  }
527
527
  };
528
- export const deserializeAws_json1_0QueryCommand = async (output, context) => {
528
+ export const de_QueryCommand = async (output, context) => {
529
529
  if (output.statusCode >= 300) {
530
- return deserializeAws_json1_0QueryCommandError(output, context);
530
+ return de_QueryCommandError(output, context);
531
531
  }
532
532
  const data = await parseBody(output.body, context);
533
533
  let contents = {};
534
- contents = deserializeAws_json1_0QueryResponse(data, context);
534
+ contents = de_QueryResponse(data, context);
535
535
  const response = {
536
536
  $metadata: deserializeMetadata(output),
537
537
  ...contents,
538
538
  };
539
539
  return Promise.resolve(response);
540
540
  };
541
- const deserializeAws_json1_0QueryCommandError = async (output, context) => {
541
+ const de_QueryCommandError = async (output, context) => {
542
542
  const parsedOutput = {
543
543
  ...output,
544
544
  body: await parseErrorBody(output.body, context),
@@ -547,25 +547,25 @@ const deserializeAws_json1_0QueryCommandError = async (output, context) => {
547
547
  switch (errorCode) {
548
548
  case "AccessDeniedException":
549
549
  case "com.amazonaws.timestreamquery#AccessDeniedException":
550
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
550
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
551
551
  case "ConflictException":
552
552
  case "com.amazonaws.timestreamquery#ConflictException":
553
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
553
+ throw await de_ConflictExceptionRes(parsedOutput, context);
554
554
  case "InternalServerException":
555
555
  case "com.amazonaws.timestreamquery#InternalServerException":
556
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
556
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
557
557
  case "InvalidEndpointException":
558
558
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
559
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
559
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
560
560
  case "QueryExecutionException":
561
561
  case "com.amazonaws.timestreamquery#QueryExecutionException":
562
- throw await deserializeAws_json1_0QueryExecutionExceptionResponse(parsedOutput, context);
562
+ throw await de_QueryExecutionExceptionRes(parsedOutput, context);
563
563
  case "ThrottlingException":
564
564
  case "com.amazonaws.timestreamquery#ThrottlingException":
565
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
565
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
566
566
  case "ValidationException":
567
567
  case "com.amazonaws.timestreamquery#ValidationException":
568
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
568
+ throw await de_ValidationExceptionRes(parsedOutput, context);
569
569
  default:
570
570
  const parsedBody = parsedOutput.body;
571
571
  throwDefaultError({
@@ -576,20 +576,20 @@ const deserializeAws_json1_0QueryCommandError = async (output, context) => {
576
576
  });
577
577
  }
578
578
  };
579
- export const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
579
+ export const de_TagResourceCommand = async (output, context) => {
580
580
  if (output.statusCode >= 300) {
581
- return deserializeAws_json1_0TagResourceCommandError(output, context);
581
+ return de_TagResourceCommandError(output, context);
582
582
  }
583
583
  const data = await parseBody(output.body, context);
584
584
  let contents = {};
585
- contents = deserializeAws_json1_0TagResourceResponse(data, context);
585
+ contents = de_TagResourceResponse(data, context);
586
586
  const response = {
587
587
  $metadata: deserializeMetadata(output),
588
588
  ...contents,
589
589
  };
590
590
  return Promise.resolve(response);
591
591
  };
592
- const deserializeAws_json1_0TagResourceCommandError = async (output, context) => {
592
+ const de_TagResourceCommandError = async (output, context) => {
593
593
  const parsedOutput = {
594
594
  ...output,
595
595
  body: await parseErrorBody(output.body, context),
@@ -598,19 +598,19 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
598
598
  switch (errorCode) {
599
599
  case "InvalidEndpointException":
600
600
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
601
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
601
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
602
602
  case "ResourceNotFoundException":
603
603
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
604
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
604
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
605
605
  case "ServiceQuotaExceededException":
606
606
  case "com.amazonaws.timestreamquery#ServiceQuotaExceededException":
607
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
607
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
608
608
  case "ThrottlingException":
609
609
  case "com.amazonaws.timestreamquery#ThrottlingException":
610
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
610
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
611
611
  case "ValidationException":
612
612
  case "com.amazonaws.timestreamquery#ValidationException":
613
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
613
+ throw await de_ValidationExceptionRes(parsedOutput, context);
614
614
  default:
615
615
  const parsedBody = parsedOutput.body;
616
616
  throwDefaultError({
@@ -621,20 +621,20 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
621
621
  });
622
622
  }
623
623
  };
624
- export const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
624
+ export const de_UntagResourceCommand = async (output, context) => {
625
625
  if (output.statusCode >= 300) {
626
- return deserializeAws_json1_0UntagResourceCommandError(output, context);
626
+ return de_UntagResourceCommandError(output, context);
627
627
  }
628
628
  const data = await parseBody(output.body, context);
629
629
  let contents = {};
630
- contents = deserializeAws_json1_0UntagResourceResponse(data, context);
630
+ contents = de_UntagResourceResponse(data, context);
631
631
  const response = {
632
632
  $metadata: deserializeMetadata(output),
633
633
  ...contents,
634
634
  };
635
635
  return Promise.resolve(response);
636
636
  };
637
- const deserializeAws_json1_0UntagResourceCommandError = async (output, context) => {
637
+ const de_UntagResourceCommandError = async (output, context) => {
638
638
  const parsedOutput = {
639
639
  ...output,
640
640
  body: await parseErrorBody(output.body, context),
@@ -643,16 +643,16 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
643
643
  switch (errorCode) {
644
644
  case "InvalidEndpointException":
645
645
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
646
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
646
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
647
647
  case "ResourceNotFoundException":
648
648
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
649
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
649
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
650
650
  case "ThrottlingException":
651
651
  case "com.amazonaws.timestreamquery#ThrottlingException":
652
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
652
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
653
653
  case "ValidationException":
654
654
  case "com.amazonaws.timestreamquery#ValidationException":
655
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
655
+ throw await de_ValidationExceptionRes(parsedOutput, context);
656
656
  default:
657
657
  const parsedBody = parsedOutput.body;
658
658
  throwDefaultError({
@@ -663,9 +663,9 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
663
663
  });
664
664
  }
665
665
  };
666
- export const deserializeAws_json1_0UpdateScheduledQueryCommand = async (output, context) => {
666
+ export const de_UpdateScheduledQueryCommand = async (output, context) => {
667
667
  if (output.statusCode >= 300) {
668
- return deserializeAws_json1_0UpdateScheduledQueryCommandError(output, context);
668
+ return de_UpdateScheduledQueryCommandError(output, context);
669
669
  }
670
670
  await collectBody(output.body, context);
671
671
  const response = {
@@ -673,7 +673,7 @@ export const deserializeAws_json1_0UpdateScheduledQueryCommand = async (output,
673
673
  };
674
674
  return Promise.resolve(response);
675
675
  };
676
- const deserializeAws_json1_0UpdateScheduledQueryCommandError = async (output, context) => {
676
+ const de_UpdateScheduledQueryCommandError = async (output, context) => {
677
677
  const parsedOutput = {
678
678
  ...output,
679
679
  body: await parseErrorBody(output.body, context),
@@ -682,22 +682,22 @@ const deserializeAws_json1_0UpdateScheduledQueryCommandError = async (output, co
682
682
  switch (errorCode) {
683
683
  case "AccessDeniedException":
684
684
  case "com.amazonaws.timestreamquery#AccessDeniedException":
685
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
685
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
686
686
  case "InternalServerException":
687
687
  case "com.amazonaws.timestreamquery#InternalServerException":
688
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
688
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
689
689
  case "InvalidEndpointException":
690
690
  case "com.amazonaws.timestreamquery#InvalidEndpointException":
691
- throw await deserializeAws_json1_0InvalidEndpointExceptionResponse(parsedOutput, context);
691
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
692
692
  case "ResourceNotFoundException":
693
693
  case "com.amazonaws.timestreamquery#ResourceNotFoundException":
694
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
694
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
695
695
  case "ThrottlingException":
696
696
  case "com.amazonaws.timestreamquery#ThrottlingException":
697
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
697
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
698
698
  case "ValidationException":
699
699
  case "com.amazonaws.timestreamquery#ValidationException":
700
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
700
+ throw await de_ValidationExceptionRes(parsedOutput, context);
701
701
  default:
702
702
  const parsedBody = parsedOutput.body;
703
703
  throwDefaultError({
@@ -708,188 +708,186 @@ const deserializeAws_json1_0UpdateScheduledQueryCommandError = async (output, co
708
708
  });
709
709
  }
710
710
  };
711
- const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
711
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
712
712
  const body = parsedOutput.body;
713
- const deserialized = deserializeAws_json1_0AccessDeniedException(body, context);
713
+ const deserialized = de_AccessDeniedException(body, context);
714
714
  const exception = new AccessDeniedException({
715
715
  $metadata: deserializeMetadata(parsedOutput),
716
716
  ...deserialized,
717
717
  });
718
718
  return __decorateServiceException(exception, body);
719
719
  };
720
- const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
720
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
721
721
  const body = parsedOutput.body;
722
- const deserialized = deserializeAws_json1_0ConflictException(body, context);
722
+ const deserialized = de_ConflictException(body, context);
723
723
  const exception = new ConflictException({
724
724
  $metadata: deserializeMetadata(parsedOutput),
725
725
  ...deserialized,
726
726
  });
727
727
  return __decorateServiceException(exception, body);
728
728
  };
729
- const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
729
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
730
730
  const body = parsedOutput.body;
731
- const deserialized = deserializeAws_json1_0InternalServerException(body, context);
731
+ const deserialized = de_InternalServerException(body, context);
732
732
  const exception = new InternalServerException({
733
733
  $metadata: deserializeMetadata(parsedOutput),
734
734
  ...deserialized,
735
735
  });
736
736
  return __decorateServiceException(exception, body);
737
737
  };
738
- const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutput, context) => {
738
+ const de_InvalidEndpointExceptionRes = async (parsedOutput, context) => {
739
739
  const body = parsedOutput.body;
740
- const deserialized = deserializeAws_json1_0InvalidEndpointException(body, context);
740
+ const deserialized = de_InvalidEndpointException(body, context);
741
741
  const exception = new InvalidEndpointException({
742
742
  $metadata: deserializeMetadata(parsedOutput),
743
743
  ...deserialized,
744
744
  });
745
745
  return __decorateServiceException(exception, body);
746
746
  };
747
- const deserializeAws_json1_0QueryExecutionExceptionResponse = async (parsedOutput, context) => {
747
+ const de_QueryExecutionExceptionRes = async (parsedOutput, context) => {
748
748
  const body = parsedOutput.body;
749
- const deserialized = deserializeAws_json1_0QueryExecutionException(body, context);
749
+ const deserialized = de_QueryExecutionException(body, context);
750
750
  const exception = new QueryExecutionException({
751
751
  $metadata: deserializeMetadata(parsedOutput),
752
752
  ...deserialized,
753
753
  });
754
754
  return __decorateServiceException(exception, body);
755
755
  };
756
- const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
756
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
757
757
  const body = parsedOutput.body;
758
- const deserialized = deserializeAws_json1_0ResourceNotFoundException(body, context);
758
+ const deserialized = de_ResourceNotFoundException(body, context);
759
759
  const exception = new ResourceNotFoundException({
760
760
  $metadata: deserializeMetadata(parsedOutput),
761
761
  ...deserialized,
762
762
  });
763
763
  return __decorateServiceException(exception, body);
764
764
  };
765
- const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
765
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
766
766
  const body = parsedOutput.body;
767
- const deserialized = deserializeAws_json1_0ServiceQuotaExceededException(body, context);
767
+ const deserialized = de_ServiceQuotaExceededException(body, context);
768
768
  const exception = new ServiceQuotaExceededException({
769
769
  $metadata: deserializeMetadata(parsedOutput),
770
770
  ...deserialized,
771
771
  });
772
772
  return __decorateServiceException(exception, body);
773
773
  };
774
- const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
774
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
775
775
  const body = parsedOutput.body;
776
- const deserialized = deserializeAws_json1_0ThrottlingException(body, context);
776
+ const deserialized = de_ThrottlingException(body, context);
777
777
  const exception = new ThrottlingException({
778
778
  $metadata: deserializeMetadata(parsedOutput),
779
779
  ...deserialized,
780
780
  });
781
781
  return __decorateServiceException(exception, body);
782
782
  };
783
- const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
783
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
784
784
  const body = parsedOutput.body;
785
- const deserialized = deserializeAws_json1_0ValidationException(body, context);
785
+ const deserialized = de_ValidationException(body, context);
786
786
  const exception = new ValidationException({
787
787
  $metadata: deserializeMetadata(parsedOutput),
788
788
  ...deserialized,
789
789
  });
790
790
  return __decorateServiceException(exception, body);
791
791
  };
792
- const serializeAws_json1_0CancelQueryRequest = (input, context) => {
792
+ const se_CancelQueryRequest = (input, context) => {
793
793
  return {
794
794
  ...(input.QueryId != null && { QueryId: input.QueryId }),
795
795
  };
796
796
  };
797
- const serializeAws_json1_0CreateScheduledQueryRequest = (input, context) => {
797
+ const se_CreateScheduledQueryRequest = (input, context) => {
798
798
  return {
799
799
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
800
800
  ...(input.ErrorReportConfiguration != null && {
801
- ErrorReportConfiguration: serializeAws_json1_0ErrorReportConfiguration(input.ErrorReportConfiguration, context),
801
+ ErrorReportConfiguration: se_ErrorReportConfiguration(input.ErrorReportConfiguration, context),
802
802
  }),
803
803
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
804
804
  ...(input.Name != null && { Name: input.Name }),
805
805
  ...(input.NotificationConfiguration != null && {
806
- NotificationConfiguration: serializeAws_json1_0NotificationConfiguration(input.NotificationConfiguration, context),
806
+ NotificationConfiguration: se_NotificationConfiguration(input.NotificationConfiguration, context),
807
807
  }),
808
808
  ...(input.QueryString != null && { QueryString: input.QueryString }),
809
809
  ...(input.ScheduleConfiguration != null && {
810
- ScheduleConfiguration: serializeAws_json1_0ScheduleConfiguration(input.ScheduleConfiguration, context),
810
+ ScheduleConfiguration: se_ScheduleConfiguration(input.ScheduleConfiguration, context),
811
811
  }),
812
812
  ...(input.ScheduledQueryExecutionRoleArn != null && {
813
813
  ScheduledQueryExecutionRoleArn: input.ScheduledQueryExecutionRoleArn,
814
814
  }),
815
- ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
815
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
816
816
  ...(input.TargetConfiguration != null && {
817
- TargetConfiguration: serializeAws_json1_0TargetConfiguration(input.TargetConfiguration, context),
817
+ TargetConfiguration: se_TargetConfiguration(input.TargetConfiguration, context),
818
818
  }),
819
819
  };
820
820
  };
821
- const serializeAws_json1_0DeleteScheduledQueryRequest = (input, context) => {
821
+ const se_DeleteScheduledQueryRequest = (input, context) => {
822
822
  return {
823
823
  ...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
824
824
  };
825
825
  };
826
- const serializeAws_json1_0DescribeEndpointsRequest = (input, context) => {
826
+ const se_DescribeEndpointsRequest = (input, context) => {
827
827
  return {};
828
828
  };
829
- const serializeAws_json1_0DescribeScheduledQueryRequest = (input, context) => {
829
+ const se_DescribeScheduledQueryRequest = (input, context) => {
830
830
  return {
831
831
  ...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
832
832
  };
833
833
  };
834
- const serializeAws_json1_0DimensionMapping = (input, context) => {
834
+ const se_DimensionMapping = (input, context) => {
835
835
  return {
836
836
  ...(input.DimensionValueType != null && { DimensionValueType: input.DimensionValueType }),
837
837
  ...(input.Name != null && { Name: input.Name }),
838
838
  };
839
839
  };
840
- const serializeAws_json1_0DimensionMappingList = (input, context) => {
840
+ const se_DimensionMappingList = (input, context) => {
841
841
  return input
842
842
  .filter((e) => e != null)
843
843
  .map((entry) => {
844
- return serializeAws_json1_0DimensionMapping(entry, context);
844
+ return se_DimensionMapping(entry, context);
845
845
  });
846
846
  };
847
- const serializeAws_json1_0ErrorReportConfiguration = (input, context) => {
847
+ const se_ErrorReportConfiguration = (input, context) => {
848
848
  return {
849
- ...(input.S3Configuration != null && {
850
- S3Configuration: serializeAws_json1_0S3Configuration(input.S3Configuration, context),
851
- }),
849
+ ...(input.S3Configuration != null && { S3Configuration: se_S3Configuration(input.S3Configuration, context) }),
852
850
  };
853
851
  };
854
- const serializeAws_json1_0ExecuteScheduledQueryRequest = (input, context) => {
852
+ const se_ExecuteScheduledQueryRequest = (input, context) => {
855
853
  return {
856
854
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
857
855
  ...(input.InvocationTime != null && { InvocationTime: Math.round(input.InvocationTime.getTime() / 1000) }),
858
856
  ...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
859
857
  };
860
858
  };
861
- const serializeAws_json1_0ListScheduledQueriesRequest = (input, context) => {
859
+ const se_ListScheduledQueriesRequest = (input, context) => {
862
860
  return {
863
861
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
864
862
  ...(input.NextToken != null && { NextToken: input.NextToken }),
865
863
  };
866
864
  };
867
- const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
865
+ const se_ListTagsForResourceRequest = (input, context) => {
868
866
  return {
869
867
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
870
868
  ...(input.NextToken != null && { NextToken: input.NextToken }),
871
869
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
872
870
  };
873
871
  };
874
- const serializeAws_json1_0MixedMeasureMapping = (input, context) => {
872
+ const se_MixedMeasureMapping = (input, context) => {
875
873
  return {
876
874
  ...(input.MeasureName != null && { MeasureName: input.MeasureName }),
877
875
  ...(input.MeasureValueType != null && { MeasureValueType: input.MeasureValueType }),
878
876
  ...(input.MultiMeasureAttributeMappings != null && {
879
- MultiMeasureAttributeMappings: serializeAws_json1_0MultiMeasureAttributeMappingList(input.MultiMeasureAttributeMappings, context),
877
+ MultiMeasureAttributeMappings: se_MultiMeasureAttributeMappingList(input.MultiMeasureAttributeMappings, context),
880
878
  }),
881
879
  ...(input.SourceColumn != null && { SourceColumn: input.SourceColumn }),
882
880
  ...(input.TargetMeasureName != null && { TargetMeasureName: input.TargetMeasureName }),
883
881
  };
884
882
  };
885
- const serializeAws_json1_0MixedMeasureMappingList = (input, context) => {
883
+ const se_MixedMeasureMappingList = (input, context) => {
886
884
  return input
887
885
  .filter((e) => e != null)
888
886
  .map((entry) => {
889
- return serializeAws_json1_0MixedMeasureMapping(entry, context);
887
+ return se_MixedMeasureMapping(entry, context);
890
888
  });
891
889
  };
892
- const serializeAws_json1_0MultiMeasureAttributeMapping = (input, context) => {
890
+ const se_MultiMeasureAttributeMapping = (input, context) => {
893
891
  return {
894
892
  ...(input.MeasureValueType != null && { MeasureValueType: input.MeasureValueType }),
895
893
  ...(input.SourceColumn != null && { SourceColumn: input.SourceColumn }),
@@ -898,35 +896,33 @@ const serializeAws_json1_0MultiMeasureAttributeMapping = (input, context) => {
898
896
  }),
899
897
  };
900
898
  };
901
- const serializeAws_json1_0MultiMeasureAttributeMappingList = (input, context) => {
899
+ const se_MultiMeasureAttributeMappingList = (input, context) => {
902
900
  return input
903
901
  .filter((e) => e != null)
904
902
  .map((entry) => {
905
- return serializeAws_json1_0MultiMeasureAttributeMapping(entry, context);
903
+ return se_MultiMeasureAttributeMapping(entry, context);
906
904
  });
907
905
  };
908
- const serializeAws_json1_0MultiMeasureMappings = (input, context) => {
906
+ const se_MultiMeasureMappings = (input, context) => {
909
907
  return {
910
908
  ...(input.MultiMeasureAttributeMappings != null && {
911
- MultiMeasureAttributeMappings: serializeAws_json1_0MultiMeasureAttributeMappingList(input.MultiMeasureAttributeMappings, context),
909
+ MultiMeasureAttributeMappings: se_MultiMeasureAttributeMappingList(input.MultiMeasureAttributeMappings, context),
912
910
  }),
913
911
  ...(input.TargetMultiMeasureName != null && { TargetMultiMeasureName: input.TargetMultiMeasureName }),
914
912
  };
915
913
  };
916
- const serializeAws_json1_0NotificationConfiguration = (input, context) => {
914
+ const se_NotificationConfiguration = (input, context) => {
917
915
  return {
918
- ...(input.SnsConfiguration != null && {
919
- SnsConfiguration: serializeAws_json1_0SnsConfiguration(input.SnsConfiguration, context),
920
- }),
916
+ ...(input.SnsConfiguration != null && { SnsConfiguration: se_SnsConfiguration(input.SnsConfiguration, context) }),
921
917
  };
922
918
  };
923
- const serializeAws_json1_0PrepareQueryRequest = (input, context) => {
919
+ const se_PrepareQueryRequest = (input, context) => {
924
920
  return {
925
921
  ...(input.QueryString != null && { QueryString: input.QueryString }),
926
922
  ...(input.ValidateOnly != null && { ValidateOnly: input.ValidateOnly }),
927
923
  };
928
924
  };
929
- const serializeAws_json1_0QueryRequest = (input, context) => {
925
+ const se_QueryRequest = (input, context) => {
930
926
  return {
931
927
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
932
928
  ...(input.MaxRows != null && { MaxRows: input.MaxRows }),
@@ -934,205 +930,197 @@ const serializeAws_json1_0QueryRequest = (input, context) => {
934
930
  ...(input.QueryString != null && { QueryString: input.QueryString }),
935
931
  };
936
932
  };
937
- const serializeAws_json1_0S3Configuration = (input, context) => {
933
+ const se_S3Configuration = (input, context) => {
938
934
  return {
939
935
  ...(input.BucketName != null && { BucketName: input.BucketName }),
940
936
  ...(input.EncryptionOption != null && { EncryptionOption: input.EncryptionOption }),
941
937
  ...(input.ObjectKeyPrefix != null && { ObjectKeyPrefix: input.ObjectKeyPrefix }),
942
938
  };
943
939
  };
944
- const serializeAws_json1_0ScheduleConfiguration = (input, context) => {
940
+ const se_ScheduleConfiguration = (input, context) => {
945
941
  return {
946
942
  ...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
947
943
  };
948
944
  };
949
- const serializeAws_json1_0SnsConfiguration = (input, context) => {
945
+ const se_SnsConfiguration = (input, context) => {
950
946
  return {
951
947
  ...(input.TopicArn != null && { TopicArn: input.TopicArn }),
952
948
  };
953
949
  };
954
- const serializeAws_json1_0Tag = (input, context) => {
950
+ const se_Tag = (input, context) => {
955
951
  return {
956
952
  ...(input.Key != null && { Key: input.Key }),
957
953
  ...(input.Value != null && { Value: input.Value }),
958
954
  };
959
955
  };
960
- const serializeAws_json1_0TagKeyList = (input, context) => {
956
+ const se_TagKeyList = (input, context) => {
961
957
  return input
962
958
  .filter((e) => e != null)
963
959
  .map((entry) => {
964
960
  return entry;
965
961
  });
966
962
  };
967
- const serializeAws_json1_0TagList = (input, context) => {
963
+ const se_TagList = (input, context) => {
968
964
  return input
969
965
  .filter((e) => e != null)
970
966
  .map((entry) => {
971
- return serializeAws_json1_0Tag(entry, context);
967
+ return se_Tag(entry, context);
972
968
  });
973
969
  };
974
- const serializeAws_json1_0TagResourceRequest = (input, context) => {
970
+ const se_TagResourceRequest = (input, context) => {
975
971
  return {
976
972
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
977
- ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
973
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
978
974
  };
979
975
  };
980
- const serializeAws_json1_0TargetConfiguration = (input, context) => {
976
+ const se_TargetConfiguration = (input, context) => {
981
977
  return {
982
978
  ...(input.TimestreamConfiguration != null && {
983
- TimestreamConfiguration: serializeAws_json1_0TimestreamConfiguration(input.TimestreamConfiguration, context),
979
+ TimestreamConfiguration: se_TimestreamConfiguration(input.TimestreamConfiguration, context),
984
980
  }),
985
981
  };
986
982
  };
987
- const serializeAws_json1_0TimestreamConfiguration = (input, context) => {
983
+ const se_TimestreamConfiguration = (input, context) => {
988
984
  return {
989
985
  ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
990
986
  ...(input.DimensionMappings != null && {
991
- DimensionMappings: serializeAws_json1_0DimensionMappingList(input.DimensionMappings, context),
987
+ DimensionMappings: se_DimensionMappingList(input.DimensionMappings, context),
992
988
  }),
993
989
  ...(input.MeasureNameColumn != null && { MeasureNameColumn: input.MeasureNameColumn }),
994
990
  ...(input.MixedMeasureMappings != null && {
995
- MixedMeasureMappings: serializeAws_json1_0MixedMeasureMappingList(input.MixedMeasureMappings, context),
991
+ MixedMeasureMappings: se_MixedMeasureMappingList(input.MixedMeasureMappings, context),
996
992
  }),
997
993
  ...(input.MultiMeasureMappings != null && {
998
- MultiMeasureMappings: serializeAws_json1_0MultiMeasureMappings(input.MultiMeasureMappings, context),
994
+ MultiMeasureMappings: se_MultiMeasureMappings(input.MultiMeasureMappings, context),
999
995
  }),
1000
996
  ...(input.TableName != null && { TableName: input.TableName }),
1001
997
  ...(input.TimeColumn != null && { TimeColumn: input.TimeColumn }),
1002
998
  };
1003
999
  };
1004
- const serializeAws_json1_0UntagResourceRequest = (input, context) => {
1000
+ const se_UntagResourceRequest = (input, context) => {
1005
1001
  return {
1006
1002
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1007
- ...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
1003
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
1008
1004
  };
1009
1005
  };
1010
- const serializeAws_json1_0UpdateScheduledQueryRequest = (input, context) => {
1006
+ const se_UpdateScheduledQueryRequest = (input, context) => {
1011
1007
  return {
1012
1008
  ...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
1013
1009
  ...(input.State != null && { State: input.State }),
1014
1010
  };
1015
1011
  };
1016
- const deserializeAws_json1_0AccessDeniedException = (output, context) => {
1012
+ const de_AccessDeniedException = (output, context) => {
1017
1013
  return {
1018
1014
  Message: __expectString(output.Message),
1019
1015
  };
1020
1016
  };
1021
- const deserializeAws_json1_0CancelQueryResponse = (output, context) => {
1017
+ const de_CancelQueryResponse = (output, context) => {
1022
1018
  return {
1023
1019
  CancellationMessage: __expectString(output.CancellationMessage),
1024
1020
  };
1025
1021
  };
1026
- const deserializeAws_json1_0ColumnInfo = (output, context) => {
1022
+ const de_ColumnInfo = (output, context) => {
1027
1023
  return {
1028
1024
  Name: __expectString(output.Name),
1029
- Type: output.Type != null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1025
+ Type: output.Type != null ? de_Type(output.Type, context) : undefined,
1030
1026
  };
1031
1027
  };
1032
- const deserializeAws_json1_0ColumnInfoList = (output, context) => {
1028
+ const de_ColumnInfoList = (output, context) => {
1033
1029
  const retVal = (output || [])
1034
1030
  .filter((e) => e != null)
1035
1031
  .map((entry) => {
1036
1032
  if (entry === null) {
1037
1033
  return null;
1038
1034
  }
1039
- return deserializeAws_json1_0ColumnInfo(entry, context);
1035
+ return de_ColumnInfo(entry, context);
1040
1036
  });
1041
1037
  return retVal;
1042
1038
  };
1043
- const deserializeAws_json1_0ConflictException = (output, context) => {
1039
+ const de_ConflictException = (output, context) => {
1044
1040
  return {
1045
1041
  Message: __expectString(output.Message),
1046
1042
  };
1047
1043
  };
1048
- const deserializeAws_json1_0CreateScheduledQueryResponse = (output, context) => {
1044
+ const de_CreateScheduledQueryResponse = (output, context) => {
1049
1045
  return {
1050
1046
  Arn: __expectString(output.Arn),
1051
1047
  };
1052
1048
  };
1053
- const deserializeAws_json1_0Datum = (output, context) => {
1049
+ const de_Datum = (output, context) => {
1054
1050
  return {
1055
- ArrayValue: output.ArrayValue != null ? deserializeAws_json1_0DatumList(output.ArrayValue, context) : undefined,
1051
+ ArrayValue: output.ArrayValue != null ? de_DatumList(output.ArrayValue, context) : undefined,
1056
1052
  NullValue: __expectBoolean(output.NullValue),
1057
- RowValue: output.RowValue != null ? deserializeAws_json1_0Row(output.RowValue, context) : undefined,
1053
+ RowValue: output.RowValue != null ? de_Row(output.RowValue, context) : undefined,
1058
1054
  ScalarValue: __expectString(output.ScalarValue),
1059
- TimeSeriesValue: output.TimeSeriesValue != null
1060
- ? deserializeAws_json1_0TimeSeriesDataPointList(output.TimeSeriesValue, context)
1061
- : undefined,
1055
+ TimeSeriesValue: output.TimeSeriesValue != null ? de_TimeSeriesDataPointList(output.TimeSeriesValue, context) : undefined,
1062
1056
  };
1063
1057
  };
1064
- const deserializeAws_json1_0DatumList = (output, context) => {
1058
+ const de_DatumList = (output, context) => {
1065
1059
  const retVal = (output || [])
1066
1060
  .filter((e) => e != null)
1067
1061
  .map((entry) => {
1068
1062
  if (entry === null) {
1069
1063
  return null;
1070
1064
  }
1071
- return deserializeAws_json1_0Datum(entry, context);
1065
+ return de_Datum(entry, context);
1072
1066
  });
1073
1067
  return retVal;
1074
1068
  };
1075
- const deserializeAws_json1_0DescribeEndpointsResponse = (output, context) => {
1069
+ const de_DescribeEndpointsResponse = (output, context) => {
1076
1070
  return {
1077
- Endpoints: output.Endpoints != null ? deserializeAws_json1_0Endpoints(output.Endpoints, context) : undefined,
1071
+ Endpoints: output.Endpoints != null ? de_Endpoints(output.Endpoints, context) : undefined,
1078
1072
  };
1079
1073
  };
1080
- const deserializeAws_json1_0DescribeScheduledQueryResponse = (output, context) => {
1074
+ const de_DescribeScheduledQueryResponse = (output, context) => {
1081
1075
  return {
1082
- ScheduledQuery: output.ScheduledQuery != null
1083
- ? deserializeAws_json1_0ScheduledQueryDescription(output.ScheduledQuery, context)
1084
- : undefined,
1076
+ ScheduledQuery: output.ScheduledQuery != null ? de_ScheduledQueryDescription(output.ScheduledQuery, context) : undefined,
1085
1077
  };
1086
1078
  };
1087
- const deserializeAws_json1_0DimensionMapping = (output, context) => {
1079
+ const de_DimensionMapping = (output, context) => {
1088
1080
  return {
1089
1081
  DimensionValueType: __expectString(output.DimensionValueType),
1090
1082
  Name: __expectString(output.Name),
1091
1083
  };
1092
1084
  };
1093
- const deserializeAws_json1_0DimensionMappingList = (output, context) => {
1085
+ const de_DimensionMappingList = (output, context) => {
1094
1086
  const retVal = (output || [])
1095
1087
  .filter((e) => e != null)
1096
1088
  .map((entry) => {
1097
1089
  if (entry === null) {
1098
1090
  return null;
1099
1091
  }
1100
- return deserializeAws_json1_0DimensionMapping(entry, context);
1092
+ return de_DimensionMapping(entry, context);
1101
1093
  });
1102
1094
  return retVal;
1103
1095
  };
1104
- const deserializeAws_json1_0Endpoint = (output, context) => {
1096
+ const de_Endpoint = (output, context) => {
1105
1097
  return {
1106
1098
  Address: __expectString(output.Address),
1107
1099
  CachePeriodInMinutes: __expectLong(output.CachePeriodInMinutes),
1108
1100
  };
1109
1101
  };
1110
- const deserializeAws_json1_0Endpoints = (output, context) => {
1102
+ const de_Endpoints = (output, context) => {
1111
1103
  const retVal = (output || [])
1112
1104
  .filter((e) => e != null)
1113
1105
  .map((entry) => {
1114
1106
  if (entry === null) {
1115
1107
  return null;
1116
1108
  }
1117
- return deserializeAws_json1_0Endpoint(entry, context);
1109
+ return de_Endpoint(entry, context);
1118
1110
  });
1119
1111
  return retVal;
1120
1112
  };
1121
- const deserializeAws_json1_0ErrorReportConfiguration = (output, context) => {
1113
+ const de_ErrorReportConfiguration = (output, context) => {
1122
1114
  return {
1123
- S3Configuration: output.S3Configuration != null
1124
- ? deserializeAws_json1_0S3Configuration(output.S3Configuration, context)
1125
- : undefined,
1115
+ S3Configuration: output.S3Configuration != null ? de_S3Configuration(output.S3Configuration, context) : undefined,
1126
1116
  };
1127
1117
  };
1128
- const deserializeAws_json1_0ErrorReportLocation = (output, context) => {
1118
+ const de_ErrorReportLocation = (output, context) => {
1129
1119
  return {
1130
- S3ReportLocation: output.S3ReportLocation != null
1131
- ? deserializeAws_json1_0S3ReportLocation(output.S3ReportLocation, context)
1132
- : undefined,
1120
+ S3ReportLocation: output.S3ReportLocation != null ? de_S3ReportLocation(output.S3ReportLocation, context) : undefined,
1133
1121
  };
1134
1122
  };
1135
- const deserializeAws_json1_0ExecutionStats = (output, context) => {
1123
+ const de_ExecutionStats = (output, context) => {
1136
1124
  return {
1137
1125
  BytesMetered: __expectLong(output.BytesMetered),
1138
1126
  DataWrites: __expectLong(output.DataWrites),
@@ -1141,178 +1129,174 @@ const deserializeAws_json1_0ExecutionStats = (output, context) => {
1141
1129
  RecordsIngested: __expectLong(output.RecordsIngested),
1142
1130
  };
1143
1131
  };
1144
- const deserializeAws_json1_0InternalServerException = (output, context) => {
1132
+ const de_InternalServerException = (output, context) => {
1145
1133
  return {
1146
1134
  Message: __expectString(output.Message),
1147
1135
  };
1148
1136
  };
1149
- const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
1137
+ const de_InvalidEndpointException = (output, context) => {
1150
1138
  return {
1151
1139
  Message: __expectString(output.Message),
1152
1140
  };
1153
1141
  };
1154
- const deserializeAws_json1_0ListScheduledQueriesResponse = (output, context) => {
1142
+ const de_ListScheduledQueriesResponse = (output, context) => {
1155
1143
  return {
1156
1144
  NextToken: __expectString(output.NextToken),
1157
- ScheduledQueries: output.ScheduledQueries != null
1158
- ? deserializeAws_json1_0ScheduledQueryList(output.ScheduledQueries, context)
1159
- : undefined,
1145
+ ScheduledQueries: output.ScheduledQueries != null ? de_ScheduledQueryList(output.ScheduledQueries, context) : undefined,
1160
1146
  };
1161
1147
  };
1162
- const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
1148
+ const de_ListTagsForResourceResponse = (output, context) => {
1163
1149
  return {
1164
1150
  NextToken: __expectString(output.NextToken),
1165
- Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
1151
+ Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
1166
1152
  };
1167
1153
  };
1168
- const deserializeAws_json1_0MixedMeasureMapping = (output, context) => {
1154
+ const de_MixedMeasureMapping = (output, context) => {
1169
1155
  return {
1170
1156
  MeasureName: __expectString(output.MeasureName),
1171
1157
  MeasureValueType: __expectString(output.MeasureValueType),
1172
1158
  MultiMeasureAttributeMappings: output.MultiMeasureAttributeMappings != null
1173
- ? deserializeAws_json1_0MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1159
+ ? de_MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1174
1160
  : undefined,
1175
1161
  SourceColumn: __expectString(output.SourceColumn),
1176
1162
  TargetMeasureName: __expectString(output.TargetMeasureName),
1177
1163
  };
1178
1164
  };
1179
- const deserializeAws_json1_0MixedMeasureMappingList = (output, context) => {
1165
+ const de_MixedMeasureMappingList = (output, context) => {
1180
1166
  const retVal = (output || [])
1181
1167
  .filter((e) => e != null)
1182
1168
  .map((entry) => {
1183
1169
  if (entry === null) {
1184
1170
  return null;
1185
1171
  }
1186
- return deserializeAws_json1_0MixedMeasureMapping(entry, context);
1172
+ return de_MixedMeasureMapping(entry, context);
1187
1173
  });
1188
1174
  return retVal;
1189
1175
  };
1190
- const deserializeAws_json1_0MultiMeasureAttributeMapping = (output, context) => {
1176
+ const de_MultiMeasureAttributeMapping = (output, context) => {
1191
1177
  return {
1192
1178
  MeasureValueType: __expectString(output.MeasureValueType),
1193
1179
  SourceColumn: __expectString(output.SourceColumn),
1194
1180
  TargetMultiMeasureAttributeName: __expectString(output.TargetMultiMeasureAttributeName),
1195
1181
  };
1196
1182
  };
1197
- const deserializeAws_json1_0MultiMeasureAttributeMappingList = (output, context) => {
1183
+ const de_MultiMeasureAttributeMappingList = (output, context) => {
1198
1184
  const retVal = (output || [])
1199
1185
  .filter((e) => e != null)
1200
1186
  .map((entry) => {
1201
1187
  if (entry === null) {
1202
1188
  return null;
1203
1189
  }
1204
- return deserializeAws_json1_0MultiMeasureAttributeMapping(entry, context);
1190
+ return de_MultiMeasureAttributeMapping(entry, context);
1205
1191
  });
1206
1192
  return retVal;
1207
1193
  };
1208
- const deserializeAws_json1_0MultiMeasureMappings = (output, context) => {
1194
+ const de_MultiMeasureMappings = (output, context) => {
1209
1195
  return {
1210
1196
  MultiMeasureAttributeMappings: output.MultiMeasureAttributeMappings != null
1211
- ? deserializeAws_json1_0MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1197
+ ? de_MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1212
1198
  : undefined,
1213
1199
  TargetMultiMeasureName: __expectString(output.TargetMultiMeasureName),
1214
1200
  };
1215
1201
  };
1216
- const deserializeAws_json1_0NotificationConfiguration = (output, context) => {
1202
+ const de_NotificationConfiguration = (output, context) => {
1217
1203
  return {
1218
- SnsConfiguration: output.SnsConfiguration != null
1219
- ? deserializeAws_json1_0SnsConfiguration(output.SnsConfiguration, context)
1220
- : undefined,
1204
+ SnsConfiguration: output.SnsConfiguration != null ? de_SnsConfiguration(output.SnsConfiguration, context) : undefined,
1221
1205
  };
1222
1206
  };
1223
- const deserializeAws_json1_0ParameterMapping = (output, context) => {
1207
+ const de_ParameterMapping = (output, context) => {
1224
1208
  return {
1225
1209
  Name: __expectString(output.Name),
1226
- Type: output.Type != null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1210
+ Type: output.Type != null ? de_Type(output.Type, context) : undefined,
1227
1211
  };
1228
1212
  };
1229
- const deserializeAws_json1_0ParameterMappingList = (output, context) => {
1213
+ const de_ParameterMappingList = (output, context) => {
1230
1214
  const retVal = (output || [])
1231
1215
  .filter((e) => e != null)
1232
1216
  .map((entry) => {
1233
1217
  if (entry === null) {
1234
1218
  return null;
1235
1219
  }
1236
- return deserializeAws_json1_0ParameterMapping(entry, context);
1220
+ return de_ParameterMapping(entry, context);
1237
1221
  });
1238
1222
  return retVal;
1239
1223
  };
1240
- const deserializeAws_json1_0PrepareQueryResponse = (output, context) => {
1224
+ const de_PrepareQueryResponse = (output, context) => {
1241
1225
  return {
1242
- Columns: output.Columns != null ? deserializeAws_json1_0SelectColumnList(output.Columns, context) : undefined,
1243
- Parameters: output.Parameters != null ? deserializeAws_json1_0ParameterMappingList(output.Parameters, context) : undefined,
1226
+ Columns: output.Columns != null ? de_SelectColumnList(output.Columns, context) : undefined,
1227
+ Parameters: output.Parameters != null ? de_ParameterMappingList(output.Parameters, context) : undefined,
1244
1228
  QueryString: __expectString(output.QueryString),
1245
1229
  };
1246
1230
  };
1247
- const deserializeAws_json1_0QueryExecutionException = (output, context) => {
1231
+ const de_QueryExecutionException = (output, context) => {
1248
1232
  return {
1249
1233
  Message: __expectString(output.Message),
1250
1234
  };
1251
1235
  };
1252
- const deserializeAws_json1_0QueryResponse = (output, context) => {
1236
+ const de_QueryResponse = (output, context) => {
1253
1237
  return {
1254
- ColumnInfo: output.ColumnInfo != null ? deserializeAws_json1_0ColumnInfoList(output.ColumnInfo, context) : undefined,
1238
+ ColumnInfo: output.ColumnInfo != null ? de_ColumnInfoList(output.ColumnInfo, context) : undefined,
1255
1239
  NextToken: __expectString(output.NextToken),
1256
1240
  QueryId: __expectString(output.QueryId),
1257
- QueryStatus: output.QueryStatus != null ? deserializeAws_json1_0QueryStatus(output.QueryStatus, context) : undefined,
1258
- Rows: output.Rows != null ? deserializeAws_json1_0RowList(output.Rows, context) : undefined,
1241
+ QueryStatus: output.QueryStatus != null ? de_QueryStatus(output.QueryStatus, context) : undefined,
1242
+ Rows: output.Rows != null ? de_RowList(output.Rows, context) : undefined,
1259
1243
  };
1260
1244
  };
1261
- const deserializeAws_json1_0QueryStatus = (output, context) => {
1245
+ const de_QueryStatus = (output, context) => {
1262
1246
  return {
1263
1247
  CumulativeBytesMetered: __expectLong(output.CumulativeBytesMetered),
1264
1248
  CumulativeBytesScanned: __expectLong(output.CumulativeBytesScanned),
1265
1249
  ProgressPercentage: __limitedParseDouble(output.ProgressPercentage),
1266
1250
  };
1267
1251
  };
1268
- const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
1252
+ const de_ResourceNotFoundException = (output, context) => {
1269
1253
  return {
1270
1254
  Message: __expectString(output.Message),
1271
1255
  ScheduledQueryArn: __expectString(output.ScheduledQueryArn),
1272
1256
  };
1273
1257
  };
1274
- const deserializeAws_json1_0Row = (output, context) => {
1258
+ const de_Row = (output, context) => {
1275
1259
  return {
1276
- Data: output.Data != null ? deserializeAws_json1_0DatumList(output.Data, context) : undefined,
1260
+ Data: output.Data != null ? de_DatumList(output.Data, context) : undefined,
1277
1261
  };
1278
1262
  };
1279
- const deserializeAws_json1_0RowList = (output, context) => {
1263
+ const de_RowList = (output, context) => {
1280
1264
  const retVal = (output || [])
1281
1265
  .filter((e) => e != null)
1282
1266
  .map((entry) => {
1283
1267
  if (entry === null) {
1284
1268
  return null;
1285
1269
  }
1286
- return deserializeAws_json1_0Row(entry, context);
1270
+ return de_Row(entry, context);
1287
1271
  });
1288
1272
  return retVal;
1289
1273
  };
1290
- const deserializeAws_json1_0S3Configuration = (output, context) => {
1274
+ const de_S3Configuration = (output, context) => {
1291
1275
  return {
1292
1276
  BucketName: __expectString(output.BucketName),
1293
1277
  EncryptionOption: __expectString(output.EncryptionOption),
1294
1278
  ObjectKeyPrefix: __expectString(output.ObjectKeyPrefix),
1295
1279
  };
1296
1280
  };
1297
- const deserializeAws_json1_0S3ReportLocation = (output, context) => {
1281
+ const de_S3ReportLocation = (output, context) => {
1298
1282
  return {
1299
1283
  BucketName: __expectString(output.BucketName),
1300
1284
  ObjectKey: __expectString(output.ObjectKey),
1301
1285
  };
1302
1286
  };
1303
- const deserializeAws_json1_0ScheduleConfiguration = (output, context) => {
1287
+ const de_ScheduleConfiguration = (output, context) => {
1304
1288
  return {
1305
1289
  ScheduleExpression: __expectString(output.ScheduleExpression),
1306
1290
  };
1307
1291
  };
1308
- const deserializeAws_json1_0ScheduledQuery = (output, context) => {
1292
+ const de_ScheduledQuery = (output, context) => {
1309
1293
  return {
1310
1294
  Arn: __expectString(output.Arn),
1311
1295
  CreationTime: output.CreationTime != null
1312
1296
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
1313
1297
  : undefined,
1314
1298
  ErrorReportConfiguration: output.ErrorReportConfiguration != null
1315
- ? deserializeAws_json1_0ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1299
+ ? de_ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1316
1300
  : undefined,
1317
1301
  LastRunStatus: __expectString(output.LastRunStatus),
1318
1302
  Name: __expectString(output.Name),
@@ -1323,65 +1307,57 @@ const deserializeAws_json1_0ScheduledQuery = (output, context) => {
1323
1307
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PreviousInvocationTime)))
1324
1308
  : undefined,
1325
1309
  State: __expectString(output.State),
1326
- TargetDestination: output.TargetDestination != null
1327
- ? deserializeAws_json1_0TargetDestination(output.TargetDestination, context)
1328
- : undefined,
1310
+ TargetDestination: output.TargetDestination != null ? de_TargetDestination(output.TargetDestination, context) : undefined,
1329
1311
  };
1330
1312
  };
1331
- const deserializeAws_json1_0ScheduledQueryDescription = (output, context) => {
1313
+ const de_ScheduledQueryDescription = (output, context) => {
1332
1314
  return {
1333
1315
  Arn: __expectString(output.Arn),
1334
1316
  CreationTime: output.CreationTime != null
1335
1317
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
1336
1318
  : undefined,
1337
1319
  ErrorReportConfiguration: output.ErrorReportConfiguration != null
1338
- ? deserializeAws_json1_0ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1320
+ ? de_ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1339
1321
  : undefined,
1340
1322
  KmsKeyId: __expectString(output.KmsKeyId),
1341
- LastRunSummary: output.LastRunSummary != null
1342
- ? deserializeAws_json1_0ScheduledQueryRunSummary(output.LastRunSummary, context)
1343
- : undefined,
1323
+ LastRunSummary: output.LastRunSummary != null ? de_ScheduledQueryRunSummary(output.LastRunSummary, context) : undefined,
1344
1324
  Name: __expectString(output.Name),
1345
1325
  NextInvocationTime: output.NextInvocationTime != null
1346
1326
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NextInvocationTime)))
1347
1327
  : undefined,
1348
1328
  NotificationConfiguration: output.NotificationConfiguration != null
1349
- ? deserializeAws_json1_0NotificationConfiguration(output.NotificationConfiguration, context)
1329
+ ? de_NotificationConfiguration(output.NotificationConfiguration, context)
1350
1330
  : undefined,
1351
1331
  PreviousInvocationTime: output.PreviousInvocationTime != null
1352
1332
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PreviousInvocationTime)))
1353
1333
  : undefined,
1354
1334
  QueryString: __expectString(output.QueryString),
1355
1335
  RecentlyFailedRuns: output.RecentlyFailedRuns != null
1356
- ? deserializeAws_json1_0ScheduledQueryRunSummaryList(output.RecentlyFailedRuns, context)
1336
+ ? de_ScheduledQueryRunSummaryList(output.RecentlyFailedRuns, context)
1357
1337
  : undefined,
1358
1338
  ScheduleConfiguration: output.ScheduleConfiguration != null
1359
- ? deserializeAws_json1_0ScheduleConfiguration(output.ScheduleConfiguration, context)
1339
+ ? de_ScheduleConfiguration(output.ScheduleConfiguration, context)
1360
1340
  : undefined,
1361
1341
  ScheduledQueryExecutionRoleArn: __expectString(output.ScheduledQueryExecutionRoleArn),
1362
1342
  State: __expectString(output.State),
1363
- TargetConfiguration: output.TargetConfiguration != null
1364
- ? deserializeAws_json1_0TargetConfiguration(output.TargetConfiguration, context)
1365
- : undefined,
1343
+ TargetConfiguration: output.TargetConfiguration != null ? de_TargetConfiguration(output.TargetConfiguration, context) : undefined,
1366
1344
  };
1367
1345
  };
1368
- const deserializeAws_json1_0ScheduledQueryList = (output, context) => {
1346
+ const de_ScheduledQueryList = (output, context) => {
1369
1347
  const retVal = (output || [])
1370
1348
  .filter((e) => e != null)
1371
1349
  .map((entry) => {
1372
1350
  if (entry === null) {
1373
1351
  return null;
1374
1352
  }
1375
- return deserializeAws_json1_0ScheduledQuery(entry, context);
1353
+ return de_ScheduledQuery(entry, context);
1376
1354
  });
1377
1355
  return retVal;
1378
1356
  };
1379
- const deserializeAws_json1_0ScheduledQueryRunSummary = (output, context) => {
1357
+ const de_ScheduledQueryRunSummary = (output, context) => {
1380
1358
  return {
1381
- ErrorReportLocation: output.ErrorReportLocation != null
1382
- ? deserializeAws_json1_0ErrorReportLocation(output.ErrorReportLocation, context)
1383
- : undefined,
1384
- ExecutionStats: output.ExecutionStats != null ? deserializeAws_json1_0ExecutionStats(output.ExecutionStats, context) : undefined,
1359
+ ErrorReportLocation: output.ErrorReportLocation != null ? de_ErrorReportLocation(output.ErrorReportLocation, context) : undefined,
1360
+ ExecutionStats: output.ExecutionStats != null ? de_ExecutionStats(output.ExecutionStats, context) : undefined,
1385
1361
  FailureReason: __expectString(output.FailureReason),
1386
1362
  InvocationTime: output.InvocationTime != null
1387
1363
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InvocationTime)))
@@ -1392,140 +1368,136 @@ const deserializeAws_json1_0ScheduledQueryRunSummary = (output, context) => {
1392
1368
  : undefined,
1393
1369
  };
1394
1370
  };
1395
- const deserializeAws_json1_0ScheduledQueryRunSummaryList = (output, context) => {
1371
+ const de_ScheduledQueryRunSummaryList = (output, context) => {
1396
1372
  const retVal = (output || [])
1397
1373
  .filter((e) => e != null)
1398
1374
  .map((entry) => {
1399
1375
  if (entry === null) {
1400
1376
  return null;
1401
1377
  }
1402
- return deserializeAws_json1_0ScheduledQueryRunSummary(entry, context);
1378
+ return de_ScheduledQueryRunSummary(entry, context);
1403
1379
  });
1404
1380
  return retVal;
1405
1381
  };
1406
- const deserializeAws_json1_0SelectColumn = (output, context) => {
1382
+ const de_SelectColumn = (output, context) => {
1407
1383
  return {
1408
1384
  Aliased: __expectBoolean(output.Aliased),
1409
1385
  DatabaseName: __expectString(output.DatabaseName),
1410
1386
  Name: __expectString(output.Name),
1411
1387
  TableName: __expectString(output.TableName),
1412
- Type: output.Type != null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1388
+ Type: output.Type != null ? de_Type(output.Type, context) : undefined,
1413
1389
  };
1414
1390
  };
1415
- const deserializeAws_json1_0SelectColumnList = (output, context) => {
1391
+ const de_SelectColumnList = (output, context) => {
1416
1392
  const retVal = (output || [])
1417
1393
  .filter((e) => e != null)
1418
1394
  .map((entry) => {
1419
1395
  if (entry === null) {
1420
1396
  return null;
1421
1397
  }
1422
- return deserializeAws_json1_0SelectColumn(entry, context);
1398
+ return de_SelectColumn(entry, context);
1423
1399
  });
1424
1400
  return retVal;
1425
1401
  };
1426
- const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
1402
+ const de_ServiceQuotaExceededException = (output, context) => {
1427
1403
  return {
1428
1404
  Message: __expectString(output.Message),
1429
1405
  };
1430
1406
  };
1431
- const deserializeAws_json1_0SnsConfiguration = (output, context) => {
1407
+ const de_SnsConfiguration = (output, context) => {
1432
1408
  return {
1433
1409
  TopicArn: __expectString(output.TopicArn),
1434
1410
  };
1435
1411
  };
1436
- const deserializeAws_json1_0Tag = (output, context) => {
1412
+ const de_Tag = (output, context) => {
1437
1413
  return {
1438
1414
  Key: __expectString(output.Key),
1439
1415
  Value: __expectString(output.Value),
1440
1416
  };
1441
1417
  };
1442
- const deserializeAws_json1_0TagList = (output, context) => {
1418
+ const de_TagList = (output, context) => {
1443
1419
  const retVal = (output || [])
1444
1420
  .filter((e) => e != null)
1445
1421
  .map((entry) => {
1446
1422
  if (entry === null) {
1447
1423
  return null;
1448
1424
  }
1449
- return deserializeAws_json1_0Tag(entry, context);
1425
+ return de_Tag(entry, context);
1450
1426
  });
1451
1427
  return retVal;
1452
1428
  };
1453
- const deserializeAws_json1_0TagResourceResponse = (output, context) => {
1429
+ const de_TagResourceResponse = (output, context) => {
1454
1430
  return {};
1455
1431
  };
1456
- const deserializeAws_json1_0TargetConfiguration = (output, context) => {
1432
+ const de_TargetConfiguration = (output, context) => {
1457
1433
  return {
1458
1434
  TimestreamConfiguration: output.TimestreamConfiguration != null
1459
- ? deserializeAws_json1_0TimestreamConfiguration(output.TimestreamConfiguration, context)
1435
+ ? de_TimestreamConfiguration(output.TimestreamConfiguration, context)
1460
1436
  : undefined,
1461
1437
  };
1462
1438
  };
1463
- const deserializeAws_json1_0TargetDestination = (output, context) => {
1439
+ const de_TargetDestination = (output, context) => {
1464
1440
  return {
1465
1441
  TimestreamDestination: output.TimestreamDestination != null
1466
- ? deserializeAws_json1_0TimestreamDestination(output.TimestreamDestination, context)
1442
+ ? de_TimestreamDestination(output.TimestreamDestination, context)
1467
1443
  : undefined,
1468
1444
  };
1469
1445
  };
1470
- const deserializeAws_json1_0ThrottlingException = (output, context) => {
1446
+ const de_ThrottlingException = (output, context) => {
1471
1447
  return {
1472
1448
  Message: __expectString(output.Message),
1473
1449
  };
1474
1450
  };
1475
- const deserializeAws_json1_0TimeSeriesDataPoint = (output, context) => {
1451
+ const de_TimeSeriesDataPoint = (output, context) => {
1476
1452
  return {
1477
1453
  Time: __expectString(output.Time),
1478
- Value: output.Value != null ? deserializeAws_json1_0Datum(output.Value, context) : undefined,
1454
+ Value: output.Value != null ? de_Datum(output.Value, context) : undefined,
1479
1455
  };
1480
1456
  };
1481
- const deserializeAws_json1_0TimeSeriesDataPointList = (output, context) => {
1457
+ const de_TimeSeriesDataPointList = (output, context) => {
1482
1458
  const retVal = (output || [])
1483
1459
  .filter((e) => e != null)
1484
1460
  .map((entry) => {
1485
1461
  if (entry === null) {
1486
1462
  return null;
1487
1463
  }
1488
- return deserializeAws_json1_0TimeSeriesDataPoint(entry, context);
1464
+ return de_TimeSeriesDataPoint(entry, context);
1489
1465
  });
1490
1466
  return retVal;
1491
1467
  };
1492
- const deserializeAws_json1_0TimestreamConfiguration = (output, context) => {
1468
+ const de_TimestreamConfiguration = (output, context) => {
1493
1469
  return {
1494
1470
  DatabaseName: __expectString(output.DatabaseName),
1495
- DimensionMappings: output.DimensionMappings != null
1496
- ? deserializeAws_json1_0DimensionMappingList(output.DimensionMappings, context)
1497
- : undefined,
1471
+ DimensionMappings: output.DimensionMappings != null ? de_DimensionMappingList(output.DimensionMappings, context) : undefined,
1498
1472
  MeasureNameColumn: __expectString(output.MeasureNameColumn),
1499
1473
  MixedMeasureMappings: output.MixedMeasureMappings != null
1500
- ? deserializeAws_json1_0MixedMeasureMappingList(output.MixedMeasureMappings, context)
1501
- : undefined,
1502
- MultiMeasureMappings: output.MultiMeasureMappings != null
1503
- ? deserializeAws_json1_0MultiMeasureMappings(output.MultiMeasureMappings, context)
1474
+ ? de_MixedMeasureMappingList(output.MixedMeasureMappings, context)
1504
1475
  : undefined,
1476
+ MultiMeasureMappings: output.MultiMeasureMappings != null ? de_MultiMeasureMappings(output.MultiMeasureMappings, context) : undefined,
1505
1477
  TableName: __expectString(output.TableName),
1506
1478
  TimeColumn: __expectString(output.TimeColumn),
1507
1479
  };
1508
1480
  };
1509
- const deserializeAws_json1_0TimestreamDestination = (output, context) => {
1481
+ const de_TimestreamDestination = (output, context) => {
1510
1482
  return {
1511
1483
  DatabaseName: __expectString(output.DatabaseName),
1512
1484
  TableName: __expectString(output.TableName),
1513
1485
  };
1514
1486
  };
1515
- const deserializeAws_json1_0Type = (output, context) => {
1487
+ const de_Type = (output, context) => {
1516
1488
  return {
1517
- ArrayColumnInfo: output.ArrayColumnInfo != null ? deserializeAws_json1_0ColumnInfo(output.ArrayColumnInfo, context) : undefined,
1518
- RowColumnInfo: output.RowColumnInfo != null ? deserializeAws_json1_0ColumnInfoList(output.RowColumnInfo, context) : undefined,
1489
+ ArrayColumnInfo: output.ArrayColumnInfo != null ? de_ColumnInfo(output.ArrayColumnInfo, context) : undefined,
1490
+ RowColumnInfo: output.RowColumnInfo != null ? de_ColumnInfoList(output.RowColumnInfo, context) : undefined,
1519
1491
  ScalarType: __expectString(output.ScalarType),
1520
1492
  TimeSeriesMeasureValueColumnInfo: output.TimeSeriesMeasureValueColumnInfo != null
1521
- ? deserializeAws_json1_0ColumnInfo(output.TimeSeriesMeasureValueColumnInfo, context)
1493
+ ? de_ColumnInfo(output.TimeSeriesMeasureValueColumnInfo, context)
1522
1494
  : undefined,
1523
1495
  };
1524
1496
  };
1525
- const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
1497
+ const de_UntagResourceResponse = (output, context) => {
1526
1498
  return {};
1527
1499
  };
1528
- const deserializeAws_json1_0ValidationException = (output, context) => {
1500
+ const de_ValidationException = (output, context) => {
1529
1501
  return {
1530
1502
  Message: __expectString(output.Message),
1531
1503
  };