@aws-sdk/client-finspace 3.466.0 → 3.470.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 (97) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/Finspace.js +28 -0
  3. package/dist-cjs/commands/CreateKxDataviewCommand.js +51 -0
  4. package/dist-cjs/commands/CreateKxScalingGroupCommand.js +51 -0
  5. package/dist-cjs/commands/CreateKxVolumeCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteKxDataviewCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteKxScalingGroupCommand.js +51 -0
  8. package/dist-cjs/commands/DeleteKxVolumeCommand.js +51 -0
  9. package/dist-cjs/commands/GetKxDataviewCommand.js +51 -0
  10. package/dist-cjs/commands/GetKxScalingGroupCommand.js +51 -0
  11. package/dist-cjs/commands/GetKxVolumeCommand.js +51 -0
  12. package/dist-cjs/commands/ListKxDataviewsCommand.js +51 -0
  13. package/dist-cjs/commands/ListKxScalingGroupsCommand.js +51 -0
  14. package/dist-cjs/commands/ListKxVolumesCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateKxDataviewCommand.js +51 -0
  16. package/dist-cjs/commands/UpdateKxVolumeCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +39 -1
  19. package/dist-cjs/pagination/ListKxDataviewsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListKxScalingGroupsPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +1477 -207
  23. package/dist-es/Finspace.js +28 -0
  24. package/dist-es/commands/CreateKxDataviewCommand.js +47 -0
  25. package/dist-es/commands/CreateKxScalingGroupCommand.js +47 -0
  26. package/dist-es/commands/CreateKxVolumeCommand.js +47 -0
  27. package/dist-es/commands/DeleteKxDataviewCommand.js +47 -0
  28. package/dist-es/commands/DeleteKxScalingGroupCommand.js +47 -0
  29. package/dist-es/commands/DeleteKxVolumeCommand.js +47 -0
  30. package/dist-es/commands/GetKxDataviewCommand.js +47 -0
  31. package/dist-es/commands/GetKxScalingGroupCommand.js +47 -0
  32. package/dist-es/commands/GetKxVolumeCommand.js +47 -0
  33. package/dist-es/commands/ListKxDataviewsCommand.js +47 -0
  34. package/dist-es/commands/ListKxScalingGroupsCommand.js +47 -0
  35. package/dist-es/commands/ListKxVolumesCommand.js +47 -0
  36. package/dist-es/commands/UpdateKxDataviewCommand.js +47 -0
  37. package/dist-es/commands/UpdateKxVolumeCommand.js +47 -0
  38. package/dist-es/commands/index.js +14 -0
  39. package/dist-es/models/models_0.js +38 -0
  40. package/dist-es/pagination/ListKxDataviewsPaginator.js +25 -0
  41. package/dist-es/pagination/ListKxScalingGroupsPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +2 -0
  43. package/dist-es/protocols/Aws_restJson1.js +1397 -155
  44. package/dist-types/Finspace.d.ts +98 -0
  45. package/dist-types/FinspaceClient.d.ts +16 -2
  46. package/dist-types/commands/CreateKxClusterCommand.d.ts +68 -6
  47. package/dist-types/commands/CreateKxDataviewCommand.d.ts +136 -0
  48. package/dist-types/commands/CreateKxScalingGroupCommand.d.ts +108 -0
  49. package/dist-types/commands/CreateKxVolumeCommand.d.ts +129 -0
  50. package/dist-types/commands/DeleteKxDataviewCommand.d.ts +94 -0
  51. package/dist-types/commands/DeleteKxEnvironmentCommand.d.ts +4 -0
  52. package/dist-types/commands/DeleteKxScalingGroupCommand.d.ts +96 -0
  53. package/dist-types/commands/DeleteKxUserCommand.d.ts +4 -0
  54. package/dist-types/commands/DeleteKxVolumeCommand.d.ts +98 -0
  55. package/dist-types/commands/GetKxClusterCommand.d.ts +37 -3
  56. package/dist-types/commands/GetKxDataviewCommand.d.ts +130 -0
  57. package/dist-types/commands/GetKxEnvironmentCommand.d.ts +3 -0
  58. package/dist-types/commands/GetKxScalingGroupCommand.d.ts +107 -0
  59. package/dist-types/commands/GetKxVolumeCommand.d.ts +120 -0
  60. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -0
  61. package/dist-types/commands/ListKxClustersCommand.d.ts +8 -2
  62. package/dist-types/commands/ListKxDataviewsCommand.d.ts +135 -0
  63. package/dist-types/commands/ListKxEnvironmentsCommand.d.ts +3 -0
  64. package/dist-types/commands/ListKxScalingGroupsCommand.d.ts +112 -0
  65. package/dist-types/commands/ListKxVolumesCommand.d.ts +115 -0
  66. package/dist-types/commands/UpdateKxClusterDatabasesCommand.d.ts +15 -0
  67. package/dist-types/commands/UpdateKxDataviewCommand.d.ts +145 -0
  68. package/dist-types/commands/UpdateKxVolumeCommand.d.ts +128 -0
  69. package/dist-types/commands/index.d.ts +14 -0
  70. package/dist-types/models/models_0.d.ts +2214 -214
  71. package/dist-types/pagination/ListKxDataviewsPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListKxScalingGroupsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/index.d.ts +2 -0
  74. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  75. package/dist-types/ts3.4/Finspace.d.ts +238 -0
  76. package/dist-types/ts3.4/FinspaceClient.d.ts +86 -2
  77. package/dist-types/ts3.4/commands/CreateKxDataviewCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/CreateKxScalingGroupCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/CreateKxVolumeCommand.d.ts +38 -0
  80. package/dist-types/ts3.4/commands/DeleteKxDataviewCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/DeleteKxScalingGroupCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DeleteKxVolumeCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/GetKxDataviewCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetKxScalingGroupCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/GetKxVolumeCommand.d.ts +35 -0
  86. package/dist-types/ts3.4/commands/ListKxDataviewsCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/ListKxScalingGroupsCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/ListKxVolumesCommand.d.ts +38 -0
  89. package/dist-types/ts3.4/commands/UpdateKxDataviewCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/UpdateKxVolumeCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +360 -4
  93. package/dist-types/ts3.4/pagination/ListKxDataviewsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/ListKxScalingGroupsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  96. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  97. package/package.json +34 -34
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { FinspaceServiceException as __BaseException } from "../models/FinspaceServiceException";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -79,7 +79,9 @@ export const se_CreateKxClusterCommand = async (input, context) => {
79
79
  initializationScript: [],
80
80
  releaseLabel: [],
81
81
  savedownStorageConfiguration: (_) => _json(_),
82
+ scalingGroupConfiguration: (_) => se_KxScalingGroupConfiguration(_, context),
82
83
  tags: (_) => _json(_),
84
+ tickerplantLogConfiguration: (_) => _json(_),
83
85
  vpcConfiguration: (_) => _json(_),
84
86
  }));
85
87
  return new __HttpRequest({
@@ -117,6 +119,37 @@ export const se_CreateKxDatabaseCommand = async (input, context) => {
117
119
  body,
118
120
  });
119
121
  };
122
+ export const se_CreateKxDataviewCommand = async (input, context) => {
123
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
124
+ const headers = {
125
+ "content-type": "application/json",
126
+ };
127
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
128
+ "/kx/environments/{environmentId}/databases/{databaseName}/dataviews";
129
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
130
+ resolvedPath = __resolvedPath(resolvedPath, input, "databaseName", () => input.databaseName, "{databaseName}", false);
131
+ let body;
132
+ body = JSON.stringify(take(input, {
133
+ autoUpdate: [],
134
+ availabilityZoneId: [],
135
+ azMode: [],
136
+ changesetId: [],
137
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
138
+ dataviewName: [],
139
+ description: [],
140
+ segmentConfigurations: (_) => _json(_),
141
+ tags: (_) => _json(_),
142
+ }));
143
+ return new __HttpRequest({
144
+ protocol,
145
+ hostname,
146
+ port,
147
+ method: "POST",
148
+ headers,
149
+ path: resolvedPath,
150
+ body,
151
+ });
152
+ };
120
153
  export const se_CreateKxEnvironmentCommand = async (input, context) => {
121
154
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
122
155
  const headers = {
@@ -125,7 +158,7 @@ export const se_CreateKxEnvironmentCommand = async (input, context) => {
125
158
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments";
126
159
  let body;
127
160
  body = JSON.stringify(take(input, {
128
- clientToken: [],
161
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
129
162
  description: [],
130
163
  kmsKeyId: [],
131
164
  name: [],
@@ -141,6 +174,32 @@ export const se_CreateKxEnvironmentCommand = async (input, context) => {
141
174
  body,
142
175
  });
143
176
  };
177
+ export const se_CreateKxScalingGroupCommand = async (input, context) => {
178
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
179
+ const headers = {
180
+ "content-type": "application/json",
181
+ };
182
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
183
+ "/kx/environments/{environmentId}/scalingGroups";
184
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
185
+ let body;
186
+ body = JSON.stringify(take(input, {
187
+ availabilityZoneId: [],
188
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
189
+ hostType: [],
190
+ scalingGroupName: [],
191
+ tags: (_) => _json(_),
192
+ }));
193
+ return new __HttpRequest({
194
+ protocol,
195
+ hostname,
196
+ port,
197
+ method: "POST",
198
+ headers,
199
+ path: resolvedPath,
200
+ body,
201
+ });
202
+ };
144
203
  export const se_CreateKxUserCommand = async (input, context) => {
145
204
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
146
205
  const headers = {
@@ -150,7 +209,7 @@ export const se_CreateKxUserCommand = async (input, context) => {
150
209
  resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
151
210
  let body;
152
211
  body = JSON.stringify(take(input, {
153
- clientToken: [],
212
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
154
213
  iamRole: [],
155
214
  tags: (_) => _json(_),
156
215
  userName: [],
@@ -165,6 +224,35 @@ export const se_CreateKxUserCommand = async (input, context) => {
165
224
  body,
166
225
  });
167
226
  };
227
+ export const se_CreateKxVolumeCommand = async (input, context) => {
228
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
+ const headers = {
230
+ "content-type": "application/json",
231
+ };
232
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
233
+ "/kx/environments/{environmentId}/kxvolumes";
234
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
235
+ let body;
236
+ body = JSON.stringify(take(input, {
237
+ availabilityZoneIds: (_) => _json(_),
238
+ azMode: [],
239
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
240
+ description: [],
241
+ nas1Configuration: (_) => _json(_),
242
+ tags: (_) => _json(_),
243
+ volumeName: [],
244
+ volumeType: [],
245
+ }));
246
+ return new __HttpRequest({
247
+ protocol,
248
+ hostname,
249
+ port,
250
+ method: "POST",
251
+ headers,
252
+ path: resolvedPath,
253
+ body,
254
+ });
255
+ };
168
256
  export const se_DeleteEnvironmentCommand = async (input, context) => {
169
257
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
170
258
  const headers = {};
@@ -225,11 +313,59 @@ export const se_DeleteKxDatabaseCommand = async (input, context) => {
225
313
  body,
226
314
  });
227
315
  };
316
+ export const se_DeleteKxDataviewCommand = async (input, context) => {
317
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
318
+ const headers = {};
319
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
320
+ "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}";
321
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
322
+ resolvedPath = __resolvedPath(resolvedPath, input, "databaseName", () => input.databaseName, "{databaseName}", false);
323
+ resolvedPath = __resolvedPath(resolvedPath, input, "dataviewName", () => input.dataviewName, "{dataviewName}", false);
324
+ const query = map({
325
+ clientToken: [, __expectNonNull(input.clientToken, `clientToken`)],
326
+ });
327
+ let body;
328
+ return new __HttpRequest({
329
+ protocol,
330
+ hostname,
331
+ port,
332
+ method: "DELETE",
333
+ headers,
334
+ path: resolvedPath,
335
+ query,
336
+ body,
337
+ });
338
+ };
228
339
  export const se_DeleteKxEnvironmentCommand = async (input, context) => {
229
340
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
230
341
  const headers = {};
231
342
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments/{environmentId}";
232
343
  resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
344
+ const query = map({
345
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
346
+ });
347
+ let body;
348
+ return new __HttpRequest({
349
+ protocol,
350
+ hostname,
351
+ port,
352
+ method: "DELETE",
353
+ headers,
354
+ path: resolvedPath,
355
+ query,
356
+ body,
357
+ });
358
+ };
359
+ export const se_DeleteKxScalingGroupCommand = async (input, context) => {
360
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
361
+ const headers = {};
362
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
363
+ "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}";
364
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
365
+ resolvedPath = __resolvedPath(resolvedPath, input, "scalingGroupName", () => input.scalingGroupName, "{scalingGroupName}", false);
366
+ const query = map({
367
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
368
+ });
233
369
  let body;
234
370
  return new __HttpRequest({
235
371
  protocol,
@@ -238,6 +374,7 @@ export const se_DeleteKxEnvironmentCommand = async (input, context) => {
238
374
  method: "DELETE",
239
375
  headers,
240
376
  path: resolvedPath,
377
+ query,
241
378
  body,
242
379
  });
243
380
  };
@@ -248,6 +385,31 @@ export const se_DeleteKxUserCommand = async (input, context) => {
248
385
  "/kx/environments/{environmentId}/users/{userName}";
249
386
  resolvedPath = __resolvedPath(resolvedPath, input, "userName", () => input.userName, "{userName}", false);
250
387
  resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
388
+ const query = map({
389
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
390
+ });
391
+ let body;
392
+ return new __HttpRequest({
393
+ protocol,
394
+ hostname,
395
+ port,
396
+ method: "DELETE",
397
+ headers,
398
+ path: resolvedPath,
399
+ query,
400
+ body,
401
+ });
402
+ };
403
+ export const se_DeleteKxVolumeCommand = async (input, context) => {
404
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
405
+ const headers = {};
406
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
407
+ "/kx/environments/{environmentId}/kxvolumes/{volumeName}";
408
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
409
+ resolvedPath = __resolvedPath(resolvedPath, input, "volumeName", () => input.volumeName, "{volumeName}", false);
410
+ const query = map({
411
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
412
+ });
251
413
  let body;
252
414
  return new __HttpRequest({
253
415
  protocol,
@@ -256,6 +418,7 @@ export const se_DeleteKxUserCommand = async (input, context) => {
256
418
  method: "DELETE",
257
419
  headers,
258
420
  path: resolvedPath,
421
+ query,
259
422
  body,
260
423
  });
261
424
  };
@@ -352,6 +515,25 @@ export const se_GetKxDatabaseCommand = async (input, context) => {
352
515
  body,
353
516
  });
354
517
  };
518
+ export const se_GetKxDataviewCommand = async (input, context) => {
519
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
520
+ const headers = {};
521
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
522
+ "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}";
523
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
524
+ resolvedPath = __resolvedPath(resolvedPath, input, "databaseName", () => input.databaseName, "{databaseName}", false);
525
+ resolvedPath = __resolvedPath(resolvedPath, input, "dataviewName", () => input.dataviewName, "{dataviewName}", false);
526
+ let body;
527
+ return new __HttpRequest({
528
+ protocol,
529
+ hostname,
530
+ port,
531
+ method: "GET",
532
+ headers,
533
+ path: resolvedPath,
534
+ body,
535
+ });
536
+ };
355
537
  export const se_GetKxEnvironmentCommand = async (input, context) => {
356
538
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
539
  const headers = {};
@@ -368,6 +550,24 @@ export const se_GetKxEnvironmentCommand = async (input, context) => {
368
550
  body,
369
551
  });
370
552
  };
553
+ export const se_GetKxScalingGroupCommand = async (input, context) => {
554
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
555
+ const headers = {};
556
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
557
+ "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}";
558
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
559
+ resolvedPath = __resolvedPath(resolvedPath, input, "scalingGroupName", () => input.scalingGroupName, "{scalingGroupName}", false);
560
+ let body;
561
+ return new __HttpRequest({
562
+ protocol,
563
+ hostname,
564
+ port,
565
+ method: "GET",
566
+ headers,
567
+ path: resolvedPath,
568
+ body,
569
+ });
570
+ };
371
571
  export const se_GetKxUserCommand = async (input, context) => {
372
572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
373
573
  const headers = {};
@@ -386,6 +586,24 @@ export const se_GetKxUserCommand = async (input, context) => {
386
586
  body,
387
587
  });
388
588
  };
589
+ export const se_GetKxVolumeCommand = async (input, context) => {
590
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
591
+ const headers = {};
592
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
593
+ "/kx/environments/{environmentId}/kxvolumes/{volumeName}";
594
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
595
+ resolvedPath = __resolvedPath(resolvedPath, input, "volumeName", () => input.volumeName, "{volumeName}", false);
596
+ let body;
597
+ return new __HttpRequest({
598
+ protocol,
599
+ hostname,
600
+ port,
601
+ method: "GET",
602
+ headers,
603
+ path: resolvedPath,
604
+ body,
605
+ });
606
+ };
389
607
  export const se_ListEnvironmentsCommand = async (input, context) => {
390
608
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
391
609
  const headers = {};
@@ -496,6 +714,29 @@ export const se_ListKxDatabasesCommand = async (input, context) => {
496
714
  body,
497
715
  });
498
716
  };
717
+ export const se_ListKxDataviewsCommand = async (input, context) => {
718
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
719
+ const headers = {};
720
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
721
+ "/kx/environments/{environmentId}/databases/{databaseName}/dataviews";
722
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
723
+ resolvedPath = __resolvedPath(resolvedPath, input, "databaseName", () => input.databaseName, "{databaseName}", false);
724
+ const query = map({
725
+ nextToken: [, input.nextToken],
726
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
727
+ });
728
+ let body;
729
+ return new __HttpRequest({
730
+ protocol,
731
+ hostname,
732
+ port,
733
+ method: "GET",
734
+ headers,
735
+ path: resolvedPath,
736
+ query,
737
+ body,
738
+ });
739
+ };
499
740
  export const se_ListKxEnvironmentsCommand = async (input, context) => {
500
741
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
501
742
  const headers = {};
@@ -516,6 +757,28 @@ export const se_ListKxEnvironmentsCommand = async (input, context) => {
516
757
  body,
517
758
  });
518
759
  };
760
+ export const se_ListKxScalingGroupsCommand = async (input, context) => {
761
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
762
+ const headers = {};
763
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
764
+ "/kx/environments/{environmentId}/scalingGroups";
765
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
766
+ const query = map({
767
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
768
+ nextToken: [, input.nextToken],
769
+ });
770
+ let body;
771
+ return new __HttpRequest({
772
+ protocol,
773
+ hostname,
774
+ port,
775
+ method: "GET",
776
+ headers,
777
+ path: resolvedPath,
778
+ query,
779
+ body,
780
+ });
781
+ };
519
782
  export const se_ListKxUsersCommand = async (input, context) => {
520
783
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
521
784
  const headers = {};
@@ -537,6 +800,29 @@ export const se_ListKxUsersCommand = async (input, context) => {
537
800
  body,
538
801
  });
539
802
  };
803
+ export const se_ListKxVolumesCommand = async (input, context) => {
804
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
805
+ const headers = {};
806
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
807
+ "/kx/environments/{environmentId}/kxvolumes";
808
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
809
+ const query = map({
810
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
811
+ nextToken: [, input.nextToken],
812
+ volumeType: [, input.volumeType],
813
+ });
814
+ let body;
815
+ return new __HttpRequest({
816
+ protocol,
817
+ hostname,
818
+ port,
819
+ method: "GET",
820
+ headers,
821
+ path: resolvedPath,
822
+ query,
823
+ body,
824
+ });
825
+ };
540
826
  export const se_ListTagsForResourceCommand = async (input, context) => {
541
827
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
542
828
  const headers = {};
@@ -697,18 +983,22 @@ export const se_UpdateKxDatabaseCommand = async (input, context) => {
697
983
  body,
698
984
  });
699
985
  };
700
- export const se_UpdateKxEnvironmentCommand = async (input, context) => {
986
+ export const se_UpdateKxDataviewCommand = async (input, context) => {
701
987
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
702
988
  const headers = {
703
989
  "content-type": "application/json",
704
990
  };
705
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments/{environmentId}";
991
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
992
+ "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}";
706
993
  resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
994
+ resolvedPath = __resolvedPath(resolvedPath, input, "databaseName", () => input.databaseName, "{databaseName}", false);
995
+ resolvedPath = __resolvedPath(resolvedPath, input, "dataviewName", () => input.dataviewName, "{dataviewName}", false);
707
996
  let body;
708
997
  body = JSON.stringify(take(input, {
709
- clientToken: [],
998
+ changesetId: [],
999
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
710
1000
  description: [],
711
- name: [],
1001
+ segmentConfigurations: (_) => _json(_),
712
1002
  }));
713
1003
  return new __HttpRequest({
714
1004
  protocol,
@@ -720,17 +1010,40 @@ export const se_UpdateKxEnvironmentCommand = async (input, context) => {
720
1010
  body,
721
1011
  });
722
1012
  };
723
- export const se_UpdateKxEnvironmentNetworkCommand = async (input, context) => {
1013
+ export const se_UpdateKxEnvironmentCommand = async (input, context) => {
724
1014
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
725
1015
  const headers = {
726
1016
  "content-type": "application/json",
727
1017
  };
728
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments/{environmentId}/network";
1018
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments/{environmentId}";
729
1019
  resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
730
1020
  let body;
731
1021
  body = JSON.stringify(take(input, {
732
- clientToken: [],
733
- customDNSConfiguration: (_) => _json(_),
1022
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1023
+ description: [],
1024
+ name: [],
1025
+ }));
1026
+ return new __HttpRequest({
1027
+ protocol,
1028
+ hostname,
1029
+ port,
1030
+ method: "PUT",
1031
+ headers,
1032
+ path: resolvedPath,
1033
+ body,
1034
+ });
1035
+ };
1036
+ export const se_UpdateKxEnvironmentNetworkCommand = async (input, context) => {
1037
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1038
+ const headers = {
1039
+ "content-type": "application/json",
1040
+ };
1041
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/kx/environments/{environmentId}/network";
1042
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
1043
+ let body;
1044
+ body = JSON.stringify(take(input, {
1045
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1046
+ customDNSConfiguration: (_) => _json(_),
734
1047
  transitGatewayConfiguration: (_) => _json(_),
735
1048
  }));
736
1049
  return new __HttpRequest({
@@ -754,7 +1067,7 @@ export const se_UpdateKxUserCommand = async (input, context) => {
754
1067
  resolvedPath = __resolvedPath(resolvedPath, input, "userName", () => input.userName, "{userName}", false);
755
1068
  let body;
756
1069
  body = JSON.stringify(take(input, {
757
- clientToken: [],
1070
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
758
1071
  iamRole: [],
759
1072
  }));
760
1073
  return new __HttpRequest({
@@ -767,6 +1080,31 @@ export const se_UpdateKxUserCommand = async (input, context) => {
767
1080
  body,
768
1081
  });
769
1082
  };
1083
+ export const se_UpdateKxVolumeCommand = async (input, context) => {
1084
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1085
+ const headers = {
1086
+ "content-type": "application/json",
1087
+ };
1088
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1089
+ "/kx/environments/{environmentId}/kxvolumes/{volumeName}";
1090
+ resolvedPath = __resolvedPath(resolvedPath, input, "environmentId", () => input.environmentId, "{environmentId}", false);
1091
+ resolvedPath = __resolvedPath(resolvedPath, input, "volumeName", () => input.volumeName, "{volumeName}", false);
1092
+ let body;
1093
+ body = JSON.stringify(take(input, {
1094
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1095
+ description: [],
1096
+ nas1Configuration: (_) => _json(_),
1097
+ }));
1098
+ return new __HttpRequest({
1099
+ protocol,
1100
+ hostname,
1101
+ port,
1102
+ method: "PATCH",
1103
+ headers,
1104
+ path: resolvedPath,
1105
+ body,
1106
+ });
1107
+ };
770
1108
  export const de_CreateEnvironmentCommand = async (output, context) => {
771
1109
  if (output.statusCode !== 200 && output.statusCode >= 300) {
772
1110
  return de_CreateEnvironmentCommandError(output, context);
@@ -902,8 +1240,11 @@ export const de_CreateKxClusterCommand = async (output, context) => {
902
1240
  lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
903
1241
  releaseLabel: __expectString,
904
1242
  savedownStorageConfiguration: _json,
1243
+ scalingGroupConfiguration: (_) => de_KxScalingGroupConfiguration(_, context),
905
1244
  status: __expectString,
906
1245
  statusReason: __expectString,
1246
+ tickerplantLogConfiguration: _json,
1247
+ volumes: _json,
907
1248
  vpcConfiguration: _json,
908
1249
  });
909
1250
  Object.assign(contents, doc);
@@ -1005,27 +1346,32 @@ const de_CreateKxDatabaseCommandError = async (output, context) => {
1005
1346
  });
1006
1347
  }
1007
1348
  };
1008
- export const de_CreateKxEnvironmentCommand = async (output, context) => {
1349
+ export const de_CreateKxDataviewCommand = async (output, context) => {
1009
1350
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
- return de_CreateKxEnvironmentCommandError(output, context);
1351
+ return de_CreateKxDataviewCommandError(output, context);
1011
1352
  }
1012
1353
  const contents = map({
1013
1354
  $metadata: deserializeMetadata(output),
1014
1355
  });
1015
1356
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1016
1357
  const doc = take(data, {
1017
- creationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1358
+ autoUpdate: __expectBoolean,
1359
+ availabilityZoneId: __expectString,
1360
+ azMode: __expectString,
1361
+ changesetId: __expectString,
1362
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1363
+ databaseName: __expectString,
1364
+ dataviewName: __expectString,
1018
1365
  description: __expectString,
1019
- environmentArn: __expectString,
1020
1366
  environmentId: __expectString,
1021
- kmsKeyId: __expectString,
1022
- name: __expectString,
1367
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1368
+ segmentConfigurations: _json,
1023
1369
  status: __expectString,
1024
1370
  });
1025
1371
  Object.assign(contents, doc);
1026
1372
  return contents;
1027
1373
  };
1028
- const de_CreateKxEnvironmentCommandError = async (output, context) => {
1374
+ const de_CreateKxDataviewCommandError = async (output, context) => {
1029
1375
  const parsedOutput = {
1030
1376
  ...output,
1031
1377
  body: await parseErrorBody(output.body, context),
@@ -1044,9 +1390,12 @@ const de_CreateKxEnvironmentCommandError = async (output, context) => {
1044
1390
  case "LimitExceededException":
1045
1391
  case "com.amazonaws.finspace#LimitExceededException":
1046
1392
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
1047
- case "ServiceQuotaExceededException":
1048
- case "com.amazonaws.finspace#ServiceQuotaExceededException":
1049
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1393
+ case "ResourceAlreadyExistsException":
1394
+ case "com.amazonaws.finspace#ResourceAlreadyExistsException":
1395
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1396
+ case "ResourceNotFoundException":
1397
+ case "com.amazonaws.finspace#ResourceNotFoundException":
1398
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1050
1399
  case "ThrottlingException":
1051
1400
  case "com.amazonaws.finspace#ThrottlingException":
1052
1401
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1062,24 +1411,27 @@ const de_CreateKxEnvironmentCommandError = async (output, context) => {
1062
1411
  });
1063
1412
  }
1064
1413
  };
1065
- export const de_CreateKxUserCommand = async (output, context) => {
1414
+ export const de_CreateKxEnvironmentCommand = async (output, context) => {
1066
1415
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1067
- return de_CreateKxUserCommandError(output, context);
1416
+ return de_CreateKxEnvironmentCommandError(output, context);
1068
1417
  }
1069
1418
  const contents = map({
1070
1419
  $metadata: deserializeMetadata(output),
1071
1420
  });
1072
1421
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1073
1422
  const doc = take(data, {
1423
+ creationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1424
+ description: __expectString,
1425
+ environmentArn: __expectString,
1074
1426
  environmentId: __expectString,
1075
- iamRole: __expectString,
1076
- userArn: __expectString,
1077
- userName: __expectString,
1427
+ kmsKeyId: __expectString,
1428
+ name: __expectString,
1429
+ status: __expectString,
1078
1430
  });
1079
1431
  Object.assign(contents, doc);
1080
1432
  return contents;
1081
1433
  };
1082
- const de_CreateKxUserCommandError = async (output, context) => {
1434
+ const de_CreateKxEnvironmentCommandError = async (output, context) => {
1083
1435
  const parsedOutput = {
1084
1436
  ...output,
1085
1437
  body: await parseErrorBody(output.body, context),
@@ -1098,12 +1450,9 @@ const de_CreateKxUserCommandError = async (output, context) => {
1098
1450
  case "LimitExceededException":
1099
1451
  case "com.amazonaws.finspace#LimitExceededException":
1100
1452
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
1101
- case "ResourceAlreadyExistsException":
1102
- case "com.amazonaws.finspace#ResourceAlreadyExistsException":
1103
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1104
- case "ResourceNotFoundException":
1105
- case "com.amazonaws.finspace#ResourceNotFoundException":
1106
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1453
+ case "ServiceQuotaExceededException":
1454
+ case "com.amazonaws.finspace#ServiceQuotaExceededException":
1455
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1107
1456
  case "ThrottlingException":
1108
1457
  case "com.amazonaws.finspace#ThrottlingException":
1109
1458
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1119,17 +1468,27 @@ const de_CreateKxUserCommandError = async (output, context) => {
1119
1468
  });
1120
1469
  }
1121
1470
  };
1122
- export const de_DeleteEnvironmentCommand = async (output, context) => {
1471
+ export const de_CreateKxScalingGroupCommand = async (output, context) => {
1123
1472
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1124
- return de_DeleteEnvironmentCommandError(output, context);
1473
+ return de_CreateKxScalingGroupCommandError(output, context);
1125
1474
  }
1126
1475
  const contents = map({
1127
1476
  $metadata: deserializeMetadata(output),
1128
1477
  });
1129
- await collectBody(output.body, context);
1478
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1479
+ const doc = take(data, {
1480
+ availabilityZoneId: __expectString,
1481
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1482
+ environmentId: __expectString,
1483
+ hostType: __expectString,
1484
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1485
+ scalingGroupName: __expectString,
1486
+ status: __expectString,
1487
+ });
1488
+ Object.assign(contents, doc);
1130
1489
  return contents;
1131
1490
  };
1132
- const de_DeleteEnvironmentCommandError = async (output, context) => {
1491
+ const de_CreateKxScalingGroupCommandError = async (output, context) => {
1133
1492
  const parsedOutput = {
1134
1493
  ...output,
1135
1494
  body: await parseErrorBody(output.body, context),
@@ -1139,9 +1498,15 @@ const de_DeleteEnvironmentCommandError = async (output, context) => {
1139
1498
  case "AccessDeniedException":
1140
1499
  case "com.amazonaws.finspace#AccessDeniedException":
1141
1500
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1501
+ case "ConflictException":
1502
+ case "com.amazonaws.finspace#ConflictException":
1503
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1142
1504
  case "InternalServerException":
1143
1505
  case "com.amazonaws.finspace#InternalServerException":
1144
1506
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1507
+ case "LimitExceededException":
1508
+ case "com.amazonaws.finspace#LimitExceededException":
1509
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1145
1510
  case "ResourceNotFoundException":
1146
1511
  case "com.amazonaws.finspace#ResourceNotFoundException":
1147
1512
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1160,17 +1525,24 @@ const de_DeleteEnvironmentCommandError = async (output, context) => {
1160
1525
  });
1161
1526
  }
1162
1527
  };
1163
- export const de_DeleteKxClusterCommand = async (output, context) => {
1528
+ export const de_CreateKxUserCommand = async (output, context) => {
1164
1529
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
- return de_DeleteKxClusterCommandError(output, context);
1530
+ return de_CreateKxUserCommandError(output, context);
1166
1531
  }
1167
1532
  const contents = map({
1168
1533
  $metadata: deserializeMetadata(output),
1169
1534
  });
1170
- await collectBody(output.body, context);
1535
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1536
+ const doc = take(data, {
1537
+ environmentId: __expectString,
1538
+ iamRole: __expectString,
1539
+ userArn: __expectString,
1540
+ userName: __expectString,
1541
+ });
1542
+ Object.assign(contents, doc);
1171
1543
  return contents;
1172
1544
  };
1173
- const de_DeleteKxClusterCommandError = async (output, context) => {
1545
+ const de_CreateKxUserCommandError = async (output, context) => {
1174
1546
  const parsedOutput = {
1175
1547
  ...output,
1176
1548
  body: await parseErrorBody(output.body, context),
@@ -1189,6 +1561,9 @@ const de_DeleteKxClusterCommandError = async (output, context) => {
1189
1561
  case "LimitExceededException":
1190
1562
  case "com.amazonaws.finspace#LimitExceededException":
1191
1563
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
1564
+ case "ResourceAlreadyExistsException":
1565
+ case "com.amazonaws.finspace#ResourceAlreadyExistsException":
1566
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1192
1567
  case "ResourceNotFoundException":
1193
1568
  case "com.amazonaws.finspace#ResourceNotFoundException":
1194
1569
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1207,17 +1582,31 @@ const de_DeleteKxClusterCommandError = async (output, context) => {
1207
1582
  });
1208
1583
  }
1209
1584
  };
1210
- export const de_DeleteKxDatabaseCommand = async (output, context) => {
1585
+ export const de_CreateKxVolumeCommand = async (output, context) => {
1211
1586
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1212
- return de_DeleteKxDatabaseCommandError(output, context);
1587
+ return de_CreateKxVolumeCommandError(output, context);
1213
1588
  }
1214
1589
  const contents = map({
1215
1590
  $metadata: deserializeMetadata(output),
1216
1591
  });
1217
- await collectBody(output.body, context);
1592
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1593
+ const doc = take(data, {
1594
+ availabilityZoneIds: _json,
1595
+ azMode: __expectString,
1596
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1597
+ description: __expectString,
1598
+ environmentId: __expectString,
1599
+ nas1Configuration: _json,
1600
+ status: __expectString,
1601
+ statusReason: __expectString,
1602
+ volumeArn: __expectString,
1603
+ volumeName: __expectString,
1604
+ volumeType: __expectString,
1605
+ });
1606
+ Object.assign(contents, doc);
1218
1607
  return contents;
1219
1608
  };
1220
- const de_DeleteKxDatabaseCommandError = async (output, context) => {
1609
+ const de_CreateKxVolumeCommandError = async (output, context) => {
1221
1610
  const parsedOutput = {
1222
1611
  ...output,
1223
1612
  body: await parseErrorBody(output.body, context),
@@ -1233,6 +1622,12 @@ const de_DeleteKxDatabaseCommandError = async (output, context) => {
1233
1622
  case "InternalServerException":
1234
1623
  case "com.amazonaws.finspace#InternalServerException":
1235
1624
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1625
+ case "LimitExceededException":
1626
+ case "com.amazonaws.finspace#LimitExceededException":
1627
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1628
+ case "ResourceAlreadyExistsException":
1629
+ case "com.amazonaws.finspace#ResourceAlreadyExistsException":
1630
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1236
1631
  case "ResourceNotFoundException":
1237
1632
  case "com.amazonaws.finspace#ResourceNotFoundException":
1238
1633
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1251,9 +1646,9 @@ const de_DeleteKxDatabaseCommandError = async (output, context) => {
1251
1646
  });
1252
1647
  }
1253
1648
  };
1254
- export const de_DeleteKxEnvironmentCommand = async (output, context) => {
1649
+ export const de_DeleteEnvironmentCommand = async (output, context) => {
1255
1650
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1256
- return de_DeleteKxEnvironmentCommandError(output, context);
1651
+ return de_DeleteEnvironmentCommandError(output, context);
1257
1652
  }
1258
1653
  const contents = map({
1259
1654
  $metadata: deserializeMetadata(output),
@@ -1261,7 +1656,7 @@ export const de_DeleteKxEnvironmentCommand = async (output, context) => {
1261
1656
  await collectBody(output.body, context);
1262
1657
  return contents;
1263
1658
  };
1264
- const de_DeleteKxEnvironmentCommandError = async (output, context) => {
1659
+ const de_DeleteEnvironmentCommandError = async (output, context) => {
1265
1660
  const parsedOutput = {
1266
1661
  ...output,
1267
1662
  body: await parseErrorBody(output.body, context),
@@ -1292,9 +1687,9 @@ const de_DeleteKxEnvironmentCommandError = async (output, context) => {
1292
1687
  });
1293
1688
  }
1294
1689
  };
1295
- export const de_DeleteKxUserCommand = async (output, context) => {
1690
+ export const de_DeleteKxClusterCommand = async (output, context) => {
1296
1691
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1297
- return de_DeleteKxUserCommandError(output, context);
1692
+ return de_DeleteKxClusterCommandError(output, context);
1298
1693
  }
1299
1694
  const contents = map({
1300
1695
  $metadata: deserializeMetadata(output),
@@ -1302,7 +1697,7 @@ export const de_DeleteKxUserCommand = async (output, context) => {
1302
1697
  await collectBody(output.body, context);
1303
1698
  return contents;
1304
1699
  };
1305
- const de_DeleteKxUserCommandError = async (output, context) => {
1700
+ const de_DeleteKxClusterCommandError = async (output, context) => {
1306
1701
  const parsedOutput = {
1307
1702
  ...output,
1308
1703
  body: await parseErrorBody(output.body, context),
@@ -1312,9 +1707,15 @@ const de_DeleteKxUserCommandError = async (output, context) => {
1312
1707
  case "AccessDeniedException":
1313
1708
  case "com.amazonaws.finspace#AccessDeniedException":
1314
1709
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1710
+ case "ConflictException":
1711
+ case "com.amazonaws.finspace#ConflictException":
1712
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1315
1713
  case "InternalServerException":
1316
1714
  case "com.amazonaws.finspace#InternalServerException":
1317
1715
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1716
+ case "LimitExceededException":
1717
+ case "com.amazonaws.finspace#LimitExceededException":
1718
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1318
1719
  case "ResourceNotFoundException":
1319
1720
  case "com.amazonaws.finspace#ResourceNotFoundException":
1320
1721
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1333,21 +1734,17 @@ const de_DeleteKxUserCommandError = async (output, context) => {
1333
1734
  });
1334
1735
  }
1335
1736
  };
1336
- export const de_GetEnvironmentCommand = async (output, context) => {
1737
+ export const de_DeleteKxDatabaseCommand = async (output, context) => {
1337
1738
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1338
- return de_GetEnvironmentCommandError(output, context);
1739
+ return de_DeleteKxDatabaseCommandError(output, context);
1339
1740
  }
1340
1741
  const contents = map({
1341
1742
  $metadata: deserializeMetadata(output),
1342
1743
  });
1343
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1344
- const doc = take(data, {
1345
- environment: _json,
1346
- });
1347
- Object.assign(contents, doc);
1744
+ await collectBody(output.body, context);
1348
1745
  return contents;
1349
1746
  };
1350
- const de_GetEnvironmentCommandError = async (output, context) => {
1747
+ const de_DeleteKxDatabaseCommandError = async (output, context) => {
1351
1748
  const parsedOutput = {
1352
1749
  ...output,
1353
1750
  body: await parseErrorBody(output.body, context),
@@ -1357,12 +1754,18 @@ const de_GetEnvironmentCommandError = async (output, context) => {
1357
1754
  case "AccessDeniedException":
1358
1755
  case "com.amazonaws.finspace#AccessDeniedException":
1359
1756
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1757
+ case "ConflictException":
1758
+ case "com.amazonaws.finspace#ConflictException":
1759
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1360
1760
  case "InternalServerException":
1361
1761
  case "com.amazonaws.finspace#InternalServerException":
1362
1762
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1363
1763
  case "ResourceNotFoundException":
1364
1764
  case "com.amazonaws.finspace#ResourceNotFoundException":
1365
1765
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1766
+ case "ThrottlingException":
1767
+ case "com.amazonaws.finspace#ThrottlingException":
1768
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1366
1769
  case "ValidationException":
1367
1770
  case "com.amazonaws.finspace#ValidationException":
1368
1771
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1375,29 +1778,17 @@ const de_GetEnvironmentCommandError = async (output, context) => {
1375
1778
  });
1376
1779
  }
1377
1780
  };
1378
- export const de_GetKxChangesetCommand = async (output, context) => {
1781
+ export const de_DeleteKxDataviewCommand = async (output, context) => {
1379
1782
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1380
- return de_GetKxChangesetCommandError(output, context);
1783
+ return de_DeleteKxDataviewCommandError(output, context);
1381
1784
  }
1382
1785
  const contents = map({
1383
1786
  $metadata: deserializeMetadata(output),
1384
1787
  });
1385
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1386
- const doc = take(data, {
1387
- activeFromTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1388
- changeRequests: _json,
1389
- changesetId: __expectString,
1390
- createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1391
- databaseName: __expectString,
1392
- environmentId: __expectString,
1393
- errorInfo: _json,
1394
- lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1395
- status: __expectString,
1396
- });
1397
- Object.assign(contents, doc);
1788
+ await collectBody(output.body, context);
1398
1789
  return contents;
1399
1790
  };
1400
- const de_GetKxChangesetCommandError = async (output, context) => {
1791
+ const de_DeleteKxDataviewCommandError = async (output, context) => {
1401
1792
  const parsedOutput = {
1402
1793
  ...output,
1403
1794
  body: await parseErrorBody(output.body, context),
@@ -1407,6 +1798,9 @@ const de_GetKxChangesetCommandError = async (output, context) => {
1407
1798
  case "AccessDeniedException":
1408
1799
  case "com.amazonaws.finspace#AccessDeniedException":
1409
1800
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1801
+ case "ConflictException":
1802
+ case "com.amazonaws.finspace#ConflictException":
1803
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1410
1804
  case "InternalServerException":
1411
1805
  case "com.amazonaws.finspace#InternalServerException":
1412
1806
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -1428,40 +1822,17 @@ const de_GetKxChangesetCommandError = async (output, context) => {
1428
1822
  });
1429
1823
  }
1430
1824
  };
1431
- export const de_GetKxClusterCommand = async (output, context) => {
1825
+ export const de_DeleteKxEnvironmentCommand = async (output, context) => {
1432
1826
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1433
- return de_GetKxClusterCommandError(output, context);
1827
+ return de_DeleteKxEnvironmentCommandError(output, context);
1434
1828
  }
1435
1829
  const contents = map({
1436
1830
  $metadata: deserializeMetadata(output),
1437
1831
  });
1438
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1439
- const doc = take(data, {
1440
- autoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
1441
- availabilityZoneId: __expectString,
1442
- azMode: __expectString,
1443
- cacheStorageConfigurations: _json,
1444
- capacityConfiguration: _json,
1445
- clusterDescription: __expectString,
1446
- clusterName: __expectString,
1447
- clusterType: __expectString,
1448
- code: _json,
1449
- commandLineArguments: _json,
1450
- createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1451
- databases: _json,
1452
- executionRole: __expectString,
1453
- initializationScript: __expectString,
1454
- lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1455
- releaseLabel: __expectString,
1456
- savedownStorageConfiguration: _json,
1457
- status: __expectString,
1458
- statusReason: __expectString,
1459
- vpcConfiguration: _json,
1460
- });
1461
- Object.assign(contents, doc);
1832
+ await collectBody(output.body, context);
1462
1833
  return contents;
1463
1834
  };
1464
- const de_GetKxClusterCommandError = async (output, context) => {
1835
+ const de_DeleteKxEnvironmentCommandError = async (output, context) => {
1465
1836
  const parsedOutput = {
1466
1837
  ...output,
1467
1838
  body: await parseErrorBody(output.body, context),
@@ -1477,9 +1848,6 @@ const de_GetKxClusterCommandError = async (output, context) => {
1477
1848
  case "InternalServerException":
1478
1849
  case "com.amazonaws.finspace#InternalServerException":
1479
1850
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1480
- case "LimitExceededException":
1481
- case "com.amazonaws.finspace#LimitExceededException":
1482
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1483
1851
  case "ResourceNotFoundException":
1484
1852
  case "com.amazonaws.finspace#ResourceNotFoundException":
1485
1853
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1498,21 +1866,17 @@ const de_GetKxClusterCommandError = async (output, context) => {
1498
1866
  });
1499
1867
  }
1500
1868
  };
1501
- export const de_GetKxConnectionStringCommand = async (output, context) => {
1869
+ export const de_DeleteKxScalingGroupCommand = async (output, context) => {
1502
1870
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1503
- return de_GetKxConnectionStringCommandError(output, context);
1871
+ return de_DeleteKxScalingGroupCommandError(output, context);
1504
1872
  }
1505
1873
  const contents = map({
1506
1874
  $metadata: deserializeMetadata(output),
1507
1875
  });
1508
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1509
- const doc = take(data, {
1510
- signedConnectionString: __expectString,
1511
- });
1512
- Object.assign(contents, doc);
1876
+ await collectBody(output.body, context);
1513
1877
  return contents;
1514
1878
  };
1515
- const de_GetKxConnectionStringCommandError = async (output, context) => {
1879
+ const de_DeleteKxScalingGroupCommandError = async (output, context) => {
1516
1880
  const parsedOutput = {
1517
1881
  ...output,
1518
1882
  body: await parseErrorBody(output.body, context),
@@ -1522,9 +1886,15 @@ const de_GetKxConnectionStringCommandError = async (output, context) => {
1522
1886
  case "AccessDeniedException":
1523
1887
  case "com.amazonaws.finspace#AccessDeniedException":
1524
1888
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1889
+ case "ConflictException":
1890
+ case "com.amazonaws.finspace#ConflictException":
1891
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1525
1892
  case "InternalServerException":
1526
1893
  case "com.amazonaws.finspace#InternalServerException":
1527
1894
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1895
+ case "LimitExceededException":
1896
+ case "com.amazonaws.finspace#LimitExceededException":
1897
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1528
1898
  case "ResourceNotFoundException":
1529
1899
  case "com.amazonaws.finspace#ResourceNotFoundException":
1530
1900
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1543,7 +1913,311 @@ const de_GetKxConnectionStringCommandError = async (output, context) => {
1543
1913
  });
1544
1914
  }
1545
1915
  };
1546
- export const de_GetKxDatabaseCommand = async (output, context) => {
1916
+ export const de_DeleteKxUserCommand = async (output, context) => {
1917
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1918
+ return de_DeleteKxUserCommandError(output, context);
1919
+ }
1920
+ const contents = map({
1921
+ $metadata: deserializeMetadata(output),
1922
+ });
1923
+ await collectBody(output.body, context);
1924
+ return contents;
1925
+ };
1926
+ const de_DeleteKxUserCommandError = async (output, context) => {
1927
+ const parsedOutput = {
1928
+ ...output,
1929
+ body: await parseErrorBody(output.body, context),
1930
+ };
1931
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1932
+ switch (errorCode) {
1933
+ case "AccessDeniedException":
1934
+ case "com.amazonaws.finspace#AccessDeniedException":
1935
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1936
+ case "ConflictException":
1937
+ case "com.amazonaws.finspace#ConflictException":
1938
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1939
+ case "InternalServerException":
1940
+ case "com.amazonaws.finspace#InternalServerException":
1941
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1942
+ case "ResourceNotFoundException":
1943
+ case "com.amazonaws.finspace#ResourceNotFoundException":
1944
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1945
+ case "ThrottlingException":
1946
+ case "com.amazonaws.finspace#ThrottlingException":
1947
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1948
+ case "ValidationException":
1949
+ case "com.amazonaws.finspace#ValidationException":
1950
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1951
+ default:
1952
+ const parsedBody = parsedOutput.body;
1953
+ return throwDefaultError({
1954
+ output,
1955
+ parsedBody,
1956
+ errorCode,
1957
+ });
1958
+ }
1959
+ };
1960
+ export const de_DeleteKxVolumeCommand = async (output, context) => {
1961
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1962
+ return de_DeleteKxVolumeCommandError(output, context);
1963
+ }
1964
+ const contents = map({
1965
+ $metadata: deserializeMetadata(output),
1966
+ });
1967
+ await collectBody(output.body, context);
1968
+ return contents;
1969
+ };
1970
+ const de_DeleteKxVolumeCommandError = async (output, context) => {
1971
+ const parsedOutput = {
1972
+ ...output,
1973
+ body: await parseErrorBody(output.body, context),
1974
+ };
1975
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1976
+ switch (errorCode) {
1977
+ case "AccessDeniedException":
1978
+ case "com.amazonaws.finspace#AccessDeniedException":
1979
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1980
+ case "ConflictException":
1981
+ case "com.amazonaws.finspace#ConflictException":
1982
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1983
+ case "InternalServerException":
1984
+ case "com.amazonaws.finspace#InternalServerException":
1985
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1986
+ case "LimitExceededException":
1987
+ case "com.amazonaws.finspace#LimitExceededException":
1988
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1989
+ case "ResourceNotFoundException":
1990
+ case "com.amazonaws.finspace#ResourceNotFoundException":
1991
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1992
+ case "ThrottlingException":
1993
+ case "com.amazonaws.finspace#ThrottlingException":
1994
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1995
+ case "ValidationException":
1996
+ case "com.amazonaws.finspace#ValidationException":
1997
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1998
+ default:
1999
+ const parsedBody = parsedOutput.body;
2000
+ return throwDefaultError({
2001
+ output,
2002
+ parsedBody,
2003
+ errorCode,
2004
+ });
2005
+ }
2006
+ };
2007
+ export const de_GetEnvironmentCommand = async (output, context) => {
2008
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2009
+ return de_GetEnvironmentCommandError(output, context);
2010
+ }
2011
+ const contents = map({
2012
+ $metadata: deserializeMetadata(output),
2013
+ });
2014
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2015
+ const doc = take(data, {
2016
+ environment: _json,
2017
+ });
2018
+ Object.assign(contents, doc);
2019
+ return contents;
2020
+ };
2021
+ const de_GetEnvironmentCommandError = async (output, context) => {
2022
+ const parsedOutput = {
2023
+ ...output,
2024
+ body: await parseErrorBody(output.body, context),
2025
+ };
2026
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2027
+ switch (errorCode) {
2028
+ case "AccessDeniedException":
2029
+ case "com.amazonaws.finspace#AccessDeniedException":
2030
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2031
+ case "InternalServerException":
2032
+ case "com.amazonaws.finspace#InternalServerException":
2033
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2034
+ case "ResourceNotFoundException":
2035
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2036
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2037
+ case "ValidationException":
2038
+ case "com.amazonaws.finspace#ValidationException":
2039
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2040
+ default:
2041
+ const parsedBody = parsedOutput.body;
2042
+ return throwDefaultError({
2043
+ output,
2044
+ parsedBody,
2045
+ errorCode,
2046
+ });
2047
+ }
2048
+ };
2049
+ export const de_GetKxChangesetCommand = async (output, context) => {
2050
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2051
+ return de_GetKxChangesetCommandError(output, context);
2052
+ }
2053
+ const contents = map({
2054
+ $metadata: deserializeMetadata(output),
2055
+ });
2056
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2057
+ const doc = take(data, {
2058
+ activeFromTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2059
+ changeRequests: _json,
2060
+ changesetId: __expectString,
2061
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2062
+ databaseName: __expectString,
2063
+ environmentId: __expectString,
2064
+ errorInfo: _json,
2065
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2066
+ status: __expectString,
2067
+ });
2068
+ Object.assign(contents, doc);
2069
+ return contents;
2070
+ };
2071
+ const de_GetKxChangesetCommandError = async (output, context) => {
2072
+ const parsedOutput = {
2073
+ ...output,
2074
+ body: await parseErrorBody(output.body, context),
2075
+ };
2076
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2077
+ switch (errorCode) {
2078
+ case "AccessDeniedException":
2079
+ case "com.amazonaws.finspace#AccessDeniedException":
2080
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2081
+ case "InternalServerException":
2082
+ case "com.amazonaws.finspace#InternalServerException":
2083
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2084
+ case "ResourceNotFoundException":
2085
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2086
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2087
+ case "ThrottlingException":
2088
+ case "com.amazonaws.finspace#ThrottlingException":
2089
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2090
+ case "ValidationException":
2091
+ case "com.amazonaws.finspace#ValidationException":
2092
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2093
+ default:
2094
+ const parsedBody = parsedOutput.body;
2095
+ return throwDefaultError({
2096
+ output,
2097
+ parsedBody,
2098
+ errorCode,
2099
+ });
2100
+ }
2101
+ };
2102
+ export const de_GetKxClusterCommand = async (output, context) => {
2103
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2104
+ return de_GetKxClusterCommandError(output, context);
2105
+ }
2106
+ const contents = map({
2107
+ $metadata: deserializeMetadata(output),
2108
+ });
2109
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2110
+ const doc = take(data, {
2111
+ autoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
2112
+ availabilityZoneId: __expectString,
2113
+ azMode: __expectString,
2114
+ cacheStorageConfigurations: _json,
2115
+ capacityConfiguration: _json,
2116
+ clusterDescription: __expectString,
2117
+ clusterName: __expectString,
2118
+ clusterType: __expectString,
2119
+ code: _json,
2120
+ commandLineArguments: _json,
2121
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2122
+ databases: _json,
2123
+ executionRole: __expectString,
2124
+ initializationScript: __expectString,
2125
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2126
+ releaseLabel: __expectString,
2127
+ savedownStorageConfiguration: _json,
2128
+ scalingGroupConfiguration: (_) => de_KxScalingGroupConfiguration(_, context),
2129
+ status: __expectString,
2130
+ statusReason: __expectString,
2131
+ tickerplantLogConfiguration: _json,
2132
+ volumes: _json,
2133
+ vpcConfiguration: _json,
2134
+ });
2135
+ Object.assign(contents, doc);
2136
+ return contents;
2137
+ };
2138
+ const de_GetKxClusterCommandError = async (output, context) => {
2139
+ const parsedOutput = {
2140
+ ...output,
2141
+ body: await parseErrorBody(output.body, context),
2142
+ };
2143
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2144
+ switch (errorCode) {
2145
+ case "AccessDeniedException":
2146
+ case "com.amazonaws.finspace#AccessDeniedException":
2147
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2148
+ case "ConflictException":
2149
+ case "com.amazonaws.finspace#ConflictException":
2150
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2151
+ case "InternalServerException":
2152
+ case "com.amazonaws.finspace#InternalServerException":
2153
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2154
+ case "LimitExceededException":
2155
+ case "com.amazonaws.finspace#LimitExceededException":
2156
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2157
+ case "ResourceNotFoundException":
2158
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2159
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2160
+ case "ThrottlingException":
2161
+ case "com.amazonaws.finspace#ThrottlingException":
2162
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2163
+ case "ValidationException":
2164
+ case "com.amazonaws.finspace#ValidationException":
2165
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2166
+ default:
2167
+ const parsedBody = parsedOutput.body;
2168
+ return throwDefaultError({
2169
+ output,
2170
+ parsedBody,
2171
+ errorCode,
2172
+ });
2173
+ }
2174
+ };
2175
+ export const de_GetKxConnectionStringCommand = async (output, context) => {
2176
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2177
+ return de_GetKxConnectionStringCommandError(output, context);
2178
+ }
2179
+ const contents = map({
2180
+ $metadata: deserializeMetadata(output),
2181
+ });
2182
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2183
+ const doc = take(data, {
2184
+ signedConnectionString: __expectString,
2185
+ });
2186
+ Object.assign(contents, doc);
2187
+ return contents;
2188
+ };
2189
+ const de_GetKxConnectionStringCommandError = async (output, context) => {
2190
+ const parsedOutput = {
2191
+ ...output,
2192
+ body: await parseErrorBody(output.body, context),
2193
+ };
2194
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2195
+ switch (errorCode) {
2196
+ case "AccessDeniedException":
2197
+ case "com.amazonaws.finspace#AccessDeniedException":
2198
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2199
+ case "InternalServerException":
2200
+ case "com.amazonaws.finspace#InternalServerException":
2201
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2202
+ case "ResourceNotFoundException":
2203
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2204
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2205
+ case "ThrottlingException":
2206
+ case "com.amazonaws.finspace#ThrottlingException":
2207
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2208
+ case "ValidationException":
2209
+ case "com.amazonaws.finspace#ValidationException":
2210
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2211
+ default:
2212
+ const parsedBody = parsedOutput.body;
2213
+ return throwDefaultError({
2214
+ output,
2215
+ parsedBody,
2216
+ errorCode,
2217
+ });
2218
+ }
2219
+ };
2220
+ export const de_GetKxDatabaseCommand = async (output, context) => {
1547
2221
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1548
2222
  return de_GetKxDatabaseCommandError(output, context);
1549
2223
  }
@@ -1566,7 +2240,65 @@ export const de_GetKxDatabaseCommand = async (output, context) => {
1566
2240
  Object.assign(contents, doc);
1567
2241
  return contents;
1568
2242
  };
1569
- const de_GetKxDatabaseCommandError = async (output, context) => {
2243
+ const de_GetKxDatabaseCommandError = async (output, context) => {
2244
+ const parsedOutput = {
2245
+ ...output,
2246
+ body: await parseErrorBody(output.body, context),
2247
+ };
2248
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2249
+ switch (errorCode) {
2250
+ case "AccessDeniedException":
2251
+ case "com.amazonaws.finspace#AccessDeniedException":
2252
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2253
+ case "InternalServerException":
2254
+ case "com.amazonaws.finspace#InternalServerException":
2255
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2256
+ case "ResourceNotFoundException":
2257
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2258
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2259
+ case "ThrottlingException":
2260
+ case "com.amazonaws.finspace#ThrottlingException":
2261
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2262
+ case "ValidationException":
2263
+ case "com.amazonaws.finspace#ValidationException":
2264
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2265
+ default:
2266
+ const parsedBody = parsedOutput.body;
2267
+ return throwDefaultError({
2268
+ output,
2269
+ parsedBody,
2270
+ errorCode,
2271
+ });
2272
+ }
2273
+ };
2274
+ export const de_GetKxDataviewCommand = async (output, context) => {
2275
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2276
+ return de_GetKxDataviewCommandError(output, context);
2277
+ }
2278
+ const contents = map({
2279
+ $metadata: deserializeMetadata(output),
2280
+ });
2281
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2282
+ const doc = take(data, {
2283
+ activeVersions: (_) => de_KxDataviewActiveVersionList(_, context),
2284
+ autoUpdate: __expectBoolean,
2285
+ availabilityZoneId: __expectString,
2286
+ azMode: __expectString,
2287
+ changesetId: __expectString,
2288
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2289
+ databaseName: __expectString,
2290
+ dataviewName: __expectString,
2291
+ description: __expectString,
2292
+ environmentId: __expectString,
2293
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2294
+ segmentConfigurations: _json,
2295
+ status: __expectString,
2296
+ statusReason: __expectString,
2297
+ });
2298
+ Object.assign(contents, doc);
2299
+ return contents;
2300
+ };
2301
+ const de_GetKxDataviewCommandError = async (output, context) => {
1570
2302
  const parsedOutput = {
1571
2303
  ...output,
1572
2304
  body: await parseErrorBody(output.body, context),
@@ -1637,12 +2369,74 @@ const de_GetKxEnvironmentCommandError = async (output, context) => {
1637
2369
  case "AccessDeniedException":
1638
2370
  case "com.amazonaws.finspace#AccessDeniedException":
1639
2371
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2372
+ case "ConflictException":
2373
+ case "com.amazonaws.finspace#ConflictException":
2374
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2375
+ case "InternalServerException":
2376
+ case "com.amazonaws.finspace#InternalServerException":
2377
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2378
+ case "ResourceNotFoundException":
2379
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2380
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2381
+ case "ValidationException":
2382
+ case "com.amazonaws.finspace#ValidationException":
2383
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2384
+ default:
2385
+ const parsedBody = parsedOutput.body;
2386
+ return throwDefaultError({
2387
+ output,
2388
+ parsedBody,
2389
+ errorCode,
2390
+ });
2391
+ }
2392
+ };
2393
+ export const de_GetKxScalingGroupCommand = async (output, context) => {
2394
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2395
+ return de_GetKxScalingGroupCommandError(output, context);
2396
+ }
2397
+ const contents = map({
2398
+ $metadata: deserializeMetadata(output),
2399
+ });
2400
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2401
+ const doc = take(data, {
2402
+ availabilityZoneId: __expectString,
2403
+ clusters: _json,
2404
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2405
+ hostType: __expectString,
2406
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2407
+ scalingGroupArn: __expectString,
2408
+ scalingGroupName: __expectString,
2409
+ status: __expectString,
2410
+ statusReason: __expectString,
2411
+ });
2412
+ Object.assign(contents, doc);
2413
+ return contents;
2414
+ };
2415
+ const de_GetKxScalingGroupCommandError = async (output, context) => {
2416
+ const parsedOutput = {
2417
+ ...output,
2418
+ body: await parseErrorBody(output.body, context),
2419
+ };
2420
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2421
+ switch (errorCode) {
2422
+ case "AccessDeniedException":
2423
+ case "com.amazonaws.finspace#AccessDeniedException":
2424
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2425
+ case "ConflictException":
2426
+ case "com.amazonaws.finspace#ConflictException":
2427
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1640
2428
  case "InternalServerException":
1641
2429
  case "com.amazonaws.finspace#InternalServerException":
1642
2430
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2431
+ case "LimitExceededException":
2432
+ case "com.amazonaws.finspace#LimitExceededException":
2433
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1643
2434
  case "ResourceNotFoundException":
1644
2435
  case "com.amazonaws.finspace#ResourceNotFoundException":
1645
2436
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2437
+ case "ThrottlingException":
2438
+ case "com.amazonaws.finspace#ThrottlingException":
2439
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1646
2440
  case "ValidationException":
1647
2441
  case "com.amazonaws.finspace#ValidationException":
1648
2442
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1703,6 +2497,69 @@ const de_GetKxUserCommandError = async (output, context) => {
1703
2497
  });
1704
2498
  }
1705
2499
  };
2500
+ export const de_GetKxVolumeCommand = async (output, context) => {
2501
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2502
+ return de_GetKxVolumeCommandError(output, context);
2503
+ }
2504
+ const contents = map({
2505
+ $metadata: deserializeMetadata(output),
2506
+ });
2507
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2508
+ const doc = take(data, {
2509
+ attachedClusters: _json,
2510
+ availabilityZoneIds: _json,
2511
+ azMode: __expectString,
2512
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2513
+ description: __expectString,
2514
+ environmentId: __expectString,
2515
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2516
+ nas1Configuration: _json,
2517
+ status: __expectString,
2518
+ statusReason: __expectString,
2519
+ volumeArn: __expectString,
2520
+ volumeName: __expectString,
2521
+ volumeType: __expectString,
2522
+ });
2523
+ Object.assign(contents, doc);
2524
+ return contents;
2525
+ };
2526
+ const de_GetKxVolumeCommandError = async (output, context) => {
2527
+ const parsedOutput = {
2528
+ ...output,
2529
+ body: await parseErrorBody(output.body, context),
2530
+ };
2531
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2532
+ switch (errorCode) {
2533
+ case "AccessDeniedException":
2534
+ case "com.amazonaws.finspace#AccessDeniedException":
2535
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2536
+ case "ConflictException":
2537
+ case "com.amazonaws.finspace#ConflictException":
2538
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2539
+ case "InternalServerException":
2540
+ case "com.amazonaws.finspace#InternalServerException":
2541
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2542
+ case "LimitExceededException":
2543
+ case "com.amazonaws.finspace#LimitExceededException":
2544
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2545
+ case "ResourceNotFoundException":
2546
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2547
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2548
+ case "ThrottlingException":
2549
+ case "com.amazonaws.finspace#ThrottlingException":
2550
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2551
+ case "ValidationException":
2552
+ case "com.amazonaws.finspace#ValidationException":
2553
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2554
+ default:
2555
+ const parsedBody = parsedOutput.body;
2556
+ return throwDefaultError({
2557
+ output,
2558
+ parsedBody,
2559
+ errorCode,
2560
+ });
2561
+ }
2562
+ };
1706
2563
  export const de_ListEnvironmentsCommand = async (output, context) => {
1707
2564
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1708
2565
  return de_ListEnvironmentsCommandError(output, context);
@@ -1725,9 +2582,159 @@ const de_ListEnvironmentsCommandError = async (output, context) => {
1725
2582
  };
1726
2583
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1727
2584
  switch (errorCode) {
2585
+ case "AccessDeniedException":
2586
+ case "com.amazonaws.finspace#AccessDeniedException":
2587
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2588
+ case "InternalServerException":
2589
+ case "com.amazonaws.finspace#InternalServerException":
2590
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2591
+ case "ValidationException":
2592
+ case "com.amazonaws.finspace#ValidationException":
2593
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2594
+ default:
2595
+ const parsedBody = parsedOutput.body;
2596
+ return throwDefaultError({
2597
+ output,
2598
+ parsedBody,
2599
+ errorCode,
2600
+ });
2601
+ }
2602
+ };
2603
+ export const de_ListKxChangesetsCommand = async (output, context) => {
2604
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2605
+ return de_ListKxChangesetsCommandError(output, context);
2606
+ }
2607
+ const contents = map({
2608
+ $metadata: deserializeMetadata(output),
2609
+ });
2610
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2611
+ const doc = take(data, {
2612
+ kxChangesets: (_) => de_KxChangesets(_, context),
2613
+ nextToken: __expectString,
2614
+ });
2615
+ Object.assign(contents, doc);
2616
+ return contents;
2617
+ };
2618
+ const de_ListKxChangesetsCommandError = async (output, context) => {
2619
+ const parsedOutput = {
2620
+ ...output,
2621
+ body: await parseErrorBody(output.body, context),
2622
+ };
2623
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2624
+ switch (errorCode) {
2625
+ case "AccessDeniedException":
2626
+ case "com.amazonaws.finspace#AccessDeniedException":
2627
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2628
+ case "InternalServerException":
2629
+ case "com.amazonaws.finspace#InternalServerException":
2630
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2631
+ case "ResourceNotFoundException":
2632
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2633
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2634
+ case "ThrottlingException":
2635
+ case "com.amazonaws.finspace#ThrottlingException":
2636
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2637
+ case "ValidationException":
2638
+ case "com.amazonaws.finspace#ValidationException":
2639
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2640
+ default:
2641
+ const parsedBody = parsedOutput.body;
2642
+ return throwDefaultError({
2643
+ output,
2644
+ parsedBody,
2645
+ errorCode,
2646
+ });
2647
+ }
2648
+ };
2649
+ export const de_ListKxClusterNodesCommand = async (output, context) => {
2650
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2651
+ return de_ListKxClusterNodesCommandError(output, context);
2652
+ }
2653
+ const contents = map({
2654
+ $metadata: deserializeMetadata(output),
2655
+ });
2656
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2657
+ const doc = take(data, {
2658
+ nextToken: __expectString,
2659
+ nodes: (_) => de_KxNodeSummaries(_, context),
2660
+ });
2661
+ Object.assign(contents, doc);
2662
+ return contents;
2663
+ };
2664
+ const de_ListKxClusterNodesCommandError = async (output, context) => {
2665
+ const parsedOutput = {
2666
+ ...output,
2667
+ body: await parseErrorBody(output.body, context),
2668
+ };
2669
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2670
+ switch (errorCode) {
2671
+ case "AccessDeniedException":
2672
+ case "com.amazonaws.finspace#AccessDeniedException":
2673
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2674
+ case "InternalServerException":
2675
+ case "com.amazonaws.finspace#InternalServerException":
2676
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2677
+ case "LimitExceededException":
2678
+ case "com.amazonaws.finspace#LimitExceededException":
2679
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2680
+ case "ResourceNotFoundException":
2681
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2682
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2683
+ case "ThrottlingException":
2684
+ case "com.amazonaws.finspace#ThrottlingException":
2685
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2686
+ case "ValidationException":
2687
+ case "com.amazonaws.finspace#ValidationException":
2688
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2689
+ default:
2690
+ const parsedBody = parsedOutput.body;
2691
+ return throwDefaultError({
2692
+ output,
2693
+ parsedBody,
2694
+ errorCode,
2695
+ });
2696
+ }
2697
+ };
2698
+ export const de_ListKxClustersCommand = async (output, context) => {
2699
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2700
+ return de_ListKxClustersCommandError(output, context);
2701
+ }
2702
+ const contents = map({
2703
+ $metadata: deserializeMetadata(output),
2704
+ });
2705
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2706
+ const doc = take(data, {
2707
+ kxClusterSummaries: (_) => de_KxClusters(_, context),
2708
+ nextToken: __expectString,
2709
+ });
2710
+ Object.assign(contents, doc);
2711
+ return contents;
2712
+ };
2713
+ const de_ListKxClustersCommandError = async (output, context) => {
2714
+ const parsedOutput = {
2715
+ ...output,
2716
+ body: await parseErrorBody(output.body, context),
2717
+ };
2718
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2719
+ switch (errorCode) {
2720
+ case "AccessDeniedException":
2721
+ case "com.amazonaws.finspace#AccessDeniedException":
2722
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2723
+ case "ConflictException":
2724
+ case "com.amazonaws.finspace#ConflictException":
2725
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1728
2726
  case "InternalServerException":
1729
2727
  case "com.amazonaws.finspace#InternalServerException":
1730
2728
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2729
+ case "LimitExceededException":
2730
+ case "com.amazonaws.finspace#LimitExceededException":
2731
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2732
+ case "ResourceNotFoundException":
2733
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2734
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2735
+ case "ThrottlingException":
2736
+ case "com.amazonaws.finspace#ThrottlingException":
2737
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1731
2738
  case "ValidationException":
1732
2739
  case "com.amazonaws.finspace#ValidationException":
1733
2740
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1740,22 +2747,22 @@ const de_ListEnvironmentsCommandError = async (output, context) => {
1740
2747
  });
1741
2748
  }
1742
2749
  };
1743
- export const de_ListKxChangesetsCommand = async (output, context) => {
2750
+ export const de_ListKxDatabasesCommand = async (output, context) => {
1744
2751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1745
- return de_ListKxChangesetsCommandError(output, context);
2752
+ return de_ListKxDatabasesCommandError(output, context);
1746
2753
  }
1747
2754
  const contents = map({
1748
2755
  $metadata: deserializeMetadata(output),
1749
2756
  });
1750
2757
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1751
2758
  const doc = take(data, {
1752
- kxChangesets: (_) => de_KxChangesets(_, context),
2759
+ kxDatabases: (_) => de_KxDatabases(_, context),
1753
2760
  nextToken: __expectString,
1754
2761
  });
1755
2762
  Object.assign(contents, doc);
1756
2763
  return contents;
1757
2764
  };
1758
- const de_ListKxChangesetsCommandError = async (output, context) => {
2765
+ const de_ListKxDatabasesCommandError = async (output, context) => {
1759
2766
  const parsedOutput = {
1760
2767
  ...output,
1761
2768
  body: await parseErrorBody(output.body, context),
@@ -1786,22 +2793,22 @@ const de_ListKxChangesetsCommandError = async (output, context) => {
1786
2793
  });
1787
2794
  }
1788
2795
  };
1789
- export const de_ListKxClusterNodesCommand = async (output, context) => {
2796
+ export const de_ListKxDataviewsCommand = async (output, context) => {
1790
2797
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1791
- return de_ListKxClusterNodesCommandError(output, context);
2798
+ return de_ListKxDataviewsCommandError(output, context);
1792
2799
  }
1793
2800
  const contents = map({
1794
2801
  $metadata: deserializeMetadata(output),
1795
2802
  });
1796
2803
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1797
2804
  const doc = take(data, {
2805
+ kxDataviews: (_) => de_KxDataviews(_, context),
1798
2806
  nextToken: __expectString,
1799
- nodes: (_) => de_KxNodeSummaries(_, context),
1800
2807
  });
1801
2808
  Object.assign(contents, doc);
1802
2809
  return contents;
1803
2810
  };
1804
- const de_ListKxClusterNodesCommandError = async (output, context) => {
2811
+ const de_ListKxDataviewsCommandError = async (output, context) => {
1805
2812
  const parsedOutput = {
1806
2813
  ...output,
1807
2814
  body: await parseErrorBody(output.body, context),
@@ -1814,9 +2821,6 @@ const de_ListKxClusterNodesCommandError = async (output, context) => {
1814
2821
  case "InternalServerException":
1815
2822
  case "com.amazonaws.finspace#InternalServerException":
1816
2823
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1817
- case "LimitExceededException":
1818
- case "com.amazonaws.finspace#LimitExceededException":
1819
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1820
2824
  case "ResourceNotFoundException":
1821
2825
  case "com.amazonaws.finspace#ResourceNotFoundException":
1822
2826
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1835,22 +2839,22 @@ const de_ListKxClusterNodesCommandError = async (output, context) => {
1835
2839
  });
1836
2840
  }
1837
2841
  };
1838
- export const de_ListKxClustersCommand = async (output, context) => {
2842
+ export const de_ListKxEnvironmentsCommand = async (output, context) => {
1839
2843
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1840
- return de_ListKxClustersCommandError(output, context);
2844
+ return de_ListKxEnvironmentsCommandError(output, context);
1841
2845
  }
1842
2846
  const contents = map({
1843
2847
  $metadata: deserializeMetadata(output),
1844
2848
  });
1845
2849
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1846
2850
  const doc = take(data, {
1847
- kxClusterSummaries: (_) => de_KxClusters(_, context),
2851
+ environments: (_) => de_KxEnvironmentList(_, context),
1848
2852
  nextToken: __expectString,
1849
2853
  });
1850
2854
  Object.assign(contents, doc);
1851
2855
  return contents;
1852
2856
  };
1853
- const de_ListKxClustersCommandError = async (output, context) => {
2857
+ const de_ListKxEnvironmentsCommandError = async (output, context) => {
1854
2858
  const parsedOutput = {
1855
2859
  ...output,
1856
2860
  body: await parseErrorBody(output.body, context),
@@ -1860,21 +2864,9 @@ const de_ListKxClustersCommandError = async (output, context) => {
1860
2864
  case "AccessDeniedException":
1861
2865
  case "com.amazonaws.finspace#AccessDeniedException":
1862
2866
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1863
- case "ConflictException":
1864
- case "com.amazonaws.finspace#ConflictException":
1865
- throw await de_ConflictExceptionRes(parsedOutput, context);
1866
2867
  case "InternalServerException":
1867
2868
  case "com.amazonaws.finspace#InternalServerException":
1868
2869
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1869
- case "LimitExceededException":
1870
- case "com.amazonaws.finspace#LimitExceededException":
1871
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1872
- case "ResourceNotFoundException":
1873
- case "com.amazonaws.finspace#ResourceNotFoundException":
1874
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1875
- case "ThrottlingException":
1876
- case "com.amazonaws.finspace#ThrottlingException":
1877
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1878
2870
  case "ValidationException":
1879
2871
  case "com.amazonaws.finspace#ValidationException":
1880
2872
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1887,22 +2879,22 @@ const de_ListKxClustersCommandError = async (output, context) => {
1887
2879
  });
1888
2880
  }
1889
2881
  };
1890
- export const de_ListKxDatabasesCommand = async (output, context) => {
2882
+ export const de_ListKxScalingGroupsCommand = async (output, context) => {
1891
2883
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1892
- return de_ListKxDatabasesCommandError(output, context);
2884
+ return de_ListKxScalingGroupsCommandError(output, context);
1893
2885
  }
1894
2886
  const contents = map({
1895
2887
  $metadata: deserializeMetadata(output),
1896
2888
  });
1897
2889
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1898
2890
  const doc = take(data, {
1899
- kxDatabases: (_) => de_KxDatabases(_, context),
1900
2891
  nextToken: __expectString,
2892
+ scalingGroups: (_) => de_KxScalingGroupList(_, context),
1901
2893
  });
1902
2894
  Object.assign(contents, doc);
1903
2895
  return contents;
1904
2896
  };
1905
- const de_ListKxDatabasesCommandError = async (output, context) => {
2897
+ const de_ListKxScalingGroupsCommandError = async (output, context) => {
1906
2898
  const parsedOutput = {
1907
2899
  ...output,
1908
2900
  body: await parseErrorBody(output.body, context),
@@ -1912,9 +2904,15 @@ const de_ListKxDatabasesCommandError = async (output, context) => {
1912
2904
  case "AccessDeniedException":
1913
2905
  case "com.amazonaws.finspace#AccessDeniedException":
1914
2906
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2907
+ case "ConflictException":
2908
+ case "com.amazonaws.finspace#ConflictException":
2909
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1915
2910
  case "InternalServerException":
1916
2911
  case "com.amazonaws.finspace#InternalServerException":
1917
2912
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2913
+ case "LimitExceededException":
2914
+ case "com.amazonaws.finspace#LimitExceededException":
2915
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1918
2916
  case "ResourceNotFoundException":
1919
2917
  case "com.amazonaws.finspace#ResourceNotFoundException":
1920
2918
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1933,31 +2931,40 @@ const de_ListKxDatabasesCommandError = async (output, context) => {
1933
2931
  });
1934
2932
  }
1935
2933
  };
1936
- export const de_ListKxEnvironmentsCommand = async (output, context) => {
2934
+ export const de_ListKxUsersCommand = async (output, context) => {
1937
2935
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1938
- return de_ListKxEnvironmentsCommandError(output, context);
2936
+ return de_ListKxUsersCommandError(output, context);
1939
2937
  }
1940
2938
  const contents = map({
1941
2939
  $metadata: deserializeMetadata(output),
1942
2940
  });
1943
2941
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1944
2942
  const doc = take(data, {
1945
- environments: (_) => de_KxEnvironmentList(_, context),
1946
2943
  nextToken: __expectString,
2944
+ users: (_) => de_KxUserList(_, context),
1947
2945
  });
1948
2946
  Object.assign(contents, doc);
1949
2947
  return contents;
1950
2948
  };
1951
- const de_ListKxEnvironmentsCommandError = async (output, context) => {
2949
+ const de_ListKxUsersCommandError = async (output, context) => {
1952
2950
  const parsedOutput = {
1953
2951
  ...output,
1954
2952
  body: await parseErrorBody(output.body, context),
1955
2953
  };
1956
2954
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1957
2955
  switch (errorCode) {
2956
+ case "AccessDeniedException":
2957
+ case "com.amazonaws.finspace#AccessDeniedException":
2958
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1958
2959
  case "InternalServerException":
1959
2960
  case "com.amazonaws.finspace#InternalServerException":
1960
2961
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2962
+ case "ResourceNotFoundException":
2963
+ case "com.amazonaws.finspace#ResourceNotFoundException":
2964
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2965
+ case "ThrottlingException":
2966
+ case "com.amazonaws.finspace#ThrottlingException":
2967
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1961
2968
  case "ValidationException":
1962
2969
  case "com.amazonaws.finspace#ValidationException":
1963
2970
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1970,22 +2977,22 @@ const de_ListKxEnvironmentsCommandError = async (output, context) => {
1970
2977
  });
1971
2978
  }
1972
2979
  };
1973
- export const de_ListKxUsersCommand = async (output, context) => {
2980
+ export const de_ListKxVolumesCommand = async (output, context) => {
1974
2981
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1975
- return de_ListKxUsersCommandError(output, context);
2982
+ return de_ListKxVolumesCommandError(output, context);
1976
2983
  }
1977
2984
  const contents = map({
1978
2985
  $metadata: deserializeMetadata(output),
1979
2986
  });
1980
2987
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1981
2988
  const doc = take(data, {
2989
+ kxVolumeSummaries: (_) => de_KxVolumes(_, context),
1982
2990
  nextToken: __expectString,
1983
- users: (_) => de_KxUserList(_, context),
1984
2991
  });
1985
2992
  Object.assign(contents, doc);
1986
2993
  return contents;
1987
2994
  };
1988
- const de_ListKxUsersCommandError = async (output, context) => {
2995
+ const de_ListKxVolumesCommandError = async (output, context) => {
1989
2996
  const parsedOutput = {
1990
2997
  ...output,
1991
2998
  body: await parseErrorBody(output.body, context),
@@ -1995,9 +3002,15 @@ const de_ListKxUsersCommandError = async (output, context) => {
1995
3002
  case "AccessDeniedException":
1996
3003
  case "com.amazonaws.finspace#AccessDeniedException":
1997
3004
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3005
+ case "ConflictException":
3006
+ case "com.amazonaws.finspace#ConflictException":
3007
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1998
3008
  case "InternalServerException":
1999
3009
  case "com.amazonaws.finspace#InternalServerException":
2000
3010
  throw await de_InternalServerExceptionRes(parsedOutput, context);
3011
+ case "LimitExceededException":
3012
+ case "com.amazonaws.finspace#LimitExceededException":
3013
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2001
3014
  case "ResourceNotFoundException":
2002
3015
  case "com.amazonaws.finspace#ResourceNotFoundException":
2003
3016
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -2315,6 +3328,69 @@ const de_UpdateKxDatabaseCommandError = async (output, context) => {
2315
3328
  });
2316
3329
  }
2317
3330
  };
3331
+ export const de_UpdateKxDataviewCommand = async (output, context) => {
3332
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3333
+ return de_UpdateKxDataviewCommandError(output, context);
3334
+ }
3335
+ const contents = map({
3336
+ $metadata: deserializeMetadata(output),
3337
+ });
3338
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3339
+ const doc = take(data, {
3340
+ activeVersions: (_) => de_KxDataviewActiveVersionList(_, context),
3341
+ autoUpdate: __expectBoolean,
3342
+ availabilityZoneId: __expectString,
3343
+ azMode: __expectString,
3344
+ changesetId: __expectString,
3345
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3346
+ databaseName: __expectString,
3347
+ dataviewName: __expectString,
3348
+ description: __expectString,
3349
+ environmentId: __expectString,
3350
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3351
+ segmentConfigurations: _json,
3352
+ status: __expectString,
3353
+ });
3354
+ Object.assign(contents, doc);
3355
+ return contents;
3356
+ };
3357
+ const de_UpdateKxDataviewCommandError = async (output, context) => {
3358
+ const parsedOutput = {
3359
+ ...output,
3360
+ body: await parseErrorBody(output.body, context),
3361
+ };
3362
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3363
+ switch (errorCode) {
3364
+ case "AccessDeniedException":
3365
+ case "com.amazonaws.finspace#AccessDeniedException":
3366
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3367
+ case "ConflictException":
3368
+ case "com.amazonaws.finspace#ConflictException":
3369
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3370
+ case "InternalServerException":
3371
+ case "com.amazonaws.finspace#InternalServerException":
3372
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3373
+ case "ResourceAlreadyExistsException":
3374
+ case "com.amazonaws.finspace#ResourceAlreadyExistsException":
3375
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
3376
+ case "ResourceNotFoundException":
3377
+ case "com.amazonaws.finspace#ResourceNotFoundException":
3378
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3379
+ case "ThrottlingException":
3380
+ case "com.amazonaws.finspace#ThrottlingException":
3381
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3382
+ case "ValidationException":
3383
+ case "com.amazonaws.finspace#ValidationException":
3384
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3385
+ default:
3386
+ const parsedBody = parsedOutput.body;
3387
+ return throwDefaultError({
3388
+ output,
3389
+ parsedBody,
3390
+ errorCode,
3391
+ });
3392
+ }
3393
+ };
2318
3394
  export const de_UpdateKxEnvironmentCommand = async (output, context) => {
2319
3395
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2320
3396
  return de_UpdateKxEnvironmentCommandError(output, context);
@@ -2495,6 +3571,69 @@ const de_UpdateKxUserCommandError = async (output, context) => {
2495
3571
  });
2496
3572
  }
2497
3573
  };
3574
+ export const de_UpdateKxVolumeCommand = async (output, context) => {
3575
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3576
+ return de_UpdateKxVolumeCommandError(output, context);
3577
+ }
3578
+ const contents = map({
3579
+ $metadata: deserializeMetadata(output),
3580
+ });
3581
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3582
+ const doc = take(data, {
3583
+ attachedClusters: _json,
3584
+ availabilityZoneIds: _json,
3585
+ azMode: __expectString,
3586
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3587
+ description: __expectString,
3588
+ environmentId: __expectString,
3589
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3590
+ nas1Configuration: _json,
3591
+ status: __expectString,
3592
+ statusReason: __expectString,
3593
+ volumeArn: __expectString,
3594
+ volumeName: __expectString,
3595
+ volumeType: __expectString,
3596
+ });
3597
+ Object.assign(contents, doc);
3598
+ return contents;
3599
+ };
3600
+ const de_UpdateKxVolumeCommandError = async (output, context) => {
3601
+ const parsedOutput = {
3602
+ ...output,
3603
+ body: await parseErrorBody(output.body, context),
3604
+ };
3605
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3606
+ switch (errorCode) {
3607
+ case "AccessDeniedException":
3608
+ case "com.amazonaws.finspace#AccessDeniedException":
3609
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3610
+ case "ConflictException":
3611
+ case "com.amazonaws.finspace#ConflictException":
3612
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3613
+ case "InternalServerException":
3614
+ case "com.amazonaws.finspace#InternalServerException":
3615
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3616
+ case "LimitExceededException":
3617
+ case "com.amazonaws.finspace#LimitExceededException":
3618
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3619
+ case "ResourceNotFoundException":
3620
+ case "com.amazonaws.finspace#ResourceNotFoundException":
3621
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3622
+ case "ThrottlingException":
3623
+ case "com.amazonaws.finspace#ThrottlingException":
3624
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3625
+ case "ValidationException":
3626
+ case "com.amazonaws.finspace#ValidationException":
3627
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3628
+ default:
3629
+ const parsedBody = parsedOutput.body;
3630
+ return throwDefaultError({
3631
+ output,
3632
+ parsedBody,
3633
+ errorCode,
3634
+ });
3635
+ }
3636
+ };
2498
3637
  const throwDefaultError = withBaseException(__BaseException);
2499
3638
  const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2500
3639
  const contents = map({});
@@ -2637,6 +3776,15 @@ const se_AutoScalingConfiguration = (input, context) => {
2637
3776
  scaleOutCooldownSeconds: __serializeFloat,
2638
3777
  });
2639
3778
  };
3779
+ const se_KxScalingGroupConfiguration = (input, context) => {
3780
+ return take(input, {
3781
+ cpu: __serializeFloat,
3782
+ memoryLimit: [],
3783
+ memoryReservation: [],
3784
+ nodeCount: [],
3785
+ scalingGroupName: [],
3786
+ });
3787
+ };
2640
3788
  const de_AutoScalingConfiguration = (output, context) => {
2641
3789
  return take(output, {
2642
3790
  autoScalingMetric: __expectString,
@@ -2678,6 +3826,7 @@ const de_KxCluster = (output, context) => {
2678
3826
  releaseLabel: __expectString,
2679
3827
  status: __expectString,
2680
3828
  statusReason: __expectString,
3829
+ volumes: _json,
2681
3830
  });
2682
3831
  };
2683
3832
  const de_KxClusters = (output, context) => {
@@ -2703,6 +3852,49 @@ const de_KxDatabases = (output, context) => {
2703
3852
  });
2704
3853
  return retVal;
2705
3854
  };
3855
+ const de_KxDataviewActiveVersion = (output, context) => {
3856
+ return take(output, {
3857
+ attachedClusters: _json,
3858
+ changesetId: __expectString,
3859
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3860
+ segmentConfigurations: _json,
3861
+ versionId: __expectString,
3862
+ });
3863
+ };
3864
+ const de_KxDataviewActiveVersionList = (output, context) => {
3865
+ const retVal = (output || [])
3866
+ .filter((e) => e != null)
3867
+ .map((entry) => {
3868
+ return de_KxDataviewActiveVersion(entry, context);
3869
+ });
3870
+ return retVal;
3871
+ };
3872
+ const de_KxDataviewListEntry = (output, context) => {
3873
+ return take(output, {
3874
+ activeVersions: (_) => de_KxDataviewActiveVersionList(_, context),
3875
+ autoUpdate: __expectBoolean,
3876
+ availabilityZoneId: __expectString,
3877
+ azMode: __expectString,
3878
+ changesetId: __expectString,
3879
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3880
+ databaseName: __expectString,
3881
+ dataviewName: __expectString,
3882
+ description: __expectString,
3883
+ environmentId: __expectString,
3884
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3885
+ segmentConfigurations: _json,
3886
+ status: __expectString,
3887
+ statusReason: __expectString,
3888
+ });
3889
+ };
3890
+ const de_KxDataviews = (output, context) => {
3891
+ const retVal = (output || [])
3892
+ .filter((e) => e != null)
3893
+ .map((entry) => {
3894
+ return de_KxDataviewListEntry(entry, context);
3895
+ });
3896
+ return retVal;
3897
+ };
2706
3898
  const de_KxEnvironment = (output, context) => {
2707
3899
  return take(output, {
2708
3900
  availabilityZoneIds: _json,
@@ -2747,6 +3939,35 @@ const de_KxNodeSummaries = (output, context) => {
2747
3939
  });
2748
3940
  return retVal;
2749
3941
  };
3942
+ const de_KxScalingGroup = (output, context) => {
3943
+ return take(output, {
3944
+ availabilityZoneId: __expectString,
3945
+ clusters: _json,
3946
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3947
+ hostType: __expectString,
3948
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3949
+ scalingGroupName: __expectString,
3950
+ status: __expectString,
3951
+ statusReason: __expectString,
3952
+ });
3953
+ };
3954
+ const de_KxScalingGroupConfiguration = (output, context) => {
3955
+ return take(output, {
3956
+ cpu: __limitedParseDouble,
3957
+ memoryLimit: __expectInt32,
3958
+ memoryReservation: __expectInt32,
3959
+ nodeCount: __expectInt32,
3960
+ scalingGroupName: __expectString,
3961
+ });
3962
+ };
3963
+ const de_KxScalingGroupList = (output, context) => {
3964
+ const retVal = (output || [])
3965
+ .filter((e) => e != null)
3966
+ .map((entry) => {
3967
+ return de_KxScalingGroup(entry, context);
3968
+ });
3969
+ return retVal;
3970
+ };
2750
3971
  const de_KxUser = (output, context) => {
2751
3972
  return take(output, {
2752
3973
  createTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -2764,6 +3985,27 @@ const de_KxUserList = (output, context) => {
2764
3985
  });
2765
3986
  return retVal;
2766
3987
  };
3988
+ const de_KxVolume = (output, context) => {
3989
+ return take(output, {
3990
+ availabilityZoneIds: _json,
3991
+ azMode: __expectString,
3992
+ createdTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3993
+ description: __expectString,
3994
+ lastModifiedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3995
+ status: __expectString,
3996
+ statusReason: __expectString,
3997
+ volumeName: __expectString,
3998
+ volumeType: __expectString,
3999
+ });
4000
+ };
4001
+ const de_KxVolumes = (output, context) => {
4002
+ const retVal = (output || [])
4003
+ .filter((e) => e != null)
4004
+ .map((entry) => {
4005
+ return de_KxVolume(entry, context);
4006
+ });
4007
+ return retVal;
4008
+ };
2767
4009
  const deserializeMetadata = (output) => ({
2768
4010
  httpStatusCode: output.statusCode,
2769
4011
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],