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

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