@aws-sdk/client-keyspaces 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist-cjs/commands/CreateKeyspaceCommand.js +2 -2
  2. package/dist-cjs/commands/CreateTableCommand.js +2 -2
  3. package/dist-cjs/commands/DeleteKeyspaceCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteTableCommand.js +2 -2
  5. package/dist-cjs/commands/GetKeyspaceCommand.js +2 -2
  6. package/dist-cjs/commands/GetTableCommand.js +2 -2
  7. package/dist-cjs/commands/ListKeyspacesCommand.js +2 -2
  8. package/dist-cjs/commands/ListTablesCommand.js +2 -2
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  10. package/dist-cjs/commands/RestoreTableCommand.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/UpdateTableCommand.js +2 -2
  14. package/dist-cjs/protocols/Aws_json1_0.js +309 -327
  15. package/dist-es/commands/CreateKeyspaceCommand.js +3 -3
  16. package/dist-es/commands/CreateTableCommand.js +3 -3
  17. package/dist-es/commands/DeleteKeyspaceCommand.js +3 -3
  18. package/dist-es/commands/DeleteTableCommand.js +3 -3
  19. package/dist-es/commands/GetKeyspaceCommand.js +3 -3
  20. package/dist-es/commands/GetTableCommand.js +3 -3
  21. package/dist-es/commands/ListKeyspacesCommand.js +3 -3
  22. package/dist-es/commands/ListTablesCommand.js +3 -3
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-es/commands/RestoreTableCommand.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/UpdateTableCommand.js +3 -3
  28. package/dist-es/protocols/Aws_json1_0.js +282 -300
  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 +29 -29
@@ -2,137 +2,137 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { KeyspacesServiceException as __BaseException } from "../models/KeyspacesServiceException";
4
4
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
5
- export const serializeAws_json1_0CreateKeyspaceCommand = async (input, context) => {
5
+ export const se_CreateKeyspaceCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.0",
8
8
  "x-amz-target": "KeyspacesService.CreateKeyspace",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_0CreateKeyspaceRequest(input, context));
11
+ body = JSON.stringify(se_CreateKeyspaceRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_0CreateTableCommand = async (input, context) => {
14
+ export const se_CreateTableCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.0",
17
17
  "x-amz-target": "KeyspacesService.CreateTable",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_0CreateTableRequest(input, context));
20
+ body = JSON.stringify(se_CreateTableRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_0DeleteKeyspaceCommand = async (input, context) => {
23
+ export const se_DeleteKeyspaceCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.0",
26
26
  "x-amz-target": "KeyspacesService.DeleteKeyspace",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_0DeleteKeyspaceRequest(input, context));
29
+ body = JSON.stringify(se_DeleteKeyspaceRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_0DeleteTableCommand = async (input, context) => {
32
+ export const se_DeleteTableCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.0",
35
35
  "x-amz-target": "KeyspacesService.DeleteTable",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_0DeleteTableRequest(input, context));
38
+ body = JSON.stringify(se_DeleteTableRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_0GetKeyspaceCommand = async (input, context) => {
41
+ export const se_GetKeyspaceCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.0",
44
44
  "x-amz-target": "KeyspacesService.GetKeyspace",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_0GetKeyspaceRequest(input, context));
47
+ body = JSON.stringify(se_GetKeyspaceRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_0GetTableCommand = async (input, context) => {
50
+ export const se_GetTableCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.0",
53
53
  "x-amz-target": "KeyspacesService.GetTable",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_0GetTableRequest(input, context));
56
+ body = JSON.stringify(se_GetTableRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_0ListKeyspacesCommand = async (input, context) => {
59
+ export const se_ListKeyspacesCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.0",
62
62
  "x-amz-target": "KeyspacesService.ListKeyspaces",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_0ListKeyspacesRequest(input, context));
65
+ body = JSON.stringify(se_ListKeyspacesRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_0ListTablesCommand = async (input, context) => {
68
+ export const se_ListTablesCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.0",
71
71
  "x-amz-target": "KeyspacesService.ListTables",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_0ListTablesRequest(input, context));
74
+ body = JSON.stringify(se_ListTablesRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_0ListTagsForResourceCommand = async (input, context) => {
77
+ export const se_ListTagsForResourceCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.0",
80
80
  "x-amz-target": "KeyspacesService.ListTagsForResource",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_0ListTagsForResourceRequest(input, context));
83
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_0RestoreTableCommand = async (input, context) => {
86
+ export const se_RestoreTableCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.0",
89
89
  "x-amz-target": "KeyspacesService.RestoreTable",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_0RestoreTableRequest(input, context));
92
+ body = JSON.stringify(se_RestoreTableRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_0TagResourceCommand = async (input, context) => {
95
+ export const se_TagResourceCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.0",
98
98
  "x-amz-target": "KeyspacesService.TagResource",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_0TagResourceRequest(input, context));
101
+ body = JSON.stringify(se_TagResourceRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_0UntagResourceCommand = async (input, context) => {
104
+ export const se_UntagResourceCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.0",
107
107
  "x-amz-target": "KeyspacesService.UntagResource",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_0UntagResourceRequest(input, context));
110
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_0UpdateTableCommand = async (input, context) => {
113
+ export const se_UpdateTableCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.0",
116
116
  "x-amz-target": "KeyspacesService.UpdateTable",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_0UpdateTableRequest(input, context));
119
+ body = JSON.stringify(se_UpdateTableRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const deserializeAws_json1_0CreateKeyspaceCommand = async (output, context) => {
122
+ export const de_CreateKeyspaceCommand = async (output, context) => {
123
123
  if (output.statusCode >= 300) {
124
- return deserializeAws_json1_0CreateKeyspaceCommandError(output, context);
124
+ return de_CreateKeyspaceCommandError(output, context);
125
125
  }
126
126
  const data = await parseBody(output.body, context);
127
127
  let contents = {};
128
- contents = deserializeAws_json1_0CreateKeyspaceResponse(data, context);
128
+ contents = de_CreateKeyspaceResponse(data, context);
129
129
  const response = {
130
130
  $metadata: deserializeMetadata(output),
131
131
  ...contents,
132
132
  };
133
133
  return Promise.resolve(response);
134
134
  };
135
- const deserializeAws_json1_0CreateKeyspaceCommandError = async (output, context) => {
135
+ const de_CreateKeyspaceCommandError = async (output, context) => {
136
136
  const parsedOutput = {
137
137
  ...output,
138
138
  body: await parseErrorBody(output.body, context),
@@ -141,19 +141,19 @@ const deserializeAws_json1_0CreateKeyspaceCommandError = async (output, context)
141
141
  switch (errorCode) {
142
142
  case "AccessDeniedException":
143
143
  case "com.amazonaws.keyspaces#AccessDeniedException":
144
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
144
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
145
145
  case "ConflictException":
146
146
  case "com.amazonaws.keyspaces#ConflictException":
147
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
147
+ throw await de_ConflictExceptionRes(parsedOutput, context);
148
148
  case "InternalServerException":
149
149
  case "com.amazonaws.keyspaces#InternalServerException":
150
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
150
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
151
151
  case "ServiceQuotaExceededException":
152
152
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
153
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
153
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
154
154
  case "ValidationException":
155
155
  case "com.amazonaws.keyspaces#ValidationException":
156
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
156
+ throw await de_ValidationExceptionRes(parsedOutput, context);
157
157
  default:
158
158
  const parsedBody = parsedOutput.body;
159
159
  throwDefaultError({
@@ -164,20 +164,20 @@ const deserializeAws_json1_0CreateKeyspaceCommandError = async (output, context)
164
164
  });
165
165
  }
166
166
  };
167
- export const deserializeAws_json1_0CreateTableCommand = async (output, context) => {
167
+ export const de_CreateTableCommand = async (output, context) => {
168
168
  if (output.statusCode >= 300) {
169
- return deserializeAws_json1_0CreateTableCommandError(output, context);
169
+ return de_CreateTableCommandError(output, context);
170
170
  }
171
171
  const data = await parseBody(output.body, context);
172
172
  let contents = {};
173
- contents = deserializeAws_json1_0CreateTableResponse(data, context);
173
+ contents = de_CreateTableResponse(data, context);
174
174
  const response = {
175
175
  $metadata: deserializeMetadata(output),
176
176
  ...contents,
177
177
  };
178
178
  return Promise.resolve(response);
179
179
  };
180
- const deserializeAws_json1_0CreateTableCommandError = async (output, context) => {
180
+ const de_CreateTableCommandError = async (output, context) => {
181
181
  const parsedOutput = {
182
182
  ...output,
183
183
  body: await parseErrorBody(output.body, context),
@@ -186,22 +186,22 @@ const deserializeAws_json1_0CreateTableCommandError = async (output, context) =>
186
186
  switch (errorCode) {
187
187
  case "AccessDeniedException":
188
188
  case "com.amazonaws.keyspaces#AccessDeniedException":
189
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
189
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
190
190
  case "ConflictException":
191
191
  case "com.amazonaws.keyspaces#ConflictException":
192
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
192
+ throw await de_ConflictExceptionRes(parsedOutput, context);
193
193
  case "InternalServerException":
194
194
  case "com.amazonaws.keyspaces#InternalServerException":
195
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
195
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
196
196
  case "ResourceNotFoundException":
197
197
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
198
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
198
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
199
199
  case "ServiceQuotaExceededException":
200
200
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
201
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
201
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
202
202
  case "ValidationException":
203
203
  case "com.amazonaws.keyspaces#ValidationException":
204
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
204
+ throw await de_ValidationExceptionRes(parsedOutput, context);
205
205
  default:
206
206
  const parsedBody = parsedOutput.body;
207
207
  throwDefaultError({
@@ -212,20 +212,20 @@ const deserializeAws_json1_0CreateTableCommandError = async (output, context) =>
212
212
  });
213
213
  }
214
214
  };
215
- export const deserializeAws_json1_0DeleteKeyspaceCommand = async (output, context) => {
215
+ export const de_DeleteKeyspaceCommand = async (output, context) => {
216
216
  if (output.statusCode >= 300) {
217
- return deserializeAws_json1_0DeleteKeyspaceCommandError(output, context);
217
+ return de_DeleteKeyspaceCommandError(output, context);
218
218
  }
219
219
  const data = await parseBody(output.body, context);
220
220
  let contents = {};
221
- contents = deserializeAws_json1_0DeleteKeyspaceResponse(data, context);
221
+ contents = de_DeleteKeyspaceResponse(data, context);
222
222
  const response = {
223
223
  $metadata: deserializeMetadata(output),
224
224
  ...contents,
225
225
  };
226
226
  return Promise.resolve(response);
227
227
  };
228
- const deserializeAws_json1_0DeleteKeyspaceCommandError = async (output, context) => {
228
+ const de_DeleteKeyspaceCommandError = async (output, context) => {
229
229
  const parsedOutput = {
230
230
  ...output,
231
231
  body: await parseErrorBody(output.body, context),
@@ -234,22 +234,22 @@ const deserializeAws_json1_0DeleteKeyspaceCommandError = async (output, context)
234
234
  switch (errorCode) {
235
235
  case "AccessDeniedException":
236
236
  case "com.amazonaws.keyspaces#AccessDeniedException":
237
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
237
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
238
238
  case "ConflictException":
239
239
  case "com.amazonaws.keyspaces#ConflictException":
240
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
240
+ throw await de_ConflictExceptionRes(parsedOutput, context);
241
241
  case "InternalServerException":
242
242
  case "com.amazonaws.keyspaces#InternalServerException":
243
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
243
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
244
244
  case "ResourceNotFoundException":
245
245
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
246
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
246
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
247
247
  case "ServiceQuotaExceededException":
248
248
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
249
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
249
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
250
250
  case "ValidationException":
251
251
  case "com.amazonaws.keyspaces#ValidationException":
252
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
252
+ throw await de_ValidationExceptionRes(parsedOutput, context);
253
253
  default:
254
254
  const parsedBody = parsedOutput.body;
255
255
  throwDefaultError({
@@ -260,20 +260,20 @@ const deserializeAws_json1_0DeleteKeyspaceCommandError = async (output, context)
260
260
  });
261
261
  }
262
262
  };
263
- export const deserializeAws_json1_0DeleteTableCommand = async (output, context) => {
263
+ export const de_DeleteTableCommand = async (output, context) => {
264
264
  if (output.statusCode >= 300) {
265
- return deserializeAws_json1_0DeleteTableCommandError(output, context);
265
+ return de_DeleteTableCommandError(output, context);
266
266
  }
267
267
  const data = await parseBody(output.body, context);
268
268
  let contents = {};
269
- contents = deserializeAws_json1_0DeleteTableResponse(data, context);
269
+ contents = de_DeleteTableResponse(data, context);
270
270
  const response = {
271
271
  $metadata: deserializeMetadata(output),
272
272
  ...contents,
273
273
  };
274
274
  return Promise.resolve(response);
275
275
  };
276
- const deserializeAws_json1_0DeleteTableCommandError = async (output, context) => {
276
+ const de_DeleteTableCommandError = async (output, context) => {
277
277
  const parsedOutput = {
278
278
  ...output,
279
279
  body: await parseErrorBody(output.body, context),
@@ -282,22 +282,22 @@ const deserializeAws_json1_0DeleteTableCommandError = async (output, context) =>
282
282
  switch (errorCode) {
283
283
  case "AccessDeniedException":
284
284
  case "com.amazonaws.keyspaces#AccessDeniedException":
285
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
285
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
286
286
  case "ConflictException":
287
287
  case "com.amazonaws.keyspaces#ConflictException":
288
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
288
+ throw await de_ConflictExceptionRes(parsedOutput, context);
289
289
  case "InternalServerException":
290
290
  case "com.amazonaws.keyspaces#InternalServerException":
291
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
291
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
292
292
  case "ResourceNotFoundException":
293
293
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
294
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
294
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
295
295
  case "ServiceQuotaExceededException":
296
296
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
297
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
297
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
298
298
  case "ValidationException":
299
299
  case "com.amazonaws.keyspaces#ValidationException":
300
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
300
+ throw await de_ValidationExceptionRes(parsedOutput, context);
301
301
  default:
302
302
  const parsedBody = parsedOutput.body;
303
303
  throwDefaultError({
@@ -308,20 +308,20 @@ const deserializeAws_json1_0DeleteTableCommandError = async (output, context) =>
308
308
  });
309
309
  }
310
310
  };
311
- export const deserializeAws_json1_0GetKeyspaceCommand = async (output, context) => {
311
+ export const de_GetKeyspaceCommand = async (output, context) => {
312
312
  if (output.statusCode >= 300) {
313
- return deserializeAws_json1_0GetKeyspaceCommandError(output, context);
313
+ return de_GetKeyspaceCommandError(output, context);
314
314
  }
315
315
  const data = await parseBody(output.body, context);
316
316
  let contents = {};
317
- contents = deserializeAws_json1_0GetKeyspaceResponse(data, context);
317
+ contents = de_GetKeyspaceResponse(data, context);
318
318
  const response = {
319
319
  $metadata: deserializeMetadata(output),
320
320
  ...contents,
321
321
  };
322
322
  return Promise.resolve(response);
323
323
  };
324
- const deserializeAws_json1_0GetKeyspaceCommandError = async (output, context) => {
324
+ const de_GetKeyspaceCommandError = async (output, context) => {
325
325
  const parsedOutput = {
326
326
  ...output,
327
327
  body: await parseErrorBody(output.body, context),
@@ -330,19 +330,19 @@ const deserializeAws_json1_0GetKeyspaceCommandError = async (output, context) =>
330
330
  switch (errorCode) {
331
331
  case "AccessDeniedException":
332
332
  case "com.amazonaws.keyspaces#AccessDeniedException":
333
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
333
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
334
334
  case "InternalServerException":
335
335
  case "com.amazonaws.keyspaces#InternalServerException":
336
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
336
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
337
337
  case "ResourceNotFoundException":
338
338
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
339
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
339
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
340
340
  case "ServiceQuotaExceededException":
341
341
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
342
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
342
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
343
343
  case "ValidationException":
344
344
  case "com.amazonaws.keyspaces#ValidationException":
345
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
345
+ throw await de_ValidationExceptionRes(parsedOutput, context);
346
346
  default:
347
347
  const parsedBody = parsedOutput.body;
348
348
  throwDefaultError({
@@ -353,20 +353,20 @@ const deserializeAws_json1_0GetKeyspaceCommandError = async (output, context) =>
353
353
  });
354
354
  }
355
355
  };
356
- export const deserializeAws_json1_0GetTableCommand = async (output, context) => {
356
+ export const de_GetTableCommand = async (output, context) => {
357
357
  if (output.statusCode >= 300) {
358
- return deserializeAws_json1_0GetTableCommandError(output, context);
358
+ return de_GetTableCommandError(output, context);
359
359
  }
360
360
  const data = await parseBody(output.body, context);
361
361
  let contents = {};
362
- contents = deserializeAws_json1_0GetTableResponse(data, context);
362
+ contents = de_GetTableResponse(data, context);
363
363
  const response = {
364
364
  $metadata: deserializeMetadata(output),
365
365
  ...contents,
366
366
  };
367
367
  return Promise.resolve(response);
368
368
  };
369
- const deserializeAws_json1_0GetTableCommandError = async (output, context) => {
369
+ const de_GetTableCommandError = async (output, context) => {
370
370
  const parsedOutput = {
371
371
  ...output,
372
372
  body: await parseErrorBody(output.body, context),
@@ -375,19 +375,19 @@ const deserializeAws_json1_0GetTableCommandError = async (output, context) => {
375
375
  switch (errorCode) {
376
376
  case "AccessDeniedException":
377
377
  case "com.amazonaws.keyspaces#AccessDeniedException":
378
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
378
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
379
379
  case "InternalServerException":
380
380
  case "com.amazonaws.keyspaces#InternalServerException":
381
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
381
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
382
382
  case "ResourceNotFoundException":
383
383
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
384
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
384
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
385
385
  case "ServiceQuotaExceededException":
386
386
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
387
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
387
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
388
388
  case "ValidationException":
389
389
  case "com.amazonaws.keyspaces#ValidationException":
390
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
390
+ throw await de_ValidationExceptionRes(parsedOutput, context);
391
391
  default:
392
392
  const parsedBody = parsedOutput.body;
393
393
  throwDefaultError({
@@ -398,20 +398,20 @@ const deserializeAws_json1_0GetTableCommandError = async (output, context) => {
398
398
  });
399
399
  }
400
400
  };
401
- export const deserializeAws_json1_0ListKeyspacesCommand = async (output, context) => {
401
+ export const de_ListKeyspacesCommand = async (output, context) => {
402
402
  if (output.statusCode >= 300) {
403
- return deserializeAws_json1_0ListKeyspacesCommandError(output, context);
403
+ return de_ListKeyspacesCommandError(output, context);
404
404
  }
405
405
  const data = await parseBody(output.body, context);
406
406
  let contents = {};
407
- contents = deserializeAws_json1_0ListKeyspacesResponse(data, context);
407
+ contents = de_ListKeyspacesResponse(data, context);
408
408
  const response = {
409
409
  $metadata: deserializeMetadata(output),
410
410
  ...contents,
411
411
  };
412
412
  return Promise.resolve(response);
413
413
  };
414
- const deserializeAws_json1_0ListKeyspacesCommandError = async (output, context) => {
414
+ const de_ListKeyspacesCommandError = async (output, context) => {
415
415
  const parsedOutput = {
416
416
  ...output,
417
417
  body: await parseErrorBody(output.body, context),
@@ -420,19 +420,19 @@ const deserializeAws_json1_0ListKeyspacesCommandError = async (output, context)
420
420
  switch (errorCode) {
421
421
  case "AccessDeniedException":
422
422
  case "com.amazonaws.keyspaces#AccessDeniedException":
423
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
423
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
424
424
  case "InternalServerException":
425
425
  case "com.amazonaws.keyspaces#InternalServerException":
426
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
426
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
427
427
  case "ResourceNotFoundException":
428
428
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
429
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
429
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
430
430
  case "ServiceQuotaExceededException":
431
431
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
432
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
432
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
433
433
  case "ValidationException":
434
434
  case "com.amazonaws.keyspaces#ValidationException":
435
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
435
+ throw await de_ValidationExceptionRes(parsedOutput, context);
436
436
  default:
437
437
  const parsedBody = parsedOutput.body;
438
438
  throwDefaultError({
@@ -443,20 +443,20 @@ const deserializeAws_json1_0ListKeyspacesCommandError = async (output, context)
443
443
  });
444
444
  }
445
445
  };
446
- export const deserializeAws_json1_0ListTablesCommand = async (output, context) => {
446
+ export const de_ListTablesCommand = async (output, context) => {
447
447
  if (output.statusCode >= 300) {
448
- return deserializeAws_json1_0ListTablesCommandError(output, context);
448
+ return de_ListTablesCommandError(output, context);
449
449
  }
450
450
  const data = await parseBody(output.body, context);
451
451
  let contents = {};
452
- contents = deserializeAws_json1_0ListTablesResponse(data, context);
452
+ contents = de_ListTablesResponse(data, context);
453
453
  const response = {
454
454
  $metadata: deserializeMetadata(output),
455
455
  ...contents,
456
456
  };
457
457
  return Promise.resolve(response);
458
458
  };
459
- const deserializeAws_json1_0ListTablesCommandError = async (output, context) => {
459
+ const de_ListTablesCommandError = async (output, context) => {
460
460
  const parsedOutput = {
461
461
  ...output,
462
462
  body: await parseErrorBody(output.body, context),
@@ -465,19 +465,19 @@ const deserializeAws_json1_0ListTablesCommandError = async (output, context) =>
465
465
  switch (errorCode) {
466
466
  case "AccessDeniedException":
467
467
  case "com.amazonaws.keyspaces#AccessDeniedException":
468
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
468
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
469
469
  case "InternalServerException":
470
470
  case "com.amazonaws.keyspaces#InternalServerException":
471
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
471
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
472
472
  case "ResourceNotFoundException":
473
473
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
474
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
474
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
475
475
  case "ServiceQuotaExceededException":
476
476
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
477
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
477
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
478
478
  case "ValidationException":
479
479
  case "com.amazonaws.keyspaces#ValidationException":
480
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
480
+ throw await de_ValidationExceptionRes(parsedOutput, context);
481
481
  default:
482
482
  const parsedBody = parsedOutput.body;
483
483
  throwDefaultError({
@@ -488,20 +488,20 @@ const deserializeAws_json1_0ListTablesCommandError = async (output, context) =>
488
488
  });
489
489
  }
490
490
  };
491
- export const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
491
+ export const de_ListTagsForResourceCommand = async (output, context) => {
492
492
  if (output.statusCode >= 300) {
493
- return deserializeAws_json1_0ListTagsForResourceCommandError(output, context);
493
+ return de_ListTagsForResourceCommandError(output, context);
494
494
  }
495
495
  const data = await parseBody(output.body, context);
496
496
  let contents = {};
497
- contents = deserializeAws_json1_0ListTagsForResourceResponse(data, context);
497
+ contents = de_ListTagsForResourceResponse(data, context);
498
498
  const response = {
499
499
  $metadata: deserializeMetadata(output),
500
500
  ...contents,
501
501
  };
502
502
  return Promise.resolve(response);
503
503
  };
504
- const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, context) => {
504
+ const de_ListTagsForResourceCommandError = async (output, context) => {
505
505
  const parsedOutput = {
506
506
  ...output,
507
507
  body: await parseErrorBody(output.body, context),
@@ -510,19 +510,19 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
510
510
  switch (errorCode) {
511
511
  case "AccessDeniedException":
512
512
  case "com.amazonaws.keyspaces#AccessDeniedException":
513
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
513
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
514
514
  case "InternalServerException":
515
515
  case "com.amazonaws.keyspaces#InternalServerException":
516
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
516
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
517
517
  case "ResourceNotFoundException":
518
518
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
519
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
519
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
520
520
  case "ServiceQuotaExceededException":
521
521
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
522
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
522
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
523
523
  case "ValidationException":
524
524
  case "com.amazonaws.keyspaces#ValidationException":
525
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
525
+ throw await de_ValidationExceptionRes(parsedOutput, context);
526
526
  default:
527
527
  const parsedBody = parsedOutput.body;
528
528
  throwDefaultError({
@@ -533,20 +533,20 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
533
533
  });
534
534
  }
535
535
  };
536
- export const deserializeAws_json1_0RestoreTableCommand = async (output, context) => {
536
+ export const de_RestoreTableCommand = async (output, context) => {
537
537
  if (output.statusCode >= 300) {
538
- return deserializeAws_json1_0RestoreTableCommandError(output, context);
538
+ return de_RestoreTableCommandError(output, context);
539
539
  }
540
540
  const data = await parseBody(output.body, context);
541
541
  let contents = {};
542
- contents = deserializeAws_json1_0RestoreTableResponse(data, context);
542
+ contents = de_RestoreTableResponse(data, context);
543
543
  const response = {
544
544
  $metadata: deserializeMetadata(output),
545
545
  ...contents,
546
546
  };
547
547
  return Promise.resolve(response);
548
548
  };
549
- const deserializeAws_json1_0RestoreTableCommandError = async (output, context) => {
549
+ const de_RestoreTableCommandError = async (output, context) => {
550
550
  const parsedOutput = {
551
551
  ...output,
552
552
  body: await parseErrorBody(output.body, context),
@@ -555,22 +555,22 @@ const deserializeAws_json1_0RestoreTableCommandError = async (output, context) =
555
555
  switch (errorCode) {
556
556
  case "AccessDeniedException":
557
557
  case "com.amazonaws.keyspaces#AccessDeniedException":
558
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
558
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
559
559
  case "ConflictException":
560
560
  case "com.amazonaws.keyspaces#ConflictException":
561
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
561
+ throw await de_ConflictExceptionRes(parsedOutput, context);
562
562
  case "InternalServerException":
563
563
  case "com.amazonaws.keyspaces#InternalServerException":
564
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
564
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
565
565
  case "ResourceNotFoundException":
566
566
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
567
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
568
568
  case "ServiceQuotaExceededException":
569
569
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
570
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
570
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
571
571
  case "ValidationException":
572
572
  case "com.amazonaws.keyspaces#ValidationException":
573
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
573
+ throw await de_ValidationExceptionRes(parsedOutput, context);
574
574
  default:
575
575
  const parsedBody = parsedOutput.body;
576
576
  throwDefaultError({
@@ -581,20 +581,20 @@ const deserializeAws_json1_0RestoreTableCommandError = async (output, context) =
581
581
  });
582
582
  }
583
583
  };
584
- export const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
584
+ export const de_TagResourceCommand = async (output, context) => {
585
585
  if (output.statusCode >= 300) {
586
- return deserializeAws_json1_0TagResourceCommandError(output, context);
586
+ return de_TagResourceCommandError(output, context);
587
587
  }
588
588
  const data = await parseBody(output.body, context);
589
589
  let contents = {};
590
- contents = deserializeAws_json1_0TagResourceResponse(data, context);
590
+ contents = de_TagResourceResponse(data, context);
591
591
  const response = {
592
592
  $metadata: deserializeMetadata(output),
593
593
  ...contents,
594
594
  };
595
595
  return Promise.resolve(response);
596
596
  };
597
- const deserializeAws_json1_0TagResourceCommandError = async (output, context) => {
597
+ const de_TagResourceCommandError = async (output, context) => {
598
598
  const parsedOutput = {
599
599
  ...output,
600
600
  body: await parseErrorBody(output.body, context),
@@ -603,19 +603,19 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
603
603
  switch (errorCode) {
604
604
  case "AccessDeniedException":
605
605
  case "com.amazonaws.keyspaces#AccessDeniedException":
606
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
606
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
607
607
  case "InternalServerException":
608
608
  case "com.amazonaws.keyspaces#InternalServerException":
609
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
609
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
610
610
  case "ResourceNotFoundException":
611
611
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
612
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
612
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
613
613
  case "ServiceQuotaExceededException":
614
614
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
615
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
615
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
616
616
  case "ValidationException":
617
617
  case "com.amazonaws.keyspaces#ValidationException":
618
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
618
+ throw await de_ValidationExceptionRes(parsedOutput, context);
619
619
  default:
620
620
  const parsedBody = parsedOutput.body;
621
621
  throwDefaultError({
@@ -626,20 +626,20 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
626
626
  });
627
627
  }
628
628
  };
629
- export const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
629
+ export const de_UntagResourceCommand = async (output, context) => {
630
630
  if (output.statusCode >= 300) {
631
- return deserializeAws_json1_0UntagResourceCommandError(output, context);
631
+ return de_UntagResourceCommandError(output, context);
632
632
  }
633
633
  const data = await parseBody(output.body, context);
634
634
  let contents = {};
635
- contents = deserializeAws_json1_0UntagResourceResponse(data, context);
635
+ contents = de_UntagResourceResponse(data, context);
636
636
  const response = {
637
637
  $metadata: deserializeMetadata(output),
638
638
  ...contents,
639
639
  };
640
640
  return Promise.resolve(response);
641
641
  };
642
- const deserializeAws_json1_0UntagResourceCommandError = async (output, context) => {
642
+ const de_UntagResourceCommandError = async (output, context) => {
643
643
  const parsedOutput = {
644
644
  ...output,
645
645
  body: await parseErrorBody(output.body, context),
@@ -648,22 +648,22 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
648
648
  switch (errorCode) {
649
649
  case "AccessDeniedException":
650
650
  case "com.amazonaws.keyspaces#AccessDeniedException":
651
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
651
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
652
652
  case "ConflictException":
653
653
  case "com.amazonaws.keyspaces#ConflictException":
654
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
654
+ throw await de_ConflictExceptionRes(parsedOutput, context);
655
655
  case "InternalServerException":
656
656
  case "com.amazonaws.keyspaces#InternalServerException":
657
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
657
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
658
658
  case "ResourceNotFoundException":
659
659
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
660
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
660
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
661
661
  case "ServiceQuotaExceededException":
662
662
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
663
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
663
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
664
664
  case "ValidationException":
665
665
  case "com.amazonaws.keyspaces#ValidationException":
666
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
666
+ throw await de_ValidationExceptionRes(parsedOutput, context);
667
667
  default:
668
668
  const parsedBody = parsedOutput.body;
669
669
  throwDefaultError({
@@ -674,20 +674,20 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
674
674
  });
675
675
  }
676
676
  };
677
- export const deserializeAws_json1_0UpdateTableCommand = async (output, context) => {
677
+ export const de_UpdateTableCommand = async (output, context) => {
678
678
  if (output.statusCode >= 300) {
679
- return deserializeAws_json1_0UpdateTableCommandError(output, context);
679
+ return de_UpdateTableCommandError(output, context);
680
680
  }
681
681
  const data = await parseBody(output.body, context);
682
682
  let contents = {};
683
- contents = deserializeAws_json1_0UpdateTableResponse(data, context);
683
+ contents = de_UpdateTableResponse(data, context);
684
684
  const response = {
685
685
  $metadata: deserializeMetadata(output),
686
686
  ...contents,
687
687
  };
688
688
  return Promise.resolve(response);
689
689
  };
690
- const deserializeAws_json1_0UpdateTableCommandError = async (output, context) => {
690
+ const de_UpdateTableCommandError = async (output, context) => {
691
691
  const parsedOutput = {
692
692
  ...output,
693
693
  body: await parseErrorBody(output.body, context),
@@ -696,22 +696,22 @@ const deserializeAws_json1_0UpdateTableCommandError = async (output, context) =>
696
696
  switch (errorCode) {
697
697
  case "AccessDeniedException":
698
698
  case "com.amazonaws.keyspaces#AccessDeniedException":
699
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
699
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
700
700
  case "ConflictException":
701
701
  case "com.amazonaws.keyspaces#ConflictException":
702
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
702
+ throw await de_ConflictExceptionRes(parsedOutput, context);
703
703
  case "InternalServerException":
704
704
  case "com.amazonaws.keyspaces#InternalServerException":
705
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
705
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
706
706
  case "ResourceNotFoundException":
707
707
  case "com.amazonaws.keyspaces#ResourceNotFoundException":
708
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
708
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
709
709
  case "ServiceQuotaExceededException":
710
710
  case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
711
- throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
711
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
712
712
  case "ValidationException":
713
713
  case "com.amazonaws.keyspaces#ValidationException":
714
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
714
+ throw await de_ValidationExceptionRes(parsedOutput, context);
715
715
  default:
716
716
  const parsedBody = parsedOutput.body;
717
717
  throwDefaultError({
@@ -722,305 +722,293 @@ const deserializeAws_json1_0UpdateTableCommandError = async (output, context) =>
722
722
  });
723
723
  }
724
724
  };
725
- const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
725
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
726
726
  const body = parsedOutput.body;
727
- const deserialized = deserializeAws_json1_0AccessDeniedException(body, context);
727
+ const deserialized = de_AccessDeniedException(body, context);
728
728
  const exception = new AccessDeniedException({
729
729
  $metadata: deserializeMetadata(parsedOutput),
730
730
  ...deserialized,
731
731
  });
732
732
  return __decorateServiceException(exception, body);
733
733
  };
734
- const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
734
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
735
735
  const body = parsedOutput.body;
736
- const deserialized = deserializeAws_json1_0ConflictException(body, context);
736
+ const deserialized = de_ConflictException(body, context);
737
737
  const exception = new ConflictException({
738
738
  $metadata: deserializeMetadata(parsedOutput),
739
739
  ...deserialized,
740
740
  });
741
741
  return __decorateServiceException(exception, body);
742
742
  };
743
- const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
743
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
744
744
  const body = parsedOutput.body;
745
- const deserialized = deserializeAws_json1_0InternalServerException(body, context);
745
+ const deserialized = de_InternalServerException(body, context);
746
746
  const exception = new InternalServerException({
747
747
  $metadata: deserializeMetadata(parsedOutput),
748
748
  ...deserialized,
749
749
  });
750
750
  return __decorateServiceException(exception, body);
751
751
  };
752
- const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
752
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
753
753
  const body = parsedOutput.body;
754
- const deserialized = deserializeAws_json1_0ResourceNotFoundException(body, context);
754
+ const deserialized = de_ResourceNotFoundException(body, context);
755
755
  const exception = new ResourceNotFoundException({
756
756
  $metadata: deserializeMetadata(parsedOutput),
757
757
  ...deserialized,
758
758
  });
759
759
  return __decorateServiceException(exception, body);
760
760
  };
761
- const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
761
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
762
762
  const body = parsedOutput.body;
763
- const deserialized = deserializeAws_json1_0ServiceQuotaExceededException(body, context);
763
+ const deserialized = de_ServiceQuotaExceededException(body, context);
764
764
  const exception = new ServiceQuotaExceededException({
765
765
  $metadata: deserializeMetadata(parsedOutput),
766
766
  ...deserialized,
767
767
  });
768
768
  return __decorateServiceException(exception, body);
769
769
  };
770
- const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
770
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
771
771
  const body = parsedOutput.body;
772
- const deserialized = deserializeAws_json1_0ValidationException(body, context);
772
+ const deserialized = de_ValidationException(body, context);
773
773
  const exception = new ValidationException({
774
774
  $metadata: deserializeMetadata(parsedOutput),
775
775
  ...deserialized,
776
776
  });
777
777
  return __decorateServiceException(exception, body);
778
778
  };
779
- const serializeAws_json1_0CapacitySpecification = (input, context) => {
779
+ const se_CapacitySpecification = (input, context) => {
780
780
  return {
781
781
  ...(input.readCapacityUnits != null && { readCapacityUnits: input.readCapacityUnits }),
782
782
  ...(input.throughputMode != null && { throughputMode: input.throughputMode }),
783
783
  ...(input.writeCapacityUnits != null && { writeCapacityUnits: input.writeCapacityUnits }),
784
784
  };
785
785
  };
786
- const serializeAws_json1_0ClientSideTimestamps = (input, context) => {
786
+ const se_ClientSideTimestamps = (input, context) => {
787
787
  return {
788
788
  ...(input.status != null && { status: input.status }),
789
789
  };
790
790
  };
791
- const serializeAws_json1_0ClusteringKey = (input, context) => {
791
+ const se_ClusteringKey = (input, context) => {
792
792
  return {
793
793
  ...(input.name != null && { name: input.name }),
794
794
  ...(input.orderBy != null && { orderBy: input.orderBy }),
795
795
  };
796
796
  };
797
- const serializeAws_json1_0ClusteringKeyList = (input, context) => {
797
+ const se_ClusteringKeyList = (input, context) => {
798
798
  return input
799
799
  .filter((e) => e != null)
800
800
  .map((entry) => {
801
- return serializeAws_json1_0ClusteringKey(entry, context);
801
+ return se_ClusteringKey(entry, context);
802
802
  });
803
803
  };
804
- const serializeAws_json1_0ColumnDefinition = (input, context) => {
804
+ const se_ColumnDefinition = (input, context) => {
805
805
  return {
806
806
  ...(input.name != null && { name: input.name }),
807
807
  ...(input.type != null && { type: input.type }),
808
808
  };
809
809
  };
810
- const serializeAws_json1_0ColumnDefinitionList = (input, context) => {
810
+ const se_ColumnDefinitionList = (input, context) => {
811
811
  return input
812
812
  .filter((e) => e != null)
813
813
  .map((entry) => {
814
- return serializeAws_json1_0ColumnDefinition(entry, context);
814
+ return se_ColumnDefinition(entry, context);
815
815
  });
816
816
  };
817
- const serializeAws_json1_0Comment = (input, context) => {
817
+ const se_Comment = (input, context) => {
818
818
  return {
819
819
  ...(input.message != null && { message: input.message }),
820
820
  };
821
821
  };
822
- const serializeAws_json1_0CreateKeyspaceRequest = (input, context) => {
822
+ const se_CreateKeyspaceRequest = (input, context) => {
823
823
  return {
824
824
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
825
- ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
825
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
826
826
  };
827
827
  };
828
- const serializeAws_json1_0CreateTableRequest = (input, context) => {
828
+ const se_CreateTableRequest = (input, context) => {
829
829
  return {
830
830
  ...(input.capacitySpecification != null && {
831
- capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
831
+ capacitySpecification: se_CapacitySpecification(input.capacitySpecification, context),
832
832
  }),
833
833
  ...(input.clientSideTimestamps != null && {
834
- clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
834
+ clientSideTimestamps: se_ClientSideTimestamps(input.clientSideTimestamps, context),
835
835
  }),
836
- ...(input.comment != null && { comment: serializeAws_json1_0Comment(input.comment, context) }),
836
+ ...(input.comment != null && { comment: se_Comment(input.comment, context) }),
837
837
  ...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
838
838
  ...(input.encryptionSpecification != null && {
839
- encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
839
+ encryptionSpecification: se_EncryptionSpecification(input.encryptionSpecification, context),
840
840
  }),
841
841
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
842
842
  ...(input.pointInTimeRecovery != null && {
843
- pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
844
- }),
845
- ...(input.schemaDefinition != null && {
846
- schemaDefinition: serializeAws_json1_0SchemaDefinition(input.schemaDefinition, context),
843
+ pointInTimeRecovery: se_PointInTimeRecovery(input.pointInTimeRecovery, context),
847
844
  }),
845
+ ...(input.schemaDefinition != null && { schemaDefinition: se_SchemaDefinition(input.schemaDefinition, context) }),
848
846
  ...(input.tableName != null && { tableName: input.tableName }),
849
- ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
850
- ...(input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }),
847
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
848
+ ...(input.ttl != null && { ttl: se_TimeToLive(input.ttl, context) }),
851
849
  };
852
850
  };
853
- const serializeAws_json1_0DeleteKeyspaceRequest = (input, context) => {
851
+ const se_DeleteKeyspaceRequest = (input, context) => {
854
852
  return {
855
853
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
856
854
  };
857
855
  };
858
- const serializeAws_json1_0DeleteTableRequest = (input, context) => {
856
+ const se_DeleteTableRequest = (input, context) => {
859
857
  return {
860
858
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
861
859
  ...(input.tableName != null && { tableName: input.tableName }),
862
860
  };
863
861
  };
864
- const serializeAws_json1_0EncryptionSpecification = (input, context) => {
862
+ const se_EncryptionSpecification = (input, context) => {
865
863
  return {
866
864
  ...(input.kmsKeyIdentifier != null && { kmsKeyIdentifier: input.kmsKeyIdentifier }),
867
865
  ...(input.type != null && { type: input.type }),
868
866
  };
869
867
  };
870
- const serializeAws_json1_0GetKeyspaceRequest = (input, context) => {
868
+ const se_GetKeyspaceRequest = (input, context) => {
871
869
  return {
872
870
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
873
871
  };
874
872
  };
875
- const serializeAws_json1_0GetTableRequest = (input, context) => {
873
+ const se_GetTableRequest = (input, context) => {
876
874
  return {
877
875
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
878
876
  ...(input.tableName != null && { tableName: input.tableName }),
879
877
  };
880
878
  };
881
- const serializeAws_json1_0ListKeyspacesRequest = (input, context) => {
879
+ const se_ListKeyspacesRequest = (input, context) => {
882
880
  return {
883
881
  ...(input.maxResults != null && { maxResults: input.maxResults }),
884
882
  ...(input.nextToken != null && { nextToken: input.nextToken }),
885
883
  };
886
884
  };
887
- const serializeAws_json1_0ListTablesRequest = (input, context) => {
885
+ const se_ListTablesRequest = (input, context) => {
888
886
  return {
889
887
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
890
888
  ...(input.maxResults != null && { maxResults: input.maxResults }),
891
889
  ...(input.nextToken != null && { nextToken: input.nextToken }),
892
890
  };
893
891
  };
894
- const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
892
+ const se_ListTagsForResourceRequest = (input, context) => {
895
893
  return {
896
894
  ...(input.maxResults != null && { maxResults: input.maxResults }),
897
895
  ...(input.nextToken != null && { nextToken: input.nextToken }),
898
896
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
899
897
  };
900
898
  };
901
- const serializeAws_json1_0PartitionKey = (input, context) => {
899
+ const se_PartitionKey = (input, context) => {
902
900
  return {
903
901
  ...(input.name != null && { name: input.name }),
904
902
  };
905
903
  };
906
- const serializeAws_json1_0PartitionKeyList = (input, context) => {
904
+ const se_PartitionKeyList = (input, context) => {
907
905
  return input
908
906
  .filter((e) => e != null)
909
907
  .map((entry) => {
910
- return serializeAws_json1_0PartitionKey(entry, context);
908
+ return se_PartitionKey(entry, context);
911
909
  });
912
910
  };
913
- const serializeAws_json1_0PointInTimeRecovery = (input, context) => {
911
+ const se_PointInTimeRecovery = (input, context) => {
914
912
  return {
915
913
  ...(input.status != null && { status: input.status }),
916
914
  };
917
915
  };
918
- const serializeAws_json1_0RestoreTableRequest = (input, context) => {
916
+ const se_RestoreTableRequest = (input, context) => {
919
917
  return {
920
918
  ...(input.capacitySpecificationOverride != null && {
921
- capacitySpecificationOverride: serializeAws_json1_0CapacitySpecification(input.capacitySpecificationOverride, context),
919
+ capacitySpecificationOverride: se_CapacitySpecification(input.capacitySpecificationOverride, context),
922
920
  }),
923
921
  ...(input.encryptionSpecificationOverride != null && {
924
- encryptionSpecificationOverride: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecificationOverride, context),
922
+ encryptionSpecificationOverride: se_EncryptionSpecification(input.encryptionSpecificationOverride, context),
925
923
  }),
926
924
  ...(input.pointInTimeRecoveryOverride != null && {
927
- pointInTimeRecoveryOverride: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecoveryOverride, context),
925
+ pointInTimeRecoveryOverride: se_PointInTimeRecovery(input.pointInTimeRecoveryOverride, context),
928
926
  }),
929
927
  ...(input.restoreTimestamp != null && { restoreTimestamp: Math.round(input.restoreTimestamp.getTime() / 1000) }),
930
928
  ...(input.sourceKeyspaceName != null && { sourceKeyspaceName: input.sourceKeyspaceName }),
931
929
  ...(input.sourceTableName != null && { sourceTableName: input.sourceTableName }),
932
- ...(input.tagsOverride != null && { tagsOverride: serializeAws_json1_0TagList(input.tagsOverride, context) }),
930
+ ...(input.tagsOverride != null && { tagsOverride: se_TagList(input.tagsOverride, context) }),
933
931
  ...(input.targetKeyspaceName != null && { targetKeyspaceName: input.targetKeyspaceName }),
934
932
  ...(input.targetTableName != null && { targetTableName: input.targetTableName }),
935
933
  };
936
934
  };
937
- const serializeAws_json1_0SchemaDefinition = (input, context) => {
935
+ const se_SchemaDefinition = (input, context) => {
938
936
  return {
939
- ...(input.allColumns != null && {
940
- allColumns: serializeAws_json1_0ColumnDefinitionList(input.allColumns, context),
941
- }),
942
- ...(input.clusteringKeys != null && {
943
- clusteringKeys: serializeAws_json1_0ClusteringKeyList(input.clusteringKeys, context),
944
- }),
945
- ...(input.partitionKeys != null && {
946
- partitionKeys: serializeAws_json1_0PartitionKeyList(input.partitionKeys, context),
947
- }),
948
- ...(input.staticColumns != null && {
949
- staticColumns: serializeAws_json1_0StaticColumnList(input.staticColumns, context),
950
- }),
937
+ ...(input.allColumns != null && { allColumns: se_ColumnDefinitionList(input.allColumns, context) }),
938
+ ...(input.clusteringKeys != null && { clusteringKeys: se_ClusteringKeyList(input.clusteringKeys, context) }),
939
+ ...(input.partitionKeys != null && { partitionKeys: se_PartitionKeyList(input.partitionKeys, context) }),
940
+ ...(input.staticColumns != null && { staticColumns: se_StaticColumnList(input.staticColumns, context) }),
951
941
  };
952
942
  };
953
- const serializeAws_json1_0StaticColumn = (input, context) => {
943
+ const se_StaticColumn = (input, context) => {
954
944
  return {
955
945
  ...(input.name != null && { name: input.name }),
956
946
  };
957
947
  };
958
- const serializeAws_json1_0StaticColumnList = (input, context) => {
948
+ const se_StaticColumnList = (input, context) => {
959
949
  return input
960
950
  .filter((e) => e != null)
961
951
  .map((entry) => {
962
- return serializeAws_json1_0StaticColumn(entry, context);
952
+ return se_StaticColumn(entry, context);
963
953
  });
964
954
  };
965
- const serializeAws_json1_0Tag = (input, context) => {
955
+ const se_Tag = (input, context) => {
966
956
  return {
967
957
  ...(input.key != null && { key: input.key }),
968
958
  ...(input.value != null && { value: input.value }),
969
959
  };
970
960
  };
971
- const serializeAws_json1_0TagList = (input, context) => {
961
+ const se_TagList = (input, context) => {
972
962
  return input
973
963
  .filter((e) => e != null)
974
964
  .map((entry) => {
975
- return serializeAws_json1_0Tag(entry, context);
965
+ return se_Tag(entry, context);
976
966
  });
977
967
  };
978
- const serializeAws_json1_0TagResourceRequest = (input, context) => {
968
+ const se_TagResourceRequest = (input, context) => {
979
969
  return {
980
970
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
981
- ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
971
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
982
972
  };
983
973
  };
984
- const serializeAws_json1_0TimeToLive = (input, context) => {
974
+ const se_TimeToLive = (input, context) => {
985
975
  return {
986
976
  ...(input.status != null && { status: input.status }),
987
977
  };
988
978
  };
989
- const serializeAws_json1_0UntagResourceRequest = (input, context) => {
979
+ const se_UntagResourceRequest = (input, context) => {
990
980
  return {
991
981
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
992
- ...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
982
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
993
983
  };
994
984
  };
995
- const serializeAws_json1_0UpdateTableRequest = (input, context) => {
985
+ const se_UpdateTableRequest = (input, context) => {
996
986
  return {
997
- ...(input.addColumns != null && {
998
- addColumns: serializeAws_json1_0ColumnDefinitionList(input.addColumns, context),
999
- }),
987
+ ...(input.addColumns != null && { addColumns: se_ColumnDefinitionList(input.addColumns, context) }),
1000
988
  ...(input.capacitySpecification != null && {
1001
- capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
989
+ capacitySpecification: se_CapacitySpecification(input.capacitySpecification, context),
1002
990
  }),
1003
991
  ...(input.clientSideTimestamps != null && {
1004
- clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
992
+ clientSideTimestamps: se_ClientSideTimestamps(input.clientSideTimestamps, context),
1005
993
  }),
1006
994
  ...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
1007
995
  ...(input.encryptionSpecification != null && {
1008
- encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
996
+ encryptionSpecification: se_EncryptionSpecification(input.encryptionSpecification, context),
1009
997
  }),
1010
998
  ...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
1011
999
  ...(input.pointInTimeRecovery != null && {
1012
- pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
1000
+ pointInTimeRecovery: se_PointInTimeRecovery(input.pointInTimeRecovery, context),
1013
1001
  }),
1014
1002
  ...(input.tableName != null && { tableName: input.tableName }),
1015
- ...(input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }),
1003
+ ...(input.ttl != null && { ttl: se_TimeToLive(input.ttl, context) }),
1016
1004
  };
1017
1005
  };
1018
- const deserializeAws_json1_0AccessDeniedException = (output, context) => {
1006
+ const de_AccessDeniedException = (output, context) => {
1019
1007
  return {
1020
1008
  message: __expectString(output.message),
1021
1009
  };
1022
1010
  };
1023
- const deserializeAws_json1_0CapacitySpecificationSummary = (output, context) => {
1011
+ const de_CapacitySpecificationSummary = (output, context) => {
1024
1012
  return {
1025
1013
  lastUpdateToPayPerRequestTimestamp: output.lastUpdateToPayPerRequestTimestamp != null
1026
1014
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateToPayPerRequestTimestamp)))
@@ -1030,169 +1018,165 @@ const deserializeAws_json1_0CapacitySpecificationSummary = (output, context) =>
1030
1018
  writeCapacityUnits: __expectLong(output.writeCapacityUnits),
1031
1019
  };
1032
1020
  };
1033
- const deserializeAws_json1_0ClientSideTimestamps = (output, context) => {
1021
+ const de_ClientSideTimestamps = (output, context) => {
1034
1022
  return {
1035
1023
  status: __expectString(output.status),
1036
1024
  };
1037
1025
  };
1038
- const deserializeAws_json1_0ClusteringKey = (output, context) => {
1026
+ const de_ClusteringKey = (output, context) => {
1039
1027
  return {
1040
1028
  name: __expectString(output.name),
1041
1029
  orderBy: __expectString(output.orderBy),
1042
1030
  };
1043
1031
  };
1044
- const deserializeAws_json1_0ClusteringKeyList = (output, context) => {
1032
+ const de_ClusteringKeyList = (output, context) => {
1045
1033
  const retVal = (output || [])
1046
1034
  .filter((e) => e != null)
1047
1035
  .map((entry) => {
1048
1036
  if (entry === null) {
1049
1037
  return null;
1050
1038
  }
1051
- return deserializeAws_json1_0ClusteringKey(entry, context);
1039
+ return de_ClusteringKey(entry, context);
1052
1040
  });
1053
1041
  return retVal;
1054
1042
  };
1055
- const deserializeAws_json1_0ColumnDefinition = (output, context) => {
1043
+ const de_ColumnDefinition = (output, context) => {
1056
1044
  return {
1057
1045
  name: __expectString(output.name),
1058
1046
  type: __expectString(output.type),
1059
1047
  };
1060
1048
  };
1061
- const deserializeAws_json1_0ColumnDefinitionList = (output, context) => {
1049
+ const de_ColumnDefinitionList = (output, context) => {
1062
1050
  const retVal = (output || [])
1063
1051
  .filter((e) => e != null)
1064
1052
  .map((entry) => {
1065
1053
  if (entry === null) {
1066
1054
  return null;
1067
1055
  }
1068
- return deserializeAws_json1_0ColumnDefinition(entry, context);
1056
+ return de_ColumnDefinition(entry, context);
1069
1057
  });
1070
1058
  return retVal;
1071
1059
  };
1072
- const deserializeAws_json1_0Comment = (output, context) => {
1060
+ const de_Comment = (output, context) => {
1073
1061
  return {
1074
1062
  message: __expectString(output.message),
1075
1063
  };
1076
1064
  };
1077
- const deserializeAws_json1_0ConflictException = (output, context) => {
1065
+ const de_ConflictException = (output, context) => {
1078
1066
  return {
1079
1067
  message: __expectString(output.message),
1080
1068
  };
1081
1069
  };
1082
- const deserializeAws_json1_0CreateKeyspaceResponse = (output, context) => {
1070
+ const de_CreateKeyspaceResponse = (output, context) => {
1083
1071
  return {
1084
1072
  resourceArn: __expectString(output.resourceArn),
1085
1073
  };
1086
1074
  };
1087
- const deserializeAws_json1_0CreateTableResponse = (output, context) => {
1075
+ const de_CreateTableResponse = (output, context) => {
1088
1076
  return {
1089
1077
  resourceArn: __expectString(output.resourceArn),
1090
1078
  };
1091
1079
  };
1092
- const deserializeAws_json1_0DeleteKeyspaceResponse = (output, context) => {
1080
+ const de_DeleteKeyspaceResponse = (output, context) => {
1093
1081
  return {};
1094
1082
  };
1095
- const deserializeAws_json1_0DeleteTableResponse = (output, context) => {
1083
+ const de_DeleteTableResponse = (output, context) => {
1096
1084
  return {};
1097
1085
  };
1098
- const deserializeAws_json1_0EncryptionSpecification = (output, context) => {
1086
+ const de_EncryptionSpecification = (output, context) => {
1099
1087
  return {
1100
1088
  kmsKeyIdentifier: __expectString(output.kmsKeyIdentifier),
1101
1089
  type: __expectString(output.type),
1102
1090
  };
1103
1091
  };
1104
- const deserializeAws_json1_0GetKeyspaceResponse = (output, context) => {
1092
+ const de_GetKeyspaceResponse = (output, context) => {
1105
1093
  return {
1106
1094
  keyspaceName: __expectString(output.keyspaceName),
1107
1095
  resourceArn: __expectString(output.resourceArn),
1108
1096
  };
1109
1097
  };
1110
- const deserializeAws_json1_0GetTableResponse = (output, context) => {
1098
+ const de_GetTableResponse = (output, context) => {
1111
1099
  return {
1112
1100
  capacitySpecification: output.capacitySpecification != null
1113
- ? deserializeAws_json1_0CapacitySpecificationSummary(output.capacitySpecification, context)
1114
- : undefined,
1115
- clientSideTimestamps: output.clientSideTimestamps != null
1116
- ? deserializeAws_json1_0ClientSideTimestamps(output.clientSideTimestamps, context)
1101
+ ? de_CapacitySpecificationSummary(output.capacitySpecification, context)
1117
1102
  : undefined,
1118
- comment: output.comment != null ? deserializeAws_json1_0Comment(output.comment, context) : undefined,
1103
+ clientSideTimestamps: output.clientSideTimestamps != null ? de_ClientSideTimestamps(output.clientSideTimestamps, context) : undefined,
1104
+ comment: output.comment != null ? de_Comment(output.comment, context) : undefined,
1119
1105
  creationTimestamp: output.creationTimestamp != null
1120
1106
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTimestamp)))
1121
1107
  : undefined,
1122
1108
  defaultTimeToLive: __expectInt32(output.defaultTimeToLive),
1123
1109
  encryptionSpecification: output.encryptionSpecification != null
1124
- ? deserializeAws_json1_0EncryptionSpecification(output.encryptionSpecification, context)
1110
+ ? de_EncryptionSpecification(output.encryptionSpecification, context)
1125
1111
  : undefined,
1126
1112
  keyspaceName: __expectString(output.keyspaceName),
1127
1113
  pointInTimeRecovery: output.pointInTimeRecovery != null
1128
- ? deserializeAws_json1_0PointInTimeRecoverySummary(output.pointInTimeRecovery, context)
1114
+ ? de_PointInTimeRecoverySummary(output.pointInTimeRecovery, context)
1129
1115
  : undefined,
1130
1116
  resourceArn: __expectString(output.resourceArn),
1131
- schemaDefinition: output.schemaDefinition != null
1132
- ? deserializeAws_json1_0SchemaDefinition(output.schemaDefinition, context)
1133
- : undefined,
1117
+ schemaDefinition: output.schemaDefinition != null ? de_SchemaDefinition(output.schemaDefinition, context) : undefined,
1134
1118
  status: __expectString(output.status),
1135
1119
  tableName: __expectString(output.tableName),
1136
- ttl: output.ttl != null ? deserializeAws_json1_0TimeToLive(output.ttl, context) : undefined,
1120
+ ttl: output.ttl != null ? de_TimeToLive(output.ttl, context) : undefined,
1137
1121
  };
1138
1122
  };
1139
- const deserializeAws_json1_0InternalServerException = (output, context) => {
1123
+ const de_InternalServerException = (output, context) => {
1140
1124
  return {
1141
1125
  message: __expectString(output.message),
1142
1126
  };
1143
1127
  };
1144
- const deserializeAws_json1_0KeyspaceSummary = (output, context) => {
1128
+ const de_KeyspaceSummary = (output, context) => {
1145
1129
  return {
1146
1130
  keyspaceName: __expectString(output.keyspaceName),
1147
1131
  resourceArn: __expectString(output.resourceArn),
1148
1132
  };
1149
1133
  };
1150
- const deserializeAws_json1_0KeyspaceSummaryList = (output, context) => {
1134
+ const de_KeyspaceSummaryList = (output, context) => {
1151
1135
  const retVal = (output || [])
1152
1136
  .filter((e) => e != null)
1153
1137
  .map((entry) => {
1154
1138
  if (entry === null) {
1155
1139
  return null;
1156
1140
  }
1157
- return deserializeAws_json1_0KeyspaceSummary(entry, context);
1141
+ return de_KeyspaceSummary(entry, context);
1158
1142
  });
1159
1143
  return retVal;
1160
1144
  };
1161
- const deserializeAws_json1_0ListKeyspacesResponse = (output, context) => {
1145
+ const de_ListKeyspacesResponse = (output, context) => {
1162
1146
  return {
1163
- keyspaces: output.keyspaces != null ? deserializeAws_json1_0KeyspaceSummaryList(output.keyspaces, context) : undefined,
1147
+ keyspaces: output.keyspaces != null ? de_KeyspaceSummaryList(output.keyspaces, context) : undefined,
1164
1148
  nextToken: __expectString(output.nextToken),
1165
1149
  };
1166
1150
  };
1167
- const deserializeAws_json1_0ListTablesResponse = (output, context) => {
1151
+ const de_ListTablesResponse = (output, context) => {
1168
1152
  return {
1169
1153
  nextToken: __expectString(output.nextToken),
1170
- tables: output.tables != null ? deserializeAws_json1_0TableSummaryList(output.tables, context) : undefined,
1154
+ tables: output.tables != null ? de_TableSummaryList(output.tables, context) : undefined,
1171
1155
  };
1172
1156
  };
1173
- const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
1157
+ const de_ListTagsForResourceResponse = (output, context) => {
1174
1158
  return {
1175
1159
  nextToken: __expectString(output.nextToken),
1176
- tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
1160
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
1177
1161
  };
1178
1162
  };
1179
- const deserializeAws_json1_0PartitionKey = (output, context) => {
1163
+ const de_PartitionKey = (output, context) => {
1180
1164
  return {
1181
1165
  name: __expectString(output.name),
1182
1166
  };
1183
1167
  };
1184
- const deserializeAws_json1_0PartitionKeyList = (output, context) => {
1168
+ const de_PartitionKeyList = (output, context) => {
1185
1169
  const retVal = (output || [])
1186
1170
  .filter((e) => e != null)
1187
1171
  .map((entry) => {
1188
1172
  if (entry === null) {
1189
1173
  return null;
1190
1174
  }
1191
- return deserializeAws_json1_0PartitionKey(entry, context);
1175
+ return de_PartitionKey(entry, context);
1192
1176
  });
1193
1177
  return retVal;
1194
1178
  };
1195
- const deserializeAws_json1_0PointInTimeRecoverySummary = (output, context) => {
1179
+ const de_PointInTimeRecoverySummary = (output, context) => {
1196
1180
  return {
1197
1181
  earliestRestorableTimestamp: output.earliestRestorableTimestamp != null
1198
1182
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.earliestRestorableTimestamp)))
@@ -1200,100 +1184,98 @@ const deserializeAws_json1_0PointInTimeRecoverySummary = (output, context) => {
1200
1184
  status: __expectString(output.status),
1201
1185
  };
1202
1186
  };
1203
- const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
1187
+ const de_ResourceNotFoundException = (output, context) => {
1204
1188
  return {
1205
1189
  message: __expectString(output.message),
1206
1190
  resourceArn: __expectString(output.resourceArn),
1207
1191
  };
1208
1192
  };
1209
- const deserializeAws_json1_0RestoreTableResponse = (output, context) => {
1193
+ const de_RestoreTableResponse = (output, context) => {
1210
1194
  return {
1211
1195
  restoredTableARN: __expectString(output.restoredTableARN),
1212
1196
  };
1213
1197
  };
1214
- const deserializeAws_json1_0SchemaDefinition = (output, context) => {
1198
+ const de_SchemaDefinition = (output, context) => {
1215
1199
  return {
1216
- allColumns: output.allColumns != null ? deserializeAws_json1_0ColumnDefinitionList(output.allColumns, context) : undefined,
1217
- clusteringKeys: output.clusteringKeys != null
1218
- ? deserializeAws_json1_0ClusteringKeyList(output.clusteringKeys, context)
1219
- : undefined,
1220
- partitionKeys: output.partitionKeys != null ? deserializeAws_json1_0PartitionKeyList(output.partitionKeys, context) : undefined,
1221
- staticColumns: output.staticColumns != null ? deserializeAws_json1_0StaticColumnList(output.staticColumns, context) : undefined,
1200
+ allColumns: output.allColumns != null ? de_ColumnDefinitionList(output.allColumns, context) : undefined,
1201
+ clusteringKeys: output.clusteringKeys != null ? de_ClusteringKeyList(output.clusteringKeys, context) : undefined,
1202
+ partitionKeys: output.partitionKeys != null ? de_PartitionKeyList(output.partitionKeys, context) : undefined,
1203
+ staticColumns: output.staticColumns != null ? de_StaticColumnList(output.staticColumns, context) : undefined,
1222
1204
  };
1223
1205
  };
1224
- const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
1206
+ const de_ServiceQuotaExceededException = (output, context) => {
1225
1207
  return {
1226
1208
  message: __expectString(output.message),
1227
1209
  };
1228
1210
  };
1229
- const deserializeAws_json1_0StaticColumn = (output, context) => {
1211
+ const de_StaticColumn = (output, context) => {
1230
1212
  return {
1231
1213
  name: __expectString(output.name),
1232
1214
  };
1233
1215
  };
1234
- const deserializeAws_json1_0StaticColumnList = (output, context) => {
1216
+ const de_StaticColumnList = (output, context) => {
1235
1217
  const retVal = (output || [])
1236
1218
  .filter((e) => e != null)
1237
1219
  .map((entry) => {
1238
1220
  if (entry === null) {
1239
1221
  return null;
1240
1222
  }
1241
- return deserializeAws_json1_0StaticColumn(entry, context);
1223
+ return de_StaticColumn(entry, context);
1242
1224
  });
1243
1225
  return retVal;
1244
1226
  };
1245
- const deserializeAws_json1_0TableSummary = (output, context) => {
1227
+ const de_TableSummary = (output, context) => {
1246
1228
  return {
1247
1229
  keyspaceName: __expectString(output.keyspaceName),
1248
1230
  resourceArn: __expectString(output.resourceArn),
1249
1231
  tableName: __expectString(output.tableName),
1250
1232
  };
1251
1233
  };
1252
- const deserializeAws_json1_0TableSummaryList = (output, context) => {
1234
+ const de_TableSummaryList = (output, context) => {
1253
1235
  const retVal = (output || [])
1254
1236
  .filter((e) => e != null)
1255
1237
  .map((entry) => {
1256
1238
  if (entry === null) {
1257
1239
  return null;
1258
1240
  }
1259
- return deserializeAws_json1_0TableSummary(entry, context);
1241
+ return de_TableSummary(entry, context);
1260
1242
  });
1261
1243
  return retVal;
1262
1244
  };
1263
- const deserializeAws_json1_0Tag = (output, context) => {
1245
+ const de_Tag = (output, context) => {
1264
1246
  return {
1265
1247
  key: __expectString(output.key),
1266
1248
  value: __expectString(output.value),
1267
1249
  };
1268
1250
  };
1269
- const deserializeAws_json1_0TagList = (output, context) => {
1251
+ const de_TagList = (output, context) => {
1270
1252
  const retVal = (output || [])
1271
1253
  .filter((e) => e != null)
1272
1254
  .map((entry) => {
1273
1255
  if (entry === null) {
1274
1256
  return null;
1275
1257
  }
1276
- return deserializeAws_json1_0Tag(entry, context);
1258
+ return de_Tag(entry, context);
1277
1259
  });
1278
1260
  return retVal;
1279
1261
  };
1280
- const deserializeAws_json1_0TagResourceResponse = (output, context) => {
1262
+ const de_TagResourceResponse = (output, context) => {
1281
1263
  return {};
1282
1264
  };
1283
- const deserializeAws_json1_0TimeToLive = (output, context) => {
1265
+ const de_TimeToLive = (output, context) => {
1284
1266
  return {
1285
1267
  status: __expectString(output.status),
1286
1268
  };
1287
1269
  };
1288
- const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
1270
+ const de_UntagResourceResponse = (output, context) => {
1289
1271
  return {};
1290
1272
  };
1291
- const deserializeAws_json1_0UpdateTableResponse = (output, context) => {
1273
+ const de_UpdateTableResponse = (output, context) => {
1292
1274
  return {
1293
1275
  resourceArn: __expectString(output.resourceArn),
1294
1276
  };
1295
1277
  };
1296
- const deserializeAws_json1_0ValidationException = (output, context) => {
1278
+ const de_ValidationException = (output, context) => {
1297
1279
  return {
1298
1280
  message: __expectString(output.message),
1299
1281
  };