@aws-sdk/client-memorydb 3.490.0 → 3.496.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 (64) hide show
  1. package/dist-cjs/MemoryDB.js +1 -87
  2. package/dist-cjs/MemoryDBClient.js +1 -43
  3. package/dist-cjs/commands/BatchUpdateClusterCommand.js +1 -28
  4. package/dist-cjs/commands/CopySnapshotCommand.js +1 -28
  5. package/dist-cjs/commands/CreateACLCommand.js +1 -28
  6. package/dist-cjs/commands/CreateClusterCommand.js +1 -28
  7. package/dist-cjs/commands/CreateParameterGroupCommand.js +1 -28
  8. package/dist-cjs/commands/CreateSnapshotCommand.js +1 -28
  9. package/dist-cjs/commands/CreateSubnetGroupCommand.js +1 -28
  10. package/dist-cjs/commands/CreateUserCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteACLCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteParameterGroupCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteSnapshotCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteUserCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeACLsCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeClustersCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeEventsCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeParametersCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeReservedNodesCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeReservedNodesOfferingsCommand.js +1 -28
  25. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +1 -28
  26. package/dist-cjs/commands/DescribeSnapshotsCommand.js +1 -28
  27. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +1 -28
  28. package/dist-cjs/commands/DescribeUsersCommand.js +1 -28
  29. package/dist-cjs/commands/FailoverShardCommand.js +1 -28
  30. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +1 -28
  31. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  32. package/dist-cjs/commands/PurchaseReservedNodesOfferingCommand.js +1 -28
  33. package/dist-cjs/commands/ResetParameterGroupCommand.js +1 -28
  34. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  35. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  36. package/dist-cjs/commands/UpdateACLCommand.js +1 -28
  37. package/dist-cjs/commands/UpdateClusterCommand.js +1 -28
  38. package/dist-cjs/commands/UpdateParameterGroupCommand.js +1 -28
  39. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +1 -28
  40. package/dist-cjs/commands/UpdateUserCommand.js +1 -28
  41. package/dist-cjs/commands/index.js +1 -41
  42. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  43. package/dist-cjs/extensionConfiguration.js +1 -2
  44. package/dist-cjs/index.js +4879 -11
  45. package/dist-cjs/models/MemoryDBServiceException.js +1 -12
  46. package/dist-cjs/models/index.js +1 -4
  47. package/dist-cjs/models/models_0.js +1 -728
  48. package/dist-cjs/pagination/DescribeACLsPaginator.js +1 -7
  49. package/dist-cjs/pagination/DescribeClustersPaginator.js +1 -7
  50. package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +1 -7
  51. package/dist-cjs/pagination/DescribeEventsPaginator.js +1 -7
  52. package/dist-cjs/pagination/DescribeParameterGroupsPaginator.js +1 -7
  53. package/dist-cjs/pagination/DescribeParametersPaginator.js +1 -7
  54. package/dist-cjs/pagination/DescribeReservedNodesOfferingsPaginator.js +1 -7
  55. package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +1 -7
  56. package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +1 -7
  57. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +1 -7
  58. package/dist-cjs/pagination/DescribeSubnetGroupsPaginator.js +1 -7
  59. package/dist-cjs/pagination/DescribeUsersPaginator.js +1 -7
  60. package/dist-cjs/pagination/Interfaces.js +1 -2
  61. package/dist-cjs/pagination/index.js +1 -16
  62. package/dist-cjs/protocols/Aws_json1_1.js +1 -2934
  63. package/dist-cjs/runtimeExtensions.js +1 -22
  64. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,4880 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MemoryDBServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./MemoryDBClient"), exports);
6
- tslib_1.__exportStar(require("./MemoryDB"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var MemoryDBServiceException_1 = require("./models/MemoryDBServiceException");
12
- Object.defineProperty(exports, "MemoryDBServiceException", { enumerable: true, get: function () { return MemoryDBServiceException_1.MemoryDBServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ ACLAlreadyExistsFault: () => ACLAlreadyExistsFault,
25
+ ACLNotFoundFault: () => ACLNotFoundFault,
26
+ ACLQuotaExceededFault: () => ACLQuotaExceededFault,
27
+ APICallRateForCustomerExceededFault: () => APICallRateForCustomerExceededFault,
28
+ AZStatus: () => AZStatus,
29
+ AuthenticationType: () => AuthenticationType,
30
+ BatchUpdateClusterCommand: () => BatchUpdateClusterCommand,
31
+ ClusterAlreadyExistsFault: () => ClusterAlreadyExistsFault,
32
+ ClusterNotFoundFault: () => ClusterNotFoundFault,
33
+ ClusterQuotaForCustomerExceededFault: () => ClusterQuotaForCustomerExceededFault,
34
+ CopySnapshotCommand: () => CopySnapshotCommand,
35
+ CreateACLCommand: () => CreateACLCommand,
36
+ CreateClusterCommand: () => CreateClusterCommand,
37
+ CreateParameterGroupCommand: () => CreateParameterGroupCommand,
38
+ CreateSnapshotCommand: () => CreateSnapshotCommand,
39
+ CreateSubnetGroupCommand: () => CreateSubnetGroupCommand,
40
+ CreateUserCommand: () => CreateUserCommand,
41
+ DataTieringStatus: () => DataTieringStatus,
42
+ DefaultUserRequired: () => DefaultUserRequired,
43
+ DeleteACLCommand: () => DeleteACLCommand,
44
+ DeleteClusterCommand: () => DeleteClusterCommand,
45
+ DeleteParameterGroupCommand: () => DeleteParameterGroupCommand,
46
+ DeleteSnapshotCommand: () => DeleteSnapshotCommand,
47
+ DeleteSubnetGroupCommand: () => DeleteSubnetGroupCommand,
48
+ DeleteUserCommand: () => DeleteUserCommand,
49
+ DescribeACLsCommand: () => DescribeACLsCommand,
50
+ DescribeClustersCommand: () => DescribeClustersCommand,
51
+ DescribeEngineVersionsCommand: () => DescribeEngineVersionsCommand,
52
+ DescribeEventsCommand: () => DescribeEventsCommand,
53
+ DescribeParameterGroupsCommand: () => DescribeParameterGroupsCommand,
54
+ DescribeParametersCommand: () => DescribeParametersCommand,
55
+ DescribeReservedNodesCommand: () => DescribeReservedNodesCommand,
56
+ DescribeReservedNodesOfferingsCommand: () => DescribeReservedNodesOfferingsCommand,
57
+ DescribeServiceUpdatesCommand: () => DescribeServiceUpdatesCommand,
58
+ DescribeSnapshotsCommand: () => DescribeSnapshotsCommand,
59
+ DescribeSubnetGroupsCommand: () => DescribeSubnetGroupsCommand,
60
+ DescribeUsersCommand: () => DescribeUsersCommand,
61
+ DuplicateUserNameFault: () => DuplicateUserNameFault,
62
+ FailoverShardCommand: () => FailoverShardCommand,
63
+ InputAuthenticationType: () => InputAuthenticationType,
64
+ InsufficientClusterCapacityFault: () => InsufficientClusterCapacityFault,
65
+ InvalidACLStateFault: () => InvalidACLStateFault,
66
+ InvalidARNFault: () => InvalidARNFault,
67
+ InvalidClusterStateFault: () => InvalidClusterStateFault,
68
+ InvalidCredentialsException: () => InvalidCredentialsException,
69
+ InvalidKMSKeyFault: () => InvalidKMSKeyFault,
70
+ InvalidNodeStateFault: () => InvalidNodeStateFault,
71
+ InvalidParameterCombinationException: () => InvalidParameterCombinationException,
72
+ InvalidParameterGroupStateFault: () => InvalidParameterGroupStateFault,
73
+ InvalidParameterValueException: () => InvalidParameterValueException,
74
+ InvalidSnapshotStateFault: () => InvalidSnapshotStateFault,
75
+ InvalidSubnet: () => InvalidSubnet,
76
+ InvalidUserStateFault: () => InvalidUserStateFault,
77
+ InvalidVPCNetworkStateFault: () => InvalidVPCNetworkStateFault,
78
+ ListAllowedNodeTypeUpdatesCommand: () => ListAllowedNodeTypeUpdatesCommand,
79
+ ListTagsCommand: () => ListTagsCommand,
80
+ MemoryDB: () => MemoryDB,
81
+ MemoryDBClient: () => MemoryDBClient,
82
+ MemoryDBServiceException: () => MemoryDBServiceException,
83
+ NoOperationFault: () => NoOperationFault,
84
+ NodeQuotaForClusterExceededFault: () => NodeQuotaForClusterExceededFault,
85
+ NodeQuotaForCustomerExceededFault: () => NodeQuotaForCustomerExceededFault,
86
+ ParameterGroupAlreadyExistsFault: () => ParameterGroupAlreadyExistsFault,
87
+ ParameterGroupNotFoundFault: () => ParameterGroupNotFoundFault,
88
+ ParameterGroupQuotaExceededFault: () => ParameterGroupQuotaExceededFault,
89
+ PurchaseReservedNodesOfferingCommand: () => PurchaseReservedNodesOfferingCommand,
90
+ ReservedNodeAlreadyExistsFault: () => ReservedNodeAlreadyExistsFault,
91
+ ReservedNodeNotFoundFault: () => ReservedNodeNotFoundFault,
92
+ ReservedNodeQuotaExceededFault: () => ReservedNodeQuotaExceededFault,
93
+ ReservedNodesOfferingNotFoundFault: () => ReservedNodesOfferingNotFoundFault,
94
+ ResetParameterGroupCommand: () => ResetParameterGroupCommand,
95
+ ServiceLinkedRoleNotFoundFault: () => ServiceLinkedRoleNotFoundFault,
96
+ ServiceUpdateNotFoundFault: () => ServiceUpdateNotFoundFault,
97
+ ServiceUpdateStatus: () => ServiceUpdateStatus,
98
+ ServiceUpdateType: () => ServiceUpdateType,
99
+ ShardNotFoundFault: () => ShardNotFoundFault,
100
+ ShardsPerClusterQuotaExceededFault: () => ShardsPerClusterQuotaExceededFault,
101
+ SnapshotAlreadyExistsFault: () => SnapshotAlreadyExistsFault,
102
+ SnapshotNotFoundFault: () => SnapshotNotFoundFault,
103
+ SnapshotQuotaExceededFault: () => SnapshotQuotaExceededFault,
104
+ SourceType: () => SourceType,
105
+ SubnetGroupAlreadyExistsFault: () => SubnetGroupAlreadyExistsFault,
106
+ SubnetGroupInUseFault: () => SubnetGroupInUseFault,
107
+ SubnetGroupNotFoundFault: () => SubnetGroupNotFoundFault,
108
+ SubnetGroupQuotaExceededFault: () => SubnetGroupQuotaExceededFault,
109
+ SubnetInUse: () => SubnetInUse,
110
+ SubnetNotAllowedFault: () => SubnetNotAllowedFault,
111
+ SubnetQuotaExceededFault: () => SubnetQuotaExceededFault,
112
+ TagNotFoundFault: () => TagNotFoundFault,
113
+ TagQuotaPerResourceExceeded: () => TagQuotaPerResourceExceeded,
114
+ TagResourceCommand: () => TagResourceCommand,
115
+ TestFailoverNotAvailableFault: () => TestFailoverNotAvailableFault,
116
+ UntagResourceCommand: () => UntagResourceCommand,
117
+ UpdateACLCommand: () => UpdateACLCommand,
118
+ UpdateClusterCommand: () => UpdateClusterCommand,
119
+ UpdateParameterGroupCommand: () => UpdateParameterGroupCommand,
120
+ UpdateSubnetGroupCommand: () => UpdateSubnetGroupCommand,
121
+ UpdateUserCommand: () => UpdateUserCommand,
122
+ UserAlreadyExistsFault: () => UserAlreadyExistsFault,
123
+ UserNotFoundFault: () => UserNotFoundFault,
124
+ UserQuotaExceededFault: () => UserQuotaExceededFault,
125
+ __Client: () => import_smithy_client.Client,
126
+ paginateDescribeACLs: () => paginateDescribeACLs,
127
+ paginateDescribeClusters: () => paginateDescribeClusters,
128
+ paginateDescribeEngineVersions: () => paginateDescribeEngineVersions,
129
+ paginateDescribeEvents: () => paginateDescribeEvents,
130
+ paginateDescribeParameterGroups: () => paginateDescribeParameterGroups,
131
+ paginateDescribeParameters: () => paginateDescribeParameters,
132
+ paginateDescribeReservedNodes: () => paginateDescribeReservedNodes,
133
+ paginateDescribeReservedNodesOfferings: () => paginateDescribeReservedNodesOfferings,
134
+ paginateDescribeServiceUpdates: () => paginateDescribeServiceUpdates,
135
+ paginateDescribeSnapshots: () => paginateDescribeSnapshots,
136
+ paginateDescribeSubnetGroups: () => paginateDescribeSubnetGroups,
137
+ paginateDescribeUsers: () => paginateDescribeUsers
138
+ });
139
+ module.exports = __toCommonJS(src_exports);
140
+
141
+ // src/MemoryDBClient.ts
142
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
143
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
144
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
145
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
146
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
147
+ var import_config_resolver = require("@smithy/config-resolver");
148
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
149
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
150
+ var import_middleware_retry = require("@smithy/middleware-retry");
151
+
152
+
153
+ // src/endpoint/EndpointParameters.ts
154
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
155
+ return {
156
+ ...options,
157
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
158
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
159
+ defaultSigningName: "memorydb"
160
+ };
161
+ }, "resolveClientEndpointParameters");
162
+ var commonParams = {
163
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
164
+ Endpoint: { type: "builtInParams", name: "endpoint" },
165
+ Region: { type: "builtInParams", name: "region" },
166
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
167
+ };
168
+
169
+ // src/MemoryDBClient.ts
170
+ var import_runtimeConfig = require("././runtimeConfig");
171
+
172
+ // src/runtimeExtensions.ts
173
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
174
+ var import_protocol_http = require("@smithy/protocol-http");
175
+ var import_smithy_client = require("@smithy/smithy-client");
176
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
177
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
178
+ const extensionConfiguration = {
179
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
180
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
181
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
182
+ };
183
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
184
+ return {
185
+ ...runtimeConfig,
186
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
187
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
188
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
189
+ };
190
+ }, "resolveRuntimeExtensions");
191
+
192
+ // src/MemoryDBClient.ts
193
+ var _MemoryDBClient = class _MemoryDBClient extends import_smithy_client.Client {
194
+ constructor(...[configuration]) {
195
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
196
+ const _config_1 = resolveClientEndpointParameters(_config_0);
197
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
198
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
199
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
200
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
201
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
202
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
203
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
204
+ super(_config_8);
205
+ this.config = _config_8;
206
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
207
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
208
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
209
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
210
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
211
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
212
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
213
+ }
214
+ /**
215
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
216
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
217
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
218
+ */
219
+ destroy() {
220
+ super.destroy();
221
+ }
222
+ };
223
+ __name(_MemoryDBClient, "MemoryDBClient");
224
+ var MemoryDBClient = _MemoryDBClient;
225
+
226
+ // src/MemoryDB.ts
227
+
228
+
229
+ // src/commands/BatchUpdateClusterCommand.ts
230
+
231
+ var import_middleware_serde = require("@smithy/middleware-serde");
232
+
233
+ var import_types = require("@smithy/types");
234
+
235
+ // src/protocols/Aws_json1_1.ts
236
+
237
+
238
+
239
+ // src/models/MemoryDBServiceException.ts
240
+
241
+ var _MemoryDBServiceException = class _MemoryDBServiceException extends import_smithy_client.ServiceException {
242
+ /**
243
+ * @internal
244
+ */
245
+ constructor(options) {
246
+ super(options);
247
+ Object.setPrototypeOf(this, _MemoryDBServiceException.prototype);
248
+ }
249
+ };
250
+ __name(_MemoryDBServiceException, "MemoryDBServiceException");
251
+ var MemoryDBServiceException = _MemoryDBServiceException;
252
+
253
+ // src/models/models_0.ts
254
+ var _ACLAlreadyExistsFault = class _ACLAlreadyExistsFault extends MemoryDBServiceException {
255
+ /**
256
+ * @internal
257
+ */
258
+ constructor(opts) {
259
+ super({
260
+ name: "ACLAlreadyExistsFault",
261
+ $fault: "client",
262
+ ...opts
263
+ });
264
+ this.name = "ACLAlreadyExistsFault";
265
+ this.$fault = "client";
266
+ Object.setPrototypeOf(this, _ACLAlreadyExistsFault.prototype);
267
+ }
268
+ };
269
+ __name(_ACLAlreadyExistsFault, "ACLAlreadyExistsFault");
270
+ var ACLAlreadyExistsFault = _ACLAlreadyExistsFault;
271
+ var _ACLNotFoundFault = class _ACLNotFoundFault extends MemoryDBServiceException {
272
+ /**
273
+ * @internal
274
+ */
275
+ constructor(opts) {
276
+ super({
277
+ name: "ACLNotFoundFault",
278
+ $fault: "client",
279
+ ...opts
280
+ });
281
+ this.name = "ACLNotFoundFault";
282
+ this.$fault = "client";
283
+ Object.setPrototypeOf(this, _ACLNotFoundFault.prototype);
284
+ }
285
+ };
286
+ __name(_ACLNotFoundFault, "ACLNotFoundFault");
287
+ var ACLNotFoundFault = _ACLNotFoundFault;
288
+ var _ACLQuotaExceededFault = class _ACLQuotaExceededFault extends MemoryDBServiceException {
289
+ /**
290
+ * @internal
291
+ */
292
+ constructor(opts) {
293
+ super({
294
+ name: "ACLQuotaExceededFault",
295
+ $fault: "client",
296
+ ...opts
297
+ });
298
+ this.name = "ACLQuotaExceededFault";
299
+ this.$fault = "client";
300
+ Object.setPrototypeOf(this, _ACLQuotaExceededFault.prototype);
301
+ }
302
+ };
303
+ __name(_ACLQuotaExceededFault, "ACLQuotaExceededFault");
304
+ var ACLQuotaExceededFault = _ACLQuotaExceededFault;
305
+ var AZStatus = {
306
+ MultiAZ: "multiaz",
307
+ SingleAZ: "singleaz"
308
+ };
309
+ var DataTieringStatus = {
310
+ FALSE: "false",
311
+ TRUE: "true"
312
+ };
313
+ var ServiceUpdateStatus = {
314
+ COMPLETE: "complete",
315
+ IN_PROGRESS: "in-progress",
316
+ NOT_APPLIED: "available",
317
+ SCHEDULED: "scheduled"
318
+ };
319
+ var _InvalidParameterValueException = class _InvalidParameterValueException extends MemoryDBServiceException {
320
+ /**
321
+ * @internal
322
+ */
323
+ constructor(opts) {
324
+ super({
325
+ name: "InvalidParameterValueException",
326
+ $fault: "client",
327
+ ...opts
328
+ });
329
+ this.name = "InvalidParameterValueException";
330
+ this.$fault = "client";
331
+ Object.setPrototypeOf(this, _InvalidParameterValueException.prototype);
332
+ }
333
+ };
334
+ __name(_InvalidParameterValueException, "InvalidParameterValueException");
335
+ var InvalidParameterValueException = _InvalidParameterValueException;
336
+ var _ServiceUpdateNotFoundFault = class _ServiceUpdateNotFoundFault extends MemoryDBServiceException {
337
+ /**
338
+ * @internal
339
+ */
340
+ constructor(opts) {
341
+ super({
342
+ name: "ServiceUpdateNotFoundFault",
343
+ $fault: "client",
344
+ ...opts
345
+ });
346
+ this.name = "ServiceUpdateNotFoundFault";
347
+ this.$fault = "client";
348
+ Object.setPrototypeOf(this, _ServiceUpdateNotFoundFault.prototype);
349
+ }
350
+ };
351
+ __name(_ServiceUpdateNotFoundFault, "ServiceUpdateNotFoundFault");
352
+ var ServiceUpdateNotFoundFault = _ServiceUpdateNotFoundFault;
353
+ var _InvalidParameterCombinationException = class _InvalidParameterCombinationException extends MemoryDBServiceException {
354
+ /**
355
+ * @internal
356
+ */
357
+ constructor(opts) {
358
+ super({
359
+ name: "InvalidParameterCombinationException",
360
+ $fault: "client",
361
+ ...opts
362
+ });
363
+ this.name = "InvalidParameterCombinationException";
364
+ this.$fault = "client";
365
+ Object.setPrototypeOf(this, _InvalidParameterCombinationException.prototype);
366
+ }
367
+ };
368
+ __name(_InvalidParameterCombinationException, "InvalidParameterCombinationException");
369
+ var InvalidParameterCombinationException = _InvalidParameterCombinationException;
370
+ var _InvalidSnapshotStateFault = class _InvalidSnapshotStateFault extends MemoryDBServiceException {
371
+ /**
372
+ * @internal
373
+ */
374
+ constructor(opts) {
375
+ super({
376
+ name: "InvalidSnapshotStateFault",
377
+ $fault: "client",
378
+ ...opts
379
+ });
380
+ this.name = "InvalidSnapshotStateFault";
381
+ this.$fault = "client";
382
+ Object.setPrototypeOf(this, _InvalidSnapshotStateFault.prototype);
383
+ }
384
+ };
385
+ __name(_InvalidSnapshotStateFault, "InvalidSnapshotStateFault");
386
+ var InvalidSnapshotStateFault = _InvalidSnapshotStateFault;
387
+ var _ServiceLinkedRoleNotFoundFault = class _ServiceLinkedRoleNotFoundFault extends MemoryDBServiceException {
388
+ /**
389
+ * @internal
390
+ */
391
+ constructor(opts) {
392
+ super({
393
+ name: "ServiceLinkedRoleNotFoundFault",
394
+ $fault: "client",
395
+ ...opts
396
+ });
397
+ this.name = "ServiceLinkedRoleNotFoundFault";
398
+ this.$fault = "client";
399
+ Object.setPrototypeOf(this, _ServiceLinkedRoleNotFoundFault.prototype);
400
+ }
401
+ };
402
+ __name(_ServiceLinkedRoleNotFoundFault, "ServiceLinkedRoleNotFoundFault");
403
+ var ServiceLinkedRoleNotFoundFault = _ServiceLinkedRoleNotFoundFault;
404
+ var _SnapshotAlreadyExistsFault = class _SnapshotAlreadyExistsFault extends MemoryDBServiceException {
405
+ /**
406
+ * @internal
407
+ */
408
+ constructor(opts) {
409
+ super({
410
+ name: "SnapshotAlreadyExistsFault",
411
+ $fault: "client",
412
+ ...opts
413
+ });
414
+ this.name = "SnapshotAlreadyExistsFault";
415
+ this.$fault = "client";
416
+ Object.setPrototypeOf(this, _SnapshotAlreadyExistsFault.prototype);
417
+ }
418
+ };
419
+ __name(_SnapshotAlreadyExistsFault, "SnapshotAlreadyExistsFault");
420
+ var SnapshotAlreadyExistsFault = _SnapshotAlreadyExistsFault;
421
+ var _SnapshotNotFoundFault = class _SnapshotNotFoundFault extends MemoryDBServiceException {
422
+ /**
423
+ * @internal
424
+ */
425
+ constructor(opts) {
426
+ super({
427
+ name: "SnapshotNotFoundFault",
428
+ $fault: "client",
429
+ ...opts
430
+ });
431
+ this.name = "SnapshotNotFoundFault";
432
+ this.$fault = "client";
433
+ Object.setPrototypeOf(this, _SnapshotNotFoundFault.prototype);
434
+ }
435
+ };
436
+ __name(_SnapshotNotFoundFault, "SnapshotNotFoundFault");
437
+ var SnapshotNotFoundFault = _SnapshotNotFoundFault;
438
+ var _SnapshotQuotaExceededFault = class _SnapshotQuotaExceededFault extends MemoryDBServiceException {
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts) {
443
+ super({
444
+ name: "SnapshotQuotaExceededFault",
445
+ $fault: "client",
446
+ ...opts
447
+ });
448
+ this.name = "SnapshotQuotaExceededFault";
449
+ this.$fault = "client";
450
+ Object.setPrototypeOf(this, _SnapshotQuotaExceededFault.prototype);
451
+ }
452
+ };
453
+ __name(_SnapshotQuotaExceededFault, "SnapshotQuotaExceededFault");
454
+ var SnapshotQuotaExceededFault = _SnapshotQuotaExceededFault;
455
+ var _TagQuotaPerResourceExceeded = class _TagQuotaPerResourceExceeded extends MemoryDBServiceException {
456
+ /**
457
+ * @internal
458
+ */
459
+ constructor(opts) {
460
+ super({
461
+ name: "TagQuotaPerResourceExceeded",
462
+ $fault: "client",
463
+ ...opts
464
+ });
465
+ this.name = "TagQuotaPerResourceExceeded";
466
+ this.$fault = "client";
467
+ Object.setPrototypeOf(this, _TagQuotaPerResourceExceeded.prototype);
468
+ }
469
+ };
470
+ __name(_TagQuotaPerResourceExceeded, "TagQuotaPerResourceExceeded");
471
+ var TagQuotaPerResourceExceeded = _TagQuotaPerResourceExceeded;
472
+ var _DefaultUserRequired = class _DefaultUserRequired extends MemoryDBServiceException {
473
+ /**
474
+ * @internal
475
+ */
476
+ constructor(opts) {
477
+ super({
478
+ name: "DefaultUserRequired",
479
+ $fault: "client",
480
+ ...opts
481
+ });
482
+ this.name = "DefaultUserRequired";
483
+ this.$fault = "client";
484
+ Object.setPrototypeOf(this, _DefaultUserRequired.prototype);
485
+ }
486
+ };
487
+ __name(_DefaultUserRequired, "DefaultUserRequired");
488
+ var DefaultUserRequired = _DefaultUserRequired;
489
+ var _DuplicateUserNameFault = class _DuplicateUserNameFault extends MemoryDBServiceException {
490
+ /**
491
+ * @internal
492
+ */
493
+ constructor(opts) {
494
+ super({
495
+ name: "DuplicateUserNameFault",
496
+ $fault: "client",
497
+ ...opts
498
+ });
499
+ this.name = "DuplicateUserNameFault";
500
+ this.$fault = "client";
501
+ Object.setPrototypeOf(this, _DuplicateUserNameFault.prototype);
502
+ }
503
+ };
504
+ __name(_DuplicateUserNameFault, "DuplicateUserNameFault");
505
+ var DuplicateUserNameFault = _DuplicateUserNameFault;
506
+ var _UserNotFoundFault = class _UserNotFoundFault extends MemoryDBServiceException {
507
+ /**
508
+ * @internal
509
+ */
510
+ constructor(opts) {
511
+ super({
512
+ name: "UserNotFoundFault",
513
+ $fault: "client",
514
+ ...opts
515
+ });
516
+ this.name = "UserNotFoundFault";
517
+ this.$fault = "client";
518
+ Object.setPrototypeOf(this, _UserNotFoundFault.prototype);
519
+ }
520
+ };
521
+ __name(_UserNotFoundFault, "UserNotFoundFault");
522
+ var UserNotFoundFault = _UserNotFoundFault;
523
+ var _ClusterAlreadyExistsFault = class _ClusterAlreadyExistsFault extends MemoryDBServiceException {
524
+ /**
525
+ * @internal
526
+ */
527
+ constructor(opts) {
528
+ super({
529
+ name: "ClusterAlreadyExistsFault",
530
+ $fault: "client",
531
+ ...opts
532
+ });
533
+ this.name = "ClusterAlreadyExistsFault";
534
+ this.$fault = "client";
535
+ Object.setPrototypeOf(this, _ClusterAlreadyExistsFault.prototype);
536
+ }
537
+ };
538
+ __name(_ClusterAlreadyExistsFault, "ClusterAlreadyExistsFault");
539
+ var ClusterAlreadyExistsFault = _ClusterAlreadyExistsFault;
540
+ var _ClusterQuotaForCustomerExceededFault = class _ClusterQuotaForCustomerExceededFault extends MemoryDBServiceException {
541
+ /**
542
+ * @internal
543
+ */
544
+ constructor(opts) {
545
+ super({
546
+ name: "ClusterQuotaForCustomerExceededFault",
547
+ $fault: "client",
548
+ ...opts
549
+ });
550
+ this.name = "ClusterQuotaForCustomerExceededFault";
551
+ this.$fault = "client";
552
+ Object.setPrototypeOf(this, _ClusterQuotaForCustomerExceededFault.prototype);
553
+ }
554
+ };
555
+ __name(_ClusterQuotaForCustomerExceededFault, "ClusterQuotaForCustomerExceededFault");
556
+ var ClusterQuotaForCustomerExceededFault = _ClusterQuotaForCustomerExceededFault;
557
+ var _InsufficientClusterCapacityFault = class _InsufficientClusterCapacityFault extends MemoryDBServiceException {
558
+ /**
559
+ * @internal
560
+ */
561
+ constructor(opts) {
562
+ super({
563
+ name: "InsufficientClusterCapacityFault",
564
+ $fault: "client",
565
+ ...opts
566
+ });
567
+ this.name = "InsufficientClusterCapacityFault";
568
+ this.$fault = "client";
569
+ Object.setPrototypeOf(this, _InsufficientClusterCapacityFault.prototype);
570
+ }
571
+ };
572
+ __name(_InsufficientClusterCapacityFault, "InsufficientClusterCapacityFault");
573
+ var InsufficientClusterCapacityFault = _InsufficientClusterCapacityFault;
574
+ var _InvalidACLStateFault = class _InvalidACLStateFault extends MemoryDBServiceException {
575
+ /**
576
+ * @internal
577
+ */
578
+ constructor(opts) {
579
+ super({
580
+ name: "InvalidACLStateFault",
581
+ $fault: "client",
582
+ ...opts
583
+ });
584
+ this.name = "InvalidACLStateFault";
585
+ this.$fault = "client";
586
+ Object.setPrototypeOf(this, _InvalidACLStateFault.prototype);
587
+ }
588
+ };
589
+ __name(_InvalidACLStateFault, "InvalidACLStateFault");
590
+ var InvalidACLStateFault = _InvalidACLStateFault;
591
+ var _InvalidCredentialsException = class _InvalidCredentialsException extends MemoryDBServiceException {
592
+ /**
593
+ * @internal
594
+ */
595
+ constructor(opts) {
596
+ super({
597
+ name: "InvalidCredentialsException",
598
+ $fault: "client",
599
+ ...opts
600
+ });
601
+ this.name = "InvalidCredentialsException";
602
+ this.$fault = "client";
603
+ Object.setPrototypeOf(this, _InvalidCredentialsException.prototype);
604
+ }
605
+ };
606
+ __name(_InvalidCredentialsException, "InvalidCredentialsException");
607
+ var InvalidCredentialsException = _InvalidCredentialsException;
608
+ var _InvalidVPCNetworkStateFault = class _InvalidVPCNetworkStateFault extends MemoryDBServiceException {
609
+ /**
610
+ * @internal
611
+ */
612
+ constructor(opts) {
613
+ super({
614
+ name: "InvalidVPCNetworkStateFault",
615
+ $fault: "client",
616
+ ...opts
617
+ });
618
+ this.name = "InvalidVPCNetworkStateFault";
619
+ this.$fault = "client";
620
+ Object.setPrototypeOf(this, _InvalidVPCNetworkStateFault.prototype);
621
+ }
622
+ };
623
+ __name(_InvalidVPCNetworkStateFault, "InvalidVPCNetworkStateFault");
624
+ var InvalidVPCNetworkStateFault = _InvalidVPCNetworkStateFault;
625
+ var _NodeQuotaForClusterExceededFault = class _NodeQuotaForClusterExceededFault extends MemoryDBServiceException {
626
+ /**
627
+ * @internal
628
+ */
629
+ constructor(opts) {
630
+ super({
631
+ name: "NodeQuotaForClusterExceededFault",
632
+ $fault: "client",
633
+ ...opts
634
+ });
635
+ this.name = "NodeQuotaForClusterExceededFault";
636
+ this.$fault = "client";
637
+ Object.setPrototypeOf(this, _NodeQuotaForClusterExceededFault.prototype);
638
+ }
639
+ };
640
+ __name(_NodeQuotaForClusterExceededFault, "NodeQuotaForClusterExceededFault");
641
+ var NodeQuotaForClusterExceededFault = _NodeQuotaForClusterExceededFault;
642
+ var _NodeQuotaForCustomerExceededFault = class _NodeQuotaForCustomerExceededFault extends MemoryDBServiceException {
643
+ /**
644
+ * @internal
645
+ */
646
+ constructor(opts) {
647
+ super({
648
+ name: "NodeQuotaForCustomerExceededFault",
649
+ $fault: "client",
650
+ ...opts
651
+ });
652
+ this.name = "NodeQuotaForCustomerExceededFault";
653
+ this.$fault = "client";
654
+ Object.setPrototypeOf(this, _NodeQuotaForCustomerExceededFault.prototype);
655
+ }
656
+ };
657
+ __name(_NodeQuotaForCustomerExceededFault, "NodeQuotaForCustomerExceededFault");
658
+ var NodeQuotaForCustomerExceededFault = _NodeQuotaForCustomerExceededFault;
659
+ var _ParameterGroupNotFoundFault = class _ParameterGroupNotFoundFault extends MemoryDBServiceException {
660
+ /**
661
+ * @internal
662
+ */
663
+ constructor(opts) {
664
+ super({
665
+ name: "ParameterGroupNotFoundFault",
666
+ $fault: "client",
667
+ ...opts
668
+ });
669
+ this.name = "ParameterGroupNotFoundFault";
670
+ this.$fault = "client";
671
+ Object.setPrototypeOf(this, _ParameterGroupNotFoundFault.prototype);
672
+ }
673
+ };
674
+ __name(_ParameterGroupNotFoundFault, "ParameterGroupNotFoundFault");
675
+ var ParameterGroupNotFoundFault = _ParameterGroupNotFoundFault;
676
+ var _ShardsPerClusterQuotaExceededFault = class _ShardsPerClusterQuotaExceededFault extends MemoryDBServiceException {
677
+ /**
678
+ * @internal
679
+ */
680
+ constructor(opts) {
681
+ super({
682
+ name: "ShardsPerClusterQuotaExceededFault",
683
+ $fault: "client",
684
+ ...opts
685
+ });
686
+ this.name = "ShardsPerClusterQuotaExceededFault";
687
+ this.$fault = "client";
688
+ Object.setPrototypeOf(this, _ShardsPerClusterQuotaExceededFault.prototype);
689
+ }
690
+ };
691
+ __name(_ShardsPerClusterQuotaExceededFault, "ShardsPerClusterQuotaExceededFault");
692
+ var ShardsPerClusterQuotaExceededFault = _ShardsPerClusterQuotaExceededFault;
693
+ var _SubnetGroupNotFoundFault = class _SubnetGroupNotFoundFault extends MemoryDBServiceException {
694
+ /**
695
+ * @internal
696
+ */
697
+ constructor(opts) {
698
+ super({
699
+ name: "SubnetGroupNotFoundFault",
700
+ $fault: "client",
701
+ ...opts
702
+ });
703
+ this.name = "SubnetGroupNotFoundFault";
704
+ this.$fault = "client";
705
+ Object.setPrototypeOf(this, _SubnetGroupNotFoundFault.prototype);
706
+ }
707
+ };
708
+ __name(_SubnetGroupNotFoundFault, "SubnetGroupNotFoundFault");
709
+ var SubnetGroupNotFoundFault = _SubnetGroupNotFoundFault;
710
+ var _InvalidParameterGroupStateFault = class _InvalidParameterGroupStateFault extends MemoryDBServiceException {
711
+ /**
712
+ * @internal
713
+ */
714
+ constructor(opts) {
715
+ super({
716
+ name: "InvalidParameterGroupStateFault",
717
+ $fault: "client",
718
+ ...opts
719
+ });
720
+ this.name = "InvalidParameterGroupStateFault";
721
+ this.$fault = "client";
722
+ Object.setPrototypeOf(this, _InvalidParameterGroupStateFault.prototype);
723
+ }
724
+ };
725
+ __name(_InvalidParameterGroupStateFault, "InvalidParameterGroupStateFault");
726
+ var InvalidParameterGroupStateFault = _InvalidParameterGroupStateFault;
727
+ var _ParameterGroupAlreadyExistsFault = class _ParameterGroupAlreadyExistsFault extends MemoryDBServiceException {
728
+ /**
729
+ * @internal
730
+ */
731
+ constructor(opts) {
732
+ super({
733
+ name: "ParameterGroupAlreadyExistsFault",
734
+ $fault: "client",
735
+ ...opts
736
+ });
737
+ this.name = "ParameterGroupAlreadyExistsFault";
738
+ this.$fault = "client";
739
+ Object.setPrototypeOf(this, _ParameterGroupAlreadyExistsFault.prototype);
740
+ }
741
+ };
742
+ __name(_ParameterGroupAlreadyExistsFault, "ParameterGroupAlreadyExistsFault");
743
+ var ParameterGroupAlreadyExistsFault = _ParameterGroupAlreadyExistsFault;
744
+ var _ParameterGroupQuotaExceededFault = class _ParameterGroupQuotaExceededFault extends MemoryDBServiceException {
745
+ /**
746
+ * @internal
747
+ */
748
+ constructor(opts) {
749
+ super({
750
+ name: "ParameterGroupQuotaExceededFault",
751
+ $fault: "client",
752
+ ...opts
753
+ });
754
+ this.name = "ParameterGroupQuotaExceededFault";
755
+ this.$fault = "client";
756
+ Object.setPrototypeOf(this, _ParameterGroupQuotaExceededFault.prototype);
757
+ }
758
+ };
759
+ __name(_ParameterGroupQuotaExceededFault, "ParameterGroupQuotaExceededFault");
760
+ var ParameterGroupQuotaExceededFault = _ParameterGroupQuotaExceededFault;
761
+ var _ClusterNotFoundFault = class _ClusterNotFoundFault extends MemoryDBServiceException {
762
+ /**
763
+ * @internal
764
+ */
765
+ constructor(opts) {
766
+ super({
767
+ name: "ClusterNotFoundFault",
768
+ $fault: "client",
769
+ ...opts
770
+ });
771
+ this.name = "ClusterNotFoundFault";
772
+ this.$fault = "client";
773
+ Object.setPrototypeOf(this, _ClusterNotFoundFault.prototype);
774
+ }
775
+ };
776
+ __name(_ClusterNotFoundFault, "ClusterNotFoundFault");
777
+ var ClusterNotFoundFault = _ClusterNotFoundFault;
778
+ var _InvalidClusterStateFault = class _InvalidClusterStateFault extends MemoryDBServiceException {
779
+ /**
780
+ * @internal
781
+ */
782
+ constructor(opts) {
783
+ super({
784
+ name: "InvalidClusterStateFault",
785
+ $fault: "client",
786
+ ...opts
787
+ });
788
+ this.name = "InvalidClusterStateFault";
789
+ this.$fault = "client";
790
+ Object.setPrototypeOf(this, _InvalidClusterStateFault.prototype);
791
+ }
792
+ };
793
+ __name(_InvalidClusterStateFault, "InvalidClusterStateFault");
794
+ var InvalidClusterStateFault = _InvalidClusterStateFault;
795
+ var _InvalidSubnet = class _InvalidSubnet extends MemoryDBServiceException {
796
+ /**
797
+ * @internal
798
+ */
799
+ constructor(opts) {
800
+ super({
801
+ name: "InvalidSubnet",
802
+ $fault: "client",
803
+ ...opts
804
+ });
805
+ this.name = "InvalidSubnet";
806
+ this.$fault = "client";
807
+ Object.setPrototypeOf(this, _InvalidSubnet.prototype);
808
+ }
809
+ };
810
+ __name(_InvalidSubnet, "InvalidSubnet");
811
+ var InvalidSubnet = _InvalidSubnet;
812
+ var _SubnetGroupAlreadyExistsFault = class _SubnetGroupAlreadyExistsFault extends MemoryDBServiceException {
813
+ /**
814
+ * @internal
815
+ */
816
+ constructor(opts) {
817
+ super({
818
+ name: "SubnetGroupAlreadyExistsFault",
819
+ $fault: "client",
820
+ ...opts
821
+ });
822
+ this.name = "SubnetGroupAlreadyExistsFault";
823
+ this.$fault = "client";
824
+ Object.setPrototypeOf(this, _SubnetGroupAlreadyExistsFault.prototype);
825
+ }
826
+ };
827
+ __name(_SubnetGroupAlreadyExistsFault, "SubnetGroupAlreadyExistsFault");
828
+ var SubnetGroupAlreadyExistsFault = _SubnetGroupAlreadyExistsFault;
829
+ var _SubnetGroupQuotaExceededFault = class _SubnetGroupQuotaExceededFault extends MemoryDBServiceException {
830
+ /**
831
+ * @internal
832
+ */
833
+ constructor(opts) {
834
+ super({
835
+ name: "SubnetGroupQuotaExceededFault",
836
+ $fault: "client",
837
+ ...opts
838
+ });
839
+ this.name = "SubnetGroupQuotaExceededFault";
840
+ this.$fault = "client";
841
+ Object.setPrototypeOf(this, _SubnetGroupQuotaExceededFault.prototype);
842
+ }
843
+ };
844
+ __name(_SubnetGroupQuotaExceededFault, "SubnetGroupQuotaExceededFault");
845
+ var SubnetGroupQuotaExceededFault = _SubnetGroupQuotaExceededFault;
846
+ var _SubnetNotAllowedFault = class _SubnetNotAllowedFault extends MemoryDBServiceException {
847
+ /**
848
+ * @internal
849
+ */
850
+ constructor(opts) {
851
+ super({
852
+ name: "SubnetNotAllowedFault",
853
+ $fault: "client",
854
+ ...opts
855
+ });
856
+ this.name = "SubnetNotAllowedFault";
857
+ this.$fault = "client";
858
+ Object.setPrototypeOf(this, _SubnetNotAllowedFault.prototype);
859
+ }
860
+ };
861
+ __name(_SubnetNotAllowedFault, "SubnetNotAllowedFault");
862
+ var SubnetNotAllowedFault = _SubnetNotAllowedFault;
863
+ var _SubnetQuotaExceededFault = class _SubnetQuotaExceededFault extends MemoryDBServiceException {
864
+ /**
865
+ * @internal
866
+ */
867
+ constructor(opts) {
868
+ super({
869
+ name: "SubnetQuotaExceededFault",
870
+ $fault: "client",
871
+ ...opts
872
+ });
873
+ this.name = "SubnetQuotaExceededFault";
874
+ this.$fault = "client";
875
+ Object.setPrototypeOf(this, _SubnetQuotaExceededFault.prototype);
876
+ }
877
+ };
878
+ __name(_SubnetQuotaExceededFault, "SubnetQuotaExceededFault");
879
+ var SubnetQuotaExceededFault = _SubnetQuotaExceededFault;
880
+ var InputAuthenticationType = {
881
+ IAM: "iam",
882
+ PASSWORD: "password"
883
+ };
884
+ var AuthenticationType = {
885
+ IAM: "iam",
886
+ NO_PASSWORD: "no-password",
887
+ PASSWORD: "password"
888
+ };
889
+ var _UserAlreadyExistsFault = class _UserAlreadyExistsFault extends MemoryDBServiceException {
890
+ /**
891
+ * @internal
892
+ */
893
+ constructor(opts) {
894
+ super({
895
+ name: "UserAlreadyExistsFault",
896
+ $fault: "client",
897
+ ...opts
898
+ });
899
+ this.name = "UserAlreadyExistsFault";
900
+ this.$fault = "client";
901
+ Object.setPrototypeOf(this, _UserAlreadyExistsFault.prototype);
902
+ }
903
+ };
904
+ __name(_UserAlreadyExistsFault, "UserAlreadyExistsFault");
905
+ var UserAlreadyExistsFault = _UserAlreadyExistsFault;
906
+ var _UserQuotaExceededFault = class _UserQuotaExceededFault extends MemoryDBServiceException {
907
+ /**
908
+ * @internal
909
+ */
910
+ constructor(opts) {
911
+ super({
912
+ name: "UserQuotaExceededFault",
913
+ $fault: "client",
914
+ ...opts
915
+ });
916
+ this.name = "UserQuotaExceededFault";
917
+ this.$fault = "client";
918
+ Object.setPrototypeOf(this, _UserQuotaExceededFault.prototype);
919
+ }
920
+ };
921
+ __name(_UserQuotaExceededFault, "UserQuotaExceededFault");
922
+ var UserQuotaExceededFault = _UserQuotaExceededFault;
923
+ var _SubnetGroupInUseFault = class _SubnetGroupInUseFault extends MemoryDBServiceException {
924
+ /**
925
+ * @internal
926
+ */
927
+ constructor(opts) {
928
+ super({
929
+ name: "SubnetGroupInUseFault",
930
+ $fault: "client",
931
+ ...opts
932
+ });
933
+ this.name = "SubnetGroupInUseFault";
934
+ this.$fault = "client";
935
+ Object.setPrototypeOf(this, _SubnetGroupInUseFault.prototype);
936
+ }
937
+ };
938
+ __name(_SubnetGroupInUseFault, "SubnetGroupInUseFault");
939
+ var SubnetGroupInUseFault = _SubnetGroupInUseFault;
940
+ var _InvalidUserStateFault = class _InvalidUserStateFault extends MemoryDBServiceException {
941
+ /**
942
+ * @internal
943
+ */
944
+ constructor(opts) {
945
+ super({
946
+ name: "InvalidUserStateFault",
947
+ $fault: "client",
948
+ ...opts
949
+ });
950
+ this.name = "InvalidUserStateFault";
951
+ this.$fault = "client";
952
+ Object.setPrototypeOf(this, _InvalidUserStateFault.prototype);
953
+ }
954
+ };
955
+ __name(_InvalidUserStateFault, "InvalidUserStateFault");
956
+ var InvalidUserStateFault = _InvalidUserStateFault;
957
+ var SourceType = {
958
+ acl: "acl",
959
+ cluster: "cluster",
960
+ node: "node",
961
+ parameter_group: "parameter-group",
962
+ subnet_group: "subnet-group",
963
+ user: "user"
964
+ };
965
+ var _ReservedNodeNotFoundFault = class _ReservedNodeNotFoundFault extends MemoryDBServiceException {
966
+ /**
967
+ * @internal
968
+ */
969
+ constructor(opts) {
970
+ super({
971
+ name: "ReservedNodeNotFoundFault",
972
+ $fault: "client",
973
+ ...opts
974
+ });
975
+ this.name = "ReservedNodeNotFoundFault";
976
+ this.$fault = "client";
977
+ Object.setPrototypeOf(this, _ReservedNodeNotFoundFault.prototype);
978
+ }
979
+ };
980
+ __name(_ReservedNodeNotFoundFault, "ReservedNodeNotFoundFault");
981
+ var ReservedNodeNotFoundFault = _ReservedNodeNotFoundFault;
982
+ var _ReservedNodesOfferingNotFoundFault = class _ReservedNodesOfferingNotFoundFault extends MemoryDBServiceException {
983
+ /**
984
+ * @internal
985
+ */
986
+ constructor(opts) {
987
+ super({
988
+ name: "ReservedNodesOfferingNotFoundFault",
989
+ $fault: "client",
990
+ ...opts
991
+ });
992
+ this.name = "ReservedNodesOfferingNotFoundFault";
993
+ this.$fault = "client";
994
+ Object.setPrototypeOf(this, _ReservedNodesOfferingNotFoundFault.prototype);
995
+ }
996
+ };
997
+ __name(_ReservedNodesOfferingNotFoundFault, "ReservedNodesOfferingNotFoundFault");
998
+ var ReservedNodesOfferingNotFoundFault = _ReservedNodesOfferingNotFoundFault;
999
+ var ServiceUpdateType = {
1000
+ SECURITY_UPDATE: "security-update"
1001
+ };
1002
+ var _APICallRateForCustomerExceededFault = class _APICallRateForCustomerExceededFault extends MemoryDBServiceException {
1003
+ /**
1004
+ * @internal
1005
+ */
1006
+ constructor(opts) {
1007
+ super({
1008
+ name: "APICallRateForCustomerExceededFault",
1009
+ $fault: "client",
1010
+ ...opts
1011
+ });
1012
+ this.name = "APICallRateForCustomerExceededFault";
1013
+ this.$fault = "client";
1014
+ Object.setPrototypeOf(this, _APICallRateForCustomerExceededFault.prototype);
1015
+ }
1016
+ };
1017
+ __name(_APICallRateForCustomerExceededFault, "APICallRateForCustomerExceededFault");
1018
+ var APICallRateForCustomerExceededFault = _APICallRateForCustomerExceededFault;
1019
+ var _InvalidKMSKeyFault = class _InvalidKMSKeyFault extends MemoryDBServiceException {
1020
+ /**
1021
+ * @internal
1022
+ */
1023
+ constructor(opts) {
1024
+ super({
1025
+ name: "InvalidKMSKeyFault",
1026
+ $fault: "client",
1027
+ ...opts
1028
+ });
1029
+ this.name = "InvalidKMSKeyFault";
1030
+ this.$fault = "client";
1031
+ Object.setPrototypeOf(this, _InvalidKMSKeyFault.prototype);
1032
+ }
1033
+ };
1034
+ __name(_InvalidKMSKeyFault, "InvalidKMSKeyFault");
1035
+ var InvalidKMSKeyFault = _InvalidKMSKeyFault;
1036
+ var _ShardNotFoundFault = class _ShardNotFoundFault extends MemoryDBServiceException {
1037
+ /**
1038
+ * @internal
1039
+ */
1040
+ constructor(opts) {
1041
+ super({
1042
+ name: "ShardNotFoundFault",
1043
+ $fault: "client",
1044
+ ...opts
1045
+ });
1046
+ this.name = "ShardNotFoundFault";
1047
+ this.$fault = "client";
1048
+ Object.setPrototypeOf(this, _ShardNotFoundFault.prototype);
1049
+ }
1050
+ };
1051
+ __name(_ShardNotFoundFault, "ShardNotFoundFault");
1052
+ var ShardNotFoundFault = _ShardNotFoundFault;
1053
+ var _TestFailoverNotAvailableFault = class _TestFailoverNotAvailableFault extends MemoryDBServiceException {
1054
+ /**
1055
+ * @internal
1056
+ */
1057
+ constructor(opts) {
1058
+ super({
1059
+ name: "TestFailoverNotAvailableFault",
1060
+ $fault: "client",
1061
+ ...opts
1062
+ });
1063
+ this.name = "TestFailoverNotAvailableFault";
1064
+ this.$fault = "client";
1065
+ Object.setPrototypeOf(this, _TestFailoverNotAvailableFault.prototype);
1066
+ }
1067
+ };
1068
+ __name(_TestFailoverNotAvailableFault, "TestFailoverNotAvailableFault");
1069
+ var TestFailoverNotAvailableFault = _TestFailoverNotAvailableFault;
1070
+ var _InvalidARNFault = class _InvalidARNFault extends MemoryDBServiceException {
1071
+ /**
1072
+ * @internal
1073
+ */
1074
+ constructor(opts) {
1075
+ super({
1076
+ name: "InvalidARNFault",
1077
+ $fault: "client",
1078
+ ...opts
1079
+ });
1080
+ this.name = "InvalidARNFault";
1081
+ this.$fault = "client";
1082
+ Object.setPrototypeOf(this, _InvalidARNFault.prototype);
1083
+ }
1084
+ };
1085
+ __name(_InvalidARNFault, "InvalidARNFault");
1086
+ var InvalidARNFault = _InvalidARNFault;
1087
+ var _ReservedNodeAlreadyExistsFault = class _ReservedNodeAlreadyExistsFault extends MemoryDBServiceException {
1088
+ /**
1089
+ * @internal
1090
+ */
1091
+ constructor(opts) {
1092
+ super({
1093
+ name: "ReservedNodeAlreadyExistsFault",
1094
+ $fault: "client",
1095
+ ...opts
1096
+ });
1097
+ this.name = "ReservedNodeAlreadyExistsFault";
1098
+ this.$fault = "client";
1099
+ Object.setPrototypeOf(this, _ReservedNodeAlreadyExistsFault.prototype);
1100
+ }
1101
+ };
1102
+ __name(_ReservedNodeAlreadyExistsFault, "ReservedNodeAlreadyExistsFault");
1103
+ var ReservedNodeAlreadyExistsFault = _ReservedNodeAlreadyExistsFault;
1104
+ var _ReservedNodeQuotaExceededFault = class _ReservedNodeQuotaExceededFault extends MemoryDBServiceException {
1105
+ /**
1106
+ * @internal
1107
+ */
1108
+ constructor(opts) {
1109
+ super({
1110
+ name: "ReservedNodeQuotaExceededFault",
1111
+ $fault: "client",
1112
+ ...opts
1113
+ });
1114
+ this.name = "ReservedNodeQuotaExceededFault";
1115
+ this.$fault = "client";
1116
+ Object.setPrototypeOf(this, _ReservedNodeQuotaExceededFault.prototype);
1117
+ }
1118
+ };
1119
+ __name(_ReservedNodeQuotaExceededFault, "ReservedNodeQuotaExceededFault");
1120
+ var ReservedNodeQuotaExceededFault = _ReservedNodeQuotaExceededFault;
1121
+ var _TagNotFoundFault = class _TagNotFoundFault extends MemoryDBServiceException {
1122
+ /**
1123
+ * @internal
1124
+ */
1125
+ constructor(opts) {
1126
+ super({
1127
+ name: "TagNotFoundFault",
1128
+ $fault: "client",
1129
+ ...opts
1130
+ });
1131
+ this.name = "TagNotFoundFault";
1132
+ this.$fault = "client";
1133
+ Object.setPrototypeOf(this, _TagNotFoundFault.prototype);
1134
+ }
1135
+ };
1136
+ __name(_TagNotFoundFault, "TagNotFoundFault");
1137
+ var TagNotFoundFault = _TagNotFoundFault;
1138
+ var _InvalidNodeStateFault = class _InvalidNodeStateFault extends MemoryDBServiceException {
1139
+ /**
1140
+ * @internal
1141
+ */
1142
+ constructor(opts) {
1143
+ super({
1144
+ name: "InvalidNodeStateFault",
1145
+ $fault: "client",
1146
+ ...opts
1147
+ });
1148
+ this.name = "InvalidNodeStateFault";
1149
+ this.$fault = "client";
1150
+ Object.setPrototypeOf(this, _InvalidNodeStateFault.prototype);
1151
+ }
1152
+ };
1153
+ __name(_InvalidNodeStateFault, "InvalidNodeStateFault");
1154
+ var InvalidNodeStateFault = _InvalidNodeStateFault;
1155
+ var _NoOperationFault = class _NoOperationFault extends MemoryDBServiceException {
1156
+ /**
1157
+ * @internal
1158
+ */
1159
+ constructor(opts) {
1160
+ super({
1161
+ name: "NoOperationFault",
1162
+ $fault: "client",
1163
+ ...opts
1164
+ });
1165
+ this.name = "NoOperationFault";
1166
+ this.$fault = "client";
1167
+ Object.setPrototypeOf(this, _NoOperationFault.prototype);
1168
+ }
1169
+ };
1170
+ __name(_NoOperationFault, "NoOperationFault");
1171
+ var NoOperationFault = _NoOperationFault;
1172
+ var _SubnetInUse = class _SubnetInUse extends MemoryDBServiceException {
1173
+ /**
1174
+ * @internal
1175
+ */
1176
+ constructor(opts) {
1177
+ super({
1178
+ name: "SubnetInUse",
1179
+ $fault: "client",
1180
+ ...opts
1181
+ });
1182
+ this.name = "SubnetInUse";
1183
+ this.$fault = "client";
1184
+ Object.setPrototypeOf(this, _SubnetInUse.prototype);
1185
+ }
1186
+ };
1187
+ __name(_SubnetInUse, "SubnetInUse");
1188
+ var SubnetInUse = _SubnetInUse;
1189
+
1190
+ // src/protocols/Aws_json1_1.ts
1191
+ var se_BatchUpdateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
1192
+ const headers = sharedHeaders("BatchUpdateCluster");
1193
+ let body;
1194
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1195
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1196
+ }, "se_BatchUpdateClusterCommand");
1197
+ var se_CopySnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
1198
+ const headers = sharedHeaders("CopySnapshot");
1199
+ let body;
1200
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1201
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1202
+ }, "se_CopySnapshotCommand");
1203
+ var se_CreateACLCommand = /* @__PURE__ */ __name(async (input, context) => {
1204
+ const headers = sharedHeaders("CreateACL");
1205
+ let body;
1206
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1207
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1208
+ }, "se_CreateACLCommand");
1209
+ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
1210
+ const headers = sharedHeaders("CreateCluster");
1211
+ let body;
1212
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1213
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1214
+ }, "se_CreateClusterCommand");
1215
+ var se_CreateParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1216
+ const headers = sharedHeaders("CreateParameterGroup");
1217
+ let body;
1218
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1219
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1220
+ }, "se_CreateParameterGroupCommand");
1221
+ var se_CreateSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
1222
+ const headers = sharedHeaders("CreateSnapshot");
1223
+ let body;
1224
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1225
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1226
+ }, "se_CreateSnapshotCommand");
1227
+ var se_CreateSubnetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1228
+ const headers = sharedHeaders("CreateSubnetGroup");
1229
+ let body;
1230
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1231
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1232
+ }, "se_CreateSubnetGroupCommand");
1233
+ var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
1234
+ const headers = sharedHeaders("CreateUser");
1235
+ let body;
1236
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1237
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1238
+ }, "se_CreateUserCommand");
1239
+ var se_DeleteACLCommand = /* @__PURE__ */ __name(async (input, context) => {
1240
+ const headers = sharedHeaders("DeleteACL");
1241
+ let body;
1242
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1243
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1244
+ }, "se_DeleteACLCommand");
1245
+ var se_DeleteClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
1246
+ const headers = sharedHeaders("DeleteCluster");
1247
+ let body;
1248
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1249
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1250
+ }, "se_DeleteClusterCommand");
1251
+ var se_DeleteParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1252
+ const headers = sharedHeaders("DeleteParameterGroup");
1253
+ let body;
1254
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1255
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1256
+ }, "se_DeleteParameterGroupCommand");
1257
+ var se_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
1258
+ const headers = sharedHeaders("DeleteSnapshot");
1259
+ let body;
1260
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1261
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1262
+ }, "se_DeleteSnapshotCommand");
1263
+ var se_DeleteSubnetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1264
+ const headers = sharedHeaders("DeleteSubnetGroup");
1265
+ let body;
1266
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1267
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1268
+ }, "se_DeleteSubnetGroupCommand");
1269
+ var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
1270
+ const headers = sharedHeaders("DeleteUser");
1271
+ let body;
1272
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1273
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1274
+ }, "se_DeleteUserCommand");
1275
+ var se_DescribeACLsCommand = /* @__PURE__ */ __name(async (input, context) => {
1276
+ const headers = sharedHeaders("DescribeACLs");
1277
+ let body;
1278
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1279
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1280
+ }, "se_DescribeACLsCommand");
1281
+ var se_DescribeClustersCommand = /* @__PURE__ */ __name(async (input, context) => {
1282
+ const headers = sharedHeaders("DescribeClusters");
1283
+ let body;
1284
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1285
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1286
+ }, "se_DescribeClustersCommand");
1287
+ var se_DescribeEngineVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1288
+ const headers = sharedHeaders("DescribeEngineVersions");
1289
+ let body;
1290
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1291
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1292
+ }, "se_DescribeEngineVersionsCommand");
1293
+ var se_DescribeEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
1294
+ const headers = sharedHeaders("DescribeEvents");
1295
+ let body;
1296
+ body = JSON.stringify(se_DescribeEventsRequest(input, context));
1297
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1298
+ }, "se_DescribeEventsCommand");
1299
+ var se_DescribeParameterGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
1300
+ const headers = sharedHeaders("DescribeParameterGroups");
1301
+ let body;
1302
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1303
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1304
+ }, "se_DescribeParameterGroupsCommand");
1305
+ var se_DescribeParametersCommand = /* @__PURE__ */ __name(async (input, context) => {
1306
+ const headers = sharedHeaders("DescribeParameters");
1307
+ let body;
1308
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1309
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1310
+ }, "se_DescribeParametersCommand");
1311
+ var se_DescribeReservedNodesCommand = /* @__PURE__ */ __name(async (input, context) => {
1312
+ const headers = sharedHeaders("DescribeReservedNodes");
1313
+ let body;
1314
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1315
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1316
+ }, "se_DescribeReservedNodesCommand");
1317
+ var se_DescribeReservedNodesOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {
1318
+ const headers = sharedHeaders("DescribeReservedNodesOfferings");
1319
+ let body;
1320
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1321
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1322
+ }, "se_DescribeReservedNodesOfferingsCommand");
1323
+ var se_DescribeServiceUpdatesCommand = /* @__PURE__ */ __name(async (input, context) => {
1324
+ const headers = sharedHeaders("DescribeServiceUpdates");
1325
+ let body;
1326
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1327
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1328
+ }, "se_DescribeServiceUpdatesCommand");
1329
+ var se_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => {
1330
+ const headers = sharedHeaders("DescribeSnapshots");
1331
+ let body;
1332
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1333
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1334
+ }, "se_DescribeSnapshotsCommand");
1335
+ var se_DescribeSubnetGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
1336
+ const headers = sharedHeaders("DescribeSubnetGroups");
1337
+ let body;
1338
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1339
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1340
+ }, "se_DescribeSubnetGroupsCommand");
1341
+ var se_DescribeUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
1342
+ const headers = sharedHeaders("DescribeUsers");
1343
+ let body;
1344
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1345
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1346
+ }, "se_DescribeUsersCommand");
1347
+ var se_FailoverShardCommand = /* @__PURE__ */ __name(async (input, context) => {
1348
+ const headers = sharedHeaders("FailoverShard");
1349
+ let body;
1350
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1351
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1352
+ }, "se_FailoverShardCommand");
1353
+ var se_ListAllowedNodeTypeUpdatesCommand = /* @__PURE__ */ __name(async (input, context) => {
1354
+ const headers = sharedHeaders("ListAllowedNodeTypeUpdates");
1355
+ let body;
1356
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1357
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1358
+ }, "se_ListAllowedNodeTypeUpdatesCommand");
1359
+ var se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
1360
+ const headers = sharedHeaders("ListTags");
1361
+ let body;
1362
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1363
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1364
+ }, "se_ListTagsCommand");
1365
+ var se_PurchaseReservedNodesOfferingCommand = /* @__PURE__ */ __name(async (input, context) => {
1366
+ const headers = sharedHeaders("PurchaseReservedNodesOffering");
1367
+ let body;
1368
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1369
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1370
+ }, "se_PurchaseReservedNodesOfferingCommand");
1371
+ var se_ResetParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1372
+ const headers = sharedHeaders("ResetParameterGroup");
1373
+ let body;
1374
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1375
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1376
+ }, "se_ResetParameterGroupCommand");
1377
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1378
+ const headers = sharedHeaders("TagResource");
1379
+ let body;
1380
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1381
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1382
+ }, "se_TagResourceCommand");
1383
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1384
+ const headers = sharedHeaders("UntagResource");
1385
+ let body;
1386
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1387
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1388
+ }, "se_UntagResourceCommand");
1389
+ var se_UpdateACLCommand = /* @__PURE__ */ __name(async (input, context) => {
1390
+ const headers = sharedHeaders("UpdateACL");
1391
+ let body;
1392
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1393
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1394
+ }, "se_UpdateACLCommand");
1395
+ var se_UpdateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
1396
+ const headers = sharedHeaders("UpdateCluster");
1397
+ let body;
1398
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1399
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1400
+ }, "se_UpdateClusterCommand");
1401
+ var se_UpdateParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1402
+ const headers = sharedHeaders("UpdateParameterGroup");
1403
+ let body;
1404
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1405
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1406
+ }, "se_UpdateParameterGroupCommand");
1407
+ var se_UpdateSubnetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1408
+ const headers = sharedHeaders("UpdateSubnetGroup");
1409
+ let body;
1410
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1411
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1412
+ }, "se_UpdateSubnetGroupCommand");
1413
+ var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
1414
+ const headers = sharedHeaders("UpdateUser");
1415
+ let body;
1416
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1417
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1418
+ }, "se_UpdateUserCommand");
1419
+ var de_BatchUpdateClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
1420
+ if (output.statusCode >= 300) {
1421
+ return de_BatchUpdateClusterCommandError(output, context);
1422
+ }
1423
+ const data = await parseBody(output.body, context);
1424
+ let contents = {};
1425
+ contents = de_BatchUpdateClusterResponse(data, context);
1426
+ const response = {
1427
+ $metadata: deserializeMetadata(output),
1428
+ ...contents
1429
+ };
1430
+ return response;
1431
+ }, "de_BatchUpdateClusterCommand");
1432
+ var de_BatchUpdateClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
1433
+ const parsedOutput = {
1434
+ ...output,
1435
+ body: await parseErrorBody(output.body, context)
1436
+ };
1437
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1438
+ switch (errorCode) {
1439
+ case "InvalidParameterValueException":
1440
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1441
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1442
+ case "ServiceUpdateNotFoundFault":
1443
+ case "com.amazonaws.memorydb#ServiceUpdateNotFoundFault":
1444
+ throw await de_ServiceUpdateNotFoundFaultRes(parsedOutput, context);
1445
+ default:
1446
+ const parsedBody = parsedOutput.body;
1447
+ return throwDefaultError({
1448
+ output,
1449
+ parsedBody,
1450
+ errorCode
1451
+ });
1452
+ }
1453
+ }, "de_BatchUpdateClusterCommandError");
1454
+ var de_CopySnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
1455
+ if (output.statusCode >= 300) {
1456
+ return de_CopySnapshotCommandError(output, context);
1457
+ }
1458
+ const data = await parseBody(output.body, context);
1459
+ let contents = {};
1460
+ contents = de_CopySnapshotResponse(data, context);
1461
+ const response = {
1462
+ $metadata: deserializeMetadata(output),
1463
+ ...contents
1464
+ };
1465
+ return response;
1466
+ }, "de_CopySnapshotCommand");
1467
+ var de_CopySnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
1468
+ const parsedOutput = {
1469
+ ...output,
1470
+ body: await parseErrorBody(output.body, context)
1471
+ };
1472
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1473
+ switch (errorCode) {
1474
+ case "InvalidParameterCombinationException":
1475
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1476
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1477
+ case "InvalidParameterValueException":
1478
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1479
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1480
+ case "InvalidSnapshotStateFault":
1481
+ case "com.amazonaws.memorydb#InvalidSnapshotStateFault":
1482
+ throw await de_InvalidSnapshotStateFaultRes(parsedOutput, context);
1483
+ case "ServiceLinkedRoleNotFoundFault":
1484
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1485
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1486
+ case "SnapshotAlreadyExistsFault":
1487
+ case "com.amazonaws.memorydb#SnapshotAlreadyExistsFault":
1488
+ throw await de_SnapshotAlreadyExistsFaultRes(parsedOutput, context);
1489
+ case "SnapshotNotFoundFault":
1490
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
1491
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
1492
+ case "SnapshotQuotaExceededFault":
1493
+ case "com.amazonaws.memorydb#SnapshotQuotaExceededFault":
1494
+ throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
1495
+ case "TagQuotaPerResourceExceeded":
1496
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1497
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1498
+ default:
1499
+ const parsedBody = parsedOutput.body;
1500
+ return throwDefaultError({
1501
+ output,
1502
+ parsedBody,
1503
+ errorCode
1504
+ });
1505
+ }
1506
+ }, "de_CopySnapshotCommandError");
1507
+ var de_CreateACLCommand = /* @__PURE__ */ __name(async (output, context) => {
1508
+ if (output.statusCode >= 300) {
1509
+ return de_CreateACLCommandError(output, context);
1510
+ }
1511
+ const data = await parseBody(output.body, context);
1512
+ let contents = {};
1513
+ contents = (0, import_smithy_client._json)(data);
1514
+ const response = {
1515
+ $metadata: deserializeMetadata(output),
1516
+ ...contents
1517
+ };
1518
+ return response;
1519
+ }, "de_CreateACLCommand");
1520
+ var de_CreateACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
1521
+ const parsedOutput = {
1522
+ ...output,
1523
+ body: await parseErrorBody(output.body, context)
1524
+ };
1525
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1526
+ switch (errorCode) {
1527
+ case "ACLAlreadyExistsFault":
1528
+ case "com.amazonaws.memorydb#ACLAlreadyExistsFault":
1529
+ throw await de_ACLAlreadyExistsFaultRes(parsedOutput, context);
1530
+ case "ACLQuotaExceededFault":
1531
+ case "com.amazonaws.memorydb#ACLQuotaExceededFault":
1532
+ throw await de_ACLQuotaExceededFaultRes(parsedOutput, context);
1533
+ case "DefaultUserRequired":
1534
+ case "com.amazonaws.memorydb#DefaultUserRequired":
1535
+ throw await de_DefaultUserRequiredRes(parsedOutput, context);
1536
+ case "DuplicateUserNameFault":
1537
+ case "com.amazonaws.memorydb#DuplicateUserNameFault":
1538
+ throw await de_DuplicateUserNameFaultRes(parsedOutput, context);
1539
+ case "InvalidParameterValueException":
1540
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1541
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1542
+ case "TagQuotaPerResourceExceeded":
1543
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1544
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1545
+ case "UserNotFoundFault":
1546
+ case "com.amazonaws.memorydb#UserNotFoundFault":
1547
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
1548
+ default:
1549
+ const parsedBody = parsedOutput.body;
1550
+ return throwDefaultError({
1551
+ output,
1552
+ parsedBody,
1553
+ errorCode
1554
+ });
1555
+ }
1556
+ }, "de_CreateACLCommandError");
1557
+ var de_CreateClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
1558
+ if (output.statusCode >= 300) {
1559
+ return de_CreateClusterCommandError(output, context);
1560
+ }
1561
+ const data = await parseBody(output.body, context);
1562
+ let contents = {};
1563
+ contents = de_CreateClusterResponse(data, context);
1564
+ const response = {
1565
+ $metadata: deserializeMetadata(output),
1566
+ ...contents
1567
+ };
1568
+ return response;
1569
+ }, "de_CreateClusterCommand");
1570
+ var de_CreateClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
1571
+ const parsedOutput = {
1572
+ ...output,
1573
+ body: await parseErrorBody(output.body, context)
1574
+ };
1575
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1576
+ switch (errorCode) {
1577
+ case "ACLNotFoundFault":
1578
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
1579
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
1580
+ case "ClusterAlreadyExistsFault":
1581
+ case "com.amazonaws.memorydb#ClusterAlreadyExistsFault":
1582
+ throw await de_ClusterAlreadyExistsFaultRes(parsedOutput, context);
1583
+ case "ClusterQuotaForCustomerExceededFault":
1584
+ case "com.amazonaws.memorydb#ClusterQuotaForCustomerExceededFault":
1585
+ throw await de_ClusterQuotaForCustomerExceededFaultRes(parsedOutput, context);
1586
+ case "InsufficientClusterCapacityFault":
1587
+ case "com.amazonaws.memorydb#InsufficientClusterCapacityFault":
1588
+ throw await de_InsufficientClusterCapacityFaultRes(parsedOutput, context);
1589
+ case "InvalidACLStateFault":
1590
+ case "com.amazonaws.memorydb#InvalidACLStateFault":
1591
+ throw await de_InvalidACLStateFaultRes(parsedOutput, context);
1592
+ case "InvalidCredentialsException":
1593
+ case "com.amazonaws.memorydb#InvalidCredentialsException":
1594
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
1595
+ case "InvalidParameterCombinationException":
1596
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1597
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1598
+ case "InvalidParameterValueException":
1599
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1600
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1601
+ case "InvalidVPCNetworkStateFault":
1602
+ case "com.amazonaws.memorydb#InvalidVPCNetworkStateFault":
1603
+ throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
1604
+ case "NodeQuotaForClusterExceededFault":
1605
+ case "com.amazonaws.memorydb#NodeQuotaForClusterExceededFault":
1606
+ throw await de_NodeQuotaForClusterExceededFaultRes(parsedOutput, context);
1607
+ case "NodeQuotaForCustomerExceededFault":
1608
+ case "com.amazonaws.memorydb#NodeQuotaForCustomerExceededFault":
1609
+ throw await de_NodeQuotaForCustomerExceededFaultRes(parsedOutput, context);
1610
+ case "ParameterGroupNotFoundFault":
1611
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
1612
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
1613
+ case "ServiceLinkedRoleNotFoundFault":
1614
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1615
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1616
+ case "ShardsPerClusterQuotaExceededFault":
1617
+ case "com.amazonaws.memorydb#ShardsPerClusterQuotaExceededFault":
1618
+ throw await de_ShardsPerClusterQuotaExceededFaultRes(parsedOutput, context);
1619
+ case "SubnetGroupNotFoundFault":
1620
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
1621
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
1622
+ case "TagQuotaPerResourceExceeded":
1623
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1624
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1625
+ default:
1626
+ const parsedBody = parsedOutput.body;
1627
+ return throwDefaultError({
1628
+ output,
1629
+ parsedBody,
1630
+ errorCode
1631
+ });
1632
+ }
1633
+ }, "de_CreateClusterCommandError");
1634
+ var de_CreateParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1635
+ if (output.statusCode >= 300) {
1636
+ return de_CreateParameterGroupCommandError(output, context);
1637
+ }
1638
+ const data = await parseBody(output.body, context);
1639
+ let contents = {};
1640
+ contents = (0, import_smithy_client._json)(data);
1641
+ const response = {
1642
+ $metadata: deserializeMetadata(output),
1643
+ ...contents
1644
+ };
1645
+ return response;
1646
+ }, "de_CreateParameterGroupCommand");
1647
+ var de_CreateParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1648
+ const parsedOutput = {
1649
+ ...output,
1650
+ body: await parseErrorBody(output.body, context)
1651
+ };
1652
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1653
+ switch (errorCode) {
1654
+ case "InvalidParameterCombinationException":
1655
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1656
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1657
+ case "InvalidParameterGroupStateFault":
1658
+ case "com.amazonaws.memorydb#InvalidParameterGroupStateFault":
1659
+ throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
1660
+ case "InvalidParameterValueException":
1661
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1662
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1663
+ case "ParameterGroupAlreadyExistsFault":
1664
+ case "com.amazonaws.memorydb#ParameterGroupAlreadyExistsFault":
1665
+ throw await de_ParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
1666
+ case "ParameterGroupQuotaExceededFault":
1667
+ case "com.amazonaws.memorydb#ParameterGroupQuotaExceededFault":
1668
+ throw await de_ParameterGroupQuotaExceededFaultRes(parsedOutput, context);
1669
+ case "ServiceLinkedRoleNotFoundFault":
1670
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1671
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1672
+ case "TagQuotaPerResourceExceeded":
1673
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1674
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1675
+ default:
1676
+ const parsedBody = parsedOutput.body;
1677
+ return throwDefaultError({
1678
+ output,
1679
+ parsedBody,
1680
+ errorCode
1681
+ });
1682
+ }
1683
+ }, "de_CreateParameterGroupCommandError");
1684
+ var de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
1685
+ if (output.statusCode >= 300) {
1686
+ return de_CreateSnapshotCommandError(output, context);
1687
+ }
1688
+ const data = await parseBody(output.body, context);
1689
+ let contents = {};
1690
+ contents = de_CreateSnapshotResponse(data, context);
1691
+ const response = {
1692
+ $metadata: deserializeMetadata(output),
1693
+ ...contents
1694
+ };
1695
+ return response;
1696
+ }, "de_CreateSnapshotCommand");
1697
+ var de_CreateSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
1698
+ const parsedOutput = {
1699
+ ...output,
1700
+ body: await parseErrorBody(output.body, context)
1701
+ };
1702
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1703
+ switch (errorCode) {
1704
+ case "ClusterNotFoundFault":
1705
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
1706
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
1707
+ case "InvalidClusterStateFault":
1708
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
1709
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
1710
+ case "InvalidParameterCombinationException":
1711
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1712
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1713
+ case "InvalidParameterValueException":
1714
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1715
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1716
+ case "ServiceLinkedRoleNotFoundFault":
1717
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1718
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1719
+ case "SnapshotAlreadyExistsFault":
1720
+ case "com.amazonaws.memorydb#SnapshotAlreadyExistsFault":
1721
+ throw await de_SnapshotAlreadyExistsFaultRes(parsedOutput, context);
1722
+ case "SnapshotQuotaExceededFault":
1723
+ case "com.amazonaws.memorydb#SnapshotQuotaExceededFault":
1724
+ throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
1725
+ case "TagQuotaPerResourceExceeded":
1726
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1727
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1728
+ default:
1729
+ const parsedBody = parsedOutput.body;
1730
+ return throwDefaultError({
1731
+ output,
1732
+ parsedBody,
1733
+ errorCode
1734
+ });
1735
+ }
1736
+ }, "de_CreateSnapshotCommandError");
1737
+ var de_CreateSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1738
+ if (output.statusCode >= 300) {
1739
+ return de_CreateSubnetGroupCommandError(output, context);
1740
+ }
1741
+ const data = await parseBody(output.body, context);
1742
+ let contents = {};
1743
+ contents = (0, import_smithy_client._json)(data);
1744
+ const response = {
1745
+ $metadata: deserializeMetadata(output),
1746
+ ...contents
1747
+ };
1748
+ return response;
1749
+ }, "de_CreateSubnetGroupCommand");
1750
+ var de_CreateSubnetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1751
+ const parsedOutput = {
1752
+ ...output,
1753
+ body: await parseErrorBody(output.body, context)
1754
+ };
1755
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1756
+ switch (errorCode) {
1757
+ case "InvalidSubnet":
1758
+ case "com.amazonaws.memorydb#InvalidSubnet":
1759
+ throw await de_InvalidSubnetRes(parsedOutput, context);
1760
+ case "ServiceLinkedRoleNotFoundFault":
1761
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1762
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1763
+ case "SubnetGroupAlreadyExistsFault":
1764
+ case "com.amazonaws.memorydb#SubnetGroupAlreadyExistsFault":
1765
+ throw await de_SubnetGroupAlreadyExistsFaultRes(parsedOutput, context);
1766
+ case "SubnetGroupQuotaExceededFault":
1767
+ case "com.amazonaws.memorydb#SubnetGroupQuotaExceededFault":
1768
+ throw await de_SubnetGroupQuotaExceededFaultRes(parsedOutput, context);
1769
+ case "SubnetNotAllowedFault":
1770
+ case "com.amazonaws.memorydb#SubnetNotAllowedFault":
1771
+ throw await de_SubnetNotAllowedFaultRes(parsedOutput, context);
1772
+ case "SubnetQuotaExceededFault":
1773
+ case "com.amazonaws.memorydb#SubnetQuotaExceededFault":
1774
+ throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
1775
+ case "TagQuotaPerResourceExceeded":
1776
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1777
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1778
+ default:
1779
+ const parsedBody = parsedOutput.body;
1780
+ return throwDefaultError({
1781
+ output,
1782
+ parsedBody,
1783
+ errorCode
1784
+ });
1785
+ }
1786
+ }, "de_CreateSubnetGroupCommandError");
1787
+ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1788
+ if (output.statusCode >= 300) {
1789
+ return de_CreateUserCommandError(output, context);
1790
+ }
1791
+ const data = await parseBody(output.body, context);
1792
+ let contents = {};
1793
+ contents = (0, import_smithy_client._json)(data);
1794
+ const response = {
1795
+ $metadata: deserializeMetadata(output),
1796
+ ...contents
1797
+ };
1798
+ return response;
1799
+ }, "de_CreateUserCommand");
1800
+ var de_CreateUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
1801
+ const parsedOutput = {
1802
+ ...output,
1803
+ body: await parseErrorBody(output.body, context)
1804
+ };
1805
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1806
+ switch (errorCode) {
1807
+ case "DuplicateUserNameFault":
1808
+ case "com.amazonaws.memorydb#DuplicateUserNameFault":
1809
+ throw await de_DuplicateUserNameFaultRes(parsedOutput, context);
1810
+ case "InvalidParameterCombinationException":
1811
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1812
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1813
+ case "InvalidParameterValueException":
1814
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1815
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1816
+ case "TagQuotaPerResourceExceeded":
1817
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
1818
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
1819
+ case "UserAlreadyExistsFault":
1820
+ case "com.amazonaws.memorydb#UserAlreadyExistsFault":
1821
+ throw await de_UserAlreadyExistsFaultRes(parsedOutput, context);
1822
+ case "UserQuotaExceededFault":
1823
+ case "com.amazonaws.memorydb#UserQuotaExceededFault":
1824
+ throw await de_UserQuotaExceededFaultRes(parsedOutput, context);
1825
+ default:
1826
+ const parsedBody = parsedOutput.body;
1827
+ return throwDefaultError({
1828
+ output,
1829
+ parsedBody,
1830
+ errorCode
1831
+ });
1832
+ }
1833
+ }, "de_CreateUserCommandError");
1834
+ var de_DeleteACLCommand = /* @__PURE__ */ __name(async (output, context) => {
1835
+ if (output.statusCode >= 300) {
1836
+ return de_DeleteACLCommandError(output, context);
1837
+ }
1838
+ const data = await parseBody(output.body, context);
1839
+ let contents = {};
1840
+ contents = (0, import_smithy_client._json)(data);
1841
+ const response = {
1842
+ $metadata: deserializeMetadata(output),
1843
+ ...contents
1844
+ };
1845
+ return response;
1846
+ }, "de_DeleteACLCommand");
1847
+ var de_DeleteACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
1848
+ const parsedOutput = {
1849
+ ...output,
1850
+ body: await parseErrorBody(output.body, context)
1851
+ };
1852
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1853
+ switch (errorCode) {
1854
+ case "ACLNotFoundFault":
1855
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
1856
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
1857
+ case "InvalidACLStateFault":
1858
+ case "com.amazonaws.memorydb#InvalidACLStateFault":
1859
+ throw await de_InvalidACLStateFaultRes(parsedOutput, context);
1860
+ case "InvalidParameterValueException":
1861
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1862
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1863
+ default:
1864
+ const parsedBody = parsedOutput.body;
1865
+ return throwDefaultError({
1866
+ output,
1867
+ parsedBody,
1868
+ errorCode
1869
+ });
1870
+ }
1871
+ }, "de_DeleteACLCommandError");
1872
+ var de_DeleteClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
1873
+ if (output.statusCode >= 300) {
1874
+ return de_DeleteClusterCommandError(output, context);
1875
+ }
1876
+ const data = await parseBody(output.body, context);
1877
+ let contents = {};
1878
+ contents = de_DeleteClusterResponse(data, context);
1879
+ const response = {
1880
+ $metadata: deserializeMetadata(output),
1881
+ ...contents
1882
+ };
1883
+ return response;
1884
+ }, "de_DeleteClusterCommand");
1885
+ var de_DeleteClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
1886
+ const parsedOutput = {
1887
+ ...output,
1888
+ body: await parseErrorBody(output.body, context)
1889
+ };
1890
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1891
+ switch (errorCode) {
1892
+ case "ClusterNotFoundFault":
1893
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
1894
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
1895
+ case "InvalidClusterStateFault":
1896
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
1897
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
1898
+ case "InvalidParameterCombinationException":
1899
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1900
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1901
+ case "InvalidParameterValueException":
1902
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1903
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1904
+ case "ServiceLinkedRoleNotFoundFault":
1905
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1906
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1907
+ case "SnapshotAlreadyExistsFault":
1908
+ case "com.amazonaws.memorydb#SnapshotAlreadyExistsFault":
1909
+ throw await de_SnapshotAlreadyExistsFaultRes(parsedOutput, context);
1910
+ default:
1911
+ const parsedBody = parsedOutput.body;
1912
+ return throwDefaultError({
1913
+ output,
1914
+ parsedBody,
1915
+ errorCode
1916
+ });
1917
+ }
1918
+ }, "de_DeleteClusterCommandError");
1919
+ var de_DeleteParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1920
+ if (output.statusCode >= 300) {
1921
+ return de_DeleteParameterGroupCommandError(output, context);
1922
+ }
1923
+ const data = await parseBody(output.body, context);
1924
+ let contents = {};
1925
+ contents = (0, import_smithy_client._json)(data);
1926
+ const response = {
1927
+ $metadata: deserializeMetadata(output),
1928
+ ...contents
1929
+ };
1930
+ return response;
1931
+ }, "de_DeleteParameterGroupCommand");
1932
+ var de_DeleteParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1933
+ const parsedOutput = {
1934
+ ...output,
1935
+ body: await parseErrorBody(output.body, context)
1936
+ };
1937
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1938
+ switch (errorCode) {
1939
+ case "InvalidParameterCombinationException":
1940
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1941
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1942
+ case "InvalidParameterGroupStateFault":
1943
+ case "com.amazonaws.memorydb#InvalidParameterGroupStateFault":
1944
+ throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
1945
+ case "InvalidParameterValueException":
1946
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1947
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1948
+ case "ParameterGroupNotFoundFault":
1949
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
1950
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
1951
+ case "ServiceLinkedRoleNotFoundFault":
1952
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1953
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1954
+ default:
1955
+ const parsedBody = parsedOutput.body;
1956
+ return throwDefaultError({
1957
+ output,
1958
+ parsedBody,
1959
+ errorCode
1960
+ });
1961
+ }
1962
+ }, "de_DeleteParameterGroupCommandError");
1963
+ var de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
1964
+ if (output.statusCode >= 300) {
1965
+ return de_DeleteSnapshotCommandError(output, context);
1966
+ }
1967
+ const data = await parseBody(output.body, context);
1968
+ let contents = {};
1969
+ contents = de_DeleteSnapshotResponse(data, context);
1970
+ const response = {
1971
+ $metadata: deserializeMetadata(output),
1972
+ ...contents
1973
+ };
1974
+ return response;
1975
+ }, "de_DeleteSnapshotCommand");
1976
+ var de_DeleteSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
1977
+ const parsedOutput = {
1978
+ ...output,
1979
+ body: await parseErrorBody(output.body, context)
1980
+ };
1981
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1982
+ switch (errorCode) {
1983
+ case "InvalidParameterCombinationException":
1984
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
1985
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1986
+ case "InvalidParameterValueException":
1987
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
1988
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1989
+ case "InvalidSnapshotStateFault":
1990
+ case "com.amazonaws.memorydb#InvalidSnapshotStateFault":
1991
+ throw await de_InvalidSnapshotStateFaultRes(parsedOutput, context);
1992
+ case "ServiceLinkedRoleNotFoundFault":
1993
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
1994
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
1995
+ case "SnapshotNotFoundFault":
1996
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
1997
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
1998
+ default:
1999
+ const parsedBody = parsedOutput.body;
2000
+ return throwDefaultError({
2001
+ output,
2002
+ parsedBody,
2003
+ errorCode
2004
+ });
2005
+ }
2006
+ }, "de_DeleteSnapshotCommandError");
2007
+ var de_DeleteSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
2008
+ if (output.statusCode >= 300) {
2009
+ return de_DeleteSubnetGroupCommandError(output, context);
2010
+ }
2011
+ const data = await parseBody(output.body, context);
2012
+ let contents = {};
2013
+ contents = (0, import_smithy_client._json)(data);
2014
+ const response = {
2015
+ $metadata: deserializeMetadata(output),
2016
+ ...contents
2017
+ };
2018
+ return response;
2019
+ }, "de_DeleteSubnetGroupCommand");
2020
+ var de_DeleteSubnetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
2021
+ const parsedOutput = {
2022
+ ...output,
2023
+ body: await parseErrorBody(output.body, context)
2024
+ };
2025
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2026
+ switch (errorCode) {
2027
+ case "ServiceLinkedRoleNotFoundFault":
2028
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2029
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2030
+ case "SubnetGroupInUseFault":
2031
+ case "com.amazonaws.memorydb#SubnetGroupInUseFault":
2032
+ throw await de_SubnetGroupInUseFaultRes(parsedOutput, context);
2033
+ case "SubnetGroupNotFoundFault":
2034
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
2035
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
2036
+ default:
2037
+ const parsedBody = parsedOutput.body;
2038
+ return throwDefaultError({
2039
+ output,
2040
+ parsedBody,
2041
+ errorCode
2042
+ });
2043
+ }
2044
+ }, "de_DeleteSubnetGroupCommandError");
2045
+ var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
2046
+ if (output.statusCode >= 300) {
2047
+ return de_DeleteUserCommandError(output, context);
2048
+ }
2049
+ const data = await parseBody(output.body, context);
2050
+ let contents = {};
2051
+ contents = (0, import_smithy_client._json)(data);
2052
+ const response = {
2053
+ $metadata: deserializeMetadata(output),
2054
+ ...contents
2055
+ };
2056
+ return response;
2057
+ }, "de_DeleteUserCommand");
2058
+ var de_DeleteUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
2059
+ const parsedOutput = {
2060
+ ...output,
2061
+ body: await parseErrorBody(output.body, context)
2062
+ };
2063
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2064
+ switch (errorCode) {
2065
+ case "InvalidParameterValueException":
2066
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2067
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2068
+ case "InvalidUserStateFault":
2069
+ case "com.amazonaws.memorydb#InvalidUserStateFault":
2070
+ throw await de_InvalidUserStateFaultRes(parsedOutput, context);
2071
+ case "UserNotFoundFault":
2072
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2073
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2074
+ default:
2075
+ const parsedBody = parsedOutput.body;
2076
+ return throwDefaultError({
2077
+ output,
2078
+ parsedBody,
2079
+ errorCode
2080
+ });
2081
+ }
2082
+ }, "de_DeleteUserCommandError");
2083
+ var de_DescribeACLsCommand = /* @__PURE__ */ __name(async (output, context) => {
2084
+ if (output.statusCode >= 300) {
2085
+ return de_DescribeACLsCommandError(output, context);
2086
+ }
2087
+ const data = await parseBody(output.body, context);
2088
+ let contents = {};
2089
+ contents = (0, import_smithy_client._json)(data);
2090
+ const response = {
2091
+ $metadata: deserializeMetadata(output),
2092
+ ...contents
2093
+ };
2094
+ return response;
2095
+ }, "de_DescribeACLsCommand");
2096
+ var de_DescribeACLsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2097
+ const parsedOutput = {
2098
+ ...output,
2099
+ body: await parseErrorBody(output.body, context)
2100
+ };
2101
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2102
+ switch (errorCode) {
2103
+ case "ACLNotFoundFault":
2104
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2105
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2106
+ case "InvalidParameterCombinationException":
2107
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2108
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2109
+ default:
2110
+ const parsedBody = parsedOutput.body;
2111
+ return throwDefaultError({
2112
+ output,
2113
+ parsedBody,
2114
+ errorCode
2115
+ });
2116
+ }
2117
+ }, "de_DescribeACLsCommandError");
2118
+ var de_DescribeClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
2119
+ if (output.statusCode >= 300) {
2120
+ return de_DescribeClustersCommandError(output, context);
2121
+ }
2122
+ const data = await parseBody(output.body, context);
2123
+ let contents = {};
2124
+ contents = de_DescribeClustersResponse(data, context);
2125
+ const response = {
2126
+ $metadata: deserializeMetadata(output),
2127
+ ...contents
2128
+ };
2129
+ return response;
2130
+ }, "de_DescribeClustersCommand");
2131
+ var de_DescribeClustersCommandError = /* @__PURE__ */ __name(async (output, context) => {
2132
+ const parsedOutput = {
2133
+ ...output,
2134
+ body: await parseErrorBody(output.body, context)
2135
+ };
2136
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2137
+ switch (errorCode) {
2138
+ case "ClusterNotFoundFault":
2139
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2140
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2141
+ case "InvalidParameterCombinationException":
2142
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2143
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2144
+ case "InvalidParameterValueException":
2145
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2146
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2147
+ case "ServiceLinkedRoleNotFoundFault":
2148
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2149
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2150
+ default:
2151
+ const parsedBody = parsedOutput.body;
2152
+ return throwDefaultError({
2153
+ output,
2154
+ parsedBody,
2155
+ errorCode
2156
+ });
2157
+ }
2158
+ }, "de_DescribeClustersCommandError");
2159
+ var de_DescribeEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
2160
+ if (output.statusCode >= 300) {
2161
+ return de_DescribeEngineVersionsCommandError(output, context);
2162
+ }
2163
+ const data = await parseBody(output.body, context);
2164
+ let contents = {};
2165
+ contents = (0, import_smithy_client._json)(data);
2166
+ const response = {
2167
+ $metadata: deserializeMetadata(output),
2168
+ ...contents
2169
+ };
2170
+ return response;
2171
+ }, "de_DescribeEngineVersionsCommand");
2172
+ var de_DescribeEngineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2173
+ const parsedOutput = {
2174
+ ...output,
2175
+ body: await parseErrorBody(output.body, context)
2176
+ };
2177
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2178
+ switch (errorCode) {
2179
+ case "InvalidParameterCombinationException":
2180
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2181
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2182
+ case "InvalidParameterValueException":
2183
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2184
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2185
+ case "ServiceLinkedRoleNotFoundFault":
2186
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2187
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2188
+ default:
2189
+ const parsedBody = parsedOutput.body;
2190
+ return throwDefaultError({
2191
+ output,
2192
+ parsedBody,
2193
+ errorCode
2194
+ });
2195
+ }
2196
+ }, "de_DescribeEngineVersionsCommandError");
2197
+ var de_DescribeEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
2198
+ if (output.statusCode >= 300) {
2199
+ return de_DescribeEventsCommandError(output, context);
2200
+ }
2201
+ const data = await parseBody(output.body, context);
2202
+ let contents = {};
2203
+ contents = de_DescribeEventsResponse(data, context);
2204
+ const response = {
2205
+ $metadata: deserializeMetadata(output),
2206
+ ...contents
2207
+ };
2208
+ return response;
2209
+ }, "de_DescribeEventsCommand");
2210
+ var de_DescribeEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2211
+ const parsedOutput = {
2212
+ ...output,
2213
+ body: await parseErrorBody(output.body, context)
2214
+ };
2215
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2216
+ switch (errorCode) {
2217
+ case "InvalidParameterCombinationException":
2218
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2219
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2220
+ case "InvalidParameterValueException":
2221
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2222
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2223
+ case "ServiceLinkedRoleNotFoundFault":
2224
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2225
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2226
+ default:
2227
+ const parsedBody = parsedOutput.body;
2228
+ return throwDefaultError({
2229
+ output,
2230
+ parsedBody,
2231
+ errorCode
2232
+ });
2233
+ }
2234
+ }, "de_DescribeEventsCommandError");
2235
+ var de_DescribeParameterGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
2236
+ if (output.statusCode >= 300) {
2237
+ return de_DescribeParameterGroupsCommandError(output, context);
2238
+ }
2239
+ const data = await parseBody(output.body, context);
2240
+ let contents = {};
2241
+ contents = (0, import_smithy_client._json)(data);
2242
+ const response = {
2243
+ $metadata: deserializeMetadata(output),
2244
+ ...contents
2245
+ };
2246
+ return response;
2247
+ }, "de_DescribeParameterGroupsCommand");
2248
+ var de_DescribeParameterGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2249
+ const parsedOutput = {
2250
+ ...output,
2251
+ body: await parseErrorBody(output.body, context)
2252
+ };
2253
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2254
+ switch (errorCode) {
2255
+ case "InvalidParameterCombinationException":
2256
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2257
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2258
+ case "InvalidParameterValueException":
2259
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2260
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2261
+ case "ParameterGroupNotFoundFault":
2262
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2263
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2264
+ case "ServiceLinkedRoleNotFoundFault":
2265
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2266
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2267
+ default:
2268
+ const parsedBody = parsedOutput.body;
2269
+ return throwDefaultError({
2270
+ output,
2271
+ parsedBody,
2272
+ errorCode
2273
+ });
2274
+ }
2275
+ }, "de_DescribeParameterGroupsCommandError");
2276
+ var de_DescribeParametersCommand = /* @__PURE__ */ __name(async (output, context) => {
2277
+ if (output.statusCode >= 300) {
2278
+ return de_DescribeParametersCommandError(output, context);
2279
+ }
2280
+ const data = await parseBody(output.body, context);
2281
+ let contents = {};
2282
+ contents = (0, import_smithy_client._json)(data);
2283
+ const response = {
2284
+ $metadata: deserializeMetadata(output),
2285
+ ...contents
2286
+ };
2287
+ return response;
2288
+ }, "de_DescribeParametersCommand");
2289
+ var de_DescribeParametersCommandError = /* @__PURE__ */ __name(async (output, context) => {
2290
+ const parsedOutput = {
2291
+ ...output,
2292
+ body: await parseErrorBody(output.body, context)
2293
+ };
2294
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2295
+ switch (errorCode) {
2296
+ case "InvalidParameterCombinationException":
2297
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2298
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2299
+ case "InvalidParameterValueException":
2300
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2301
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2302
+ case "ParameterGroupNotFoundFault":
2303
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2304
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2305
+ case "ServiceLinkedRoleNotFoundFault":
2306
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2307
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2308
+ default:
2309
+ const parsedBody = parsedOutput.body;
2310
+ return throwDefaultError({
2311
+ output,
2312
+ parsedBody,
2313
+ errorCode
2314
+ });
2315
+ }
2316
+ }, "de_DescribeParametersCommandError");
2317
+ var de_DescribeReservedNodesCommand = /* @__PURE__ */ __name(async (output, context) => {
2318
+ if (output.statusCode >= 300) {
2319
+ return de_DescribeReservedNodesCommandError(output, context);
2320
+ }
2321
+ const data = await parseBody(output.body, context);
2322
+ let contents = {};
2323
+ contents = de_DescribeReservedNodesResponse(data, context);
2324
+ const response = {
2325
+ $metadata: deserializeMetadata(output),
2326
+ ...contents
2327
+ };
2328
+ return response;
2329
+ }, "de_DescribeReservedNodesCommand");
2330
+ var de_DescribeReservedNodesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2331
+ const parsedOutput = {
2332
+ ...output,
2333
+ body: await parseErrorBody(output.body, context)
2334
+ };
2335
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2336
+ switch (errorCode) {
2337
+ case "InvalidParameterCombinationException":
2338
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2339
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2340
+ case "InvalidParameterValueException":
2341
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2342
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2343
+ case "ReservedNodeNotFoundFault":
2344
+ case "com.amazonaws.memorydb#ReservedNodeNotFoundFault":
2345
+ throw await de_ReservedNodeNotFoundFaultRes(parsedOutput, context);
2346
+ case "ServiceLinkedRoleNotFoundFault":
2347
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2348
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2349
+ default:
2350
+ const parsedBody = parsedOutput.body;
2351
+ return throwDefaultError({
2352
+ output,
2353
+ parsedBody,
2354
+ errorCode
2355
+ });
2356
+ }
2357
+ }, "de_DescribeReservedNodesCommandError");
2358
+ var de_DescribeReservedNodesOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2359
+ if (output.statusCode >= 300) {
2360
+ return de_DescribeReservedNodesOfferingsCommandError(output, context);
2361
+ }
2362
+ const data = await parseBody(output.body, context);
2363
+ let contents = {};
2364
+ contents = de_DescribeReservedNodesOfferingsResponse(data, context);
2365
+ const response = {
2366
+ $metadata: deserializeMetadata(output),
2367
+ ...contents
2368
+ };
2369
+ return response;
2370
+ }, "de_DescribeReservedNodesOfferingsCommand");
2371
+ var de_DescribeReservedNodesOfferingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2372
+ const parsedOutput = {
2373
+ ...output,
2374
+ body: await parseErrorBody(output.body, context)
2375
+ };
2376
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2377
+ switch (errorCode) {
2378
+ case "InvalidParameterCombinationException":
2379
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2380
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2381
+ case "InvalidParameterValueException":
2382
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2383
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2384
+ case "ReservedNodesOfferingNotFoundFault":
2385
+ case "com.amazonaws.memorydb#ReservedNodesOfferingNotFoundFault":
2386
+ throw await de_ReservedNodesOfferingNotFoundFaultRes(parsedOutput, context);
2387
+ case "ServiceLinkedRoleNotFoundFault":
2388
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2389
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2390
+ default:
2391
+ const parsedBody = parsedOutput.body;
2392
+ return throwDefaultError({
2393
+ output,
2394
+ parsedBody,
2395
+ errorCode
2396
+ });
2397
+ }
2398
+ }, "de_DescribeReservedNodesOfferingsCommandError");
2399
+ var de_DescribeServiceUpdatesCommand = /* @__PURE__ */ __name(async (output, context) => {
2400
+ if (output.statusCode >= 300) {
2401
+ return de_DescribeServiceUpdatesCommandError(output, context);
2402
+ }
2403
+ const data = await parseBody(output.body, context);
2404
+ let contents = {};
2405
+ contents = de_DescribeServiceUpdatesResponse(data, context);
2406
+ const response = {
2407
+ $metadata: deserializeMetadata(output),
2408
+ ...contents
2409
+ };
2410
+ return response;
2411
+ }, "de_DescribeServiceUpdatesCommand");
2412
+ var de_DescribeServiceUpdatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2413
+ const parsedOutput = {
2414
+ ...output,
2415
+ body: await parseErrorBody(output.body, context)
2416
+ };
2417
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2418
+ switch (errorCode) {
2419
+ case "InvalidParameterCombinationException":
2420
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2421
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2422
+ case "InvalidParameterValueException":
2423
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2424
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2425
+ default:
2426
+ const parsedBody = parsedOutput.body;
2427
+ return throwDefaultError({
2428
+ output,
2429
+ parsedBody,
2430
+ errorCode
2431
+ });
2432
+ }
2433
+ }, "de_DescribeServiceUpdatesCommandError");
2434
+ var de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => {
2435
+ if (output.statusCode >= 300) {
2436
+ return de_DescribeSnapshotsCommandError(output, context);
2437
+ }
2438
+ const data = await parseBody(output.body, context);
2439
+ let contents = {};
2440
+ contents = de_DescribeSnapshotsResponse(data, context);
2441
+ const response = {
2442
+ $metadata: deserializeMetadata(output),
2443
+ ...contents
2444
+ };
2445
+ return response;
2446
+ }, "de_DescribeSnapshotsCommand");
2447
+ var de_DescribeSnapshotsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2448
+ const parsedOutput = {
2449
+ ...output,
2450
+ body: await parseErrorBody(output.body, context)
2451
+ };
2452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2453
+ switch (errorCode) {
2454
+ case "InvalidParameterCombinationException":
2455
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2456
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2457
+ case "InvalidParameterValueException":
2458
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2459
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2460
+ case "ServiceLinkedRoleNotFoundFault":
2461
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2462
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2463
+ case "SnapshotNotFoundFault":
2464
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
2465
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
2466
+ default:
2467
+ const parsedBody = parsedOutput.body;
2468
+ return throwDefaultError({
2469
+ output,
2470
+ parsedBody,
2471
+ errorCode
2472
+ });
2473
+ }
2474
+ }, "de_DescribeSnapshotsCommandError");
2475
+ var de_DescribeSubnetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
2476
+ if (output.statusCode >= 300) {
2477
+ return de_DescribeSubnetGroupsCommandError(output, context);
2478
+ }
2479
+ const data = await parseBody(output.body, context);
2480
+ let contents = {};
2481
+ contents = (0, import_smithy_client._json)(data);
2482
+ const response = {
2483
+ $metadata: deserializeMetadata(output),
2484
+ ...contents
2485
+ };
2486
+ return response;
2487
+ }, "de_DescribeSubnetGroupsCommand");
2488
+ var de_DescribeSubnetGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2489
+ const parsedOutput = {
2490
+ ...output,
2491
+ body: await parseErrorBody(output.body, context)
2492
+ };
2493
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2494
+ switch (errorCode) {
2495
+ case "ServiceLinkedRoleNotFoundFault":
2496
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2497
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2498
+ case "SubnetGroupNotFoundFault":
2499
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
2500
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
2501
+ default:
2502
+ const parsedBody = parsedOutput.body;
2503
+ return throwDefaultError({
2504
+ output,
2505
+ parsedBody,
2506
+ errorCode
2507
+ });
2508
+ }
2509
+ }, "de_DescribeSubnetGroupsCommandError");
2510
+ var de_DescribeUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
2511
+ if (output.statusCode >= 300) {
2512
+ return de_DescribeUsersCommandError(output, context);
2513
+ }
2514
+ const data = await parseBody(output.body, context);
2515
+ let contents = {};
2516
+ contents = (0, import_smithy_client._json)(data);
2517
+ const response = {
2518
+ $metadata: deserializeMetadata(output),
2519
+ ...contents
2520
+ };
2521
+ return response;
2522
+ }, "de_DescribeUsersCommand");
2523
+ var de_DescribeUsersCommandError = /* @__PURE__ */ __name(async (output, context) => {
2524
+ const parsedOutput = {
2525
+ ...output,
2526
+ body: await parseErrorBody(output.body, context)
2527
+ };
2528
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2529
+ switch (errorCode) {
2530
+ case "InvalidParameterCombinationException":
2531
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2532
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2533
+ case "UserNotFoundFault":
2534
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2535
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2536
+ default:
2537
+ const parsedBody = parsedOutput.body;
2538
+ return throwDefaultError({
2539
+ output,
2540
+ parsedBody,
2541
+ errorCode
2542
+ });
2543
+ }
2544
+ }, "de_DescribeUsersCommandError");
2545
+ var de_FailoverShardCommand = /* @__PURE__ */ __name(async (output, context) => {
2546
+ if (output.statusCode >= 300) {
2547
+ return de_FailoverShardCommandError(output, context);
2548
+ }
2549
+ const data = await parseBody(output.body, context);
2550
+ let contents = {};
2551
+ contents = de_FailoverShardResponse(data, context);
2552
+ const response = {
2553
+ $metadata: deserializeMetadata(output),
2554
+ ...contents
2555
+ };
2556
+ return response;
2557
+ }, "de_FailoverShardCommand");
2558
+ var de_FailoverShardCommandError = /* @__PURE__ */ __name(async (output, context) => {
2559
+ const parsedOutput = {
2560
+ ...output,
2561
+ body: await parseErrorBody(output.body, context)
2562
+ };
2563
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2564
+ switch (errorCode) {
2565
+ case "APICallRateForCustomerExceededFault":
2566
+ case "com.amazonaws.memorydb#APICallRateForCustomerExceededFault":
2567
+ throw await de_APICallRateForCustomerExceededFaultRes(parsedOutput, context);
2568
+ case "ClusterNotFoundFault":
2569
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2570
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2571
+ case "InvalidClusterStateFault":
2572
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
2573
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
2574
+ case "InvalidKMSKeyFault":
2575
+ case "com.amazonaws.memorydb#InvalidKMSKeyFault":
2576
+ throw await de_InvalidKMSKeyFaultRes(parsedOutput, context);
2577
+ case "InvalidParameterCombinationException":
2578
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2579
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2580
+ case "InvalidParameterValueException":
2581
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2582
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2583
+ case "ShardNotFoundFault":
2584
+ case "com.amazonaws.memorydb#ShardNotFoundFault":
2585
+ throw await de_ShardNotFoundFaultRes(parsedOutput, context);
2586
+ case "TestFailoverNotAvailableFault":
2587
+ case "com.amazonaws.memorydb#TestFailoverNotAvailableFault":
2588
+ throw await de_TestFailoverNotAvailableFaultRes(parsedOutput, context);
2589
+ default:
2590
+ const parsedBody = parsedOutput.body;
2591
+ return throwDefaultError({
2592
+ output,
2593
+ parsedBody,
2594
+ errorCode
2595
+ });
2596
+ }
2597
+ }, "de_FailoverShardCommandError");
2598
+ var de_ListAllowedNodeTypeUpdatesCommand = /* @__PURE__ */ __name(async (output, context) => {
2599
+ if (output.statusCode >= 300) {
2600
+ return de_ListAllowedNodeTypeUpdatesCommandError(output, context);
2601
+ }
2602
+ const data = await parseBody(output.body, context);
2603
+ let contents = {};
2604
+ contents = (0, import_smithy_client._json)(data);
2605
+ const response = {
2606
+ $metadata: deserializeMetadata(output),
2607
+ ...contents
2608
+ };
2609
+ return response;
2610
+ }, "de_ListAllowedNodeTypeUpdatesCommand");
2611
+ var de_ListAllowedNodeTypeUpdatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2612
+ const parsedOutput = {
2613
+ ...output,
2614
+ body: await parseErrorBody(output.body, context)
2615
+ };
2616
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2617
+ switch (errorCode) {
2618
+ case "ClusterNotFoundFault":
2619
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2620
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2621
+ case "InvalidParameterCombinationException":
2622
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2623
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2624
+ case "InvalidParameterValueException":
2625
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2626
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2627
+ case "ServiceLinkedRoleNotFoundFault":
2628
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2629
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2630
+ default:
2631
+ const parsedBody = parsedOutput.body;
2632
+ return throwDefaultError({
2633
+ output,
2634
+ parsedBody,
2635
+ errorCode
2636
+ });
2637
+ }
2638
+ }, "de_ListAllowedNodeTypeUpdatesCommandError");
2639
+ var de_ListTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
2640
+ if (output.statusCode >= 300) {
2641
+ return de_ListTagsCommandError(output, context);
2642
+ }
2643
+ const data = await parseBody(output.body, context);
2644
+ let contents = {};
2645
+ contents = (0, import_smithy_client._json)(data);
2646
+ const response = {
2647
+ $metadata: deserializeMetadata(output),
2648
+ ...contents
2649
+ };
2650
+ return response;
2651
+ }, "de_ListTagsCommand");
2652
+ var de_ListTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2653
+ const parsedOutput = {
2654
+ ...output,
2655
+ body: await parseErrorBody(output.body, context)
2656
+ };
2657
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2658
+ switch (errorCode) {
2659
+ case "ACLNotFoundFault":
2660
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2661
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2662
+ case "ClusterNotFoundFault":
2663
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2664
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2665
+ case "InvalidARNFault":
2666
+ case "com.amazonaws.memorydb#InvalidARNFault":
2667
+ throw await de_InvalidARNFaultRes(parsedOutput, context);
2668
+ case "InvalidClusterStateFault":
2669
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
2670
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
2671
+ case "ParameterGroupNotFoundFault":
2672
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2673
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2674
+ case "ServiceLinkedRoleNotFoundFault":
2675
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2676
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2677
+ case "SnapshotNotFoundFault":
2678
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
2679
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
2680
+ case "SubnetGroupNotFoundFault":
2681
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
2682
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
2683
+ case "UserNotFoundFault":
2684
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2685
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2686
+ default:
2687
+ const parsedBody = parsedOutput.body;
2688
+ return throwDefaultError({
2689
+ output,
2690
+ parsedBody,
2691
+ errorCode
2692
+ });
2693
+ }
2694
+ }, "de_ListTagsCommandError");
2695
+ var de_PurchaseReservedNodesOfferingCommand = /* @__PURE__ */ __name(async (output, context) => {
2696
+ if (output.statusCode >= 300) {
2697
+ return de_PurchaseReservedNodesOfferingCommandError(output, context);
2698
+ }
2699
+ const data = await parseBody(output.body, context);
2700
+ let contents = {};
2701
+ contents = de_PurchaseReservedNodesOfferingResponse(data, context);
2702
+ const response = {
2703
+ $metadata: deserializeMetadata(output),
2704
+ ...contents
2705
+ };
2706
+ return response;
2707
+ }, "de_PurchaseReservedNodesOfferingCommand");
2708
+ var de_PurchaseReservedNodesOfferingCommandError = /* @__PURE__ */ __name(async (output, context) => {
2709
+ const parsedOutput = {
2710
+ ...output,
2711
+ body: await parseErrorBody(output.body, context)
2712
+ };
2713
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2714
+ switch (errorCode) {
2715
+ case "InvalidParameterCombinationException":
2716
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2717
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2718
+ case "InvalidParameterValueException":
2719
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2720
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2721
+ case "ReservedNodeAlreadyExistsFault":
2722
+ case "com.amazonaws.memorydb#ReservedNodeAlreadyExistsFault":
2723
+ throw await de_ReservedNodeAlreadyExistsFaultRes(parsedOutput, context);
2724
+ case "ReservedNodeQuotaExceededFault":
2725
+ case "com.amazonaws.memorydb#ReservedNodeQuotaExceededFault":
2726
+ throw await de_ReservedNodeQuotaExceededFaultRes(parsedOutput, context);
2727
+ case "ReservedNodesOfferingNotFoundFault":
2728
+ case "com.amazonaws.memorydb#ReservedNodesOfferingNotFoundFault":
2729
+ throw await de_ReservedNodesOfferingNotFoundFaultRes(parsedOutput, context);
2730
+ case "ServiceLinkedRoleNotFoundFault":
2731
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2732
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2733
+ case "TagQuotaPerResourceExceeded":
2734
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
2735
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
2736
+ default:
2737
+ const parsedBody = parsedOutput.body;
2738
+ return throwDefaultError({
2739
+ output,
2740
+ parsedBody,
2741
+ errorCode
2742
+ });
2743
+ }
2744
+ }, "de_PurchaseReservedNodesOfferingCommandError");
2745
+ var de_ResetParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
2746
+ if (output.statusCode >= 300) {
2747
+ return de_ResetParameterGroupCommandError(output, context);
2748
+ }
2749
+ const data = await parseBody(output.body, context);
2750
+ let contents = {};
2751
+ contents = (0, import_smithy_client._json)(data);
2752
+ const response = {
2753
+ $metadata: deserializeMetadata(output),
2754
+ ...contents
2755
+ };
2756
+ return response;
2757
+ }, "de_ResetParameterGroupCommand");
2758
+ var de_ResetParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
2759
+ const parsedOutput = {
2760
+ ...output,
2761
+ body: await parseErrorBody(output.body, context)
2762
+ };
2763
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2764
+ switch (errorCode) {
2765
+ case "InvalidParameterCombinationException":
2766
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2767
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2768
+ case "InvalidParameterGroupStateFault":
2769
+ case "com.amazonaws.memorydb#InvalidParameterGroupStateFault":
2770
+ throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
2771
+ case "InvalidParameterValueException":
2772
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2773
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2774
+ case "ParameterGroupNotFoundFault":
2775
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2776
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2777
+ case "ServiceLinkedRoleNotFoundFault":
2778
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2779
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2780
+ default:
2781
+ const parsedBody = parsedOutput.body;
2782
+ return throwDefaultError({
2783
+ output,
2784
+ parsedBody,
2785
+ errorCode
2786
+ });
2787
+ }
2788
+ }, "de_ResetParameterGroupCommandError");
2789
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2790
+ if (output.statusCode >= 300) {
2791
+ return de_TagResourceCommandError(output, context);
2792
+ }
2793
+ const data = await parseBody(output.body, context);
2794
+ let contents = {};
2795
+ contents = (0, import_smithy_client._json)(data);
2796
+ const response = {
2797
+ $metadata: deserializeMetadata(output),
2798
+ ...contents
2799
+ };
2800
+ return response;
2801
+ }, "de_TagResourceCommand");
2802
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2803
+ const parsedOutput = {
2804
+ ...output,
2805
+ body: await parseErrorBody(output.body, context)
2806
+ };
2807
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2808
+ switch (errorCode) {
2809
+ case "ACLNotFoundFault":
2810
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2811
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2812
+ case "ClusterNotFoundFault":
2813
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2814
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2815
+ case "InvalidARNFault":
2816
+ case "com.amazonaws.memorydb#InvalidARNFault":
2817
+ throw await de_InvalidARNFaultRes(parsedOutput, context);
2818
+ case "InvalidClusterStateFault":
2819
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
2820
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
2821
+ case "ParameterGroupNotFoundFault":
2822
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2823
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2824
+ case "ServiceLinkedRoleNotFoundFault":
2825
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2826
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2827
+ case "SnapshotNotFoundFault":
2828
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
2829
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
2830
+ case "SubnetGroupNotFoundFault":
2831
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
2832
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
2833
+ case "TagQuotaPerResourceExceeded":
2834
+ case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
2835
+ throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
2836
+ case "UserNotFoundFault":
2837
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2838
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2839
+ default:
2840
+ const parsedBody = parsedOutput.body;
2841
+ return throwDefaultError({
2842
+ output,
2843
+ parsedBody,
2844
+ errorCode
2845
+ });
2846
+ }
2847
+ }, "de_TagResourceCommandError");
2848
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2849
+ if (output.statusCode >= 300) {
2850
+ return de_UntagResourceCommandError(output, context);
2851
+ }
2852
+ const data = await parseBody(output.body, context);
2853
+ let contents = {};
2854
+ contents = (0, import_smithy_client._json)(data);
2855
+ const response = {
2856
+ $metadata: deserializeMetadata(output),
2857
+ ...contents
2858
+ };
2859
+ return response;
2860
+ }, "de_UntagResourceCommand");
2861
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2862
+ const parsedOutput = {
2863
+ ...output,
2864
+ body: await parseErrorBody(output.body, context)
2865
+ };
2866
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2867
+ switch (errorCode) {
2868
+ case "ACLNotFoundFault":
2869
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2870
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2871
+ case "ClusterNotFoundFault":
2872
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2873
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2874
+ case "InvalidARNFault":
2875
+ case "com.amazonaws.memorydb#InvalidARNFault":
2876
+ throw await de_InvalidARNFaultRes(parsedOutput, context);
2877
+ case "InvalidClusterStateFault":
2878
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
2879
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
2880
+ case "ParameterGroupNotFoundFault":
2881
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
2882
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
2883
+ case "ServiceLinkedRoleNotFoundFault":
2884
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
2885
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
2886
+ case "SnapshotNotFoundFault":
2887
+ case "com.amazonaws.memorydb#SnapshotNotFoundFault":
2888
+ throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
2889
+ case "SubnetGroupNotFoundFault":
2890
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
2891
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
2892
+ case "TagNotFoundFault":
2893
+ case "com.amazonaws.memorydb#TagNotFoundFault":
2894
+ throw await de_TagNotFoundFaultRes(parsedOutput, context);
2895
+ case "UserNotFoundFault":
2896
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2897
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2898
+ default:
2899
+ const parsedBody = parsedOutput.body;
2900
+ return throwDefaultError({
2901
+ output,
2902
+ parsedBody,
2903
+ errorCode
2904
+ });
2905
+ }
2906
+ }, "de_UntagResourceCommandError");
2907
+ var de_UpdateACLCommand = /* @__PURE__ */ __name(async (output, context) => {
2908
+ if (output.statusCode >= 300) {
2909
+ return de_UpdateACLCommandError(output, context);
2910
+ }
2911
+ const data = await parseBody(output.body, context);
2912
+ let contents = {};
2913
+ contents = (0, import_smithy_client._json)(data);
2914
+ const response = {
2915
+ $metadata: deserializeMetadata(output),
2916
+ ...contents
2917
+ };
2918
+ return response;
2919
+ }, "de_UpdateACLCommand");
2920
+ var de_UpdateACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
2921
+ const parsedOutput = {
2922
+ ...output,
2923
+ body: await parseErrorBody(output.body, context)
2924
+ };
2925
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2926
+ switch (errorCode) {
2927
+ case "ACLNotFoundFault":
2928
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2929
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2930
+ case "DefaultUserRequired":
2931
+ case "com.amazonaws.memorydb#DefaultUserRequired":
2932
+ throw await de_DefaultUserRequiredRes(parsedOutput, context);
2933
+ case "DuplicateUserNameFault":
2934
+ case "com.amazonaws.memorydb#DuplicateUserNameFault":
2935
+ throw await de_DuplicateUserNameFaultRes(parsedOutput, context);
2936
+ case "InvalidACLStateFault":
2937
+ case "com.amazonaws.memorydb#InvalidACLStateFault":
2938
+ throw await de_InvalidACLStateFaultRes(parsedOutput, context);
2939
+ case "InvalidParameterCombinationException":
2940
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
2941
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2942
+ case "InvalidParameterValueException":
2943
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
2944
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2945
+ case "UserNotFoundFault":
2946
+ case "com.amazonaws.memorydb#UserNotFoundFault":
2947
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
2948
+ default:
2949
+ const parsedBody = parsedOutput.body;
2950
+ return throwDefaultError({
2951
+ output,
2952
+ parsedBody,
2953
+ errorCode
2954
+ });
2955
+ }
2956
+ }, "de_UpdateACLCommandError");
2957
+ var de_UpdateClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
2958
+ if (output.statusCode >= 300) {
2959
+ return de_UpdateClusterCommandError(output, context);
2960
+ }
2961
+ const data = await parseBody(output.body, context);
2962
+ let contents = {};
2963
+ contents = de_UpdateClusterResponse(data, context);
2964
+ const response = {
2965
+ $metadata: deserializeMetadata(output),
2966
+ ...contents
2967
+ };
2968
+ return response;
2969
+ }, "de_UpdateClusterCommand");
2970
+ var de_UpdateClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
2971
+ const parsedOutput = {
2972
+ ...output,
2973
+ body: await parseErrorBody(output.body, context)
2974
+ };
2975
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2976
+ switch (errorCode) {
2977
+ case "ACLNotFoundFault":
2978
+ case "com.amazonaws.memorydb#ACLNotFoundFault":
2979
+ throw await de_ACLNotFoundFaultRes(parsedOutput, context);
2980
+ case "ClusterNotFoundFault":
2981
+ case "com.amazonaws.memorydb#ClusterNotFoundFault":
2982
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2983
+ case "ClusterQuotaForCustomerExceededFault":
2984
+ case "com.amazonaws.memorydb#ClusterQuotaForCustomerExceededFault":
2985
+ throw await de_ClusterQuotaForCustomerExceededFaultRes(parsedOutput, context);
2986
+ case "InvalidACLStateFault":
2987
+ case "com.amazonaws.memorydb#InvalidACLStateFault":
2988
+ throw await de_InvalidACLStateFaultRes(parsedOutput, context);
2989
+ case "InvalidClusterStateFault":
2990
+ case "com.amazonaws.memorydb#InvalidClusterStateFault":
2991
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
2992
+ case "InvalidKMSKeyFault":
2993
+ case "com.amazonaws.memorydb#InvalidKMSKeyFault":
2994
+ throw await de_InvalidKMSKeyFaultRes(parsedOutput, context);
2995
+ case "InvalidNodeStateFault":
2996
+ case "com.amazonaws.memorydb#InvalidNodeStateFault":
2997
+ throw await de_InvalidNodeStateFaultRes(parsedOutput, context);
2998
+ case "InvalidParameterCombinationException":
2999
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
3000
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
3001
+ case "InvalidParameterValueException":
3002
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
3003
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3004
+ case "InvalidVPCNetworkStateFault":
3005
+ case "com.amazonaws.memorydb#InvalidVPCNetworkStateFault":
3006
+ throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
3007
+ case "NoOperationFault":
3008
+ case "com.amazonaws.memorydb#NoOperationFault":
3009
+ throw await de_NoOperationFaultRes(parsedOutput, context);
3010
+ case "NodeQuotaForClusterExceededFault":
3011
+ case "com.amazonaws.memorydb#NodeQuotaForClusterExceededFault":
3012
+ throw await de_NodeQuotaForClusterExceededFaultRes(parsedOutput, context);
3013
+ case "NodeQuotaForCustomerExceededFault":
3014
+ case "com.amazonaws.memorydb#NodeQuotaForCustomerExceededFault":
3015
+ throw await de_NodeQuotaForCustomerExceededFaultRes(parsedOutput, context);
3016
+ case "ParameterGroupNotFoundFault":
3017
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
3018
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
3019
+ case "ServiceLinkedRoleNotFoundFault":
3020
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
3021
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
3022
+ case "ShardsPerClusterQuotaExceededFault":
3023
+ case "com.amazonaws.memorydb#ShardsPerClusterQuotaExceededFault":
3024
+ throw await de_ShardsPerClusterQuotaExceededFaultRes(parsedOutput, context);
3025
+ default:
3026
+ const parsedBody = parsedOutput.body;
3027
+ return throwDefaultError({
3028
+ output,
3029
+ parsedBody,
3030
+ errorCode
3031
+ });
3032
+ }
3033
+ }, "de_UpdateClusterCommandError");
3034
+ var de_UpdateParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
3035
+ if (output.statusCode >= 300) {
3036
+ return de_UpdateParameterGroupCommandError(output, context);
3037
+ }
3038
+ const data = await parseBody(output.body, context);
3039
+ let contents = {};
3040
+ contents = (0, import_smithy_client._json)(data);
3041
+ const response = {
3042
+ $metadata: deserializeMetadata(output),
3043
+ ...contents
3044
+ };
3045
+ return response;
3046
+ }, "de_UpdateParameterGroupCommand");
3047
+ var de_UpdateParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
3048
+ const parsedOutput = {
3049
+ ...output,
3050
+ body: await parseErrorBody(output.body, context)
3051
+ };
3052
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3053
+ switch (errorCode) {
3054
+ case "InvalidParameterCombinationException":
3055
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
3056
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
3057
+ case "InvalidParameterGroupStateFault":
3058
+ case "com.amazonaws.memorydb#InvalidParameterGroupStateFault":
3059
+ throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
3060
+ case "InvalidParameterValueException":
3061
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
3062
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3063
+ case "ParameterGroupNotFoundFault":
3064
+ case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
3065
+ throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
3066
+ case "ServiceLinkedRoleNotFoundFault":
3067
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
3068
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
3069
+ default:
3070
+ const parsedBody = parsedOutput.body;
3071
+ return throwDefaultError({
3072
+ output,
3073
+ parsedBody,
3074
+ errorCode
3075
+ });
3076
+ }
3077
+ }, "de_UpdateParameterGroupCommandError");
3078
+ var de_UpdateSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
3079
+ if (output.statusCode >= 300) {
3080
+ return de_UpdateSubnetGroupCommandError(output, context);
3081
+ }
3082
+ const data = await parseBody(output.body, context);
3083
+ let contents = {};
3084
+ contents = (0, import_smithy_client._json)(data);
3085
+ const response = {
3086
+ $metadata: deserializeMetadata(output),
3087
+ ...contents
3088
+ };
3089
+ return response;
3090
+ }, "de_UpdateSubnetGroupCommand");
3091
+ var de_UpdateSubnetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
3092
+ const parsedOutput = {
3093
+ ...output,
3094
+ body: await parseErrorBody(output.body, context)
3095
+ };
3096
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3097
+ switch (errorCode) {
3098
+ case "InvalidSubnet":
3099
+ case "com.amazonaws.memorydb#InvalidSubnet":
3100
+ throw await de_InvalidSubnetRes(parsedOutput, context);
3101
+ case "ServiceLinkedRoleNotFoundFault":
3102
+ case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
3103
+ throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
3104
+ case "SubnetGroupNotFoundFault":
3105
+ case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
3106
+ throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
3107
+ case "SubnetInUse":
3108
+ case "com.amazonaws.memorydb#SubnetInUse":
3109
+ throw await de_SubnetInUseRes(parsedOutput, context);
3110
+ case "SubnetNotAllowedFault":
3111
+ case "com.amazonaws.memorydb#SubnetNotAllowedFault":
3112
+ throw await de_SubnetNotAllowedFaultRes(parsedOutput, context);
3113
+ case "SubnetQuotaExceededFault":
3114
+ case "com.amazonaws.memorydb#SubnetQuotaExceededFault":
3115
+ throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
3116
+ default:
3117
+ const parsedBody = parsedOutput.body;
3118
+ return throwDefaultError({
3119
+ output,
3120
+ parsedBody,
3121
+ errorCode
3122
+ });
3123
+ }
3124
+ }, "de_UpdateSubnetGroupCommandError");
3125
+ var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
3126
+ if (output.statusCode >= 300) {
3127
+ return de_UpdateUserCommandError(output, context);
3128
+ }
3129
+ const data = await parseBody(output.body, context);
3130
+ let contents = {};
3131
+ contents = (0, import_smithy_client._json)(data);
3132
+ const response = {
3133
+ $metadata: deserializeMetadata(output),
3134
+ ...contents
3135
+ };
3136
+ return response;
3137
+ }, "de_UpdateUserCommand");
3138
+ var de_UpdateUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
3139
+ const parsedOutput = {
3140
+ ...output,
3141
+ body: await parseErrorBody(output.body, context)
3142
+ };
3143
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3144
+ switch (errorCode) {
3145
+ case "InvalidParameterCombinationException":
3146
+ case "com.amazonaws.memorydb#InvalidParameterCombinationException":
3147
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
3148
+ case "InvalidParameterValueException":
3149
+ case "com.amazonaws.memorydb#InvalidParameterValueException":
3150
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3151
+ case "InvalidUserStateFault":
3152
+ case "com.amazonaws.memorydb#InvalidUserStateFault":
3153
+ throw await de_InvalidUserStateFaultRes(parsedOutput, context);
3154
+ case "UserNotFoundFault":
3155
+ case "com.amazonaws.memorydb#UserNotFoundFault":
3156
+ throw await de_UserNotFoundFaultRes(parsedOutput, context);
3157
+ default:
3158
+ const parsedBody = parsedOutput.body;
3159
+ return throwDefaultError({
3160
+ output,
3161
+ parsedBody,
3162
+ errorCode
3163
+ });
3164
+ }
3165
+ }, "de_UpdateUserCommandError");
3166
+ var de_ACLAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3167
+ const body = parsedOutput.body;
3168
+ const deserialized = (0, import_smithy_client._json)(body);
3169
+ const exception = new ACLAlreadyExistsFault({
3170
+ $metadata: deserializeMetadata(parsedOutput),
3171
+ ...deserialized
3172
+ });
3173
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3174
+ }, "de_ACLAlreadyExistsFaultRes");
3175
+ var de_ACLNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3176
+ const body = parsedOutput.body;
3177
+ const deserialized = (0, import_smithy_client._json)(body);
3178
+ const exception = new ACLNotFoundFault({
3179
+ $metadata: deserializeMetadata(parsedOutput),
3180
+ ...deserialized
3181
+ });
3182
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3183
+ }, "de_ACLNotFoundFaultRes");
3184
+ var de_ACLQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3185
+ const body = parsedOutput.body;
3186
+ const deserialized = (0, import_smithy_client._json)(body);
3187
+ const exception = new ACLQuotaExceededFault({
3188
+ $metadata: deserializeMetadata(parsedOutput),
3189
+ ...deserialized
3190
+ });
3191
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3192
+ }, "de_ACLQuotaExceededFaultRes");
3193
+ var de_APICallRateForCustomerExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3194
+ const body = parsedOutput.body;
3195
+ const deserialized = (0, import_smithy_client._json)(body);
3196
+ const exception = new APICallRateForCustomerExceededFault({
3197
+ $metadata: deserializeMetadata(parsedOutput),
3198
+ ...deserialized
3199
+ });
3200
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3201
+ }, "de_APICallRateForCustomerExceededFaultRes");
3202
+ var de_ClusterAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3203
+ const body = parsedOutput.body;
3204
+ const deserialized = (0, import_smithy_client._json)(body);
3205
+ const exception = new ClusterAlreadyExistsFault({
3206
+ $metadata: deserializeMetadata(parsedOutput),
3207
+ ...deserialized
3208
+ });
3209
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3210
+ }, "de_ClusterAlreadyExistsFaultRes");
3211
+ var de_ClusterNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3212
+ const body = parsedOutput.body;
3213
+ const deserialized = (0, import_smithy_client._json)(body);
3214
+ const exception = new ClusterNotFoundFault({
3215
+ $metadata: deserializeMetadata(parsedOutput),
3216
+ ...deserialized
3217
+ });
3218
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3219
+ }, "de_ClusterNotFoundFaultRes");
3220
+ var de_ClusterQuotaForCustomerExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3221
+ const body = parsedOutput.body;
3222
+ const deserialized = (0, import_smithy_client._json)(body);
3223
+ const exception = new ClusterQuotaForCustomerExceededFault({
3224
+ $metadata: deserializeMetadata(parsedOutput),
3225
+ ...deserialized
3226
+ });
3227
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3228
+ }, "de_ClusterQuotaForCustomerExceededFaultRes");
3229
+ var de_DefaultUserRequiredRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3230
+ const body = parsedOutput.body;
3231
+ const deserialized = (0, import_smithy_client._json)(body);
3232
+ const exception = new DefaultUserRequired({
3233
+ $metadata: deserializeMetadata(parsedOutput),
3234
+ ...deserialized
3235
+ });
3236
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3237
+ }, "de_DefaultUserRequiredRes");
3238
+ var de_DuplicateUserNameFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3239
+ const body = parsedOutput.body;
3240
+ const deserialized = (0, import_smithy_client._json)(body);
3241
+ const exception = new DuplicateUserNameFault({
3242
+ $metadata: deserializeMetadata(parsedOutput),
3243
+ ...deserialized
3244
+ });
3245
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3246
+ }, "de_DuplicateUserNameFaultRes");
3247
+ var de_InsufficientClusterCapacityFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3248
+ const body = parsedOutput.body;
3249
+ const deserialized = (0, import_smithy_client._json)(body);
3250
+ const exception = new InsufficientClusterCapacityFault({
3251
+ $metadata: deserializeMetadata(parsedOutput),
3252
+ ...deserialized
3253
+ });
3254
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3255
+ }, "de_InsufficientClusterCapacityFaultRes");
3256
+ var de_InvalidACLStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3257
+ const body = parsedOutput.body;
3258
+ const deserialized = (0, import_smithy_client._json)(body);
3259
+ const exception = new InvalidACLStateFault({
3260
+ $metadata: deserializeMetadata(parsedOutput),
3261
+ ...deserialized
3262
+ });
3263
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3264
+ }, "de_InvalidACLStateFaultRes");
3265
+ var de_InvalidARNFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3266
+ const body = parsedOutput.body;
3267
+ const deserialized = (0, import_smithy_client._json)(body);
3268
+ const exception = new InvalidARNFault({
3269
+ $metadata: deserializeMetadata(parsedOutput),
3270
+ ...deserialized
3271
+ });
3272
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3273
+ }, "de_InvalidARNFaultRes");
3274
+ var de_InvalidClusterStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3275
+ const body = parsedOutput.body;
3276
+ const deserialized = (0, import_smithy_client._json)(body);
3277
+ const exception = new InvalidClusterStateFault({
3278
+ $metadata: deserializeMetadata(parsedOutput),
3279
+ ...deserialized
3280
+ });
3281
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3282
+ }, "de_InvalidClusterStateFaultRes");
3283
+ var de_InvalidCredentialsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3284
+ const body = parsedOutput.body;
3285
+ const deserialized = (0, import_smithy_client._json)(body);
3286
+ const exception = new InvalidCredentialsException({
3287
+ $metadata: deserializeMetadata(parsedOutput),
3288
+ ...deserialized
3289
+ });
3290
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3291
+ }, "de_InvalidCredentialsExceptionRes");
3292
+ var de_InvalidKMSKeyFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3293
+ const body = parsedOutput.body;
3294
+ const deserialized = (0, import_smithy_client._json)(body);
3295
+ const exception = new InvalidKMSKeyFault({
3296
+ $metadata: deserializeMetadata(parsedOutput),
3297
+ ...deserialized
3298
+ });
3299
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3300
+ }, "de_InvalidKMSKeyFaultRes");
3301
+ var de_InvalidNodeStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3302
+ const body = parsedOutput.body;
3303
+ const deserialized = (0, import_smithy_client._json)(body);
3304
+ const exception = new InvalidNodeStateFault({
3305
+ $metadata: deserializeMetadata(parsedOutput),
3306
+ ...deserialized
3307
+ });
3308
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3309
+ }, "de_InvalidNodeStateFaultRes");
3310
+ var de_InvalidParameterCombinationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3311
+ const body = parsedOutput.body;
3312
+ const deserialized = (0, import_smithy_client._json)(body);
3313
+ const exception = new InvalidParameterCombinationException({
3314
+ $metadata: deserializeMetadata(parsedOutput),
3315
+ ...deserialized
3316
+ });
3317
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3318
+ }, "de_InvalidParameterCombinationExceptionRes");
3319
+ var de_InvalidParameterGroupStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3320
+ const body = parsedOutput.body;
3321
+ const deserialized = (0, import_smithy_client._json)(body);
3322
+ const exception = new InvalidParameterGroupStateFault({
3323
+ $metadata: deserializeMetadata(parsedOutput),
3324
+ ...deserialized
3325
+ });
3326
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3327
+ }, "de_InvalidParameterGroupStateFaultRes");
3328
+ var de_InvalidParameterValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3329
+ const body = parsedOutput.body;
3330
+ const deserialized = (0, import_smithy_client._json)(body);
3331
+ const exception = new InvalidParameterValueException({
3332
+ $metadata: deserializeMetadata(parsedOutput),
3333
+ ...deserialized
3334
+ });
3335
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3336
+ }, "de_InvalidParameterValueExceptionRes");
3337
+ var de_InvalidSnapshotStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3338
+ const body = parsedOutput.body;
3339
+ const deserialized = (0, import_smithy_client._json)(body);
3340
+ const exception = new InvalidSnapshotStateFault({
3341
+ $metadata: deserializeMetadata(parsedOutput),
3342
+ ...deserialized
3343
+ });
3344
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3345
+ }, "de_InvalidSnapshotStateFaultRes");
3346
+ var de_InvalidSubnetRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3347
+ const body = parsedOutput.body;
3348
+ const deserialized = (0, import_smithy_client._json)(body);
3349
+ const exception = new InvalidSubnet({
3350
+ $metadata: deserializeMetadata(parsedOutput),
3351
+ ...deserialized
3352
+ });
3353
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3354
+ }, "de_InvalidSubnetRes");
3355
+ var de_InvalidUserStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3356
+ const body = parsedOutput.body;
3357
+ const deserialized = (0, import_smithy_client._json)(body);
3358
+ const exception = new InvalidUserStateFault({
3359
+ $metadata: deserializeMetadata(parsedOutput),
3360
+ ...deserialized
3361
+ });
3362
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3363
+ }, "de_InvalidUserStateFaultRes");
3364
+ var de_InvalidVPCNetworkStateFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3365
+ const body = parsedOutput.body;
3366
+ const deserialized = (0, import_smithy_client._json)(body);
3367
+ const exception = new InvalidVPCNetworkStateFault({
3368
+ $metadata: deserializeMetadata(parsedOutput),
3369
+ ...deserialized
3370
+ });
3371
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3372
+ }, "de_InvalidVPCNetworkStateFaultRes");
3373
+ var de_NodeQuotaForClusterExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3374
+ const body = parsedOutput.body;
3375
+ const deserialized = (0, import_smithy_client._json)(body);
3376
+ const exception = new NodeQuotaForClusterExceededFault({
3377
+ $metadata: deserializeMetadata(parsedOutput),
3378
+ ...deserialized
3379
+ });
3380
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3381
+ }, "de_NodeQuotaForClusterExceededFaultRes");
3382
+ var de_NodeQuotaForCustomerExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3383
+ const body = parsedOutput.body;
3384
+ const deserialized = (0, import_smithy_client._json)(body);
3385
+ const exception = new NodeQuotaForCustomerExceededFault({
3386
+ $metadata: deserializeMetadata(parsedOutput),
3387
+ ...deserialized
3388
+ });
3389
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3390
+ }, "de_NodeQuotaForCustomerExceededFaultRes");
3391
+ var de_NoOperationFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3392
+ const body = parsedOutput.body;
3393
+ const deserialized = (0, import_smithy_client._json)(body);
3394
+ const exception = new NoOperationFault({
3395
+ $metadata: deserializeMetadata(parsedOutput),
3396
+ ...deserialized
3397
+ });
3398
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3399
+ }, "de_NoOperationFaultRes");
3400
+ var de_ParameterGroupAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3401
+ const body = parsedOutput.body;
3402
+ const deserialized = (0, import_smithy_client._json)(body);
3403
+ const exception = new ParameterGroupAlreadyExistsFault({
3404
+ $metadata: deserializeMetadata(parsedOutput),
3405
+ ...deserialized
3406
+ });
3407
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3408
+ }, "de_ParameterGroupAlreadyExistsFaultRes");
3409
+ var de_ParameterGroupNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3410
+ const body = parsedOutput.body;
3411
+ const deserialized = (0, import_smithy_client._json)(body);
3412
+ const exception = new ParameterGroupNotFoundFault({
3413
+ $metadata: deserializeMetadata(parsedOutput),
3414
+ ...deserialized
3415
+ });
3416
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3417
+ }, "de_ParameterGroupNotFoundFaultRes");
3418
+ var de_ParameterGroupQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3419
+ const body = parsedOutput.body;
3420
+ const deserialized = (0, import_smithy_client._json)(body);
3421
+ const exception = new ParameterGroupQuotaExceededFault({
3422
+ $metadata: deserializeMetadata(parsedOutput),
3423
+ ...deserialized
3424
+ });
3425
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3426
+ }, "de_ParameterGroupQuotaExceededFaultRes");
3427
+ var de_ReservedNodeAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3428
+ const body = parsedOutput.body;
3429
+ const deserialized = (0, import_smithy_client._json)(body);
3430
+ const exception = new ReservedNodeAlreadyExistsFault({
3431
+ $metadata: deserializeMetadata(parsedOutput),
3432
+ ...deserialized
3433
+ });
3434
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3435
+ }, "de_ReservedNodeAlreadyExistsFaultRes");
3436
+ var de_ReservedNodeNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3437
+ const body = parsedOutput.body;
3438
+ const deserialized = (0, import_smithy_client._json)(body);
3439
+ const exception = new ReservedNodeNotFoundFault({
3440
+ $metadata: deserializeMetadata(parsedOutput),
3441
+ ...deserialized
3442
+ });
3443
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3444
+ }, "de_ReservedNodeNotFoundFaultRes");
3445
+ var de_ReservedNodeQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3446
+ const body = parsedOutput.body;
3447
+ const deserialized = (0, import_smithy_client._json)(body);
3448
+ const exception = new ReservedNodeQuotaExceededFault({
3449
+ $metadata: deserializeMetadata(parsedOutput),
3450
+ ...deserialized
3451
+ });
3452
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3453
+ }, "de_ReservedNodeQuotaExceededFaultRes");
3454
+ var de_ReservedNodesOfferingNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3455
+ const body = parsedOutput.body;
3456
+ const deserialized = (0, import_smithy_client._json)(body);
3457
+ const exception = new ReservedNodesOfferingNotFoundFault({
3458
+ $metadata: deserializeMetadata(parsedOutput),
3459
+ ...deserialized
3460
+ });
3461
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3462
+ }, "de_ReservedNodesOfferingNotFoundFaultRes");
3463
+ var de_ServiceLinkedRoleNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3464
+ const body = parsedOutput.body;
3465
+ const deserialized = (0, import_smithy_client._json)(body);
3466
+ const exception = new ServiceLinkedRoleNotFoundFault({
3467
+ $metadata: deserializeMetadata(parsedOutput),
3468
+ ...deserialized
3469
+ });
3470
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3471
+ }, "de_ServiceLinkedRoleNotFoundFaultRes");
3472
+ var de_ServiceUpdateNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3473
+ const body = parsedOutput.body;
3474
+ const deserialized = (0, import_smithy_client._json)(body);
3475
+ const exception = new ServiceUpdateNotFoundFault({
3476
+ $metadata: deserializeMetadata(parsedOutput),
3477
+ ...deserialized
3478
+ });
3479
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3480
+ }, "de_ServiceUpdateNotFoundFaultRes");
3481
+ var de_ShardNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3482
+ const body = parsedOutput.body;
3483
+ const deserialized = (0, import_smithy_client._json)(body);
3484
+ const exception = new ShardNotFoundFault({
3485
+ $metadata: deserializeMetadata(parsedOutput),
3486
+ ...deserialized
3487
+ });
3488
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3489
+ }, "de_ShardNotFoundFaultRes");
3490
+ var de_ShardsPerClusterQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3491
+ const body = parsedOutput.body;
3492
+ const deserialized = (0, import_smithy_client._json)(body);
3493
+ const exception = new ShardsPerClusterQuotaExceededFault({
3494
+ $metadata: deserializeMetadata(parsedOutput),
3495
+ ...deserialized
3496
+ });
3497
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3498
+ }, "de_ShardsPerClusterQuotaExceededFaultRes");
3499
+ var de_SnapshotAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3500
+ const body = parsedOutput.body;
3501
+ const deserialized = (0, import_smithy_client._json)(body);
3502
+ const exception = new SnapshotAlreadyExistsFault({
3503
+ $metadata: deserializeMetadata(parsedOutput),
3504
+ ...deserialized
3505
+ });
3506
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3507
+ }, "de_SnapshotAlreadyExistsFaultRes");
3508
+ var de_SnapshotNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3509
+ const body = parsedOutput.body;
3510
+ const deserialized = (0, import_smithy_client._json)(body);
3511
+ const exception = new SnapshotNotFoundFault({
3512
+ $metadata: deserializeMetadata(parsedOutput),
3513
+ ...deserialized
3514
+ });
3515
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3516
+ }, "de_SnapshotNotFoundFaultRes");
3517
+ var de_SnapshotQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3518
+ const body = parsedOutput.body;
3519
+ const deserialized = (0, import_smithy_client._json)(body);
3520
+ const exception = new SnapshotQuotaExceededFault({
3521
+ $metadata: deserializeMetadata(parsedOutput),
3522
+ ...deserialized
3523
+ });
3524
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3525
+ }, "de_SnapshotQuotaExceededFaultRes");
3526
+ var de_SubnetGroupAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3527
+ const body = parsedOutput.body;
3528
+ const deserialized = (0, import_smithy_client._json)(body);
3529
+ const exception = new SubnetGroupAlreadyExistsFault({
3530
+ $metadata: deserializeMetadata(parsedOutput),
3531
+ ...deserialized
3532
+ });
3533
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3534
+ }, "de_SubnetGroupAlreadyExistsFaultRes");
3535
+ var de_SubnetGroupInUseFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3536
+ const body = parsedOutput.body;
3537
+ const deserialized = (0, import_smithy_client._json)(body);
3538
+ const exception = new SubnetGroupInUseFault({
3539
+ $metadata: deserializeMetadata(parsedOutput),
3540
+ ...deserialized
3541
+ });
3542
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3543
+ }, "de_SubnetGroupInUseFaultRes");
3544
+ var de_SubnetGroupNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3545
+ const body = parsedOutput.body;
3546
+ const deserialized = (0, import_smithy_client._json)(body);
3547
+ const exception = new SubnetGroupNotFoundFault({
3548
+ $metadata: deserializeMetadata(parsedOutput),
3549
+ ...deserialized
3550
+ });
3551
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3552
+ }, "de_SubnetGroupNotFoundFaultRes");
3553
+ var de_SubnetGroupQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3554
+ const body = parsedOutput.body;
3555
+ const deserialized = (0, import_smithy_client._json)(body);
3556
+ const exception = new SubnetGroupQuotaExceededFault({
3557
+ $metadata: deserializeMetadata(parsedOutput),
3558
+ ...deserialized
3559
+ });
3560
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3561
+ }, "de_SubnetGroupQuotaExceededFaultRes");
3562
+ var de_SubnetInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3563
+ const body = parsedOutput.body;
3564
+ const deserialized = (0, import_smithy_client._json)(body);
3565
+ const exception = new SubnetInUse({
3566
+ $metadata: deserializeMetadata(parsedOutput),
3567
+ ...deserialized
3568
+ });
3569
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3570
+ }, "de_SubnetInUseRes");
3571
+ var de_SubnetNotAllowedFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3572
+ const body = parsedOutput.body;
3573
+ const deserialized = (0, import_smithy_client._json)(body);
3574
+ const exception = new SubnetNotAllowedFault({
3575
+ $metadata: deserializeMetadata(parsedOutput),
3576
+ ...deserialized
3577
+ });
3578
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3579
+ }, "de_SubnetNotAllowedFaultRes");
3580
+ var de_SubnetQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3581
+ const body = parsedOutput.body;
3582
+ const deserialized = (0, import_smithy_client._json)(body);
3583
+ const exception = new SubnetQuotaExceededFault({
3584
+ $metadata: deserializeMetadata(parsedOutput),
3585
+ ...deserialized
3586
+ });
3587
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3588
+ }, "de_SubnetQuotaExceededFaultRes");
3589
+ var de_TagNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3590
+ const body = parsedOutput.body;
3591
+ const deserialized = (0, import_smithy_client._json)(body);
3592
+ const exception = new TagNotFoundFault({
3593
+ $metadata: deserializeMetadata(parsedOutput),
3594
+ ...deserialized
3595
+ });
3596
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3597
+ }, "de_TagNotFoundFaultRes");
3598
+ var de_TagQuotaPerResourceExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3599
+ const body = parsedOutput.body;
3600
+ const deserialized = (0, import_smithy_client._json)(body);
3601
+ const exception = new TagQuotaPerResourceExceeded({
3602
+ $metadata: deserializeMetadata(parsedOutput),
3603
+ ...deserialized
3604
+ });
3605
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3606
+ }, "de_TagQuotaPerResourceExceededRes");
3607
+ var de_TestFailoverNotAvailableFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3608
+ const body = parsedOutput.body;
3609
+ const deserialized = (0, import_smithy_client._json)(body);
3610
+ const exception = new TestFailoverNotAvailableFault({
3611
+ $metadata: deserializeMetadata(parsedOutput),
3612
+ ...deserialized
3613
+ });
3614
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3615
+ }, "de_TestFailoverNotAvailableFaultRes");
3616
+ var de_UserAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3617
+ const body = parsedOutput.body;
3618
+ const deserialized = (0, import_smithy_client._json)(body);
3619
+ const exception = new UserAlreadyExistsFault({
3620
+ $metadata: deserializeMetadata(parsedOutput),
3621
+ ...deserialized
3622
+ });
3623
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3624
+ }, "de_UserAlreadyExistsFaultRes");
3625
+ var de_UserNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3626
+ const body = parsedOutput.body;
3627
+ const deserialized = (0, import_smithy_client._json)(body);
3628
+ const exception = new UserNotFoundFault({
3629
+ $metadata: deserializeMetadata(parsedOutput),
3630
+ ...deserialized
3631
+ });
3632
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3633
+ }, "de_UserNotFoundFaultRes");
3634
+ var de_UserQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3635
+ const body = parsedOutput.body;
3636
+ const deserialized = (0, import_smithy_client._json)(body);
3637
+ const exception = new UserQuotaExceededFault({
3638
+ $metadata: deserializeMetadata(parsedOutput),
3639
+ ...deserialized
3640
+ });
3641
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3642
+ }, "de_UserQuotaExceededFaultRes");
3643
+ var se_DescribeEventsRequest = /* @__PURE__ */ __name((input, context) => {
3644
+ return (0, import_smithy_client.take)(input, {
3645
+ Duration: [],
3646
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
3647
+ MaxResults: [],
3648
+ NextToken: [],
3649
+ SourceName: [],
3650
+ SourceType: [],
3651
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
3652
+ });
3653
+ }, "se_DescribeEventsRequest");
3654
+ var de_BatchUpdateClusterResponse = /* @__PURE__ */ __name((output, context) => {
3655
+ return (0, import_smithy_client.take)(output, {
3656
+ ProcessedClusters: (_) => de_ClusterList(_, context),
3657
+ UnprocessedClusters: import_smithy_client._json
3658
+ });
3659
+ }, "de_BatchUpdateClusterResponse");
3660
+ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
3661
+ return (0, import_smithy_client.take)(output, {
3662
+ ACLName: import_smithy_client.expectString,
3663
+ ARN: import_smithy_client.expectString,
3664
+ AutoMinorVersionUpgrade: import_smithy_client.expectBoolean,
3665
+ AvailabilityMode: import_smithy_client.expectString,
3666
+ ClusterEndpoint: import_smithy_client._json,
3667
+ DataTiering: import_smithy_client.expectString,
3668
+ Description: import_smithy_client.expectString,
3669
+ EnginePatchVersion: import_smithy_client.expectString,
3670
+ EngineVersion: import_smithy_client.expectString,
3671
+ KmsKeyId: import_smithy_client.expectString,
3672
+ MaintenanceWindow: import_smithy_client.expectString,
3673
+ Name: import_smithy_client.expectString,
3674
+ NodeType: import_smithy_client.expectString,
3675
+ NumberOfShards: import_smithy_client.expectInt32,
3676
+ ParameterGroupName: import_smithy_client.expectString,
3677
+ ParameterGroupStatus: import_smithy_client.expectString,
3678
+ PendingUpdates: (_) => de_ClusterPendingUpdates(_, context),
3679
+ SecurityGroups: import_smithy_client._json,
3680
+ Shards: (_) => de_ShardList(_, context),
3681
+ SnapshotRetentionLimit: import_smithy_client.expectInt32,
3682
+ SnapshotWindow: import_smithy_client.expectString,
3683
+ SnsTopicArn: import_smithy_client.expectString,
3684
+ SnsTopicStatus: import_smithy_client.expectString,
3685
+ Status: import_smithy_client.expectString,
3686
+ SubnetGroupName: import_smithy_client.expectString,
3687
+ TLSEnabled: import_smithy_client.expectBoolean
3688
+ });
3689
+ }, "de_Cluster");
3690
+ var de_ClusterConfiguration = /* @__PURE__ */ __name((output, context) => {
3691
+ return (0, import_smithy_client.take)(output, {
3692
+ Description: import_smithy_client.expectString,
3693
+ EngineVersion: import_smithy_client.expectString,
3694
+ MaintenanceWindow: import_smithy_client.expectString,
3695
+ Name: import_smithy_client.expectString,
3696
+ NodeType: import_smithy_client.expectString,
3697
+ NumShards: import_smithy_client.expectInt32,
3698
+ ParameterGroupName: import_smithy_client.expectString,
3699
+ Port: import_smithy_client.expectInt32,
3700
+ Shards: (_) => de_ShardDetails(_, context),
3701
+ SnapshotRetentionLimit: import_smithy_client.expectInt32,
3702
+ SnapshotWindow: import_smithy_client.expectString,
3703
+ SubnetGroupName: import_smithy_client.expectString,
3704
+ TopicArn: import_smithy_client.expectString,
3705
+ VpcId: import_smithy_client.expectString
3706
+ });
3707
+ }, "de_ClusterConfiguration");
3708
+ var de_ClusterList = /* @__PURE__ */ __name((output, context) => {
3709
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3710
+ return de_Cluster(entry, context);
3711
+ });
3712
+ return retVal;
3713
+ }, "de_ClusterList");
3714
+ var de_ClusterPendingUpdates = /* @__PURE__ */ __name((output, context) => {
3715
+ return (0, import_smithy_client.take)(output, {
3716
+ ACLs: import_smithy_client._json,
3717
+ Resharding: (_) => de_ReshardingStatus(_, context),
3718
+ ServiceUpdates: import_smithy_client._json
3719
+ });
3720
+ }, "de_ClusterPendingUpdates");
3721
+ var de_CopySnapshotResponse = /* @__PURE__ */ __name((output, context) => {
3722
+ return (0, import_smithy_client.take)(output, {
3723
+ Snapshot: (_) => de_Snapshot(_, context)
3724
+ });
3725
+ }, "de_CopySnapshotResponse");
3726
+ var de_CreateClusterResponse = /* @__PURE__ */ __name((output, context) => {
3727
+ return (0, import_smithy_client.take)(output, {
3728
+ Cluster: (_) => de_Cluster(_, context)
3729
+ });
3730
+ }, "de_CreateClusterResponse");
3731
+ var de_CreateSnapshotResponse = /* @__PURE__ */ __name((output, context) => {
3732
+ return (0, import_smithy_client.take)(output, {
3733
+ Snapshot: (_) => de_Snapshot(_, context)
3734
+ });
3735
+ }, "de_CreateSnapshotResponse");
3736
+ var de_DeleteClusterResponse = /* @__PURE__ */ __name((output, context) => {
3737
+ return (0, import_smithy_client.take)(output, {
3738
+ Cluster: (_) => de_Cluster(_, context)
3739
+ });
3740
+ }, "de_DeleteClusterResponse");
3741
+ var de_DeleteSnapshotResponse = /* @__PURE__ */ __name((output, context) => {
3742
+ return (0, import_smithy_client.take)(output, {
3743
+ Snapshot: (_) => de_Snapshot(_, context)
3744
+ });
3745
+ }, "de_DeleteSnapshotResponse");
3746
+ var de_DescribeClustersResponse = /* @__PURE__ */ __name((output, context) => {
3747
+ return (0, import_smithy_client.take)(output, {
3748
+ Clusters: (_) => de_ClusterList(_, context),
3749
+ NextToken: import_smithy_client.expectString
3750
+ });
3751
+ }, "de_DescribeClustersResponse");
3752
+ var de_DescribeEventsResponse = /* @__PURE__ */ __name((output, context) => {
3753
+ return (0, import_smithy_client.take)(output, {
3754
+ Events: (_) => de_EventList(_, context),
3755
+ NextToken: import_smithy_client.expectString
3756
+ });
3757
+ }, "de_DescribeEventsResponse");
3758
+ var de_DescribeReservedNodesOfferingsResponse = /* @__PURE__ */ __name((output, context) => {
3759
+ return (0, import_smithy_client.take)(output, {
3760
+ NextToken: import_smithy_client.expectString,
3761
+ ReservedNodesOfferings: (_) => de_ReservedNodesOfferingList(_, context)
3762
+ });
3763
+ }, "de_DescribeReservedNodesOfferingsResponse");
3764
+ var de_DescribeReservedNodesResponse = /* @__PURE__ */ __name((output, context) => {
3765
+ return (0, import_smithy_client.take)(output, {
3766
+ NextToken: import_smithy_client.expectString,
3767
+ ReservedNodes: (_) => de_ReservedNodeList(_, context)
3768
+ });
3769
+ }, "de_DescribeReservedNodesResponse");
3770
+ var de_DescribeServiceUpdatesResponse = /* @__PURE__ */ __name((output, context) => {
3771
+ return (0, import_smithy_client.take)(output, {
3772
+ NextToken: import_smithy_client.expectString,
3773
+ ServiceUpdates: (_) => de_ServiceUpdateList(_, context)
3774
+ });
3775
+ }, "de_DescribeServiceUpdatesResponse");
3776
+ var de_DescribeSnapshotsResponse = /* @__PURE__ */ __name((output, context) => {
3777
+ return (0, import_smithy_client.take)(output, {
3778
+ NextToken: import_smithy_client.expectString,
3779
+ Snapshots: (_) => de_SnapshotList(_, context)
3780
+ });
3781
+ }, "de_DescribeSnapshotsResponse");
3782
+ var de_Event = /* @__PURE__ */ __name((output, context) => {
3783
+ return (0, import_smithy_client.take)(output, {
3784
+ Date: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3785
+ Message: import_smithy_client.expectString,
3786
+ SourceName: import_smithy_client.expectString,
3787
+ SourceType: import_smithy_client.expectString
3788
+ });
3789
+ }, "de_Event");
3790
+ var de_EventList = /* @__PURE__ */ __name((output, context) => {
3791
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3792
+ return de_Event(entry, context);
3793
+ });
3794
+ return retVal;
3795
+ }, "de_EventList");
3796
+ var de_FailoverShardResponse = /* @__PURE__ */ __name((output, context) => {
3797
+ return (0, import_smithy_client.take)(output, {
3798
+ Cluster: (_) => de_Cluster(_, context)
3799
+ });
3800
+ }, "de_FailoverShardResponse");
3801
+ var de_Node = /* @__PURE__ */ __name((output, context) => {
3802
+ return (0, import_smithy_client.take)(output, {
3803
+ AvailabilityZone: import_smithy_client.expectString,
3804
+ CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3805
+ Endpoint: import_smithy_client._json,
3806
+ Name: import_smithy_client.expectString,
3807
+ Status: import_smithy_client.expectString
3808
+ });
3809
+ }, "de_Node");
3810
+ var de_NodeList = /* @__PURE__ */ __name((output, context) => {
3811
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3812
+ return de_Node(entry, context);
3813
+ });
3814
+ return retVal;
3815
+ }, "de_NodeList");
3816
+ var de_PurchaseReservedNodesOfferingResponse = /* @__PURE__ */ __name((output, context) => {
3817
+ return (0, import_smithy_client.take)(output, {
3818
+ ReservedNode: (_) => de_ReservedNode(_, context)
3819
+ });
3820
+ }, "de_PurchaseReservedNodesOfferingResponse");
3821
+ var de_RecurringCharge = /* @__PURE__ */ __name((output, context) => {
3822
+ return (0, import_smithy_client.take)(output, {
3823
+ RecurringChargeAmount: import_smithy_client.limitedParseDouble,
3824
+ RecurringChargeFrequency: import_smithy_client.expectString
3825
+ });
3826
+ }, "de_RecurringCharge");
3827
+ var de_RecurringChargeList = /* @__PURE__ */ __name((output, context) => {
3828
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3829
+ return de_RecurringCharge(entry, context);
3830
+ });
3831
+ return retVal;
3832
+ }, "de_RecurringChargeList");
3833
+ var de_ReservedNode = /* @__PURE__ */ __name((output, context) => {
3834
+ return (0, import_smithy_client.take)(output, {
3835
+ ARN: import_smithy_client.expectString,
3836
+ Duration: import_smithy_client.expectInt32,
3837
+ FixedPrice: import_smithy_client.limitedParseDouble,
3838
+ NodeCount: import_smithy_client.expectInt32,
3839
+ NodeType: import_smithy_client.expectString,
3840
+ OfferingType: import_smithy_client.expectString,
3841
+ RecurringCharges: (_) => de_RecurringChargeList(_, context),
3842
+ ReservationId: import_smithy_client.expectString,
3843
+ ReservedNodesOfferingId: import_smithy_client.expectString,
3844
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3845
+ State: import_smithy_client.expectString
3846
+ });
3847
+ }, "de_ReservedNode");
3848
+ var de_ReservedNodeList = /* @__PURE__ */ __name((output, context) => {
3849
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3850
+ return de_ReservedNode(entry, context);
3851
+ });
3852
+ return retVal;
3853
+ }, "de_ReservedNodeList");
3854
+ var de_ReservedNodesOffering = /* @__PURE__ */ __name((output, context) => {
3855
+ return (0, import_smithy_client.take)(output, {
3856
+ Duration: import_smithy_client.expectInt32,
3857
+ FixedPrice: import_smithy_client.limitedParseDouble,
3858
+ NodeType: import_smithy_client.expectString,
3859
+ OfferingType: import_smithy_client.expectString,
3860
+ RecurringCharges: (_) => de_RecurringChargeList(_, context),
3861
+ ReservedNodesOfferingId: import_smithy_client.expectString
3862
+ });
3863
+ }, "de_ReservedNodesOffering");
3864
+ var de_ReservedNodesOfferingList = /* @__PURE__ */ __name((output, context) => {
3865
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3866
+ return de_ReservedNodesOffering(entry, context);
3867
+ });
3868
+ return retVal;
3869
+ }, "de_ReservedNodesOfferingList");
3870
+ var de_ReshardingStatus = /* @__PURE__ */ __name((output, context) => {
3871
+ return (0, import_smithy_client.take)(output, {
3872
+ SlotMigration: (_) => de_SlotMigration(_, context)
3873
+ });
3874
+ }, "de_ReshardingStatus");
3875
+ var de_ServiceUpdate = /* @__PURE__ */ __name((output, context) => {
3876
+ return (0, import_smithy_client.take)(output, {
3877
+ AutoUpdateStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3878
+ ClusterName: import_smithy_client.expectString,
3879
+ Description: import_smithy_client.expectString,
3880
+ NodesUpdated: import_smithy_client.expectString,
3881
+ ReleaseDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3882
+ ServiceUpdateName: import_smithy_client.expectString,
3883
+ Status: import_smithy_client.expectString,
3884
+ Type: import_smithy_client.expectString
3885
+ });
3886
+ }, "de_ServiceUpdate");
3887
+ var de_ServiceUpdateList = /* @__PURE__ */ __name((output, context) => {
3888
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3889
+ return de_ServiceUpdate(entry, context);
3890
+ });
3891
+ return retVal;
3892
+ }, "de_ServiceUpdateList");
3893
+ var de_Shard = /* @__PURE__ */ __name((output, context) => {
3894
+ return (0, import_smithy_client.take)(output, {
3895
+ Name: import_smithy_client.expectString,
3896
+ Nodes: (_) => de_NodeList(_, context),
3897
+ NumberOfNodes: import_smithy_client.expectInt32,
3898
+ Slots: import_smithy_client.expectString,
3899
+ Status: import_smithy_client.expectString
3900
+ });
3901
+ }, "de_Shard");
3902
+ var de_ShardDetail = /* @__PURE__ */ __name((output, context) => {
3903
+ return (0, import_smithy_client.take)(output, {
3904
+ Configuration: import_smithy_client._json,
3905
+ Name: import_smithy_client.expectString,
3906
+ Size: import_smithy_client.expectString,
3907
+ SnapshotCreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3908
+ });
3909
+ }, "de_ShardDetail");
3910
+ var de_ShardDetails = /* @__PURE__ */ __name((output, context) => {
3911
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3912
+ return de_ShardDetail(entry, context);
3913
+ });
3914
+ return retVal;
3915
+ }, "de_ShardDetails");
3916
+ var de_ShardList = /* @__PURE__ */ __name((output, context) => {
3917
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3918
+ return de_Shard(entry, context);
3919
+ });
3920
+ return retVal;
3921
+ }, "de_ShardList");
3922
+ var de_SlotMigration = /* @__PURE__ */ __name((output, context) => {
3923
+ return (0, import_smithy_client.take)(output, {
3924
+ ProgressPercentage: import_smithy_client.limitedParseDouble
3925
+ });
3926
+ }, "de_SlotMigration");
3927
+ var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
3928
+ return (0, import_smithy_client.take)(output, {
3929
+ ARN: import_smithy_client.expectString,
3930
+ ClusterConfiguration: (_) => de_ClusterConfiguration(_, context),
3931
+ DataTiering: import_smithy_client.expectString,
3932
+ KmsKeyId: import_smithy_client.expectString,
3933
+ Name: import_smithy_client.expectString,
3934
+ Source: import_smithy_client.expectString,
3935
+ Status: import_smithy_client.expectString
3936
+ });
3937
+ }, "de_Snapshot");
3938
+ var de_SnapshotList = /* @__PURE__ */ __name((output, context) => {
3939
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3940
+ return de_Snapshot(entry, context);
3941
+ });
3942
+ return retVal;
3943
+ }, "de_SnapshotList");
3944
+ var de_UpdateClusterResponse = /* @__PURE__ */ __name((output, context) => {
3945
+ return (0, import_smithy_client.take)(output, {
3946
+ Cluster: (_) => de_Cluster(_, context)
3947
+ });
3948
+ }, "de_UpdateClusterResponse");
3949
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3950
+ httpStatusCode: output.statusCode,
3951
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3952
+ extendedRequestId: output.headers["x-amz-id-2"],
3953
+ cfId: output.headers["x-amz-cf-id"]
3954
+ }), "deserializeMetadata");
3955
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3956
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(MemoryDBServiceException);
3957
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3958
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3959
+ const contents = {
3960
+ protocol,
3961
+ hostname,
3962
+ port,
3963
+ method: "POST",
3964
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3965
+ headers
3966
+ };
3967
+ if (resolvedHostname !== void 0) {
3968
+ contents.hostname = resolvedHostname;
3969
+ }
3970
+ if (body !== void 0) {
3971
+ contents.body = body;
3972
+ }
3973
+ return new import_protocol_http.HttpRequest(contents);
3974
+ }, "buildHttpRpcRequest");
3975
+ function sharedHeaders(operation) {
3976
+ return {
3977
+ "content-type": "application/x-amz-json-1.1",
3978
+ "x-amz-target": `AmazonMemoryDB.${operation}`
3979
+ };
3980
+ }
3981
+ __name(sharedHeaders, "sharedHeaders");
3982
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3983
+ if (encoded.length) {
3984
+ return JSON.parse(encoded);
3985
+ }
3986
+ return {};
3987
+ }), "parseBody");
3988
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
3989
+ const value = await parseBody(errorBody, context);
3990
+ value.message = value.message ?? value.Message;
3991
+ return value;
3992
+ }, "parseErrorBody");
3993
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
3994
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
3995
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
3996
+ let cleanValue = rawValue;
3997
+ if (typeof cleanValue === "number") {
3998
+ cleanValue = cleanValue.toString();
3999
+ }
4000
+ if (cleanValue.indexOf(",") >= 0) {
4001
+ cleanValue = cleanValue.split(",")[0];
4002
+ }
4003
+ if (cleanValue.indexOf(":") >= 0) {
4004
+ cleanValue = cleanValue.split(":")[0];
4005
+ }
4006
+ if (cleanValue.indexOf("#") >= 0) {
4007
+ cleanValue = cleanValue.split("#")[1];
4008
+ }
4009
+ return cleanValue;
4010
+ }, "sanitizeErrorCode");
4011
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
4012
+ if (headerKey !== void 0) {
4013
+ return sanitizeErrorCode(output.headers[headerKey]);
4014
+ }
4015
+ if (data.code !== void 0) {
4016
+ return sanitizeErrorCode(data.code);
4017
+ }
4018
+ if (data["__type"] !== void 0) {
4019
+ return sanitizeErrorCode(data["__type"]);
4020
+ }
4021
+ }, "loadRestJsonErrorCode");
4022
+
4023
+ // src/commands/BatchUpdateClusterCommand.ts
4024
+ var _BatchUpdateClusterCommand = class _BatchUpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
4025
+ ...commonParams
4026
+ }).m(function(Command, cs, config, o) {
4027
+ return [
4028
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4029
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4030
+ ];
4031
+ }).s("AmazonMemoryDB", "BatchUpdateCluster", {}).n("MemoryDBClient", "BatchUpdateClusterCommand").f(void 0, void 0).ser(se_BatchUpdateClusterCommand).de(de_BatchUpdateClusterCommand).build() {
4032
+ };
4033
+ __name(_BatchUpdateClusterCommand, "BatchUpdateClusterCommand");
4034
+ var BatchUpdateClusterCommand = _BatchUpdateClusterCommand;
4035
+
4036
+ // src/commands/CopySnapshotCommand.ts
4037
+
4038
+
4039
+
4040
+
4041
+ var _CopySnapshotCommand = class _CopySnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
4042
+ ...commonParams
4043
+ }).m(function(Command, cs, config, o) {
4044
+ return [
4045
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4046
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4047
+ ];
4048
+ }).s("AmazonMemoryDB", "CopySnapshot", {}).n("MemoryDBClient", "CopySnapshotCommand").f(void 0, void 0).ser(se_CopySnapshotCommand).de(de_CopySnapshotCommand).build() {
4049
+ };
4050
+ __name(_CopySnapshotCommand, "CopySnapshotCommand");
4051
+ var CopySnapshotCommand = _CopySnapshotCommand;
4052
+
4053
+ // src/commands/CreateACLCommand.ts
4054
+
4055
+
4056
+
4057
+
4058
+ var _CreateACLCommand = class _CreateACLCommand extends import_smithy_client.Command.classBuilder().ep({
4059
+ ...commonParams
4060
+ }).m(function(Command, cs, config, o) {
4061
+ return [
4062
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4063
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4064
+ ];
4065
+ }).s("AmazonMemoryDB", "CreateACL", {}).n("MemoryDBClient", "CreateACLCommand").f(void 0, void 0).ser(se_CreateACLCommand).de(de_CreateACLCommand).build() {
4066
+ };
4067
+ __name(_CreateACLCommand, "CreateACLCommand");
4068
+ var CreateACLCommand = _CreateACLCommand;
4069
+
4070
+ // src/commands/CreateClusterCommand.ts
4071
+
4072
+
4073
+
4074
+
4075
+ var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
4076
+ ...commonParams
4077
+ }).m(function(Command, cs, config, o) {
4078
+ return [
4079
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4080
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4081
+ ];
4082
+ }).s("AmazonMemoryDB", "CreateCluster", {}).n("MemoryDBClient", "CreateClusterCommand").f(void 0, void 0).ser(se_CreateClusterCommand).de(de_CreateClusterCommand).build() {
4083
+ };
4084
+ __name(_CreateClusterCommand, "CreateClusterCommand");
4085
+ var CreateClusterCommand = _CreateClusterCommand;
4086
+
4087
+ // src/commands/CreateParameterGroupCommand.ts
4088
+
4089
+
4090
+
4091
+
4092
+ var _CreateParameterGroupCommand = class _CreateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4093
+ ...commonParams
4094
+ }).m(function(Command, cs, config, o) {
4095
+ return [
4096
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4097
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4098
+ ];
4099
+ }).s("AmazonMemoryDB", "CreateParameterGroup", {}).n("MemoryDBClient", "CreateParameterGroupCommand").f(void 0, void 0).ser(se_CreateParameterGroupCommand).de(de_CreateParameterGroupCommand).build() {
4100
+ };
4101
+ __name(_CreateParameterGroupCommand, "CreateParameterGroupCommand");
4102
+ var CreateParameterGroupCommand = _CreateParameterGroupCommand;
4103
+
4104
+ // src/commands/CreateSnapshotCommand.ts
4105
+
4106
+
4107
+
4108
+
4109
+ var _CreateSnapshotCommand = class _CreateSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
4110
+ ...commonParams
4111
+ }).m(function(Command, cs, config, o) {
4112
+ return [
4113
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4114
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4115
+ ];
4116
+ }).s("AmazonMemoryDB", "CreateSnapshot", {}).n("MemoryDBClient", "CreateSnapshotCommand").f(void 0, void 0).ser(se_CreateSnapshotCommand).de(de_CreateSnapshotCommand).build() {
4117
+ };
4118
+ __name(_CreateSnapshotCommand, "CreateSnapshotCommand");
4119
+ var CreateSnapshotCommand = _CreateSnapshotCommand;
4120
+
4121
+ // src/commands/CreateSubnetGroupCommand.ts
4122
+
4123
+
4124
+
4125
+
4126
+ var _CreateSubnetGroupCommand = class _CreateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4127
+ ...commonParams
4128
+ }).m(function(Command, cs, config, o) {
4129
+ return [
4130
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4131
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4132
+ ];
4133
+ }).s("AmazonMemoryDB", "CreateSubnetGroup", {}).n("MemoryDBClient", "CreateSubnetGroupCommand").f(void 0, void 0).ser(se_CreateSubnetGroupCommand).de(de_CreateSubnetGroupCommand).build() {
4134
+ };
4135
+ __name(_CreateSubnetGroupCommand, "CreateSubnetGroupCommand");
4136
+ var CreateSubnetGroupCommand = _CreateSubnetGroupCommand;
4137
+
4138
+ // src/commands/CreateUserCommand.ts
4139
+
4140
+
4141
+
4142
+
4143
+ var _CreateUserCommand = class _CreateUserCommand extends import_smithy_client.Command.classBuilder().ep({
4144
+ ...commonParams
4145
+ }).m(function(Command, cs, config, o) {
4146
+ return [
4147
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4148
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4149
+ ];
4150
+ }).s("AmazonMemoryDB", "CreateUser", {}).n("MemoryDBClient", "CreateUserCommand").f(void 0, void 0).ser(se_CreateUserCommand).de(de_CreateUserCommand).build() {
4151
+ };
4152
+ __name(_CreateUserCommand, "CreateUserCommand");
4153
+ var CreateUserCommand = _CreateUserCommand;
4154
+
4155
+ // src/commands/DeleteACLCommand.ts
4156
+
4157
+
4158
+
4159
+
4160
+ var _DeleteACLCommand = class _DeleteACLCommand extends import_smithy_client.Command.classBuilder().ep({
4161
+ ...commonParams
4162
+ }).m(function(Command, cs, config, o) {
4163
+ return [
4164
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4165
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4166
+ ];
4167
+ }).s("AmazonMemoryDB", "DeleteACL", {}).n("MemoryDBClient", "DeleteACLCommand").f(void 0, void 0).ser(se_DeleteACLCommand).de(de_DeleteACLCommand).build() {
4168
+ };
4169
+ __name(_DeleteACLCommand, "DeleteACLCommand");
4170
+ var DeleteACLCommand = _DeleteACLCommand;
4171
+
4172
+ // src/commands/DeleteClusterCommand.ts
4173
+
4174
+
4175
+
4176
+
4177
+ var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep({
4178
+ ...commonParams
4179
+ }).m(function(Command, cs, config, o) {
4180
+ return [
4181
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4182
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4183
+ ];
4184
+ }).s("AmazonMemoryDB", "DeleteCluster", {}).n("MemoryDBClient", "DeleteClusterCommand").f(void 0, void 0).ser(se_DeleteClusterCommand).de(de_DeleteClusterCommand).build() {
4185
+ };
4186
+ __name(_DeleteClusterCommand, "DeleteClusterCommand");
4187
+ var DeleteClusterCommand = _DeleteClusterCommand;
4188
+
4189
+ // src/commands/DeleteParameterGroupCommand.ts
4190
+
4191
+
4192
+
4193
+
4194
+ var _DeleteParameterGroupCommand = class _DeleteParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4195
+ ...commonParams
4196
+ }).m(function(Command, cs, config, o) {
4197
+ return [
4198
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4199
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4200
+ ];
4201
+ }).s("AmazonMemoryDB", "DeleteParameterGroup", {}).n("MemoryDBClient", "DeleteParameterGroupCommand").f(void 0, void 0).ser(se_DeleteParameterGroupCommand).de(de_DeleteParameterGroupCommand).build() {
4202
+ };
4203
+ __name(_DeleteParameterGroupCommand, "DeleteParameterGroupCommand");
4204
+ var DeleteParameterGroupCommand = _DeleteParameterGroupCommand;
4205
+
4206
+ // src/commands/DeleteSnapshotCommand.ts
4207
+
4208
+
4209
+
4210
+
4211
+ var _DeleteSnapshotCommand = class _DeleteSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
4212
+ ...commonParams
4213
+ }).m(function(Command, cs, config, o) {
4214
+ return [
4215
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4216
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4217
+ ];
4218
+ }).s("AmazonMemoryDB", "DeleteSnapshot", {}).n("MemoryDBClient", "DeleteSnapshotCommand").f(void 0, void 0).ser(se_DeleteSnapshotCommand).de(de_DeleteSnapshotCommand).build() {
4219
+ };
4220
+ __name(_DeleteSnapshotCommand, "DeleteSnapshotCommand");
4221
+ var DeleteSnapshotCommand = _DeleteSnapshotCommand;
4222
+
4223
+ // src/commands/DeleteSubnetGroupCommand.ts
4224
+
4225
+
4226
+
4227
+
4228
+ var _DeleteSubnetGroupCommand = class _DeleteSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4229
+ ...commonParams
4230
+ }).m(function(Command, cs, config, o) {
4231
+ return [
4232
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4233
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4234
+ ];
4235
+ }).s("AmazonMemoryDB", "DeleteSubnetGroup", {}).n("MemoryDBClient", "DeleteSubnetGroupCommand").f(void 0, void 0).ser(se_DeleteSubnetGroupCommand).de(de_DeleteSubnetGroupCommand).build() {
4236
+ };
4237
+ __name(_DeleteSubnetGroupCommand, "DeleteSubnetGroupCommand");
4238
+ var DeleteSubnetGroupCommand = _DeleteSubnetGroupCommand;
4239
+
4240
+ // src/commands/DeleteUserCommand.ts
4241
+
4242
+
4243
+
4244
+
4245
+ var _DeleteUserCommand = class _DeleteUserCommand extends import_smithy_client.Command.classBuilder().ep({
4246
+ ...commonParams
4247
+ }).m(function(Command, cs, config, o) {
4248
+ return [
4249
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4250
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4251
+ ];
4252
+ }).s("AmazonMemoryDB", "DeleteUser", {}).n("MemoryDBClient", "DeleteUserCommand").f(void 0, void 0).ser(se_DeleteUserCommand).de(de_DeleteUserCommand).build() {
4253
+ };
4254
+ __name(_DeleteUserCommand, "DeleteUserCommand");
4255
+ var DeleteUserCommand = _DeleteUserCommand;
4256
+
4257
+ // src/commands/DescribeACLsCommand.ts
4258
+
4259
+
4260
+
4261
+
4262
+ var _DescribeACLsCommand = class _DescribeACLsCommand extends import_smithy_client.Command.classBuilder().ep({
4263
+ ...commonParams
4264
+ }).m(function(Command, cs, config, o) {
4265
+ return [
4266
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4267
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4268
+ ];
4269
+ }).s("AmazonMemoryDB", "DescribeACLs", {}).n("MemoryDBClient", "DescribeACLsCommand").f(void 0, void 0).ser(se_DescribeACLsCommand).de(de_DescribeACLsCommand).build() {
4270
+ };
4271
+ __name(_DescribeACLsCommand, "DescribeACLsCommand");
4272
+ var DescribeACLsCommand = _DescribeACLsCommand;
4273
+
4274
+ // src/commands/DescribeClustersCommand.ts
4275
+
4276
+
4277
+
4278
+
4279
+ var _DescribeClustersCommand = class _DescribeClustersCommand extends import_smithy_client.Command.classBuilder().ep({
4280
+ ...commonParams
4281
+ }).m(function(Command, cs, config, o) {
4282
+ return [
4283
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4284
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4285
+ ];
4286
+ }).s("AmazonMemoryDB", "DescribeClusters", {}).n("MemoryDBClient", "DescribeClustersCommand").f(void 0, void 0).ser(se_DescribeClustersCommand).de(de_DescribeClustersCommand).build() {
4287
+ };
4288
+ __name(_DescribeClustersCommand, "DescribeClustersCommand");
4289
+ var DescribeClustersCommand = _DescribeClustersCommand;
4290
+
4291
+ // src/commands/DescribeEngineVersionsCommand.ts
4292
+
4293
+
4294
+
4295
+
4296
+ var _DescribeEngineVersionsCommand = class _DescribeEngineVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
4297
+ ...commonParams
4298
+ }).m(function(Command, cs, config, o) {
4299
+ return [
4300
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4301
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4302
+ ];
4303
+ }).s("AmazonMemoryDB", "DescribeEngineVersions", {}).n("MemoryDBClient", "DescribeEngineVersionsCommand").f(void 0, void 0).ser(se_DescribeEngineVersionsCommand).de(de_DescribeEngineVersionsCommand).build() {
4304
+ };
4305
+ __name(_DescribeEngineVersionsCommand, "DescribeEngineVersionsCommand");
4306
+ var DescribeEngineVersionsCommand = _DescribeEngineVersionsCommand;
4307
+
4308
+ // src/commands/DescribeEventsCommand.ts
4309
+
4310
+
4311
+
4312
+
4313
+ var _DescribeEventsCommand = class _DescribeEventsCommand extends import_smithy_client.Command.classBuilder().ep({
4314
+ ...commonParams
4315
+ }).m(function(Command, cs, config, o) {
4316
+ return [
4317
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4318
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4319
+ ];
4320
+ }).s("AmazonMemoryDB", "DescribeEvents", {}).n("MemoryDBClient", "DescribeEventsCommand").f(void 0, void 0).ser(se_DescribeEventsCommand).de(de_DescribeEventsCommand).build() {
4321
+ };
4322
+ __name(_DescribeEventsCommand, "DescribeEventsCommand");
4323
+ var DescribeEventsCommand = _DescribeEventsCommand;
4324
+
4325
+ // src/commands/DescribeParameterGroupsCommand.ts
4326
+
4327
+
4328
+
4329
+
4330
+ var _DescribeParameterGroupsCommand = class _DescribeParameterGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
4331
+ ...commonParams
4332
+ }).m(function(Command, cs, config, o) {
4333
+ return [
4334
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4335
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4336
+ ];
4337
+ }).s("AmazonMemoryDB", "DescribeParameterGroups", {}).n("MemoryDBClient", "DescribeParameterGroupsCommand").f(void 0, void 0).ser(se_DescribeParameterGroupsCommand).de(de_DescribeParameterGroupsCommand).build() {
4338
+ };
4339
+ __name(_DescribeParameterGroupsCommand, "DescribeParameterGroupsCommand");
4340
+ var DescribeParameterGroupsCommand = _DescribeParameterGroupsCommand;
4341
+
4342
+ // src/commands/DescribeParametersCommand.ts
4343
+
4344
+
4345
+
4346
+
4347
+ var _DescribeParametersCommand = class _DescribeParametersCommand extends import_smithy_client.Command.classBuilder().ep({
4348
+ ...commonParams
4349
+ }).m(function(Command, cs, config, o) {
4350
+ return [
4351
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4352
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4353
+ ];
4354
+ }).s("AmazonMemoryDB", "DescribeParameters", {}).n("MemoryDBClient", "DescribeParametersCommand").f(void 0, void 0).ser(se_DescribeParametersCommand).de(de_DescribeParametersCommand).build() {
4355
+ };
4356
+ __name(_DescribeParametersCommand, "DescribeParametersCommand");
4357
+ var DescribeParametersCommand = _DescribeParametersCommand;
4358
+
4359
+ // src/commands/DescribeReservedNodesCommand.ts
4360
+
4361
+
4362
+
4363
+
4364
+ var _DescribeReservedNodesCommand = class _DescribeReservedNodesCommand extends import_smithy_client.Command.classBuilder().ep({
4365
+ ...commonParams
4366
+ }).m(function(Command, cs, config, o) {
4367
+ return [
4368
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4369
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4370
+ ];
4371
+ }).s("AmazonMemoryDB", "DescribeReservedNodes", {}).n("MemoryDBClient", "DescribeReservedNodesCommand").f(void 0, void 0).ser(se_DescribeReservedNodesCommand).de(de_DescribeReservedNodesCommand).build() {
4372
+ };
4373
+ __name(_DescribeReservedNodesCommand, "DescribeReservedNodesCommand");
4374
+ var DescribeReservedNodesCommand = _DescribeReservedNodesCommand;
4375
+
4376
+ // src/commands/DescribeReservedNodesOfferingsCommand.ts
4377
+
4378
+
4379
+
4380
+
4381
+ var _DescribeReservedNodesOfferingsCommand = class _DescribeReservedNodesOfferingsCommand extends import_smithy_client.Command.classBuilder().ep({
4382
+ ...commonParams
4383
+ }).m(function(Command, cs, config, o) {
4384
+ return [
4385
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4386
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4387
+ ];
4388
+ }).s("AmazonMemoryDB", "DescribeReservedNodesOfferings", {}).n("MemoryDBClient", "DescribeReservedNodesOfferingsCommand").f(void 0, void 0).ser(se_DescribeReservedNodesOfferingsCommand).de(de_DescribeReservedNodesOfferingsCommand).build() {
4389
+ };
4390
+ __name(_DescribeReservedNodesOfferingsCommand, "DescribeReservedNodesOfferingsCommand");
4391
+ var DescribeReservedNodesOfferingsCommand = _DescribeReservedNodesOfferingsCommand;
4392
+
4393
+ // src/commands/DescribeServiceUpdatesCommand.ts
4394
+
4395
+
4396
+
4397
+
4398
+ var _DescribeServiceUpdatesCommand = class _DescribeServiceUpdatesCommand extends import_smithy_client.Command.classBuilder().ep({
4399
+ ...commonParams
4400
+ }).m(function(Command, cs, config, o) {
4401
+ return [
4402
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4403
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4404
+ ];
4405
+ }).s("AmazonMemoryDB", "DescribeServiceUpdates", {}).n("MemoryDBClient", "DescribeServiceUpdatesCommand").f(void 0, void 0).ser(se_DescribeServiceUpdatesCommand).de(de_DescribeServiceUpdatesCommand).build() {
4406
+ };
4407
+ __name(_DescribeServiceUpdatesCommand, "DescribeServiceUpdatesCommand");
4408
+ var DescribeServiceUpdatesCommand = _DescribeServiceUpdatesCommand;
4409
+
4410
+ // src/commands/DescribeSnapshotsCommand.ts
4411
+
4412
+
4413
+
4414
+
4415
+ var _DescribeSnapshotsCommand = class _DescribeSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep({
4416
+ ...commonParams
4417
+ }).m(function(Command, cs, config, o) {
4418
+ return [
4419
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4420
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4421
+ ];
4422
+ }).s("AmazonMemoryDB", "DescribeSnapshots", {}).n("MemoryDBClient", "DescribeSnapshotsCommand").f(void 0, void 0).ser(se_DescribeSnapshotsCommand).de(de_DescribeSnapshotsCommand).build() {
4423
+ };
4424
+ __name(_DescribeSnapshotsCommand, "DescribeSnapshotsCommand");
4425
+ var DescribeSnapshotsCommand = _DescribeSnapshotsCommand;
4426
+
4427
+ // src/commands/DescribeSubnetGroupsCommand.ts
4428
+
4429
+
4430
+
4431
+
4432
+ var _DescribeSubnetGroupsCommand = class _DescribeSubnetGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
4433
+ ...commonParams
4434
+ }).m(function(Command, cs, config, o) {
4435
+ return [
4436
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4437
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4438
+ ];
4439
+ }).s("AmazonMemoryDB", "DescribeSubnetGroups", {}).n("MemoryDBClient", "DescribeSubnetGroupsCommand").f(void 0, void 0).ser(se_DescribeSubnetGroupsCommand).de(de_DescribeSubnetGroupsCommand).build() {
4440
+ };
4441
+ __name(_DescribeSubnetGroupsCommand, "DescribeSubnetGroupsCommand");
4442
+ var DescribeSubnetGroupsCommand = _DescribeSubnetGroupsCommand;
4443
+
4444
+ // src/commands/DescribeUsersCommand.ts
4445
+
4446
+
4447
+
4448
+
4449
+ var _DescribeUsersCommand = class _DescribeUsersCommand extends import_smithy_client.Command.classBuilder().ep({
4450
+ ...commonParams
4451
+ }).m(function(Command, cs, config, o) {
4452
+ return [
4453
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4454
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4455
+ ];
4456
+ }).s("AmazonMemoryDB", "DescribeUsers", {}).n("MemoryDBClient", "DescribeUsersCommand").f(void 0, void 0).ser(se_DescribeUsersCommand).de(de_DescribeUsersCommand).build() {
4457
+ };
4458
+ __name(_DescribeUsersCommand, "DescribeUsersCommand");
4459
+ var DescribeUsersCommand = _DescribeUsersCommand;
4460
+
4461
+ // src/commands/FailoverShardCommand.ts
4462
+
4463
+
4464
+
4465
+
4466
+ var _FailoverShardCommand = class _FailoverShardCommand extends import_smithy_client.Command.classBuilder().ep({
4467
+ ...commonParams
4468
+ }).m(function(Command, cs, config, o) {
4469
+ return [
4470
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4471
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4472
+ ];
4473
+ }).s("AmazonMemoryDB", "FailoverShard", {}).n("MemoryDBClient", "FailoverShardCommand").f(void 0, void 0).ser(se_FailoverShardCommand).de(de_FailoverShardCommand).build() {
4474
+ };
4475
+ __name(_FailoverShardCommand, "FailoverShardCommand");
4476
+ var FailoverShardCommand = _FailoverShardCommand;
4477
+
4478
+ // src/commands/ListAllowedNodeTypeUpdatesCommand.ts
4479
+
4480
+
4481
+
4482
+
4483
+ var _ListAllowedNodeTypeUpdatesCommand = class _ListAllowedNodeTypeUpdatesCommand extends import_smithy_client.Command.classBuilder().ep({
4484
+ ...commonParams
4485
+ }).m(function(Command, cs, config, o) {
4486
+ return [
4487
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4488
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4489
+ ];
4490
+ }).s("AmazonMemoryDB", "ListAllowedNodeTypeUpdates", {}).n("MemoryDBClient", "ListAllowedNodeTypeUpdatesCommand").f(void 0, void 0).ser(se_ListAllowedNodeTypeUpdatesCommand).de(de_ListAllowedNodeTypeUpdatesCommand).build() {
4491
+ };
4492
+ __name(_ListAllowedNodeTypeUpdatesCommand, "ListAllowedNodeTypeUpdatesCommand");
4493
+ var ListAllowedNodeTypeUpdatesCommand = _ListAllowedNodeTypeUpdatesCommand;
4494
+
4495
+ // src/commands/ListTagsCommand.ts
4496
+
4497
+
4498
+
4499
+
4500
+ var _ListTagsCommand = class _ListTagsCommand extends import_smithy_client.Command.classBuilder().ep({
4501
+ ...commonParams
4502
+ }).m(function(Command, cs, config, o) {
4503
+ return [
4504
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4505
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4506
+ ];
4507
+ }).s("AmazonMemoryDB", "ListTags", {}).n("MemoryDBClient", "ListTagsCommand").f(void 0, void 0).ser(se_ListTagsCommand).de(de_ListTagsCommand).build() {
4508
+ };
4509
+ __name(_ListTagsCommand, "ListTagsCommand");
4510
+ var ListTagsCommand = _ListTagsCommand;
4511
+
4512
+ // src/commands/PurchaseReservedNodesOfferingCommand.ts
4513
+
4514
+
4515
+
4516
+
4517
+ var _PurchaseReservedNodesOfferingCommand = class _PurchaseReservedNodesOfferingCommand extends import_smithy_client.Command.classBuilder().ep({
4518
+ ...commonParams
4519
+ }).m(function(Command, cs, config, o) {
4520
+ return [
4521
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4522
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4523
+ ];
4524
+ }).s("AmazonMemoryDB", "PurchaseReservedNodesOffering", {}).n("MemoryDBClient", "PurchaseReservedNodesOfferingCommand").f(void 0, void 0).ser(se_PurchaseReservedNodesOfferingCommand).de(de_PurchaseReservedNodesOfferingCommand).build() {
4525
+ };
4526
+ __name(_PurchaseReservedNodesOfferingCommand, "PurchaseReservedNodesOfferingCommand");
4527
+ var PurchaseReservedNodesOfferingCommand = _PurchaseReservedNodesOfferingCommand;
4528
+
4529
+ // src/commands/ResetParameterGroupCommand.ts
4530
+
4531
+
4532
+
4533
+
4534
+ var _ResetParameterGroupCommand = class _ResetParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4535
+ ...commonParams
4536
+ }).m(function(Command, cs, config, o) {
4537
+ return [
4538
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4539
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4540
+ ];
4541
+ }).s("AmazonMemoryDB", "ResetParameterGroup", {}).n("MemoryDBClient", "ResetParameterGroupCommand").f(void 0, void 0).ser(se_ResetParameterGroupCommand).de(de_ResetParameterGroupCommand).build() {
4542
+ };
4543
+ __name(_ResetParameterGroupCommand, "ResetParameterGroupCommand");
4544
+ var ResetParameterGroupCommand = _ResetParameterGroupCommand;
4545
+
4546
+ // src/commands/TagResourceCommand.ts
4547
+
4548
+
4549
+
4550
+
4551
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4552
+ ...commonParams
4553
+ }).m(function(Command, cs, config, o) {
4554
+ return [
4555
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4556
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4557
+ ];
4558
+ }).s("AmazonMemoryDB", "TagResource", {}).n("MemoryDBClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
4559
+ };
4560
+ __name(_TagResourceCommand, "TagResourceCommand");
4561
+ var TagResourceCommand = _TagResourceCommand;
4562
+
4563
+ // src/commands/UntagResourceCommand.ts
4564
+
4565
+
4566
+
4567
+
4568
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4569
+ ...commonParams
4570
+ }).m(function(Command, cs, config, o) {
4571
+ return [
4572
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4573
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4574
+ ];
4575
+ }).s("AmazonMemoryDB", "UntagResource", {}).n("MemoryDBClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
4576
+ };
4577
+ __name(_UntagResourceCommand, "UntagResourceCommand");
4578
+ var UntagResourceCommand = _UntagResourceCommand;
4579
+
4580
+ // src/commands/UpdateACLCommand.ts
4581
+
4582
+
4583
+
4584
+
4585
+ var _UpdateACLCommand = class _UpdateACLCommand extends import_smithy_client.Command.classBuilder().ep({
4586
+ ...commonParams
4587
+ }).m(function(Command, cs, config, o) {
4588
+ return [
4589
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4590
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4591
+ ];
4592
+ }).s("AmazonMemoryDB", "UpdateACL", {}).n("MemoryDBClient", "UpdateACLCommand").f(void 0, void 0).ser(se_UpdateACLCommand).de(de_UpdateACLCommand).build() {
4593
+ };
4594
+ __name(_UpdateACLCommand, "UpdateACLCommand");
4595
+ var UpdateACLCommand = _UpdateACLCommand;
4596
+
4597
+ // src/commands/UpdateClusterCommand.ts
4598
+
4599
+
4600
+
4601
+
4602
+ var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
4603
+ ...commonParams
4604
+ }).m(function(Command, cs, config, o) {
4605
+ return [
4606
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4607
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4608
+ ];
4609
+ }).s("AmazonMemoryDB", "UpdateCluster", {}).n("MemoryDBClient", "UpdateClusterCommand").f(void 0, void 0).ser(se_UpdateClusterCommand).de(de_UpdateClusterCommand).build() {
4610
+ };
4611
+ __name(_UpdateClusterCommand, "UpdateClusterCommand");
4612
+ var UpdateClusterCommand = _UpdateClusterCommand;
4613
+
4614
+ // src/commands/UpdateParameterGroupCommand.ts
4615
+
4616
+
4617
+
4618
+
4619
+ var _UpdateParameterGroupCommand = class _UpdateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4620
+ ...commonParams
4621
+ }).m(function(Command, cs, config, o) {
4622
+ return [
4623
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4624
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4625
+ ];
4626
+ }).s("AmazonMemoryDB", "UpdateParameterGroup", {}).n("MemoryDBClient", "UpdateParameterGroupCommand").f(void 0, void 0).ser(se_UpdateParameterGroupCommand).de(de_UpdateParameterGroupCommand).build() {
4627
+ };
4628
+ __name(_UpdateParameterGroupCommand, "UpdateParameterGroupCommand");
4629
+ var UpdateParameterGroupCommand = _UpdateParameterGroupCommand;
4630
+
4631
+ // src/commands/UpdateSubnetGroupCommand.ts
4632
+
4633
+
4634
+
4635
+
4636
+ var _UpdateSubnetGroupCommand = class _UpdateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
4637
+ ...commonParams
4638
+ }).m(function(Command, cs, config, o) {
4639
+ return [
4640
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4641
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4642
+ ];
4643
+ }).s("AmazonMemoryDB", "UpdateSubnetGroup", {}).n("MemoryDBClient", "UpdateSubnetGroupCommand").f(void 0, void 0).ser(se_UpdateSubnetGroupCommand).de(de_UpdateSubnetGroupCommand).build() {
4644
+ };
4645
+ __name(_UpdateSubnetGroupCommand, "UpdateSubnetGroupCommand");
4646
+ var UpdateSubnetGroupCommand = _UpdateSubnetGroupCommand;
4647
+
4648
+ // src/commands/UpdateUserCommand.ts
4649
+
4650
+
4651
+
4652
+
4653
+ var _UpdateUserCommand = class _UpdateUserCommand extends import_smithy_client.Command.classBuilder().ep({
4654
+ ...commonParams
4655
+ }).m(function(Command, cs, config, o) {
4656
+ return [
4657
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4658
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4659
+ ];
4660
+ }).s("AmazonMemoryDB", "UpdateUser", {}).n("MemoryDBClient", "UpdateUserCommand").f(void 0, void 0).ser(se_UpdateUserCommand).de(de_UpdateUserCommand).build() {
4661
+ };
4662
+ __name(_UpdateUserCommand, "UpdateUserCommand");
4663
+ var UpdateUserCommand = _UpdateUserCommand;
4664
+
4665
+ // src/MemoryDB.ts
4666
+ var commands = {
4667
+ BatchUpdateClusterCommand,
4668
+ CopySnapshotCommand,
4669
+ CreateACLCommand,
4670
+ CreateClusterCommand,
4671
+ CreateParameterGroupCommand,
4672
+ CreateSnapshotCommand,
4673
+ CreateSubnetGroupCommand,
4674
+ CreateUserCommand,
4675
+ DeleteACLCommand,
4676
+ DeleteClusterCommand,
4677
+ DeleteParameterGroupCommand,
4678
+ DeleteSnapshotCommand,
4679
+ DeleteSubnetGroupCommand,
4680
+ DeleteUserCommand,
4681
+ DescribeACLsCommand,
4682
+ DescribeClustersCommand,
4683
+ DescribeEngineVersionsCommand,
4684
+ DescribeEventsCommand,
4685
+ DescribeParameterGroupsCommand,
4686
+ DescribeParametersCommand,
4687
+ DescribeReservedNodesCommand,
4688
+ DescribeReservedNodesOfferingsCommand,
4689
+ DescribeServiceUpdatesCommand,
4690
+ DescribeSnapshotsCommand,
4691
+ DescribeSubnetGroupsCommand,
4692
+ DescribeUsersCommand,
4693
+ FailoverShardCommand,
4694
+ ListAllowedNodeTypeUpdatesCommand,
4695
+ ListTagsCommand,
4696
+ PurchaseReservedNodesOfferingCommand,
4697
+ ResetParameterGroupCommand,
4698
+ TagResourceCommand,
4699
+ UntagResourceCommand,
4700
+ UpdateACLCommand,
4701
+ UpdateClusterCommand,
4702
+ UpdateParameterGroupCommand,
4703
+ UpdateSubnetGroupCommand,
4704
+ UpdateUserCommand
4705
+ };
4706
+ var _MemoryDB = class _MemoryDB extends MemoryDBClient {
4707
+ };
4708
+ __name(_MemoryDB, "MemoryDB");
4709
+ var MemoryDB = _MemoryDB;
4710
+ (0, import_smithy_client.createAggregatedClient)(commands, MemoryDB);
4711
+
4712
+ // src/pagination/DescribeACLsPaginator.ts
4713
+ var import_core = require("@smithy/core");
4714
+ var paginateDescribeACLs = (0, import_core.createPaginator)(MemoryDBClient, DescribeACLsCommand, "NextToken", "NextToken", "MaxResults");
4715
+
4716
+ // src/pagination/DescribeClustersPaginator.ts
4717
+
4718
+ var paginateDescribeClusters = (0, import_core.createPaginator)(MemoryDBClient, DescribeClustersCommand, "NextToken", "NextToken", "MaxResults");
4719
+
4720
+ // src/pagination/DescribeEngineVersionsPaginator.ts
4721
+
4722
+ var paginateDescribeEngineVersions = (0, import_core.createPaginator)(MemoryDBClient, DescribeEngineVersionsCommand, "NextToken", "NextToken", "MaxResults");
4723
+
4724
+ // src/pagination/DescribeEventsPaginator.ts
4725
+
4726
+ var paginateDescribeEvents = (0, import_core.createPaginator)(MemoryDBClient, DescribeEventsCommand, "NextToken", "NextToken", "MaxResults");
4727
+
4728
+ // src/pagination/DescribeParameterGroupsPaginator.ts
4729
+
4730
+ var paginateDescribeParameterGroups = (0, import_core.createPaginator)(MemoryDBClient, DescribeParameterGroupsCommand, "NextToken", "NextToken", "MaxResults");
4731
+
4732
+ // src/pagination/DescribeParametersPaginator.ts
4733
+
4734
+ var paginateDescribeParameters = (0, import_core.createPaginator)(MemoryDBClient, DescribeParametersCommand, "NextToken", "NextToken", "MaxResults");
4735
+
4736
+ // src/pagination/DescribeReservedNodesOfferingsPaginator.ts
4737
+
4738
+ var paginateDescribeReservedNodesOfferings = (0, import_core.createPaginator)(MemoryDBClient, DescribeReservedNodesOfferingsCommand, "NextToken", "NextToken", "MaxResults");
4739
+
4740
+ // src/pagination/DescribeReservedNodesPaginator.ts
4741
+
4742
+ var paginateDescribeReservedNodes = (0, import_core.createPaginator)(MemoryDBClient, DescribeReservedNodesCommand, "NextToken", "NextToken", "MaxResults");
4743
+
4744
+ // src/pagination/DescribeServiceUpdatesPaginator.ts
4745
+
4746
+ var paginateDescribeServiceUpdates = (0, import_core.createPaginator)(MemoryDBClient, DescribeServiceUpdatesCommand, "NextToken", "NextToken", "MaxResults");
4747
+
4748
+ // src/pagination/DescribeSnapshotsPaginator.ts
4749
+
4750
+ var paginateDescribeSnapshots = (0, import_core.createPaginator)(MemoryDBClient, DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
4751
+
4752
+ // src/pagination/DescribeSubnetGroupsPaginator.ts
4753
+
4754
+ var paginateDescribeSubnetGroups = (0, import_core.createPaginator)(MemoryDBClient, DescribeSubnetGroupsCommand, "NextToken", "NextToken", "MaxResults");
4755
+
4756
+ // src/pagination/DescribeUsersPaginator.ts
4757
+
4758
+ var paginateDescribeUsers = (0, import_core.createPaginator)(MemoryDBClient, DescribeUsersCommand, "NextToken", "NextToken", "MaxResults");
4759
+
4760
+ // src/index.ts
4761
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4762
+ // Annotate the CommonJS export names for ESM import in node:
4763
+
4764
+ 0 && (module.exports = {
4765
+ ACLAlreadyExistsFault,
4766
+ ACLNotFoundFault,
4767
+ ACLQuotaExceededFault,
4768
+ APICallRateForCustomerExceededFault,
4769
+ AZStatus,
4770
+ AuthenticationType,
4771
+ BatchUpdateClusterCommand,
4772
+ ClusterAlreadyExistsFault,
4773
+ ClusterNotFoundFault,
4774
+ ClusterQuotaForCustomerExceededFault,
4775
+ CopySnapshotCommand,
4776
+ CreateACLCommand,
4777
+ CreateClusterCommand,
4778
+ CreateParameterGroupCommand,
4779
+ CreateSnapshotCommand,
4780
+ CreateSubnetGroupCommand,
4781
+ CreateUserCommand,
4782
+ DataTieringStatus,
4783
+ DefaultUserRequired,
4784
+ DeleteACLCommand,
4785
+ DeleteClusterCommand,
4786
+ DeleteParameterGroupCommand,
4787
+ DeleteSnapshotCommand,
4788
+ DeleteSubnetGroupCommand,
4789
+ DeleteUserCommand,
4790
+ DescribeACLsCommand,
4791
+ DescribeClustersCommand,
4792
+ DescribeEngineVersionsCommand,
4793
+ DescribeEventsCommand,
4794
+ DescribeParameterGroupsCommand,
4795
+ DescribeParametersCommand,
4796
+ DescribeReservedNodesCommand,
4797
+ DescribeReservedNodesOfferingsCommand,
4798
+ DescribeServiceUpdatesCommand,
4799
+ DescribeSnapshotsCommand,
4800
+ DescribeSubnetGroupsCommand,
4801
+ DescribeUsersCommand,
4802
+ DuplicateUserNameFault,
4803
+ FailoverShardCommand,
4804
+ InputAuthenticationType,
4805
+ InsufficientClusterCapacityFault,
4806
+ InvalidACLStateFault,
4807
+ InvalidARNFault,
4808
+ InvalidClusterStateFault,
4809
+ InvalidCredentialsException,
4810
+ InvalidKMSKeyFault,
4811
+ InvalidNodeStateFault,
4812
+ InvalidParameterCombinationException,
4813
+ InvalidParameterGroupStateFault,
4814
+ InvalidParameterValueException,
4815
+ InvalidSnapshotStateFault,
4816
+ InvalidSubnet,
4817
+ InvalidUserStateFault,
4818
+ InvalidVPCNetworkStateFault,
4819
+ ListAllowedNodeTypeUpdatesCommand,
4820
+ ListTagsCommand,
4821
+ MemoryDB,
4822
+ MemoryDBClient,
4823
+ MemoryDBServiceException,
4824
+ NoOperationFault,
4825
+ NodeQuotaForClusterExceededFault,
4826
+ NodeQuotaForCustomerExceededFault,
4827
+ ParameterGroupAlreadyExistsFault,
4828
+ ParameterGroupNotFoundFault,
4829
+ ParameterGroupQuotaExceededFault,
4830
+ PurchaseReservedNodesOfferingCommand,
4831
+ ReservedNodeAlreadyExistsFault,
4832
+ ReservedNodeNotFoundFault,
4833
+ ReservedNodeQuotaExceededFault,
4834
+ ReservedNodesOfferingNotFoundFault,
4835
+ ResetParameterGroupCommand,
4836
+ ServiceLinkedRoleNotFoundFault,
4837
+ ServiceUpdateNotFoundFault,
4838
+ ServiceUpdateStatus,
4839
+ ServiceUpdateType,
4840
+ ShardNotFoundFault,
4841
+ ShardsPerClusterQuotaExceededFault,
4842
+ SnapshotAlreadyExistsFault,
4843
+ SnapshotNotFoundFault,
4844
+ SnapshotQuotaExceededFault,
4845
+ SourceType,
4846
+ SubnetGroupAlreadyExistsFault,
4847
+ SubnetGroupInUseFault,
4848
+ SubnetGroupNotFoundFault,
4849
+ SubnetGroupQuotaExceededFault,
4850
+ SubnetInUse,
4851
+ SubnetNotAllowedFault,
4852
+ SubnetQuotaExceededFault,
4853
+ TagNotFoundFault,
4854
+ TagQuotaPerResourceExceeded,
4855
+ TagResourceCommand,
4856
+ TestFailoverNotAvailableFault,
4857
+ UntagResourceCommand,
4858
+ UpdateACLCommand,
4859
+ UpdateClusterCommand,
4860
+ UpdateParameterGroupCommand,
4861
+ UpdateSubnetGroupCommand,
4862
+ UpdateUserCommand,
4863
+ UserAlreadyExistsFault,
4864
+ UserNotFoundFault,
4865
+ UserQuotaExceededFault,
4866
+ __Client,
4867
+ paginateDescribeACLs,
4868
+ paginateDescribeClusters,
4869
+ paginateDescribeEngineVersions,
4870
+ paginateDescribeEvents,
4871
+ paginateDescribeParameterGroups,
4872
+ paginateDescribeParameters,
4873
+ paginateDescribeReservedNodes,
4874
+ paginateDescribeReservedNodesOfferings,
4875
+ paginateDescribeServiceUpdates,
4876
+ paginateDescribeSnapshots,
4877
+ paginateDescribeSubnetGroups,
4878
+ paginateDescribeUsers
4879
+ });
4880
+