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