@aws-sdk/client-dax 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +169 -821
- package/dist-es/protocols/Aws_json1_1.js +170 -822
- package/package.json +6 -6
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DAXServiceException as __BaseException } from "../models/DAXServiceException";
|
|
4
4
|
import { ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterQuotaForCustomerExceededFault, InsufficientClusterCapacityFault, InvalidARNFault, InvalidClusterStateFault, InvalidParameterCombinationException, InvalidParameterGroupStateFault, InvalidParameterValueException, InvalidSubnet, InvalidVPCNetworkStateFault, NodeNotFoundFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ParameterGroupAlreadyExistsFault, ParameterGroupNotFoundFault, ParameterGroupQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceQuotaExceededException, SubnetGroupAlreadyExistsFault, SubnetGroupInUseFault, SubnetGroupNotFoundFault, SubnetGroupQuotaExceededFault, SubnetInUse, SubnetQuotaExceededFault, TagNotFoundFault, TagQuotaPerResourceExceeded, } from "../models/models_0";
|
|
5
5
|
export const se_CreateClusterCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("CreateCluster");
|
|
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_CreateParameterGroupCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateParameterGroup");
|
|
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_CreateSubnetGroupCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateSubnetGroup");
|
|
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_DecreaseReplicationFactorCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("DecreaseReplicationFactor");
|
|
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_DeleteClusterCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("DeleteCluster");
|
|
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_DeleteParameterGroupCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("DeleteParameterGroup");
|
|
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_DeleteSubnetGroupCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("DeleteSubnetGroup");
|
|
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_DescribeClustersCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("DescribeClusters");
|
|
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_DescribeDefaultParametersCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("DescribeDefaultParameters");
|
|
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_DescribeEventsCommand = async (input, context) => {
|
|
@@ -65,67 +65,67 @@ export const se_DescribeEventsCommand = async (input, context) => {
|
|
|
65
65
|
export const se_DescribeParameterGroupsCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DescribeParameterGroups");
|
|
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_DescribeParametersCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("DescribeParameters");
|
|
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_DescribeSubnetGroupsCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("DescribeSubnetGroups");
|
|
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_IncreaseReplicationFactorCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("IncreaseReplicationFactor");
|
|
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_ListTagsCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("ListTags");
|
|
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_RebootNodeCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("RebootNode");
|
|
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_TagResourceCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("TagResource");
|
|
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_UntagResourceCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("UntagResource");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_UpdateClusterCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("UpdateCluster");
|
|
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_UpdateParameterGroupCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("UpdateParameterGroup");
|
|
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_UpdateSubnetGroupCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("UpdateSubnetGroup");
|
|
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 de_CreateClusterCommand = async (output, context) => {
|
|
@@ -139,7 +139,7 @@ export const de_CreateClusterCommand = async (output, context) => {
|
|
|
139
139
|
$metadata: deserializeMetadata(output),
|
|
140
140
|
...contents,
|
|
141
141
|
};
|
|
142
|
-
return
|
|
142
|
+
return response;
|
|
143
143
|
};
|
|
144
144
|
const de_CreateClusterCommandError = async (output, context) => {
|
|
145
145
|
const parsedOutput = {
|
|
@@ -195,10 +195,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
195
195
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
196
196
|
default:
|
|
197
197
|
const parsedBody = parsedOutput.body;
|
|
198
|
-
throwDefaultError({
|
|
198
|
+
return throwDefaultError({
|
|
199
199
|
output,
|
|
200
200
|
parsedBody,
|
|
201
|
-
exceptionCtor: __BaseException,
|
|
202
201
|
errorCode,
|
|
203
202
|
});
|
|
204
203
|
}
|
|
@@ -209,12 +208,12 @@ export const de_CreateParameterGroupCommand = async (output, context) => {
|
|
|
209
208
|
}
|
|
210
209
|
const data = await parseBody(output.body, context);
|
|
211
210
|
let contents = {};
|
|
212
|
-
contents =
|
|
211
|
+
contents = _json(data);
|
|
213
212
|
const response = {
|
|
214
213
|
$metadata: deserializeMetadata(output),
|
|
215
214
|
...contents,
|
|
216
215
|
};
|
|
217
|
-
return
|
|
216
|
+
return response;
|
|
218
217
|
};
|
|
219
218
|
const de_CreateParameterGroupCommandError = async (output, context) => {
|
|
220
219
|
const parsedOutput = {
|
|
@@ -243,10 +242,9 @@ const de_CreateParameterGroupCommandError = async (output, context) => {
|
|
|
243
242
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
244
243
|
default:
|
|
245
244
|
const parsedBody = parsedOutput.body;
|
|
246
|
-
throwDefaultError({
|
|
245
|
+
return throwDefaultError({
|
|
247
246
|
output,
|
|
248
247
|
parsedBody,
|
|
249
|
-
exceptionCtor: __BaseException,
|
|
250
248
|
errorCode,
|
|
251
249
|
});
|
|
252
250
|
}
|
|
@@ -257,12 +255,12 @@ export const de_CreateSubnetGroupCommand = async (output, context) => {
|
|
|
257
255
|
}
|
|
258
256
|
const data = await parseBody(output.body, context);
|
|
259
257
|
let contents = {};
|
|
260
|
-
contents =
|
|
258
|
+
contents = _json(data);
|
|
261
259
|
const response = {
|
|
262
260
|
$metadata: deserializeMetadata(output),
|
|
263
261
|
...contents,
|
|
264
262
|
};
|
|
265
|
-
return
|
|
263
|
+
return response;
|
|
266
264
|
};
|
|
267
265
|
const de_CreateSubnetGroupCommandError = async (output, context) => {
|
|
268
266
|
const parsedOutput = {
|
|
@@ -288,10 +286,9 @@ const de_CreateSubnetGroupCommandError = async (output, context) => {
|
|
|
288
286
|
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
289
287
|
default:
|
|
290
288
|
const parsedBody = parsedOutput.body;
|
|
291
|
-
throwDefaultError({
|
|
289
|
+
return throwDefaultError({
|
|
292
290
|
output,
|
|
293
291
|
parsedBody,
|
|
294
|
-
exceptionCtor: __BaseException,
|
|
295
292
|
errorCode,
|
|
296
293
|
});
|
|
297
294
|
}
|
|
@@ -307,7 +304,7 @@ export const de_DecreaseReplicationFactorCommand = async (output, context) => {
|
|
|
307
304
|
$metadata: deserializeMetadata(output),
|
|
308
305
|
...contents,
|
|
309
306
|
};
|
|
310
|
-
return
|
|
307
|
+
return response;
|
|
311
308
|
};
|
|
312
309
|
const de_DecreaseReplicationFactorCommandError = async (output, context) => {
|
|
313
310
|
const parsedOutput = {
|
|
@@ -336,10 +333,9 @@ const de_DecreaseReplicationFactorCommandError = async (output, context) => {
|
|
|
336
333
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
337
334
|
default:
|
|
338
335
|
const parsedBody = parsedOutput.body;
|
|
339
|
-
throwDefaultError({
|
|
336
|
+
return throwDefaultError({
|
|
340
337
|
output,
|
|
341
338
|
parsedBody,
|
|
342
|
-
exceptionCtor: __BaseException,
|
|
343
339
|
errorCode,
|
|
344
340
|
});
|
|
345
341
|
}
|
|
@@ -355,7 +351,7 @@ export const de_DeleteClusterCommand = async (output, context) => {
|
|
|
355
351
|
$metadata: deserializeMetadata(output),
|
|
356
352
|
...contents,
|
|
357
353
|
};
|
|
358
|
-
return
|
|
354
|
+
return response;
|
|
359
355
|
};
|
|
360
356
|
const de_DeleteClusterCommandError = async (output, context) => {
|
|
361
357
|
const parsedOutput = {
|
|
@@ -381,10 +377,9 @@ const de_DeleteClusterCommandError = async (output, context) => {
|
|
|
381
377
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
382
378
|
default:
|
|
383
379
|
const parsedBody = parsedOutput.body;
|
|
384
|
-
throwDefaultError({
|
|
380
|
+
return throwDefaultError({
|
|
385
381
|
output,
|
|
386
382
|
parsedBody,
|
|
387
|
-
exceptionCtor: __BaseException,
|
|
388
383
|
errorCode,
|
|
389
384
|
});
|
|
390
385
|
}
|
|
@@ -395,12 +390,12 @@ export const de_DeleteParameterGroupCommand = async (output, context) => {
|
|
|
395
390
|
}
|
|
396
391
|
const data = await parseBody(output.body, context);
|
|
397
392
|
let contents = {};
|
|
398
|
-
contents =
|
|
393
|
+
contents = _json(data);
|
|
399
394
|
const response = {
|
|
400
395
|
$metadata: deserializeMetadata(output),
|
|
401
396
|
...contents,
|
|
402
397
|
};
|
|
403
|
-
return
|
|
398
|
+
return response;
|
|
404
399
|
};
|
|
405
400
|
const de_DeleteParameterGroupCommandError = async (output, context) => {
|
|
406
401
|
const parsedOutput = {
|
|
@@ -426,10 +421,9 @@ const de_DeleteParameterGroupCommandError = async (output, context) => {
|
|
|
426
421
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
427
422
|
default:
|
|
428
423
|
const parsedBody = parsedOutput.body;
|
|
429
|
-
throwDefaultError({
|
|
424
|
+
return throwDefaultError({
|
|
430
425
|
output,
|
|
431
426
|
parsedBody,
|
|
432
|
-
exceptionCtor: __BaseException,
|
|
433
427
|
errorCode,
|
|
434
428
|
});
|
|
435
429
|
}
|
|
@@ -440,12 +434,12 @@ export const de_DeleteSubnetGroupCommand = async (output, context) => {
|
|
|
440
434
|
}
|
|
441
435
|
const data = await parseBody(output.body, context);
|
|
442
436
|
let contents = {};
|
|
443
|
-
contents =
|
|
437
|
+
contents = _json(data);
|
|
444
438
|
const response = {
|
|
445
439
|
$metadata: deserializeMetadata(output),
|
|
446
440
|
...contents,
|
|
447
441
|
};
|
|
448
|
-
return
|
|
442
|
+
return response;
|
|
449
443
|
};
|
|
450
444
|
const de_DeleteSubnetGroupCommandError = async (output, context) => {
|
|
451
445
|
const parsedOutput = {
|
|
@@ -465,10 +459,9 @@ const de_DeleteSubnetGroupCommandError = async (output, context) => {
|
|
|
465
459
|
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
466
460
|
default:
|
|
467
461
|
const parsedBody = parsedOutput.body;
|
|
468
|
-
throwDefaultError({
|
|
462
|
+
return throwDefaultError({
|
|
469
463
|
output,
|
|
470
464
|
parsedBody,
|
|
471
|
-
exceptionCtor: __BaseException,
|
|
472
465
|
errorCode,
|
|
473
466
|
});
|
|
474
467
|
}
|
|
@@ -484,7 +477,7 @@ export const de_DescribeClustersCommand = async (output, context) => {
|
|
|
484
477
|
$metadata: deserializeMetadata(output),
|
|
485
478
|
...contents,
|
|
486
479
|
};
|
|
487
|
-
return
|
|
480
|
+
return response;
|
|
488
481
|
};
|
|
489
482
|
const de_DescribeClustersCommandError = async (output, context) => {
|
|
490
483
|
const parsedOutput = {
|
|
@@ -507,10 +500,9 @@ const de_DescribeClustersCommandError = async (output, context) => {
|
|
|
507
500
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
508
501
|
default:
|
|
509
502
|
const parsedBody = parsedOutput.body;
|
|
510
|
-
throwDefaultError({
|
|
503
|
+
return throwDefaultError({
|
|
511
504
|
output,
|
|
512
505
|
parsedBody,
|
|
513
|
-
exceptionCtor: __BaseException,
|
|
514
506
|
errorCode,
|
|
515
507
|
});
|
|
516
508
|
}
|
|
@@ -521,12 +513,12 @@ export const de_DescribeDefaultParametersCommand = async (output, context) => {
|
|
|
521
513
|
}
|
|
522
514
|
const data = await parseBody(output.body, context);
|
|
523
515
|
let contents = {};
|
|
524
|
-
contents =
|
|
516
|
+
contents = _json(data);
|
|
525
517
|
const response = {
|
|
526
518
|
$metadata: deserializeMetadata(output),
|
|
527
519
|
...contents,
|
|
528
520
|
};
|
|
529
|
-
return
|
|
521
|
+
return response;
|
|
530
522
|
};
|
|
531
523
|
const de_DescribeDefaultParametersCommandError = async (output, context) => {
|
|
532
524
|
const parsedOutput = {
|
|
@@ -546,10 +538,9 @@ const de_DescribeDefaultParametersCommandError = async (output, context) => {
|
|
|
546
538
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
547
539
|
default:
|
|
548
540
|
const parsedBody = parsedOutput.body;
|
|
549
|
-
throwDefaultError({
|
|
541
|
+
return throwDefaultError({
|
|
550
542
|
output,
|
|
551
543
|
parsedBody,
|
|
552
|
-
exceptionCtor: __BaseException,
|
|
553
544
|
errorCode,
|
|
554
545
|
});
|
|
555
546
|
}
|
|
@@ -565,7 +556,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
565
556
|
$metadata: deserializeMetadata(output),
|
|
566
557
|
...contents,
|
|
567
558
|
};
|
|
568
|
-
return
|
|
559
|
+
return response;
|
|
569
560
|
};
|
|
570
561
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
571
562
|
const parsedOutput = {
|
|
@@ -585,10 +576,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
585
576
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
586
577
|
default:
|
|
587
578
|
const parsedBody = parsedOutput.body;
|
|
588
|
-
throwDefaultError({
|
|
579
|
+
return throwDefaultError({
|
|
589
580
|
output,
|
|
590
581
|
parsedBody,
|
|
591
|
-
exceptionCtor: __BaseException,
|
|
592
582
|
errorCode,
|
|
593
583
|
});
|
|
594
584
|
}
|
|
@@ -599,12 +589,12 @@ export const de_DescribeParameterGroupsCommand = async (output, context) => {
|
|
|
599
589
|
}
|
|
600
590
|
const data = await parseBody(output.body, context);
|
|
601
591
|
let contents = {};
|
|
602
|
-
contents =
|
|
592
|
+
contents = _json(data);
|
|
603
593
|
const response = {
|
|
604
594
|
$metadata: deserializeMetadata(output),
|
|
605
595
|
...contents,
|
|
606
596
|
};
|
|
607
|
-
return
|
|
597
|
+
return response;
|
|
608
598
|
};
|
|
609
599
|
const de_DescribeParameterGroupsCommandError = async (output, context) => {
|
|
610
600
|
const parsedOutput = {
|
|
@@ -627,10 +617,9 @@ const de_DescribeParameterGroupsCommandError = async (output, context) => {
|
|
|
627
617
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
628
618
|
default:
|
|
629
619
|
const parsedBody = parsedOutput.body;
|
|
630
|
-
throwDefaultError({
|
|
620
|
+
return throwDefaultError({
|
|
631
621
|
output,
|
|
632
622
|
parsedBody,
|
|
633
|
-
exceptionCtor: __BaseException,
|
|
634
623
|
errorCode,
|
|
635
624
|
});
|
|
636
625
|
}
|
|
@@ -641,12 +630,12 @@ export const de_DescribeParametersCommand = async (output, context) => {
|
|
|
641
630
|
}
|
|
642
631
|
const data = await parseBody(output.body, context);
|
|
643
632
|
let contents = {};
|
|
644
|
-
contents =
|
|
633
|
+
contents = _json(data);
|
|
645
634
|
const response = {
|
|
646
635
|
$metadata: deserializeMetadata(output),
|
|
647
636
|
...contents,
|
|
648
637
|
};
|
|
649
|
-
return
|
|
638
|
+
return response;
|
|
650
639
|
};
|
|
651
640
|
const de_DescribeParametersCommandError = async (output, context) => {
|
|
652
641
|
const parsedOutput = {
|
|
@@ -669,10 +658,9 @@ const de_DescribeParametersCommandError = async (output, context) => {
|
|
|
669
658
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
670
659
|
default:
|
|
671
660
|
const parsedBody = parsedOutput.body;
|
|
672
|
-
throwDefaultError({
|
|
661
|
+
return throwDefaultError({
|
|
673
662
|
output,
|
|
674
663
|
parsedBody,
|
|
675
|
-
exceptionCtor: __BaseException,
|
|
676
664
|
errorCode,
|
|
677
665
|
});
|
|
678
666
|
}
|
|
@@ -683,12 +671,12 @@ export const de_DescribeSubnetGroupsCommand = async (output, context) => {
|
|
|
683
671
|
}
|
|
684
672
|
const data = await parseBody(output.body, context);
|
|
685
673
|
let contents = {};
|
|
686
|
-
contents =
|
|
674
|
+
contents = _json(data);
|
|
687
675
|
const response = {
|
|
688
676
|
$metadata: deserializeMetadata(output),
|
|
689
677
|
...contents,
|
|
690
678
|
};
|
|
691
|
-
return
|
|
679
|
+
return response;
|
|
692
680
|
};
|
|
693
681
|
const de_DescribeSubnetGroupsCommandError = async (output, context) => {
|
|
694
682
|
const parsedOutput = {
|
|
@@ -705,10 +693,9 @@ const de_DescribeSubnetGroupsCommandError = async (output, context) => {
|
|
|
705
693
|
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
706
694
|
default:
|
|
707
695
|
const parsedBody = parsedOutput.body;
|
|
708
|
-
throwDefaultError({
|
|
696
|
+
return throwDefaultError({
|
|
709
697
|
output,
|
|
710
698
|
parsedBody,
|
|
711
|
-
exceptionCtor: __BaseException,
|
|
712
699
|
errorCode,
|
|
713
700
|
});
|
|
714
701
|
}
|
|
@@ -724,7 +711,7 @@ export const de_IncreaseReplicationFactorCommand = async (output, context) => {
|
|
|
724
711
|
$metadata: deserializeMetadata(output),
|
|
725
712
|
...contents,
|
|
726
713
|
};
|
|
727
|
-
return
|
|
714
|
+
return response;
|
|
728
715
|
};
|
|
729
716
|
const de_IncreaseReplicationFactorCommandError = async (output, context) => {
|
|
730
717
|
const parsedOutput = {
|
|
@@ -762,10 +749,9 @@ const de_IncreaseReplicationFactorCommandError = async (output, context) => {
|
|
|
762
749
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
763
750
|
default:
|
|
764
751
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
throwDefaultError({
|
|
752
|
+
return throwDefaultError({
|
|
766
753
|
output,
|
|
767
754
|
parsedBody,
|
|
768
|
-
exceptionCtor: __BaseException,
|
|
769
755
|
errorCode,
|
|
770
756
|
});
|
|
771
757
|
}
|
|
@@ -776,12 +762,12 @@ export const de_ListTagsCommand = async (output, context) => {
|
|
|
776
762
|
}
|
|
777
763
|
const data = await parseBody(output.body, context);
|
|
778
764
|
let contents = {};
|
|
779
|
-
contents =
|
|
765
|
+
contents = _json(data);
|
|
780
766
|
const response = {
|
|
781
767
|
$metadata: deserializeMetadata(output),
|
|
782
768
|
...contents,
|
|
783
769
|
};
|
|
784
|
-
return
|
|
770
|
+
return response;
|
|
785
771
|
};
|
|
786
772
|
const de_ListTagsCommandError = async (output, context) => {
|
|
787
773
|
const parsedOutput = {
|
|
@@ -810,10 +796,9 @@ const de_ListTagsCommandError = async (output, context) => {
|
|
|
810
796
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
811
797
|
default:
|
|
812
798
|
const parsedBody = parsedOutput.body;
|
|
813
|
-
throwDefaultError({
|
|
799
|
+
return throwDefaultError({
|
|
814
800
|
output,
|
|
815
801
|
parsedBody,
|
|
816
|
-
exceptionCtor: __BaseException,
|
|
817
802
|
errorCode,
|
|
818
803
|
});
|
|
819
804
|
}
|
|
@@ -829,7 +814,7 @@ export const de_RebootNodeCommand = async (output, context) => {
|
|
|
829
814
|
$metadata: deserializeMetadata(output),
|
|
830
815
|
...contents,
|
|
831
816
|
};
|
|
832
|
-
return
|
|
817
|
+
return response;
|
|
833
818
|
};
|
|
834
819
|
const de_RebootNodeCommandError = async (output, context) => {
|
|
835
820
|
const parsedOutput = {
|
|
@@ -858,10 +843,9 @@ const de_RebootNodeCommandError = async (output, context) => {
|
|
|
858
843
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
859
844
|
default:
|
|
860
845
|
const parsedBody = parsedOutput.body;
|
|
861
|
-
throwDefaultError({
|
|
846
|
+
return throwDefaultError({
|
|
862
847
|
output,
|
|
863
848
|
parsedBody,
|
|
864
|
-
exceptionCtor: __BaseException,
|
|
865
849
|
errorCode,
|
|
866
850
|
});
|
|
867
851
|
}
|
|
@@ -872,12 +856,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
872
856
|
}
|
|
873
857
|
const data = await parseBody(output.body, context);
|
|
874
858
|
let contents = {};
|
|
875
|
-
contents =
|
|
859
|
+
contents = _json(data);
|
|
876
860
|
const response = {
|
|
877
861
|
$metadata: deserializeMetadata(output),
|
|
878
862
|
...contents,
|
|
879
863
|
};
|
|
880
|
-
return
|
|
864
|
+
return response;
|
|
881
865
|
};
|
|
882
866
|
const de_TagResourceCommandError = async (output, context) => {
|
|
883
867
|
const parsedOutput = {
|
|
@@ -909,10 +893,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
909
893
|
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
910
894
|
default:
|
|
911
895
|
const parsedBody = parsedOutput.body;
|
|
912
|
-
throwDefaultError({
|
|
896
|
+
return throwDefaultError({
|
|
913
897
|
output,
|
|
914
898
|
parsedBody,
|
|
915
|
-
exceptionCtor: __BaseException,
|
|
916
899
|
errorCode,
|
|
917
900
|
});
|
|
918
901
|
}
|
|
@@ -923,12 +906,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
923
906
|
}
|
|
924
907
|
const data = await parseBody(output.body, context);
|
|
925
908
|
let contents = {};
|
|
926
|
-
contents =
|
|
909
|
+
contents = _json(data);
|
|
927
910
|
const response = {
|
|
928
911
|
$metadata: deserializeMetadata(output),
|
|
929
912
|
...contents,
|
|
930
913
|
};
|
|
931
|
-
return
|
|
914
|
+
return response;
|
|
932
915
|
};
|
|
933
916
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
934
917
|
const parsedOutput = {
|
|
@@ -960,10 +943,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
960
943
|
throw await de_TagNotFoundFaultRes(parsedOutput, context);
|
|
961
944
|
default:
|
|
962
945
|
const parsedBody = parsedOutput.body;
|
|
963
|
-
throwDefaultError({
|
|
946
|
+
return throwDefaultError({
|
|
964
947
|
output,
|
|
965
948
|
parsedBody,
|
|
966
|
-
exceptionCtor: __BaseException,
|
|
967
949
|
errorCode,
|
|
968
950
|
});
|
|
969
951
|
}
|
|
@@ -979,7 +961,7 @@ export const de_UpdateClusterCommand = async (output, context) => {
|
|
|
979
961
|
$metadata: deserializeMetadata(output),
|
|
980
962
|
...contents,
|
|
981
963
|
};
|
|
982
|
-
return
|
|
964
|
+
return response;
|
|
983
965
|
};
|
|
984
966
|
const de_UpdateClusterCommandError = async (output, context) => {
|
|
985
967
|
const parsedOutput = {
|
|
@@ -1011,10 +993,9 @@ const de_UpdateClusterCommandError = async (output, context) => {
|
|
|
1011
993
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1012
994
|
default:
|
|
1013
995
|
const parsedBody = parsedOutput.body;
|
|
1014
|
-
throwDefaultError({
|
|
996
|
+
return throwDefaultError({
|
|
1015
997
|
output,
|
|
1016
998
|
parsedBody,
|
|
1017
|
-
exceptionCtor: __BaseException,
|
|
1018
999
|
errorCode,
|
|
1019
1000
|
});
|
|
1020
1001
|
}
|
|
@@ -1025,12 +1006,12 @@ export const de_UpdateParameterGroupCommand = async (output, context) => {
|
|
|
1025
1006
|
}
|
|
1026
1007
|
const data = await parseBody(output.body, context);
|
|
1027
1008
|
let contents = {};
|
|
1028
|
-
contents =
|
|
1009
|
+
contents = _json(data);
|
|
1029
1010
|
const response = {
|
|
1030
1011
|
$metadata: deserializeMetadata(output),
|
|
1031
1012
|
...contents,
|
|
1032
1013
|
};
|
|
1033
|
-
return
|
|
1014
|
+
return response;
|
|
1034
1015
|
};
|
|
1035
1016
|
const de_UpdateParameterGroupCommandError = async (output, context) => {
|
|
1036
1017
|
const parsedOutput = {
|
|
@@ -1056,10 +1037,9 @@ const de_UpdateParameterGroupCommandError = async (output, context) => {
|
|
|
1056
1037
|
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1057
1038
|
default:
|
|
1058
1039
|
const parsedBody = parsedOutput.body;
|
|
1059
|
-
throwDefaultError({
|
|
1040
|
+
return throwDefaultError({
|
|
1060
1041
|
output,
|
|
1061
1042
|
parsedBody,
|
|
1062
|
-
exceptionCtor: __BaseException,
|
|
1063
1043
|
errorCode,
|
|
1064
1044
|
});
|
|
1065
1045
|
}
|
|
@@ -1070,12 +1050,12 @@ export const de_UpdateSubnetGroupCommand = async (output, context) => {
|
|
|
1070
1050
|
}
|
|
1071
1051
|
const data = await parseBody(output.body, context);
|
|
1072
1052
|
let contents = {};
|
|
1073
|
-
contents =
|
|
1053
|
+
contents = _json(data);
|
|
1074
1054
|
const response = {
|
|
1075
1055
|
$metadata: deserializeMetadata(output),
|
|
1076
1056
|
...contents,
|
|
1077
1057
|
};
|
|
1078
|
-
return
|
|
1058
|
+
return response;
|
|
1079
1059
|
};
|
|
1080
1060
|
const de_UpdateSubnetGroupCommandError = async (output, context) => {
|
|
1081
1061
|
const parsedOutput = {
|
|
@@ -1101,17 +1081,16 @@ const de_UpdateSubnetGroupCommandError = async (output, context) => {
|
|
|
1101
1081
|
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
1102
1082
|
default:
|
|
1103
1083
|
const parsedBody = parsedOutput.body;
|
|
1104
|
-
throwDefaultError({
|
|
1084
|
+
return throwDefaultError({
|
|
1105
1085
|
output,
|
|
1106
1086
|
parsedBody,
|
|
1107
|
-
exceptionCtor: __BaseException,
|
|
1108
1087
|
errorCode,
|
|
1109
1088
|
});
|
|
1110
1089
|
}
|
|
1111
1090
|
};
|
|
1112
1091
|
const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1113
1092
|
const body = parsedOutput.body;
|
|
1114
|
-
const deserialized =
|
|
1093
|
+
const deserialized = _json(body);
|
|
1115
1094
|
const exception = new ClusterAlreadyExistsFault({
|
|
1116
1095
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1117
1096
|
...deserialized,
|
|
@@ -1120,7 +1099,7 @@ const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
1120
1099
|
};
|
|
1121
1100
|
const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1122
1101
|
const body = parsedOutput.body;
|
|
1123
|
-
const deserialized =
|
|
1102
|
+
const deserialized = _json(body);
|
|
1124
1103
|
const exception = new ClusterNotFoundFault({
|
|
1125
1104
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1126
1105
|
...deserialized,
|
|
@@ -1129,7 +1108,7 @@ const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1129
1108
|
};
|
|
1130
1109
|
const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1131
1110
|
const body = parsedOutput.body;
|
|
1132
|
-
const deserialized =
|
|
1111
|
+
const deserialized = _json(body);
|
|
1133
1112
|
const exception = new ClusterQuotaForCustomerExceededFault({
|
|
1134
1113
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1135
1114
|
...deserialized,
|
|
@@ -1138,7 +1117,7 @@ const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context)
|
|
|
1138
1117
|
};
|
|
1139
1118
|
const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) => {
|
|
1140
1119
|
const body = parsedOutput.body;
|
|
1141
|
-
const deserialized =
|
|
1120
|
+
const deserialized = _json(body);
|
|
1142
1121
|
const exception = new InsufficientClusterCapacityFault({
|
|
1143
1122
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1144
1123
|
...deserialized,
|
|
@@ -1147,7 +1126,7 @@ const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) =>
|
|
|
1147
1126
|
};
|
|
1148
1127
|
const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
1149
1128
|
const body = parsedOutput.body;
|
|
1150
|
-
const deserialized =
|
|
1129
|
+
const deserialized = _json(body);
|
|
1151
1130
|
const exception = new InvalidARNFault({
|
|
1152
1131
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1153
1132
|
...deserialized,
|
|
@@ -1156,7 +1135,7 @@ const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
|
1156
1135
|
};
|
|
1157
1136
|
const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
1158
1137
|
const body = parsedOutput.body;
|
|
1159
|
-
const deserialized =
|
|
1138
|
+
const deserialized = _json(body);
|
|
1160
1139
|
const exception = new InvalidClusterStateFault({
|
|
1161
1140
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1162
1141
|
...deserialized,
|
|
@@ -1165,7 +1144,7 @@ const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
|
1165
1144
|
};
|
|
1166
1145
|
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1167
1146
|
const body = parsedOutput.body;
|
|
1168
|
-
const deserialized =
|
|
1147
|
+
const deserialized = _json(body);
|
|
1169
1148
|
const exception = new InvalidParameterCombinationException({
|
|
1170
1149
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1171
1150
|
...deserialized,
|
|
@@ -1174,7 +1153,7 @@ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context)
|
|
|
1174
1153
|
};
|
|
1175
1154
|
const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
1176
1155
|
const body = parsedOutput.body;
|
|
1177
|
-
const deserialized =
|
|
1156
|
+
const deserialized = _json(body);
|
|
1178
1157
|
const exception = new InvalidParameterGroupStateFault({
|
|
1179
1158
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1180
1159
|
...deserialized,
|
|
@@ -1183,7 +1162,7 @@ const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
|
1183
1162
|
};
|
|
1184
1163
|
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1185
1164
|
const body = parsedOutput.body;
|
|
1186
|
-
const deserialized =
|
|
1165
|
+
const deserialized = _json(body);
|
|
1187
1166
|
const exception = new InvalidParameterValueException({
|
|
1188
1167
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1189
1168
|
...deserialized,
|
|
@@ -1192,7 +1171,7 @@ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
|
1192
1171
|
};
|
|
1193
1172
|
const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
1194
1173
|
const body = parsedOutput.body;
|
|
1195
|
-
const deserialized =
|
|
1174
|
+
const deserialized = _json(body);
|
|
1196
1175
|
const exception = new InvalidSubnet({
|
|
1197
1176
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1198
1177
|
...deserialized,
|
|
@@ -1201,7 +1180,7 @@ const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
|
1201
1180
|
};
|
|
1202
1181
|
const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
1203
1182
|
const body = parsedOutput.body;
|
|
1204
|
-
const deserialized =
|
|
1183
|
+
const deserialized = _json(body);
|
|
1205
1184
|
const exception = new InvalidVPCNetworkStateFault({
|
|
1206
1185
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1207
1186
|
...deserialized,
|
|
@@ -1210,7 +1189,7 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
|
1210
1189
|
};
|
|
1211
1190
|
const de_NodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1212
1191
|
const body = parsedOutput.body;
|
|
1213
|
-
const deserialized =
|
|
1192
|
+
const deserialized = _json(body);
|
|
1214
1193
|
const exception = new NodeNotFoundFault({
|
|
1215
1194
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1216
1195
|
...deserialized,
|
|
@@ -1219,7 +1198,7 @@ const de_NodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1219
1198
|
};
|
|
1220
1199
|
const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) => {
|
|
1221
1200
|
const body = parsedOutput.body;
|
|
1222
|
-
const deserialized =
|
|
1201
|
+
const deserialized = _json(body);
|
|
1223
1202
|
const exception = new NodeQuotaForClusterExceededFault({
|
|
1224
1203
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1225
1204
|
...deserialized,
|
|
@@ -1228,7 +1207,7 @@ const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) =>
|
|
|
1228
1207
|
};
|
|
1229
1208
|
const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1230
1209
|
const body = parsedOutput.body;
|
|
1231
|
-
const deserialized =
|
|
1210
|
+
const deserialized = _json(body);
|
|
1232
1211
|
const exception = new NodeQuotaForCustomerExceededFault({
|
|
1233
1212
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
1213
|
...deserialized,
|
|
@@ -1237,7 +1216,7 @@ const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) =>
|
|
|
1237
1216
|
};
|
|
1238
1217
|
const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1239
1218
|
const body = parsedOutput.body;
|
|
1240
|
-
const deserialized =
|
|
1219
|
+
const deserialized = _json(body);
|
|
1241
1220
|
const exception = new ParameterGroupAlreadyExistsFault({
|
|
1242
1221
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1243
1222
|
...deserialized,
|
|
@@ -1246,7 +1225,7 @@ const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) =>
|
|
|
1246
1225
|
};
|
|
1247
1226
|
const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1248
1227
|
const body = parsedOutput.body;
|
|
1249
|
-
const deserialized =
|
|
1228
|
+
const deserialized = _json(body);
|
|
1250
1229
|
const exception = new ParameterGroupNotFoundFault({
|
|
1251
1230
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
1231
|
...deserialized,
|
|
@@ -1255,7 +1234,7 @@ const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1255
1234
|
};
|
|
1256
1235
|
const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1257
1236
|
const body = parsedOutput.body;
|
|
1258
|
-
const deserialized =
|
|
1237
|
+
const deserialized = _json(body);
|
|
1259
1238
|
const exception = new ParameterGroupQuotaExceededFault({
|
|
1260
1239
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1261
1240
|
...deserialized,
|
|
@@ -1264,7 +1243,7 @@ const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) =>
|
|
|
1264
1243
|
};
|
|
1265
1244
|
const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1266
1245
|
const body = parsedOutput.body;
|
|
1267
|
-
const deserialized =
|
|
1246
|
+
const deserialized = _json(body);
|
|
1268
1247
|
const exception = new ServiceLinkedRoleNotFoundFault({
|
|
1269
1248
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1270
1249
|
...deserialized,
|
|
@@ -1273,7 +1252,7 @@ const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1273
1252
|
};
|
|
1274
1253
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1275
1254
|
const body = parsedOutput.body;
|
|
1276
|
-
const deserialized =
|
|
1255
|
+
const deserialized = _json(body);
|
|
1277
1256
|
const exception = new ServiceQuotaExceededException({
|
|
1278
1257
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1279
1258
|
...deserialized,
|
|
@@ -1282,7 +1261,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1282
1261
|
};
|
|
1283
1262
|
const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1284
1263
|
const body = parsedOutput.body;
|
|
1285
|
-
const deserialized =
|
|
1264
|
+
const deserialized = _json(body);
|
|
1286
1265
|
const exception = new SubnetGroupAlreadyExistsFault({
|
|
1287
1266
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1288
1267
|
...deserialized,
|
|
@@ -1291,7 +1270,7 @@ const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
1291
1270
|
};
|
|
1292
1271
|
const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
1293
1272
|
const body = parsedOutput.body;
|
|
1294
|
-
const deserialized =
|
|
1273
|
+
const deserialized = _json(body);
|
|
1295
1274
|
const exception = new SubnetGroupInUseFault({
|
|
1296
1275
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1297
1276
|
...deserialized,
|
|
@@ -1300,7 +1279,7 @@ const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
|
1300
1279
|
};
|
|
1301
1280
|
const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1302
1281
|
const body = parsedOutput.body;
|
|
1303
|
-
const deserialized =
|
|
1282
|
+
const deserialized = _json(body);
|
|
1304
1283
|
const exception = new SubnetGroupNotFoundFault({
|
|
1305
1284
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1306
1285
|
...deserialized,
|
|
@@ -1309,7 +1288,7 @@ const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1309
1288
|
};
|
|
1310
1289
|
const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1311
1290
|
const body = parsedOutput.body;
|
|
1312
|
-
const deserialized =
|
|
1291
|
+
const deserialized = _json(body);
|
|
1313
1292
|
const exception = new SubnetGroupQuotaExceededFault({
|
|
1314
1293
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1315
1294
|
...deserialized,
|
|
@@ -1318,7 +1297,7 @@ const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
1318
1297
|
};
|
|
1319
1298
|
const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
1320
1299
|
const body = parsedOutput.body;
|
|
1321
|
-
const deserialized =
|
|
1300
|
+
const deserialized = _json(body);
|
|
1322
1301
|
const exception = new SubnetInUse({
|
|
1323
1302
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1324
1303
|
...deserialized,
|
|
@@ -1327,7 +1306,7 @@ const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
|
1327
1306
|
};
|
|
1328
1307
|
const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1329
1308
|
const body = parsedOutput.body;
|
|
1330
|
-
const deserialized =
|
|
1309
|
+
const deserialized = _json(body);
|
|
1331
1310
|
const exception = new SubnetQuotaExceededFault({
|
|
1332
1311
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1333
1312
|
...deserialized,
|
|
@@ -1336,7 +1315,7 @@ const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
1336
1315
|
};
|
|
1337
1316
|
const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1338
1317
|
const body = parsedOutput.body;
|
|
1339
|
-
const deserialized =
|
|
1318
|
+
const deserialized = _json(body);
|
|
1340
1319
|
const exception = new TagNotFoundFault({
|
|
1341
1320
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1342
1321
|
...deserialized,
|
|
@@ -1345,761 +1324,129 @@ const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
1345
1324
|
};
|
|
1346
1325
|
const de_TagQuotaPerResourceExceededRes = async (parsedOutput, context) => {
|
|
1347
1326
|
const body = parsedOutput.body;
|
|
1348
|
-
const deserialized =
|
|
1327
|
+
const deserialized = _json(body);
|
|
1349
1328
|
const exception = new TagQuotaPerResourceExceeded({
|
|
1350
1329
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1351
1330
|
...deserialized,
|
|
1352
1331
|
});
|
|
1353
1332
|
return __decorateServiceException(exception, body);
|
|
1354
1333
|
};
|
|
1355
|
-
const se_AvailabilityZoneList = (input, context) => {
|
|
1356
|
-
return input
|
|
1357
|
-
.filter((e) => e != null)
|
|
1358
|
-
.map((entry) => {
|
|
1359
|
-
return entry;
|
|
1360
|
-
});
|
|
1361
|
-
};
|
|
1362
|
-
const se_ClusterNameList = (input, context) => {
|
|
1363
|
-
return input
|
|
1364
|
-
.filter((e) => e != null)
|
|
1365
|
-
.map((entry) => {
|
|
1366
|
-
return entry;
|
|
1367
|
-
});
|
|
1368
|
-
};
|
|
1369
|
-
const se_CreateClusterRequest = (input, context) => {
|
|
1370
|
-
return {
|
|
1371
|
-
...(input.AvailabilityZones != null && {
|
|
1372
|
-
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1373
|
-
}),
|
|
1374
|
-
...(input.ClusterEndpointEncryptionType != null && {
|
|
1375
|
-
ClusterEndpointEncryptionType: input.ClusterEndpointEncryptionType,
|
|
1376
|
-
}),
|
|
1377
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1378
|
-
...(input.Description != null && { Description: input.Description }),
|
|
1379
|
-
...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
|
|
1380
|
-
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
1381
|
-
...(input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn }),
|
|
1382
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1383
|
-
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1384
|
-
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
1385
|
-
...(input.SSESpecification != null && { SSESpecification: se_SSESpecification(input.SSESpecification, context) }),
|
|
1386
|
-
...(input.SecurityGroupIds != null && {
|
|
1387
|
-
SecurityGroupIds: se_SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1388
|
-
}),
|
|
1389
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1390
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1391
|
-
};
|
|
1392
|
-
};
|
|
1393
|
-
const se_CreateParameterGroupRequest = (input, context) => {
|
|
1394
|
-
return {
|
|
1395
|
-
...(input.Description != null && { Description: input.Description }),
|
|
1396
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
const se_CreateSubnetGroupRequest = (input, context) => {
|
|
1400
|
-
return {
|
|
1401
|
-
...(input.Description != null && { Description: input.Description }),
|
|
1402
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1403
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1404
|
-
};
|
|
1405
|
-
};
|
|
1406
|
-
const se_DecreaseReplicationFactorRequest = (input, context) => {
|
|
1407
|
-
return {
|
|
1408
|
-
...(input.AvailabilityZones != null && {
|
|
1409
|
-
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1410
|
-
}),
|
|
1411
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1412
|
-
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1413
|
-
...(input.NodeIdsToRemove != null && { NodeIdsToRemove: se_NodeIdentifierList(input.NodeIdsToRemove, context) }),
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
const se_DeleteClusterRequest = (input, context) => {
|
|
1417
|
-
return {
|
|
1418
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1419
|
-
};
|
|
1420
|
-
};
|
|
1421
|
-
const se_DeleteParameterGroupRequest = (input, context) => {
|
|
1422
|
-
return {
|
|
1423
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1424
|
-
};
|
|
1425
|
-
};
|
|
1426
|
-
const se_DeleteSubnetGroupRequest = (input, context) => {
|
|
1427
|
-
return {
|
|
1428
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1429
|
-
};
|
|
1430
|
-
};
|
|
1431
|
-
const se_DescribeClustersRequest = (input, context) => {
|
|
1432
|
-
return {
|
|
1433
|
-
...(input.ClusterNames != null && { ClusterNames: se_ClusterNameList(input.ClusterNames, context) }),
|
|
1434
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1435
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1436
|
-
};
|
|
1437
|
-
};
|
|
1438
|
-
const se_DescribeDefaultParametersRequest = (input, context) => {
|
|
1439
|
-
return {
|
|
1440
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1441
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1442
|
-
};
|
|
1443
|
-
};
|
|
1444
1334
|
const se_DescribeEventsRequest = (input, context) => {
|
|
1445
|
-
return {
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
};
|
|
1454
|
-
};
|
|
1455
|
-
const se_DescribeParameterGroupsRequest = (input, context) => {
|
|
1456
|
-
return {
|
|
1457
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1458
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1459
|
-
...(input.ParameterGroupNames != null && {
|
|
1460
|
-
ParameterGroupNames: se_ParameterGroupNameList(input.ParameterGroupNames, context),
|
|
1461
|
-
}),
|
|
1462
|
-
};
|
|
1463
|
-
};
|
|
1464
|
-
const se_DescribeParametersRequest = (input, context) => {
|
|
1465
|
-
return {
|
|
1466
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1467
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1468
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1469
|
-
...(input.Source != null && { Source: input.Source }),
|
|
1470
|
-
};
|
|
1471
|
-
};
|
|
1472
|
-
const se_DescribeSubnetGroupsRequest = (input, context) => {
|
|
1473
|
-
return {
|
|
1474
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1475
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1476
|
-
...(input.SubnetGroupNames != null && {
|
|
1477
|
-
SubnetGroupNames: se_SubnetGroupNameList(input.SubnetGroupNames, context),
|
|
1478
|
-
}),
|
|
1479
|
-
};
|
|
1480
|
-
};
|
|
1481
|
-
const se_IncreaseReplicationFactorRequest = (input, context) => {
|
|
1482
|
-
return {
|
|
1483
|
-
...(input.AvailabilityZones != null && {
|
|
1484
|
-
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1485
|
-
}),
|
|
1486
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1487
|
-
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1488
|
-
};
|
|
1489
|
-
};
|
|
1490
|
-
const se_KeyList = (input, context) => {
|
|
1491
|
-
return input
|
|
1492
|
-
.filter((e) => e != null)
|
|
1493
|
-
.map((entry) => {
|
|
1494
|
-
return entry;
|
|
1495
|
-
});
|
|
1496
|
-
};
|
|
1497
|
-
const se_ListTagsRequest = (input, context) => {
|
|
1498
|
-
return {
|
|
1499
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1500
|
-
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
const se_NodeIdentifierList = (input, context) => {
|
|
1504
|
-
return input
|
|
1505
|
-
.filter((e) => e != null)
|
|
1506
|
-
.map((entry) => {
|
|
1507
|
-
return entry;
|
|
1508
|
-
});
|
|
1509
|
-
};
|
|
1510
|
-
const se_ParameterGroupNameList = (input, context) => {
|
|
1511
|
-
return input
|
|
1512
|
-
.filter((e) => e != null)
|
|
1513
|
-
.map((entry) => {
|
|
1514
|
-
return entry;
|
|
1515
|
-
});
|
|
1516
|
-
};
|
|
1517
|
-
const se_ParameterNameValue = (input, context) => {
|
|
1518
|
-
return {
|
|
1519
|
-
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
1520
|
-
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1521
|
-
};
|
|
1522
|
-
};
|
|
1523
|
-
const se_ParameterNameValueList = (input, context) => {
|
|
1524
|
-
return input
|
|
1525
|
-
.filter((e) => e != null)
|
|
1526
|
-
.map((entry) => {
|
|
1527
|
-
return se_ParameterNameValue(entry, context);
|
|
1528
|
-
});
|
|
1529
|
-
};
|
|
1530
|
-
const se_RebootNodeRequest = (input, context) => {
|
|
1531
|
-
return {
|
|
1532
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1533
|
-
...(input.NodeId != null && { NodeId: input.NodeId }),
|
|
1534
|
-
};
|
|
1535
|
-
};
|
|
1536
|
-
const se_SecurityGroupIdentifierList = (input, context) => {
|
|
1537
|
-
return input
|
|
1538
|
-
.filter((e) => e != null)
|
|
1539
|
-
.map((entry) => {
|
|
1540
|
-
return entry;
|
|
1541
|
-
});
|
|
1542
|
-
};
|
|
1543
|
-
const se_SSESpecification = (input, context) => {
|
|
1544
|
-
return {
|
|
1545
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1546
|
-
};
|
|
1547
|
-
};
|
|
1548
|
-
const se_SubnetGroupNameList = (input, context) => {
|
|
1549
|
-
return input
|
|
1550
|
-
.filter((e) => e != null)
|
|
1551
|
-
.map((entry) => {
|
|
1552
|
-
return entry;
|
|
1553
|
-
});
|
|
1554
|
-
};
|
|
1555
|
-
const se_SubnetIdentifierList = (input, context) => {
|
|
1556
|
-
return input
|
|
1557
|
-
.filter((e) => e != null)
|
|
1558
|
-
.map((entry) => {
|
|
1559
|
-
return entry;
|
|
1335
|
+
return take(input, {
|
|
1336
|
+
Duration: [],
|
|
1337
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1338
|
+
MaxResults: [],
|
|
1339
|
+
NextToken: [],
|
|
1340
|
+
SourceName: [],
|
|
1341
|
+
SourceType: [],
|
|
1342
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1560
1343
|
});
|
|
1561
1344
|
};
|
|
1562
|
-
const se_Tag = (input, context) => {
|
|
1563
|
-
return {
|
|
1564
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1565
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1566
|
-
};
|
|
1567
|
-
};
|
|
1568
|
-
const se_TagList = (input, context) => {
|
|
1569
|
-
return input
|
|
1570
|
-
.filter((e) => e != null)
|
|
1571
|
-
.map((entry) => {
|
|
1572
|
-
return se_Tag(entry, context);
|
|
1573
|
-
});
|
|
1574
|
-
};
|
|
1575
|
-
const se_TagResourceRequest = (input, context) => {
|
|
1576
|
-
return {
|
|
1577
|
-
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1578
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1579
|
-
};
|
|
1580
|
-
};
|
|
1581
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
1582
|
-
return {
|
|
1583
|
-
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1584
|
-
...(input.TagKeys != null && { TagKeys: se_KeyList(input.TagKeys, context) }),
|
|
1585
|
-
};
|
|
1586
|
-
};
|
|
1587
|
-
const se_UpdateClusterRequest = (input, context) => {
|
|
1588
|
-
return {
|
|
1589
|
-
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1590
|
-
...(input.Description != null && { Description: input.Description }),
|
|
1591
|
-
...(input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn }),
|
|
1592
|
-
...(input.NotificationTopicStatus != null && { NotificationTopicStatus: input.NotificationTopicStatus }),
|
|
1593
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1594
|
-
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1595
|
-
...(input.SecurityGroupIds != null && {
|
|
1596
|
-
SecurityGroupIds: se_SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1597
|
-
}),
|
|
1598
|
-
};
|
|
1599
|
-
};
|
|
1600
|
-
const se_UpdateParameterGroupRequest = (input, context) => {
|
|
1601
|
-
return {
|
|
1602
|
-
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1603
|
-
...(input.ParameterNameValues != null && {
|
|
1604
|
-
ParameterNameValues: se_ParameterNameValueList(input.ParameterNameValues, context),
|
|
1605
|
-
}),
|
|
1606
|
-
};
|
|
1607
|
-
};
|
|
1608
|
-
const se_UpdateSubnetGroupRequest = (input, context) => {
|
|
1609
|
-
return {
|
|
1610
|
-
...(input.Description != null && { Description: input.Description }),
|
|
1611
|
-
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1612
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1613
|
-
};
|
|
1614
|
-
};
|
|
1615
1345
|
const de_Cluster = (output, context) => {
|
|
1616
|
-
return {
|
|
1617
|
-
ActiveNodes: __expectInt32
|
|
1618
|
-
ClusterArn: __expectString
|
|
1619
|
-
ClusterDiscoveryEndpoint:
|
|
1620
|
-
ClusterEndpointEncryptionType: __expectString
|
|
1621
|
-
ClusterName: __expectString
|
|
1622
|
-
Description: __expectString
|
|
1623
|
-
IamRoleArn: __expectString
|
|
1624
|
-
NodeIdsToRemove:
|
|
1625
|
-
NodeType: __expectString
|
|
1626
|
-
Nodes:
|
|
1627
|
-
NotificationConfiguration:
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
TotalNodes: __expectInt32(output.TotalNodes),
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
|
-
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
1640
|
-
return {
|
|
1641
|
-
message: __expectString(output.message),
|
|
1642
|
-
};
|
|
1346
|
+
return take(output, {
|
|
1347
|
+
ActiveNodes: __expectInt32,
|
|
1348
|
+
ClusterArn: __expectString,
|
|
1349
|
+
ClusterDiscoveryEndpoint: _json,
|
|
1350
|
+
ClusterEndpointEncryptionType: __expectString,
|
|
1351
|
+
ClusterName: __expectString,
|
|
1352
|
+
Description: __expectString,
|
|
1353
|
+
IamRoleArn: __expectString,
|
|
1354
|
+
NodeIdsToRemove: _json,
|
|
1355
|
+
NodeType: __expectString,
|
|
1356
|
+
Nodes: (_) => de_NodeList(_, context),
|
|
1357
|
+
NotificationConfiguration: _json,
|
|
1358
|
+
ParameterGroup: _json,
|
|
1359
|
+
PreferredMaintenanceWindow: __expectString,
|
|
1360
|
+
SSEDescription: _json,
|
|
1361
|
+
SecurityGroups: _json,
|
|
1362
|
+
Status: __expectString,
|
|
1363
|
+
SubnetGroup: __expectString,
|
|
1364
|
+
TotalNodes: __expectInt32,
|
|
1365
|
+
});
|
|
1643
1366
|
};
|
|
1644
1367
|
const de_ClusterList = (output, context) => {
|
|
1645
1368
|
const retVal = (output || [])
|
|
1646
1369
|
.filter((e) => e != null)
|
|
1647
1370
|
.map((entry) => {
|
|
1648
|
-
if (entry === null) {
|
|
1649
|
-
return null;
|
|
1650
|
-
}
|
|
1651
1371
|
return de_Cluster(entry, context);
|
|
1652
1372
|
});
|
|
1653
1373
|
return retVal;
|
|
1654
1374
|
};
|
|
1655
|
-
const de_ClusterNotFoundFault = (output, context) => {
|
|
1656
|
-
return {
|
|
1657
|
-
message: __expectString(output.message),
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
const de_ClusterQuotaForCustomerExceededFault = (output, context) => {
|
|
1661
|
-
return {
|
|
1662
|
-
message: __expectString(output.message),
|
|
1663
|
-
};
|
|
1664
|
-
};
|
|
1665
1375
|
const de_CreateClusterResponse = (output, context) => {
|
|
1666
|
-
return {
|
|
1667
|
-
Cluster:
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
const de_CreateParameterGroupResponse = (output, context) => {
|
|
1671
|
-
return {
|
|
1672
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
const de_CreateSubnetGroupResponse = (output, context) => {
|
|
1676
|
-
return {
|
|
1677
|
-
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
1678
|
-
};
|
|
1376
|
+
return take(output, {
|
|
1377
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
1378
|
+
});
|
|
1679
1379
|
};
|
|
1680
1380
|
const de_DecreaseReplicationFactorResponse = (output, context) => {
|
|
1681
|
-
return {
|
|
1682
|
-
Cluster:
|
|
1683
|
-
};
|
|
1381
|
+
return take(output, {
|
|
1382
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
1383
|
+
});
|
|
1684
1384
|
};
|
|
1685
1385
|
const de_DeleteClusterResponse = (output, context) => {
|
|
1686
|
-
return {
|
|
1687
|
-
Cluster:
|
|
1688
|
-
};
|
|
1689
|
-
};
|
|
1690
|
-
const de_DeleteParameterGroupResponse = (output, context) => {
|
|
1691
|
-
return {
|
|
1692
|
-
DeletionMessage: __expectString(output.DeletionMessage),
|
|
1693
|
-
};
|
|
1694
|
-
};
|
|
1695
|
-
const de_DeleteSubnetGroupResponse = (output, context) => {
|
|
1696
|
-
return {
|
|
1697
|
-
DeletionMessage: __expectString(output.DeletionMessage),
|
|
1698
|
-
};
|
|
1386
|
+
return take(output, {
|
|
1387
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
1388
|
+
});
|
|
1699
1389
|
};
|
|
1700
1390
|
const de_DescribeClustersResponse = (output, context) => {
|
|
1701
|
-
return {
|
|
1702
|
-
Clusters:
|
|
1703
|
-
NextToken: __expectString
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
const de_DescribeDefaultParametersResponse = (output, context) => {
|
|
1707
|
-
return {
|
|
1708
|
-
NextToken: __expectString(output.NextToken),
|
|
1709
|
-
Parameters: output.Parameters != null ? de_ParameterList(output.Parameters, context) : undefined,
|
|
1710
|
-
};
|
|
1391
|
+
return take(output, {
|
|
1392
|
+
Clusters: (_) => de_ClusterList(_, context),
|
|
1393
|
+
NextToken: __expectString,
|
|
1394
|
+
});
|
|
1711
1395
|
};
|
|
1712
1396
|
const de_DescribeEventsResponse = (output, context) => {
|
|
1713
|
-
return {
|
|
1714
|
-
Events:
|
|
1715
|
-
NextToken: __expectString
|
|
1716
|
-
};
|
|
1717
|
-
};
|
|
1718
|
-
const de_DescribeParameterGroupsResponse = (output, context) => {
|
|
1719
|
-
return {
|
|
1720
|
-
NextToken: __expectString(output.NextToken),
|
|
1721
|
-
ParameterGroups: output.ParameterGroups != null ? de_ParameterGroupList(output.ParameterGroups, context) : undefined,
|
|
1722
|
-
};
|
|
1723
|
-
};
|
|
1724
|
-
const de_DescribeParametersResponse = (output, context) => {
|
|
1725
|
-
return {
|
|
1726
|
-
NextToken: __expectString(output.NextToken),
|
|
1727
|
-
Parameters: output.Parameters != null ? de_ParameterList(output.Parameters, context) : undefined,
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
1730
|
-
const de_DescribeSubnetGroupsResponse = (output, context) => {
|
|
1731
|
-
return {
|
|
1732
|
-
NextToken: __expectString(output.NextToken),
|
|
1733
|
-
SubnetGroups: output.SubnetGroups != null ? de_SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
const de_Endpoint = (output, context) => {
|
|
1737
|
-
return {
|
|
1738
|
-
Address: __expectString(output.Address),
|
|
1739
|
-
Port: __expectInt32(output.Port),
|
|
1740
|
-
URL: __expectString(output.URL),
|
|
1741
|
-
};
|
|
1397
|
+
return take(output, {
|
|
1398
|
+
Events: (_) => de_EventList(_, context),
|
|
1399
|
+
NextToken: __expectString,
|
|
1400
|
+
});
|
|
1742
1401
|
};
|
|
1743
1402
|
const de_Event = (output, context) => {
|
|
1744
|
-
return {
|
|
1745
|
-
Date:
|
|
1746
|
-
Message: __expectString
|
|
1747
|
-
SourceName: __expectString
|
|
1748
|
-
SourceType: __expectString
|
|
1749
|
-
};
|
|
1403
|
+
return take(output, {
|
|
1404
|
+
Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1405
|
+
Message: __expectString,
|
|
1406
|
+
SourceName: __expectString,
|
|
1407
|
+
SourceType: __expectString,
|
|
1408
|
+
});
|
|
1750
1409
|
};
|
|
1751
1410
|
const de_EventList = (output, context) => {
|
|
1752
1411
|
const retVal = (output || [])
|
|
1753
1412
|
.filter((e) => e != null)
|
|
1754
1413
|
.map((entry) => {
|
|
1755
|
-
if (entry === null) {
|
|
1756
|
-
return null;
|
|
1757
|
-
}
|
|
1758
1414
|
return de_Event(entry, context);
|
|
1759
1415
|
});
|
|
1760
1416
|
return retVal;
|
|
1761
1417
|
};
|
|
1762
1418
|
const de_IncreaseReplicationFactorResponse = (output, context) => {
|
|
1763
|
-
return {
|
|
1764
|
-
Cluster:
|
|
1765
|
-
};
|
|
1766
|
-
};
|
|
1767
|
-
const de_InsufficientClusterCapacityFault = (output, context) => {
|
|
1768
|
-
return {
|
|
1769
|
-
message: __expectString(output.message),
|
|
1770
|
-
};
|
|
1771
|
-
};
|
|
1772
|
-
const de_InvalidARNFault = (output, context) => {
|
|
1773
|
-
return {
|
|
1774
|
-
message: __expectString(output.message),
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
|
-
const de_InvalidClusterStateFault = (output, context) => {
|
|
1778
|
-
return {
|
|
1779
|
-
message: __expectString(output.message),
|
|
1780
|
-
};
|
|
1781
|
-
};
|
|
1782
|
-
const de_InvalidParameterCombinationException = (output, context) => {
|
|
1783
|
-
return {
|
|
1784
|
-
message: __expectString(output.message),
|
|
1785
|
-
};
|
|
1786
|
-
};
|
|
1787
|
-
const de_InvalidParameterGroupStateFault = (output, context) => {
|
|
1788
|
-
return {
|
|
1789
|
-
message: __expectString(output.message),
|
|
1790
|
-
};
|
|
1791
|
-
};
|
|
1792
|
-
const de_InvalidParameterValueException = (output, context) => {
|
|
1793
|
-
return {
|
|
1794
|
-
message: __expectString(output.message),
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
|
-
const de_InvalidSubnet = (output, context) => {
|
|
1798
|
-
return {
|
|
1799
|
-
message: __expectString(output.message),
|
|
1800
|
-
};
|
|
1801
|
-
};
|
|
1802
|
-
const de_InvalidVPCNetworkStateFault = (output, context) => {
|
|
1803
|
-
return {
|
|
1804
|
-
message: __expectString(output.message),
|
|
1805
|
-
};
|
|
1806
|
-
};
|
|
1807
|
-
const de_ListTagsResponse = (output, context) => {
|
|
1808
|
-
return {
|
|
1809
|
-
NextToken: __expectString(output.NextToken),
|
|
1810
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1811
|
-
};
|
|
1419
|
+
return take(output, {
|
|
1420
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
1421
|
+
});
|
|
1812
1422
|
};
|
|
1813
1423
|
const de_Node = (output, context) => {
|
|
1814
|
-
return {
|
|
1815
|
-
AvailabilityZone: __expectString
|
|
1816
|
-
Endpoint:
|
|
1817
|
-
NodeCreateTime:
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
NodeStatus: __expectString(output.NodeStatus),
|
|
1822
|
-
ParameterGroupStatus: __expectString(output.ParameterGroupStatus),
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
const de_NodeIdentifierList = (output, context) => {
|
|
1826
|
-
const retVal = (output || [])
|
|
1827
|
-
.filter((e) => e != null)
|
|
1828
|
-
.map((entry) => {
|
|
1829
|
-
if (entry === null) {
|
|
1830
|
-
return null;
|
|
1831
|
-
}
|
|
1832
|
-
return __expectString(entry);
|
|
1424
|
+
return take(output, {
|
|
1425
|
+
AvailabilityZone: __expectString,
|
|
1426
|
+
Endpoint: _json,
|
|
1427
|
+
NodeCreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1428
|
+
NodeId: __expectString,
|
|
1429
|
+
NodeStatus: __expectString,
|
|
1430
|
+
ParameterGroupStatus: __expectString,
|
|
1833
1431
|
});
|
|
1834
|
-
return retVal;
|
|
1835
1432
|
};
|
|
1836
1433
|
const de_NodeList = (output, context) => {
|
|
1837
1434
|
const retVal = (output || [])
|
|
1838
1435
|
.filter((e) => e != null)
|
|
1839
1436
|
.map((entry) => {
|
|
1840
|
-
if (entry === null) {
|
|
1841
|
-
return null;
|
|
1842
|
-
}
|
|
1843
1437
|
return de_Node(entry, context);
|
|
1844
1438
|
});
|
|
1845
1439
|
return retVal;
|
|
1846
1440
|
};
|
|
1847
|
-
const de_NodeNotFoundFault = (output, context) => {
|
|
1848
|
-
return {
|
|
1849
|
-
message: __expectString(output.message),
|
|
1850
|
-
};
|
|
1851
|
-
};
|
|
1852
|
-
const de_NodeQuotaForClusterExceededFault = (output, context) => {
|
|
1853
|
-
return {
|
|
1854
|
-
message: __expectString(output.message),
|
|
1855
|
-
};
|
|
1856
|
-
};
|
|
1857
|
-
const de_NodeQuotaForCustomerExceededFault = (output, context) => {
|
|
1858
|
-
return {
|
|
1859
|
-
message: __expectString(output.message),
|
|
1860
|
-
};
|
|
1861
|
-
};
|
|
1862
|
-
const de_NodeTypeSpecificValue = (output, context) => {
|
|
1863
|
-
return {
|
|
1864
|
-
NodeType: __expectString(output.NodeType),
|
|
1865
|
-
Value: __expectString(output.Value),
|
|
1866
|
-
};
|
|
1867
|
-
};
|
|
1868
|
-
const de_NodeTypeSpecificValueList = (output, context) => {
|
|
1869
|
-
const retVal = (output || [])
|
|
1870
|
-
.filter((e) => e != null)
|
|
1871
|
-
.map((entry) => {
|
|
1872
|
-
if (entry === null) {
|
|
1873
|
-
return null;
|
|
1874
|
-
}
|
|
1875
|
-
return de_NodeTypeSpecificValue(entry, context);
|
|
1876
|
-
});
|
|
1877
|
-
return retVal;
|
|
1878
|
-
};
|
|
1879
|
-
const de_NotificationConfiguration = (output, context) => {
|
|
1880
|
-
return {
|
|
1881
|
-
TopicArn: __expectString(output.TopicArn),
|
|
1882
|
-
TopicStatus: __expectString(output.TopicStatus),
|
|
1883
|
-
};
|
|
1884
|
-
};
|
|
1885
|
-
const de_Parameter = (output, context) => {
|
|
1886
|
-
return {
|
|
1887
|
-
AllowedValues: __expectString(output.AllowedValues),
|
|
1888
|
-
ChangeType: __expectString(output.ChangeType),
|
|
1889
|
-
DataType: __expectString(output.DataType),
|
|
1890
|
-
Description: __expectString(output.Description),
|
|
1891
|
-
IsModifiable: __expectString(output.IsModifiable),
|
|
1892
|
-
NodeTypeSpecificValues: output.NodeTypeSpecificValues != null
|
|
1893
|
-
? de_NodeTypeSpecificValueList(output.NodeTypeSpecificValues, context)
|
|
1894
|
-
: undefined,
|
|
1895
|
-
ParameterName: __expectString(output.ParameterName),
|
|
1896
|
-
ParameterType: __expectString(output.ParameterType),
|
|
1897
|
-
ParameterValue: __expectString(output.ParameterValue),
|
|
1898
|
-
Source: __expectString(output.Source),
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
|
-
const de_ParameterGroup = (output, context) => {
|
|
1902
|
-
return {
|
|
1903
|
-
Description: __expectString(output.Description),
|
|
1904
|
-
ParameterGroupName: __expectString(output.ParameterGroupName),
|
|
1905
|
-
};
|
|
1906
|
-
};
|
|
1907
|
-
const de_ParameterGroupAlreadyExistsFault = (output, context) => {
|
|
1908
|
-
return {
|
|
1909
|
-
message: __expectString(output.message),
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
const de_ParameterGroupList = (output, context) => {
|
|
1913
|
-
const retVal = (output || [])
|
|
1914
|
-
.filter((e) => e != null)
|
|
1915
|
-
.map((entry) => {
|
|
1916
|
-
if (entry === null) {
|
|
1917
|
-
return null;
|
|
1918
|
-
}
|
|
1919
|
-
return de_ParameterGroup(entry, context);
|
|
1920
|
-
});
|
|
1921
|
-
return retVal;
|
|
1922
|
-
};
|
|
1923
|
-
const de_ParameterGroupNotFoundFault = (output, context) => {
|
|
1924
|
-
return {
|
|
1925
|
-
message: __expectString(output.message),
|
|
1926
|
-
};
|
|
1927
|
-
};
|
|
1928
|
-
const de_ParameterGroupQuotaExceededFault = (output, context) => {
|
|
1929
|
-
return {
|
|
1930
|
-
message: __expectString(output.message),
|
|
1931
|
-
};
|
|
1932
|
-
};
|
|
1933
|
-
const de_ParameterGroupStatus = (output, context) => {
|
|
1934
|
-
return {
|
|
1935
|
-
NodeIdsToReboot: output.NodeIdsToReboot != null ? de_NodeIdentifierList(output.NodeIdsToReboot, context) : undefined,
|
|
1936
|
-
ParameterApplyStatus: __expectString(output.ParameterApplyStatus),
|
|
1937
|
-
ParameterGroupName: __expectString(output.ParameterGroupName),
|
|
1938
|
-
};
|
|
1939
|
-
};
|
|
1940
|
-
const de_ParameterList = (output, context) => {
|
|
1941
|
-
const retVal = (output || [])
|
|
1942
|
-
.filter((e) => e != null)
|
|
1943
|
-
.map((entry) => {
|
|
1944
|
-
if (entry === null) {
|
|
1945
|
-
return null;
|
|
1946
|
-
}
|
|
1947
|
-
return de_Parameter(entry, context);
|
|
1948
|
-
});
|
|
1949
|
-
return retVal;
|
|
1950
|
-
};
|
|
1951
1441
|
const de_RebootNodeResponse = (output, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
Cluster:
|
|
1954
|
-
};
|
|
1955
|
-
};
|
|
1956
|
-
const de_SecurityGroupMembership = (output, context) => {
|
|
1957
|
-
return {
|
|
1958
|
-
SecurityGroupIdentifier: __expectString(output.SecurityGroupIdentifier),
|
|
1959
|
-
Status: __expectString(output.Status),
|
|
1960
|
-
};
|
|
1961
|
-
};
|
|
1962
|
-
const de_SecurityGroupMembershipList = (output, context) => {
|
|
1963
|
-
const retVal = (output || [])
|
|
1964
|
-
.filter((e) => e != null)
|
|
1965
|
-
.map((entry) => {
|
|
1966
|
-
if (entry === null) {
|
|
1967
|
-
return null;
|
|
1968
|
-
}
|
|
1969
|
-
return de_SecurityGroupMembership(entry, context);
|
|
1970
|
-
});
|
|
1971
|
-
return retVal;
|
|
1972
|
-
};
|
|
1973
|
-
const de_ServiceLinkedRoleNotFoundFault = (output, context) => {
|
|
1974
|
-
return {
|
|
1975
|
-
message: __expectString(output.message),
|
|
1976
|
-
};
|
|
1977
|
-
};
|
|
1978
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
1979
|
-
return {};
|
|
1980
|
-
};
|
|
1981
|
-
const de_SSEDescription = (output, context) => {
|
|
1982
|
-
return {
|
|
1983
|
-
Status: __expectString(output.Status),
|
|
1984
|
-
};
|
|
1985
|
-
};
|
|
1986
|
-
const de_Subnet = (output, context) => {
|
|
1987
|
-
return {
|
|
1988
|
-
SubnetAvailabilityZone: __expectString(output.SubnetAvailabilityZone),
|
|
1989
|
-
SubnetIdentifier: __expectString(output.SubnetIdentifier),
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
const de_SubnetGroup = (output, context) => {
|
|
1993
|
-
return {
|
|
1994
|
-
Description: __expectString(output.Description),
|
|
1995
|
-
SubnetGroupName: __expectString(output.SubnetGroupName),
|
|
1996
|
-
Subnets: output.Subnets != null ? de_SubnetList(output.Subnets, context) : undefined,
|
|
1997
|
-
VpcId: __expectString(output.VpcId),
|
|
1998
|
-
};
|
|
1999
|
-
};
|
|
2000
|
-
const de_SubnetGroupAlreadyExistsFault = (output, context) => {
|
|
2001
|
-
return {
|
|
2002
|
-
message: __expectString(output.message),
|
|
2003
|
-
};
|
|
2004
|
-
};
|
|
2005
|
-
const de_SubnetGroupInUseFault = (output, context) => {
|
|
2006
|
-
return {
|
|
2007
|
-
message: __expectString(output.message),
|
|
2008
|
-
};
|
|
2009
|
-
};
|
|
2010
|
-
const de_SubnetGroupList = (output, context) => {
|
|
2011
|
-
const retVal = (output || [])
|
|
2012
|
-
.filter((e) => e != null)
|
|
2013
|
-
.map((entry) => {
|
|
2014
|
-
if (entry === null) {
|
|
2015
|
-
return null;
|
|
2016
|
-
}
|
|
2017
|
-
return de_SubnetGroup(entry, context);
|
|
1442
|
+
return take(output, {
|
|
1443
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
2018
1444
|
});
|
|
2019
|
-
return retVal;
|
|
2020
|
-
};
|
|
2021
|
-
const de_SubnetGroupNotFoundFault = (output, context) => {
|
|
2022
|
-
return {
|
|
2023
|
-
message: __expectString(output.message),
|
|
2024
|
-
};
|
|
2025
|
-
};
|
|
2026
|
-
const de_SubnetGroupQuotaExceededFault = (output, context) => {
|
|
2027
|
-
return {
|
|
2028
|
-
message: __expectString(output.message),
|
|
2029
|
-
};
|
|
2030
|
-
};
|
|
2031
|
-
const de_SubnetInUse = (output, context) => {
|
|
2032
|
-
return {
|
|
2033
|
-
message: __expectString(output.message),
|
|
2034
|
-
};
|
|
2035
|
-
};
|
|
2036
|
-
const de_SubnetList = (output, context) => {
|
|
2037
|
-
const retVal = (output || [])
|
|
2038
|
-
.filter((e) => e != null)
|
|
2039
|
-
.map((entry) => {
|
|
2040
|
-
if (entry === null) {
|
|
2041
|
-
return null;
|
|
2042
|
-
}
|
|
2043
|
-
return de_Subnet(entry, context);
|
|
2044
|
-
});
|
|
2045
|
-
return retVal;
|
|
2046
|
-
};
|
|
2047
|
-
const de_SubnetQuotaExceededFault = (output, context) => {
|
|
2048
|
-
return {
|
|
2049
|
-
message: __expectString(output.message),
|
|
2050
|
-
};
|
|
2051
|
-
};
|
|
2052
|
-
const de_Tag = (output, context) => {
|
|
2053
|
-
return {
|
|
2054
|
-
Key: __expectString(output.Key),
|
|
2055
|
-
Value: __expectString(output.Value),
|
|
2056
|
-
};
|
|
2057
|
-
};
|
|
2058
|
-
const de_TagList = (output, context) => {
|
|
2059
|
-
const retVal = (output || [])
|
|
2060
|
-
.filter((e) => e != null)
|
|
2061
|
-
.map((entry) => {
|
|
2062
|
-
if (entry === null) {
|
|
2063
|
-
return null;
|
|
2064
|
-
}
|
|
2065
|
-
return de_Tag(entry, context);
|
|
2066
|
-
});
|
|
2067
|
-
return retVal;
|
|
2068
|
-
};
|
|
2069
|
-
const de_TagNotFoundFault = (output, context) => {
|
|
2070
|
-
return {
|
|
2071
|
-
message: __expectString(output.message),
|
|
2072
|
-
};
|
|
2073
|
-
};
|
|
2074
|
-
const de_TagQuotaPerResourceExceeded = (output, context) => {
|
|
2075
|
-
return {
|
|
2076
|
-
message: __expectString(output.message),
|
|
2077
|
-
};
|
|
2078
|
-
};
|
|
2079
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2080
|
-
return {
|
|
2081
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2082
|
-
};
|
|
2083
|
-
};
|
|
2084
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2085
|
-
return {
|
|
2086
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2087
|
-
};
|
|
2088
1445
|
};
|
|
2089
1446
|
const de_UpdateClusterResponse = (output, context) => {
|
|
2090
|
-
return {
|
|
2091
|
-
Cluster:
|
|
2092
|
-
};
|
|
2093
|
-
};
|
|
2094
|
-
const de_UpdateParameterGroupResponse = (output, context) => {
|
|
2095
|
-
return {
|
|
2096
|
-
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
2099
|
-
const de_UpdateSubnetGroupResponse = (output, context) => {
|
|
2100
|
-
return {
|
|
2101
|
-
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
2102
|
-
};
|
|
1447
|
+
return take(output, {
|
|
1448
|
+
Cluster: (_) => de_Cluster(_, context),
|
|
1449
|
+
});
|
|
2103
1450
|
};
|
|
2104
1451
|
const deserializeMetadata = (output) => ({
|
|
2105
1452
|
httpStatusCode: output.statusCode,
|
|
@@ -2114,6 +1461,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2114
1461
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2115
1462
|
};
|
|
2116
1463
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1464
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2117
1465
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2118
1466
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2119
1467
|
const contents = {
|