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