@aws-sdk/client-dax 3.306.0 → 3.309.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/commands/CreateClusterCommand.js +2 -2
- package/dist-cjs/commands/CreateParameterGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateSubnetGroupCommand.js +2 -2
- package/dist-cjs/commands/DecreaseReplicationFactorCommand.js +2 -2
- package/dist-cjs/commands/DeleteClusterCommand.js +2 -2
- package/dist-cjs/commands/DeleteParameterGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js +2 -2
- package/dist-cjs/commands/DescribeClustersCommand.js +2 -2
- package/dist-cjs/commands/DescribeDefaultParametersCommand.js +2 -2
- package/dist-cjs/commands/DescribeEventsCommand.js +2 -2
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeParametersCommand.js +2 -2
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +2 -2
- package/dist-cjs/commands/IncreaseReplicationFactorCommand.js +2 -2
- package/dist-cjs/commands/ListTagsCommand.js +2 -2
- package/dist-cjs/commands/RebootNodeCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateClusterCommand.js +2 -2
- package/dist-cjs/commands/UpdateParameterGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +505 -523
- package/dist-es/commands/CreateClusterCommand.js +3 -3
- package/dist-es/commands/CreateParameterGroupCommand.js +3 -3
- package/dist-es/commands/CreateSubnetGroupCommand.js +3 -3
- package/dist-es/commands/DecreaseReplicationFactorCommand.js +3 -3
- package/dist-es/commands/DeleteClusterCommand.js +3 -3
- package/dist-es/commands/DeleteParameterGroupCommand.js +3 -3
- package/dist-es/commands/DeleteSubnetGroupCommand.js +3 -3
- package/dist-es/commands/DescribeClustersCommand.js +3 -3
- package/dist-es/commands/DescribeDefaultParametersCommand.js +3 -3
- package/dist-es/commands/DescribeEventsCommand.js +3 -3
- package/dist-es/commands/DescribeParameterGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeParametersCommand.js +3 -3
- package/dist-es/commands/DescribeSubnetGroupsCommand.js +3 -3
- package/dist-es/commands/IncreaseReplicationFactorCommand.js +3 -3
- package/dist-es/commands/ListTagsCommand.js +3 -3
- package/dist-es/commands/RebootNodeCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateClusterCommand.js +3 -3
- package/dist-es/commands/UpdateParameterGroupCommand.js +3 -3
- package/dist-es/commands/UpdateSubnetGroupCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +462 -480
- package/dist-types/protocols/Aws_json1_1.d.ts +168 -42
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +42 -42
- package/package.json +6 -6
|
@@ -1,235 +1,235 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateSubnetGroupCommand = exports.de_UpdateParameterGroupCommand = exports.de_UpdateClusterCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RebootNodeCommand = exports.de_ListTagsCommand = exports.de_IncreaseReplicationFactorCommand = exports.de_DescribeSubnetGroupsCommand = exports.de_DescribeParametersCommand = exports.de_DescribeParameterGroupsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeDefaultParametersCommand = exports.de_DescribeClustersCommand = exports.de_DeleteSubnetGroupCommand = exports.de_DeleteParameterGroupCommand = exports.de_DeleteClusterCommand = exports.de_DecreaseReplicationFactorCommand = exports.de_CreateSubnetGroupCommand = exports.de_CreateParameterGroupCommand = exports.de_CreateClusterCommand = exports.se_UpdateSubnetGroupCommand = exports.se_UpdateParameterGroupCommand = exports.se_UpdateClusterCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RebootNodeCommand = exports.se_ListTagsCommand = exports.se_IncreaseReplicationFactorCommand = exports.se_DescribeSubnetGroupsCommand = exports.se_DescribeParametersCommand = exports.se_DescribeParameterGroupsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeDefaultParametersCommand = exports.se_DescribeClustersCommand = exports.se_DeleteSubnetGroupCommand = exports.se_DeleteParameterGroupCommand = exports.se_DeleteClusterCommand = exports.se_DecreaseReplicationFactorCommand = exports.se_CreateSubnetGroupCommand = exports.se_CreateParameterGroupCommand = exports.se_CreateClusterCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const DAXServiceException_1 = require("../models/DAXServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_CreateClusterCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "AmazonDAXV3.CreateCluster",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_CreateClusterRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
18
|
+
const se_CreateParameterGroupCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-amz-json-1.1",
|
|
21
21
|
"x-amz-target": "AmazonDAXV3.CreateParameterGroup",
|
|
22
22
|
};
|
|
23
23
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
24
|
+
body = JSON.stringify(se_CreateParameterGroupRequest(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
27
|
+
exports.se_CreateParameterGroupCommand = se_CreateParameterGroupCommand;
|
|
28
|
+
const se_CreateSubnetGroupCommand = async (input, context) => {
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/x-amz-json-1.1",
|
|
31
31
|
"x-amz-target": "AmazonDAXV3.CreateSubnetGroup",
|
|
32
32
|
};
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify(se_CreateSubnetGroupRequest(input, context));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.se_CreateSubnetGroupCommand = se_CreateSubnetGroupCommand;
|
|
38
|
+
const se_DecreaseReplicationFactorCommand = async (input, context) => {
|
|
39
39
|
const headers = {
|
|
40
40
|
"content-type": "application/x-amz-json-1.1",
|
|
41
41
|
"x-amz-target": "AmazonDAXV3.DecreaseReplicationFactor",
|
|
42
42
|
};
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(se_DecreaseReplicationFactorRequest(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_DecreaseReplicationFactorCommand = se_DecreaseReplicationFactorCommand;
|
|
48
|
+
const se_DeleteClusterCommand = async (input, context) => {
|
|
49
49
|
const headers = {
|
|
50
50
|
"content-type": "application/x-amz-json-1.1",
|
|
51
51
|
"x-amz-target": "AmazonDAXV3.DeleteCluster",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify(se_DeleteClusterRequest(input, context));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
|
-
exports.
|
|
58
|
-
const
|
|
57
|
+
exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
|
|
58
|
+
const se_DeleteParameterGroupCommand = async (input, context) => {
|
|
59
59
|
const headers = {
|
|
60
60
|
"content-type": "application/x-amz-json-1.1",
|
|
61
61
|
"x-amz-target": "AmazonDAXV3.DeleteParameterGroup",
|
|
62
62
|
};
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify(
|
|
64
|
+
body = JSON.stringify(se_DeleteParameterGroupRequest(input, context));
|
|
65
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
68
|
-
const
|
|
67
|
+
exports.se_DeleteParameterGroupCommand = se_DeleteParameterGroupCommand;
|
|
68
|
+
const se_DeleteSubnetGroupCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "AmazonDAXV3.DeleteSubnetGroup",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DeleteSubnetGroupRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
exports.
|
|
78
|
-
const
|
|
77
|
+
exports.se_DeleteSubnetGroupCommand = se_DeleteSubnetGroupCommand;
|
|
78
|
+
const se_DescribeClustersCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "AmazonDAXV3.DescribeClusters",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_DescribeClustersRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_DescribeClustersCommand = se_DescribeClustersCommand;
|
|
88
|
+
const se_DescribeDefaultParametersCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-amz-json-1.1",
|
|
91
91
|
"x-amz-target": "AmazonDAXV3.DescribeDefaultParameters",
|
|
92
92
|
};
|
|
93
93
|
let body;
|
|
94
|
-
body = JSON.stringify(
|
|
94
|
+
body = JSON.stringify(se_DescribeDefaultParametersRequest(input, context));
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
98
|
-
const
|
|
97
|
+
exports.se_DescribeDefaultParametersCommand = se_DescribeDefaultParametersCommand;
|
|
98
|
+
const se_DescribeEventsCommand = async (input, context) => {
|
|
99
99
|
const headers = {
|
|
100
100
|
"content-type": "application/x-amz-json-1.1",
|
|
101
101
|
"x-amz-target": "AmazonDAXV3.DescribeEvents",
|
|
102
102
|
};
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(se_DescribeEventsRequest(input, context));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
|
-
exports.
|
|
108
|
-
const
|
|
107
|
+
exports.se_DescribeEventsCommand = se_DescribeEventsCommand;
|
|
108
|
+
const se_DescribeParameterGroupsCommand = async (input, context) => {
|
|
109
109
|
const headers = {
|
|
110
110
|
"content-type": "application/x-amz-json-1.1",
|
|
111
111
|
"x-amz-target": "AmazonDAXV3.DescribeParameterGroups",
|
|
112
112
|
};
|
|
113
113
|
let body;
|
|
114
|
-
body = JSON.stringify(
|
|
114
|
+
body = JSON.stringify(se_DescribeParameterGroupsRequest(input, context));
|
|
115
115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
116
|
};
|
|
117
|
-
exports.
|
|
118
|
-
const
|
|
117
|
+
exports.se_DescribeParameterGroupsCommand = se_DescribeParameterGroupsCommand;
|
|
118
|
+
const se_DescribeParametersCommand = async (input, context) => {
|
|
119
119
|
const headers = {
|
|
120
120
|
"content-type": "application/x-amz-json-1.1",
|
|
121
121
|
"x-amz-target": "AmazonDAXV3.DescribeParameters",
|
|
122
122
|
};
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify(se_DescribeParametersRequest(input, context));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
128
|
-
const
|
|
127
|
+
exports.se_DescribeParametersCommand = se_DescribeParametersCommand;
|
|
128
|
+
const se_DescribeSubnetGroupsCommand = async (input, context) => {
|
|
129
129
|
const headers = {
|
|
130
130
|
"content-type": "application/x-amz-json-1.1",
|
|
131
131
|
"x-amz-target": "AmazonDAXV3.DescribeSubnetGroups",
|
|
132
132
|
};
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(se_DescribeSubnetGroupsRequest(input, context));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
|
-
exports.
|
|
138
|
-
const
|
|
137
|
+
exports.se_DescribeSubnetGroupsCommand = se_DescribeSubnetGroupsCommand;
|
|
138
|
+
const se_IncreaseReplicationFactorCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-amz-json-1.1",
|
|
141
141
|
"x-amz-target": "AmazonDAXV3.IncreaseReplicationFactor",
|
|
142
142
|
};
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify(se_IncreaseReplicationFactorRequest(input, context));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
|
-
exports.
|
|
148
|
-
const
|
|
147
|
+
exports.se_IncreaseReplicationFactorCommand = se_IncreaseReplicationFactorCommand;
|
|
148
|
+
const se_ListTagsCommand = async (input, context) => {
|
|
149
149
|
const headers = {
|
|
150
150
|
"content-type": "application/x-amz-json-1.1",
|
|
151
151
|
"x-amz-target": "AmazonDAXV3.ListTags",
|
|
152
152
|
};
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify(se_ListTagsRequest(input, context));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
|
-
exports.
|
|
158
|
-
const
|
|
157
|
+
exports.se_ListTagsCommand = se_ListTagsCommand;
|
|
158
|
+
const se_RebootNodeCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "AmazonDAXV3.RebootNode",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_RebootNodeRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
167
|
+
exports.se_RebootNodeCommand = se_RebootNodeCommand;
|
|
168
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.1",
|
|
171
171
|
"x-amz-target": "AmazonDAXV3.TagResource",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
const
|
|
177
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
178
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
179
179
|
const headers = {
|
|
180
180
|
"content-type": "application/x-amz-json-1.1",
|
|
181
181
|
"x-amz-target": "AmazonDAXV3.UntagResource",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
|
-
body = JSON.stringify(
|
|
184
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
185
185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
186
|
};
|
|
187
|
-
exports.
|
|
188
|
-
const
|
|
187
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
188
|
+
const se_UpdateClusterCommand = async (input, context) => {
|
|
189
189
|
const headers = {
|
|
190
190
|
"content-type": "application/x-amz-json-1.1",
|
|
191
191
|
"x-amz-target": "AmazonDAXV3.UpdateCluster",
|
|
192
192
|
};
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(se_UpdateClusterRequest(input, context));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
|
-
exports.
|
|
198
|
-
const
|
|
197
|
+
exports.se_UpdateClusterCommand = se_UpdateClusterCommand;
|
|
198
|
+
const se_UpdateParameterGroupCommand = async (input, context) => {
|
|
199
199
|
const headers = {
|
|
200
200
|
"content-type": "application/x-amz-json-1.1",
|
|
201
201
|
"x-amz-target": "AmazonDAXV3.UpdateParameterGroup",
|
|
202
202
|
};
|
|
203
203
|
let body;
|
|
204
|
-
body = JSON.stringify(
|
|
204
|
+
body = JSON.stringify(se_UpdateParameterGroupRequest(input, context));
|
|
205
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
206
|
};
|
|
207
|
-
exports.
|
|
208
|
-
const
|
|
207
|
+
exports.se_UpdateParameterGroupCommand = se_UpdateParameterGroupCommand;
|
|
208
|
+
const se_UpdateSubnetGroupCommand = async (input, context) => {
|
|
209
209
|
const headers = {
|
|
210
210
|
"content-type": "application/x-amz-json-1.1",
|
|
211
211
|
"x-amz-target": "AmazonDAXV3.UpdateSubnetGroup",
|
|
212
212
|
};
|
|
213
213
|
let body;
|
|
214
|
-
body = JSON.stringify(
|
|
214
|
+
body = JSON.stringify(se_UpdateSubnetGroupRequest(input, context));
|
|
215
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
216
|
};
|
|
217
|
-
exports.
|
|
218
|
-
const
|
|
217
|
+
exports.se_UpdateSubnetGroupCommand = se_UpdateSubnetGroupCommand;
|
|
218
|
+
const de_CreateClusterCommand = async (output, context) => {
|
|
219
219
|
if (output.statusCode >= 300) {
|
|
220
|
-
return
|
|
220
|
+
return de_CreateClusterCommandError(output, context);
|
|
221
221
|
}
|
|
222
222
|
const data = await parseBody(output.body, context);
|
|
223
223
|
let contents = {};
|
|
224
|
-
contents =
|
|
224
|
+
contents = de_CreateClusterResponse(data, context);
|
|
225
225
|
const response = {
|
|
226
226
|
$metadata: deserializeMetadata(output),
|
|
227
227
|
...contents,
|
|
228
228
|
};
|
|
229
229
|
return Promise.resolve(response);
|
|
230
230
|
};
|
|
231
|
-
exports.
|
|
232
|
-
const
|
|
231
|
+
exports.de_CreateClusterCommand = de_CreateClusterCommand;
|
|
232
|
+
const de_CreateClusterCommandError = async (output, context) => {
|
|
233
233
|
const parsedOutput = {
|
|
234
234
|
...output,
|
|
235
235
|
body: await parseErrorBody(output.body, context),
|
|
@@ -238,49 +238,49 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
238
238
|
switch (errorCode) {
|
|
239
239
|
case "ClusterAlreadyExistsFault":
|
|
240
240
|
case "com.amazonaws.dax#ClusterAlreadyExistsFault":
|
|
241
|
-
throw await
|
|
241
|
+
throw await de_ClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
242
242
|
case "ClusterQuotaForCustomerExceededFault":
|
|
243
243
|
case "com.amazonaws.dax#ClusterQuotaForCustomerExceededFault":
|
|
244
|
-
throw await
|
|
244
|
+
throw await de_ClusterQuotaForCustomerExceededFaultRes(parsedOutput, context);
|
|
245
245
|
case "InsufficientClusterCapacityFault":
|
|
246
246
|
case "com.amazonaws.dax#InsufficientClusterCapacityFault":
|
|
247
|
-
throw await
|
|
247
|
+
throw await de_InsufficientClusterCapacityFaultRes(parsedOutput, context);
|
|
248
248
|
case "InvalidClusterStateFault":
|
|
249
249
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
250
|
-
throw await
|
|
250
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
251
251
|
case "InvalidParameterCombinationException":
|
|
252
252
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
253
|
-
throw await
|
|
253
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
254
254
|
case "InvalidParameterGroupStateFault":
|
|
255
255
|
case "com.amazonaws.dax#InvalidParameterGroupStateFault":
|
|
256
|
-
throw await
|
|
256
|
+
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
257
257
|
case "InvalidParameterValueException":
|
|
258
258
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
259
|
-
throw await
|
|
259
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
260
260
|
case "InvalidVPCNetworkStateFault":
|
|
261
261
|
case "com.amazonaws.dax#InvalidVPCNetworkStateFault":
|
|
262
|
-
throw await
|
|
262
|
+
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
263
263
|
case "NodeQuotaForClusterExceededFault":
|
|
264
264
|
case "com.amazonaws.dax#NodeQuotaForClusterExceededFault":
|
|
265
|
-
throw await
|
|
265
|
+
throw await de_NodeQuotaForClusterExceededFaultRes(parsedOutput, context);
|
|
266
266
|
case "NodeQuotaForCustomerExceededFault":
|
|
267
267
|
case "com.amazonaws.dax#NodeQuotaForCustomerExceededFault":
|
|
268
|
-
throw await
|
|
268
|
+
throw await de_NodeQuotaForCustomerExceededFaultRes(parsedOutput, context);
|
|
269
269
|
case "ParameterGroupNotFoundFault":
|
|
270
270
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
271
|
-
throw await
|
|
271
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
272
272
|
case "ServiceLinkedRoleNotFoundFault":
|
|
273
273
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
274
|
-
throw await
|
|
274
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
275
275
|
case "ServiceQuotaExceededException":
|
|
276
276
|
case "com.amazonaws.dax#ServiceQuotaExceededException":
|
|
277
|
-
throw await
|
|
277
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
278
278
|
case "SubnetGroupNotFoundFault":
|
|
279
279
|
case "com.amazonaws.dax#SubnetGroupNotFoundFault":
|
|
280
|
-
throw await
|
|
280
|
+
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
281
281
|
case "TagQuotaPerResourceExceeded":
|
|
282
282
|
case "com.amazonaws.dax#TagQuotaPerResourceExceeded":
|
|
283
|
-
throw await
|
|
283
|
+
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
284
284
|
default:
|
|
285
285
|
const parsedBody = parsedOutput.body;
|
|
286
286
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -291,21 +291,21 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
|
-
const
|
|
294
|
+
const de_CreateParameterGroupCommand = async (output, context) => {
|
|
295
295
|
if (output.statusCode >= 300) {
|
|
296
|
-
return
|
|
296
|
+
return de_CreateParameterGroupCommandError(output, context);
|
|
297
297
|
}
|
|
298
298
|
const data = await parseBody(output.body, context);
|
|
299
299
|
let contents = {};
|
|
300
|
-
contents =
|
|
300
|
+
contents = de_CreateParameterGroupResponse(data, context);
|
|
301
301
|
const response = {
|
|
302
302
|
$metadata: deserializeMetadata(output),
|
|
303
303
|
...contents,
|
|
304
304
|
};
|
|
305
305
|
return Promise.resolve(response);
|
|
306
306
|
};
|
|
307
|
-
exports.
|
|
308
|
-
const
|
|
307
|
+
exports.de_CreateParameterGroupCommand = de_CreateParameterGroupCommand;
|
|
308
|
+
const de_CreateParameterGroupCommandError = async (output, context) => {
|
|
309
309
|
const parsedOutput = {
|
|
310
310
|
...output,
|
|
311
311
|
body: await parseErrorBody(output.body, context),
|
|
@@ -314,22 +314,22 @@ const deserializeAws_json1_1CreateParameterGroupCommandError = async (output, co
|
|
|
314
314
|
switch (errorCode) {
|
|
315
315
|
case "InvalidParameterCombinationException":
|
|
316
316
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
317
|
-
throw await
|
|
317
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
318
318
|
case "InvalidParameterGroupStateFault":
|
|
319
319
|
case "com.amazonaws.dax#InvalidParameterGroupStateFault":
|
|
320
|
-
throw await
|
|
320
|
+
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
321
321
|
case "InvalidParameterValueException":
|
|
322
322
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
323
|
-
throw await
|
|
323
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
324
324
|
case "ParameterGroupAlreadyExistsFault":
|
|
325
325
|
case "com.amazonaws.dax#ParameterGroupAlreadyExistsFault":
|
|
326
|
-
throw await
|
|
326
|
+
throw await de_ParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
327
327
|
case "ParameterGroupQuotaExceededFault":
|
|
328
328
|
case "com.amazonaws.dax#ParameterGroupQuotaExceededFault":
|
|
329
|
-
throw await
|
|
329
|
+
throw await de_ParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
330
330
|
case "ServiceLinkedRoleNotFoundFault":
|
|
331
331
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
332
|
-
throw await
|
|
332
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
333
333
|
default:
|
|
334
334
|
const parsedBody = parsedOutput.body;
|
|
335
335
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -340,21 +340,21 @@ const deserializeAws_json1_1CreateParameterGroupCommandError = async (output, co
|
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
|
-
const
|
|
343
|
+
const de_CreateSubnetGroupCommand = async (output, context) => {
|
|
344
344
|
if (output.statusCode >= 300) {
|
|
345
|
-
return
|
|
345
|
+
return de_CreateSubnetGroupCommandError(output, context);
|
|
346
346
|
}
|
|
347
347
|
const data = await parseBody(output.body, context);
|
|
348
348
|
let contents = {};
|
|
349
|
-
contents =
|
|
349
|
+
contents = de_CreateSubnetGroupResponse(data, context);
|
|
350
350
|
const response = {
|
|
351
351
|
$metadata: deserializeMetadata(output),
|
|
352
352
|
...contents,
|
|
353
353
|
};
|
|
354
354
|
return Promise.resolve(response);
|
|
355
355
|
};
|
|
356
|
-
exports.
|
|
357
|
-
const
|
|
356
|
+
exports.de_CreateSubnetGroupCommand = de_CreateSubnetGroupCommand;
|
|
357
|
+
const de_CreateSubnetGroupCommandError = async (output, context) => {
|
|
358
358
|
const parsedOutput = {
|
|
359
359
|
...output,
|
|
360
360
|
body: await parseErrorBody(output.body, context),
|
|
@@ -363,19 +363,19 @@ const deserializeAws_json1_1CreateSubnetGroupCommandError = async (output, conte
|
|
|
363
363
|
switch (errorCode) {
|
|
364
364
|
case "InvalidSubnet":
|
|
365
365
|
case "com.amazonaws.dax#InvalidSubnet":
|
|
366
|
-
throw await
|
|
366
|
+
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
367
367
|
case "ServiceLinkedRoleNotFoundFault":
|
|
368
368
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
369
|
-
throw await
|
|
369
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
370
370
|
case "SubnetGroupAlreadyExistsFault":
|
|
371
371
|
case "com.amazonaws.dax#SubnetGroupAlreadyExistsFault":
|
|
372
|
-
throw await
|
|
372
|
+
throw await de_SubnetGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
373
373
|
case "SubnetGroupQuotaExceededFault":
|
|
374
374
|
case "com.amazonaws.dax#SubnetGroupQuotaExceededFault":
|
|
375
|
-
throw await
|
|
375
|
+
throw await de_SubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
376
376
|
case "SubnetQuotaExceededFault":
|
|
377
377
|
case "com.amazonaws.dax#SubnetQuotaExceededFault":
|
|
378
|
-
throw await
|
|
378
|
+
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
379
379
|
default:
|
|
380
380
|
const parsedBody = parsedOutput.body;
|
|
381
381
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -386,21 +386,21 @@ const deserializeAws_json1_1CreateSubnetGroupCommandError = async (output, conte
|
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
|
-
const
|
|
389
|
+
const de_DecreaseReplicationFactorCommand = async (output, context) => {
|
|
390
390
|
if (output.statusCode >= 300) {
|
|
391
|
-
return
|
|
391
|
+
return de_DecreaseReplicationFactorCommandError(output, context);
|
|
392
392
|
}
|
|
393
393
|
const data = await parseBody(output.body, context);
|
|
394
394
|
let contents = {};
|
|
395
|
-
contents =
|
|
395
|
+
contents = de_DecreaseReplicationFactorResponse(data, context);
|
|
396
396
|
const response = {
|
|
397
397
|
$metadata: deserializeMetadata(output),
|
|
398
398
|
...contents,
|
|
399
399
|
};
|
|
400
400
|
return Promise.resolve(response);
|
|
401
401
|
};
|
|
402
|
-
exports.
|
|
403
|
-
const
|
|
402
|
+
exports.de_DecreaseReplicationFactorCommand = de_DecreaseReplicationFactorCommand;
|
|
403
|
+
const de_DecreaseReplicationFactorCommandError = async (output, context) => {
|
|
404
404
|
const parsedOutput = {
|
|
405
405
|
...output,
|
|
406
406
|
body: await parseErrorBody(output.body, context),
|
|
@@ -409,22 +409,22 @@ const deserializeAws_json1_1DecreaseReplicationFactorCommandError = async (outpu
|
|
|
409
409
|
switch (errorCode) {
|
|
410
410
|
case "ClusterNotFoundFault":
|
|
411
411
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
412
|
-
throw await
|
|
412
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
413
413
|
case "InvalidClusterStateFault":
|
|
414
414
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
415
|
-
throw await
|
|
415
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
416
416
|
case "InvalidParameterCombinationException":
|
|
417
417
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
418
|
-
throw await
|
|
418
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
419
419
|
case "InvalidParameterValueException":
|
|
420
420
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
421
|
-
throw await
|
|
421
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
422
422
|
case "NodeNotFoundFault":
|
|
423
423
|
case "com.amazonaws.dax#NodeNotFoundFault":
|
|
424
|
-
throw await
|
|
424
|
+
throw await de_NodeNotFoundFaultRes(parsedOutput, context);
|
|
425
425
|
case "ServiceLinkedRoleNotFoundFault":
|
|
426
426
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
427
|
-
throw await
|
|
427
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
428
428
|
default:
|
|
429
429
|
const parsedBody = parsedOutput.body;
|
|
430
430
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -435,21 +435,21 @@ const deserializeAws_json1_1DecreaseReplicationFactorCommandError = async (outpu
|
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
|
-
const
|
|
438
|
+
const de_DeleteClusterCommand = async (output, context) => {
|
|
439
439
|
if (output.statusCode >= 300) {
|
|
440
|
-
return
|
|
440
|
+
return de_DeleteClusterCommandError(output, context);
|
|
441
441
|
}
|
|
442
442
|
const data = await parseBody(output.body, context);
|
|
443
443
|
let contents = {};
|
|
444
|
-
contents =
|
|
444
|
+
contents = de_DeleteClusterResponse(data, context);
|
|
445
445
|
const response = {
|
|
446
446
|
$metadata: deserializeMetadata(output),
|
|
447
447
|
...contents,
|
|
448
448
|
};
|
|
449
449
|
return Promise.resolve(response);
|
|
450
450
|
};
|
|
451
|
-
exports.
|
|
452
|
-
const
|
|
451
|
+
exports.de_DeleteClusterCommand = de_DeleteClusterCommand;
|
|
452
|
+
const de_DeleteClusterCommandError = async (output, context) => {
|
|
453
453
|
const parsedOutput = {
|
|
454
454
|
...output,
|
|
455
455
|
body: await parseErrorBody(output.body, context),
|
|
@@ -458,19 +458,19 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
|
|
|
458
458
|
switch (errorCode) {
|
|
459
459
|
case "ClusterNotFoundFault":
|
|
460
460
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
461
|
-
throw await
|
|
461
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
462
462
|
case "InvalidClusterStateFault":
|
|
463
463
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
464
|
-
throw await
|
|
464
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
465
465
|
case "InvalidParameterCombinationException":
|
|
466
466
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
467
|
-
throw await
|
|
467
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
468
468
|
case "InvalidParameterValueException":
|
|
469
469
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
470
|
-
throw await
|
|
470
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
471
471
|
case "ServiceLinkedRoleNotFoundFault":
|
|
472
472
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
473
|
-
throw await
|
|
473
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
474
474
|
default:
|
|
475
475
|
const parsedBody = parsedOutput.body;
|
|
476
476
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -481,21 +481,21 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
|
|
|
481
481
|
});
|
|
482
482
|
}
|
|
483
483
|
};
|
|
484
|
-
const
|
|
484
|
+
const de_DeleteParameterGroupCommand = async (output, context) => {
|
|
485
485
|
if (output.statusCode >= 300) {
|
|
486
|
-
return
|
|
486
|
+
return de_DeleteParameterGroupCommandError(output, context);
|
|
487
487
|
}
|
|
488
488
|
const data = await parseBody(output.body, context);
|
|
489
489
|
let contents = {};
|
|
490
|
-
contents =
|
|
490
|
+
contents = de_DeleteParameterGroupResponse(data, context);
|
|
491
491
|
const response = {
|
|
492
492
|
$metadata: deserializeMetadata(output),
|
|
493
493
|
...contents,
|
|
494
494
|
};
|
|
495
495
|
return Promise.resolve(response);
|
|
496
496
|
};
|
|
497
|
-
exports.
|
|
498
|
-
const
|
|
497
|
+
exports.de_DeleteParameterGroupCommand = de_DeleteParameterGroupCommand;
|
|
498
|
+
const de_DeleteParameterGroupCommandError = async (output, context) => {
|
|
499
499
|
const parsedOutput = {
|
|
500
500
|
...output,
|
|
501
501
|
body: await parseErrorBody(output.body, context),
|
|
@@ -504,19 +504,19 @@ const deserializeAws_json1_1DeleteParameterGroupCommandError = async (output, co
|
|
|
504
504
|
switch (errorCode) {
|
|
505
505
|
case "InvalidParameterCombinationException":
|
|
506
506
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
507
|
-
throw await
|
|
507
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
508
508
|
case "InvalidParameterGroupStateFault":
|
|
509
509
|
case "com.amazonaws.dax#InvalidParameterGroupStateFault":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
511
511
|
case "InvalidParameterValueException":
|
|
512
512
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
513
|
-
throw await
|
|
513
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
514
514
|
case "ParameterGroupNotFoundFault":
|
|
515
515
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
516
|
-
throw await
|
|
516
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
517
517
|
case "ServiceLinkedRoleNotFoundFault":
|
|
518
518
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
519
|
-
throw await
|
|
519
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
520
520
|
default:
|
|
521
521
|
const parsedBody = parsedOutput.body;
|
|
522
522
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -527,21 +527,21 @@ const deserializeAws_json1_1DeleteParameterGroupCommandError = async (output, co
|
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
|
-
const
|
|
530
|
+
const de_DeleteSubnetGroupCommand = async (output, context) => {
|
|
531
531
|
if (output.statusCode >= 300) {
|
|
532
|
-
return
|
|
532
|
+
return de_DeleteSubnetGroupCommandError(output, context);
|
|
533
533
|
}
|
|
534
534
|
const data = await parseBody(output.body, context);
|
|
535
535
|
let contents = {};
|
|
536
|
-
contents =
|
|
536
|
+
contents = de_DeleteSubnetGroupResponse(data, context);
|
|
537
537
|
const response = {
|
|
538
538
|
$metadata: deserializeMetadata(output),
|
|
539
539
|
...contents,
|
|
540
540
|
};
|
|
541
541
|
return Promise.resolve(response);
|
|
542
542
|
};
|
|
543
|
-
exports.
|
|
544
|
-
const
|
|
543
|
+
exports.de_DeleteSubnetGroupCommand = de_DeleteSubnetGroupCommand;
|
|
544
|
+
const de_DeleteSubnetGroupCommandError = async (output, context) => {
|
|
545
545
|
const parsedOutput = {
|
|
546
546
|
...output,
|
|
547
547
|
body: await parseErrorBody(output.body, context),
|
|
@@ -550,13 +550,13 @@ const deserializeAws_json1_1DeleteSubnetGroupCommandError = async (output, conte
|
|
|
550
550
|
switch (errorCode) {
|
|
551
551
|
case "ServiceLinkedRoleNotFoundFault":
|
|
552
552
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
553
|
-
throw await
|
|
553
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
554
554
|
case "SubnetGroupInUseFault":
|
|
555
555
|
case "com.amazonaws.dax#SubnetGroupInUseFault":
|
|
556
|
-
throw await
|
|
556
|
+
throw await de_SubnetGroupInUseFaultRes(parsedOutput, context);
|
|
557
557
|
case "SubnetGroupNotFoundFault":
|
|
558
558
|
case "com.amazonaws.dax#SubnetGroupNotFoundFault":
|
|
559
|
-
throw await
|
|
559
|
+
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
560
560
|
default:
|
|
561
561
|
const parsedBody = parsedOutput.body;
|
|
562
562
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -567,21 +567,21 @@ const deserializeAws_json1_1DeleteSubnetGroupCommandError = async (output, conte
|
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
|
-
const
|
|
570
|
+
const de_DescribeClustersCommand = async (output, context) => {
|
|
571
571
|
if (output.statusCode >= 300) {
|
|
572
|
-
return
|
|
572
|
+
return de_DescribeClustersCommandError(output, context);
|
|
573
573
|
}
|
|
574
574
|
const data = await parseBody(output.body, context);
|
|
575
575
|
let contents = {};
|
|
576
|
-
contents =
|
|
576
|
+
contents = de_DescribeClustersResponse(data, context);
|
|
577
577
|
const response = {
|
|
578
578
|
$metadata: deserializeMetadata(output),
|
|
579
579
|
...contents,
|
|
580
580
|
};
|
|
581
581
|
return Promise.resolve(response);
|
|
582
582
|
};
|
|
583
|
-
exports.
|
|
584
|
-
const
|
|
583
|
+
exports.de_DescribeClustersCommand = de_DescribeClustersCommand;
|
|
584
|
+
const de_DescribeClustersCommandError = async (output, context) => {
|
|
585
585
|
const parsedOutput = {
|
|
586
586
|
...output,
|
|
587
587
|
body: await parseErrorBody(output.body, context),
|
|
@@ -590,16 +590,16 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
|
|
|
590
590
|
switch (errorCode) {
|
|
591
591
|
case "ClusterNotFoundFault":
|
|
592
592
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
593
|
-
throw await
|
|
593
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
594
594
|
case "InvalidParameterCombinationException":
|
|
595
595
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
596
|
-
throw await
|
|
596
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
597
597
|
case "InvalidParameterValueException":
|
|
598
598
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
599
|
-
throw await
|
|
599
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
600
600
|
case "ServiceLinkedRoleNotFoundFault":
|
|
601
601
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
602
|
-
throw await
|
|
602
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
603
603
|
default:
|
|
604
604
|
const parsedBody = parsedOutput.body;
|
|
605
605
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -610,21 +610,21 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
|
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
612
|
};
|
|
613
|
-
const
|
|
613
|
+
const de_DescribeDefaultParametersCommand = async (output, context) => {
|
|
614
614
|
if (output.statusCode >= 300) {
|
|
615
|
-
return
|
|
615
|
+
return de_DescribeDefaultParametersCommandError(output, context);
|
|
616
616
|
}
|
|
617
617
|
const data = await parseBody(output.body, context);
|
|
618
618
|
let contents = {};
|
|
619
|
-
contents =
|
|
619
|
+
contents = de_DescribeDefaultParametersResponse(data, context);
|
|
620
620
|
const response = {
|
|
621
621
|
$metadata: deserializeMetadata(output),
|
|
622
622
|
...contents,
|
|
623
623
|
};
|
|
624
624
|
return Promise.resolve(response);
|
|
625
625
|
};
|
|
626
|
-
exports.
|
|
627
|
-
const
|
|
626
|
+
exports.de_DescribeDefaultParametersCommand = de_DescribeDefaultParametersCommand;
|
|
627
|
+
const de_DescribeDefaultParametersCommandError = async (output, context) => {
|
|
628
628
|
const parsedOutput = {
|
|
629
629
|
...output,
|
|
630
630
|
body: await parseErrorBody(output.body, context),
|
|
@@ -633,13 +633,13 @@ const deserializeAws_json1_1DescribeDefaultParametersCommandError = async (outpu
|
|
|
633
633
|
switch (errorCode) {
|
|
634
634
|
case "InvalidParameterCombinationException":
|
|
635
635
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
637
637
|
case "InvalidParameterValueException":
|
|
638
638
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
639
|
-
throw await
|
|
639
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
640
640
|
case "ServiceLinkedRoleNotFoundFault":
|
|
641
641
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
643
643
|
default:
|
|
644
644
|
const parsedBody = parsedOutput.body;
|
|
645
645
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -650,21 +650,21 @@ const deserializeAws_json1_1DescribeDefaultParametersCommandError = async (outpu
|
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
|
-
const
|
|
653
|
+
const de_DescribeEventsCommand = async (output, context) => {
|
|
654
654
|
if (output.statusCode >= 300) {
|
|
655
|
-
return
|
|
655
|
+
return de_DescribeEventsCommandError(output, context);
|
|
656
656
|
}
|
|
657
657
|
const data = await parseBody(output.body, context);
|
|
658
658
|
let contents = {};
|
|
659
|
-
contents =
|
|
659
|
+
contents = de_DescribeEventsResponse(data, context);
|
|
660
660
|
const response = {
|
|
661
661
|
$metadata: deserializeMetadata(output),
|
|
662
662
|
...contents,
|
|
663
663
|
};
|
|
664
664
|
return Promise.resolve(response);
|
|
665
665
|
};
|
|
666
|
-
exports.
|
|
667
|
-
const
|
|
666
|
+
exports.de_DescribeEventsCommand = de_DescribeEventsCommand;
|
|
667
|
+
const de_DescribeEventsCommandError = async (output, context) => {
|
|
668
668
|
const parsedOutput = {
|
|
669
669
|
...output,
|
|
670
670
|
body: await parseErrorBody(output.body, context),
|
|
@@ -673,13 +673,13 @@ const deserializeAws_json1_1DescribeEventsCommandError = async (output, context)
|
|
|
673
673
|
switch (errorCode) {
|
|
674
674
|
case "InvalidParameterCombinationException":
|
|
675
675
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
676
|
-
throw await
|
|
676
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
677
677
|
case "InvalidParameterValueException":
|
|
678
678
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
679
|
-
throw await
|
|
679
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
680
680
|
case "ServiceLinkedRoleNotFoundFault":
|
|
681
681
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
682
|
-
throw await
|
|
682
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
683
683
|
default:
|
|
684
684
|
const parsedBody = parsedOutput.body;
|
|
685
685
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -690,21 +690,21 @@ const deserializeAws_json1_1DescribeEventsCommandError = async (output, context)
|
|
|
690
690
|
});
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
|
-
const
|
|
693
|
+
const de_DescribeParameterGroupsCommand = async (output, context) => {
|
|
694
694
|
if (output.statusCode >= 300) {
|
|
695
|
-
return
|
|
695
|
+
return de_DescribeParameterGroupsCommandError(output, context);
|
|
696
696
|
}
|
|
697
697
|
const data = await parseBody(output.body, context);
|
|
698
698
|
let contents = {};
|
|
699
|
-
contents =
|
|
699
|
+
contents = de_DescribeParameterGroupsResponse(data, context);
|
|
700
700
|
const response = {
|
|
701
701
|
$metadata: deserializeMetadata(output),
|
|
702
702
|
...contents,
|
|
703
703
|
};
|
|
704
704
|
return Promise.resolve(response);
|
|
705
705
|
};
|
|
706
|
-
exports.
|
|
707
|
-
const
|
|
706
|
+
exports.de_DescribeParameterGroupsCommand = de_DescribeParameterGroupsCommand;
|
|
707
|
+
const de_DescribeParameterGroupsCommandError = async (output, context) => {
|
|
708
708
|
const parsedOutput = {
|
|
709
709
|
...output,
|
|
710
710
|
body: await parseErrorBody(output.body, context),
|
|
@@ -713,16 +713,16 @@ const deserializeAws_json1_1DescribeParameterGroupsCommandError = async (output,
|
|
|
713
713
|
switch (errorCode) {
|
|
714
714
|
case "InvalidParameterCombinationException":
|
|
715
715
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
716
|
-
throw await
|
|
716
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
717
717
|
case "InvalidParameterValueException":
|
|
718
718
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
719
|
-
throw await
|
|
719
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
720
720
|
case "ParameterGroupNotFoundFault":
|
|
721
721
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
722
|
-
throw await
|
|
722
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
723
723
|
case "ServiceLinkedRoleNotFoundFault":
|
|
724
724
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
725
|
-
throw await
|
|
725
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
726
726
|
default:
|
|
727
727
|
const parsedBody = parsedOutput.body;
|
|
728
728
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -733,21 +733,21 @@ const deserializeAws_json1_1DescribeParameterGroupsCommandError = async (output,
|
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
|
-
const
|
|
736
|
+
const de_DescribeParametersCommand = async (output, context) => {
|
|
737
737
|
if (output.statusCode >= 300) {
|
|
738
|
-
return
|
|
738
|
+
return de_DescribeParametersCommandError(output, context);
|
|
739
739
|
}
|
|
740
740
|
const data = await parseBody(output.body, context);
|
|
741
741
|
let contents = {};
|
|
742
|
-
contents =
|
|
742
|
+
contents = de_DescribeParametersResponse(data, context);
|
|
743
743
|
const response = {
|
|
744
744
|
$metadata: deserializeMetadata(output),
|
|
745
745
|
...contents,
|
|
746
746
|
};
|
|
747
747
|
return Promise.resolve(response);
|
|
748
748
|
};
|
|
749
|
-
exports.
|
|
750
|
-
const
|
|
749
|
+
exports.de_DescribeParametersCommand = de_DescribeParametersCommand;
|
|
750
|
+
const de_DescribeParametersCommandError = async (output, context) => {
|
|
751
751
|
const parsedOutput = {
|
|
752
752
|
...output,
|
|
753
753
|
body: await parseErrorBody(output.body, context),
|
|
@@ -756,16 +756,16 @@ const deserializeAws_json1_1DescribeParametersCommandError = async (output, cont
|
|
|
756
756
|
switch (errorCode) {
|
|
757
757
|
case "InvalidParameterCombinationException":
|
|
758
758
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
759
|
-
throw await
|
|
759
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
760
760
|
case "InvalidParameterValueException":
|
|
761
761
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
762
|
-
throw await
|
|
762
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
763
763
|
case "ParameterGroupNotFoundFault":
|
|
764
764
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
766
766
|
case "ServiceLinkedRoleNotFoundFault":
|
|
767
767
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
769
769
|
default:
|
|
770
770
|
const parsedBody = parsedOutput.body;
|
|
771
771
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -776,21 +776,21 @@ const deserializeAws_json1_1DescribeParametersCommandError = async (output, cont
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
|
-
const
|
|
779
|
+
const de_DescribeSubnetGroupsCommand = async (output, context) => {
|
|
780
780
|
if (output.statusCode >= 300) {
|
|
781
|
-
return
|
|
781
|
+
return de_DescribeSubnetGroupsCommandError(output, context);
|
|
782
782
|
}
|
|
783
783
|
const data = await parseBody(output.body, context);
|
|
784
784
|
let contents = {};
|
|
785
|
-
contents =
|
|
785
|
+
contents = de_DescribeSubnetGroupsResponse(data, context);
|
|
786
786
|
const response = {
|
|
787
787
|
$metadata: deserializeMetadata(output),
|
|
788
788
|
...contents,
|
|
789
789
|
};
|
|
790
790
|
return Promise.resolve(response);
|
|
791
791
|
};
|
|
792
|
-
exports.
|
|
793
|
-
const
|
|
792
|
+
exports.de_DescribeSubnetGroupsCommand = de_DescribeSubnetGroupsCommand;
|
|
793
|
+
const de_DescribeSubnetGroupsCommandError = async (output, context) => {
|
|
794
794
|
const parsedOutput = {
|
|
795
795
|
...output,
|
|
796
796
|
body: await parseErrorBody(output.body, context),
|
|
@@ -799,10 +799,10 @@ const deserializeAws_json1_1DescribeSubnetGroupsCommandError = async (output, co
|
|
|
799
799
|
switch (errorCode) {
|
|
800
800
|
case "ServiceLinkedRoleNotFoundFault":
|
|
801
801
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
802
|
-
throw await
|
|
802
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
803
803
|
case "SubnetGroupNotFoundFault":
|
|
804
804
|
case "com.amazonaws.dax#SubnetGroupNotFoundFault":
|
|
805
|
-
throw await
|
|
805
|
+
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
806
806
|
default:
|
|
807
807
|
const parsedBody = parsedOutput.body;
|
|
808
808
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -813,21 +813,21 @@ const deserializeAws_json1_1DescribeSubnetGroupsCommandError = async (output, co
|
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
815
|
};
|
|
816
|
-
const
|
|
816
|
+
const de_IncreaseReplicationFactorCommand = async (output, context) => {
|
|
817
817
|
if (output.statusCode >= 300) {
|
|
818
|
-
return
|
|
818
|
+
return de_IncreaseReplicationFactorCommandError(output, context);
|
|
819
819
|
}
|
|
820
820
|
const data = await parseBody(output.body, context);
|
|
821
821
|
let contents = {};
|
|
822
|
-
contents =
|
|
822
|
+
contents = de_IncreaseReplicationFactorResponse(data, context);
|
|
823
823
|
const response = {
|
|
824
824
|
$metadata: deserializeMetadata(output),
|
|
825
825
|
...contents,
|
|
826
826
|
};
|
|
827
827
|
return Promise.resolve(response);
|
|
828
828
|
};
|
|
829
|
-
exports.
|
|
830
|
-
const
|
|
829
|
+
exports.de_IncreaseReplicationFactorCommand = de_IncreaseReplicationFactorCommand;
|
|
830
|
+
const de_IncreaseReplicationFactorCommandError = async (output, context) => {
|
|
831
831
|
const parsedOutput = {
|
|
832
832
|
...output,
|
|
833
833
|
body: await parseErrorBody(output.body, context),
|
|
@@ -836,31 +836,31 @@ const deserializeAws_json1_1IncreaseReplicationFactorCommandError = async (outpu
|
|
|
836
836
|
switch (errorCode) {
|
|
837
837
|
case "ClusterNotFoundFault":
|
|
838
838
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
839
|
-
throw await
|
|
839
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
840
840
|
case "InsufficientClusterCapacityFault":
|
|
841
841
|
case "com.amazonaws.dax#InsufficientClusterCapacityFault":
|
|
842
|
-
throw await
|
|
842
|
+
throw await de_InsufficientClusterCapacityFaultRes(parsedOutput, context);
|
|
843
843
|
case "InvalidClusterStateFault":
|
|
844
844
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
845
|
-
throw await
|
|
845
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
846
846
|
case "InvalidParameterCombinationException":
|
|
847
847
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
848
|
-
throw await
|
|
848
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
849
849
|
case "InvalidParameterValueException":
|
|
850
850
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
851
|
-
throw await
|
|
851
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
852
852
|
case "InvalidVPCNetworkStateFault":
|
|
853
853
|
case "com.amazonaws.dax#InvalidVPCNetworkStateFault":
|
|
854
|
-
throw await
|
|
854
|
+
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
855
855
|
case "NodeQuotaForClusterExceededFault":
|
|
856
856
|
case "com.amazonaws.dax#NodeQuotaForClusterExceededFault":
|
|
857
|
-
throw await
|
|
857
|
+
throw await de_NodeQuotaForClusterExceededFaultRes(parsedOutput, context);
|
|
858
858
|
case "NodeQuotaForCustomerExceededFault":
|
|
859
859
|
case "com.amazonaws.dax#NodeQuotaForCustomerExceededFault":
|
|
860
|
-
throw await
|
|
860
|
+
throw await de_NodeQuotaForCustomerExceededFaultRes(parsedOutput, context);
|
|
861
861
|
case "ServiceLinkedRoleNotFoundFault":
|
|
862
862
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
863
|
-
throw await
|
|
863
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
864
864
|
default:
|
|
865
865
|
const parsedBody = parsedOutput.body;
|
|
866
866
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -871,21 +871,21 @@ const deserializeAws_json1_1IncreaseReplicationFactorCommandError = async (outpu
|
|
|
871
871
|
});
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
|
-
const
|
|
874
|
+
const de_ListTagsCommand = async (output, context) => {
|
|
875
875
|
if (output.statusCode >= 300) {
|
|
876
|
-
return
|
|
876
|
+
return de_ListTagsCommandError(output, context);
|
|
877
877
|
}
|
|
878
878
|
const data = await parseBody(output.body, context);
|
|
879
879
|
let contents = {};
|
|
880
|
-
contents =
|
|
880
|
+
contents = de_ListTagsResponse(data, context);
|
|
881
881
|
const response = {
|
|
882
882
|
$metadata: deserializeMetadata(output),
|
|
883
883
|
...contents,
|
|
884
884
|
};
|
|
885
885
|
return Promise.resolve(response);
|
|
886
886
|
};
|
|
887
|
-
exports.
|
|
888
|
-
const
|
|
887
|
+
exports.de_ListTagsCommand = de_ListTagsCommand;
|
|
888
|
+
const de_ListTagsCommandError = async (output, context) => {
|
|
889
889
|
const parsedOutput = {
|
|
890
890
|
...output,
|
|
891
891
|
body: await parseErrorBody(output.body, context),
|
|
@@ -894,22 +894,22 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
|
|
|
894
894
|
switch (errorCode) {
|
|
895
895
|
case "ClusterNotFoundFault":
|
|
896
896
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
898
898
|
case "InvalidARNFault":
|
|
899
899
|
case "com.amazonaws.dax#InvalidARNFault":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_InvalidARNFaultRes(parsedOutput, context);
|
|
901
901
|
case "InvalidClusterStateFault":
|
|
902
902
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
904
904
|
case "InvalidParameterCombinationException":
|
|
905
905
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
907
907
|
case "InvalidParameterValueException":
|
|
908
908
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
910
910
|
case "ServiceLinkedRoleNotFoundFault":
|
|
911
911
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
912
|
-
throw await
|
|
912
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
913
913
|
default:
|
|
914
914
|
const parsedBody = parsedOutput.body;
|
|
915
915
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -920,21 +920,21 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
|
|
|
920
920
|
});
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
|
-
const
|
|
923
|
+
const de_RebootNodeCommand = async (output, context) => {
|
|
924
924
|
if (output.statusCode >= 300) {
|
|
925
|
-
return
|
|
925
|
+
return de_RebootNodeCommandError(output, context);
|
|
926
926
|
}
|
|
927
927
|
const data = await parseBody(output.body, context);
|
|
928
928
|
let contents = {};
|
|
929
|
-
contents =
|
|
929
|
+
contents = de_RebootNodeResponse(data, context);
|
|
930
930
|
const response = {
|
|
931
931
|
$metadata: deserializeMetadata(output),
|
|
932
932
|
...contents,
|
|
933
933
|
};
|
|
934
934
|
return Promise.resolve(response);
|
|
935
935
|
};
|
|
936
|
-
exports.
|
|
937
|
-
const
|
|
936
|
+
exports.de_RebootNodeCommand = de_RebootNodeCommand;
|
|
937
|
+
const de_RebootNodeCommandError = async (output, context) => {
|
|
938
938
|
const parsedOutput = {
|
|
939
939
|
...output,
|
|
940
940
|
body: await parseErrorBody(output.body, context),
|
|
@@ -943,22 +943,22 @@ const deserializeAws_json1_1RebootNodeCommandError = async (output, context) =>
|
|
|
943
943
|
switch (errorCode) {
|
|
944
944
|
case "ClusterNotFoundFault":
|
|
945
945
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
946
|
-
throw await
|
|
946
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
947
947
|
case "InvalidClusterStateFault":
|
|
948
948
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
949
|
-
throw await
|
|
949
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
950
950
|
case "InvalidParameterCombinationException":
|
|
951
951
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
952
|
-
throw await
|
|
952
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
953
953
|
case "InvalidParameterValueException":
|
|
954
954
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
955
|
-
throw await
|
|
955
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
956
956
|
case "NodeNotFoundFault":
|
|
957
957
|
case "com.amazonaws.dax#NodeNotFoundFault":
|
|
958
|
-
throw await
|
|
958
|
+
throw await de_NodeNotFoundFaultRes(parsedOutput, context);
|
|
959
959
|
case "ServiceLinkedRoleNotFoundFault":
|
|
960
960
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
961
|
-
throw await
|
|
961
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
962
962
|
default:
|
|
963
963
|
const parsedBody = parsedOutput.body;
|
|
964
964
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -969,21 +969,21 @@ const deserializeAws_json1_1RebootNodeCommandError = async (output, context) =>
|
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
971
|
};
|
|
972
|
-
const
|
|
972
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
973
973
|
if (output.statusCode >= 300) {
|
|
974
|
-
return
|
|
974
|
+
return de_TagResourceCommandError(output, context);
|
|
975
975
|
}
|
|
976
976
|
const data = await parseBody(output.body, context);
|
|
977
977
|
let contents = {};
|
|
978
|
-
contents =
|
|
978
|
+
contents = de_TagResourceResponse(data, context);
|
|
979
979
|
const response = {
|
|
980
980
|
$metadata: deserializeMetadata(output),
|
|
981
981
|
...contents,
|
|
982
982
|
};
|
|
983
983
|
return Promise.resolve(response);
|
|
984
984
|
};
|
|
985
|
-
exports.
|
|
986
|
-
const
|
|
985
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
986
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
987
987
|
const parsedOutput = {
|
|
988
988
|
...output,
|
|
989
989
|
body: await parseErrorBody(output.body, context),
|
|
@@ -992,25 +992,25 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
992
992
|
switch (errorCode) {
|
|
993
993
|
case "ClusterNotFoundFault":
|
|
994
994
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
995
|
-
throw await
|
|
995
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
996
996
|
case "InvalidARNFault":
|
|
997
997
|
case "com.amazonaws.dax#InvalidARNFault":
|
|
998
|
-
throw await
|
|
998
|
+
throw await de_InvalidARNFaultRes(parsedOutput, context);
|
|
999
999
|
case "InvalidClusterStateFault":
|
|
1000
1000
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
1001
|
-
throw await
|
|
1001
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
1002
1002
|
case "InvalidParameterCombinationException":
|
|
1003
1003
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
1004
|
-
throw await
|
|
1004
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1005
1005
|
case "InvalidParameterValueException":
|
|
1006
1006
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
1007
|
-
throw await
|
|
1007
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1008
1008
|
case "ServiceLinkedRoleNotFoundFault":
|
|
1009
1009
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
1010
|
-
throw await
|
|
1010
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1011
1011
|
case "TagQuotaPerResourceExceeded":
|
|
1012
1012
|
case "com.amazonaws.dax#TagQuotaPerResourceExceeded":
|
|
1013
|
-
throw await
|
|
1013
|
+
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
1014
1014
|
default:
|
|
1015
1015
|
const parsedBody = parsedOutput.body;
|
|
1016
1016
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1021,21 +1021,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
1023
|
};
|
|
1024
|
-
const
|
|
1024
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1025
1025
|
if (output.statusCode >= 300) {
|
|
1026
|
-
return
|
|
1026
|
+
return de_UntagResourceCommandError(output, context);
|
|
1027
1027
|
}
|
|
1028
1028
|
const data = await parseBody(output.body, context);
|
|
1029
1029
|
let contents = {};
|
|
1030
|
-
contents =
|
|
1030
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1031
1031
|
const response = {
|
|
1032
1032
|
$metadata: deserializeMetadata(output),
|
|
1033
1033
|
...contents,
|
|
1034
1034
|
};
|
|
1035
1035
|
return Promise.resolve(response);
|
|
1036
1036
|
};
|
|
1037
|
-
exports.
|
|
1038
|
-
const
|
|
1037
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1038
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1039
1039
|
const parsedOutput = {
|
|
1040
1040
|
...output,
|
|
1041
1041
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1044,25 +1044,25 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1044
1044
|
switch (errorCode) {
|
|
1045
1045
|
case "ClusterNotFoundFault":
|
|
1046
1046
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
1048
1048
|
case "InvalidARNFault":
|
|
1049
1049
|
case "com.amazonaws.dax#InvalidARNFault":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_InvalidARNFaultRes(parsedOutput, context);
|
|
1051
1051
|
case "InvalidClusterStateFault":
|
|
1052
1052
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
1054
1054
|
case "InvalidParameterCombinationException":
|
|
1055
1055
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1057
1057
|
case "InvalidParameterValueException":
|
|
1058
1058
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1060
1060
|
case "ServiceLinkedRoleNotFoundFault":
|
|
1061
1061
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1063
1063
|
case "TagNotFoundFault":
|
|
1064
1064
|
case "com.amazonaws.dax#TagNotFoundFault":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_TagNotFoundFaultRes(parsedOutput, context);
|
|
1066
1066
|
default:
|
|
1067
1067
|
const parsedBody = parsedOutput.body;
|
|
1068
1068
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1073,21 +1073,21 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
|
-
const
|
|
1076
|
+
const de_UpdateClusterCommand = async (output, context) => {
|
|
1077
1077
|
if (output.statusCode >= 300) {
|
|
1078
|
-
return
|
|
1078
|
+
return de_UpdateClusterCommandError(output, context);
|
|
1079
1079
|
}
|
|
1080
1080
|
const data = await parseBody(output.body, context);
|
|
1081
1081
|
let contents = {};
|
|
1082
|
-
contents =
|
|
1082
|
+
contents = de_UpdateClusterResponse(data, context);
|
|
1083
1083
|
const response = {
|
|
1084
1084
|
$metadata: deserializeMetadata(output),
|
|
1085
1085
|
...contents,
|
|
1086
1086
|
};
|
|
1087
1087
|
return Promise.resolve(response);
|
|
1088
1088
|
};
|
|
1089
|
-
exports.
|
|
1090
|
-
const
|
|
1089
|
+
exports.de_UpdateClusterCommand = de_UpdateClusterCommand;
|
|
1090
|
+
const de_UpdateClusterCommandError = async (output, context) => {
|
|
1091
1091
|
const parsedOutput = {
|
|
1092
1092
|
...output,
|
|
1093
1093
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1096,25 +1096,25 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
1096
1096
|
switch (errorCode) {
|
|
1097
1097
|
case "ClusterNotFoundFault":
|
|
1098
1098
|
case "com.amazonaws.dax#ClusterNotFoundFault":
|
|
1099
|
-
throw await
|
|
1099
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
1100
1100
|
case "InvalidClusterStateFault":
|
|
1101
1101
|
case "com.amazonaws.dax#InvalidClusterStateFault":
|
|
1102
|
-
throw await
|
|
1102
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
1103
1103
|
case "InvalidParameterCombinationException":
|
|
1104
1104
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
1105
|
-
throw await
|
|
1105
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1106
1106
|
case "InvalidParameterGroupStateFault":
|
|
1107
1107
|
case "com.amazonaws.dax#InvalidParameterGroupStateFault":
|
|
1108
|
-
throw await
|
|
1108
|
+
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
1109
1109
|
case "InvalidParameterValueException":
|
|
1110
1110
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1112
1112
|
case "ParameterGroupNotFoundFault":
|
|
1113
1113
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1115
1115
|
case "ServiceLinkedRoleNotFoundFault":
|
|
1116
1116
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1118
1118
|
default:
|
|
1119
1119
|
const parsedBody = parsedOutput.body;
|
|
1120
1120
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1125,21 +1125,21 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
1125
1125
|
});
|
|
1126
1126
|
}
|
|
1127
1127
|
};
|
|
1128
|
-
const
|
|
1128
|
+
const de_UpdateParameterGroupCommand = async (output, context) => {
|
|
1129
1129
|
if (output.statusCode >= 300) {
|
|
1130
|
-
return
|
|
1130
|
+
return de_UpdateParameterGroupCommandError(output, context);
|
|
1131
1131
|
}
|
|
1132
1132
|
const data = await parseBody(output.body, context);
|
|
1133
1133
|
let contents = {};
|
|
1134
|
-
contents =
|
|
1134
|
+
contents = de_UpdateParameterGroupResponse(data, context);
|
|
1135
1135
|
const response = {
|
|
1136
1136
|
$metadata: deserializeMetadata(output),
|
|
1137
1137
|
...contents,
|
|
1138
1138
|
};
|
|
1139
1139
|
return Promise.resolve(response);
|
|
1140
1140
|
};
|
|
1141
|
-
exports.
|
|
1142
|
-
const
|
|
1141
|
+
exports.de_UpdateParameterGroupCommand = de_UpdateParameterGroupCommand;
|
|
1142
|
+
const de_UpdateParameterGroupCommandError = async (output, context) => {
|
|
1143
1143
|
const parsedOutput = {
|
|
1144
1144
|
...output,
|
|
1145
1145
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1148,19 +1148,19 @@ const deserializeAws_json1_1UpdateParameterGroupCommandError = async (output, co
|
|
|
1148
1148
|
switch (errorCode) {
|
|
1149
1149
|
case "InvalidParameterCombinationException":
|
|
1150
1150
|
case "com.amazonaws.dax#InvalidParameterCombinationException":
|
|
1151
|
-
throw await
|
|
1151
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1152
1152
|
case "InvalidParameterGroupStateFault":
|
|
1153
1153
|
case "com.amazonaws.dax#InvalidParameterGroupStateFault":
|
|
1154
|
-
throw await
|
|
1154
|
+
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
1155
1155
|
case "InvalidParameterValueException":
|
|
1156
1156
|
case "com.amazonaws.dax#InvalidParameterValueException":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1158
1158
|
case "ParameterGroupNotFoundFault":
|
|
1159
1159
|
case "com.amazonaws.dax#ParameterGroupNotFoundFault":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1161
1161
|
case "ServiceLinkedRoleNotFoundFault":
|
|
1162
1162
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
1163
|
-
throw await
|
|
1163
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1164
1164
|
default:
|
|
1165
1165
|
const parsedBody = parsedOutput.body;
|
|
1166
1166
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1171,21 +1171,21 @@ const deserializeAws_json1_1UpdateParameterGroupCommandError = async (output, co
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
const
|
|
1174
|
+
const de_UpdateSubnetGroupCommand = async (output, context) => {
|
|
1175
1175
|
if (output.statusCode >= 300) {
|
|
1176
|
-
return
|
|
1176
|
+
return de_UpdateSubnetGroupCommandError(output, context);
|
|
1177
1177
|
}
|
|
1178
1178
|
const data = await parseBody(output.body, context);
|
|
1179
1179
|
let contents = {};
|
|
1180
|
-
contents =
|
|
1180
|
+
contents = de_UpdateSubnetGroupResponse(data, context);
|
|
1181
1181
|
const response = {
|
|
1182
1182
|
$metadata: deserializeMetadata(output),
|
|
1183
1183
|
...contents,
|
|
1184
1184
|
};
|
|
1185
1185
|
return Promise.resolve(response);
|
|
1186
1186
|
};
|
|
1187
|
-
exports.
|
|
1188
|
-
const
|
|
1187
|
+
exports.de_UpdateSubnetGroupCommand = de_UpdateSubnetGroupCommand;
|
|
1188
|
+
const de_UpdateSubnetGroupCommandError = async (output, context) => {
|
|
1189
1189
|
const parsedOutput = {
|
|
1190
1190
|
...output,
|
|
1191
1191
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1194,19 +1194,19 @@ const deserializeAws_json1_1UpdateSubnetGroupCommandError = async (output, conte
|
|
|
1194
1194
|
switch (errorCode) {
|
|
1195
1195
|
case "InvalidSubnet":
|
|
1196
1196
|
case "com.amazonaws.dax#InvalidSubnet":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
1198
1198
|
case "ServiceLinkedRoleNotFoundFault":
|
|
1199
1199
|
case "com.amazonaws.dax#ServiceLinkedRoleNotFoundFault":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
1201
1201
|
case "SubnetGroupNotFoundFault":
|
|
1202
1202
|
case "com.amazonaws.dax#SubnetGroupNotFoundFault":
|
|
1203
|
-
throw await
|
|
1203
|
+
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
1204
1204
|
case "SubnetInUse":
|
|
1205
1205
|
case "com.amazonaws.dax#SubnetInUse":
|
|
1206
|
-
throw await
|
|
1206
|
+
throw await de_SubnetInUseRes(parsedOutput, context);
|
|
1207
1207
|
case "SubnetQuotaExceededFault":
|
|
1208
1208
|
case "com.amazonaws.dax#SubnetQuotaExceededFault":
|
|
1209
|
-
throw await
|
|
1209
|
+
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
1210
1210
|
default:
|
|
1211
1211
|
const parsedBody = parsedOutput.body;
|
|
1212
1212
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1217,267 +1217,267 @@ const deserializeAws_json1_1UpdateSubnetGroupCommandError = async (output, conte
|
|
|
1217
1217
|
});
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
|
-
const
|
|
1220
|
+
const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1221
1221
|
const body = parsedOutput.body;
|
|
1222
|
-
const deserialized =
|
|
1222
|
+
const deserialized = de_ClusterAlreadyExistsFault(body, context);
|
|
1223
1223
|
const exception = new models_0_1.ClusterAlreadyExistsFault({
|
|
1224
1224
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1225
1225
|
...deserialized,
|
|
1226
1226
|
});
|
|
1227
1227
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1228
1228
|
};
|
|
1229
|
-
const
|
|
1229
|
+
const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1230
1230
|
const body = parsedOutput.body;
|
|
1231
|
-
const deserialized =
|
|
1231
|
+
const deserialized = de_ClusterNotFoundFault(body, context);
|
|
1232
1232
|
const exception = new models_0_1.ClusterNotFoundFault({
|
|
1233
1233
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
1234
|
...deserialized,
|
|
1235
1235
|
});
|
|
1236
1236
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1237
1237
|
};
|
|
1238
|
-
const
|
|
1238
|
+
const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1239
1239
|
const body = parsedOutput.body;
|
|
1240
|
-
const deserialized =
|
|
1240
|
+
const deserialized = de_ClusterQuotaForCustomerExceededFault(body, context);
|
|
1241
1241
|
const exception = new models_0_1.ClusterQuotaForCustomerExceededFault({
|
|
1242
1242
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1243
1243
|
...deserialized,
|
|
1244
1244
|
});
|
|
1245
1245
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1246
1246
|
};
|
|
1247
|
-
const
|
|
1247
|
+
const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) => {
|
|
1248
1248
|
const body = parsedOutput.body;
|
|
1249
|
-
const deserialized =
|
|
1249
|
+
const deserialized = de_InsufficientClusterCapacityFault(body, context);
|
|
1250
1250
|
const exception = new models_0_1.InsufficientClusterCapacityFault({
|
|
1251
1251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
1252
|
...deserialized,
|
|
1253
1253
|
});
|
|
1254
1254
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1255
1255
|
};
|
|
1256
|
-
const
|
|
1256
|
+
const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
1257
1257
|
const body = parsedOutput.body;
|
|
1258
|
-
const deserialized =
|
|
1258
|
+
const deserialized = de_InvalidARNFault(body, context);
|
|
1259
1259
|
const exception = new models_0_1.InvalidARNFault({
|
|
1260
1260
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1261
1261
|
...deserialized,
|
|
1262
1262
|
});
|
|
1263
1263
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1264
1264
|
};
|
|
1265
|
-
const
|
|
1265
|
+
const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
1266
1266
|
const body = parsedOutput.body;
|
|
1267
|
-
const deserialized =
|
|
1267
|
+
const deserialized = de_InvalidClusterStateFault(body, context);
|
|
1268
1268
|
const exception = new models_0_1.InvalidClusterStateFault({
|
|
1269
1269
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1270
1270
|
...deserialized,
|
|
1271
1271
|
});
|
|
1272
1272
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1273
1273
|
};
|
|
1274
|
-
const
|
|
1274
|
+
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1275
1275
|
const body = parsedOutput.body;
|
|
1276
|
-
const deserialized =
|
|
1276
|
+
const deserialized = de_InvalidParameterCombinationException(body, context);
|
|
1277
1277
|
const exception = new models_0_1.InvalidParameterCombinationException({
|
|
1278
1278
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1279
1279
|
...deserialized,
|
|
1280
1280
|
});
|
|
1281
1281
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1282
1282
|
};
|
|
1283
|
-
const
|
|
1283
|
+
const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
1284
1284
|
const body = parsedOutput.body;
|
|
1285
|
-
const deserialized =
|
|
1285
|
+
const deserialized = de_InvalidParameterGroupStateFault(body, context);
|
|
1286
1286
|
const exception = new models_0_1.InvalidParameterGroupStateFault({
|
|
1287
1287
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1288
1288
|
...deserialized,
|
|
1289
1289
|
});
|
|
1290
1290
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1291
1291
|
};
|
|
1292
|
-
const
|
|
1292
|
+
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1293
1293
|
const body = parsedOutput.body;
|
|
1294
|
-
const deserialized =
|
|
1294
|
+
const deserialized = de_InvalidParameterValueException(body, context);
|
|
1295
1295
|
const exception = new models_0_1.InvalidParameterValueException({
|
|
1296
1296
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1297
1297
|
...deserialized,
|
|
1298
1298
|
});
|
|
1299
1299
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1300
1300
|
};
|
|
1301
|
-
const
|
|
1301
|
+
const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
1302
1302
|
const body = parsedOutput.body;
|
|
1303
|
-
const deserialized =
|
|
1303
|
+
const deserialized = de_InvalidSubnet(body, context);
|
|
1304
1304
|
const exception = new models_0_1.InvalidSubnet({
|
|
1305
1305
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1306
1306
|
...deserialized,
|
|
1307
1307
|
});
|
|
1308
1308
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1310
|
+
const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
1311
1311
|
const body = parsedOutput.body;
|
|
1312
|
-
const deserialized =
|
|
1312
|
+
const deserialized = de_InvalidVPCNetworkStateFault(body, context);
|
|
1313
1313
|
const exception = new models_0_1.InvalidVPCNetworkStateFault({
|
|
1314
1314
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1315
1315
|
...deserialized,
|
|
1316
1316
|
});
|
|
1317
1317
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1318
1318
|
};
|
|
1319
|
-
const
|
|
1319
|
+
const de_NodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1320
1320
|
const body = parsedOutput.body;
|
|
1321
|
-
const deserialized =
|
|
1321
|
+
const deserialized = de_NodeNotFoundFault(body, context);
|
|
1322
1322
|
const exception = new models_0_1.NodeNotFoundFault({
|
|
1323
1323
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1324
1324
|
...deserialized,
|
|
1325
1325
|
});
|
|
1326
1326
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1327
1327
|
};
|
|
1328
|
-
const
|
|
1328
|
+
const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) => {
|
|
1329
1329
|
const body = parsedOutput.body;
|
|
1330
|
-
const deserialized =
|
|
1330
|
+
const deserialized = de_NodeQuotaForClusterExceededFault(body, context);
|
|
1331
1331
|
const exception = new models_0_1.NodeQuotaForClusterExceededFault({
|
|
1332
1332
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1333
1333
|
...deserialized,
|
|
1334
1334
|
});
|
|
1335
1335
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1336
1336
|
};
|
|
1337
|
-
const
|
|
1337
|
+
const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1338
1338
|
const body = parsedOutput.body;
|
|
1339
|
-
const deserialized =
|
|
1339
|
+
const deserialized = de_NodeQuotaForCustomerExceededFault(body, context);
|
|
1340
1340
|
const exception = new models_0_1.NodeQuotaForCustomerExceededFault({
|
|
1341
1341
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1342
1342
|
...deserialized,
|
|
1343
1343
|
});
|
|
1344
1344
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1345
1345
|
};
|
|
1346
|
-
const
|
|
1346
|
+
const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1347
1347
|
const body = parsedOutput.body;
|
|
1348
|
-
const deserialized =
|
|
1348
|
+
const deserialized = de_ParameterGroupAlreadyExistsFault(body, context);
|
|
1349
1349
|
const exception = new models_0_1.ParameterGroupAlreadyExistsFault({
|
|
1350
1350
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1351
1351
|
...deserialized,
|
|
1352
1352
|
});
|
|
1353
1353
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1354
1354
|
};
|
|
1355
|
-
const
|
|
1355
|
+
const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1356
1356
|
const body = parsedOutput.body;
|
|
1357
|
-
const deserialized =
|
|
1357
|
+
const deserialized = de_ParameterGroupNotFoundFault(body, context);
|
|
1358
1358
|
const exception = new models_0_1.ParameterGroupNotFoundFault({
|
|
1359
1359
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1360
1360
|
...deserialized,
|
|
1361
1361
|
});
|
|
1362
1362
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1365
1365
|
const body = parsedOutput.body;
|
|
1366
|
-
const deserialized =
|
|
1366
|
+
const deserialized = de_ParameterGroupQuotaExceededFault(body, context);
|
|
1367
1367
|
const exception = new models_0_1.ParameterGroupQuotaExceededFault({
|
|
1368
1368
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
1369
|
...deserialized,
|
|
1370
1370
|
});
|
|
1371
1371
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1372
1372
|
};
|
|
1373
|
-
const
|
|
1373
|
+
const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1374
1374
|
const body = parsedOutput.body;
|
|
1375
|
-
const deserialized =
|
|
1375
|
+
const deserialized = de_ServiceLinkedRoleNotFoundFault(body, context);
|
|
1376
1376
|
const exception = new models_0_1.ServiceLinkedRoleNotFoundFault({
|
|
1377
1377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1378
1378
|
...deserialized,
|
|
1379
1379
|
});
|
|
1380
1380
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1382
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1383
1383
|
const body = parsedOutput.body;
|
|
1384
|
-
const deserialized =
|
|
1384
|
+
const deserialized = de_ServiceQuotaExceededException(body, context);
|
|
1385
1385
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1386
1386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1387
1387
|
...deserialized,
|
|
1388
1388
|
});
|
|
1389
1389
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1390
1390
|
};
|
|
1391
|
-
const
|
|
1391
|
+
const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1392
1392
|
const body = parsedOutput.body;
|
|
1393
|
-
const deserialized =
|
|
1393
|
+
const deserialized = de_SubnetGroupAlreadyExistsFault(body, context);
|
|
1394
1394
|
const exception = new models_0_1.SubnetGroupAlreadyExistsFault({
|
|
1395
1395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1396
1396
|
...deserialized,
|
|
1397
1397
|
});
|
|
1398
1398
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1399
1399
|
};
|
|
1400
|
-
const
|
|
1400
|
+
const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
1401
1401
|
const body = parsedOutput.body;
|
|
1402
|
-
const deserialized =
|
|
1402
|
+
const deserialized = de_SubnetGroupInUseFault(body, context);
|
|
1403
1403
|
const exception = new models_0_1.SubnetGroupInUseFault({
|
|
1404
1404
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1405
1405
|
...deserialized,
|
|
1406
1406
|
});
|
|
1407
1407
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1408
1408
|
};
|
|
1409
|
-
const
|
|
1409
|
+
const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1410
1410
|
const body = parsedOutput.body;
|
|
1411
|
-
const deserialized =
|
|
1411
|
+
const deserialized = de_SubnetGroupNotFoundFault(body, context);
|
|
1412
1412
|
const exception = new models_0_1.SubnetGroupNotFoundFault({
|
|
1413
1413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1414
1414
|
...deserialized,
|
|
1415
1415
|
});
|
|
1416
1416
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1417
1417
|
};
|
|
1418
|
-
const
|
|
1418
|
+
const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1419
1419
|
const body = parsedOutput.body;
|
|
1420
|
-
const deserialized =
|
|
1420
|
+
const deserialized = de_SubnetGroupQuotaExceededFault(body, context);
|
|
1421
1421
|
const exception = new models_0_1.SubnetGroupQuotaExceededFault({
|
|
1422
1422
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1423
1423
|
...deserialized,
|
|
1424
1424
|
});
|
|
1425
1425
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1426
1426
|
};
|
|
1427
|
-
const
|
|
1427
|
+
const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
1428
1428
|
const body = parsedOutput.body;
|
|
1429
|
-
const deserialized =
|
|
1429
|
+
const deserialized = de_SubnetInUse(body, context);
|
|
1430
1430
|
const exception = new models_0_1.SubnetInUse({
|
|
1431
1431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1432
1432
|
...deserialized,
|
|
1433
1433
|
});
|
|
1434
1434
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1435
1435
|
};
|
|
1436
|
-
const
|
|
1436
|
+
const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1437
1437
|
const body = parsedOutput.body;
|
|
1438
|
-
const deserialized =
|
|
1438
|
+
const deserialized = de_SubnetQuotaExceededFault(body, context);
|
|
1439
1439
|
const exception = new models_0_1.SubnetQuotaExceededFault({
|
|
1440
1440
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1441
1441
|
...deserialized,
|
|
1442
1442
|
});
|
|
1443
1443
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1444
1444
|
};
|
|
1445
|
-
const
|
|
1445
|
+
const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1446
1446
|
const body = parsedOutput.body;
|
|
1447
|
-
const deserialized =
|
|
1447
|
+
const deserialized = de_TagNotFoundFault(body, context);
|
|
1448
1448
|
const exception = new models_0_1.TagNotFoundFault({
|
|
1449
1449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1450
1450
|
...deserialized,
|
|
1451
1451
|
});
|
|
1452
1452
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1454
|
+
const de_TagQuotaPerResourceExceededRes = async (parsedOutput, context) => {
|
|
1455
1455
|
const body = parsedOutput.body;
|
|
1456
|
-
const deserialized =
|
|
1456
|
+
const deserialized = de_TagQuotaPerResourceExceeded(body, context);
|
|
1457
1457
|
const exception = new models_0_1.TagQuotaPerResourceExceeded({
|
|
1458
1458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1459
1459
|
...deserialized,
|
|
1460
1460
|
});
|
|
1461
1461
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1462
1462
|
};
|
|
1463
|
-
const
|
|
1463
|
+
const se_AvailabilityZoneList = (input, context) => {
|
|
1464
1464
|
return input
|
|
1465
1465
|
.filter((e) => e != null)
|
|
1466
1466
|
.map((entry) => {
|
|
1467
1467
|
return entry;
|
|
1468
1468
|
});
|
|
1469
1469
|
};
|
|
1470
|
-
const
|
|
1470
|
+
const se_ClusterNameList = (input, context) => {
|
|
1471
1471
|
return input
|
|
1472
1472
|
.filter((e) => e != null)
|
|
1473
1473
|
.map((entry) => {
|
|
1474
1474
|
return entry;
|
|
1475
1475
|
});
|
|
1476
1476
|
};
|
|
1477
|
-
const
|
|
1477
|
+
const se_CreateClusterRequest = (input, context) => {
|
|
1478
1478
|
return {
|
|
1479
1479
|
...(input.AvailabilityZones != null && {
|
|
1480
|
-
AvailabilityZones:
|
|
1480
|
+
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1481
1481
|
}),
|
|
1482
1482
|
...(input.ClusterEndpointEncryptionType != null && {
|
|
1483
1483
|
ClusterEndpointEncryptionType: input.ClusterEndpointEncryptionType,
|
|
@@ -1490,72 +1490,66 @@ const serializeAws_json1_1CreateClusterRequest = (input, context) => {
|
|
|
1490
1490
|
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1491
1491
|
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1492
1492
|
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
1493
|
-
...(input.SSESpecification != null && {
|
|
1494
|
-
SSESpecification: serializeAws_json1_1SSESpecification(input.SSESpecification, context),
|
|
1495
|
-
}),
|
|
1493
|
+
...(input.SSESpecification != null && { SSESpecification: se_SSESpecification(input.SSESpecification, context) }),
|
|
1496
1494
|
...(input.SecurityGroupIds != null && {
|
|
1497
|
-
SecurityGroupIds:
|
|
1495
|
+
SecurityGroupIds: se_SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1498
1496
|
}),
|
|
1499
1497
|
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1500
|
-
...(input.Tags != null && { Tags:
|
|
1498
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1501
1499
|
};
|
|
1502
1500
|
};
|
|
1503
|
-
const
|
|
1501
|
+
const se_CreateParameterGroupRequest = (input, context) => {
|
|
1504
1502
|
return {
|
|
1505
1503
|
...(input.Description != null && { Description: input.Description }),
|
|
1506
1504
|
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1507
1505
|
};
|
|
1508
1506
|
};
|
|
1509
|
-
const
|
|
1507
|
+
const se_CreateSubnetGroupRequest = (input, context) => {
|
|
1510
1508
|
return {
|
|
1511
1509
|
...(input.Description != null && { Description: input.Description }),
|
|
1512
1510
|
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1513
|
-
...(input.SubnetIds != null && { SubnetIds:
|
|
1511
|
+
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1514
1512
|
};
|
|
1515
1513
|
};
|
|
1516
|
-
const
|
|
1514
|
+
const se_DecreaseReplicationFactorRequest = (input, context) => {
|
|
1517
1515
|
return {
|
|
1518
1516
|
...(input.AvailabilityZones != null && {
|
|
1519
|
-
AvailabilityZones:
|
|
1517
|
+
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1520
1518
|
}),
|
|
1521
1519
|
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1522
1520
|
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1523
|
-
...(input.NodeIdsToRemove != null && {
|
|
1524
|
-
NodeIdsToRemove: serializeAws_json1_1NodeIdentifierList(input.NodeIdsToRemove, context),
|
|
1525
|
-
}),
|
|
1521
|
+
...(input.NodeIdsToRemove != null && { NodeIdsToRemove: se_NodeIdentifierList(input.NodeIdsToRemove, context) }),
|
|
1526
1522
|
};
|
|
1527
1523
|
};
|
|
1528
|
-
const
|
|
1524
|
+
const se_DeleteClusterRequest = (input, context) => {
|
|
1529
1525
|
return {
|
|
1530
1526
|
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1531
1527
|
};
|
|
1532
1528
|
};
|
|
1533
|
-
const
|
|
1529
|
+
const se_DeleteParameterGroupRequest = (input, context) => {
|
|
1534
1530
|
return {
|
|
1535
1531
|
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1536
1532
|
};
|
|
1537
1533
|
};
|
|
1538
|
-
const
|
|
1534
|
+
const se_DeleteSubnetGroupRequest = (input, context) => {
|
|
1539
1535
|
return {
|
|
1540
1536
|
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1541
1537
|
};
|
|
1542
1538
|
};
|
|
1543
|
-
const
|
|
1539
|
+
const se_DescribeClustersRequest = (input, context) => {
|
|
1544
1540
|
return {
|
|
1545
|
-
...(input.ClusterNames != null && {
|
|
1546
|
-
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
1547
|
-
}),
|
|
1541
|
+
...(input.ClusterNames != null && { ClusterNames: se_ClusterNameList(input.ClusterNames, context) }),
|
|
1548
1542
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1549
1543
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1550
1544
|
};
|
|
1551
1545
|
};
|
|
1552
|
-
const
|
|
1546
|
+
const se_DescribeDefaultParametersRequest = (input, context) => {
|
|
1553
1547
|
return {
|
|
1554
1548
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1555
1549
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1556
1550
|
};
|
|
1557
1551
|
};
|
|
1558
|
-
const
|
|
1552
|
+
const se_DescribeEventsRequest = (input, context) => {
|
|
1559
1553
|
return {
|
|
1560
1554
|
...(input.Duration != null && { Duration: input.Duration }),
|
|
1561
1555
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
@@ -1566,16 +1560,16 @@ const serializeAws_json1_1DescribeEventsRequest = (input, context) => {
|
|
|
1566
1560
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1567
1561
|
};
|
|
1568
1562
|
};
|
|
1569
|
-
const
|
|
1563
|
+
const se_DescribeParameterGroupsRequest = (input, context) => {
|
|
1570
1564
|
return {
|
|
1571
1565
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1572
1566
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1573
1567
|
...(input.ParameterGroupNames != null && {
|
|
1574
|
-
ParameterGroupNames:
|
|
1568
|
+
ParameterGroupNames: se_ParameterGroupNameList(input.ParameterGroupNames, context),
|
|
1575
1569
|
}),
|
|
1576
1570
|
};
|
|
1577
1571
|
};
|
|
1578
|
-
const
|
|
1572
|
+
const se_DescribeParametersRequest = (input, context) => {
|
|
1579
1573
|
return {
|
|
1580
1574
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1581
1575
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -1583,122 +1577,122 @@ const serializeAws_json1_1DescribeParametersRequest = (input, context) => {
|
|
|
1583
1577
|
...(input.Source != null && { Source: input.Source }),
|
|
1584
1578
|
};
|
|
1585
1579
|
};
|
|
1586
|
-
const
|
|
1580
|
+
const se_DescribeSubnetGroupsRequest = (input, context) => {
|
|
1587
1581
|
return {
|
|
1588
1582
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1589
1583
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1590
1584
|
...(input.SubnetGroupNames != null && {
|
|
1591
|
-
SubnetGroupNames:
|
|
1585
|
+
SubnetGroupNames: se_SubnetGroupNameList(input.SubnetGroupNames, context),
|
|
1592
1586
|
}),
|
|
1593
1587
|
};
|
|
1594
1588
|
};
|
|
1595
|
-
const
|
|
1589
|
+
const se_IncreaseReplicationFactorRequest = (input, context) => {
|
|
1596
1590
|
return {
|
|
1597
1591
|
...(input.AvailabilityZones != null && {
|
|
1598
|
-
AvailabilityZones:
|
|
1592
|
+
AvailabilityZones: se_AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1599
1593
|
}),
|
|
1600
1594
|
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1601
1595
|
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1602
1596
|
};
|
|
1603
1597
|
};
|
|
1604
|
-
const
|
|
1598
|
+
const se_KeyList = (input, context) => {
|
|
1605
1599
|
return input
|
|
1606
1600
|
.filter((e) => e != null)
|
|
1607
1601
|
.map((entry) => {
|
|
1608
1602
|
return entry;
|
|
1609
1603
|
});
|
|
1610
1604
|
};
|
|
1611
|
-
const
|
|
1605
|
+
const se_ListTagsRequest = (input, context) => {
|
|
1612
1606
|
return {
|
|
1613
1607
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1614
1608
|
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1615
1609
|
};
|
|
1616
1610
|
};
|
|
1617
|
-
const
|
|
1611
|
+
const se_NodeIdentifierList = (input, context) => {
|
|
1618
1612
|
return input
|
|
1619
1613
|
.filter((e) => e != null)
|
|
1620
1614
|
.map((entry) => {
|
|
1621
1615
|
return entry;
|
|
1622
1616
|
});
|
|
1623
1617
|
};
|
|
1624
|
-
const
|
|
1618
|
+
const se_ParameterGroupNameList = (input, context) => {
|
|
1625
1619
|
return input
|
|
1626
1620
|
.filter((e) => e != null)
|
|
1627
1621
|
.map((entry) => {
|
|
1628
1622
|
return entry;
|
|
1629
1623
|
});
|
|
1630
1624
|
};
|
|
1631
|
-
const
|
|
1625
|
+
const se_ParameterNameValue = (input, context) => {
|
|
1632
1626
|
return {
|
|
1633
1627
|
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
1634
1628
|
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1635
1629
|
};
|
|
1636
1630
|
};
|
|
1637
|
-
const
|
|
1631
|
+
const se_ParameterNameValueList = (input, context) => {
|
|
1638
1632
|
return input
|
|
1639
1633
|
.filter((e) => e != null)
|
|
1640
1634
|
.map((entry) => {
|
|
1641
|
-
return
|
|
1635
|
+
return se_ParameterNameValue(entry, context);
|
|
1642
1636
|
});
|
|
1643
1637
|
};
|
|
1644
|
-
const
|
|
1638
|
+
const se_RebootNodeRequest = (input, context) => {
|
|
1645
1639
|
return {
|
|
1646
1640
|
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1647
1641
|
...(input.NodeId != null && { NodeId: input.NodeId }),
|
|
1648
1642
|
};
|
|
1649
1643
|
};
|
|
1650
|
-
const
|
|
1644
|
+
const se_SecurityGroupIdentifierList = (input, context) => {
|
|
1651
1645
|
return input
|
|
1652
1646
|
.filter((e) => e != null)
|
|
1653
1647
|
.map((entry) => {
|
|
1654
1648
|
return entry;
|
|
1655
1649
|
});
|
|
1656
1650
|
};
|
|
1657
|
-
const
|
|
1651
|
+
const se_SSESpecification = (input, context) => {
|
|
1658
1652
|
return {
|
|
1659
1653
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1660
1654
|
};
|
|
1661
1655
|
};
|
|
1662
|
-
const
|
|
1656
|
+
const se_SubnetGroupNameList = (input, context) => {
|
|
1663
1657
|
return input
|
|
1664
1658
|
.filter((e) => e != null)
|
|
1665
1659
|
.map((entry) => {
|
|
1666
1660
|
return entry;
|
|
1667
1661
|
});
|
|
1668
1662
|
};
|
|
1669
|
-
const
|
|
1663
|
+
const se_SubnetIdentifierList = (input, context) => {
|
|
1670
1664
|
return input
|
|
1671
1665
|
.filter((e) => e != null)
|
|
1672
1666
|
.map((entry) => {
|
|
1673
1667
|
return entry;
|
|
1674
1668
|
});
|
|
1675
1669
|
};
|
|
1676
|
-
const
|
|
1670
|
+
const se_Tag = (input, context) => {
|
|
1677
1671
|
return {
|
|
1678
1672
|
...(input.Key != null && { Key: input.Key }),
|
|
1679
1673
|
...(input.Value != null && { Value: input.Value }),
|
|
1680
1674
|
};
|
|
1681
1675
|
};
|
|
1682
|
-
const
|
|
1676
|
+
const se_TagList = (input, context) => {
|
|
1683
1677
|
return input
|
|
1684
1678
|
.filter((e) => e != null)
|
|
1685
1679
|
.map((entry) => {
|
|
1686
|
-
return
|
|
1680
|
+
return se_Tag(entry, context);
|
|
1687
1681
|
});
|
|
1688
1682
|
};
|
|
1689
|
-
const
|
|
1683
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1690
1684
|
return {
|
|
1691
1685
|
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1692
|
-
...(input.Tags != null && { Tags:
|
|
1686
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1693
1687
|
};
|
|
1694
1688
|
};
|
|
1695
|
-
const
|
|
1689
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1696
1690
|
return {
|
|
1697
1691
|
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1698
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1692
|
+
...(input.TagKeys != null && { TagKeys: se_KeyList(input.TagKeys, context) }),
|
|
1699
1693
|
};
|
|
1700
1694
|
};
|
|
1701
|
-
const
|
|
1695
|
+
const se_UpdateClusterRequest = (input, context) => {
|
|
1702
1696
|
return {
|
|
1703
1697
|
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1704
1698
|
...(input.Description != null && { Description: input.Description }),
|
|
@@ -1707,164 +1701,154 @@ const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
|
|
|
1707
1701
|
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1708
1702
|
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1709
1703
|
...(input.SecurityGroupIds != null && {
|
|
1710
|
-
SecurityGroupIds:
|
|
1704
|
+
SecurityGroupIds: se_SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1711
1705
|
}),
|
|
1712
1706
|
};
|
|
1713
1707
|
};
|
|
1714
|
-
const
|
|
1708
|
+
const se_UpdateParameterGroupRequest = (input, context) => {
|
|
1715
1709
|
return {
|
|
1716
1710
|
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1717
1711
|
...(input.ParameterNameValues != null && {
|
|
1718
|
-
ParameterNameValues:
|
|
1712
|
+
ParameterNameValues: se_ParameterNameValueList(input.ParameterNameValues, context),
|
|
1719
1713
|
}),
|
|
1720
1714
|
};
|
|
1721
1715
|
};
|
|
1722
|
-
const
|
|
1716
|
+
const se_UpdateSubnetGroupRequest = (input, context) => {
|
|
1723
1717
|
return {
|
|
1724
1718
|
...(input.Description != null && { Description: input.Description }),
|
|
1725
1719
|
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1726
|
-
...(input.SubnetIds != null && { SubnetIds:
|
|
1720
|
+
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1727
1721
|
};
|
|
1728
1722
|
};
|
|
1729
|
-
const
|
|
1723
|
+
const de_Cluster = (output, context) => {
|
|
1730
1724
|
return {
|
|
1731
1725
|
ActiveNodes: (0, smithy_client_1.expectInt32)(output.ActiveNodes),
|
|
1732
1726
|
ClusterArn: (0, smithy_client_1.expectString)(output.ClusterArn),
|
|
1733
|
-
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint != null
|
|
1734
|
-
? deserializeAws_json1_1Endpoint(output.ClusterDiscoveryEndpoint, context)
|
|
1735
|
-
: undefined,
|
|
1727
|
+
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint != null ? de_Endpoint(output.ClusterDiscoveryEndpoint, context) : undefined,
|
|
1736
1728
|
ClusterEndpointEncryptionType: (0, smithy_client_1.expectString)(output.ClusterEndpointEncryptionType),
|
|
1737
1729
|
ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
|
|
1738
1730
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1739
1731
|
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
1740
|
-
NodeIdsToRemove: output.NodeIdsToRemove != null
|
|
1741
|
-
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToRemove, context)
|
|
1742
|
-
: undefined,
|
|
1732
|
+
NodeIdsToRemove: output.NodeIdsToRemove != null ? de_NodeIdentifierList(output.NodeIdsToRemove, context) : undefined,
|
|
1743
1733
|
NodeType: (0, smithy_client_1.expectString)(output.NodeType),
|
|
1744
|
-
Nodes: output.Nodes != null ?
|
|
1734
|
+
Nodes: output.Nodes != null ? de_NodeList(output.Nodes, context) : undefined,
|
|
1745
1735
|
NotificationConfiguration: output.NotificationConfiguration != null
|
|
1746
|
-
?
|
|
1747
|
-
: undefined,
|
|
1748
|
-
ParameterGroup: output.ParameterGroup != null
|
|
1749
|
-
? deserializeAws_json1_1ParameterGroupStatus(output.ParameterGroup, context)
|
|
1736
|
+
? de_NotificationConfiguration(output.NotificationConfiguration, context)
|
|
1750
1737
|
: undefined,
|
|
1738
|
+
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroupStatus(output.ParameterGroup, context) : undefined,
|
|
1751
1739
|
PreferredMaintenanceWindow: (0, smithy_client_1.expectString)(output.PreferredMaintenanceWindow),
|
|
1752
|
-
SSEDescription: output.SSEDescription != null ?
|
|
1753
|
-
SecurityGroups: output.SecurityGroups != null
|
|
1754
|
-
? deserializeAws_json1_1SecurityGroupMembershipList(output.SecurityGroups, context)
|
|
1755
|
-
: undefined,
|
|
1740
|
+
SSEDescription: output.SSEDescription != null ? de_SSEDescription(output.SSEDescription, context) : undefined,
|
|
1741
|
+
SecurityGroups: output.SecurityGroups != null ? de_SecurityGroupMembershipList(output.SecurityGroups, context) : undefined,
|
|
1756
1742
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1757
1743
|
SubnetGroup: (0, smithy_client_1.expectString)(output.SubnetGroup),
|
|
1758
1744
|
TotalNodes: (0, smithy_client_1.expectInt32)(output.TotalNodes),
|
|
1759
1745
|
};
|
|
1760
1746
|
};
|
|
1761
|
-
const
|
|
1747
|
+
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
1762
1748
|
return {
|
|
1763
1749
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1764
1750
|
};
|
|
1765
1751
|
};
|
|
1766
|
-
const
|
|
1752
|
+
const de_ClusterList = (output, context) => {
|
|
1767
1753
|
const retVal = (output || [])
|
|
1768
1754
|
.filter((e) => e != null)
|
|
1769
1755
|
.map((entry) => {
|
|
1770
1756
|
if (entry === null) {
|
|
1771
1757
|
return null;
|
|
1772
1758
|
}
|
|
1773
|
-
return
|
|
1759
|
+
return de_Cluster(entry, context);
|
|
1774
1760
|
});
|
|
1775
1761
|
return retVal;
|
|
1776
1762
|
};
|
|
1777
|
-
const
|
|
1763
|
+
const de_ClusterNotFoundFault = (output, context) => {
|
|
1778
1764
|
return {
|
|
1779
1765
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1780
1766
|
};
|
|
1781
1767
|
};
|
|
1782
|
-
const
|
|
1768
|
+
const de_ClusterQuotaForCustomerExceededFault = (output, context) => {
|
|
1783
1769
|
return {
|
|
1784
1770
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1785
1771
|
};
|
|
1786
1772
|
};
|
|
1787
|
-
const
|
|
1773
|
+
const de_CreateClusterResponse = (output, context) => {
|
|
1788
1774
|
return {
|
|
1789
|
-
Cluster: output.Cluster != null ?
|
|
1775
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
1790
1776
|
};
|
|
1791
1777
|
};
|
|
1792
|
-
const
|
|
1778
|
+
const de_CreateParameterGroupResponse = (output, context) => {
|
|
1793
1779
|
return {
|
|
1794
|
-
ParameterGroup: output.ParameterGroup != null ?
|
|
1780
|
+
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
1795
1781
|
};
|
|
1796
1782
|
};
|
|
1797
|
-
const
|
|
1783
|
+
const de_CreateSubnetGroupResponse = (output, context) => {
|
|
1798
1784
|
return {
|
|
1799
|
-
SubnetGroup: output.SubnetGroup != null ?
|
|
1785
|
+
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
1800
1786
|
};
|
|
1801
1787
|
};
|
|
1802
|
-
const
|
|
1788
|
+
const de_DecreaseReplicationFactorResponse = (output, context) => {
|
|
1803
1789
|
return {
|
|
1804
|
-
Cluster: output.Cluster != null ?
|
|
1790
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
1805
1791
|
};
|
|
1806
1792
|
};
|
|
1807
|
-
const
|
|
1793
|
+
const de_DeleteClusterResponse = (output, context) => {
|
|
1808
1794
|
return {
|
|
1809
|
-
Cluster: output.Cluster != null ?
|
|
1795
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
1810
1796
|
};
|
|
1811
1797
|
};
|
|
1812
|
-
const
|
|
1798
|
+
const de_DeleteParameterGroupResponse = (output, context) => {
|
|
1813
1799
|
return {
|
|
1814
1800
|
DeletionMessage: (0, smithy_client_1.expectString)(output.DeletionMessage),
|
|
1815
1801
|
};
|
|
1816
1802
|
};
|
|
1817
|
-
const
|
|
1803
|
+
const de_DeleteSubnetGroupResponse = (output, context) => {
|
|
1818
1804
|
return {
|
|
1819
1805
|
DeletionMessage: (0, smithy_client_1.expectString)(output.DeletionMessage),
|
|
1820
1806
|
};
|
|
1821
1807
|
};
|
|
1822
|
-
const
|
|
1808
|
+
const de_DescribeClustersResponse = (output, context) => {
|
|
1823
1809
|
return {
|
|
1824
|
-
Clusters: output.Clusters != null ?
|
|
1810
|
+
Clusters: output.Clusters != null ? de_ClusterList(output.Clusters, context) : undefined,
|
|
1825
1811
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1826
1812
|
};
|
|
1827
1813
|
};
|
|
1828
|
-
const
|
|
1814
|
+
const de_DescribeDefaultParametersResponse = (output, context) => {
|
|
1829
1815
|
return {
|
|
1830
1816
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1831
|
-
Parameters: output.Parameters != null ?
|
|
1817
|
+
Parameters: output.Parameters != null ? de_ParameterList(output.Parameters, context) : undefined,
|
|
1832
1818
|
};
|
|
1833
1819
|
};
|
|
1834
|
-
const
|
|
1820
|
+
const de_DescribeEventsResponse = (output, context) => {
|
|
1835
1821
|
return {
|
|
1836
|
-
Events: output.Events != null ?
|
|
1822
|
+
Events: output.Events != null ? de_EventList(output.Events, context) : undefined,
|
|
1837
1823
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1838
1824
|
};
|
|
1839
1825
|
};
|
|
1840
|
-
const
|
|
1826
|
+
const de_DescribeParameterGroupsResponse = (output, context) => {
|
|
1841
1827
|
return {
|
|
1842
1828
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1843
|
-
ParameterGroups: output.ParameterGroups != null
|
|
1844
|
-
? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
|
|
1845
|
-
: undefined,
|
|
1829
|
+
ParameterGroups: output.ParameterGroups != null ? de_ParameterGroupList(output.ParameterGroups, context) : undefined,
|
|
1846
1830
|
};
|
|
1847
1831
|
};
|
|
1848
|
-
const
|
|
1832
|
+
const de_DescribeParametersResponse = (output, context) => {
|
|
1849
1833
|
return {
|
|
1850
1834
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1851
|
-
Parameters: output.Parameters != null ?
|
|
1835
|
+
Parameters: output.Parameters != null ? de_ParameterList(output.Parameters, context) : undefined,
|
|
1852
1836
|
};
|
|
1853
1837
|
};
|
|
1854
|
-
const
|
|
1838
|
+
const de_DescribeSubnetGroupsResponse = (output, context) => {
|
|
1855
1839
|
return {
|
|
1856
1840
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1857
|
-
SubnetGroups: output.SubnetGroups != null ?
|
|
1841
|
+
SubnetGroups: output.SubnetGroups != null ? de_SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
1858
1842
|
};
|
|
1859
1843
|
};
|
|
1860
|
-
const
|
|
1844
|
+
const de_Endpoint = (output, context) => {
|
|
1861
1845
|
return {
|
|
1862
1846
|
Address: (0, smithy_client_1.expectString)(output.Address),
|
|
1863
1847
|
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
1864
1848
|
URL: (0, smithy_client_1.expectString)(output.URL),
|
|
1865
1849
|
};
|
|
1866
1850
|
};
|
|
1867
|
-
const
|
|
1851
|
+
const de_Event = (output, context) => {
|
|
1868
1852
|
return {
|
|
1869
1853
|
Date: output.Date != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date))) : undefined,
|
|
1870
1854
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -1872,72 +1856,72 @@ const deserializeAws_json1_1Event = (output, context) => {
|
|
|
1872
1856
|
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
1873
1857
|
};
|
|
1874
1858
|
};
|
|
1875
|
-
const
|
|
1859
|
+
const de_EventList = (output, context) => {
|
|
1876
1860
|
const retVal = (output || [])
|
|
1877
1861
|
.filter((e) => e != null)
|
|
1878
1862
|
.map((entry) => {
|
|
1879
1863
|
if (entry === null) {
|
|
1880
1864
|
return null;
|
|
1881
1865
|
}
|
|
1882
|
-
return
|
|
1866
|
+
return de_Event(entry, context);
|
|
1883
1867
|
});
|
|
1884
1868
|
return retVal;
|
|
1885
1869
|
};
|
|
1886
|
-
const
|
|
1870
|
+
const de_IncreaseReplicationFactorResponse = (output, context) => {
|
|
1887
1871
|
return {
|
|
1888
|
-
Cluster: output.Cluster != null ?
|
|
1872
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
1889
1873
|
};
|
|
1890
1874
|
};
|
|
1891
|
-
const
|
|
1875
|
+
const de_InsufficientClusterCapacityFault = (output, context) => {
|
|
1892
1876
|
return {
|
|
1893
1877
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1894
1878
|
};
|
|
1895
1879
|
};
|
|
1896
|
-
const
|
|
1880
|
+
const de_InvalidARNFault = (output, context) => {
|
|
1897
1881
|
return {
|
|
1898
1882
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1899
1883
|
};
|
|
1900
1884
|
};
|
|
1901
|
-
const
|
|
1885
|
+
const de_InvalidClusterStateFault = (output, context) => {
|
|
1902
1886
|
return {
|
|
1903
1887
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1904
1888
|
};
|
|
1905
1889
|
};
|
|
1906
|
-
const
|
|
1890
|
+
const de_InvalidParameterCombinationException = (output, context) => {
|
|
1907
1891
|
return {
|
|
1908
1892
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1909
1893
|
};
|
|
1910
1894
|
};
|
|
1911
|
-
const
|
|
1895
|
+
const de_InvalidParameterGroupStateFault = (output, context) => {
|
|
1912
1896
|
return {
|
|
1913
1897
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1914
1898
|
};
|
|
1915
1899
|
};
|
|
1916
|
-
const
|
|
1900
|
+
const de_InvalidParameterValueException = (output, context) => {
|
|
1917
1901
|
return {
|
|
1918
1902
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1919
1903
|
};
|
|
1920
1904
|
};
|
|
1921
|
-
const
|
|
1905
|
+
const de_InvalidSubnet = (output, context) => {
|
|
1922
1906
|
return {
|
|
1923
1907
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1924
1908
|
};
|
|
1925
1909
|
};
|
|
1926
|
-
const
|
|
1910
|
+
const de_InvalidVPCNetworkStateFault = (output, context) => {
|
|
1927
1911
|
return {
|
|
1928
1912
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1929
1913
|
};
|
|
1930
1914
|
};
|
|
1931
|
-
const
|
|
1915
|
+
const de_ListTagsResponse = (output, context) => {
|
|
1932
1916
|
return {
|
|
1933
1917
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1934
|
-
Tags: output.Tags != null ?
|
|
1918
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1935
1919
|
};
|
|
1936
1920
|
};
|
|
1937
|
-
const
|
|
1921
|
+
const de_Node = (output, context) => {
|
|
1938
1922
|
return {
|
|
1939
1923
|
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
1940
|
-
Endpoint: output.Endpoint != null ?
|
|
1924
|
+
Endpoint: output.Endpoint != null ? de_Endpoint(output.Endpoint, context) : undefined,
|
|
1941
1925
|
NodeCreateTime: output.NodeCreateTime != null
|
|
1942
1926
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NodeCreateTime)))
|
|
1943
1927
|
: undefined,
|
|
@@ -1946,7 +1930,7 @@ const deserializeAws_json1_1Node = (output, context) => {
|
|
|
1946
1930
|
ParameterGroupStatus: (0, smithy_client_1.expectString)(output.ParameterGroupStatus),
|
|
1947
1931
|
};
|
|
1948
1932
|
};
|
|
1949
|
-
const
|
|
1933
|
+
const de_NodeIdentifierList = (output, context) => {
|
|
1950
1934
|
const retVal = (output || [])
|
|
1951
1935
|
.filter((e) => e != null)
|
|
1952
1936
|
.map((entry) => {
|
|
@@ -1957,56 +1941,56 @@ const deserializeAws_json1_1NodeIdentifierList = (output, context) => {
|
|
|
1957
1941
|
});
|
|
1958
1942
|
return retVal;
|
|
1959
1943
|
};
|
|
1960
|
-
const
|
|
1944
|
+
const de_NodeList = (output, context) => {
|
|
1961
1945
|
const retVal = (output || [])
|
|
1962
1946
|
.filter((e) => e != null)
|
|
1963
1947
|
.map((entry) => {
|
|
1964
1948
|
if (entry === null) {
|
|
1965
1949
|
return null;
|
|
1966
1950
|
}
|
|
1967
|
-
return
|
|
1951
|
+
return de_Node(entry, context);
|
|
1968
1952
|
});
|
|
1969
1953
|
return retVal;
|
|
1970
1954
|
};
|
|
1971
|
-
const
|
|
1955
|
+
const de_NodeNotFoundFault = (output, context) => {
|
|
1972
1956
|
return {
|
|
1973
1957
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1974
1958
|
};
|
|
1975
1959
|
};
|
|
1976
|
-
const
|
|
1960
|
+
const de_NodeQuotaForClusterExceededFault = (output, context) => {
|
|
1977
1961
|
return {
|
|
1978
1962
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1979
1963
|
};
|
|
1980
1964
|
};
|
|
1981
|
-
const
|
|
1965
|
+
const de_NodeQuotaForCustomerExceededFault = (output, context) => {
|
|
1982
1966
|
return {
|
|
1983
1967
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1984
1968
|
};
|
|
1985
1969
|
};
|
|
1986
|
-
const
|
|
1970
|
+
const de_NodeTypeSpecificValue = (output, context) => {
|
|
1987
1971
|
return {
|
|
1988
1972
|
NodeType: (0, smithy_client_1.expectString)(output.NodeType),
|
|
1989
1973
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1990
1974
|
};
|
|
1991
1975
|
};
|
|
1992
|
-
const
|
|
1976
|
+
const de_NodeTypeSpecificValueList = (output, context) => {
|
|
1993
1977
|
const retVal = (output || [])
|
|
1994
1978
|
.filter((e) => e != null)
|
|
1995
1979
|
.map((entry) => {
|
|
1996
1980
|
if (entry === null) {
|
|
1997
1981
|
return null;
|
|
1998
1982
|
}
|
|
1999
|
-
return
|
|
1983
|
+
return de_NodeTypeSpecificValue(entry, context);
|
|
2000
1984
|
});
|
|
2001
1985
|
return retVal;
|
|
2002
1986
|
};
|
|
2003
|
-
const
|
|
1987
|
+
const de_NotificationConfiguration = (output, context) => {
|
|
2004
1988
|
return {
|
|
2005
1989
|
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
2006
1990
|
TopicStatus: (0, smithy_client_1.expectString)(output.TopicStatus),
|
|
2007
1991
|
};
|
|
2008
1992
|
};
|
|
2009
|
-
const
|
|
1993
|
+
const de_Parameter = (output, context) => {
|
|
2010
1994
|
return {
|
|
2011
1995
|
AllowedValues: (0, smithy_client_1.expectString)(output.AllowedValues),
|
|
2012
1996
|
ChangeType: (0, smithy_client_1.expectString)(output.ChangeType),
|
|
@@ -2014,7 +1998,7 @@ const deserializeAws_json1_1Parameter = (output, context) => {
|
|
|
2014
1998
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2015
1999
|
IsModifiable: (0, smithy_client_1.expectString)(output.IsModifiable),
|
|
2016
2000
|
NodeTypeSpecificValues: output.NodeTypeSpecificValues != null
|
|
2017
|
-
?
|
|
2001
|
+
? de_NodeTypeSpecificValueList(output.NodeTypeSpecificValues, context)
|
|
2018
2002
|
: undefined,
|
|
2019
2003
|
ParameterName: (0, smithy_client_1.expectString)(output.ParameterName),
|
|
2020
2004
|
ParameterType: (0, smithy_client_1.expectString)(output.ParameterType),
|
|
@@ -2022,209 +2006,207 @@ const deserializeAws_json1_1Parameter = (output, context) => {
|
|
|
2022
2006
|
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
2023
2007
|
};
|
|
2024
2008
|
};
|
|
2025
|
-
const
|
|
2009
|
+
const de_ParameterGroup = (output, context) => {
|
|
2026
2010
|
return {
|
|
2027
2011
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2028
2012
|
ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
|
|
2029
2013
|
};
|
|
2030
2014
|
};
|
|
2031
|
-
const
|
|
2015
|
+
const de_ParameterGroupAlreadyExistsFault = (output, context) => {
|
|
2032
2016
|
return {
|
|
2033
2017
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2034
2018
|
};
|
|
2035
2019
|
};
|
|
2036
|
-
const
|
|
2020
|
+
const de_ParameterGroupList = (output, context) => {
|
|
2037
2021
|
const retVal = (output || [])
|
|
2038
2022
|
.filter((e) => e != null)
|
|
2039
2023
|
.map((entry) => {
|
|
2040
2024
|
if (entry === null) {
|
|
2041
2025
|
return null;
|
|
2042
2026
|
}
|
|
2043
|
-
return
|
|
2027
|
+
return de_ParameterGroup(entry, context);
|
|
2044
2028
|
});
|
|
2045
2029
|
return retVal;
|
|
2046
2030
|
};
|
|
2047
|
-
const
|
|
2031
|
+
const de_ParameterGroupNotFoundFault = (output, context) => {
|
|
2048
2032
|
return {
|
|
2049
2033
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2050
2034
|
};
|
|
2051
2035
|
};
|
|
2052
|
-
const
|
|
2036
|
+
const de_ParameterGroupQuotaExceededFault = (output, context) => {
|
|
2053
2037
|
return {
|
|
2054
2038
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2055
2039
|
};
|
|
2056
2040
|
};
|
|
2057
|
-
const
|
|
2041
|
+
const de_ParameterGroupStatus = (output, context) => {
|
|
2058
2042
|
return {
|
|
2059
|
-
NodeIdsToReboot: output.NodeIdsToReboot != null
|
|
2060
|
-
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToReboot, context)
|
|
2061
|
-
: undefined,
|
|
2043
|
+
NodeIdsToReboot: output.NodeIdsToReboot != null ? de_NodeIdentifierList(output.NodeIdsToReboot, context) : undefined,
|
|
2062
2044
|
ParameterApplyStatus: (0, smithy_client_1.expectString)(output.ParameterApplyStatus),
|
|
2063
2045
|
ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
|
|
2064
2046
|
};
|
|
2065
2047
|
};
|
|
2066
|
-
const
|
|
2048
|
+
const de_ParameterList = (output, context) => {
|
|
2067
2049
|
const retVal = (output || [])
|
|
2068
2050
|
.filter((e) => e != null)
|
|
2069
2051
|
.map((entry) => {
|
|
2070
2052
|
if (entry === null) {
|
|
2071
2053
|
return null;
|
|
2072
2054
|
}
|
|
2073
|
-
return
|
|
2055
|
+
return de_Parameter(entry, context);
|
|
2074
2056
|
});
|
|
2075
2057
|
return retVal;
|
|
2076
2058
|
};
|
|
2077
|
-
const
|
|
2059
|
+
const de_RebootNodeResponse = (output, context) => {
|
|
2078
2060
|
return {
|
|
2079
|
-
Cluster: output.Cluster != null ?
|
|
2061
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
2080
2062
|
};
|
|
2081
2063
|
};
|
|
2082
|
-
const
|
|
2064
|
+
const de_SecurityGroupMembership = (output, context) => {
|
|
2083
2065
|
return {
|
|
2084
2066
|
SecurityGroupIdentifier: (0, smithy_client_1.expectString)(output.SecurityGroupIdentifier),
|
|
2085
2067
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2086
2068
|
};
|
|
2087
2069
|
};
|
|
2088
|
-
const
|
|
2070
|
+
const de_SecurityGroupMembershipList = (output, context) => {
|
|
2089
2071
|
const retVal = (output || [])
|
|
2090
2072
|
.filter((e) => e != null)
|
|
2091
2073
|
.map((entry) => {
|
|
2092
2074
|
if (entry === null) {
|
|
2093
2075
|
return null;
|
|
2094
2076
|
}
|
|
2095
|
-
return
|
|
2077
|
+
return de_SecurityGroupMembership(entry, context);
|
|
2096
2078
|
});
|
|
2097
2079
|
return retVal;
|
|
2098
2080
|
};
|
|
2099
|
-
const
|
|
2081
|
+
const de_ServiceLinkedRoleNotFoundFault = (output, context) => {
|
|
2100
2082
|
return {
|
|
2101
2083
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2102
2084
|
};
|
|
2103
2085
|
};
|
|
2104
|
-
const
|
|
2086
|
+
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2105
2087
|
return {};
|
|
2106
2088
|
};
|
|
2107
|
-
const
|
|
2089
|
+
const de_SSEDescription = (output, context) => {
|
|
2108
2090
|
return {
|
|
2109
2091
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2110
2092
|
};
|
|
2111
2093
|
};
|
|
2112
|
-
const
|
|
2094
|
+
const de_Subnet = (output, context) => {
|
|
2113
2095
|
return {
|
|
2114
2096
|
SubnetAvailabilityZone: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZone),
|
|
2115
2097
|
SubnetIdentifier: (0, smithy_client_1.expectString)(output.SubnetIdentifier),
|
|
2116
2098
|
};
|
|
2117
2099
|
};
|
|
2118
|
-
const
|
|
2100
|
+
const de_SubnetGroup = (output, context) => {
|
|
2119
2101
|
return {
|
|
2120
2102
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2121
2103
|
SubnetGroupName: (0, smithy_client_1.expectString)(output.SubnetGroupName),
|
|
2122
|
-
Subnets: output.Subnets != null ?
|
|
2104
|
+
Subnets: output.Subnets != null ? de_SubnetList(output.Subnets, context) : undefined,
|
|
2123
2105
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2124
2106
|
};
|
|
2125
2107
|
};
|
|
2126
|
-
const
|
|
2108
|
+
const de_SubnetGroupAlreadyExistsFault = (output, context) => {
|
|
2127
2109
|
return {
|
|
2128
2110
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2129
2111
|
};
|
|
2130
2112
|
};
|
|
2131
|
-
const
|
|
2113
|
+
const de_SubnetGroupInUseFault = (output, context) => {
|
|
2132
2114
|
return {
|
|
2133
2115
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2134
2116
|
};
|
|
2135
2117
|
};
|
|
2136
|
-
const
|
|
2118
|
+
const de_SubnetGroupList = (output, context) => {
|
|
2137
2119
|
const retVal = (output || [])
|
|
2138
2120
|
.filter((e) => e != null)
|
|
2139
2121
|
.map((entry) => {
|
|
2140
2122
|
if (entry === null) {
|
|
2141
2123
|
return null;
|
|
2142
2124
|
}
|
|
2143
|
-
return
|
|
2125
|
+
return de_SubnetGroup(entry, context);
|
|
2144
2126
|
});
|
|
2145
2127
|
return retVal;
|
|
2146
2128
|
};
|
|
2147
|
-
const
|
|
2129
|
+
const de_SubnetGroupNotFoundFault = (output, context) => {
|
|
2148
2130
|
return {
|
|
2149
2131
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2150
2132
|
};
|
|
2151
2133
|
};
|
|
2152
|
-
const
|
|
2134
|
+
const de_SubnetGroupQuotaExceededFault = (output, context) => {
|
|
2153
2135
|
return {
|
|
2154
2136
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2155
2137
|
};
|
|
2156
2138
|
};
|
|
2157
|
-
const
|
|
2139
|
+
const de_SubnetInUse = (output, context) => {
|
|
2158
2140
|
return {
|
|
2159
2141
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2160
2142
|
};
|
|
2161
2143
|
};
|
|
2162
|
-
const
|
|
2144
|
+
const de_SubnetList = (output, context) => {
|
|
2163
2145
|
const retVal = (output || [])
|
|
2164
2146
|
.filter((e) => e != null)
|
|
2165
2147
|
.map((entry) => {
|
|
2166
2148
|
if (entry === null) {
|
|
2167
2149
|
return null;
|
|
2168
2150
|
}
|
|
2169
|
-
return
|
|
2151
|
+
return de_Subnet(entry, context);
|
|
2170
2152
|
});
|
|
2171
2153
|
return retVal;
|
|
2172
2154
|
};
|
|
2173
|
-
const
|
|
2155
|
+
const de_SubnetQuotaExceededFault = (output, context) => {
|
|
2174
2156
|
return {
|
|
2175
2157
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2176
2158
|
};
|
|
2177
2159
|
};
|
|
2178
|
-
const
|
|
2160
|
+
const de_Tag = (output, context) => {
|
|
2179
2161
|
return {
|
|
2180
2162
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2181
2163
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2182
2164
|
};
|
|
2183
2165
|
};
|
|
2184
|
-
const
|
|
2166
|
+
const de_TagList = (output, context) => {
|
|
2185
2167
|
const retVal = (output || [])
|
|
2186
2168
|
.filter((e) => e != null)
|
|
2187
2169
|
.map((entry) => {
|
|
2188
2170
|
if (entry === null) {
|
|
2189
2171
|
return null;
|
|
2190
2172
|
}
|
|
2191
|
-
return
|
|
2173
|
+
return de_Tag(entry, context);
|
|
2192
2174
|
});
|
|
2193
2175
|
return retVal;
|
|
2194
2176
|
};
|
|
2195
|
-
const
|
|
2177
|
+
const de_TagNotFoundFault = (output, context) => {
|
|
2196
2178
|
return {
|
|
2197
2179
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2198
2180
|
};
|
|
2199
2181
|
};
|
|
2200
|
-
const
|
|
2182
|
+
const de_TagQuotaPerResourceExceeded = (output, context) => {
|
|
2201
2183
|
return {
|
|
2202
2184
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2203
2185
|
};
|
|
2204
2186
|
};
|
|
2205
|
-
const
|
|
2187
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2206
2188
|
return {
|
|
2207
|
-
Tags: output.Tags != null ?
|
|
2189
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2208
2190
|
};
|
|
2209
2191
|
};
|
|
2210
|
-
const
|
|
2192
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2211
2193
|
return {
|
|
2212
|
-
Tags: output.Tags != null ?
|
|
2194
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2213
2195
|
};
|
|
2214
2196
|
};
|
|
2215
|
-
const
|
|
2197
|
+
const de_UpdateClusterResponse = (output, context) => {
|
|
2216
2198
|
return {
|
|
2217
|
-
Cluster: output.Cluster != null ?
|
|
2199
|
+
Cluster: output.Cluster != null ? de_Cluster(output.Cluster, context) : undefined,
|
|
2218
2200
|
};
|
|
2219
2201
|
};
|
|
2220
|
-
const
|
|
2202
|
+
const de_UpdateParameterGroupResponse = (output, context) => {
|
|
2221
2203
|
return {
|
|
2222
|
-
ParameterGroup: output.ParameterGroup != null ?
|
|
2204
|
+
ParameterGroup: output.ParameterGroup != null ? de_ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
2223
2205
|
};
|
|
2224
2206
|
};
|
|
2225
|
-
const
|
|
2207
|
+
const de_UpdateSubnetGroupResponse = (output, context) => {
|
|
2226
2208
|
return {
|
|
2227
|
-
SubnetGroup: output.SubnetGroup != null ?
|
|
2209
|
+
SubnetGroup: output.SubnetGroup != null ? de_SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
2228
2210
|
};
|
|
2229
2211
|
};
|
|
2230
2212
|
const deserializeMetadata = (output) => ({
|