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