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