@aws-sdk/client-memorydb 3.312.0 → 3.315.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.
- package/dist-cjs/protocols/Aws_json1_1.js +387 -1573
- package/dist-es/protocols/Aws_json1_1.js +388 -1574
- package/package.json +6 -6
|
@@ -9,119 +9,119 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_BatchUpdateClusterCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("BatchUpdateCluster");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_BatchUpdateClusterCommand = se_BatchUpdateClusterCommand;
|
|
16
16
|
const se_CopySnapshotCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("CopySnapshot");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_CopySnapshotCommand = se_CopySnapshotCommand;
|
|
23
23
|
const se_CreateACLCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateACL");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CreateACLCommand = se_CreateACLCommand;
|
|
30
30
|
const se_CreateClusterCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateCluster");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
37
37
|
const se_CreateParameterGroupCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("CreateParameterGroup");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_CreateParameterGroupCommand = se_CreateParameterGroupCommand;
|
|
44
44
|
const se_CreateSnapshotCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("CreateSnapshot");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_CreateSnapshotCommand = se_CreateSnapshotCommand;
|
|
51
51
|
const se_CreateSubnetGroupCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("CreateSubnetGroup");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_CreateSubnetGroupCommand = se_CreateSubnetGroupCommand;
|
|
58
58
|
const se_CreateUserCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("CreateUser");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_CreateUserCommand = se_CreateUserCommand;
|
|
65
65
|
const se_DeleteACLCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeleteACL");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DeleteACLCommand = se_DeleteACLCommand;
|
|
72
72
|
const se_DeleteClusterCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DeleteCluster");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
|
|
79
79
|
const se_DeleteParameterGroupCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DeleteParameterGroup");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DeleteParameterGroupCommand = se_DeleteParameterGroupCommand;
|
|
86
86
|
const se_DeleteSnapshotCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("DeleteSnapshot");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_DeleteSnapshotCommand = se_DeleteSnapshotCommand;
|
|
93
93
|
const se_DeleteSubnetGroupCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("DeleteSubnetGroup");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_DeleteSubnetGroupCommand = se_DeleteSubnetGroupCommand;
|
|
100
100
|
const se_DeleteUserCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("DeleteUser");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_DeleteUserCommand = se_DeleteUserCommand;
|
|
107
107
|
const se_DescribeACLsCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DescribeACLs");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_DescribeACLsCommand = se_DescribeACLsCommand;
|
|
114
114
|
const se_DescribeClustersCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("DescribeClusters");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_DescribeClustersCommand = se_DescribeClustersCommand;
|
|
121
121
|
const se_DescribeEngineVersionsCommand = async (input, context) => {
|
|
122
122
|
const headers = sharedHeaders("DescribeEngineVersions");
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
127
|
exports.se_DescribeEngineVersionsCommand = se_DescribeEngineVersionsCommand;
|
|
@@ -135,140 +135,140 @@ exports.se_DescribeEventsCommand = se_DescribeEventsCommand;
|
|
|
135
135
|
const se_DescribeParameterGroupsCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("DescribeParameterGroups");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_DescribeParameterGroupsCommand = se_DescribeParameterGroupsCommand;
|
|
142
142
|
const se_DescribeParametersCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("DescribeParameters");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_DescribeParametersCommand = se_DescribeParametersCommand;
|
|
149
149
|
const se_DescribeReservedNodesCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DescribeReservedNodes");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_DescribeReservedNodesCommand = se_DescribeReservedNodesCommand;
|
|
156
156
|
const se_DescribeReservedNodesOfferingsCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("DescribeReservedNodesOfferings");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_DescribeReservedNodesOfferingsCommand = se_DescribeReservedNodesOfferingsCommand;
|
|
163
163
|
const se_DescribeServiceUpdatesCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("DescribeServiceUpdates");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_DescribeServiceUpdatesCommand = se_DescribeServiceUpdatesCommand;
|
|
170
170
|
const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("DescribeSnapshots");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_DescribeSnapshotsCommand = se_DescribeSnapshotsCommand;
|
|
177
177
|
const se_DescribeSubnetGroupsCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("DescribeSubnetGroups");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_DescribeSubnetGroupsCommand = se_DescribeSubnetGroupsCommand;
|
|
184
184
|
const se_DescribeUsersCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("DescribeUsers");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_DescribeUsersCommand = se_DescribeUsersCommand;
|
|
191
191
|
const se_FailoverShardCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("FailoverShard");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_FailoverShardCommand = se_FailoverShardCommand;
|
|
198
198
|
const se_ListAllowedNodeTypeUpdatesCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("ListAllowedNodeTypeUpdates");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_ListAllowedNodeTypeUpdatesCommand = se_ListAllowedNodeTypeUpdatesCommand;
|
|
205
205
|
const se_ListTagsCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("ListTags");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_ListTagsCommand = se_ListTagsCommand;
|
|
212
212
|
const se_PurchaseReservedNodesOfferingCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("PurchaseReservedNodesOffering");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_PurchaseReservedNodesOfferingCommand = se_PurchaseReservedNodesOfferingCommand;
|
|
219
219
|
const se_ResetParameterGroupCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("ResetParameterGroup");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_ResetParameterGroupCommand = se_ResetParameterGroupCommand;
|
|
226
226
|
const se_TagResourceCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("TagResource");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
233
233
|
const se_UntagResourceCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("UntagResource");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
240
240
|
const se_UpdateACLCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("UpdateACL");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_UpdateACLCommand = se_UpdateACLCommand;
|
|
247
247
|
const se_UpdateClusterCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("UpdateCluster");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_UpdateClusterCommand = se_UpdateClusterCommand;
|
|
254
254
|
const se_UpdateParameterGroupCommand = async (input, context) => {
|
|
255
255
|
const headers = sharedHeaders("UpdateParameterGroup");
|
|
256
256
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
259
|
};
|
|
260
260
|
exports.se_UpdateParameterGroupCommand = se_UpdateParameterGroupCommand;
|
|
261
261
|
const se_UpdateSubnetGroupCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("UpdateSubnetGroup");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_UpdateSubnetGroupCommand = se_UpdateSubnetGroupCommand;
|
|
268
268
|
const se_UpdateUserCommand = async (input, context) => {
|
|
269
269
|
const headers = sharedHeaders("UpdateUser");
|
|
270
270
|
let body;
|
|
271
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
272
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
273
|
};
|
|
274
274
|
exports.se_UpdateUserCommand = se_UpdateUserCommand;
|
|
@@ -283,7 +283,7 @@ const de_BatchUpdateClusterCommand = async (output, context) => {
|
|
|
283
283
|
$metadata: deserializeMetadata(output),
|
|
284
284
|
...contents,
|
|
285
285
|
};
|
|
286
|
-
return
|
|
286
|
+
return response;
|
|
287
287
|
};
|
|
288
288
|
exports.de_BatchUpdateClusterCommand = de_BatchUpdateClusterCommand;
|
|
289
289
|
const de_BatchUpdateClusterCommandError = async (output, context) => {
|
|
@@ -301,10 +301,9 @@ const de_BatchUpdateClusterCommandError = async (output, context) => {
|
|
|
301
301
|
throw await de_ServiceUpdateNotFoundFaultRes(parsedOutput, context);
|
|
302
302
|
default:
|
|
303
303
|
const parsedBody = parsedOutput.body;
|
|
304
|
-
|
|
304
|
+
return throwDefaultError({
|
|
305
305
|
output,
|
|
306
306
|
parsedBody,
|
|
307
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
308
307
|
errorCode,
|
|
309
308
|
});
|
|
310
309
|
}
|
|
@@ -320,7 +319,7 @@ const de_CopySnapshotCommand = async (output, context) => {
|
|
|
320
319
|
$metadata: deserializeMetadata(output),
|
|
321
320
|
...contents,
|
|
322
321
|
};
|
|
323
|
-
return
|
|
322
|
+
return response;
|
|
324
323
|
};
|
|
325
324
|
exports.de_CopySnapshotCommand = de_CopySnapshotCommand;
|
|
326
325
|
const de_CopySnapshotCommandError = async (output, context) => {
|
|
@@ -356,10 +355,9 @@ const de_CopySnapshotCommandError = async (output, context) => {
|
|
|
356
355
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
357
356
|
default:
|
|
358
357
|
const parsedBody = parsedOutput.body;
|
|
359
|
-
|
|
358
|
+
return throwDefaultError({
|
|
360
359
|
output,
|
|
361
360
|
parsedBody,
|
|
362
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
363
361
|
errorCode,
|
|
364
362
|
});
|
|
365
363
|
}
|
|
@@ -370,12 +368,12 @@ const de_CreateACLCommand = async (output, context) => {
|
|
|
370
368
|
}
|
|
371
369
|
const data = await parseBody(output.body, context);
|
|
372
370
|
let contents = {};
|
|
373
|
-
contents =
|
|
371
|
+
contents = (0, smithy_client_1._json)(data);
|
|
374
372
|
const response = {
|
|
375
373
|
$metadata: deserializeMetadata(output),
|
|
376
374
|
...contents,
|
|
377
375
|
};
|
|
378
|
-
return
|
|
376
|
+
return response;
|
|
379
377
|
};
|
|
380
378
|
exports.de_CreateACLCommand = de_CreateACLCommand;
|
|
381
379
|
const de_CreateACLCommandError = async (output, context) => {
|
|
@@ -408,10 +406,9 @@ const de_CreateACLCommandError = async (output, context) => {
|
|
|
408
406
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
409
407
|
default:
|
|
410
408
|
const parsedBody = parsedOutput.body;
|
|
411
|
-
|
|
409
|
+
return throwDefaultError({
|
|
412
410
|
output,
|
|
413
411
|
parsedBody,
|
|
414
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
415
412
|
errorCode,
|
|
416
413
|
});
|
|
417
414
|
}
|
|
@@ -427,7 +424,7 @@ const de_CreateClusterCommand = async (output, context) => {
|
|
|
427
424
|
$metadata: deserializeMetadata(output),
|
|
428
425
|
...contents,
|
|
429
426
|
};
|
|
430
|
-
return
|
|
427
|
+
return response;
|
|
431
428
|
};
|
|
432
429
|
exports.de_CreateClusterCommand = de_CreateClusterCommand;
|
|
433
430
|
const de_CreateClusterCommandError = async (output, context) => {
|
|
@@ -487,10 +484,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
487
484
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
488
485
|
default:
|
|
489
486
|
const parsedBody = parsedOutput.body;
|
|
490
|
-
|
|
487
|
+
return throwDefaultError({
|
|
491
488
|
output,
|
|
492
489
|
parsedBody,
|
|
493
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
494
490
|
errorCode,
|
|
495
491
|
});
|
|
496
492
|
}
|
|
@@ -501,12 +497,12 @@ const de_CreateParameterGroupCommand = async (output, context) => {
|
|
|
501
497
|
}
|
|
502
498
|
const data = await parseBody(output.body, context);
|
|
503
499
|
let contents = {};
|
|
504
|
-
contents =
|
|
500
|
+
contents = (0, smithy_client_1._json)(data);
|
|
505
501
|
const response = {
|
|
506
502
|
$metadata: deserializeMetadata(output),
|
|
507
503
|
...contents,
|
|
508
504
|
};
|
|
509
|
-
return
|
|
505
|
+
return response;
|
|
510
506
|
};
|
|
511
507
|
exports.de_CreateParameterGroupCommand = de_CreateParameterGroupCommand;
|
|
512
508
|
const de_CreateParameterGroupCommandError = async (output, context) => {
|
|
@@ -539,10 +535,9 @@ const de_CreateParameterGroupCommandError = async (output, context) => {
|
|
|
539
535
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
540
536
|
default:
|
|
541
537
|
const parsedBody = parsedOutput.body;
|
|
542
|
-
|
|
538
|
+
return throwDefaultError({
|
|
543
539
|
output,
|
|
544
540
|
parsedBody,
|
|
545
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
546
541
|
errorCode,
|
|
547
542
|
});
|
|
548
543
|
}
|
|
@@ -558,7 +553,7 @@ const de_CreateSnapshotCommand = async (output, context) => {
|
|
|
558
553
|
$metadata: deserializeMetadata(output),
|
|
559
554
|
...contents,
|
|
560
555
|
};
|
|
561
|
-
return
|
|
556
|
+
return response;
|
|
562
557
|
};
|
|
563
558
|
exports.de_CreateSnapshotCommand = de_CreateSnapshotCommand;
|
|
564
559
|
const de_CreateSnapshotCommandError = async (output, context) => {
|
|
@@ -594,10 +589,9 @@ const de_CreateSnapshotCommandError = async (output, context) => {
|
|
|
594
589
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
595
590
|
default:
|
|
596
591
|
const parsedBody = parsedOutput.body;
|
|
597
|
-
|
|
592
|
+
return throwDefaultError({
|
|
598
593
|
output,
|
|
599
594
|
parsedBody,
|
|
600
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
601
595
|
errorCode,
|
|
602
596
|
});
|
|
603
597
|
}
|
|
@@ -608,12 +602,12 @@ const de_CreateSubnetGroupCommand = async (output, context) => {
|
|
|
608
602
|
}
|
|
609
603
|
const data = await parseBody(output.body, context);
|
|
610
604
|
let contents = {};
|
|
611
|
-
contents =
|
|
605
|
+
contents = (0, smithy_client_1._json)(data);
|
|
612
606
|
const response = {
|
|
613
607
|
$metadata: deserializeMetadata(output),
|
|
614
608
|
...contents,
|
|
615
609
|
};
|
|
616
|
-
return
|
|
610
|
+
return response;
|
|
617
611
|
};
|
|
618
612
|
exports.de_CreateSubnetGroupCommand = de_CreateSubnetGroupCommand;
|
|
619
613
|
const de_CreateSubnetGroupCommandError = async (output, context) => {
|
|
@@ -646,10 +640,9 @@ const de_CreateSubnetGroupCommandError = async (output, context) => {
|
|
|
646
640
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
647
641
|
default:
|
|
648
642
|
const parsedBody = parsedOutput.body;
|
|
649
|
-
|
|
643
|
+
return throwDefaultError({
|
|
650
644
|
output,
|
|
651
645
|
parsedBody,
|
|
652
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
653
646
|
errorCode,
|
|
654
647
|
});
|
|
655
648
|
}
|
|
@@ -660,12 +653,12 @@ const de_CreateUserCommand = async (output, context) => {
|
|
|
660
653
|
}
|
|
661
654
|
const data = await parseBody(output.body, context);
|
|
662
655
|
let contents = {};
|
|
663
|
-
contents =
|
|
656
|
+
contents = (0, smithy_client_1._json)(data);
|
|
664
657
|
const response = {
|
|
665
658
|
$metadata: deserializeMetadata(output),
|
|
666
659
|
...contents,
|
|
667
660
|
};
|
|
668
|
-
return
|
|
661
|
+
return response;
|
|
669
662
|
};
|
|
670
663
|
exports.de_CreateUserCommand = de_CreateUserCommand;
|
|
671
664
|
const de_CreateUserCommandError = async (output, context) => {
|
|
@@ -695,10 +688,9 @@ const de_CreateUserCommandError = async (output, context) => {
|
|
|
695
688
|
throw await de_UserQuotaExceededFaultRes(parsedOutput, context);
|
|
696
689
|
default:
|
|
697
690
|
const parsedBody = parsedOutput.body;
|
|
698
|
-
|
|
691
|
+
return throwDefaultError({
|
|
699
692
|
output,
|
|
700
693
|
parsedBody,
|
|
701
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
702
694
|
errorCode,
|
|
703
695
|
});
|
|
704
696
|
}
|
|
@@ -709,12 +701,12 @@ const de_DeleteACLCommand = async (output, context) => {
|
|
|
709
701
|
}
|
|
710
702
|
const data = await parseBody(output.body, context);
|
|
711
703
|
let contents = {};
|
|
712
|
-
contents =
|
|
704
|
+
contents = (0, smithy_client_1._json)(data);
|
|
713
705
|
const response = {
|
|
714
706
|
$metadata: deserializeMetadata(output),
|
|
715
707
|
...contents,
|
|
716
708
|
};
|
|
717
|
-
return
|
|
709
|
+
return response;
|
|
718
710
|
};
|
|
719
711
|
exports.de_DeleteACLCommand = de_DeleteACLCommand;
|
|
720
712
|
const de_DeleteACLCommandError = async (output, context) => {
|
|
@@ -735,10 +727,9 @@ const de_DeleteACLCommandError = async (output, context) => {
|
|
|
735
727
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
736
728
|
default:
|
|
737
729
|
const parsedBody = parsedOutput.body;
|
|
738
|
-
|
|
730
|
+
return throwDefaultError({
|
|
739
731
|
output,
|
|
740
732
|
parsedBody,
|
|
741
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
742
733
|
errorCode,
|
|
743
734
|
});
|
|
744
735
|
}
|
|
@@ -754,7 +745,7 @@ const de_DeleteClusterCommand = async (output, context) => {
|
|
|
754
745
|
$metadata: deserializeMetadata(output),
|
|
755
746
|
...contents,
|
|
756
747
|
};
|
|
757
|
-
return
|
|
748
|
+
return response;
|
|
758
749
|
};
|
|
759
750
|
exports.de_DeleteClusterCommand = de_DeleteClusterCommand;
|
|
760
751
|
const de_DeleteClusterCommandError = async (output, context) => {
|
|
@@ -784,10 +775,9 @@ const de_DeleteClusterCommandError = async (output, context) => {
|
|
|
784
775
|
throw await de_SnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
785
776
|
default:
|
|
786
777
|
const parsedBody = parsedOutput.body;
|
|
787
|
-
|
|
778
|
+
return throwDefaultError({
|
|
788
779
|
output,
|
|
789
780
|
parsedBody,
|
|
790
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
791
781
|
errorCode,
|
|
792
782
|
});
|
|
793
783
|
}
|
|
@@ -798,12 +788,12 @@ const de_DeleteParameterGroupCommand = async (output, context) => {
|
|
|
798
788
|
}
|
|
799
789
|
const data = await parseBody(output.body, context);
|
|
800
790
|
let contents = {};
|
|
801
|
-
contents =
|
|
791
|
+
contents = (0, smithy_client_1._json)(data);
|
|
802
792
|
const response = {
|
|
803
793
|
$metadata: deserializeMetadata(output),
|
|
804
794
|
...contents,
|
|
805
795
|
};
|
|
806
|
-
return
|
|
796
|
+
return response;
|
|
807
797
|
};
|
|
808
798
|
exports.de_DeleteParameterGroupCommand = de_DeleteParameterGroupCommand;
|
|
809
799
|
const de_DeleteParameterGroupCommandError = async (output, context) => {
|
|
@@ -830,10 +820,9 @@ const de_DeleteParameterGroupCommandError = async (output, context) => {
|
|
|
830
820
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
831
821
|
default:
|
|
832
822
|
const parsedBody = parsedOutput.body;
|
|
833
|
-
|
|
823
|
+
return throwDefaultError({
|
|
834
824
|
output,
|
|
835
825
|
parsedBody,
|
|
836
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
837
826
|
errorCode,
|
|
838
827
|
});
|
|
839
828
|
}
|
|
@@ -849,7 +838,7 @@ const de_DeleteSnapshotCommand = async (output, context) => {
|
|
|
849
838
|
$metadata: deserializeMetadata(output),
|
|
850
839
|
...contents,
|
|
851
840
|
};
|
|
852
|
-
return
|
|
841
|
+
return response;
|
|
853
842
|
};
|
|
854
843
|
exports.de_DeleteSnapshotCommand = de_DeleteSnapshotCommand;
|
|
855
844
|
const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
@@ -876,10 +865,9 @@ const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
|
876
865
|
throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
|
|
877
866
|
default:
|
|
878
867
|
const parsedBody = parsedOutput.body;
|
|
879
|
-
|
|
868
|
+
return throwDefaultError({
|
|
880
869
|
output,
|
|
881
870
|
parsedBody,
|
|
882
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
883
871
|
errorCode,
|
|
884
872
|
});
|
|
885
873
|
}
|
|
@@ -890,12 +878,12 @@ const de_DeleteSubnetGroupCommand = async (output, context) => {
|
|
|
890
878
|
}
|
|
891
879
|
const data = await parseBody(output.body, context);
|
|
892
880
|
let contents = {};
|
|
893
|
-
contents =
|
|
881
|
+
contents = (0, smithy_client_1._json)(data);
|
|
894
882
|
const response = {
|
|
895
883
|
$metadata: deserializeMetadata(output),
|
|
896
884
|
...contents,
|
|
897
885
|
};
|
|
898
|
-
return
|
|
886
|
+
return response;
|
|
899
887
|
};
|
|
900
888
|
exports.de_DeleteSubnetGroupCommand = de_DeleteSubnetGroupCommand;
|
|
901
889
|
const de_DeleteSubnetGroupCommandError = async (output, context) => {
|
|
@@ -916,10 +904,9 @@ const de_DeleteSubnetGroupCommandError = async (output, context) => {
|
|
|
916
904
|
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
917
905
|
default:
|
|
918
906
|
const parsedBody = parsedOutput.body;
|
|
919
|
-
|
|
907
|
+
return throwDefaultError({
|
|
920
908
|
output,
|
|
921
909
|
parsedBody,
|
|
922
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
923
910
|
errorCode,
|
|
924
911
|
});
|
|
925
912
|
}
|
|
@@ -930,12 +917,12 @@ const de_DeleteUserCommand = async (output, context) => {
|
|
|
930
917
|
}
|
|
931
918
|
const data = await parseBody(output.body, context);
|
|
932
919
|
let contents = {};
|
|
933
|
-
contents =
|
|
920
|
+
contents = (0, smithy_client_1._json)(data);
|
|
934
921
|
const response = {
|
|
935
922
|
$metadata: deserializeMetadata(output),
|
|
936
923
|
...contents,
|
|
937
924
|
};
|
|
938
|
-
return
|
|
925
|
+
return response;
|
|
939
926
|
};
|
|
940
927
|
exports.de_DeleteUserCommand = de_DeleteUserCommand;
|
|
941
928
|
const de_DeleteUserCommandError = async (output, context) => {
|
|
@@ -956,10 +943,9 @@ const de_DeleteUserCommandError = async (output, context) => {
|
|
|
956
943
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
957
944
|
default:
|
|
958
945
|
const parsedBody = parsedOutput.body;
|
|
959
|
-
|
|
946
|
+
return throwDefaultError({
|
|
960
947
|
output,
|
|
961
948
|
parsedBody,
|
|
962
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
963
949
|
errorCode,
|
|
964
950
|
});
|
|
965
951
|
}
|
|
@@ -970,12 +956,12 @@ const de_DescribeACLsCommand = async (output, context) => {
|
|
|
970
956
|
}
|
|
971
957
|
const data = await parseBody(output.body, context);
|
|
972
958
|
let contents = {};
|
|
973
|
-
contents =
|
|
959
|
+
contents = (0, smithy_client_1._json)(data);
|
|
974
960
|
const response = {
|
|
975
961
|
$metadata: deserializeMetadata(output),
|
|
976
962
|
...contents,
|
|
977
963
|
};
|
|
978
|
-
return
|
|
964
|
+
return response;
|
|
979
965
|
};
|
|
980
966
|
exports.de_DescribeACLsCommand = de_DescribeACLsCommand;
|
|
981
967
|
const de_DescribeACLsCommandError = async (output, context) => {
|
|
@@ -993,10 +979,9 @@ const de_DescribeACLsCommandError = async (output, context) => {
|
|
|
993
979
|
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
994
980
|
default:
|
|
995
981
|
const parsedBody = parsedOutput.body;
|
|
996
|
-
|
|
982
|
+
return throwDefaultError({
|
|
997
983
|
output,
|
|
998
984
|
parsedBody,
|
|
999
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1000
985
|
errorCode,
|
|
1001
986
|
});
|
|
1002
987
|
}
|
|
@@ -1012,7 +997,7 @@ const de_DescribeClustersCommand = async (output, context) => {
|
|
|
1012
997
|
$metadata: deserializeMetadata(output),
|
|
1013
998
|
...contents,
|
|
1014
999
|
};
|
|
1015
|
-
return
|
|
1000
|
+
return response;
|
|
1016
1001
|
};
|
|
1017
1002
|
exports.de_DescribeClustersCommand = de_DescribeClustersCommand;
|
|
1018
1003
|
const de_DescribeClustersCommandError = async (output, context) => {
|
|
@@ -1036,10 +1021,9 @@ const de_DescribeClustersCommandError = async (output, context) => {
|
|
|
1036
1021
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1037
1022
|
default:
|
|
1038
1023
|
const parsedBody = parsedOutput.body;
|
|
1039
|
-
|
|
1024
|
+
return throwDefaultError({
|
|
1040
1025
|
output,
|
|
1041
1026
|
parsedBody,
|
|
1042
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1043
1027
|
errorCode,
|
|
1044
1028
|
});
|
|
1045
1029
|
}
|
|
@@ -1050,12 +1034,12 @@ const de_DescribeEngineVersionsCommand = async (output, context) => {
|
|
|
1050
1034
|
}
|
|
1051
1035
|
const data = await parseBody(output.body, context);
|
|
1052
1036
|
let contents = {};
|
|
1053
|
-
contents =
|
|
1037
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1054
1038
|
const response = {
|
|
1055
1039
|
$metadata: deserializeMetadata(output),
|
|
1056
1040
|
...contents,
|
|
1057
1041
|
};
|
|
1058
|
-
return
|
|
1042
|
+
return response;
|
|
1059
1043
|
};
|
|
1060
1044
|
exports.de_DescribeEngineVersionsCommand = de_DescribeEngineVersionsCommand;
|
|
1061
1045
|
const de_DescribeEngineVersionsCommandError = async (output, context) => {
|
|
@@ -1076,10 +1060,9 @@ const de_DescribeEngineVersionsCommandError = async (output, context) => {
|
|
|
1076
1060
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1077
1061
|
default:
|
|
1078
1062
|
const parsedBody = parsedOutput.body;
|
|
1079
|
-
|
|
1063
|
+
return throwDefaultError({
|
|
1080
1064
|
output,
|
|
1081
1065
|
parsedBody,
|
|
1082
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1083
1066
|
errorCode,
|
|
1084
1067
|
});
|
|
1085
1068
|
}
|
|
@@ -1095,7 +1078,7 @@ const de_DescribeEventsCommand = async (output, context) => {
|
|
|
1095
1078
|
$metadata: deserializeMetadata(output),
|
|
1096
1079
|
...contents,
|
|
1097
1080
|
};
|
|
1098
|
-
return
|
|
1081
|
+
return response;
|
|
1099
1082
|
};
|
|
1100
1083
|
exports.de_DescribeEventsCommand = de_DescribeEventsCommand;
|
|
1101
1084
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
@@ -1116,10 +1099,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
1116
1099
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1117
1100
|
default:
|
|
1118
1101
|
const parsedBody = parsedOutput.body;
|
|
1119
|
-
|
|
1102
|
+
return throwDefaultError({
|
|
1120
1103
|
output,
|
|
1121
1104
|
parsedBody,
|
|
1122
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1123
1105
|
errorCode,
|
|
1124
1106
|
});
|
|
1125
1107
|
}
|
|
@@ -1130,12 +1112,12 @@ const de_DescribeParameterGroupsCommand = async (output, context) => {
|
|
|
1130
1112
|
}
|
|
1131
1113
|
const data = await parseBody(output.body, context);
|
|
1132
1114
|
let contents = {};
|
|
1133
|
-
contents =
|
|
1115
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1134
1116
|
const response = {
|
|
1135
1117
|
$metadata: deserializeMetadata(output),
|
|
1136
1118
|
...contents,
|
|
1137
1119
|
};
|
|
1138
|
-
return
|
|
1120
|
+
return response;
|
|
1139
1121
|
};
|
|
1140
1122
|
exports.de_DescribeParameterGroupsCommand = de_DescribeParameterGroupsCommand;
|
|
1141
1123
|
const de_DescribeParameterGroupsCommandError = async (output, context) => {
|
|
@@ -1159,10 +1141,9 @@ const de_DescribeParameterGroupsCommandError = async (output, context) => {
|
|
|
1159
1141
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1160
1142
|
default:
|
|
1161
1143
|
const parsedBody = parsedOutput.body;
|
|
1162
|
-
|
|
1144
|
+
return throwDefaultError({
|
|
1163
1145
|
output,
|
|
1164
1146
|
parsedBody,
|
|
1165
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1166
1147
|
errorCode,
|
|
1167
1148
|
});
|
|
1168
1149
|
}
|
|
@@ -1173,12 +1154,12 @@ const de_DescribeParametersCommand = async (output, context) => {
|
|
|
1173
1154
|
}
|
|
1174
1155
|
const data = await parseBody(output.body, context);
|
|
1175
1156
|
let contents = {};
|
|
1176
|
-
contents =
|
|
1157
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1177
1158
|
const response = {
|
|
1178
1159
|
$metadata: deserializeMetadata(output),
|
|
1179
1160
|
...contents,
|
|
1180
1161
|
};
|
|
1181
|
-
return
|
|
1162
|
+
return response;
|
|
1182
1163
|
};
|
|
1183
1164
|
exports.de_DescribeParametersCommand = de_DescribeParametersCommand;
|
|
1184
1165
|
const de_DescribeParametersCommandError = async (output, context) => {
|
|
@@ -1202,10 +1183,9 @@ const de_DescribeParametersCommandError = async (output, context) => {
|
|
|
1202
1183
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1203
1184
|
default:
|
|
1204
1185
|
const parsedBody = parsedOutput.body;
|
|
1205
|
-
|
|
1186
|
+
return throwDefaultError({
|
|
1206
1187
|
output,
|
|
1207
1188
|
parsedBody,
|
|
1208
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1209
1189
|
errorCode,
|
|
1210
1190
|
});
|
|
1211
1191
|
}
|
|
@@ -1221,7 +1201,7 @@ const de_DescribeReservedNodesCommand = async (output, context) => {
|
|
|
1221
1201
|
$metadata: deserializeMetadata(output),
|
|
1222
1202
|
...contents,
|
|
1223
1203
|
};
|
|
1224
|
-
return
|
|
1204
|
+
return response;
|
|
1225
1205
|
};
|
|
1226
1206
|
exports.de_DescribeReservedNodesCommand = de_DescribeReservedNodesCommand;
|
|
1227
1207
|
const de_DescribeReservedNodesCommandError = async (output, context) => {
|
|
@@ -1245,10 +1225,9 @@ const de_DescribeReservedNodesCommandError = async (output, context) => {
|
|
|
1245
1225
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1246
1226
|
default:
|
|
1247
1227
|
const parsedBody = parsedOutput.body;
|
|
1248
|
-
|
|
1228
|
+
return throwDefaultError({
|
|
1249
1229
|
output,
|
|
1250
1230
|
parsedBody,
|
|
1251
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1252
1231
|
errorCode,
|
|
1253
1232
|
});
|
|
1254
1233
|
}
|
|
@@ -1264,7 +1243,7 @@ const de_DescribeReservedNodesOfferingsCommand = async (output, context) => {
|
|
|
1264
1243
|
$metadata: deserializeMetadata(output),
|
|
1265
1244
|
...contents,
|
|
1266
1245
|
};
|
|
1267
|
-
return
|
|
1246
|
+
return response;
|
|
1268
1247
|
};
|
|
1269
1248
|
exports.de_DescribeReservedNodesOfferingsCommand = de_DescribeReservedNodesOfferingsCommand;
|
|
1270
1249
|
const de_DescribeReservedNodesOfferingsCommandError = async (output, context) => {
|
|
@@ -1288,10 +1267,9 @@ const de_DescribeReservedNodesOfferingsCommandError = async (output, context) =>
|
|
|
1288
1267
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1289
1268
|
default:
|
|
1290
1269
|
const parsedBody = parsedOutput.body;
|
|
1291
|
-
|
|
1270
|
+
return throwDefaultError({
|
|
1292
1271
|
output,
|
|
1293
1272
|
parsedBody,
|
|
1294
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1295
1273
|
errorCode,
|
|
1296
1274
|
});
|
|
1297
1275
|
}
|
|
@@ -1307,7 +1285,7 @@ const de_DescribeServiceUpdatesCommand = async (output, context) => {
|
|
|
1307
1285
|
$metadata: deserializeMetadata(output),
|
|
1308
1286
|
...contents,
|
|
1309
1287
|
};
|
|
1310
|
-
return
|
|
1288
|
+
return response;
|
|
1311
1289
|
};
|
|
1312
1290
|
exports.de_DescribeServiceUpdatesCommand = de_DescribeServiceUpdatesCommand;
|
|
1313
1291
|
const de_DescribeServiceUpdatesCommandError = async (output, context) => {
|
|
@@ -1325,10 +1303,9 @@ const de_DescribeServiceUpdatesCommandError = async (output, context) => {
|
|
|
1325
1303
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1326
1304
|
default:
|
|
1327
1305
|
const parsedBody = parsedOutput.body;
|
|
1328
|
-
|
|
1306
|
+
return throwDefaultError({
|
|
1329
1307
|
output,
|
|
1330
1308
|
parsedBody,
|
|
1331
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1332
1309
|
errorCode,
|
|
1333
1310
|
});
|
|
1334
1311
|
}
|
|
@@ -1344,7 +1321,7 @@ const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
|
1344
1321
|
$metadata: deserializeMetadata(output),
|
|
1345
1322
|
...contents,
|
|
1346
1323
|
};
|
|
1347
|
-
return
|
|
1324
|
+
return response;
|
|
1348
1325
|
};
|
|
1349
1326
|
exports.de_DescribeSnapshotsCommand = de_DescribeSnapshotsCommand;
|
|
1350
1327
|
const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
@@ -1368,10 +1345,9 @@ const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
|
1368
1345
|
throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1369
1346
|
default:
|
|
1370
1347
|
const parsedBody = parsedOutput.body;
|
|
1371
|
-
|
|
1348
|
+
return throwDefaultError({
|
|
1372
1349
|
output,
|
|
1373
1350
|
parsedBody,
|
|
1374
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1375
1351
|
errorCode,
|
|
1376
1352
|
});
|
|
1377
1353
|
}
|
|
@@ -1382,12 +1358,12 @@ const de_DescribeSubnetGroupsCommand = async (output, context) => {
|
|
|
1382
1358
|
}
|
|
1383
1359
|
const data = await parseBody(output.body, context);
|
|
1384
1360
|
let contents = {};
|
|
1385
|
-
contents =
|
|
1361
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1386
1362
|
const response = {
|
|
1387
1363
|
$metadata: deserializeMetadata(output),
|
|
1388
1364
|
...contents,
|
|
1389
1365
|
};
|
|
1390
|
-
return
|
|
1366
|
+
return response;
|
|
1391
1367
|
};
|
|
1392
1368
|
exports.de_DescribeSubnetGroupsCommand = de_DescribeSubnetGroupsCommand;
|
|
1393
1369
|
const de_DescribeSubnetGroupsCommandError = async (output, context) => {
|
|
@@ -1405,10 +1381,9 @@ const de_DescribeSubnetGroupsCommandError = async (output, context) => {
|
|
|
1405
1381
|
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
1406
1382
|
default:
|
|
1407
1383
|
const parsedBody = parsedOutput.body;
|
|
1408
|
-
|
|
1384
|
+
return throwDefaultError({
|
|
1409
1385
|
output,
|
|
1410
1386
|
parsedBody,
|
|
1411
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1412
1387
|
errorCode,
|
|
1413
1388
|
});
|
|
1414
1389
|
}
|
|
@@ -1419,12 +1394,12 @@ const de_DescribeUsersCommand = async (output, context) => {
|
|
|
1419
1394
|
}
|
|
1420
1395
|
const data = await parseBody(output.body, context);
|
|
1421
1396
|
let contents = {};
|
|
1422
|
-
contents =
|
|
1397
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1423
1398
|
const response = {
|
|
1424
1399
|
$metadata: deserializeMetadata(output),
|
|
1425
1400
|
...contents,
|
|
1426
1401
|
};
|
|
1427
|
-
return
|
|
1402
|
+
return response;
|
|
1428
1403
|
};
|
|
1429
1404
|
exports.de_DescribeUsersCommand = de_DescribeUsersCommand;
|
|
1430
1405
|
const de_DescribeUsersCommandError = async (output, context) => {
|
|
@@ -1442,10 +1417,9 @@ const de_DescribeUsersCommandError = async (output, context) => {
|
|
|
1442
1417
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
1443
1418
|
default:
|
|
1444
1419
|
const parsedBody = parsedOutput.body;
|
|
1445
|
-
|
|
1420
|
+
return throwDefaultError({
|
|
1446
1421
|
output,
|
|
1447
1422
|
parsedBody,
|
|
1448
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1449
1423
|
errorCode,
|
|
1450
1424
|
});
|
|
1451
1425
|
}
|
|
@@ -1461,7 +1435,7 @@ const de_FailoverShardCommand = async (output, context) => {
|
|
|
1461
1435
|
$metadata: deserializeMetadata(output),
|
|
1462
1436
|
...contents,
|
|
1463
1437
|
};
|
|
1464
|
-
return
|
|
1438
|
+
return response;
|
|
1465
1439
|
};
|
|
1466
1440
|
exports.de_FailoverShardCommand = de_FailoverShardCommand;
|
|
1467
1441
|
const de_FailoverShardCommandError = async (output, context) => {
|
|
@@ -1497,10 +1471,9 @@ const de_FailoverShardCommandError = async (output, context) => {
|
|
|
1497
1471
|
throw await de_TestFailoverNotAvailableFaultRes(parsedOutput, context);
|
|
1498
1472
|
default:
|
|
1499
1473
|
const parsedBody = parsedOutput.body;
|
|
1500
|
-
|
|
1474
|
+
return throwDefaultError({
|
|
1501
1475
|
output,
|
|
1502
1476
|
parsedBody,
|
|
1503
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1504
1477
|
errorCode,
|
|
1505
1478
|
});
|
|
1506
1479
|
}
|
|
@@ -1511,12 +1484,12 @@ const de_ListAllowedNodeTypeUpdatesCommand = async (output, context) => {
|
|
|
1511
1484
|
}
|
|
1512
1485
|
const data = await parseBody(output.body, context);
|
|
1513
1486
|
let contents = {};
|
|
1514
|
-
contents =
|
|
1487
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1515
1488
|
const response = {
|
|
1516
1489
|
$metadata: deserializeMetadata(output),
|
|
1517
1490
|
...contents,
|
|
1518
1491
|
};
|
|
1519
|
-
return
|
|
1492
|
+
return response;
|
|
1520
1493
|
};
|
|
1521
1494
|
exports.de_ListAllowedNodeTypeUpdatesCommand = de_ListAllowedNodeTypeUpdatesCommand;
|
|
1522
1495
|
const de_ListAllowedNodeTypeUpdatesCommandError = async (output, context) => {
|
|
@@ -1540,10 +1513,9 @@ const de_ListAllowedNodeTypeUpdatesCommandError = async (output, context) => {
|
|
|
1540
1513
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1541
1514
|
default:
|
|
1542
1515
|
const parsedBody = parsedOutput.body;
|
|
1543
|
-
|
|
1516
|
+
return throwDefaultError({
|
|
1544
1517
|
output,
|
|
1545
1518
|
parsedBody,
|
|
1546
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1547
1519
|
errorCode,
|
|
1548
1520
|
});
|
|
1549
1521
|
}
|
|
@@ -1554,12 +1526,12 @@ const de_ListTagsCommand = async (output, context) => {
|
|
|
1554
1526
|
}
|
|
1555
1527
|
const data = await parseBody(output.body, context);
|
|
1556
1528
|
let contents = {};
|
|
1557
|
-
contents =
|
|
1529
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1558
1530
|
const response = {
|
|
1559
1531
|
$metadata: deserializeMetadata(output),
|
|
1560
1532
|
...contents,
|
|
1561
1533
|
};
|
|
1562
|
-
return
|
|
1534
|
+
return response;
|
|
1563
1535
|
};
|
|
1564
1536
|
exports.de_ListTagsCommand = de_ListTagsCommand;
|
|
1565
1537
|
const de_ListTagsCommandError = async (output, context) => {
|
|
@@ -1598,10 +1570,9 @@ const de_ListTagsCommandError = async (output, context) => {
|
|
|
1598
1570
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
1599
1571
|
default:
|
|
1600
1572
|
const parsedBody = parsedOutput.body;
|
|
1601
|
-
|
|
1573
|
+
return throwDefaultError({
|
|
1602
1574
|
output,
|
|
1603
1575
|
parsedBody,
|
|
1604
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1605
1576
|
errorCode,
|
|
1606
1577
|
});
|
|
1607
1578
|
}
|
|
@@ -1617,7 +1588,7 @@ const de_PurchaseReservedNodesOfferingCommand = async (output, context) => {
|
|
|
1617
1588
|
$metadata: deserializeMetadata(output),
|
|
1618
1589
|
...contents,
|
|
1619
1590
|
};
|
|
1620
|
-
return
|
|
1591
|
+
return response;
|
|
1621
1592
|
};
|
|
1622
1593
|
exports.de_PurchaseReservedNodesOfferingCommand = de_PurchaseReservedNodesOfferingCommand;
|
|
1623
1594
|
const de_PurchaseReservedNodesOfferingCommandError = async (output, context) => {
|
|
@@ -1650,10 +1621,9 @@ const de_PurchaseReservedNodesOfferingCommandError = async (output, context) =>
|
|
|
1650
1621
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
1651
1622
|
default:
|
|
1652
1623
|
const parsedBody = parsedOutput.body;
|
|
1653
|
-
|
|
1624
|
+
return throwDefaultError({
|
|
1654
1625
|
output,
|
|
1655
1626
|
parsedBody,
|
|
1656
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1657
1627
|
errorCode,
|
|
1658
1628
|
});
|
|
1659
1629
|
}
|
|
@@ -1664,12 +1634,12 @@ const de_ResetParameterGroupCommand = async (output, context) => {
|
|
|
1664
1634
|
}
|
|
1665
1635
|
const data = await parseBody(output.body, context);
|
|
1666
1636
|
let contents = {};
|
|
1667
|
-
contents =
|
|
1637
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1668
1638
|
const response = {
|
|
1669
1639
|
$metadata: deserializeMetadata(output),
|
|
1670
1640
|
...contents,
|
|
1671
1641
|
};
|
|
1672
|
-
return
|
|
1642
|
+
return response;
|
|
1673
1643
|
};
|
|
1674
1644
|
exports.de_ResetParameterGroupCommand = de_ResetParameterGroupCommand;
|
|
1675
1645
|
const de_ResetParameterGroupCommandError = async (output, context) => {
|
|
@@ -1696,10 +1666,9 @@ const de_ResetParameterGroupCommandError = async (output, context) => {
|
|
|
1696
1666
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1697
1667
|
default:
|
|
1698
1668
|
const parsedBody = parsedOutput.body;
|
|
1699
|
-
|
|
1669
|
+
return throwDefaultError({
|
|
1700
1670
|
output,
|
|
1701
1671
|
parsedBody,
|
|
1702
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1703
1672
|
errorCode,
|
|
1704
1673
|
});
|
|
1705
1674
|
}
|
|
@@ -1710,12 +1679,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1710
1679
|
}
|
|
1711
1680
|
const data = await parseBody(output.body, context);
|
|
1712
1681
|
let contents = {};
|
|
1713
|
-
contents =
|
|
1682
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1714
1683
|
const response = {
|
|
1715
1684
|
$metadata: deserializeMetadata(output),
|
|
1716
1685
|
...contents,
|
|
1717
1686
|
};
|
|
1718
|
-
return
|
|
1687
|
+
return response;
|
|
1719
1688
|
};
|
|
1720
1689
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1721
1690
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1757,10 +1726,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1757
1726
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
1758
1727
|
default:
|
|
1759
1728
|
const parsedBody = parsedOutput.body;
|
|
1760
|
-
|
|
1729
|
+
return throwDefaultError({
|
|
1761
1730
|
output,
|
|
1762
1731
|
parsedBody,
|
|
1763
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1764
1732
|
errorCode,
|
|
1765
1733
|
});
|
|
1766
1734
|
}
|
|
@@ -1771,12 +1739,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1771
1739
|
}
|
|
1772
1740
|
const data = await parseBody(output.body, context);
|
|
1773
1741
|
let contents = {};
|
|
1774
|
-
contents =
|
|
1742
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1775
1743
|
const response = {
|
|
1776
1744
|
$metadata: deserializeMetadata(output),
|
|
1777
1745
|
...contents,
|
|
1778
1746
|
};
|
|
1779
|
-
return
|
|
1747
|
+
return response;
|
|
1780
1748
|
};
|
|
1781
1749
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1782
1750
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1818,10 +1786,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1818
1786
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
1819
1787
|
default:
|
|
1820
1788
|
const parsedBody = parsedOutput.body;
|
|
1821
|
-
|
|
1789
|
+
return throwDefaultError({
|
|
1822
1790
|
output,
|
|
1823
1791
|
parsedBody,
|
|
1824
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1825
1792
|
errorCode,
|
|
1826
1793
|
});
|
|
1827
1794
|
}
|
|
@@ -1832,12 +1799,12 @@ const de_UpdateACLCommand = async (output, context) => {
|
|
|
1832
1799
|
}
|
|
1833
1800
|
const data = await parseBody(output.body, context);
|
|
1834
1801
|
let contents = {};
|
|
1835
|
-
contents =
|
|
1802
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1836
1803
|
const response = {
|
|
1837
1804
|
$metadata: deserializeMetadata(output),
|
|
1838
1805
|
...contents,
|
|
1839
1806
|
};
|
|
1840
|
-
return
|
|
1807
|
+
return response;
|
|
1841
1808
|
};
|
|
1842
1809
|
exports.de_UpdateACLCommand = de_UpdateACLCommand;
|
|
1843
1810
|
const de_UpdateACLCommandError = async (output, context) => {
|
|
@@ -1870,10 +1837,9 @@ const de_UpdateACLCommandError = async (output, context) => {
|
|
|
1870
1837
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
1871
1838
|
default:
|
|
1872
1839
|
const parsedBody = parsedOutput.body;
|
|
1873
|
-
|
|
1840
|
+
return throwDefaultError({
|
|
1874
1841
|
output,
|
|
1875
1842
|
parsedBody,
|
|
1876
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1877
1843
|
errorCode,
|
|
1878
1844
|
});
|
|
1879
1845
|
}
|
|
@@ -1889,7 +1855,7 @@ const de_UpdateClusterCommand = async (output, context) => {
|
|
|
1889
1855
|
$metadata: deserializeMetadata(output),
|
|
1890
1856
|
...contents,
|
|
1891
1857
|
};
|
|
1892
|
-
return
|
|
1858
|
+
return response;
|
|
1893
1859
|
};
|
|
1894
1860
|
exports.de_UpdateClusterCommand = de_UpdateClusterCommand;
|
|
1895
1861
|
const de_UpdateClusterCommandError = async (output, context) => {
|
|
@@ -1949,10 +1915,9 @@ const de_UpdateClusterCommandError = async (output, context) => {
|
|
|
1949
1915
|
throw await de_ShardsPerClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
1950
1916
|
default:
|
|
1951
1917
|
const parsedBody = parsedOutput.body;
|
|
1952
|
-
|
|
1918
|
+
return throwDefaultError({
|
|
1953
1919
|
output,
|
|
1954
1920
|
parsedBody,
|
|
1955
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
1956
1921
|
errorCode,
|
|
1957
1922
|
});
|
|
1958
1923
|
}
|
|
@@ -1963,12 +1928,12 @@ const de_UpdateParameterGroupCommand = async (output, context) => {
|
|
|
1963
1928
|
}
|
|
1964
1929
|
const data = await parseBody(output.body, context);
|
|
1965
1930
|
let contents = {};
|
|
1966
|
-
contents =
|
|
1931
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1967
1932
|
const response = {
|
|
1968
1933
|
$metadata: deserializeMetadata(output),
|
|
1969
1934
|
...contents,
|
|
1970
1935
|
};
|
|
1971
|
-
return
|
|
1936
|
+
return response;
|
|
1972
1937
|
};
|
|
1973
1938
|
exports.de_UpdateParameterGroupCommand = de_UpdateParameterGroupCommand;
|
|
1974
1939
|
const de_UpdateParameterGroupCommandError = async (output, context) => {
|
|
@@ -1995,10 +1960,9 @@ const de_UpdateParameterGroupCommandError = async (output, context) => {
|
|
|
1995
1960
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1996
1961
|
default:
|
|
1997
1962
|
const parsedBody = parsedOutput.body;
|
|
1998
|
-
|
|
1963
|
+
return throwDefaultError({
|
|
1999
1964
|
output,
|
|
2000
1965
|
parsedBody,
|
|
2001
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
2002
1966
|
errorCode,
|
|
2003
1967
|
});
|
|
2004
1968
|
}
|
|
@@ -2009,12 +1973,12 @@ const de_UpdateSubnetGroupCommand = async (output, context) => {
|
|
|
2009
1973
|
}
|
|
2010
1974
|
const data = await parseBody(output.body, context);
|
|
2011
1975
|
let contents = {};
|
|
2012
|
-
contents =
|
|
1976
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2013
1977
|
const response = {
|
|
2014
1978
|
$metadata: deserializeMetadata(output),
|
|
2015
1979
|
...contents,
|
|
2016
1980
|
};
|
|
2017
|
-
return
|
|
1981
|
+
return response;
|
|
2018
1982
|
};
|
|
2019
1983
|
exports.de_UpdateSubnetGroupCommand = de_UpdateSubnetGroupCommand;
|
|
2020
1984
|
const de_UpdateSubnetGroupCommandError = async (output, context) => {
|
|
@@ -2044,10 +2008,9 @@ const de_UpdateSubnetGroupCommandError = async (output, context) => {
|
|
|
2044
2008
|
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
2045
2009
|
default:
|
|
2046
2010
|
const parsedBody = parsedOutput.body;
|
|
2047
|
-
|
|
2011
|
+
return throwDefaultError({
|
|
2048
2012
|
output,
|
|
2049
2013
|
parsedBody,
|
|
2050
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
2051
2014
|
errorCode,
|
|
2052
2015
|
});
|
|
2053
2016
|
}
|
|
@@ -2058,12 +2021,12 @@ const de_UpdateUserCommand = async (output, context) => {
|
|
|
2058
2021
|
}
|
|
2059
2022
|
const data = await parseBody(output.body, context);
|
|
2060
2023
|
let contents = {};
|
|
2061
|
-
contents =
|
|
2024
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2062
2025
|
const response = {
|
|
2063
2026
|
$metadata: deserializeMetadata(output),
|
|
2064
2027
|
...contents,
|
|
2065
2028
|
};
|
|
2066
|
-
return
|
|
2029
|
+
return response;
|
|
2067
2030
|
};
|
|
2068
2031
|
exports.de_UpdateUserCommand = de_UpdateUserCommand;
|
|
2069
2032
|
const de_UpdateUserCommandError = async (output, context) => {
|
|
@@ -2087,17 +2050,16 @@ const de_UpdateUserCommandError = async (output, context) => {
|
|
|
2087
2050
|
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
2088
2051
|
default:
|
|
2089
2052
|
const parsedBody = parsedOutput.body;
|
|
2090
|
-
|
|
2053
|
+
return throwDefaultError({
|
|
2091
2054
|
output,
|
|
2092
2055
|
parsedBody,
|
|
2093
|
-
exceptionCtor: MemoryDBServiceException_1.MemoryDBServiceException,
|
|
2094
2056
|
errorCode,
|
|
2095
2057
|
});
|
|
2096
2058
|
}
|
|
2097
2059
|
};
|
|
2098
2060
|
const de_ACLAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2099
2061
|
const body = parsedOutput.body;
|
|
2100
|
-
const deserialized =
|
|
2062
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2101
2063
|
const exception = new models_0_1.ACLAlreadyExistsFault({
|
|
2102
2064
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2103
2065
|
...deserialized,
|
|
@@ -2106,7 +2068,7 @@ const de_ACLAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2106
2068
|
};
|
|
2107
2069
|
const de_ACLNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2108
2070
|
const body = parsedOutput.body;
|
|
2109
|
-
const deserialized =
|
|
2071
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2110
2072
|
const exception = new models_0_1.ACLNotFoundFault({
|
|
2111
2073
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2112
2074
|
...deserialized,
|
|
@@ -2115,7 +2077,7 @@ const de_ACLNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2115
2077
|
};
|
|
2116
2078
|
const de_ACLQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2117
2079
|
const body = parsedOutput.body;
|
|
2118
|
-
const deserialized =
|
|
2080
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2119
2081
|
const exception = new models_0_1.ACLQuotaExceededFault({
|
|
2120
2082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2121
2083
|
...deserialized,
|
|
@@ -2124,7 +2086,7 @@ const de_ACLQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
2124
2086
|
};
|
|
2125
2087
|
const de_APICallRateForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
2126
2088
|
const body = parsedOutput.body;
|
|
2127
|
-
const deserialized =
|
|
2089
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2128
2090
|
const exception = new models_0_1.APICallRateForCustomerExceededFault({
|
|
2129
2091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2130
2092
|
...deserialized,
|
|
@@ -2133,7 +2095,7 @@ const de_APICallRateForCustomerExceededFaultRes = async (parsedOutput, context)
|
|
|
2133
2095
|
};
|
|
2134
2096
|
const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2135
2097
|
const body = parsedOutput.body;
|
|
2136
|
-
const deserialized =
|
|
2098
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2137
2099
|
const exception = new models_0_1.ClusterAlreadyExistsFault({
|
|
2138
2100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2139
2101
|
...deserialized,
|
|
@@ -2142,7 +2104,7 @@ const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2142
2104
|
};
|
|
2143
2105
|
const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2144
2106
|
const body = parsedOutput.body;
|
|
2145
|
-
const deserialized =
|
|
2107
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2146
2108
|
const exception = new models_0_1.ClusterNotFoundFault({
|
|
2147
2109
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2148
2110
|
...deserialized,
|
|
@@ -2151,7 +2113,7 @@ const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2151
2113
|
};
|
|
2152
2114
|
const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
2153
2115
|
const body = parsedOutput.body;
|
|
2154
|
-
const deserialized =
|
|
2116
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2155
2117
|
const exception = new models_0_1.ClusterQuotaForCustomerExceededFault({
|
|
2156
2118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2157
2119
|
...deserialized,
|
|
@@ -2160,7 +2122,7 @@ const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context)
|
|
|
2160
2122
|
};
|
|
2161
2123
|
const de_DefaultUserRequiredRes = async (parsedOutput, context) => {
|
|
2162
2124
|
const body = parsedOutput.body;
|
|
2163
|
-
const deserialized =
|
|
2125
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2164
2126
|
const exception = new models_0_1.DefaultUserRequired({
|
|
2165
2127
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2166
2128
|
...deserialized,
|
|
@@ -2169,7 +2131,7 @@ const de_DefaultUserRequiredRes = async (parsedOutput, context) => {
|
|
|
2169
2131
|
};
|
|
2170
2132
|
const de_DuplicateUserNameFaultRes = async (parsedOutput, context) => {
|
|
2171
2133
|
const body = parsedOutput.body;
|
|
2172
|
-
const deserialized =
|
|
2134
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2173
2135
|
const exception = new models_0_1.DuplicateUserNameFault({
|
|
2174
2136
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2175
2137
|
...deserialized,
|
|
@@ -2178,7 +2140,7 @@ const de_DuplicateUserNameFaultRes = async (parsedOutput, context) => {
|
|
|
2178
2140
|
};
|
|
2179
2141
|
const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) => {
|
|
2180
2142
|
const body = parsedOutput.body;
|
|
2181
|
-
const deserialized =
|
|
2143
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2182
2144
|
const exception = new models_0_1.InsufficientClusterCapacityFault({
|
|
2183
2145
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2184
2146
|
...deserialized,
|
|
@@ -2187,7 +2149,7 @@ const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) =>
|
|
|
2187
2149
|
};
|
|
2188
2150
|
const de_InvalidACLStateFaultRes = async (parsedOutput, context) => {
|
|
2189
2151
|
const body = parsedOutput.body;
|
|
2190
|
-
const deserialized =
|
|
2152
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2191
2153
|
const exception = new models_0_1.InvalidACLStateFault({
|
|
2192
2154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2193
2155
|
...deserialized,
|
|
@@ -2196,7 +2158,7 @@ const de_InvalidACLStateFaultRes = async (parsedOutput, context) => {
|
|
|
2196
2158
|
};
|
|
2197
2159
|
const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
2198
2160
|
const body = parsedOutput.body;
|
|
2199
|
-
const deserialized =
|
|
2161
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2200
2162
|
const exception = new models_0_1.InvalidARNFault({
|
|
2201
2163
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2202
2164
|
...deserialized,
|
|
@@ -2205,7 +2167,7 @@ const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
|
2205
2167
|
};
|
|
2206
2168
|
const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
2207
2169
|
const body = parsedOutput.body;
|
|
2208
|
-
const deserialized =
|
|
2170
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2209
2171
|
const exception = new models_0_1.InvalidClusterStateFault({
|
|
2210
2172
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2211
2173
|
...deserialized,
|
|
@@ -2214,7 +2176,7 @@ const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
|
2214
2176
|
};
|
|
2215
2177
|
const de_InvalidCredentialsExceptionRes = async (parsedOutput, context) => {
|
|
2216
2178
|
const body = parsedOutput.body;
|
|
2217
|
-
const deserialized =
|
|
2179
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2218
2180
|
const exception = new models_0_1.InvalidCredentialsException({
|
|
2219
2181
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2220
2182
|
...deserialized,
|
|
@@ -2223,7 +2185,7 @@ const de_InvalidCredentialsExceptionRes = async (parsedOutput, context) => {
|
|
|
2223
2185
|
};
|
|
2224
2186
|
const de_InvalidKMSKeyFaultRes = async (parsedOutput, context) => {
|
|
2225
2187
|
const body = parsedOutput.body;
|
|
2226
|
-
const deserialized =
|
|
2188
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2227
2189
|
const exception = new models_0_1.InvalidKMSKeyFault({
|
|
2228
2190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2229
2191
|
...deserialized,
|
|
@@ -2232,7 +2194,7 @@ const de_InvalidKMSKeyFaultRes = async (parsedOutput, context) => {
|
|
|
2232
2194
|
};
|
|
2233
2195
|
const de_InvalidNodeStateFaultRes = async (parsedOutput, context) => {
|
|
2234
2196
|
const body = parsedOutput.body;
|
|
2235
|
-
const deserialized =
|
|
2197
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2236
2198
|
const exception = new models_0_1.InvalidNodeStateFault({
|
|
2237
2199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2238
2200
|
...deserialized,
|
|
@@ -2241,7 +2203,7 @@ const de_InvalidNodeStateFaultRes = async (parsedOutput, context) => {
|
|
|
2241
2203
|
};
|
|
2242
2204
|
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
2243
2205
|
const body = parsedOutput.body;
|
|
2244
|
-
const deserialized =
|
|
2206
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2245
2207
|
const exception = new models_0_1.InvalidParameterCombinationException({
|
|
2246
2208
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2247
2209
|
...deserialized,
|
|
@@ -2250,7 +2212,7 @@ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context)
|
|
|
2250
2212
|
};
|
|
2251
2213
|
const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
2252
2214
|
const body = parsedOutput.body;
|
|
2253
|
-
const deserialized =
|
|
2215
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2254
2216
|
const exception = new models_0_1.InvalidParameterGroupStateFault({
|
|
2255
2217
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2256
2218
|
...deserialized,
|
|
@@ -2259,7 +2221,7 @@ const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
|
2259
2221
|
};
|
|
2260
2222
|
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
2261
2223
|
const body = parsedOutput.body;
|
|
2262
|
-
const deserialized =
|
|
2224
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2263
2225
|
const exception = new models_0_1.InvalidParameterValueException({
|
|
2264
2226
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2265
2227
|
...deserialized,
|
|
@@ -2268,7 +2230,7 @@ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
|
2268
2230
|
};
|
|
2269
2231
|
const de_InvalidSnapshotStateFaultRes = async (parsedOutput, context) => {
|
|
2270
2232
|
const body = parsedOutput.body;
|
|
2271
|
-
const deserialized =
|
|
2233
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2272
2234
|
const exception = new models_0_1.InvalidSnapshotStateFault({
|
|
2273
2235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2274
2236
|
...deserialized,
|
|
@@ -2277,7 +2239,7 @@ const de_InvalidSnapshotStateFaultRes = async (parsedOutput, context) => {
|
|
|
2277
2239
|
};
|
|
2278
2240
|
const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
2279
2241
|
const body = parsedOutput.body;
|
|
2280
|
-
const deserialized =
|
|
2242
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2281
2243
|
const exception = new models_0_1.InvalidSubnet({
|
|
2282
2244
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2283
2245
|
...deserialized,
|
|
@@ -2286,7 +2248,7 @@ const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
|
2286
2248
|
};
|
|
2287
2249
|
const de_InvalidUserStateFaultRes = async (parsedOutput, context) => {
|
|
2288
2250
|
const body = parsedOutput.body;
|
|
2289
|
-
const deserialized =
|
|
2251
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2290
2252
|
const exception = new models_0_1.InvalidUserStateFault({
|
|
2291
2253
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2292
2254
|
...deserialized,
|
|
@@ -2295,7 +2257,7 @@ const de_InvalidUserStateFaultRes = async (parsedOutput, context) => {
|
|
|
2295
2257
|
};
|
|
2296
2258
|
const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
2297
2259
|
const body = parsedOutput.body;
|
|
2298
|
-
const deserialized =
|
|
2260
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2299
2261
|
const exception = new models_0_1.InvalidVPCNetworkStateFault({
|
|
2300
2262
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2301
2263
|
...deserialized,
|
|
@@ -2304,7 +2266,7 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
|
2304
2266
|
};
|
|
2305
2267
|
const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) => {
|
|
2306
2268
|
const body = parsedOutput.body;
|
|
2307
|
-
const deserialized =
|
|
2269
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2308
2270
|
const exception = new models_0_1.NodeQuotaForClusterExceededFault({
|
|
2309
2271
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2310
2272
|
...deserialized,
|
|
@@ -2313,7 +2275,7 @@ const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) =>
|
|
|
2313
2275
|
};
|
|
2314
2276
|
const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
2315
2277
|
const body = parsedOutput.body;
|
|
2316
|
-
const deserialized =
|
|
2278
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2317
2279
|
const exception = new models_0_1.NodeQuotaForCustomerExceededFault({
|
|
2318
2280
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2319
2281
|
...deserialized,
|
|
@@ -2322,7 +2284,7 @@ const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) =>
|
|
|
2322
2284
|
};
|
|
2323
2285
|
const de_NoOperationFaultRes = async (parsedOutput, context) => {
|
|
2324
2286
|
const body = parsedOutput.body;
|
|
2325
|
-
const deserialized =
|
|
2287
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2326
2288
|
const exception = new models_0_1.NoOperationFault({
|
|
2327
2289
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2328
2290
|
...deserialized,
|
|
@@ -2331,7 +2293,7 @@ const de_NoOperationFaultRes = async (parsedOutput, context) => {
|
|
|
2331
2293
|
};
|
|
2332
2294
|
const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2333
2295
|
const body = parsedOutput.body;
|
|
2334
|
-
const deserialized =
|
|
2296
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2335
2297
|
const exception = new models_0_1.ParameterGroupAlreadyExistsFault({
|
|
2336
2298
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2337
2299
|
...deserialized,
|
|
@@ -2340,7 +2302,7 @@ const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) =>
|
|
|
2340
2302
|
};
|
|
2341
2303
|
const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2342
2304
|
const body = parsedOutput.body;
|
|
2343
|
-
const deserialized =
|
|
2305
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2344
2306
|
const exception = new models_0_1.ParameterGroupNotFoundFault({
|
|
2345
2307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2346
2308
|
...deserialized,
|
|
@@ -2349,7 +2311,7 @@ const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2349
2311
|
};
|
|
2350
2312
|
const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2351
2313
|
const body = parsedOutput.body;
|
|
2352
|
-
const deserialized =
|
|
2314
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2353
2315
|
const exception = new models_0_1.ParameterGroupQuotaExceededFault({
|
|
2354
2316
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2355
2317
|
...deserialized,
|
|
@@ -2358,7 +2320,7 @@ const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) =>
|
|
|
2358
2320
|
};
|
|
2359
2321
|
const de_ReservedNodeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2360
2322
|
const body = parsedOutput.body;
|
|
2361
|
-
const deserialized =
|
|
2323
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2362
2324
|
const exception = new models_0_1.ReservedNodeAlreadyExistsFault({
|
|
2363
2325
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2364
2326
|
...deserialized,
|
|
@@ -2367,7 +2329,7 @@ const de_ReservedNodeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2367
2329
|
};
|
|
2368
2330
|
const de_ReservedNodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2369
2331
|
const body = parsedOutput.body;
|
|
2370
|
-
const deserialized =
|
|
2332
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2371
2333
|
const exception = new models_0_1.ReservedNodeNotFoundFault({
|
|
2372
2334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2373
2335
|
...deserialized,
|
|
@@ -2376,7 +2338,7 @@ const de_ReservedNodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2376
2338
|
};
|
|
2377
2339
|
const de_ReservedNodeQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2378
2340
|
const body = parsedOutput.body;
|
|
2379
|
-
const deserialized =
|
|
2341
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2380
2342
|
const exception = new models_0_1.ReservedNodeQuotaExceededFault({
|
|
2381
2343
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2382
2344
|
...deserialized,
|
|
@@ -2385,7 +2347,7 @@ const de_ReservedNodeQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
2385
2347
|
};
|
|
2386
2348
|
const de_ReservedNodesOfferingNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2387
2349
|
const body = parsedOutput.body;
|
|
2388
|
-
const deserialized =
|
|
2350
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2389
2351
|
const exception = new models_0_1.ReservedNodesOfferingNotFoundFault({
|
|
2390
2352
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2391
2353
|
...deserialized,
|
|
@@ -2394,7 +2356,7 @@ const de_ReservedNodesOfferingNotFoundFaultRes = async (parsedOutput, context) =
|
|
|
2394
2356
|
};
|
|
2395
2357
|
const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2396
2358
|
const body = parsedOutput.body;
|
|
2397
|
-
const deserialized =
|
|
2359
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2398
2360
|
const exception = new models_0_1.ServiceLinkedRoleNotFoundFault({
|
|
2399
2361
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2400
2362
|
...deserialized,
|
|
@@ -2403,7 +2365,7 @@ const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2403
2365
|
};
|
|
2404
2366
|
const de_ServiceUpdateNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2405
2367
|
const body = parsedOutput.body;
|
|
2406
|
-
const deserialized =
|
|
2368
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2407
2369
|
const exception = new models_0_1.ServiceUpdateNotFoundFault({
|
|
2408
2370
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2409
2371
|
...deserialized,
|
|
@@ -2412,7 +2374,7 @@ const de_ServiceUpdateNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2412
2374
|
};
|
|
2413
2375
|
const de_ShardNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2414
2376
|
const body = parsedOutput.body;
|
|
2415
|
-
const deserialized =
|
|
2377
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2416
2378
|
const exception = new models_0_1.ShardNotFoundFault({
|
|
2417
2379
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2418
2380
|
...deserialized,
|
|
@@ -2421,7 +2383,7 @@ const de_ShardNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2421
2383
|
};
|
|
2422
2384
|
const de_ShardsPerClusterQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2423
2385
|
const body = parsedOutput.body;
|
|
2424
|
-
const deserialized =
|
|
2386
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2425
2387
|
const exception = new models_0_1.ShardsPerClusterQuotaExceededFault({
|
|
2426
2388
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2427
2389
|
...deserialized,
|
|
@@ -2430,7 +2392,7 @@ const de_ShardsPerClusterQuotaExceededFaultRes = async (parsedOutput, context) =
|
|
|
2430
2392
|
};
|
|
2431
2393
|
const de_SnapshotAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2432
2394
|
const body = parsedOutput.body;
|
|
2433
|
-
const deserialized =
|
|
2395
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2434
2396
|
const exception = new models_0_1.SnapshotAlreadyExistsFault({
|
|
2435
2397
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2436
2398
|
...deserialized,
|
|
@@ -2439,7 +2401,7 @@ const de_SnapshotAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2439
2401
|
};
|
|
2440
2402
|
const de_SnapshotNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2441
2403
|
const body = parsedOutput.body;
|
|
2442
|
-
const deserialized =
|
|
2404
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2443
2405
|
const exception = new models_0_1.SnapshotNotFoundFault({
|
|
2444
2406
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2445
2407
|
...deserialized,
|
|
@@ -2448,7 +2410,7 @@ const de_SnapshotNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2448
2410
|
};
|
|
2449
2411
|
const de_SnapshotQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2450
2412
|
const body = parsedOutput.body;
|
|
2451
|
-
const deserialized =
|
|
2413
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2452
2414
|
const exception = new models_0_1.SnapshotQuotaExceededFault({
|
|
2453
2415
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2454
2416
|
...deserialized,
|
|
@@ -2457,7 +2419,7 @@ const de_SnapshotQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
2457
2419
|
};
|
|
2458
2420
|
const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2459
2421
|
const body = parsedOutput.body;
|
|
2460
|
-
const deserialized =
|
|
2422
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2461
2423
|
const exception = new models_0_1.SubnetGroupAlreadyExistsFault({
|
|
2462
2424
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2463
2425
|
...deserialized,
|
|
@@ -2466,7 +2428,7 @@ const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2466
2428
|
};
|
|
2467
2429
|
const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
2468
2430
|
const body = parsedOutput.body;
|
|
2469
|
-
const deserialized =
|
|
2431
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2470
2432
|
const exception = new models_0_1.SubnetGroupInUseFault({
|
|
2471
2433
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2472
2434
|
...deserialized,
|
|
@@ -2475,7 +2437,7 @@ const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
|
2475
2437
|
};
|
|
2476
2438
|
const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2477
2439
|
const body = parsedOutput.body;
|
|
2478
|
-
const deserialized =
|
|
2440
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2479
2441
|
const exception = new models_0_1.SubnetGroupNotFoundFault({
|
|
2480
2442
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2481
2443
|
...deserialized,
|
|
@@ -2484,7 +2446,7 @@ const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2484
2446
|
};
|
|
2485
2447
|
const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2486
2448
|
const body = parsedOutput.body;
|
|
2487
|
-
const deserialized =
|
|
2449
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2488
2450
|
const exception = new models_0_1.SubnetGroupQuotaExceededFault({
|
|
2489
2451
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2490
2452
|
...deserialized,
|
|
@@ -2493,7 +2455,7 @@ const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
2493
2455
|
};
|
|
2494
2456
|
const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
2495
2457
|
const body = parsedOutput.body;
|
|
2496
|
-
const deserialized =
|
|
2458
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2497
2459
|
const exception = new models_0_1.SubnetInUse({
|
|
2498
2460
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2499
2461
|
...deserialized,
|
|
@@ -2502,7 +2464,7 @@ const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
|
2502
2464
|
};
|
|
2503
2465
|
const de_SubnetNotAllowedFaultRes = async (parsedOutput, context) => {
|
|
2504
2466
|
const body = parsedOutput.body;
|
|
2505
|
-
const deserialized =
|
|
2467
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2506
2468
|
const exception = new models_0_1.SubnetNotAllowedFault({
|
|
2507
2469
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2508
2470
|
...deserialized,
|
|
@@ -2511,7 +2473,7 @@ const de_SubnetNotAllowedFaultRes = async (parsedOutput, context) => {
|
|
|
2511
2473
|
};
|
|
2512
2474
|
const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2513
2475
|
const body = parsedOutput.body;
|
|
2514
|
-
const deserialized =
|
|
2476
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2515
2477
|
const exception = new models_0_1.SubnetQuotaExceededFault({
|
|
2516
2478
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2517
2479
|
...deserialized,
|
|
@@ -2520,7 +2482,7 @@ const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
2520
2482
|
};
|
|
2521
2483
|
const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2522
2484
|
const body = parsedOutput.body;
|
|
2523
|
-
const deserialized =
|
|
2485
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2524
2486
|
const exception = new models_0_1.TagNotFoundFault({
|
|
2525
2487
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2526
2488
|
...deserialized,
|
|
@@ -2529,7 +2491,7 @@ const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2529
2491
|
};
|
|
2530
2492
|
const de_TagQuotaPerResourceExceededRes = async (parsedOutput, context) => {
|
|
2531
2493
|
const body = parsedOutput.body;
|
|
2532
|
-
const deserialized =
|
|
2494
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2533
2495
|
const exception = new models_0_1.TagQuotaPerResourceExceeded({
|
|
2534
2496
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2535
2497
|
...deserialized,
|
|
@@ -2538,7 +2500,7 @@ const de_TagQuotaPerResourceExceededRes = async (parsedOutput, context) => {
|
|
|
2538
2500
|
};
|
|
2539
2501
|
const de_TestFailoverNotAvailableFaultRes = async (parsedOutput, context) => {
|
|
2540
2502
|
const body = parsedOutput.body;
|
|
2541
|
-
const deserialized =
|
|
2503
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2542
2504
|
const exception = new models_0_1.TestFailoverNotAvailableFault({
|
|
2543
2505
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2544
2506
|
...deserialized,
|
|
@@ -2547,7 +2509,7 @@ const de_TestFailoverNotAvailableFaultRes = async (parsedOutput, context) => {
|
|
|
2547
2509
|
};
|
|
2548
2510
|
const de_UserAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
2549
2511
|
const body = parsedOutput.body;
|
|
2550
|
-
const deserialized =
|
|
2512
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2551
2513
|
const exception = new models_0_1.UserAlreadyExistsFault({
|
|
2552
2514
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2553
2515
|
...deserialized,
|
|
@@ -2556,7 +2518,7 @@ const de_UserAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
2556
2518
|
};
|
|
2557
2519
|
const de_UserNotFoundFaultRes = async (parsedOutput, context) => {
|
|
2558
2520
|
const body = parsedOutput.body;
|
|
2559
|
-
const deserialized =
|
|
2521
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2560
2522
|
const exception = new models_0_1.UserNotFoundFault({
|
|
2561
2523
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2562
2524
|
...deserialized,
|
|
@@ -2565,1216 +2527,298 @@ const de_UserNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
2565
2527
|
};
|
|
2566
2528
|
const de_UserQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
2567
2529
|
const body = parsedOutput.body;
|
|
2568
|
-
const deserialized =
|
|
2530
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2569
2531
|
const exception = new models_0_1.UserQuotaExceededFault({
|
|
2570
2532
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2571
2533
|
...deserialized,
|
|
2572
2534
|
});
|
|
2573
2535
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2574
2536
|
};
|
|
2575
|
-
const se_AuthenticationMode = (input, context) => {
|
|
2576
|
-
return {
|
|
2577
|
-
...(input.Passwords != null && { Passwords: se_PasswordListInput(input.Passwords, context) }),
|
|
2578
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2579
|
-
};
|
|
2580
|
-
};
|
|
2581
|
-
const se_BatchUpdateClusterRequest = (input, context) => {
|
|
2582
|
-
return {
|
|
2583
|
-
...(input.ClusterNames != null && { ClusterNames: se_ClusterNameList(input.ClusterNames, context) }),
|
|
2584
|
-
...(input.ServiceUpdate != null && { ServiceUpdate: se_ServiceUpdateRequest(input.ServiceUpdate, context) }),
|
|
2585
|
-
};
|
|
2586
|
-
};
|
|
2587
|
-
const se_ClusterNameList = (input, context) => {
|
|
2588
|
-
return input
|
|
2589
|
-
.filter((e) => e != null)
|
|
2590
|
-
.map((entry) => {
|
|
2591
|
-
return entry;
|
|
2592
|
-
});
|
|
2593
|
-
};
|
|
2594
|
-
const se_CopySnapshotRequest = (input, context) => {
|
|
2595
|
-
return {
|
|
2596
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2597
|
-
...(input.SourceSnapshotName != null && { SourceSnapshotName: input.SourceSnapshotName }),
|
|
2598
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2599
|
-
...(input.TargetBucket != null && { TargetBucket: input.TargetBucket }),
|
|
2600
|
-
...(input.TargetSnapshotName != null && { TargetSnapshotName: input.TargetSnapshotName }),
|
|
2601
|
-
};
|
|
2602
|
-
};
|
|
2603
|
-
const se_CreateACLRequest = (input, context) => {
|
|
2604
|
-
return {
|
|
2605
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2606
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2607
|
-
...(input.UserNames != null && { UserNames: se_UserNameListInput(input.UserNames, context) }),
|
|
2608
|
-
};
|
|
2609
|
-
};
|
|
2610
|
-
const se_CreateClusterRequest = (input, context) => {
|
|
2611
|
-
return {
|
|
2612
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2613
|
-
...(input.AutoMinorVersionUpgrade != null && { AutoMinorVersionUpgrade: input.AutoMinorVersionUpgrade }),
|
|
2614
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2615
|
-
...(input.DataTiering != null && { DataTiering: input.DataTiering }),
|
|
2616
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2617
|
-
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
2618
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2619
|
-
...(input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow }),
|
|
2620
|
-
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
2621
|
-
...(input.NumReplicasPerShard != null && { NumReplicasPerShard: input.NumReplicasPerShard }),
|
|
2622
|
-
...(input.NumShards != null && { NumShards: input.NumShards }),
|
|
2623
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2624
|
-
...(input.Port != null && { Port: input.Port }),
|
|
2625
|
-
...(input.SecurityGroupIds != null && {
|
|
2626
|
-
SecurityGroupIds: se_SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
2627
|
-
}),
|
|
2628
|
-
...(input.SnapshotArns != null && { SnapshotArns: se_SnapshotArnsList(input.SnapshotArns, context) }),
|
|
2629
|
-
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2630
|
-
...(input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit }),
|
|
2631
|
-
...(input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow }),
|
|
2632
|
-
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
2633
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2634
|
-
...(input.TLSEnabled != null && { TLSEnabled: input.TLSEnabled }),
|
|
2635
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2636
|
-
};
|
|
2637
|
-
};
|
|
2638
|
-
const se_CreateParameterGroupRequest = (input, context) => {
|
|
2639
|
-
return {
|
|
2640
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2641
|
-
...(input.Family != null && { Family: input.Family }),
|
|
2642
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2643
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2644
|
-
};
|
|
2645
|
-
};
|
|
2646
|
-
const se_CreateSnapshotRequest = (input, context) => {
|
|
2647
|
-
return {
|
|
2648
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2649
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2650
|
-
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2651
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2652
|
-
};
|
|
2653
|
-
};
|
|
2654
|
-
const se_CreateSubnetGroupRequest = (input, context) => {
|
|
2655
|
-
return {
|
|
2656
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2657
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2658
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
2659
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2660
|
-
};
|
|
2661
|
-
};
|
|
2662
|
-
const se_CreateUserRequest = (input, context) => {
|
|
2663
|
-
return {
|
|
2664
|
-
...(input.AccessString != null && { AccessString: input.AccessString }),
|
|
2665
|
-
...(input.AuthenticationMode != null && {
|
|
2666
|
-
AuthenticationMode: se_AuthenticationMode(input.AuthenticationMode, context),
|
|
2667
|
-
}),
|
|
2668
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2669
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
2670
|
-
};
|
|
2671
|
-
};
|
|
2672
|
-
const se_DeleteACLRequest = (input, context) => {
|
|
2673
|
-
return {
|
|
2674
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2675
|
-
};
|
|
2676
|
-
};
|
|
2677
|
-
const se_DeleteClusterRequest = (input, context) => {
|
|
2678
|
-
return {
|
|
2679
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2680
|
-
...(input.FinalSnapshotName != null && { FinalSnapshotName: input.FinalSnapshotName }),
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
const se_DeleteParameterGroupRequest = (input, context) => {
|
|
2684
|
-
return {
|
|
2685
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2686
|
-
};
|
|
2687
|
-
};
|
|
2688
|
-
const se_DeleteSnapshotRequest = (input, context) => {
|
|
2689
|
-
return {
|
|
2690
|
-
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2691
|
-
};
|
|
2692
|
-
};
|
|
2693
|
-
const se_DeleteSubnetGroupRequest = (input, context) => {
|
|
2694
|
-
return {
|
|
2695
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2696
|
-
};
|
|
2697
|
-
};
|
|
2698
|
-
const se_DeleteUserRequest = (input, context) => {
|
|
2699
|
-
return {
|
|
2700
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
2701
|
-
};
|
|
2702
|
-
};
|
|
2703
|
-
const se_DescribeACLsRequest = (input, context) => {
|
|
2704
|
-
return {
|
|
2705
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2706
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2707
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2708
|
-
};
|
|
2709
|
-
};
|
|
2710
|
-
const se_DescribeClustersRequest = (input, context) => {
|
|
2711
|
-
return {
|
|
2712
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2713
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2714
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2715
|
-
...(input.ShowShardDetails != null && { ShowShardDetails: input.ShowShardDetails }),
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
const se_DescribeEngineVersionsRequest = (input, context) => {
|
|
2719
|
-
return {
|
|
2720
|
-
...(input.DefaultOnly != null && { DefaultOnly: input.DefaultOnly }),
|
|
2721
|
-
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
2722
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2723
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2724
|
-
...(input.ParameterGroupFamily != null && { ParameterGroupFamily: input.ParameterGroupFamily }),
|
|
2725
|
-
};
|
|
2726
|
-
};
|
|
2727
2537
|
const se_DescribeEventsRequest = (input, context) => {
|
|
2728
|
-
return {
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
};
|
|
2737
|
-
};
|
|
2738
|
-
const se_DescribeParameterGroupsRequest = (input, context) => {
|
|
2739
|
-
return {
|
|
2740
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2741
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2742
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
const se_DescribeParametersRequest = (input, context) => {
|
|
2746
|
-
return {
|
|
2747
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2748
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2749
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2750
|
-
};
|
|
2751
|
-
};
|
|
2752
|
-
const se_DescribeReservedNodesOfferingsRequest = (input, context) => {
|
|
2753
|
-
return {
|
|
2754
|
-
...(input.Duration != null && { Duration: input.Duration }),
|
|
2755
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2756
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2757
|
-
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
2758
|
-
...(input.OfferingType != null && { OfferingType: input.OfferingType }),
|
|
2759
|
-
...(input.ReservedNodesOfferingId != null && { ReservedNodesOfferingId: input.ReservedNodesOfferingId }),
|
|
2760
|
-
};
|
|
2761
|
-
};
|
|
2762
|
-
const se_DescribeReservedNodesRequest = (input, context) => {
|
|
2763
|
-
return {
|
|
2764
|
-
...(input.Duration != null && { Duration: input.Duration }),
|
|
2765
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2766
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2767
|
-
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
2768
|
-
...(input.OfferingType != null && { OfferingType: input.OfferingType }),
|
|
2769
|
-
...(input.ReservationId != null && { ReservationId: input.ReservationId }),
|
|
2770
|
-
...(input.ReservedNodesOfferingId != null && { ReservedNodesOfferingId: input.ReservedNodesOfferingId }),
|
|
2771
|
-
};
|
|
2772
|
-
};
|
|
2773
|
-
const se_DescribeServiceUpdatesRequest = (input, context) => {
|
|
2774
|
-
return {
|
|
2775
|
-
...(input.ClusterNames != null && { ClusterNames: se_ClusterNameList(input.ClusterNames, context) }),
|
|
2776
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2777
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2778
|
-
...(input.ServiceUpdateName != null && { ServiceUpdateName: input.ServiceUpdateName }),
|
|
2779
|
-
...(input.Status != null && { Status: se_ServiceUpdateStatusList(input.Status, context) }),
|
|
2780
|
-
};
|
|
2781
|
-
};
|
|
2782
|
-
const se_DescribeSnapshotsRequest = (input, context) => {
|
|
2783
|
-
return {
|
|
2784
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2785
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2786
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2787
|
-
...(input.ShowDetail != null && { ShowDetail: input.ShowDetail }),
|
|
2788
|
-
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2789
|
-
...(input.Source != null && { Source: input.Source }),
|
|
2790
|
-
};
|
|
2791
|
-
};
|
|
2792
|
-
const se_DescribeSubnetGroupsRequest = (input, context) => {
|
|
2793
|
-
return {
|
|
2794
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2795
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2796
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2797
|
-
};
|
|
2798
|
-
};
|
|
2799
|
-
const se_DescribeUsersRequest = (input, context) => {
|
|
2800
|
-
return {
|
|
2801
|
-
...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
|
|
2802
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2803
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2804
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
const se_FailoverShardRequest = (input, context) => {
|
|
2808
|
-
return {
|
|
2809
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2810
|
-
...(input.ShardName != null && { ShardName: input.ShardName }),
|
|
2811
|
-
};
|
|
2812
|
-
};
|
|
2813
|
-
const se_Filter = (input, context) => {
|
|
2814
|
-
return {
|
|
2815
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2816
|
-
...(input.Values != null && { Values: se_FilterValueList(input.Values, context) }),
|
|
2817
|
-
};
|
|
2818
|
-
};
|
|
2819
|
-
const se_FilterList = (input, context) => {
|
|
2820
|
-
return input
|
|
2821
|
-
.filter((e) => e != null)
|
|
2822
|
-
.map((entry) => {
|
|
2823
|
-
return se_Filter(entry, context);
|
|
2538
|
+
return (0, smithy_client_1.take)(input, {
|
|
2539
|
+
Duration: [],
|
|
2540
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2541
|
+
MaxResults: [],
|
|
2542
|
+
NextToken: [],
|
|
2543
|
+
SourceName: [],
|
|
2544
|
+
SourceType: [],
|
|
2545
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
2824
2546
|
});
|
|
2825
2547
|
};
|
|
2826
|
-
const se_FilterValueList = (input, context) => {
|
|
2827
|
-
return input
|
|
2828
|
-
.filter((e) => e != null)
|
|
2829
|
-
.map((entry) => {
|
|
2830
|
-
return entry;
|
|
2831
|
-
});
|
|
2832
|
-
};
|
|
2833
|
-
const se_KeyList = (input, context) => {
|
|
2834
|
-
return input
|
|
2835
|
-
.filter((e) => e != null)
|
|
2836
|
-
.map((entry) => {
|
|
2837
|
-
return entry;
|
|
2838
|
-
});
|
|
2839
|
-
};
|
|
2840
|
-
const se_ListAllowedNodeTypeUpdatesRequest = (input, context) => {
|
|
2841
|
-
return {
|
|
2842
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2843
|
-
};
|
|
2844
|
-
};
|
|
2845
|
-
const se_ListTagsRequest = (input, context) => {
|
|
2846
|
-
return {
|
|
2847
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
const se_ParameterNameList = (input, context) => {
|
|
2851
|
-
return input
|
|
2852
|
-
.filter((e) => e != null)
|
|
2853
|
-
.map((entry) => {
|
|
2854
|
-
return entry;
|
|
2855
|
-
});
|
|
2856
|
-
};
|
|
2857
|
-
const se_ParameterNameValue = (input, context) => {
|
|
2858
|
-
return {
|
|
2859
|
-
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
2860
|
-
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
2861
|
-
};
|
|
2862
|
-
};
|
|
2863
|
-
const se_ParameterNameValueList = (input, context) => {
|
|
2864
|
-
return input
|
|
2865
|
-
.filter((e) => e != null)
|
|
2866
|
-
.map((entry) => {
|
|
2867
|
-
return se_ParameterNameValue(entry, context);
|
|
2868
|
-
});
|
|
2869
|
-
};
|
|
2870
|
-
const se_PasswordListInput = (input, context) => {
|
|
2871
|
-
return input
|
|
2872
|
-
.filter((e) => e != null)
|
|
2873
|
-
.map((entry) => {
|
|
2874
|
-
return entry;
|
|
2875
|
-
});
|
|
2876
|
-
};
|
|
2877
|
-
const se_PurchaseReservedNodesOfferingRequest = (input, context) => {
|
|
2878
|
-
return {
|
|
2879
|
-
...(input.NodeCount != null && { NodeCount: input.NodeCount }),
|
|
2880
|
-
...(input.ReservationId != null && { ReservationId: input.ReservationId }),
|
|
2881
|
-
...(input.ReservedNodesOfferingId != null && { ReservedNodesOfferingId: input.ReservedNodesOfferingId }),
|
|
2882
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const se_ReplicaConfigurationRequest = (input, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
...(input.ReplicaCount != null && { ReplicaCount: input.ReplicaCount }),
|
|
2888
|
-
};
|
|
2889
|
-
};
|
|
2890
|
-
const se_ResetParameterGroupRequest = (input, context) => {
|
|
2891
|
-
return {
|
|
2892
|
-
...(input.AllParameters != null && { AllParameters: input.AllParameters }),
|
|
2893
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2894
|
-
...(input.ParameterNames != null && { ParameterNames: se_ParameterNameList(input.ParameterNames, context) }),
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
const se_SecurityGroupIdsList = (input, context) => {
|
|
2898
|
-
return input
|
|
2899
|
-
.filter((e) => e != null)
|
|
2900
|
-
.map((entry) => {
|
|
2901
|
-
return entry;
|
|
2902
|
-
});
|
|
2903
|
-
};
|
|
2904
|
-
const se_ServiceUpdateRequest = (input, context) => {
|
|
2905
|
-
return {
|
|
2906
|
-
...(input.ServiceUpdateNameToApply != null && { ServiceUpdateNameToApply: input.ServiceUpdateNameToApply }),
|
|
2907
|
-
};
|
|
2908
|
-
};
|
|
2909
|
-
const se_ServiceUpdateStatusList = (input, context) => {
|
|
2910
|
-
return input
|
|
2911
|
-
.filter((e) => e != null)
|
|
2912
|
-
.map((entry) => {
|
|
2913
|
-
return entry;
|
|
2914
|
-
});
|
|
2915
|
-
};
|
|
2916
|
-
const se_ShardConfigurationRequest = (input, context) => {
|
|
2917
|
-
return {
|
|
2918
|
-
...(input.ShardCount != null && { ShardCount: input.ShardCount }),
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
const se_SnapshotArnsList = (input, context) => {
|
|
2922
|
-
return input
|
|
2923
|
-
.filter((e) => e != null)
|
|
2924
|
-
.map((entry) => {
|
|
2925
|
-
return entry;
|
|
2926
|
-
});
|
|
2927
|
-
};
|
|
2928
|
-
const se_SubnetIdentifierList = (input, context) => {
|
|
2929
|
-
return input
|
|
2930
|
-
.filter((e) => e != null)
|
|
2931
|
-
.map((entry) => {
|
|
2932
|
-
return entry;
|
|
2933
|
-
});
|
|
2934
|
-
};
|
|
2935
|
-
const se_Tag = (input, context) => {
|
|
2936
|
-
return {
|
|
2937
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2938
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2939
|
-
};
|
|
2940
|
-
};
|
|
2941
|
-
const se_TagList = (input, context) => {
|
|
2942
|
-
return input
|
|
2943
|
-
.filter((e) => e != null)
|
|
2944
|
-
.map((entry) => {
|
|
2945
|
-
return se_Tag(entry, context);
|
|
2946
|
-
});
|
|
2947
|
-
};
|
|
2948
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2949
|
-
return {
|
|
2950
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2951
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2955
|
-
return {
|
|
2956
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2957
|
-
...(input.TagKeys != null && { TagKeys: se_KeyList(input.TagKeys, context) }),
|
|
2958
|
-
};
|
|
2959
|
-
};
|
|
2960
|
-
const se_UpdateACLRequest = (input, context) => {
|
|
2961
|
-
return {
|
|
2962
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2963
|
-
...(input.UserNamesToAdd != null && { UserNamesToAdd: se_UserNameListInput(input.UserNamesToAdd, context) }),
|
|
2964
|
-
...(input.UserNamesToRemove != null && {
|
|
2965
|
-
UserNamesToRemove: se_UserNameListInput(input.UserNamesToRemove, context),
|
|
2966
|
-
}),
|
|
2967
|
-
};
|
|
2968
|
-
};
|
|
2969
|
-
const se_UpdateClusterRequest = (input, context) => {
|
|
2970
|
-
return {
|
|
2971
|
-
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2972
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2973
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2974
|
-
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
2975
|
-
...(input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow }),
|
|
2976
|
-
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
2977
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2978
|
-
...(input.ReplicaConfiguration != null && {
|
|
2979
|
-
ReplicaConfiguration: se_ReplicaConfigurationRequest(input.ReplicaConfiguration, context),
|
|
2980
|
-
}),
|
|
2981
|
-
...(input.SecurityGroupIds != null && {
|
|
2982
|
-
SecurityGroupIds: se_SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
2983
|
-
}),
|
|
2984
|
-
...(input.ShardConfiguration != null && {
|
|
2985
|
-
ShardConfiguration: se_ShardConfigurationRequest(input.ShardConfiguration, context),
|
|
2986
|
-
}),
|
|
2987
|
-
...(input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit }),
|
|
2988
|
-
...(input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow }),
|
|
2989
|
-
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
2990
|
-
...(input.SnsTopicStatus != null && { SnsTopicStatus: input.SnsTopicStatus }),
|
|
2991
|
-
};
|
|
2992
|
-
};
|
|
2993
|
-
const se_UpdateParameterGroupRequest = (input, context) => {
|
|
2994
|
-
return {
|
|
2995
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2996
|
-
...(input.ParameterNameValues != null && {
|
|
2997
|
-
ParameterNameValues: se_ParameterNameValueList(input.ParameterNameValues, context),
|
|
2998
|
-
}),
|
|
2999
|
-
};
|
|
3000
|
-
};
|
|
3001
|
-
const se_UpdateSubnetGroupRequest = (input, context) => {
|
|
3002
|
-
return {
|
|
3003
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3004
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
3005
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
3006
|
-
};
|
|
3007
|
-
};
|
|
3008
|
-
const se_UpdateUserRequest = (input, context) => {
|
|
3009
|
-
return {
|
|
3010
|
-
...(input.AccessString != null && { AccessString: input.AccessString }),
|
|
3011
|
-
...(input.AuthenticationMode != null && {
|
|
3012
|
-
AuthenticationMode: se_AuthenticationMode(input.AuthenticationMode, context),
|
|
3013
|
-
}),
|
|
3014
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
const se_UserNameListInput = (input, context) => {
|
|
3018
|
-
return input
|
|
3019
|
-
.filter((e) => e != null)
|
|
3020
|
-
.map((entry) => {
|
|
3021
|
-
return entry;
|
|
3022
|
-
});
|
|
3023
|
-
};
|
|
3024
|
-
const de_ACL = (output, context) => {
|
|
3025
|
-
return {
|
|
3026
|
-
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3027
|
-
Clusters: output.Clusters != null ? de_ACLClusterNameList(output.Clusters, context) : undefined,
|
|
3028
|
-
MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
|
|
3029
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3030
|
-
PendingChanges: output.PendingChanges != null ? de_ACLPendingChanges(output.PendingChanges, context) : undefined,
|
|
3031
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3032
|
-
UserNames: output.UserNames != null ? de_UserNameList(output.UserNames, context) : undefined,
|
|
3033
|
-
};
|
|
3034
|
-
};
|
|
3035
|
-
const de_ACLAlreadyExistsFault = (output, context) => {
|
|
3036
|
-
return {
|
|
3037
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3038
|
-
};
|
|
3039
|
-
};
|
|
3040
|
-
const de_ACLClusterNameList = (output, context) => {
|
|
3041
|
-
const retVal = (output || [])
|
|
3042
|
-
.filter((e) => e != null)
|
|
3043
|
-
.map((entry) => {
|
|
3044
|
-
if (entry === null) {
|
|
3045
|
-
return null;
|
|
3046
|
-
}
|
|
3047
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3048
|
-
});
|
|
3049
|
-
return retVal;
|
|
3050
|
-
};
|
|
3051
|
-
const de_ACLList = (output, context) => {
|
|
3052
|
-
const retVal = (output || [])
|
|
3053
|
-
.filter((e) => e != null)
|
|
3054
|
-
.map((entry) => {
|
|
3055
|
-
if (entry === null) {
|
|
3056
|
-
return null;
|
|
3057
|
-
}
|
|
3058
|
-
return de_ACL(entry, context);
|
|
3059
|
-
});
|
|
3060
|
-
return retVal;
|
|
3061
|
-
};
|
|
3062
|
-
const de_ACLNameList = (output, context) => {
|
|
3063
|
-
const retVal = (output || [])
|
|
3064
|
-
.filter((e) => e != null)
|
|
3065
|
-
.map((entry) => {
|
|
3066
|
-
if (entry === null) {
|
|
3067
|
-
return null;
|
|
3068
|
-
}
|
|
3069
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3070
|
-
});
|
|
3071
|
-
return retVal;
|
|
3072
|
-
};
|
|
3073
|
-
const de_ACLNotFoundFault = (output, context) => {
|
|
3074
|
-
return {
|
|
3075
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3076
|
-
};
|
|
3077
|
-
};
|
|
3078
|
-
const de_ACLPendingChanges = (output, context) => {
|
|
3079
|
-
return {
|
|
3080
|
-
UserNamesToAdd: output.UserNamesToAdd != null ? de_UserNameList(output.UserNamesToAdd, context) : undefined,
|
|
3081
|
-
UserNamesToRemove: output.UserNamesToRemove != null ? de_UserNameList(output.UserNamesToRemove, context) : undefined,
|
|
3082
|
-
};
|
|
3083
|
-
};
|
|
3084
|
-
const de_ACLQuotaExceededFault = (output, context) => {
|
|
3085
|
-
return {
|
|
3086
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3087
|
-
};
|
|
3088
|
-
};
|
|
3089
|
-
const de_ACLsUpdateStatus = (output, context) => {
|
|
3090
|
-
return {
|
|
3091
|
-
ACLToApply: (0, smithy_client_1.expectString)(output.ACLToApply),
|
|
3092
|
-
};
|
|
3093
|
-
};
|
|
3094
|
-
const de_APICallRateForCustomerExceededFault = (output, context) => {
|
|
3095
|
-
return {
|
|
3096
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3097
|
-
};
|
|
3098
|
-
};
|
|
3099
|
-
const de_Authentication = (output, context) => {
|
|
3100
|
-
return {
|
|
3101
|
-
PasswordCount: (0, smithy_client_1.expectInt32)(output.PasswordCount),
|
|
3102
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3103
|
-
};
|
|
3104
|
-
};
|
|
3105
|
-
const de_AvailabilityZone = (output, context) => {
|
|
3106
|
-
return {
|
|
3107
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3108
|
-
};
|
|
3109
|
-
};
|
|
3110
2548
|
const de_BatchUpdateClusterResponse = (output, context) => {
|
|
3111
|
-
return {
|
|
3112
|
-
ProcessedClusters:
|
|
3113
|
-
UnprocessedClusters:
|
|
3114
|
-
};
|
|
2549
|
+
return (0, smithy_client_1.take)(output, {
|
|
2550
|
+
ProcessedClusters: (_) => de_ClusterList(_, context),
|
|
2551
|
+
UnprocessedClusters: smithy_client_1._json,
|
|
2552
|
+
});
|
|
3115
2553
|
};
|
|
3116
2554
|
const de_Cluster = (output, context) => {
|
|
3117
|
-
return {
|
|
3118
|
-
ACLName:
|
|
3119
|
-
ARN:
|
|
3120
|
-
AutoMinorVersionUpgrade:
|
|
3121
|
-
AvailabilityMode:
|
|
3122
|
-
ClusterEndpoint:
|
|
3123
|
-
DataTiering:
|
|
3124
|
-
Description:
|
|
3125
|
-
EnginePatchVersion:
|
|
3126
|
-
EngineVersion:
|
|
3127
|
-
KmsKeyId:
|
|
3128
|
-
MaintenanceWindow:
|
|
3129
|
-
Name:
|
|
3130
|
-
NodeType:
|
|
3131
|
-
NumberOfShards:
|
|
3132
|
-
ParameterGroupName:
|
|
3133
|
-
ParameterGroupStatus:
|
|
3134
|
-
PendingUpdates:
|
|
3135
|
-
SecurityGroups:
|
|
3136
|
-
Shards:
|
|
3137
|
-
SnapshotRetentionLimit:
|
|
3138
|
-
SnapshotWindow:
|
|
3139
|
-
SnsTopicArn:
|
|
3140
|
-
SnsTopicStatus:
|
|
3141
|
-
Status:
|
|
3142
|
-
SubnetGroupName:
|
|
3143
|
-
TLSEnabled:
|
|
3144
|
-
};
|
|
3145
|
-
};
|
|
3146
|
-
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
3147
|
-
return {
|
|
3148
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3149
|
-
};
|
|
2555
|
+
return (0, smithy_client_1.take)(output, {
|
|
2556
|
+
ACLName: smithy_client_1.expectString,
|
|
2557
|
+
ARN: smithy_client_1.expectString,
|
|
2558
|
+
AutoMinorVersionUpgrade: smithy_client_1.expectBoolean,
|
|
2559
|
+
AvailabilityMode: smithy_client_1.expectString,
|
|
2560
|
+
ClusterEndpoint: smithy_client_1._json,
|
|
2561
|
+
DataTiering: smithy_client_1.expectString,
|
|
2562
|
+
Description: smithy_client_1.expectString,
|
|
2563
|
+
EnginePatchVersion: smithy_client_1.expectString,
|
|
2564
|
+
EngineVersion: smithy_client_1.expectString,
|
|
2565
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
2566
|
+
MaintenanceWindow: smithy_client_1.expectString,
|
|
2567
|
+
Name: smithy_client_1.expectString,
|
|
2568
|
+
NodeType: smithy_client_1.expectString,
|
|
2569
|
+
NumberOfShards: smithy_client_1.expectInt32,
|
|
2570
|
+
ParameterGroupName: smithy_client_1.expectString,
|
|
2571
|
+
ParameterGroupStatus: smithy_client_1.expectString,
|
|
2572
|
+
PendingUpdates: (_) => de_ClusterPendingUpdates(_, context),
|
|
2573
|
+
SecurityGroups: smithy_client_1._json,
|
|
2574
|
+
Shards: (_) => de_ShardList(_, context),
|
|
2575
|
+
SnapshotRetentionLimit: smithy_client_1.expectInt32,
|
|
2576
|
+
SnapshotWindow: smithy_client_1.expectString,
|
|
2577
|
+
SnsTopicArn: smithy_client_1.expectString,
|
|
2578
|
+
SnsTopicStatus: smithy_client_1.expectString,
|
|
2579
|
+
Status: smithy_client_1.expectString,
|
|
2580
|
+
SubnetGroupName: smithy_client_1.expectString,
|
|
2581
|
+
TLSEnabled: smithy_client_1.expectBoolean,
|
|
2582
|
+
});
|
|
3150
2583
|
};
|
|
3151
2584
|
const de_ClusterConfiguration = (output, context) => {
|
|
3152
|
-
return {
|
|
3153
|
-
Description:
|
|
3154
|
-
EngineVersion:
|
|
3155
|
-
MaintenanceWindow:
|
|
3156
|
-
Name:
|
|
3157
|
-
NodeType:
|
|
3158
|
-
NumShards:
|
|
3159
|
-
ParameterGroupName:
|
|
3160
|
-
Port:
|
|
3161
|
-
Shards:
|
|
3162
|
-
SnapshotRetentionLimit:
|
|
3163
|
-
SnapshotWindow:
|
|
3164
|
-
SubnetGroupName:
|
|
3165
|
-
TopicArn:
|
|
3166
|
-
VpcId:
|
|
3167
|
-
};
|
|
2585
|
+
return (0, smithy_client_1.take)(output, {
|
|
2586
|
+
Description: smithy_client_1.expectString,
|
|
2587
|
+
EngineVersion: smithy_client_1.expectString,
|
|
2588
|
+
MaintenanceWindow: smithy_client_1.expectString,
|
|
2589
|
+
Name: smithy_client_1.expectString,
|
|
2590
|
+
NodeType: smithy_client_1.expectString,
|
|
2591
|
+
NumShards: smithy_client_1.expectInt32,
|
|
2592
|
+
ParameterGroupName: smithy_client_1.expectString,
|
|
2593
|
+
Port: smithy_client_1.expectInt32,
|
|
2594
|
+
Shards: (_) => de_ShardDetails(_, context),
|
|
2595
|
+
SnapshotRetentionLimit: smithy_client_1.expectInt32,
|
|
2596
|
+
SnapshotWindow: smithy_client_1.expectString,
|
|
2597
|
+
SubnetGroupName: smithy_client_1.expectString,
|
|
2598
|
+
TopicArn: smithy_client_1.expectString,
|
|
2599
|
+
VpcId: smithy_client_1.expectString,
|
|
2600
|
+
});
|
|
3168
2601
|
};
|
|
3169
2602
|
const de_ClusterList = (output, context) => {
|
|
3170
2603
|
const retVal = (output || [])
|
|
3171
2604
|
.filter((e) => e != null)
|
|
3172
2605
|
.map((entry) => {
|
|
3173
|
-
if (entry === null) {
|
|
3174
|
-
return null;
|
|
3175
|
-
}
|
|
3176
2606
|
return de_Cluster(entry, context);
|
|
3177
2607
|
});
|
|
3178
2608
|
return retVal;
|
|
3179
2609
|
};
|
|
3180
|
-
const de_ClusterNotFoundFault = (output, context) => {
|
|
3181
|
-
return {
|
|
3182
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3183
|
-
};
|
|
3184
|
-
};
|
|
3185
2610
|
const de_ClusterPendingUpdates = (output, context) => {
|
|
3186
|
-
return {
|
|
3187
|
-
ACLs:
|
|
3188
|
-
Resharding:
|
|
3189
|
-
ServiceUpdates:
|
|
3190
|
-
};
|
|
3191
|
-
};
|
|
3192
|
-
const de_ClusterQuotaForCustomerExceededFault = (output, context) => {
|
|
3193
|
-
return {
|
|
3194
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3195
|
-
};
|
|
3196
|
-
};
|
|
3197
|
-
const de_CopySnapshotResponse = (output, context) => {
|
|
3198
|
-
return {
|
|
3199
|
-
Snapshot: output.Snapshot != null ? de_Snapshot(output.Snapshot, context) : undefined,
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3202
|
-
const de_CreateACLResponse = (output, context) => {
|
|
3203
|
-
return {
|
|
3204
|
-
ACL: output.ACL != null ? de_ACL(output.ACL, context) : undefined,
|
|
3205
|
-
};
|
|
3206
|
-
};
|
|
3207
|
-
const de_CreateClusterResponse = (output, context) => {
|
|
3208
|
-
return {
|
|
3209
|
-
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
const de_CreateParameterGroupResponse = (output, context) => {
|
|
3213
|
-
return {
|
|
3214
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const de_CreateSnapshotResponse = (output, context) => {
|
|
3218
|
-
return {
|
|
3219
|
-
Snapshot: output.Snapshot != null ? de_Snapshot(output.Snapshot, context) : undefined,
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
const de_CreateSubnetGroupResponse = (output, context) => {
|
|
3223
|
-
return {
|
|
3224
|
-
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3225
|
-
};
|
|
3226
|
-
};
|
|
3227
|
-
const de_CreateUserResponse = (output, context) => {
|
|
3228
|
-
return {
|
|
3229
|
-
User: output.User != null ? de_User(output.User, context) : undefined,
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
const de_DefaultUserRequired = (output, context) => {
|
|
3233
|
-
return {
|
|
3234
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3235
|
-
};
|
|
3236
|
-
};
|
|
3237
|
-
const de_DeleteACLResponse = (output, context) => {
|
|
3238
|
-
return {
|
|
3239
|
-
ACL: output.ACL != null ? de_ACL(output.ACL, context) : undefined,
|
|
3240
|
-
};
|
|
3241
|
-
};
|
|
3242
|
-
const de_DeleteClusterResponse = (output, context) => {
|
|
3243
|
-
return {
|
|
3244
|
-
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
3245
|
-
};
|
|
3246
|
-
};
|
|
3247
|
-
const de_DeleteParameterGroupResponse = (output, context) => {
|
|
3248
|
-
return {
|
|
3249
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3250
|
-
};
|
|
3251
|
-
};
|
|
3252
|
-
const de_DeleteSnapshotResponse = (output, context) => {
|
|
3253
|
-
return {
|
|
3254
|
-
Snapshot: output.Snapshot != null ? de_Snapshot(output.Snapshot, context) : undefined,
|
|
3255
|
-
};
|
|
3256
|
-
};
|
|
3257
|
-
const de_DeleteSubnetGroupResponse = (output, context) => {
|
|
3258
|
-
return {
|
|
3259
|
-
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3260
|
-
};
|
|
3261
|
-
};
|
|
3262
|
-
const de_DeleteUserResponse = (output, context) => {
|
|
3263
|
-
return {
|
|
3264
|
-
User: output.User != null ? de_User(output.User, context) : undefined,
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
const de_DescribeACLsResponse = (output, context) => {
|
|
3268
|
-
return {
|
|
3269
|
-
ACLs: output.ACLs != null ? de_ACLList(output.ACLs, context) : undefined,
|
|
3270
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3271
|
-
};
|
|
3272
|
-
};
|
|
3273
|
-
const de_DescribeClustersResponse = (output, context) => {
|
|
3274
|
-
return {
|
|
3275
|
-
Clusters: output.Clusters != null ? de_ClusterList(output.Clusters, context) : undefined,
|
|
3276
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3277
|
-
};
|
|
3278
|
-
};
|
|
3279
|
-
const de_DescribeEngineVersionsResponse = (output, context) => {
|
|
3280
|
-
return {
|
|
3281
|
-
EngineVersions: output.EngineVersions != null ? de_EngineVersionInfoList(output.EngineVersions, context) : undefined,
|
|
3282
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3283
|
-
};
|
|
3284
|
-
};
|
|
3285
|
-
const de_DescribeEventsResponse = (output, context) => {
|
|
3286
|
-
return {
|
|
3287
|
-
Events: output.Events != null ? de_EventList(output.Events, context) : undefined,
|
|
3288
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3289
|
-
};
|
|
3290
|
-
};
|
|
3291
|
-
const de_DescribeParameterGroupsResponse = (output, context) => {
|
|
3292
|
-
return {
|
|
3293
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3294
|
-
ParameterGroups: output.ParameterGroups != null ? de_ParameterGroupList(output.ParameterGroups, context) : undefined,
|
|
3295
|
-
};
|
|
3296
|
-
};
|
|
3297
|
-
const de_DescribeParametersResponse = (output, context) => {
|
|
3298
|
-
return {
|
|
3299
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3300
|
-
Parameters: output.Parameters != null ? de_ParametersList(output.Parameters, context) : undefined,
|
|
3301
|
-
};
|
|
3302
|
-
};
|
|
3303
|
-
const de_DescribeReservedNodesOfferingsResponse = (output, context) => {
|
|
3304
|
-
return {
|
|
3305
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3306
|
-
ReservedNodesOfferings: output.ReservedNodesOfferings != null
|
|
3307
|
-
? de_ReservedNodesOfferingList(output.ReservedNodesOfferings, context)
|
|
3308
|
-
: undefined,
|
|
3309
|
-
};
|
|
3310
|
-
};
|
|
3311
|
-
const de_DescribeReservedNodesResponse = (output, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3314
|
-
ReservedNodes: output.ReservedNodes != null ? de_ReservedNodeList(output.ReservedNodes, context) : undefined,
|
|
3315
|
-
};
|
|
3316
|
-
};
|
|
3317
|
-
const de_DescribeServiceUpdatesResponse = (output, context) => {
|
|
3318
|
-
return {
|
|
3319
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3320
|
-
ServiceUpdates: output.ServiceUpdates != null ? de_ServiceUpdateList(output.ServiceUpdates, context) : undefined,
|
|
3321
|
-
};
|
|
3322
|
-
};
|
|
3323
|
-
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
3324
|
-
return {
|
|
3325
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3326
|
-
Snapshots: output.Snapshots != null ? de_SnapshotList(output.Snapshots, context) : undefined,
|
|
3327
|
-
};
|
|
3328
|
-
};
|
|
3329
|
-
const de_DescribeSubnetGroupsResponse = (output, context) => {
|
|
3330
|
-
return {
|
|
3331
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3332
|
-
SubnetGroups: output.SubnetGroups != null ? de_SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
3333
|
-
};
|
|
3334
|
-
};
|
|
3335
|
-
const de_DescribeUsersResponse = (output, context) => {
|
|
3336
|
-
return {
|
|
3337
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3338
|
-
Users: output.Users != null ? de_UserList(output.Users, context) : undefined,
|
|
3339
|
-
};
|
|
3340
|
-
};
|
|
3341
|
-
const de_DuplicateUserNameFault = (output, context) => {
|
|
3342
|
-
return {
|
|
3343
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3344
|
-
};
|
|
3345
|
-
};
|
|
3346
|
-
const de_Endpoint = (output, context) => {
|
|
3347
|
-
return {
|
|
3348
|
-
Address: (0, smithy_client_1.expectString)(output.Address),
|
|
3349
|
-
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
3350
|
-
};
|
|
3351
|
-
};
|
|
3352
|
-
const de_EngineVersionInfo = (output, context) => {
|
|
3353
|
-
return {
|
|
3354
|
-
EnginePatchVersion: (0, smithy_client_1.expectString)(output.EnginePatchVersion),
|
|
3355
|
-
EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
|
|
3356
|
-
ParameterGroupFamily: (0, smithy_client_1.expectString)(output.ParameterGroupFamily),
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
|
-
const de_EngineVersionInfoList = (output, context) => {
|
|
3360
|
-
const retVal = (output || [])
|
|
3361
|
-
.filter((e) => e != null)
|
|
3362
|
-
.map((entry) => {
|
|
3363
|
-
if (entry === null) {
|
|
3364
|
-
return null;
|
|
3365
|
-
}
|
|
3366
|
-
return de_EngineVersionInfo(entry, context);
|
|
2611
|
+
return (0, smithy_client_1.take)(output, {
|
|
2612
|
+
ACLs: smithy_client_1._json,
|
|
2613
|
+
Resharding: (_) => de_ReshardingStatus(_, context),
|
|
2614
|
+
ServiceUpdates: smithy_client_1._json,
|
|
3367
2615
|
});
|
|
3368
|
-
return retVal;
|
|
3369
|
-
};
|
|
3370
|
-
const de_Event = (output, context) => {
|
|
3371
|
-
return {
|
|
3372
|
-
Date: output.Date != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date))) : undefined,
|
|
3373
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3374
|
-
SourceName: (0, smithy_client_1.expectString)(output.SourceName),
|
|
3375
|
-
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
3376
|
-
};
|
|
3377
2616
|
};
|
|
3378
|
-
const
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
.map((entry) => {
|
|
3382
|
-
if (entry === null) {
|
|
3383
|
-
return null;
|
|
3384
|
-
}
|
|
3385
|
-
return de_Event(entry, context);
|
|
2617
|
+
const de_CopySnapshotResponse = (output, context) => {
|
|
2618
|
+
return (0, smithy_client_1.take)(output, {
|
|
2619
|
+
Snapshot: (_) => de_Snapshot(_, context),
|
|
3386
2620
|
});
|
|
3387
|
-
return retVal;
|
|
3388
|
-
};
|
|
3389
|
-
const de_FailoverShardResponse = (output, context) => {
|
|
3390
|
-
return {
|
|
3391
|
-
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
3392
|
-
};
|
|
3393
|
-
};
|
|
3394
|
-
const de_InsufficientClusterCapacityFault = (output, context) => {
|
|
3395
|
-
return {
|
|
3396
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3397
|
-
};
|
|
3398
|
-
};
|
|
3399
|
-
const de_InvalidACLStateFault = (output, context) => {
|
|
3400
|
-
return {
|
|
3401
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3402
|
-
};
|
|
3403
2621
|
};
|
|
3404
|
-
const
|
|
3405
|
-
return {
|
|
3406
|
-
|
|
3407
|
-
};
|
|
3408
|
-
};
|
|
3409
|
-
const de_InvalidClusterStateFault = (output, context) => {
|
|
3410
|
-
return {
|
|
3411
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3412
|
-
};
|
|
3413
|
-
};
|
|
3414
|
-
const de_InvalidCredentialsException = (output, context) => {
|
|
3415
|
-
return {
|
|
3416
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3417
|
-
};
|
|
3418
|
-
};
|
|
3419
|
-
const de_InvalidKMSKeyFault = (output, context) => {
|
|
3420
|
-
return {
|
|
3421
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3422
|
-
};
|
|
3423
|
-
};
|
|
3424
|
-
const de_InvalidNodeStateFault = (output, context) => {
|
|
3425
|
-
return {
|
|
3426
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3427
|
-
};
|
|
3428
|
-
};
|
|
3429
|
-
const de_InvalidParameterCombinationException = (output, context) => {
|
|
3430
|
-
return {
|
|
3431
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3432
|
-
};
|
|
3433
|
-
};
|
|
3434
|
-
const de_InvalidParameterGroupStateFault = (output, context) => {
|
|
3435
|
-
return {
|
|
3436
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3437
|
-
};
|
|
3438
|
-
};
|
|
3439
|
-
const de_InvalidParameterValueException = (output, context) => {
|
|
3440
|
-
return {
|
|
3441
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3442
|
-
};
|
|
3443
|
-
};
|
|
3444
|
-
const de_InvalidSnapshotStateFault = (output, context) => {
|
|
3445
|
-
return {
|
|
3446
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
const de_InvalidSubnet = (output, context) => {
|
|
3450
|
-
return {
|
|
3451
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3452
|
-
};
|
|
3453
|
-
};
|
|
3454
|
-
const de_InvalidUserStateFault = (output, context) => {
|
|
3455
|
-
return {
|
|
3456
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
const de_InvalidVPCNetworkStateFault = (output, context) => {
|
|
3460
|
-
return {
|
|
3461
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3462
|
-
};
|
|
3463
|
-
};
|
|
3464
|
-
const de_ListAllowedNodeTypeUpdatesResponse = (output, context) => {
|
|
3465
|
-
return {
|
|
3466
|
-
ScaleDownNodeTypes: output.ScaleDownNodeTypes != null ? de_NodeTypeList(output.ScaleDownNodeTypes, context) : undefined,
|
|
3467
|
-
ScaleUpNodeTypes: output.ScaleUpNodeTypes != null ? de_NodeTypeList(output.ScaleUpNodeTypes, context) : undefined,
|
|
3468
|
-
};
|
|
3469
|
-
};
|
|
3470
|
-
const de_ListTagsResponse = (output, context) => {
|
|
3471
|
-
return {
|
|
3472
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
3473
|
-
};
|
|
3474
|
-
};
|
|
3475
|
-
const de_Node = (output, context) => {
|
|
3476
|
-
return {
|
|
3477
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
3478
|
-
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
3479
|
-
Endpoint: output.Endpoint != null ? de_Endpoint(output.Endpoint, context) : undefined,
|
|
3480
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3481
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3482
|
-
};
|
|
3483
|
-
};
|
|
3484
|
-
const de_NodeList = (output, context) => {
|
|
3485
|
-
const retVal = (output || [])
|
|
3486
|
-
.filter((e) => e != null)
|
|
3487
|
-
.map((entry) => {
|
|
3488
|
-
if (entry === null) {
|
|
3489
|
-
return null;
|
|
3490
|
-
}
|
|
3491
|
-
return de_Node(entry, context);
|
|
2622
|
+
const de_CreateClusterResponse = (output, context) => {
|
|
2623
|
+
return (0, smithy_client_1.take)(output, {
|
|
2624
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
3492
2625
|
});
|
|
3493
|
-
return retVal;
|
|
3494
2626
|
};
|
|
3495
|
-
const
|
|
3496
|
-
return {
|
|
3497
|
-
|
|
3498
|
-
};
|
|
2627
|
+
const de_CreateSnapshotResponse = (output, context) => {
|
|
2628
|
+
return (0, smithy_client_1.take)(output, {
|
|
2629
|
+
Snapshot: (_) => de_Snapshot(_, context),
|
|
2630
|
+
});
|
|
3499
2631
|
};
|
|
3500
|
-
const
|
|
3501
|
-
return {
|
|
3502
|
-
|
|
3503
|
-
};
|
|
2632
|
+
const de_DeleteClusterResponse = (output, context) => {
|
|
2633
|
+
return (0, smithy_client_1.take)(output, {
|
|
2634
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
2635
|
+
});
|
|
3504
2636
|
};
|
|
3505
|
-
const
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
.map((entry) => {
|
|
3509
|
-
if (entry === null) {
|
|
3510
|
-
return null;
|
|
3511
|
-
}
|
|
3512
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2637
|
+
const de_DeleteSnapshotResponse = (output, context) => {
|
|
2638
|
+
return (0, smithy_client_1.take)(output, {
|
|
2639
|
+
Snapshot: (_) => de_Snapshot(_, context),
|
|
3513
2640
|
});
|
|
3514
|
-
return retVal;
|
|
3515
2641
|
};
|
|
3516
|
-
const
|
|
3517
|
-
return {
|
|
3518
|
-
|
|
3519
|
-
|
|
2642
|
+
const de_DescribeClustersResponse = (output, context) => {
|
|
2643
|
+
return (0, smithy_client_1.take)(output, {
|
|
2644
|
+
Clusters: (_) => de_ClusterList(_, context),
|
|
2645
|
+
NextToken: smithy_client_1.expectString,
|
|
2646
|
+
});
|
|
3520
2647
|
};
|
|
3521
|
-
const
|
|
3522
|
-
return {
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
|
|
3527
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3528
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3529
|
-
};
|
|
2648
|
+
const de_DescribeEventsResponse = (output, context) => {
|
|
2649
|
+
return (0, smithy_client_1.take)(output, {
|
|
2650
|
+
Events: (_) => de_EventList(_, context),
|
|
2651
|
+
NextToken: smithy_client_1.expectString,
|
|
2652
|
+
});
|
|
3530
2653
|
};
|
|
3531
|
-
const
|
|
3532
|
-
return {
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3537
|
-
};
|
|
2654
|
+
const de_DescribeReservedNodesOfferingsResponse = (output, context) => {
|
|
2655
|
+
return (0, smithy_client_1.take)(output, {
|
|
2656
|
+
NextToken: smithy_client_1.expectString,
|
|
2657
|
+
ReservedNodesOfferings: (_) => de_ReservedNodesOfferingList(_, context),
|
|
2658
|
+
});
|
|
3538
2659
|
};
|
|
3539
|
-
const
|
|
3540
|
-
return {
|
|
3541
|
-
|
|
3542
|
-
|
|
2660
|
+
const de_DescribeReservedNodesResponse = (output, context) => {
|
|
2661
|
+
return (0, smithy_client_1.take)(output, {
|
|
2662
|
+
NextToken: smithy_client_1.expectString,
|
|
2663
|
+
ReservedNodes: (_) => de_ReservedNodeList(_, context),
|
|
2664
|
+
});
|
|
3543
2665
|
};
|
|
3544
|
-
const
|
|
3545
|
-
|
|
3546
|
-
.
|
|
3547
|
-
|
|
3548
|
-
if (entry === null) {
|
|
3549
|
-
return null;
|
|
3550
|
-
}
|
|
3551
|
-
return de_ParameterGroup(entry, context);
|
|
2666
|
+
const de_DescribeServiceUpdatesResponse = (output, context) => {
|
|
2667
|
+
return (0, smithy_client_1.take)(output, {
|
|
2668
|
+
NextToken: smithy_client_1.expectString,
|
|
2669
|
+
ServiceUpdates: (_) => de_ServiceUpdateList(_, context),
|
|
3552
2670
|
});
|
|
3553
|
-
return retVal;
|
|
3554
2671
|
};
|
|
3555
|
-
const
|
|
3556
|
-
return {
|
|
3557
|
-
|
|
3558
|
-
|
|
2672
|
+
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
2673
|
+
return (0, smithy_client_1.take)(output, {
|
|
2674
|
+
NextToken: smithy_client_1.expectString,
|
|
2675
|
+
Snapshots: (_) => de_SnapshotList(_, context),
|
|
2676
|
+
});
|
|
3559
2677
|
};
|
|
3560
|
-
const
|
|
3561
|
-
return {
|
|
3562
|
-
|
|
3563
|
-
|
|
2678
|
+
const de_Event = (output, context) => {
|
|
2679
|
+
return (0, smithy_client_1.take)(output, {
|
|
2680
|
+
Date: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2681
|
+
Message: smithy_client_1.expectString,
|
|
2682
|
+
SourceName: smithy_client_1.expectString,
|
|
2683
|
+
SourceType: smithy_client_1.expectString,
|
|
2684
|
+
});
|
|
3564
2685
|
};
|
|
3565
|
-
const
|
|
2686
|
+
const de_EventList = (output, context) => {
|
|
3566
2687
|
const retVal = (output || [])
|
|
3567
2688
|
.filter((e) => e != null)
|
|
3568
2689
|
.map((entry) => {
|
|
3569
|
-
|
|
3570
|
-
return null;
|
|
3571
|
-
}
|
|
3572
|
-
return de_Parameter(entry, context);
|
|
2690
|
+
return de_Event(entry, context);
|
|
3573
2691
|
});
|
|
3574
2692
|
return retVal;
|
|
3575
2693
|
};
|
|
3576
|
-
const
|
|
3577
|
-
return {
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
2694
|
+
const de_FailoverShardResponse = (output, context) => {
|
|
2695
|
+
return (0, smithy_client_1.take)(output, {
|
|
2696
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
2697
|
+
});
|
|
2698
|
+
};
|
|
2699
|
+
const de_Node = (output, context) => {
|
|
2700
|
+
return (0, smithy_client_1.take)(output, {
|
|
2701
|
+
AvailabilityZone: smithy_client_1.expectString,
|
|
2702
|
+
CreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2703
|
+
Endpoint: smithy_client_1._json,
|
|
2704
|
+
Name: smithy_client_1.expectString,
|
|
2705
|
+
Status: smithy_client_1.expectString,
|
|
2706
|
+
});
|
|
3581
2707
|
};
|
|
3582
|
-
const
|
|
2708
|
+
const de_NodeList = (output, context) => {
|
|
3583
2709
|
const retVal = (output || [])
|
|
3584
2710
|
.filter((e) => e != null)
|
|
3585
2711
|
.map((entry) => {
|
|
3586
|
-
|
|
3587
|
-
return null;
|
|
3588
|
-
}
|
|
3589
|
-
return de_PendingModifiedServiceUpdate(entry, context);
|
|
2712
|
+
return de_Node(entry, context);
|
|
3590
2713
|
});
|
|
3591
2714
|
return retVal;
|
|
3592
2715
|
};
|
|
3593
2716
|
const de_PurchaseReservedNodesOfferingResponse = (output, context) => {
|
|
3594
|
-
return {
|
|
3595
|
-
ReservedNode:
|
|
3596
|
-
};
|
|
2717
|
+
return (0, smithy_client_1.take)(output, {
|
|
2718
|
+
ReservedNode: (_) => de_ReservedNode(_, context),
|
|
2719
|
+
});
|
|
3597
2720
|
};
|
|
3598
2721
|
const de_RecurringCharge = (output, context) => {
|
|
3599
|
-
return {
|
|
3600
|
-
RecurringChargeAmount:
|
|
3601
|
-
RecurringChargeFrequency:
|
|
3602
|
-
};
|
|
2722
|
+
return (0, smithy_client_1.take)(output, {
|
|
2723
|
+
RecurringChargeAmount: smithy_client_1.limitedParseDouble,
|
|
2724
|
+
RecurringChargeFrequency: smithy_client_1.expectString,
|
|
2725
|
+
});
|
|
3603
2726
|
};
|
|
3604
2727
|
const de_RecurringChargeList = (output, context) => {
|
|
3605
2728
|
const retVal = (output || [])
|
|
3606
2729
|
.filter((e) => e != null)
|
|
3607
2730
|
.map((entry) => {
|
|
3608
|
-
if (entry === null) {
|
|
3609
|
-
return null;
|
|
3610
|
-
}
|
|
3611
2731
|
return de_RecurringCharge(entry, context);
|
|
3612
2732
|
});
|
|
3613
2733
|
return retVal;
|
|
3614
2734
|
};
|
|
3615
2735
|
const de_ReservedNode = (output, context) => {
|
|
3616
|
-
return {
|
|
3617
|
-
ARN:
|
|
3618
|
-
Duration:
|
|
3619
|
-
FixedPrice:
|
|
3620
|
-
NodeCount:
|
|
3621
|
-
NodeType:
|
|
3622
|
-
OfferingType:
|
|
3623
|
-
RecurringCharges:
|
|
3624
|
-
ReservationId:
|
|
3625
|
-
ReservedNodesOfferingId:
|
|
3626
|
-
StartTime:
|
|
3627
|
-
State:
|
|
3628
|
-
};
|
|
3629
|
-
};
|
|
3630
|
-
const de_ReservedNodeAlreadyExistsFault = (output, context) => {
|
|
3631
|
-
return {
|
|
3632
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3633
|
-
};
|
|
2736
|
+
return (0, smithy_client_1.take)(output, {
|
|
2737
|
+
ARN: smithy_client_1.expectString,
|
|
2738
|
+
Duration: smithy_client_1.expectInt32,
|
|
2739
|
+
FixedPrice: smithy_client_1.limitedParseDouble,
|
|
2740
|
+
NodeCount: smithy_client_1.expectInt32,
|
|
2741
|
+
NodeType: smithy_client_1.expectString,
|
|
2742
|
+
OfferingType: smithy_client_1.expectString,
|
|
2743
|
+
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
2744
|
+
ReservationId: smithy_client_1.expectString,
|
|
2745
|
+
ReservedNodesOfferingId: smithy_client_1.expectString,
|
|
2746
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2747
|
+
State: smithy_client_1.expectString,
|
|
2748
|
+
});
|
|
3634
2749
|
};
|
|
3635
2750
|
const de_ReservedNodeList = (output, context) => {
|
|
3636
2751
|
const retVal = (output || [])
|
|
3637
2752
|
.filter((e) => e != null)
|
|
3638
2753
|
.map((entry) => {
|
|
3639
|
-
if (entry === null) {
|
|
3640
|
-
return null;
|
|
3641
|
-
}
|
|
3642
2754
|
return de_ReservedNode(entry, context);
|
|
3643
2755
|
});
|
|
3644
2756
|
return retVal;
|
|
3645
2757
|
};
|
|
3646
|
-
const de_ReservedNodeNotFoundFault = (output, context) => {
|
|
3647
|
-
return {
|
|
3648
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3649
|
-
};
|
|
3650
|
-
};
|
|
3651
|
-
const de_ReservedNodeQuotaExceededFault = (output, context) => {
|
|
3652
|
-
return {
|
|
3653
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3654
|
-
};
|
|
3655
|
-
};
|
|
3656
2758
|
const de_ReservedNodesOffering = (output, context) => {
|
|
3657
|
-
return {
|
|
3658
|
-
Duration:
|
|
3659
|
-
FixedPrice:
|
|
3660
|
-
NodeType:
|
|
3661
|
-
OfferingType:
|
|
3662
|
-
RecurringCharges:
|
|
3663
|
-
ReservedNodesOfferingId:
|
|
3664
|
-
};
|
|
2759
|
+
return (0, smithy_client_1.take)(output, {
|
|
2760
|
+
Duration: smithy_client_1.expectInt32,
|
|
2761
|
+
FixedPrice: smithy_client_1.limitedParseDouble,
|
|
2762
|
+
NodeType: smithy_client_1.expectString,
|
|
2763
|
+
OfferingType: smithy_client_1.expectString,
|
|
2764
|
+
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
2765
|
+
ReservedNodesOfferingId: smithy_client_1.expectString,
|
|
2766
|
+
});
|
|
3665
2767
|
};
|
|
3666
2768
|
const de_ReservedNodesOfferingList = (output, context) => {
|
|
3667
2769
|
const retVal = (output || [])
|
|
3668
2770
|
.filter((e) => e != null)
|
|
3669
2771
|
.map((entry) => {
|
|
3670
|
-
if (entry === null) {
|
|
3671
|
-
return null;
|
|
3672
|
-
}
|
|
3673
2772
|
return de_ReservedNodesOffering(entry, context);
|
|
3674
2773
|
});
|
|
3675
2774
|
return retVal;
|
|
3676
2775
|
};
|
|
3677
|
-
const de_ReservedNodesOfferingNotFoundFault = (output, context) => {
|
|
3678
|
-
return {
|
|
3679
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3680
|
-
};
|
|
3681
|
-
};
|
|
3682
|
-
const de_ResetParameterGroupResponse = (output, context) => {
|
|
3683
|
-
return {
|
|
3684
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3685
|
-
};
|
|
3686
|
-
};
|
|
3687
2776
|
const de_ReshardingStatus = (output, context) => {
|
|
3688
|
-
return {
|
|
3689
|
-
SlotMigration:
|
|
3690
|
-
};
|
|
3691
|
-
};
|
|
3692
|
-
const de_SecurityGroupMembership = (output, context) => {
|
|
3693
|
-
return {
|
|
3694
|
-
SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
|
|
3695
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3696
|
-
};
|
|
3697
|
-
};
|
|
3698
|
-
const de_SecurityGroupMembershipList = (output, context) => {
|
|
3699
|
-
const retVal = (output || [])
|
|
3700
|
-
.filter((e) => e != null)
|
|
3701
|
-
.map((entry) => {
|
|
3702
|
-
if (entry === null) {
|
|
3703
|
-
return null;
|
|
3704
|
-
}
|
|
3705
|
-
return de_SecurityGroupMembership(entry, context);
|
|
2777
|
+
return (0, smithy_client_1.take)(output, {
|
|
2778
|
+
SlotMigration: (_) => de_SlotMigration(_, context),
|
|
3706
2779
|
});
|
|
3707
|
-
return retVal;
|
|
3708
|
-
};
|
|
3709
|
-
const de_ServiceLinkedRoleNotFoundFault = (output, context) => {
|
|
3710
|
-
return {
|
|
3711
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3712
|
-
};
|
|
3713
2780
|
};
|
|
3714
2781
|
const de_ServiceUpdate = (output, context) => {
|
|
3715
|
-
return {
|
|
3716
|
-
AutoUpdateStartDate:
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
ServiceUpdateName: (0, smithy_client_1.expectString)(output.ServiceUpdateName),
|
|
3726
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3727
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3728
|
-
};
|
|
2782
|
+
return (0, smithy_client_1.take)(output, {
|
|
2783
|
+
AutoUpdateStartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2784
|
+
ClusterName: smithy_client_1.expectString,
|
|
2785
|
+
Description: smithy_client_1.expectString,
|
|
2786
|
+
NodesUpdated: smithy_client_1.expectString,
|
|
2787
|
+
ReleaseDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2788
|
+
ServiceUpdateName: smithy_client_1.expectString,
|
|
2789
|
+
Status: smithy_client_1.expectString,
|
|
2790
|
+
Type: smithy_client_1.expectString,
|
|
2791
|
+
});
|
|
3729
2792
|
};
|
|
3730
2793
|
const de_ServiceUpdateList = (output, context) => {
|
|
3731
2794
|
const retVal = (output || [])
|
|
3732
2795
|
.filter((e) => e != null)
|
|
3733
2796
|
.map((entry) => {
|
|
3734
|
-
if (entry === null) {
|
|
3735
|
-
return null;
|
|
3736
|
-
}
|
|
3737
2797
|
return de_ServiceUpdate(entry, context);
|
|
3738
2798
|
});
|
|
3739
2799
|
return retVal;
|
|
3740
2800
|
};
|
|
3741
|
-
const de_ServiceUpdateNotFoundFault = (output, context) => {
|
|
3742
|
-
return {
|
|
3743
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3744
|
-
};
|
|
3745
|
-
};
|
|
3746
2801
|
const de_Shard = (output, context) => {
|
|
3747
|
-
return {
|
|
3748
|
-
Name:
|
|
3749
|
-
Nodes:
|
|
3750
|
-
NumberOfNodes:
|
|
3751
|
-
Slots:
|
|
3752
|
-
Status:
|
|
3753
|
-
};
|
|
3754
|
-
};
|
|
3755
|
-
const de_ShardConfiguration = (output, context) => {
|
|
3756
|
-
return {
|
|
3757
|
-
ReplicaCount: (0, smithy_client_1.expectInt32)(output.ReplicaCount),
|
|
3758
|
-
Slots: (0, smithy_client_1.expectString)(output.Slots),
|
|
3759
|
-
};
|
|
2802
|
+
return (0, smithy_client_1.take)(output, {
|
|
2803
|
+
Name: smithy_client_1.expectString,
|
|
2804
|
+
Nodes: (_) => de_NodeList(_, context),
|
|
2805
|
+
NumberOfNodes: smithy_client_1.expectInt32,
|
|
2806
|
+
Slots: smithy_client_1.expectString,
|
|
2807
|
+
Status: smithy_client_1.expectString,
|
|
2808
|
+
});
|
|
3760
2809
|
};
|
|
3761
2810
|
const de_ShardDetail = (output, context) => {
|
|
3762
|
-
return {
|
|
3763
|
-
Configuration:
|
|
3764
|
-
Name:
|
|
3765
|
-
Size:
|
|
3766
|
-
SnapshotCreationTime:
|
|
3767
|
-
|
|
3768
|
-
: undefined,
|
|
3769
|
-
};
|
|
2811
|
+
return (0, smithy_client_1.take)(output, {
|
|
2812
|
+
Configuration: smithy_client_1._json,
|
|
2813
|
+
Name: smithy_client_1.expectString,
|
|
2814
|
+
Size: smithy_client_1.expectString,
|
|
2815
|
+
SnapshotCreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2816
|
+
});
|
|
3770
2817
|
};
|
|
3771
2818
|
const de_ShardDetails = (output, context) => {
|
|
3772
2819
|
const retVal = (output || [])
|
|
3773
2820
|
.filter((e) => e != null)
|
|
3774
2821
|
.map((entry) => {
|
|
3775
|
-
if (entry === null) {
|
|
3776
|
-
return null;
|
|
3777
|
-
}
|
|
3778
2822
|
return de_ShardDetail(entry, context);
|
|
3779
2823
|
});
|
|
3780
2824
|
return retVal;
|
|
@@ -3783,269 +2827,38 @@ const de_ShardList = (output, context) => {
|
|
|
3783
2827
|
const retVal = (output || [])
|
|
3784
2828
|
.filter((e) => e != null)
|
|
3785
2829
|
.map((entry) => {
|
|
3786
|
-
if (entry === null) {
|
|
3787
|
-
return null;
|
|
3788
|
-
}
|
|
3789
2830
|
return de_Shard(entry, context);
|
|
3790
2831
|
});
|
|
3791
2832
|
return retVal;
|
|
3792
2833
|
};
|
|
3793
|
-
const de_ShardNotFoundFault = (output, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3796
|
-
};
|
|
3797
|
-
};
|
|
3798
|
-
const de_ShardsPerClusterQuotaExceededFault = (output, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3801
|
-
};
|
|
3802
|
-
};
|
|
3803
2834
|
const de_SlotMigration = (output, context) => {
|
|
3804
|
-
return {
|
|
3805
|
-
ProgressPercentage:
|
|
3806
|
-
};
|
|
2835
|
+
return (0, smithy_client_1.take)(output, {
|
|
2836
|
+
ProgressPercentage: smithy_client_1.limitedParseDouble,
|
|
2837
|
+
});
|
|
3807
2838
|
};
|
|
3808
2839
|
const de_Snapshot = (output, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
ARN:
|
|
3811
|
-
ClusterConfiguration:
|
|
3812
|
-
DataTiering:
|
|
3813
|
-
KmsKeyId:
|
|
3814
|
-
Name:
|
|
3815
|
-
Source:
|
|
3816
|
-
Status:
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
const de_SnapshotAlreadyExistsFault = (output, context) => {
|
|
3820
|
-
return {
|
|
3821
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3822
|
-
};
|
|
2840
|
+
return (0, smithy_client_1.take)(output, {
|
|
2841
|
+
ARN: smithy_client_1.expectString,
|
|
2842
|
+
ClusterConfiguration: (_) => de_ClusterConfiguration(_, context),
|
|
2843
|
+
DataTiering: smithy_client_1.expectString,
|
|
2844
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
2845
|
+
Name: smithy_client_1.expectString,
|
|
2846
|
+
Source: smithy_client_1.expectString,
|
|
2847
|
+
Status: smithy_client_1.expectString,
|
|
2848
|
+
});
|
|
3823
2849
|
};
|
|
3824
2850
|
const de_SnapshotList = (output, context) => {
|
|
3825
2851
|
const retVal = (output || [])
|
|
3826
2852
|
.filter((e) => e != null)
|
|
3827
2853
|
.map((entry) => {
|
|
3828
|
-
if (entry === null) {
|
|
3829
|
-
return null;
|
|
3830
|
-
}
|
|
3831
2854
|
return de_Snapshot(entry, context);
|
|
3832
2855
|
});
|
|
3833
2856
|
return retVal;
|
|
3834
2857
|
};
|
|
3835
|
-
const de_SnapshotNotFoundFault = (output, context) => {
|
|
3836
|
-
return {
|
|
3837
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3838
|
-
};
|
|
3839
|
-
};
|
|
3840
|
-
const de_SnapshotQuotaExceededFault = (output, context) => {
|
|
3841
|
-
return {
|
|
3842
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3843
|
-
};
|
|
3844
|
-
};
|
|
3845
|
-
const de_Subnet = (output, context) => {
|
|
3846
|
-
return {
|
|
3847
|
-
AvailabilityZone: output.AvailabilityZone != null ? de_AvailabilityZone(output.AvailabilityZone, context) : undefined,
|
|
3848
|
-
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
3849
|
-
};
|
|
3850
|
-
};
|
|
3851
|
-
const de_SubnetGroup = (output, context) => {
|
|
3852
|
-
return {
|
|
3853
|
-
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3854
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3855
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3856
|
-
Subnets: output.Subnets != null ? de_SubnetList(output.Subnets, context) : undefined,
|
|
3857
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3858
|
-
};
|
|
3859
|
-
};
|
|
3860
|
-
const de_SubnetGroupAlreadyExistsFault = (output, context) => {
|
|
3861
|
-
return {
|
|
3862
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
3865
|
-
const de_SubnetGroupInUseFault = (output, context) => {
|
|
3866
|
-
return {
|
|
3867
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3868
|
-
};
|
|
3869
|
-
};
|
|
3870
|
-
const de_SubnetGroupList = (output, context) => {
|
|
3871
|
-
const retVal = (output || [])
|
|
3872
|
-
.filter((e) => e != null)
|
|
3873
|
-
.map((entry) => {
|
|
3874
|
-
if (entry === null) {
|
|
3875
|
-
return null;
|
|
3876
|
-
}
|
|
3877
|
-
return de_SubnetGroup(entry, context);
|
|
3878
|
-
});
|
|
3879
|
-
return retVal;
|
|
3880
|
-
};
|
|
3881
|
-
const de_SubnetGroupNotFoundFault = (output, context) => {
|
|
3882
|
-
return {
|
|
3883
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3884
|
-
};
|
|
3885
|
-
};
|
|
3886
|
-
const de_SubnetGroupQuotaExceededFault = (output, context) => {
|
|
3887
|
-
return {
|
|
3888
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3889
|
-
};
|
|
3890
|
-
};
|
|
3891
|
-
const de_SubnetInUse = (output, context) => {
|
|
3892
|
-
return {
|
|
3893
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
const de_SubnetList = (output, context) => {
|
|
3897
|
-
const retVal = (output || [])
|
|
3898
|
-
.filter((e) => e != null)
|
|
3899
|
-
.map((entry) => {
|
|
3900
|
-
if (entry === null) {
|
|
3901
|
-
return null;
|
|
3902
|
-
}
|
|
3903
|
-
return de_Subnet(entry, context);
|
|
3904
|
-
});
|
|
3905
|
-
return retVal;
|
|
3906
|
-
};
|
|
3907
|
-
const de_SubnetNotAllowedFault = (output, context) => {
|
|
3908
|
-
return {
|
|
3909
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3910
|
-
};
|
|
3911
|
-
};
|
|
3912
|
-
const de_SubnetQuotaExceededFault = (output, context) => {
|
|
3913
|
-
return {
|
|
3914
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3915
|
-
};
|
|
3916
|
-
};
|
|
3917
|
-
const de_Tag = (output, context) => {
|
|
3918
|
-
return {
|
|
3919
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3920
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3921
|
-
};
|
|
3922
|
-
};
|
|
3923
|
-
const de_TagList = (output, context) => {
|
|
3924
|
-
const retVal = (output || [])
|
|
3925
|
-
.filter((e) => e != null)
|
|
3926
|
-
.map((entry) => {
|
|
3927
|
-
if (entry === null) {
|
|
3928
|
-
return null;
|
|
3929
|
-
}
|
|
3930
|
-
return de_Tag(entry, context);
|
|
3931
|
-
});
|
|
3932
|
-
return retVal;
|
|
3933
|
-
};
|
|
3934
|
-
const de_TagNotFoundFault = (output, context) => {
|
|
3935
|
-
return {
|
|
3936
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3937
|
-
};
|
|
3938
|
-
};
|
|
3939
|
-
const de_TagQuotaPerResourceExceeded = (output, context) => {
|
|
3940
|
-
return {
|
|
3941
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3942
|
-
};
|
|
3943
|
-
};
|
|
3944
|
-
const de_TagResourceResponse = (output, context) => {
|
|
3945
|
-
return {
|
|
3946
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
3947
|
-
};
|
|
3948
|
-
};
|
|
3949
|
-
const de_TestFailoverNotAvailableFault = (output, context) => {
|
|
3950
|
-
return {
|
|
3951
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3952
|
-
};
|
|
3953
|
-
};
|
|
3954
|
-
const de_UnprocessedCluster = (output, context) => {
|
|
3955
|
-
return {
|
|
3956
|
-
ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
|
|
3957
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3958
|
-
ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
|
|
3959
|
-
};
|
|
3960
|
-
};
|
|
3961
|
-
const de_UnprocessedClusterList = (output, context) => {
|
|
3962
|
-
const retVal = (output || [])
|
|
3963
|
-
.filter((e) => e != null)
|
|
3964
|
-
.map((entry) => {
|
|
3965
|
-
if (entry === null) {
|
|
3966
|
-
return null;
|
|
3967
|
-
}
|
|
3968
|
-
return de_UnprocessedCluster(entry, context);
|
|
3969
|
-
});
|
|
3970
|
-
return retVal;
|
|
3971
|
-
};
|
|
3972
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
3973
|
-
return {
|
|
3974
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
3975
|
-
};
|
|
3976
|
-
};
|
|
3977
|
-
const de_UpdateACLResponse = (output, context) => {
|
|
3978
|
-
return {
|
|
3979
|
-
ACL: output.ACL != null ? de_ACL(output.ACL, context) : undefined,
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
2858
|
const de_UpdateClusterResponse = (output, context) => {
|
|
3983
|
-
return {
|
|
3984
|
-
Cluster:
|
|
3985
|
-
};
|
|
3986
|
-
};
|
|
3987
|
-
const de_UpdateParameterGroupResponse = (output, context) => {
|
|
3988
|
-
return {
|
|
3989
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3990
|
-
};
|
|
3991
|
-
};
|
|
3992
|
-
const de_UpdateSubnetGroupResponse = (output, context) => {
|
|
3993
|
-
return {
|
|
3994
|
-
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3995
|
-
};
|
|
3996
|
-
};
|
|
3997
|
-
const de_UpdateUserResponse = (output, context) => {
|
|
3998
|
-
return {
|
|
3999
|
-
User: output.User != null ? de_User(output.User, context) : undefined,
|
|
4000
|
-
};
|
|
4001
|
-
};
|
|
4002
|
-
const de_User = (output, context) => {
|
|
4003
|
-
return {
|
|
4004
|
-
ACLNames: output.ACLNames != null ? de_ACLNameList(output.ACLNames, context) : undefined,
|
|
4005
|
-
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
4006
|
-
AccessString: (0, smithy_client_1.expectString)(output.AccessString),
|
|
4007
|
-
Authentication: output.Authentication != null ? de_Authentication(output.Authentication, context) : undefined,
|
|
4008
|
-
MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
|
|
4009
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4010
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4011
|
-
};
|
|
4012
|
-
};
|
|
4013
|
-
const de_UserAlreadyExistsFault = (output, context) => {
|
|
4014
|
-
return {
|
|
4015
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4016
|
-
};
|
|
4017
|
-
};
|
|
4018
|
-
const de_UserList = (output, context) => {
|
|
4019
|
-
const retVal = (output || [])
|
|
4020
|
-
.filter((e) => e != null)
|
|
4021
|
-
.map((entry) => {
|
|
4022
|
-
if (entry === null) {
|
|
4023
|
-
return null;
|
|
4024
|
-
}
|
|
4025
|
-
return de_User(entry, context);
|
|
4026
|
-
});
|
|
4027
|
-
return retVal;
|
|
4028
|
-
};
|
|
4029
|
-
const de_UserNameList = (output, context) => {
|
|
4030
|
-
const retVal = (output || [])
|
|
4031
|
-
.filter((e) => e != null)
|
|
4032
|
-
.map((entry) => {
|
|
4033
|
-
if (entry === null) {
|
|
4034
|
-
return null;
|
|
4035
|
-
}
|
|
4036
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2859
|
+
return (0, smithy_client_1.take)(output, {
|
|
2860
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
4037
2861
|
});
|
|
4038
|
-
return retVal;
|
|
4039
|
-
};
|
|
4040
|
-
const de_UserNotFoundFault = (output, context) => {
|
|
4041
|
-
return {
|
|
4042
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
const de_UserQuotaExceededFault = (output, context) => {
|
|
4046
|
-
return {
|
|
4047
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4048
|
-
};
|
|
4049
2862
|
};
|
|
4050
2863
|
const deserializeMetadata = (output) => ({
|
|
4051
2864
|
httpStatusCode: output.statusCode,
|
|
@@ -4060,6 +2873,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4060
2873
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4061
2874
|
};
|
|
4062
2875
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2876
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(MemoryDBServiceException_1.MemoryDBServiceException);
|
|
4063
2877
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4064
2878
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4065
2879
|
const contents = {
|