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