@aws-sdk/client-memorydb 3.927.0 → 3.929.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/index.js +2657 -2408
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/MemoryDBClient.js +2 -0
- package/dist-es/commands/BatchUpdateClusterCommand.js +3 -9
- package/dist-es/commands/CopySnapshotCommand.js +3 -9
- package/dist-es/commands/CreateACLCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -9
- package/dist-es/commands/CreateMultiRegionClusterCommand.js +3 -9
- package/dist-es/commands/CreateParameterGroupCommand.js +3 -9
- package/dist-es/commands/CreateSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateSubnetGroupCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -9
- package/dist-es/commands/DeleteACLCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteMultiRegionClusterCommand.js +3 -9
- package/dist-es/commands/DeleteParameterGroupCommand.js +3 -9
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteSubnetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DescribeACLsCommand.js +3 -9
- package/dist-es/commands/DescribeClustersCommand.js +3 -9
- package/dist-es/commands/DescribeEngineVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeEventsCommand.js +3 -9
- package/dist-es/commands/DescribeMultiRegionClustersCommand.js +3 -9
- package/dist-es/commands/DescribeMultiRegionParameterGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeMultiRegionParametersCommand.js +3 -9
- package/dist-es/commands/DescribeParameterGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeParametersCommand.js +3 -9
- package/dist-es/commands/DescribeReservedNodesCommand.js +3 -9
- package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +3 -9
- package/dist-es/commands/DescribeServiceUpdatesCommand.js +3 -9
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeSubnetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeUsersCommand.js +3 -9
- package/dist-es/commands/FailoverShardCommand.js +3 -9
- package/dist-es/commands/ListAllowedMultiRegionClusterUpdatesCommand.js +3 -9
- package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +3 -9
- package/dist-es/commands/ResetParameterGroupCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateACLCommand.js +3 -9
- package/dist-es/commands/UpdateClusterCommand.js +3 -9
- package/dist-es/commands/UpdateMultiRegionClusterCommand.js +3 -9
- package/dist-es/commands/UpdateParameterGroupCommand.js +3 -9
- package/dist-es/commands/UpdateSubnetGroupCommand.js +3 -9
- package/dist-es/commands/UpdateUserCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2407 -0
- package/dist-types/MemoryDBClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +278 -0
- package/dist-types/ts3.4/MemoryDBClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +283 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1926
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -407
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -545
|
@@ -1,1926 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, 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 "@smithy/smithy-client";
|
|
4
|
-
import { MemoryDBServiceException as __BaseException } from "../models/MemoryDBServiceException";
|
|
5
|
-
import { ACLAlreadyExistsFault, ACLNotFoundFault, ACLQuotaExceededFault, APICallRateForCustomerExceededFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterQuotaForCustomerExceededFault, DefaultUserRequired, DuplicateUserNameFault, InsufficientClusterCapacityFault, InvalidACLStateFault, InvalidARNFault, InvalidClusterStateFault, InvalidCredentialsException, InvalidKMSKeyFault, InvalidMultiRegionClusterStateFault, InvalidNodeStateFault, InvalidParameterCombinationException, InvalidParameterGroupStateFault, InvalidParameterValueException, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserStateFault, InvalidVPCNetworkStateFault, MultiRegionClusterAlreadyExistsFault, MultiRegionClusterNotFoundFault, MultiRegionParameterGroupNotFoundFault, 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";
|
|
6
|
-
export const se_BatchUpdateClusterCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("BatchUpdateCluster");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_CopySnapshotCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("CopySnapshot");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateACLCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateACL");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateClusterCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateCluster");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateMultiRegionClusterCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateMultiRegionCluster");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateParameterGroupCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateParameterGroup");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_CreateSnapshotCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("CreateSnapshot");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_CreateSubnetGroupCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("CreateSubnetGroup");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_CreateUserCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("CreateUser");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_DeleteACLCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("DeleteACL");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_DeleteClusterCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("DeleteCluster");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_DeleteMultiRegionClusterCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("DeleteMultiRegionCluster");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_DeleteParameterGroupCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("DeleteParameterGroup");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_DeleteSnapshotCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("DeleteSnapshot");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_DeleteSubnetGroupCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("DeleteSubnetGroup");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_DeleteUserCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("DeleteUser");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_DescribeACLsCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("DescribeACLs");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_DescribeClustersCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("DescribeClusters");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_DescribeEngineVersionsCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DescribeEngineVersions");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DescribeEventsCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DescribeEvents");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(se_DescribeEventsRequest(input, context));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_DescribeMultiRegionClustersCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("DescribeMultiRegionClusters");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_DescribeMultiRegionParameterGroupsCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("DescribeMultiRegionParameterGroups");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_DescribeMultiRegionParametersCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("DescribeMultiRegionParameters");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_DescribeParameterGroupsCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("DescribeParameterGroups");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_DescribeParametersCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("DescribeParameters");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_DescribeReservedNodesCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("DescribeReservedNodes");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_DescribeReservedNodesOfferingsCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("DescribeReservedNodesOfferings");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_DescribeServiceUpdatesCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("DescribeServiceUpdates");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("DescribeSnapshots");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_DescribeSubnetGroupsCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("DescribeSubnetGroups");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_DescribeUsersCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("DescribeUsers");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_FailoverShardCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("FailoverShard");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_ListAllowedMultiRegionClusterUpdatesCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("ListAllowedMultiRegionClusterUpdates");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_ListAllowedNodeTypeUpdatesCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("ListAllowedNodeTypeUpdates");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_ListTagsCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("ListTags");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_PurchaseReservedNodesOfferingCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("PurchaseReservedNodesOffering");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_ResetParameterGroupCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("ResetParameterGroup");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("TagResource");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("UntagResource");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(_json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
export const se_UpdateACLCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("UpdateACL");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(_json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
export const se_UpdateClusterCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("UpdateCluster");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_UpdateMultiRegionClusterCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("UpdateMultiRegionCluster");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_UpdateParameterGroupCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("UpdateParameterGroup");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_UpdateSubnetGroupCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("UpdateSubnetGroup");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_UpdateUserCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("UpdateUser");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const de_BatchUpdateClusterCommand = async (output, context) => {
|
|
277
|
-
if (output.statusCode >= 300) {
|
|
278
|
-
return de_CommandError(output, context);
|
|
279
|
-
}
|
|
280
|
-
const data = await parseBody(output.body, context);
|
|
281
|
-
let contents = {};
|
|
282
|
-
contents = de_BatchUpdateClusterResponse(data, context);
|
|
283
|
-
const response = {
|
|
284
|
-
$metadata: deserializeMetadata(output),
|
|
285
|
-
...contents,
|
|
286
|
-
};
|
|
287
|
-
return response;
|
|
288
|
-
};
|
|
289
|
-
export const de_CopySnapshotCommand = async (output, context) => {
|
|
290
|
-
if (output.statusCode >= 300) {
|
|
291
|
-
return de_CommandError(output, context);
|
|
292
|
-
}
|
|
293
|
-
const data = await parseBody(output.body, context);
|
|
294
|
-
let contents = {};
|
|
295
|
-
contents = de_CopySnapshotResponse(data, context);
|
|
296
|
-
const response = {
|
|
297
|
-
$metadata: deserializeMetadata(output),
|
|
298
|
-
...contents,
|
|
299
|
-
};
|
|
300
|
-
return response;
|
|
301
|
-
};
|
|
302
|
-
export const de_CreateACLCommand = async (output, context) => {
|
|
303
|
-
if (output.statusCode >= 300) {
|
|
304
|
-
return de_CommandError(output, context);
|
|
305
|
-
}
|
|
306
|
-
const data = await parseBody(output.body, context);
|
|
307
|
-
let contents = {};
|
|
308
|
-
contents = _json(data);
|
|
309
|
-
const response = {
|
|
310
|
-
$metadata: deserializeMetadata(output),
|
|
311
|
-
...contents,
|
|
312
|
-
};
|
|
313
|
-
return response;
|
|
314
|
-
};
|
|
315
|
-
export const de_CreateClusterCommand = async (output, context) => {
|
|
316
|
-
if (output.statusCode >= 300) {
|
|
317
|
-
return de_CommandError(output, context);
|
|
318
|
-
}
|
|
319
|
-
const data = await parseBody(output.body, context);
|
|
320
|
-
let contents = {};
|
|
321
|
-
contents = de_CreateClusterResponse(data, context);
|
|
322
|
-
const response = {
|
|
323
|
-
$metadata: deserializeMetadata(output),
|
|
324
|
-
...contents,
|
|
325
|
-
};
|
|
326
|
-
return response;
|
|
327
|
-
};
|
|
328
|
-
export const de_CreateMultiRegionClusterCommand = async (output, context) => {
|
|
329
|
-
if (output.statusCode >= 300) {
|
|
330
|
-
return de_CommandError(output, context);
|
|
331
|
-
}
|
|
332
|
-
const data = await parseBody(output.body, context);
|
|
333
|
-
let contents = {};
|
|
334
|
-
contents = _json(data);
|
|
335
|
-
const response = {
|
|
336
|
-
$metadata: deserializeMetadata(output),
|
|
337
|
-
...contents,
|
|
338
|
-
};
|
|
339
|
-
return response;
|
|
340
|
-
};
|
|
341
|
-
export const de_CreateParameterGroupCommand = async (output, context) => {
|
|
342
|
-
if (output.statusCode >= 300) {
|
|
343
|
-
return de_CommandError(output, context);
|
|
344
|
-
}
|
|
345
|
-
const data = await parseBody(output.body, context);
|
|
346
|
-
let contents = {};
|
|
347
|
-
contents = _json(data);
|
|
348
|
-
const response = {
|
|
349
|
-
$metadata: deserializeMetadata(output),
|
|
350
|
-
...contents,
|
|
351
|
-
};
|
|
352
|
-
return response;
|
|
353
|
-
};
|
|
354
|
-
export const de_CreateSnapshotCommand = async (output, context) => {
|
|
355
|
-
if (output.statusCode >= 300) {
|
|
356
|
-
return de_CommandError(output, context);
|
|
357
|
-
}
|
|
358
|
-
const data = await parseBody(output.body, context);
|
|
359
|
-
let contents = {};
|
|
360
|
-
contents = de_CreateSnapshotResponse(data, context);
|
|
361
|
-
const response = {
|
|
362
|
-
$metadata: deserializeMetadata(output),
|
|
363
|
-
...contents,
|
|
364
|
-
};
|
|
365
|
-
return response;
|
|
366
|
-
};
|
|
367
|
-
export const de_CreateSubnetGroupCommand = async (output, context) => {
|
|
368
|
-
if (output.statusCode >= 300) {
|
|
369
|
-
return de_CommandError(output, context);
|
|
370
|
-
}
|
|
371
|
-
const data = await parseBody(output.body, context);
|
|
372
|
-
let contents = {};
|
|
373
|
-
contents = _json(data);
|
|
374
|
-
const response = {
|
|
375
|
-
$metadata: deserializeMetadata(output),
|
|
376
|
-
...contents,
|
|
377
|
-
};
|
|
378
|
-
return response;
|
|
379
|
-
};
|
|
380
|
-
export const de_CreateUserCommand = async (output, context) => {
|
|
381
|
-
if (output.statusCode >= 300) {
|
|
382
|
-
return de_CommandError(output, context);
|
|
383
|
-
}
|
|
384
|
-
const data = await parseBody(output.body, context);
|
|
385
|
-
let contents = {};
|
|
386
|
-
contents = _json(data);
|
|
387
|
-
const response = {
|
|
388
|
-
$metadata: deserializeMetadata(output),
|
|
389
|
-
...contents,
|
|
390
|
-
};
|
|
391
|
-
return response;
|
|
392
|
-
};
|
|
393
|
-
export const de_DeleteACLCommand = async (output, context) => {
|
|
394
|
-
if (output.statusCode >= 300) {
|
|
395
|
-
return de_CommandError(output, context);
|
|
396
|
-
}
|
|
397
|
-
const data = await parseBody(output.body, context);
|
|
398
|
-
let contents = {};
|
|
399
|
-
contents = _json(data);
|
|
400
|
-
const response = {
|
|
401
|
-
$metadata: deserializeMetadata(output),
|
|
402
|
-
...contents,
|
|
403
|
-
};
|
|
404
|
-
return response;
|
|
405
|
-
};
|
|
406
|
-
export const de_DeleteClusterCommand = async (output, context) => {
|
|
407
|
-
if (output.statusCode >= 300) {
|
|
408
|
-
return de_CommandError(output, context);
|
|
409
|
-
}
|
|
410
|
-
const data = await parseBody(output.body, context);
|
|
411
|
-
let contents = {};
|
|
412
|
-
contents = de_DeleteClusterResponse(data, context);
|
|
413
|
-
const response = {
|
|
414
|
-
$metadata: deserializeMetadata(output),
|
|
415
|
-
...contents,
|
|
416
|
-
};
|
|
417
|
-
return response;
|
|
418
|
-
};
|
|
419
|
-
export const de_DeleteMultiRegionClusterCommand = async (output, context) => {
|
|
420
|
-
if (output.statusCode >= 300) {
|
|
421
|
-
return de_CommandError(output, context);
|
|
422
|
-
}
|
|
423
|
-
const data = await parseBody(output.body, context);
|
|
424
|
-
let contents = {};
|
|
425
|
-
contents = _json(data);
|
|
426
|
-
const response = {
|
|
427
|
-
$metadata: deserializeMetadata(output),
|
|
428
|
-
...contents,
|
|
429
|
-
};
|
|
430
|
-
return response;
|
|
431
|
-
};
|
|
432
|
-
export const de_DeleteParameterGroupCommand = async (output, context) => {
|
|
433
|
-
if (output.statusCode >= 300) {
|
|
434
|
-
return de_CommandError(output, context);
|
|
435
|
-
}
|
|
436
|
-
const data = await parseBody(output.body, context);
|
|
437
|
-
let contents = {};
|
|
438
|
-
contents = _json(data);
|
|
439
|
-
const response = {
|
|
440
|
-
$metadata: deserializeMetadata(output),
|
|
441
|
-
...contents,
|
|
442
|
-
};
|
|
443
|
-
return response;
|
|
444
|
-
};
|
|
445
|
-
export const de_DeleteSnapshotCommand = async (output, context) => {
|
|
446
|
-
if (output.statusCode >= 300) {
|
|
447
|
-
return de_CommandError(output, context);
|
|
448
|
-
}
|
|
449
|
-
const data = await parseBody(output.body, context);
|
|
450
|
-
let contents = {};
|
|
451
|
-
contents = de_DeleteSnapshotResponse(data, context);
|
|
452
|
-
const response = {
|
|
453
|
-
$metadata: deserializeMetadata(output),
|
|
454
|
-
...contents,
|
|
455
|
-
};
|
|
456
|
-
return response;
|
|
457
|
-
};
|
|
458
|
-
export const de_DeleteSubnetGroupCommand = async (output, context) => {
|
|
459
|
-
if (output.statusCode >= 300) {
|
|
460
|
-
return de_CommandError(output, context);
|
|
461
|
-
}
|
|
462
|
-
const data = await parseBody(output.body, context);
|
|
463
|
-
let contents = {};
|
|
464
|
-
contents = _json(data);
|
|
465
|
-
const response = {
|
|
466
|
-
$metadata: deserializeMetadata(output),
|
|
467
|
-
...contents,
|
|
468
|
-
};
|
|
469
|
-
return response;
|
|
470
|
-
};
|
|
471
|
-
export const de_DeleteUserCommand = async (output, context) => {
|
|
472
|
-
if (output.statusCode >= 300) {
|
|
473
|
-
return de_CommandError(output, context);
|
|
474
|
-
}
|
|
475
|
-
const data = await parseBody(output.body, context);
|
|
476
|
-
let contents = {};
|
|
477
|
-
contents = _json(data);
|
|
478
|
-
const response = {
|
|
479
|
-
$metadata: deserializeMetadata(output),
|
|
480
|
-
...contents,
|
|
481
|
-
};
|
|
482
|
-
return response;
|
|
483
|
-
};
|
|
484
|
-
export const de_DescribeACLsCommand = async (output, context) => {
|
|
485
|
-
if (output.statusCode >= 300) {
|
|
486
|
-
return de_CommandError(output, context);
|
|
487
|
-
}
|
|
488
|
-
const data = await parseBody(output.body, context);
|
|
489
|
-
let contents = {};
|
|
490
|
-
contents = _json(data);
|
|
491
|
-
const response = {
|
|
492
|
-
$metadata: deserializeMetadata(output),
|
|
493
|
-
...contents,
|
|
494
|
-
};
|
|
495
|
-
return response;
|
|
496
|
-
};
|
|
497
|
-
export const de_DescribeClustersCommand = async (output, context) => {
|
|
498
|
-
if (output.statusCode >= 300) {
|
|
499
|
-
return de_CommandError(output, context);
|
|
500
|
-
}
|
|
501
|
-
const data = await parseBody(output.body, context);
|
|
502
|
-
let contents = {};
|
|
503
|
-
contents = de_DescribeClustersResponse(data, context);
|
|
504
|
-
const response = {
|
|
505
|
-
$metadata: deserializeMetadata(output),
|
|
506
|
-
...contents,
|
|
507
|
-
};
|
|
508
|
-
return response;
|
|
509
|
-
};
|
|
510
|
-
export const de_DescribeEngineVersionsCommand = async (output, context) => {
|
|
511
|
-
if (output.statusCode >= 300) {
|
|
512
|
-
return de_CommandError(output, context);
|
|
513
|
-
}
|
|
514
|
-
const data = await parseBody(output.body, context);
|
|
515
|
-
let contents = {};
|
|
516
|
-
contents = _json(data);
|
|
517
|
-
const response = {
|
|
518
|
-
$metadata: deserializeMetadata(output),
|
|
519
|
-
...contents,
|
|
520
|
-
};
|
|
521
|
-
return response;
|
|
522
|
-
};
|
|
523
|
-
export const de_DescribeEventsCommand = async (output, context) => {
|
|
524
|
-
if (output.statusCode >= 300) {
|
|
525
|
-
return de_CommandError(output, context);
|
|
526
|
-
}
|
|
527
|
-
const data = await parseBody(output.body, context);
|
|
528
|
-
let contents = {};
|
|
529
|
-
contents = de_DescribeEventsResponse(data, context);
|
|
530
|
-
const response = {
|
|
531
|
-
$metadata: deserializeMetadata(output),
|
|
532
|
-
...contents,
|
|
533
|
-
};
|
|
534
|
-
return response;
|
|
535
|
-
};
|
|
536
|
-
export const de_DescribeMultiRegionClustersCommand = async (output, context) => {
|
|
537
|
-
if (output.statusCode >= 300) {
|
|
538
|
-
return de_CommandError(output, context);
|
|
539
|
-
}
|
|
540
|
-
const data = await parseBody(output.body, context);
|
|
541
|
-
let contents = {};
|
|
542
|
-
contents = _json(data);
|
|
543
|
-
const response = {
|
|
544
|
-
$metadata: deserializeMetadata(output),
|
|
545
|
-
...contents,
|
|
546
|
-
};
|
|
547
|
-
return response;
|
|
548
|
-
};
|
|
549
|
-
export const de_DescribeMultiRegionParameterGroupsCommand = async (output, context) => {
|
|
550
|
-
if (output.statusCode >= 300) {
|
|
551
|
-
return de_CommandError(output, context);
|
|
552
|
-
}
|
|
553
|
-
const data = await parseBody(output.body, context);
|
|
554
|
-
let contents = {};
|
|
555
|
-
contents = _json(data);
|
|
556
|
-
const response = {
|
|
557
|
-
$metadata: deserializeMetadata(output),
|
|
558
|
-
...contents,
|
|
559
|
-
};
|
|
560
|
-
return response;
|
|
561
|
-
};
|
|
562
|
-
export const de_DescribeMultiRegionParametersCommand = async (output, context) => {
|
|
563
|
-
if (output.statusCode >= 300) {
|
|
564
|
-
return de_CommandError(output, context);
|
|
565
|
-
}
|
|
566
|
-
const data = await parseBody(output.body, context);
|
|
567
|
-
let contents = {};
|
|
568
|
-
contents = _json(data);
|
|
569
|
-
const response = {
|
|
570
|
-
$metadata: deserializeMetadata(output),
|
|
571
|
-
...contents,
|
|
572
|
-
};
|
|
573
|
-
return response;
|
|
574
|
-
};
|
|
575
|
-
export const de_DescribeParameterGroupsCommand = async (output, context) => {
|
|
576
|
-
if (output.statusCode >= 300) {
|
|
577
|
-
return de_CommandError(output, context);
|
|
578
|
-
}
|
|
579
|
-
const data = await parseBody(output.body, context);
|
|
580
|
-
let contents = {};
|
|
581
|
-
contents = _json(data);
|
|
582
|
-
const response = {
|
|
583
|
-
$metadata: deserializeMetadata(output),
|
|
584
|
-
...contents,
|
|
585
|
-
};
|
|
586
|
-
return response;
|
|
587
|
-
};
|
|
588
|
-
export const de_DescribeParametersCommand = async (output, context) => {
|
|
589
|
-
if (output.statusCode >= 300) {
|
|
590
|
-
return de_CommandError(output, context);
|
|
591
|
-
}
|
|
592
|
-
const data = await parseBody(output.body, context);
|
|
593
|
-
let contents = {};
|
|
594
|
-
contents = _json(data);
|
|
595
|
-
const response = {
|
|
596
|
-
$metadata: deserializeMetadata(output),
|
|
597
|
-
...contents,
|
|
598
|
-
};
|
|
599
|
-
return response;
|
|
600
|
-
};
|
|
601
|
-
export const de_DescribeReservedNodesCommand = async (output, context) => {
|
|
602
|
-
if (output.statusCode >= 300) {
|
|
603
|
-
return de_CommandError(output, context);
|
|
604
|
-
}
|
|
605
|
-
const data = await parseBody(output.body, context);
|
|
606
|
-
let contents = {};
|
|
607
|
-
contents = de_DescribeReservedNodesResponse(data, context);
|
|
608
|
-
const response = {
|
|
609
|
-
$metadata: deserializeMetadata(output),
|
|
610
|
-
...contents,
|
|
611
|
-
};
|
|
612
|
-
return response;
|
|
613
|
-
};
|
|
614
|
-
export const de_DescribeReservedNodesOfferingsCommand = async (output, context) => {
|
|
615
|
-
if (output.statusCode >= 300) {
|
|
616
|
-
return de_CommandError(output, context);
|
|
617
|
-
}
|
|
618
|
-
const data = await parseBody(output.body, context);
|
|
619
|
-
let contents = {};
|
|
620
|
-
contents = de_DescribeReservedNodesOfferingsResponse(data, context);
|
|
621
|
-
const response = {
|
|
622
|
-
$metadata: deserializeMetadata(output),
|
|
623
|
-
...contents,
|
|
624
|
-
};
|
|
625
|
-
return response;
|
|
626
|
-
};
|
|
627
|
-
export const de_DescribeServiceUpdatesCommand = async (output, context) => {
|
|
628
|
-
if (output.statusCode >= 300) {
|
|
629
|
-
return de_CommandError(output, context);
|
|
630
|
-
}
|
|
631
|
-
const data = await parseBody(output.body, context);
|
|
632
|
-
let contents = {};
|
|
633
|
-
contents = de_DescribeServiceUpdatesResponse(data, context);
|
|
634
|
-
const response = {
|
|
635
|
-
$metadata: deserializeMetadata(output),
|
|
636
|
-
...contents,
|
|
637
|
-
};
|
|
638
|
-
return response;
|
|
639
|
-
};
|
|
640
|
-
export const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
641
|
-
if (output.statusCode >= 300) {
|
|
642
|
-
return de_CommandError(output, context);
|
|
643
|
-
}
|
|
644
|
-
const data = await parseBody(output.body, context);
|
|
645
|
-
let contents = {};
|
|
646
|
-
contents = de_DescribeSnapshotsResponse(data, context);
|
|
647
|
-
const response = {
|
|
648
|
-
$metadata: deserializeMetadata(output),
|
|
649
|
-
...contents,
|
|
650
|
-
};
|
|
651
|
-
return response;
|
|
652
|
-
};
|
|
653
|
-
export const de_DescribeSubnetGroupsCommand = async (output, context) => {
|
|
654
|
-
if (output.statusCode >= 300) {
|
|
655
|
-
return de_CommandError(output, context);
|
|
656
|
-
}
|
|
657
|
-
const data = await parseBody(output.body, context);
|
|
658
|
-
let contents = {};
|
|
659
|
-
contents = _json(data);
|
|
660
|
-
const response = {
|
|
661
|
-
$metadata: deserializeMetadata(output),
|
|
662
|
-
...contents,
|
|
663
|
-
};
|
|
664
|
-
return response;
|
|
665
|
-
};
|
|
666
|
-
export const de_DescribeUsersCommand = async (output, context) => {
|
|
667
|
-
if (output.statusCode >= 300) {
|
|
668
|
-
return de_CommandError(output, context);
|
|
669
|
-
}
|
|
670
|
-
const data = await parseBody(output.body, context);
|
|
671
|
-
let contents = {};
|
|
672
|
-
contents = _json(data);
|
|
673
|
-
const response = {
|
|
674
|
-
$metadata: deserializeMetadata(output),
|
|
675
|
-
...contents,
|
|
676
|
-
};
|
|
677
|
-
return response;
|
|
678
|
-
};
|
|
679
|
-
export const de_FailoverShardCommand = async (output, context) => {
|
|
680
|
-
if (output.statusCode >= 300) {
|
|
681
|
-
return de_CommandError(output, context);
|
|
682
|
-
}
|
|
683
|
-
const data = await parseBody(output.body, context);
|
|
684
|
-
let contents = {};
|
|
685
|
-
contents = de_FailoverShardResponse(data, context);
|
|
686
|
-
const response = {
|
|
687
|
-
$metadata: deserializeMetadata(output),
|
|
688
|
-
...contents,
|
|
689
|
-
};
|
|
690
|
-
return response;
|
|
691
|
-
};
|
|
692
|
-
export const de_ListAllowedMultiRegionClusterUpdatesCommand = async (output, context) => {
|
|
693
|
-
if (output.statusCode >= 300) {
|
|
694
|
-
return de_CommandError(output, context);
|
|
695
|
-
}
|
|
696
|
-
const data = await parseBody(output.body, context);
|
|
697
|
-
let contents = {};
|
|
698
|
-
contents = _json(data);
|
|
699
|
-
const response = {
|
|
700
|
-
$metadata: deserializeMetadata(output),
|
|
701
|
-
...contents,
|
|
702
|
-
};
|
|
703
|
-
return response;
|
|
704
|
-
};
|
|
705
|
-
export const de_ListAllowedNodeTypeUpdatesCommand = async (output, context) => {
|
|
706
|
-
if (output.statusCode >= 300) {
|
|
707
|
-
return de_CommandError(output, context);
|
|
708
|
-
}
|
|
709
|
-
const data = await parseBody(output.body, context);
|
|
710
|
-
let contents = {};
|
|
711
|
-
contents = _json(data);
|
|
712
|
-
const response = {
|
|
713
|
-
$metadata: deserializeMetadata(output),
|
|
714
|
-
...contents,
|
|
715
|
-
};
|
|
716
|
-
return response;
|
|
717
|
-
};
|
|
718
|
-
export const de_ListTagsCommand = async (output, context) => {
|
|
719
|
-
if (output.statusCode >= 300) {
|
|
720
|
-
return de_CommandError(output, context);
|
|
721
|
-
}
|
|
722
|
-
const data = await parseBody(output.body, context);
|
|
723
|
-
let contents = {};
|
|
724
|
-
contents = _json(data);
|
|
725
|
-
const response = {
|
|
726
|
-
$metadata: deserializeMetadata(output),
|
|
727
|
-
...contents,
|
|
728
|
-
};
|
|
729
|
-
return response;
|
|
730
|
-
};
|
|
731
|
-
export const de_PurchaseReservedNodesOfferingCommand = async (output, context) => {
|
|
732
|
-
if (output.statusCode >= 300) {
|
|
733
|
-
return de_CommandError(output, context);
|
|
734
|
-
}
|
|
735
|
-
const data = await parseBody(output.body, context);
|
|
736
|
-
let contents = {};
|
|
737
|
-
contents = de_PurchaseReservedNodesOfferingResponse(data, context);
|
|
738
|
-
const response = {
|
|
739
|
-
$metadata: deserializeMetadata(output),
|
|
740
|
-
...contents,
|
|
741
|
-
};
|
|
742
|
-
return response;
|
|
743
|
-
};
|
|
744
|
-
export const de_ResetParameterGroupCommand = async (output, context) => {
|
|
745
|
-
if (output.statusCode >= 300) {
|
|
746
|
-
return de_CommandError(output, context);
|
|
747
|
-
}
|
|
748
|
-
const data = await parseBody(output.body, context);
|
|
749
|
-
let contents = {};
|
|
750
|
-
contents = _json(data);
|
|
751
|
-
const response = {
|
|
752
|
-
$metadata: deserializeMetadata(output),
|
|
753
|
-
...contents,
|
|
754
|
-
};
|
|
755
|
-
return response;
|
|
756
|
-
};
|
|
757
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
758
|
-
if (output.statusCode >= 300) {
|
|
759
|
-
return de_CommandError(output, context);
|
|
760
|
-
}
|
|
761
|
-
const data = await parseBody(output.body, context);
|
|
762
|
-
let contents = {};
|
|
763
|
-
contents = _json(data);
|
|
764
|
-
const response = {
|
|
765
|
-
$metadata: deserializeMetadata(output),
|
|
766
|
-
...contents,
|
|
767
|
-
};
|
|
768
|
-
return response;
|
|
769
|
-
};
|
|
770
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
771
|
-
if (output.statusCode >= 300) {
|
|
772
|
-
return de_CommandError(output, context);
|
|
773
|
-
}
|
|
774
|
-
const data = await parseBody(output.body, context);
|
|
775
|
-
let contents = {};
|
|
776
|
-
contents = _json(data);
|
|
777
|
-
const response = {
|
|
778
|
-
$metadata: deserializeMetadata(output),
|
|
779
|
-
...contents,
|
|
780
|
-
};
|
|
781
|
-
return response;
|
|
782
|
-
};
|
|
783
|
-
export const de_UpdateACLCommand = async (output, context) => {
|
|
784
|
-
if (output.statusCode >= 300) {
|
|
785
|
-
return de_CommandError(output, context);
|
|
786
|
-
}
|
|
787
|
-
const data = await parseBody(output.body, context);
|
|
788
|
-
let contents = {};
|
|
789
|
-
contents = _json(data);
|
|
790
|
-
const response = {
|
|
791
|
-
$metadata: deserializeMetadata(output),
|
|
792
|
-
...contents,
|
|
793
|
-
};
|
|
794
|
-
return response;
|
|
795
|
-
};
|
|
796
|
-
export const de_UpdateClusterCommand = async (output, context) => {
|
|
797
|
-
if (output.statusCode >= 300) {
|
|
798
|
-
return de_CommandError(output, context);
|
|
799
|
-
}
|
|
800
|
-
const data = await parseBody(output.body, context);
|
|
801
|
-
let contents = {};
|
|
802
|
-
contents = de_UpdateClusterResponse(data, context);
|
|
803
|
-
const response = {
|
|
804
|
-
$metadata: deserializeMetadata(output),
|
|
805
|
-
...contents,
|
|
806
|
-
};
|
|
807
|
-
return response;
|
|
808
|
-
};
|
|
809
|
-
export const de_UpdateMultiRegionClusterCommand = async (output, context) => {
|
|
810
|
-
if (output.statusCode >= 300) {
|
|
811
|
-
return de_CommandError(output, context);
|
|
812
|
-
}
|
|
813
|
-
const data = await parseBody(output.body, context);
|
|
814
|
-
let contents = {};
|
|
815
|
-
contents = _json(data);
|
|
816
|
-
const response = {
|
|
817
|
-
$metadata: deserializeMetadata(output),
|
|
818
|
-
...contents,
|
|
819
|
-
};
|
|
820
|
-
return response;
|
|
821
|
-
};
|
|
822
|
-
export const de_UpdateParameterGroupCommand = async (output, context) => {
|
|
823
|
-
if (output.statusCode >= 300) {
|
|
824
|
-
return de_CommandError(output, context);
|
|
825
|
-
}
|
|
826
|
-
const data = await parseBody(output.body, context);
|
|
827
|
-
let contents = {};
|
|
828
|
-
contents = _json(data);
|
|
829
|
-
const response = {
|
|
830
|
-
$metadata: deserializeMetadata(output),
|
|
831
|
-
...contents,
|
|
832
|
-
};
|
|
833
|
-
return response;
|
|
834
|
-
};
|
|
835
|
-
export const de_UpdateSubnetGroupCommand = async (output, context) => {
|
|
836
|
-
if (output.statusCode >= 300) {
|
|
837
|
-
return de_CommandError(output, context);
|
|
838
|
-
}
|
|
839
|
-
const data = await parseBody(output.body, context);
|
|
840
|
-
let contents = {};
|
|
841
|
-
contents = _json(data);
|
|
842
|
-
const response = {
|
|
843
|
-
$metadata: deserializeMetadata(output),
|
|
844
|
-
...contents,
|
|
845
|
-
};
|
|
846
|
-
return response;
|
|
847
|
-
};
|
|
848
|
-
export const de_UpdateUserCommand = async (output, context) => {
|
|
849
|
-
if (output.statusCode >= 300) {
|
|
850
|
-
return de_CommandError(output, context);
|
|
851
|
-
}
|
|
852
|
-
const data = await parseBody(output.body, context);
|
|
853
|
-
let contents = {};
|
|
854
|
-
contents = _json(data);
|
|
855
|
-
const response = {
|
|
856
|
-
$metadata: deserializeMetadata(output),
|
|
857
|
-
...contents,
|
|
858
|
-
};
|
|
859
|
-
return response;
|
|
860
|
-
};
|
|
861
|
-
const de_CommandError = async (output, context) => {
|
|
862
|
-
const parsedOutput = {
|
|
863
|
-
...output,
|
|
864
|
-
body: await parseErrorBody(output.body, context),
|
|
865
|
-
};
|
|
866
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
867
|
-
switch (errorCode) {
|
|
868
|
-
case "InvalidParameterValueException":
|
|
869
|
-
case "com.amazonaws.memorydb#InvalidParameterValueException":
|
|
870
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
871
|
-
case "ServiceUpdateNotFoundFault":
|
|
872
|
-
case "com.amazonaws.memorydb#ServiceUpdateNotFoundFault":
|
|
873
|
-
throw await de_ServiceUpdateNotFoundFaultRes(parsedOutput, context);
|
|
874
|
-
case "InvalidParameterCombinationException":
|
|
875
|
-
case "com.amazonaws.memorydb#InvalidParameterCombinationException":
|
|
876
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
877
|
-
case "InvalidSnapshotStateFault":
|
|
878
|
-
case "com.amazonaws.memorydb#InvalidSnapshotStateFault":
|
|
879
|
-
throw await de_InvalidSnapshotStateFaultRes(parsedOutput, context);
|
|
880
|
-
case "ServiceLinkedRoleNotFoundFault":
|
|
881
|
-
case "com.amazonaws.memorydb#ServiceLinkedRoleNotFoundFault":
|
|
882
|
-
throw await de_ServiceLinkedRoleNotFoundFaultRes(parsedOutput, context);
|
|
883
|
-
case "SnapshotAlreadyExistsFault":
|
|
884
|
-
case "com.amazonaws.memorydb#SnapshotAlreadyExistsFault":
|
|
885
|
-
throw await de_SnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
886
|
-
case "SnapshotNotFoundFault":
|
|
887
|
-
case "com.amazonaws.memorydb#SnapshotNotFoundFault":
|
|
888
|
-
throw await de_SnapshotNotFoundFaultRes(parsedOutput, context);
|
|
889
|
-
case "SnapshotQuotaExceededFault":
|
|
890
|
-
case "com.amazonaws.memorydb#SnapshotQuotaExceededFault":
|
|
891
|
-
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
892
|
-
case "TagQuotaPerResourceExceeded":
|
|
893
|
-
case "com.amazonaws.memorydb#TagQuotaPerResourceExceeded":
|
|
894
|
-
throw await de_TagQuotaPerResourceExceededRes(parsedOutput, context);
|
|
895
|
-
case "ACLAlreadyExistsFault":
|
|
896
|
-
case "com.amazonaws.memorydb#ACLAlreadyExistsFault":
|
|
897
|
-
throw await de_ACLAlreadyExistsFaultRes(parsedOutput, context);
|
|
898
|
-
case "ACLQuotaExceededFault":
|
|
899
|
-
case "com.amazonaws.memorydb#ACLQuotaExceededFault":
|
|
900
|
-
throw await de_ACLQuotaExceededFaultRes(parsedOutput, context);
|
|
901
|
-
case "DefaultUserRequired":
|
|
902
|
-
case "com.amazonaws.memorydb#DefaultUserRequired":
|
|
903
|
-
throw await de_DefaultUserRequiredRes(parsedOutput, context);
|
|
904
|
-
case "DuplicateUserNameFault":
|
|
905
|
-
case "com.amazonaws.memorydb#DuplicateUserNameFault":
|
|
906
|
-
throw await de_DuplicateUserNameFaultRes(parsedOutput, context);
|
|
907
|
-
case "UserNotFoundFault":
|
|
908
|
-
case "com.amazonaws.memorydb#UserNotFoundFault":
|
|
909
|
-
throw await de_UserNotFoundFaultRes(parsedOutput, context);
|
|
910
|
-
case "ACLNotFoundFault":
|
|
911
|
-
case "com.amazonaws.memorydb#ACLNotFoundFault":
|
|
912
|
-
throw await de_ACLNotFoundFaultRes(parsedOutput, context);
|
|
913
|
-
case "ClusterAlreadyExistsFault":
|
|
914
|
-
case "com.amazonaws.memorydb#ClusterAlreadyExistsFault":
|
|
915
|
-
throw await de_ClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
916
|
-
case "ClusterQuotaForCustomerExceededFault":
|
|
917
|
-
case "com.amazonaws.memorydb#ClusterQuotaForCustomerExceededFault":
|
|
918
|
-
throw await de_ClusterQuotaForCustomerExceededFaultRes(parsedOutput, context);
|
|
919
|
-
case "InsufficientClusterCapacityFault":
|
|
920
|
-
case "com.amazonaws.memorydb#InsufficientClusterCapacityFault":
|
|
921
|
-
throw await de_InsufficientClusterCapacityFaultRes(parsedOutput, context);
|
|
922
|
-
case "InvalidACLStateFault":
|
|
923
|
-
case "com.amazonaws.memorydb#InvalidACLStateFault":
|
|
924
|
-
throw await de_InvalidACLStateFaultRes(parsedOutput, context);
|
|
925
|
-
case "InvalidCredentialsException":
|
|
926
|
-
case "com.amazonaws.memorydb#InvalidCredentialsException":
|
|
927
|
-
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
928
|
-
case "InvalidMultiRegionClusterStateFault":
|
|
929
|
-
case "com.amazonaws.memorydb#InvalidMultiRegionClusterStateFault":
|
|
930
|
-
throw await de_InvalidMultiRegionClusterStateFaultRes(parsedOutput, context);
|
|
931
|
-
case "InvalidVPCNetworkStateFault":
|
|
932
|
-
case "com.amazonaws.memorydb#InvalidVPCNetworkStateFault":
|
|
933
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
934
|
-
case "MultiRegionClusterNotFoundFault":
|
|
935
|
-
case "com.amazonaws.memorydb#MultiRegionClusterNotFoundFault":
|
|
936
|
-
throw await de_MultiRegionClusterNotFoundFaultRes(parsedOutput, context);
|
|
937
|
-
case "NodeQuotaForClusterExceededFault":
|
|
938
|
-
case "com.amazonaws.memorydb#NodeQuotaForClusterExceededFault":
|
|
939
|
-
throw await de_NodeQuotaForClusterExceededFaultRes(parsedOutput, context);
|
|
940
|
-
case "NodeQuotaForCustomerExceededFault":
|
|
941
|
-
case "com.amazonaws.memorydb#NodeQuotaForCustomerExceededFault":
|
|
942
|
-
throw await de_NodeQuotaForCustomerExceededFaultRes(parsedOutput, context);
|
|
943
|
-
case "ParameterGroupNotFoundFault":
|
|
944
|
-
case "com.amazonaws.memorydb#ParameterGroupNotFoundFault":
|
|
945
|
-
throw await de_ParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
946
|
-
case "ShardsPerClusterQuotaExceededFault":
|
|
947
|
-
case "com.amazonaws.memorydb#ShardsPerClusterQuotaExceededFault":
|
|
948
|
-
throw await de_ShardsPerClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
949
|
-
case "SubnetGroupNotFoundFault":
|
|
950
|
-
case "com.amazonaws.memorydb#SubnetGroupNotFoundFault":
|
|
951
|
-
throw await de_SubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
952
|
-
case "MultiRegionClusterAlreadyExistsFault":
|
|
953
|
-
case "com.amazonaws.memorydb#MultiRegionClusterAlreadyExistsFault":
|
|
954
|
-
throw await de_MultiRegionClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
955
|
-
case "MultiRegionParameterGroupNotFoundFault":
|
|
956
|
-
case "com.amazonaws.memorydb#MultiRegionParameterGroupNotFoundFault":
|
|
957
|
-
throw await de_MultiRegionParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
958
|
-
case "InvalidParameterGroupStateFault":
|
|
959
|
-
case "com.amazonaws.memorydb#InvalidParameterGroupStateFault":
|
|
960
|
-
throw await de_InvalidParameterGroupStateFaultRes(parsedOutput, context);
|
|
961
|
-
case "ParameterGroupAlreadyExistsFault":
|
|
962
|
-
case "com.amazonaws.memorydb#ParameterGroupAlreadyExistsFault":
|
|
963
|
-
throw await de_ParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
964
|
-
case "ParameterGroupQuotaExceededFault":
|
|
965
|
-
case "com.amazonaws.memorydb#ParameterGroupQuotaExceededFault":
|
|
966
|
-
throw await de_ParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
967
|
-
case "ClusterNotFoundFault":
|
|
968
|
-
case "com.amazonaws.memorydb#ClusterNotFoundFault":
|
|
969
|
-
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
970
|
-
case "InvalidClusterStateFault":
|
|
971
|
-
case "com.amazonaws.memorydb#InvalidClusterStateFault":
|
|
972
|
-
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
973
|
-
case "InvalidSubnet":
|
|
974
|
-
case "com.amazonaws.memorydb#InvalidSubnet":
|
|
975
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
976
|
-
case "SubnetGroupAlreadyExistsFault":
|
|
977
|
-
case "com.amazonaws.memorydb#SubnetGroupAlreadyExistsFault":
|
|
978
|
-
throw await de_SubnetGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
979
|
-
case "SubnetGroupQuotaExceededFault":
|
|
980
|
-
case "com.amazonaws.memorydb#SubnetGroupQuotaExceededFault":
|
|
981
|
-
throw await de_SubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
982
|
-
case "SubnetNotAllowedFault":
|
|
983
|
-
case "com.amazonaws.memorydb#SubnetNotAllowedFault":
|
|
984
|
-
throw await de_SubnetNotAllowedFaultRes(parsedOutput, context);
|
|
985
|
-
case "SubnetQuotaExceededFault":
|
|
986
|
-
case "com.amazonaws.memorydb#SubnetQuotaExceededFault":
|
|
987
|
-
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
988
|
-
case "UserAlreadyExistsFault":
|
|
989
|
-
case "com.amazonaws.memorydb#UserAlreadyExistsFault":
|
|
990
|
-
throw await de_UserAlreadyExistsFaultRes(parsedOutput, context);
|
|
991
|
-
case "UserQuotaExceededFault":
|
|
992
|
-
case "com.amazonaws.memorydb#UserQuotaExceededFault":
|
|
993
|
-
throw await de_UserQuotaExceededFaultRes(parsedOutput, context);
|
|
994
|
-
case "SubnetGroupInUseFault":
|
|
995
|
-
case "com.amazonaws.memorydb#SubnetGroupInUseFault":
|
|
996
|
-
throw await de_SubnetGroupInUseFaultRes(parsedOutput, context);
|
|
997
|
-
case "InvalidUserStateFault":
|
|
998
|
-
case "com.amazonaws.memorydb#InvalidUserStateFault":
|
|
999
|
-
throw await de_InvalidUserStateFaultRes(parsedOutput, context);
|
|
1000
|
-
case "ReservedNodeNotFoundFault":
|
|
1001
|
-
case "com.amazonaws.memorydb#ReservedNodeNotFoundFault":
|
|
1002
|
-
throw await de_ReservedNodeNotFoundFaultRes(parsedOutput, context);
|
|
1003
|
-
case "ReservedNodesOfferingNotFoundFault":
|
|
1004
|
-
case "com.amazonaws.memorydb#ReservedNodesOfferingNotFoundFault":
|
|
1005
|
-
throw await de_ReservedNodesOfferingNotFoundFaultRes(parsedOutput, context);
|
|
1006
|
-
case "APICallRateForCustomerExceededFault":
|
|
1007
|
-
case "com.amazonaws.memorydb#APICallRateForCustomerExceededFault":
|
|
1008
|
-
throw await de_APICallRateForCustomerExceededFaultRes(parsedOutput, context);
|
|
1009
|
-
case "InvalidKMSKeyFault":
|
|
1010
|
-
case "com.amazonaws.memorydb#InvalidKMSKeyFault":
|
|
1011
|
-
throw await de_InvalidKMSKeyFaultRes(parsedOutput, context);
|
|
1012
|
-
case "ShardNotFoundFault":
|
|
1013
|
-
case "com.amazonaws.memorydb#ShardNotFoundFault":
|
|
1014
|
-
throw await de_ShardNotFoundFaultRes(parsedOutput, context);
|
|
1015
|
-
case "TestFailoverNotAvailableFault":
|
|
1016
|
-
case "com.amazonaws.memorydb#TestFailoverNotAvailableFault":
|
|
1017
|
-
throw await de_TestFailoverNotAvailableFaultRes(parsedOutput, context);
|
|
1018
|
-
case "InvalidARNFault":
|
|
1019
|
-
case "com.amazonaws.memorydb#InvalidARNFault":
|
|
1020
|
-
throw await de_InvalidARNFaultRes(parsedOutput, context);
|
|
1021
|
-
case "ReservedNodeAlreadyExistsFault":
|
|
1022
|
-
case "com.amazonaws.memorydb#ReservedNodeAlreadyExistsFault":
|
|
1023
|
-
throw await de_ReservedNodeAlreadyExistsFaultRes(parsedOutput, context);
|
|
1024
|
-
case "ReservedNodeQuotaExceededFault":
|
|
1025
|
-
case "com.amazonaws.memorydb#ReservedNodeQuotaExceededFault":
|
|
1026
|
-
throw await de_ReservedNodeQuotaExceededFaultRes(parsedOutput, context);
|
|
1027
|
-
case "TagNotFoundFault":
|
|
1028
|
-
case "com.amazonaws.memorydb#TagNotFoundFault":
|
|
1029
|
-
throw await de_TagNotFoundFaultRes(parsedOutput, context);
|
|
1030
|
-
case "InvalidNodeStateFault":
|
|
1031
|
-
case "com.amazonaws.memorydb#InvalidNodeStateFault":
|
|
1032
|
-
throw await de_InvalidNodeStateFaultRes(parsedOutput, context);
|
|
1033
|
-
case "NoOperationFault":
|
|
1034
|
-
case "com.amazonaws.memorydb#NoOperationFault":
|
|
1035
|
-
throw await de_NoOperationFaultRes(parsedOutput, context);
|
|
1036
|
-
case "SubnetInUse":
|
|
1037
|
-
case "com.amazonaws.memorydb#SubnetInUse":
|
|
1038
|
-
throw await de_SubnetInUseRes(parsedOutput, context);
|
|
1039
|
-
default:
|
|
1040
|
-
const parsedBody = parsedOutput.body;
|
|
1041
|
-
return throwDefaultError({
|
|
1042
|
-
output,
|
|
1043
|
-
parsedBody,
|
|
1044
|
-
errorCode,
|
|
1045
|
-
});
|
|
1046
|
-
}
|
|
1047
|
-
};
|
|
1048
|
-
const de_ACLAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1049
|
-
const body = parsedOutput.body;
|
|
1050
|
-
const deserialized = _json(body);
|
|
1051
|
-
const exception = new ACLAlreadyExistsFault({
|
|
1052
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1053
|
-
...deserialized,
|
|
1054
|
-
});
|
|
1055
|
-
return __decorateServiceException(exception, body);
|
|
1056
|
-
};
|
|
1057
|
-
const de_ACLNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1058
|
-
const body = parsedOutput.body;
|
|
1059
|
-
const deserialized = _json(body);
|
|
1060
|
-
const exception = new ACLNotFoundFault({
|
|
1061
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1062
|
-
...deserialized,
|
|
1063
|
-
});
|
|
1064
|
-
return __decorateServiceException(exception, body);
|
|
1065
|
-
};
|
|
1066
|
-
const de_ACLQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1067
|
-
const body = parsedOutput.body;
|
|
1068
|
-
const deserialized = _json(body);
|
|
1069
|
-
const exception = new ACLQuotaExceededFault({
|
|
1070
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1071
|
-
...deserialized,
|
|
1072
|
-
});
|
|
1073
|
-
return __decorateServiceException(exception, body);
|
|
1074
|
-
};
|
|
1075
|
-
const de_APICallRateForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1076
|
-
const body = parsedOutput.body;
|
|
1077
|
-
const deserialized = _json(body);
|
|
1078
|
-
const exception = new APICallRateForCustomerExceededFault({
|
|
1079
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1080
|
-
...deserialized,
|
|
1081
|
-
});
|
|
1082
|
-
return __decorateServiceException(exception, body);
|
|
1083
|
-
};
|
|
1084
|
-
const de_ClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1085
|
-
const body = parsedOutput.body;
|
|
1086
|
-
const deserialized = _json(body);
|
|
1087
|
-
const exception = new ClusterAlreadyExistsFault({
|
|
1088
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1089
|
-
...deserialized,
|
|
1090
|
-
});
|
|
1091
|
-
return __decorateServiceException(exception, body);
|
|
1092
|
-
};
|
|
1093
|
-
const de_ClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1094
|
-
const body = parsedOutput.body;
|
|
1095
|
-
const deserialized = _json(body);
|
|
1096
|
-
const exception = new ClusterNotFoundFault({
|
|
1097
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
-
...deserialized,
|
|
1099
|
-
});
|
|
1100
|
-
return __decorateServiceException(exception, body);
|
|
1101
|
-
};
|
|
1102
|
-
const de_ClusterQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1103
|
-
const body = parsedOutput.body;
|
|
1104
|
-
const deserialized = _json(body);
|
|
1105
|
-
const exception = new ClusterQuotaForCustomerExceededFault({
|
|
1106
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1107
|
-
...deserialized,
|
|
1108
|
-
});
|
|
1109
|
-
return __decorateServiceException(exception, body);
|
|
1110
|
-
};
|
|
1111
|
-
const de_DefaultUserRequiredRes = async (parsedOutput, context) => {
|
|
1112
|
-
const body = parsedOutput.body;
|
|
1113
|
-
const deserialized = _json(body);
|
|
1114
|
-
const exception = new DefaultUserRequired({
|
|
1115
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1116
|
-
...deserialized,
|
|
1117
|
-
});
|
|
1118
|
-
return __decorateServiceException(exception, body);
|
|
1119
|
-
};
|
|
1120
|
-
const de_DuplicateUserNameFaultRes = async (parsedOutput, context) => {
|
|
1121
|
-
const body = parsedOutput.body;
|
|
1122
|
-
const deserialized = _json(body);
|
|
1123
|
-
const exception = new DuplicateUserNameFault({
|
|
1124
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
-
...deserialized,
|
|
1126
|
-
});
|
|
1127
|
-
return __decorateServiceException(exception, body);
|
|
1128
|
-
};
|
|
1129
|
-
const de_InsufficientClusterCapacityFaultRes = async (parsedOutput, context) => {
|
|
1130
|
-
const body = parsedOutput.body;
|
|
1131
|
-
const deserialized = _json(body);
|
|
1132
|
-
const exception = new InsufficientClusterCapacityFault({
|
|
1133
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1134
|
-
...deserialized,
|
|
1135
|
-
});
|
|
1136
|
-
return __decorateServiceException(exception, body);
|
|
1137
|
-
};
|
|
1138
|
-
const de_InvalidACLStateFaultRes = async (parsedOutput, context) => {
|
|
1139
|
-
const body = parsedOutput.body;
|
|
1140
|
-
const deserialized = _json(body);
|
|
1141
|
-
const exception = new InvalidACLStateFault({
|
|
1142
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1143
|
-
...deserialized,
|
|
1144
|
-
});
|
|
1145
|
-
return __decorateServiceException(exception, body);
|
|
1146
|
-
};
|
|
1147
|
-
const de_InvalidARNFaultRes = async (parsedOutput, context) => {
|
|
1148
|
-
const body = parsedOutput.body;
|
|
1149
|
-
const deserialized = _json(body);
|
|
1150
|
-
const exception = new InvalidARNFault({
|
|
1151
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1152
|
-
...deserialized,
|
|
1153
|
-
});
|
|
1154
|
-
return __decorateServiceException(exception, body);
|
|
1155
|
-
};
|
|
1156
|
-
const de_InvalidClusterStateFaultRes = async (parsedOutput, context) => {
|
|
1157
|
-
const body = parsedOutput.body;
|
|
1158
|
-
const deserialized = _json(body);
|
|
1159
|
-
const exception = new InvalidClusterStateFault({
|
|
1160
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1161
|
-
...deserialized,
|
|
1162
|
-
});
|
|
1163
|
-
return __decorateServiceException(exception, body);
|
|
1164
|
-
};
|
|
1165
|
-
const de_InvalidCredentialsExceptionRes = async (parsedOutput, context) => {
|
|
1166
|
-
const body = parsedOutput.body;
|
|
1167
|
-
const deserialized = _json(body);
|
|
1168
|
-
const exception = new InvalidCredentialsException({
|
|
1169
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1170
|
-
...deserialized,
|
|
1171
|
-
});
|
|
1172
|
-
return __decorateServiceException(exception, body);
|
|
1173
|
-
};
|
|
1174
|
-
const de_InvalidKMSKeyFaultRes = async (parsedOutput, context) => {
|
|
1175
|
-
const body = parsedOutput.body;
|
|
1176
|
-
const deserialized = _json(body);
|
|
1177
|
-
const exception = new InvalidKMSKeyFault({
|
|
1178
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1179
|
-
...deserialized,
|
|
1180
|
-
});
|
|
1181
|
-
return __decorateServiceException(exception, body);
|
|
1182
|
-
};
|
|
1183
|
-
const de_InvalidMultiRegionClusterStateFaultRes = async (parsedOutput, context) => {
|
|
1184
|
-
const body = parsedOutput.body;
|
|
1185
|
-
const deserialized = _json(body);
|
|
1186
|
-
const exception = new InvalidMultiRegionClusterStateFault({
|
|
1187
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1188
|
-
...deserialized,
|
|
1189
|
-
});
|
|
1190
|
-
return __decorateServiceException(exception, body);
|
|
1191
|
-
};
|
|
1192
|
-
const de_InvalidNodeStateFaultRes = async (parsedOutput, context) => {
|
|
1193
|
-
const body = parsedOutput.body;
|
|
1194
|
-
const deserialized = _json(body);
|
|
1195
|
-
const exception = new InvalidNodeStateFault({
|
|
1196
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1197
|
-
...deserialized,
|
|
1198
|
-
});
|
|
1199
|
-
return __decorateServiceException(exception, body);
|
|
1200
|
-
};
|
|
1201
|
-
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1202
|
-
const body = parsedOutput.body;
|
|
1203
|
-
const deserialized = _json(body);
|
|
1204
|
-
const exception = new InvalidParameterCombinationException({
|
|
1205
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1206
|
-
...deserialized,
|
|
1207
|
-
});
|
|
1208
|
-
return __decorateServiceException(exception, body);
|
|
1209
|
-
};
|
|
1210
|
-
const de_InvalidParameterGroupStateFaultRes = async (parsedOutput, context) => {
|
|
1211
|
-
const body = parsedOutput.body;
|
|
1212
|
-
const deserialized = _json(body);
|
|
1213
|
-
const exception = new InvalidParameterGroupStateFault({
|
|
1214
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1215
|
-
...deserialized,
|
|
1216
|
-
});
|
|
1217
|
-
return __decorateServiceException(exception, body);
|
|
1218
|
-
};
|
|
1219
|
-
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1220
|
-
const body = parsedOutput.body;
|
|
1221
|
-
const deserialized = _json(body);
|
|
1222
|
-
const exception = new InvalidParameterValueException({
|
|
1223
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1224
|
-
...deserialized,
|
|
1225
|
-
});
|
|
1226
|
-
return __decorateServiceException(exception, body);
|
|
1227
|
-
};
|
|
1228
|
-
const de_InvalidSnapshotStateFaultRes = async (parsedOutput, context) => {
|
|
1229
|
-
const body = parsedOutput.body;
|
|
1230
|
-
const deserialized = _json(body);
|
|
1231
|
-
const exception = new InvalidSnapshotStateFault({
|
|
1232
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1233
|
-
...deserialized,
|
|
1234
|
-
});
|
|
1235
|
-
return __decorateServiceException(exception, body);
|
|
1236
|
-
};
|
|
1237
|
-
const de_InvalidSubnetRes = async (parsedOutput, context) => {
|
|
1238
|
-
const body = parsedOutput.body;
|
|
1239
|
-
const deserialized = _json(body);
|
|
1240
|
-
const exception = new InvalidSubnet({
|
|
1241
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1242
|
-
...deserialized,
|
|
1243
|
-
});
|
|
1244
|
-
return __decorateServiceException(exception, body);
|
|
1245
|
-
};
|
|
1246
|
-
const de_InvalidUserStateFaultRes = async (parsedOutput, context) => {
|
|
1247
|
-
const body = parsedOutput.body;
|
|
1248
|
-
const deserialized = _json(body);
|
|
1249
|
-
const exception = new InvalidUserStateFault({
|
|
1250
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1251
|
-
...deserialized,
|
|
1252
|
-
});
|
|
1253
|
-
return __decorateServiceException(exception, body);
|
|
1254
|
-
};
|
|
1255
|
-
const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
1256
|
-
const body = parsedOutput.body;
|
|
1257
|
-
const deserialized = _json(body);
|
|
1258
|
-
const exception = new InvalidVPCNetworkStateFault({
|
|
1259
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1260
|
-
...deserialized,
|
|
1261
|
-
});
|
|
1262
|
-
return __decorateServiceException(exception, body);
|
|
1263
|
-
};
|
|
1264
|
-
const de_MultiRegionClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1265
|
-
const body = parsedOutput.body;
|
|
1266
|
-
const deserialized = _json(body);
|
|
1267
|
-
const exception = new MultiRegionClusterAlreadyExistsFault({
|
|
1268
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1269
|
-
...deserialized,
|
|
1270
|
-
});
|
|
1271
|
-
return __decorateServiceException(exception, body);
|
|
1272
|
-
};
|
|
1273
|
-
const de_MultiRegionClusterNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1274
|
-
const body = parsedOutput.body;
|
|
1275
|
-
const deserialized = _json(body);
|
|
1276
|
-
const exception = new MultiRegionClusterNotFoundFault({
|
|
1277
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1278
|
-
...deserialized,
|
|
1279
|
-
});
|
|
1280
|
-
return __decorateServiceException(exception, body);
|
|
1281
|
-
};
|
|
1282
|
-
const de_MultiRegionParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1283
|
-
const body = parsedOutput.body;
|
|
1284
|
-
const deserialized = _json(body);
|
|
1285
|
-
const exception = new MultiRegionParameterGroupNotFoundFault({
|
|
1286
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1287
|
-
...deserialized,
|
|
1288
|
-
});
|
|
1289
|
-
return __decorateServiceException(exception, body);
|
|
1290
|
-
};
|
|
1291
|
-
const de_NodeQuotaForClusterExceededFaultRes = async (parsedOutput, context) => {
|
|
1292
|
-
const body = parsedOutput.body;
|
|
1293
|
-
const deserialized = _json(body);
|
|
1294
|
-
const exception = new NodeQuotaForClusterExceededFault({
|
|
1295
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
|
-
...deserialized,
|
|
1297
|
-
});
|
|
1298
|
-
return __decorateServiceException(exception, body);
|
|
1299
|
-
};
|
|
1300
|
-
const de_NodeQuotaForCustomerExceededFaultRes = async (parsedOutput, context) => {
|
|
1301
|
-
const body = parsedOutput.body;
|
|
1302
|
-
const deserialized = _json(body);
|
|
1303
|
-
const exception = new NodeQuotaForCustomerExceededFault({
|
|
1304
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1305
|
-
...deserialized,
|
|
1306
|
-
});
|
|
1307
|
-
return __decorateServiceException(exception, body);
|
|
1308
|
-
};
|
|
1309
|
-
const de_NoOperationFaultRes = async (parsedOutput, context) => {
|
|
1310
|
-
const body = parsedOutput.body;
|
|
1311
|
-
const deserialized = _json(body);
|
|
1312
|
-
const exception = new NoOperationFault({
|
|
1313
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1314
|
-
...deserialized,
|
|
1315
|
-
});
|
|
1316
|
-
return __decorateServiceException(exception, body);
|
|
1317
|
-
};
|
|
1318
|
-
const de_ParameterGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1319
|
-
const body = parsedOutput.body;
|
|
1320
|
-
const deserialized = _json(body);
|
|
1321
|
-
const exception = new ParameterGroupAlreadyExistsFault({
|
|
1322
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1323
|
-
...deserialized,
|
|
1324
|
-
});
|
|
1325
|
-
return __decorateServiceException(exception, body);
|
|
1326
|
-
};
|
|
1327
|
-
const de_ParameterGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1328
|
-
const body = parsedOutput.body;
|
|
1329
|
-
const deserialized = _json(body);
|
|
1330
|
-
const exception = new ParameterGroupNotFoundFault({
|
|
1331
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1332
|
-
...deserialized,
|
|
1333
|
-
});
|
|
1334
|
-
return __decorateServiceException(exception, body);
|
|
1335
|
-
};
|
|
1336
|
-
const de_ParameterGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1337
|
-
const body = parsedOutput.body;
|
|
1338
|
-
const deserialized = _json(body);
|
|
1339
|
-
const exception = new ParameterGroupQuotaExceededFault({
|
|
1340
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1341
|
-
...deserialized,
|
|
1342
|
-
});
|
|
1343
|
-
return __decorateServiceException(exception, body);
|
|
1344
|
-
};
|
|
1345
|
-
const de_ReservedNodeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1346
|
-
const body = parsedOutput.body;
|
|
1347
|
-
const deserialized = _json(body);
|
|
1348
|
-
const exception = new ReservedNodeAlreadyExistsFault({
|
|
1349
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1350
|
-
...deserialized,
|
|
1351
|
-
});
|
|
1352
|
-
return __decorateServiceException(exception, body);
|
|
1353
|
-
};
|
|
1354
|
-
const de_ReservedNodeNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1355
|
-
const body = parsedOutput.body;
|
|
1356
|
-
const deserialized = _json(body);
|
|
1357
|
-
const exception = new ReservedNodeNotFoundFault({
|
|
1358
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1359
|
-
...deserialized,
|
|
1360
|
-
});
|
|
1361
|
-
return __decorateServiceException(exception, body);
|
|
1362
|
-
};
|
|
1363
|
-
const de_ReservedNodeQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1364
|
-
const body = parsedOutput.body;
|
|
1365
|
-
const deserialized = _json(body);
|
|
1366
|
-
const exception = new ReservedNodeQuotaExceededFault({
|
|
1367
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1368
|
-
...deserialized,
|
|
1369
|
-
});
|
|
1370
|
-
return __decorateServiceException(exception, body);
|
|
1371
|
-
};
|
|
1372
|
-
const de_ReservedNodesOfferingNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1373
|
-
const body = parsedOutput.body;
|
|
1374
|
-
const deserialized = _json(body);
|
|
1375
|
-
const exception = new ReservedNodesOfferingNotFoundFault({
|
|
1376
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1377
|
-
...deserialized,
|
|
1378
|
-
});
|
|
1379
|
-
return __decorateServiceException(exception, body);
|
|
1380
|
-
};
|
|
1381
|
-
const de_ServiceLinkedRoleNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1382
|
-
const body = parsedOutput.body;
|
|
1383
|
-
const deserialized = _json(body);
|
|
1384
|
-
const exception = new ServiceLinkedRoleNotFoundFault({
|
|
1385
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1386
|
-
...deserialized,
|
|
1387
|
-
});
|
|
1388
|
-
return __decorateServiceException(exception, body);
|
|
1389
|
-
};
|
|
1390
|
-
const de_ServiceUpdateNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1391
|
-
const body = parsedOutput.body;
|
|
1392
|
-
const deserialized = _json(body);
|
|
1393
|
-
const exception = new ServiceUpdateNotFoundFault({
|
|
1394
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1395
|
-
...deserialized,
|
|
1396
|
-
});
|
|
1397
|
-
return __decorateServiceException(exception, body);
|
|
1398
|
-
};
|
|
1399
|
-
const de_ShardNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1400
|
-
const body = parsedOutput.body;
|
|
1401
|
-
const deserialized = _json(body);
|
|
1402
|
-
const exception = new ShardNotFoundFault({
|
|
1403
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1404
|
-
...deserialized,
|
|
1405
|
-
});
|
|
1406
|
-
return __decorateServiceException(exception, body);
|
|
1407
|
-
};
|
|
1408
|
-
const de_ShardsPerClusterQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1409
|
-
const body = parsedOutput.body;
|
|
1410
|
-
const deserialized = _json(body);
|
|
1411
|
-
const exception = new ShardsPerClusterQuotaExceededFault({
|
|
1412
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1413
|
-
...deserialized,
|
|
1414
|
-
});
|
|
1415
|
-
return __decorateServiceException(exception, body);
|
|
1416
|
-
};
|
|
1417
|
-
const de_SnapshotAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1418
|
-
const body = parsedOutput.body;
|
|
1419
|
-
const deserialized = _json(body);
|
|
1420
|
-
const exception = new SnapshotAlreadyExistsFault({
|
|
1421
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1422
|
-
...deserialized,
|
|
1423
|
-
});
|
|
1424
|
-
return __decorateServiceException(exception, body);
|
|
1425
|
-
};
|
|
1426
|
-
const de_SnapshotNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1427
|
-
const body = parsedOutput.body;
|
|
1428
|
-
const deserialized = _json(body);
|
|
1429
|
-
const exception = new SnapshotNotFoundFault({
|
|
1430
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1431
|
-
...deserialized,
|
|
1432
|
-
});
|
|
1433
|
-
return __decorateServiceException(exception, body);
|
|
1434
|
-
};
|
|
1435
|
-
const de_SnapshotQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1436
|
-
const body = parsedOutput.body;
|
|
1437
|
-
const deserialized = _json(body);
|
|
1438
|
-
const exception = new SnapshotQuotaExceededFault({
|
|
1439
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1440
|
-
...deserialized,
|
|
1441
|
-
});
|
|
1442
|
-
return __decorateServiceException(exception, body);
|
|
1443
|
-
};
|
|
1444
|
-
const de_SubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1445
|
-
const body = parsedOutput.body;
|
|
1446
|
-
const deserialized = _json(body);
|
|
1447
|
-
const exception = new SubnetGroupAlreadyExistsFault({
|
|
1448
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1449
|
-
...deserialized,
|
|
1450
|
-
});
|
|
1451
|
-
return __decorateServiceException(exception, body);
|
|
1452
|
-
};
|
|
1453
|
-
const de_SubnetGroupInUseFaultRes = async (parsedOutput, context) => {
|
|
1454
|
-
const body = parsedOutput.body;
|
|
1455
|
-
const deserialized = _json(body);
|
|
1456
|
-
const exception = new SubnetGroupInUseFault({
|
|
1457
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1458
|
-
...deserialized,
|
|
1459
|
-
});
|
|
1460
|
-
return __decorateServiceException(exception, body);
|
|
1461
|
-
};
|
|
1462
|
-
const de_SubnetGroupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1463
|
-
const body = parsedOutput.body;
|
|
1464
|
-
const deserialized = _json(body);
|
|
1465
|
-
const exception = new SubnetGroupNotFoundFault({
|
|
1466
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1467
|
-
...deserialized,
|
|
1468
|
-
});
|
|
1469
|
-
return __decorateServiceException(exception, body);
|
|
1470
|
-
};
|
|
1471
|
-
const de_SubnetGroupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1472
|
-
const body = parsedOutput.body;
|
|
1473
|
-
const deserialized = _json(body);
|
|
1474
|
-
const exception = new SubnetGroupQuotaExceededFault({
|
|
1475
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1476
|
-
...deserialized,
|
|
1477
|
-
});
|
|
1478
|
-
return __decorateServiceException(exception, body);
|
|
1479
|
-
};
|
|
1480
|
-
const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
1481
|
-
const body = parsedOutput.body;
|
|
1482
|
-
const deserialized = _json(body);
|
|
1483
|
-
const exception = new SubnetInUse({
|
|
1484
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1485
|
-
...deserialized,
|
|
1486
|
-
});
|
|
1487
|
-
return __decorateServiceException(exception, body);
|
|
1488
|
-
};
|
|
1489
|
-
const de_SubnetNotAllowedFaultRes = async (parsedOutput, context) => {
|
|
1490
|
-
const body = parsedOutput.body;
|
|
1491
|
-
const deserialized = _json(body);
|
|
1492
|
-
const exception = new SubnetNotAllowedFault({
|
|
1493
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1494
|
-
...deserialized,
|
|
1495
|
-
});
|
|
1496
|
-
return __decorateServiceException(exception, body);
|
|
1497
|
-
};
|
|
1498
|
-
const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1499
|
-
const body = parsedOutput.body;
|
|
1500
|
-
const deserialized = _json(body);
|
|
1501
|
-
const exception = new SubnetQuotaExceededFault({
|
|
1502
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1503
|
-
...deserialized,
|
|
1504
|
-
});
|
|
1505
|
-
return __decorateServiceException(exception, body);
|
|
1506
|
-
};
|
|
1507
|
-
const de_TagNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1508
|
-
const body = parsedOutput.body;
|
|
1509
|
-
const deserialized = _json(body);
|
|
1510
|
-
const exception = new TagNotFoundFault({
|
|
1511
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1512
|
-
...deserialized,
|
|
1513
|
-
});
|
|
1514
|
-
return __decorateServiceException(exception, body);
|
|
1515
|
-
};
|
|
1516
|
-
const de_TagQuotaPerResourceExceededRes = async (parsedOutput, context) => {
|
|
1517
|
-
const body = parsedOutput.body;
|
|
1518
|
-
const deserialized = _json(body);
|
|
1519
|
-
const exception = new TagQuotaPerResourceExceeded({
|
|
1520
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1521
|
-
...deserialized,
|
|
1522
|
-
});
|
|
1523
|
-
return __decorateServiceException(exception, body);
|
|
1524
|
-
};
|
|
1525
|
-
const de_TestFailoverNotAvailableFaultRes = async (parsedOutput, context) => {
|
|
1526
|
-
const body = parsedOutput.body;
|
|
1527
|
-
const deserialized = _json(body);
|
|
1528
|
-
const exception = new TestFailoverNotAvailableFault({
|
|
1529
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1530
|
-
...deserialized,
|
|
1531
|
-
});
|
|
1532
|
-
return __decorateServiceException(exception, body);
|
|
1533
|
-
};
|
|
1534
|
-
const de_UserAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1535
|
-
const body = parsedOutput.body;
|
|
1536
|
-
const deserialized = _json(body);
|
|
1537
|
-
const exception = new UserAlreadyExistsFault({
|
|
1538
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1539
|
-
...deserialized,
|
|
1540
|
-
});
|
|
1541
|
-
return __decorateServiceException(exception, body);
|
|
1542
|
-
};
|
|
1543
|
-
const de_UserNotFoundFaultRes = async (parsedOutput, context) => {
|
|
1544
|
-
const body = parsedOutput.body;
|
|
1545
|
-
const deserialized = _json(body);
|
|
1546
|
-
const exception = new UserNotFoundFault({
|
|
1547
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1548
|
-
...deserialized,
|
|
1549
|
-
});
|
|
1550
|
-
return __decorateServiceException(exception, body);
|
|
1551
|
-
};
|
|
1552
|
-
const de_UserQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
1553
|
-
const body = parsedOutput.body;
|
|
1554
|
-
const deserialized = _json(body);
|
|
1555
|
-
const exception = new UserQuotaExceededFault({
|
|
1556
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1557
|
-
...deserialized,
|
|
1558
|
-
});
|
|
1559
|
-
return __decorateServiceException(exception, body);
|
|
1560
|
-
};
|
|
1561
|
-
const se_DescribeEventsRequest = (input, context) => {
|
|
1562
|
-
return take(input, {
|
|
1563
|
-
Duration: [],
|
|
1564
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
1565
|
-
MaxResults: [],
|
|
1566
|
-
NextToken: [],
|
|
1567
|
-
SourceName: [],
|
|
1568
|
-
SourceType: [],
|
|
1569
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
1570
|
-
});
|
|
1571
|
-
};
|
|
1572
|
-
const de_BatchUpdateClusterResponse = (output, context) => {
|
|
1573
|
-
return take(output, {
|
|
1574
|
-
ProcessedClusters: (_) => de_ClusterList(_, context),
|
|
1575
|
-
UnprocessedClusters: _json,
|
|
1576
|
-
});
|
|
1577
|
-
};
|
|
1578
|
-
const de_Cluster = (output, context) => {
|
|
1579
|
-
return take(output, {
|
|
1580
|
-
ACLName: __expectString,
|
|
1581
|
-
ARN: __expectString,
|
|
1582
|
-
AutoMinorVersionUpgrade: __expectBoolean,
|
|
1583
|
-
AvailabilityMode: __expectString,
|
|
1584
|
-
ClusterEndpoint: _json,
|
|
1585
|
-
DataTiering: __expectString,
|
|
1586
|
-
Description: __expectString,
|
|
1587
|
-
Engine: __expectString,
|
|
1588
|
-
EnginePatchVersion: __expectString,
|
|
1589
|
-
EngineVersion: __expectString,
|
|
1590
|
-
IpDiscovery: __expectString,
|
|
1591
|
-
KmsKeyId: __expectString,
|
|
1592
|
-
MaintenanceWindow: __expectString,
|
|
1593
|
-
MultiRegionClusterName: __expectString,
|
|
1594
|
-
Name: __expectString,
|
|
1595
|
-
NetworkType: __expectString,
|
|
1596
|
-
NodeType: __expectString,
|
|
1597
|
-
NumberOfShards: __expectInt32,
|
|
1598
|
-
ParameterGroupName: __expectString,
|
|
1599
|
-
ParameterGroupStatus: __expectString,
|
|
1600
|
-
PendingUpdates: (_) => de_ClusterPendingUpdates(_, context),
|
|
1601
|
-
SecurityGroups: _json,
|
|
1602
|
-
Shards: (_) => de_ShardList(_, context),
|
|
1603
|
-
SnapshotRetentionLimit: __expectInt32,
|
|
1604
|
-
SnapshotWindow: __expectString,
|
|
1605
|
-
SnsTopicArn: __expectString,
|
|
1606
|
-
SnsTopicStatus: __expectString,
|
|
1607
|
-
Status: __expectString,
|
|
1608
|
-
SubnetGroupName: __expectString,
|
|
1609
|
-
TLSEnabled: __expectBoolean,
|
|
1610
|
-
});
|
|
1611
|
-
};
|
|
1612
|
-
const de_ClusterConfiguration = (output, context) => {
|
|
1613
|
-
return take(output, {
|
|
1614
|
-
Description: __expectString,
|
|
1615
|
-
Engine: __expectString,
|
|
1616
|
-
EngineVersion: __expectString,
|
|
1617
|
-
MaintenanceWindow: __expectString,
|
|
1618
|
-
MultiRegionClusterName: __expectString,
|
|
1619
|
-
MultiRegionParameterGroupName: __expectString,
|
|
1620
|
-
Name: __expectString,
|
|
1621
|
-
NodeType: __expectString,
|
|
1622
|
-
NumShards: __expectInt32,
|
|
1623
|
-
ParameterGroupName: __expectString,
|
|
1624
|
-
Port: __expectInt32,
|
|
1625
|
-
Shards: (_) => de_ShardDetails(_, context),
|
|
1626
|
-
SnapshotRetentionLimit: __expectInt32,
|
|
1627
|
-
SnapshotWindow: __expectString,
|
|
1628
|
-
SubnetGroupName: __expectString,
|
|
1629
|
-
TopicArn: __expectString,
|
|
1630
|
-
VpcId: __expectString,
|
|
1631
|
-
});
|
|
1632
|
-
};
|
|
1633
|
-
const de_ClusterList = (output, context) => {
|
|
1634
|
-
const retVal = (output || [])
|
|
1635
|
-
.filter((e) => e != null)
|
|
1636
|
-
.map((entry) => {
|
|
1637
|
-
return de_Cluster(entry, context);
|
|
1638
|
-
});
|
|
1639
|
-
return retVal;
|
|
1640
|
-
};
|
|
1641
|
-
const de_ClusterPendingUpdates = (output, context) => {
|
|
1642
|
-
return take(output, {
|
|
1643
|
-
ACLs: _json,
|
|
1644
|
-
Resharding: (_) => de_ReshardingStatus(_, context),
|
|
1645
|
-
ServiceUpdates: _json,
|
|
1646
|
-
});
|
|
1647
|
-
};
|
|
1648
|
-
const de_CopySnapshotResponse = (output, context) => {
|
|
1649
|
-
return take(output, {
|
|
1650
|
-
Snapshot: (_) => de_Snapshot(_, context),
|
|
1651
|
-
});
|
|
1652
|
-
};
|
|
1653
|
-
const de_CreateClusterResponse = (output, context) => {
|
|
1654
|
-
return take(output, {
|
|
1655
|
-
Cluster: (_) => de_Cluster(_, context),
|
|
1656
|
-
});
|
|
1657
|
-
};
|
|
1658
|
-
const de_CreateSnapshotResponse = (output, context) => {
|
|
1659
|
-
return take(output, {
|
|
1660
|
-
Snapshot: (_) => de_Snapshot(_, context),
|
|
1661
|
-
});
|
|
1662
|
-
};
|
|
1663
|
-
const de_DeleteClusterResponse = (output, context) => {
|
|
1664
|
-
return take(output, {
|
|
1665
|
-
Cluster: (_) => de_Cluster(_, context),
|
|
1666
|
-
});
|
|
1667
|
-
};
|
|
1668
|
-
const de_DeleteSnapshotResponse = (output, context) => {
|
|
1669
|
-
return take(output, {
|
|
1670
|
-
Snapshot: (_) => de_Snapshot(_, context),
|
|
1671
|
-
});
|
|
1672
|
-
};
|
|
1673
|
-
const de_DescribeClustersResponse = (output, context) => {
|
|
1674
|
-
return take(output, {
|
|
1675
|
-
Clusters: (_) => de_ClusterList(_, context),
|
|
1676
|
-
NextToken: __expectString,
|
|
1677
|
-
});
|
|
1678
|
-
};
|
|
1679
|
-
const de_DescribeEventsResponse = (output, context) => {
|
|
1680
|
-
return take(output, {
|
|
1681
|
-
Events: (_) => de_EventList(_, context),
|
|
1682
|
-
NextToken: __expectString,
|
|
1683
|
-
});
|
|
1684
|
-
};
|
|
1685
|
-
const de_DescribeReservedNodesOfferingsResponse = (output, context) => {
|
|
1686
|
-
return take(output, {
|
|
1687
|
-
NextToken: __expectString,
|
|
1688
|
-
ReservedNodesOfferings: (_) => de_ReservedNodesOfferingList(_, context),
|
|
1689
|
-
});
|
|
1690
|
-
};
|
|
1691
|
-
const de_DescribeReservedNodesResponse = (output, context) => {
|
|
1692
|
-
return take(output, {
|
|
1693
|
-
NextToken: __expectString,
|
|
1694
|
-
ReservedNodes: (_) => de_ReservedNodeList(_, context),
|
|
1695
|
-
});
|
|
1696
|
-
};
|
|
1697
|
-
const de_DescribeServiceUpdatesResponse = (output, context) => {
|
|
1698
|
-
return take(output, {
|
|
1699
|
-
NextToken: __expectString,
|
|
1700
|
-
ServiceUpdates: (_) => de_ServiceUpdateList(_, context),
|
|
1701
|
-
});
|
|
1702
|
-
};
|
|
1703
|
-
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
1704
|
-
return take(output, {
|
|
1705
|
-
NextToken: __expectString,
|
|
1706
|
-
Snapshots: (_) => de_SnapshotList(_, context),
|
|
1707
|
-
});
|
|
1708
|
-
};
|
|
1709
|
-
const de_Event = (output, context) => {
|
|
1710
|
-
return take(output, {
|
|
1711
|
-
Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1712
|
-
Message: __expectString,
|
|
1713
|
-
SourceName: __expectString,
|
|
1714
|
-
SourceType: __expectString,
|
|
1715
|
-
});
|
|
1716
|
-
};
|
|
1717
|
-
const de_EventList = (output, context) => {
|
|
1718
|
-
const retVal = (output || [])
|
|
1719
|
-
.filter((e) => e != null)
|
|
1720
|
-
.map((entry) => {
|
|
1721
|
-
return de_Event(entry, context);
|
|
1722
|
-
});
|
|
1723
|
-
return retVal;
|
|
1724
|
-
};
|
|
1725
|
-
const de_FailoverShardResponse = (output, context) => {
|
|
1726
|
-
return take(output, {
|
|
1727
|
-
Cluster: (_) => de_Cluster(_, context),
|
|
1728
|
-
});
|
|
1729
|
-
};
|
|
1730
|
-
const de_Node = (output, context) => {
|
|
1731
|
-
return take(output, {
|
|
1732
|
-
AvailabilityZone: __expectString,
|
|
1733
|
-
CreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1734
|
-
Endpoint: _json,
|
|
1735
|
-
Name: __expectString,
|
|
1736
|
-
Status: __expectString,
|
|
1737
|
-
});
|
|
1738
|
-
};
|
|
1739
|
-
const de_NodeList = (output, context) => {
|
|
1740
|
-
const retVal = (output || [])
|
|
1741
|
-
.filter((e) => e != null)
|
|
1742
|
-
.map((entry) => {
|
|
1743
|
-
return de_Node(entry, context);
|
|
1744
|
-
});
|
|
1745
|
-
return retVal;
|
|
1746
|
-
};
|
|
1747
|
-
const de_PurchaseReservedNodesOfferingResponse = (output, context) => {
|
|
1748
|
-
return take(output, {
|
|
1749
|
-
ReservedNode: (_) => de_ReservedNode(_, context),
|
|
1750
|
-
});
|
|
1751
|
-
};
|
|
1752
|
-
const de_RecurringCharge = (output, context) => {
|
|
1753
|
-
return take(output, {
|
|
1754
|
-
RecurringChargeAmount: __limitedParseDouble,
|
|
1755
|
-
RecurringChargeFrequency: __expectString,
|
|
1756
|
-
});
|
|
1757
|
-
};
|
|
1758
|
-
const de_RecurringChargeList = (output, context) => {
|
|
1759
|
-
const retVal = (output || [])
|
|
1760
|
-
.filter((e) => e != null)
|
|
1761
|
-
.map((entry) => {
|
|
1762
|
-
return de_RecurringCharge(entry, context);
|
|
1763
|
-
});
|
|
1764
|
-
return retVal;
|
|
1765
|
-
};
|
|
1766
|
-
const de_ReservedNode = (output, context) => {
|
|
1767
|
-
return take(output, {
|
|
1768
|
-
ARN: __expectString,
|
|
1769
|
-
Duration: __expectInt32,
|
|
1770
|
-
FixedPrice: __limitedParseDouble,
|
|
1771
|
-
NodeCount: __expectInt32,
|
|
1772
|
-
NodeType: __expectString,
|
|
1773
|
-
OfferingType: __expectString,
|
|
1774
|
-
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
1775
|
-
ReservationId: __expectString,
|
|
1776
|
-
ReservedNodesOfferingId: __expectString,
|
|
1777
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1778
|
-
State: __expectString,
|
|
1779
|
-
});
|
|
1780
|
-
};
|
|
1781
|
-
const de_ReservedNodeList = (output, context) => {
|
|
1782
|
-
const retVal = (output || [])
|
|
1783
|
-
.filter((e) => e != null)
|
|
1784
|
-
.map((entry) => {
|
|
1785
|
-
return de_ReservedNode(entry, context);
|
|
1786
|
-
});
|
|
1787
|
-
return retVal;
|
|
1788
|
-
};
|
|
1789
|
-
const de_ReservedNodesOffering = (output, context) => {
|
|
1790
|
-
return take(output, {
|
|
1791
|
-
Duration: __expectInt32,
|
|
1792
|
-
FixedPrice: __limitedParseDouble,
|
|
1793
|
-
NodeType: __expectString,
|
|
1794
|
-
OfferingType: __expectString,
|
|
1795
|
-
RecurringCharges: (_) => de_RecurringChargeList(_, context),
|
|
1796
|
-
ReservedNodesOfferingId: __expectString,
|
|
1797
|
-
});
|
|
1798
|
-
};
|
|
1799
|
-
const de_ReservedNodesOfferingList = (output, context) => {
|
|
1800
|
-
const retVal = (output || [])
|
|
1801
|
-
.filter((e) => e != null)
|
|
1802
|
-
.map((entry) => {
|
|
1803
|
-
return de_ReservedNodesOffering(entry, context);
|
|
1804
|
-
});
|
|
1805
|
-
return retVal;
|
|
1806
|
-
};
|
|
1807
|
-
const de_ReshardingStatus = (output, context) => {
|
|
1808
|
-
return take(output, {
|
|
1809
|
-
SlotMigration: (_) => de_SlotMigration(_, context),
|
|
1810
|
-
});
|
|
1811
|
-
};
|
|
1812
|
-
const de_ServiceUpdate = (output, context) => {
|
|
1813
|
-
return take(output, {
|
|
1814
|
-
AutoUpdateStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1815
|
-
ClusterName: __expectString,
|
|
1816
|
-
Description: __expectString,
|
|
1817
|
-
Engine: __expectString,
|
|
1818
|
-
NodesUpdated: __expectString,
|
|
1819
|
-
ReleaseDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1820
|
-
ServiceUpdateName: __expectString,
|
|
1821
|
-
Status: __expectString,
|
|
1822
|
-
Type: __expectString,
|
|
1823
|
-
});
|
|
1824
|
-
};
|
|
1825
|
-
const de_ServiceUpdateList = (output, context) => {
|
|
1826
|
-
const retVal = (output || [])
|
|
1827
|
-
.filter((e) => e != null)
|
|
1828
|
-
.map((entry) => {
|
|
1829
|
-
return de_ServiceUpdate(entry, context);
|
|
1830
|
-
});
|
|
1831
|
-
return retVal;
|
|
1832
|
-
};
|
|
1833
|
-
const de_Shard = (output, context) => {
|
|
1834
|
-
return take(output, {
|
|
1835
|
-
Name: __expectString,
|
|
1836
|
-
Nodes: (_) => de_NodeList(_, context),
|
|
1837
|
-
NumberOfNodes: __expectInt32,
|
|
1838
|
-
Slots: __expectString,
|
|
1839
|
-
Status: __expectString,
|
|
1840
|
-
});
|
|
1841
|
-
};
|
|
1842
|
-
const de_ShardDetail = (output, context) => {
|
|
1843
|
-
return take(output, {
|
|
1844
|
-
Configuration: _json,
|
|
1845
|
-
Name: __expectString,
|
|
1846
|
-
Size: __expectString,
|
|
1847
|
-
SnapshotCreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1848
|
-
});
|
|
1849
|
-
};
|
|
1850
|
-
const de_ShardDetails = (output, context) => {
|
|
1851
|
-
const retVal = (output || [])
|
|
1852
|
-
.filter((e) => e != null)
|
|
1853
|
-
.map((entry) => {
|
|
1854
|
-
return de_ShardDetail(entry, context);
|
|
1855
|
-
});
|
|
1856
|
-
return retVal;
|
|
1857
|
-
};
|
|
1858
|
-
const de_ShardList = (output, context) => {
|
|
1859
|
-
const retVal = (output || [])
|
|
1860
|
-
.filter((e) => e != null)
|
|
1861
|
-
.map((entry) => {
|
|
1862
|
-
return de_Shard(entry, context);
|
|
1863
|
-
});
|
|
1864
|
-
return retVal;
|
|
1865
|
-
};
|
|
1866
|
-
const de_SlotMigration = (output, context) => {
|
|
1867
|
-
return take(output, {
|
|
1868
|
-
ProgressPercentage: __limitedParseDouble,
|
|
1869
|
-
});
|
|
1870
|
-
};
|
|
1871
|
-
const de_Snapshot = (output, context) => {
|
|
1872
|
-
return take(output, {
|
|
1873
|
-
ARN: __expectString,
|
|
1874
|
-
ClusterConfiguration: (_) => de_ClusterConfiguration(_, context),
|
|
1875
|
-
DataTiering: __expectString,
|
|
1876
|
-
KmsKeyId: __expectString,
|
|
1877
|
-
Name: __expectString,
|
|
1878
|
-
Source: __expectString,
|
|
1879
|
-
Status: __expectString,
|
|
1880
|
-
});
|
|
1881
|
-
};
|
|
1882
|
-
const de_SnapshotList = (output, context) => {
|
|
1883
|
-
const retVal = (output || [])
|
|
1884
|
-
.filter((e) => e != null)
|
|
1885
|
-
.map((entry) => {
|
|
1886
|
-
return de_Snapshot(entry, context);
|
|
1887
|
-
});
|
|
1888
|
-
return retVal;
|
|
1889
|
-
};
|
|
1890
|
-
const de_UpdateClusterResponse = (output, context) => {
|
|
1891
|
-
return take(output, {
|
|
1892
|
-
Cluster: (_) => de_Cluster(_, context),
|
|
1893
|
-
});
|
|
1894
|
-
};
|
|
1895
|
-
const deserializeMetadata = (output) => ({
|
|
1896
|
-
httpStatusCode: output.statusCode,
|
|
1897
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1898
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1899
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1900
|
-
});
|
|
1901
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1902
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1903
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1904
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1905
|
-
const contents = {
|
|
1906
|
-
protocol,
|
|
1907
|
-
hostname,
|
|
1908
|
-
port,
|
|
1909
|
-
method: "POST",
|
|
1910
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1911
|
-
headers,
|
|
1912
|
-
};
|
|
1913
|
-
if (resolvedHostname !== undefined) {
|
|
1914
|
-
contents.hostname = resolvedHostname;
|
|
1915
|
-
}
|
|
1916
|
-
if (body !== undefined) {
|
|
1917
|
-
contents.body = body;
|
|
1918
|
-
}
|
|
1919
|
-
return new __HttpRequest(contents);
|
|
1920
|
-
};
|
|
1921
|
-
function sharedHeaders(operation) {
|
|
1922
|
-
return {
|
|
1923
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1924
|
-
"x-amz-target": `AmazonMemoryDB.${operation}`,
|
|
1925
|
-
};
|
|
1926
|
-
}
|