@aws-sdk/client-elasticache 3.309.0 → 3.312.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_query.js +68 -195
- package/dist-es/protocols/Aws_query.js +68 -195
- package/package.json +36 -36
|
@@ -4,9 +4,7 @@ import { XMLParser } from "fast-xml-parser";
|
|
|
4
4
|
import { ElastiCacheServiceException as __BaseException } from "../models/ElastiCacheServiceException";
|
|
5
5
|
import { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault, } from "../models/models_0";
|
|
6
6
|
export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
9
|
-
};
|
|
7
|
+
const headers = SHARED_HEADERS;
|
|
10
8
|
let body;
|
|
11
9
|
body = buildFormUrlencodedString({
|
|
12
10
|
...se_AddTagsToResourceMessage(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_AuthorizeCacheSecurityGroupIngressCommand = async (input, context) => {
|
|
19
|
-
const headers =
|
|
20
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
21
|
-
};
|
|
17
|
+
const headers = SHARED_HEADERS;
|
|
22
18
|
let body;
|
|
23
19
|
body = buildFormUrlencodedString({
|
|
24
20
|
...se_AuthorizeCacheSecurityGroupIngressMessage(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_AuthorizeCacheSecurityGroupIngressCommand = async (input, contex
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_BatchApplyUpdateActionCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
33
|
-
};
|
|
27
|
+
const headers = SHARED_HEADERS;
|
|
34
28
|
let body;
|
|
35
29
|
body = buildFormUrlencodedString({
|
|
36
30
|
...se_BatchApplyUpdateActionMessage(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_BatchApplyUpdateActionCommand = async (input, context) => {
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_BatchStopUpdateActionCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
45
|
-
};
|
|
37
|
+
const headers = SHARED_HEADERS;
|
|
46
38
|
let body;
|
|
47
39
|
body = buildFormUrlencodedString({
|
|
48
40
|
...se_BatchStopUpdateActionMessage(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_BatchStopUpdateActionCommand = async (input, context) => {
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_CompleteMigrationCommand = async (input, context) => {
|
|
55
|
-
const headers =
|
|
56
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
57
|
-
};
|
|
47
|
+
const headers = SHARED_HEADERS;
|
|
58
48
|
let body;
|
|
59
49
|
body = buildFormUrlencodedString({
|
|
60
50
|
...se_CompleteMigrationMessage(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_CompleteMigrationCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_CopySnapshotCommand = async (input, context) => {
|
|
67
|
-
const headers =
|
|
68
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
69
|
-
};
|
|
57
|
+
const headers = SHARED_HEADERS;
|
|
70
58
|
let body;
|
|
71
59
|
body = buildFormUrlencodedString({
|
|
72
60
|
...se_CopySnapshotMessage(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_CopySnapshotCommand = async (input, context) => {
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_CreateCacheClusterCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
81
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
82
68
|
let body;
|
|
83
69
|
body = buildFormUrlencodedString({
|
|
84
70
|
...se_CreateCacheClusterMessage(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_CreateCacheClusterCommand = async (input, context) => {
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_CreateCacheParameterGroupCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
93
|
-
};
|
|
77
|
+
const headers = SHARED_HEADERS;
|
|
94
78
|
let body;
|
|
95
79
|
body = buildFormUrlencodedString({
|
|
96
80
|
...se_CreateCacheParameterGroupMessage(input, context),
|
|
@@ -100,9 +84,7 @@ export const se_CreateCacheParameterGroupCommand = async (input, context) => {
|
|
|
100
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
85
|
};
|
|
102
86
|
export const se_CreateCacheSecurityGroupCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
105
|
-
};
|
|
87
|
+
const headers = SHARED_HEADERS;
|
|
106
88
|
let body;
|
|
107
89
|
body = buildFormUrlencodedString({
|
|
108
90
|
...se_CreateCacheSecurityGroupMessage(input, context),
|
|
@@ -112,9 +94,7 @@ export const se_CreateCacheSecurityGroupCommand = async (input, context) => {
|
|
|
112
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
95
|
};
|
|
114
96
|
export const se_CreateCacheSubnetGroupCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
117
|
-
};
|
|
97
|
+
const headers = SHARED_HEADERS;
|
|
118
98
|
let body;
|
|
119
99
|
body = buildFormUrlencodedString({
|
|
120
100
|
...se_CreateCacheSubnetGroupMessage(input, context),
|
|
@@ -124,9 +104,7 @@ export const se_CreateCacheSubnetGroupCommand = async (input, context) => {
|
|
|
124
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
105
|
};
|
|
126
106
|
export const se_CreateGlobalReplicationGroupCommand = async (input, context) => {
|
|
127
|
-
const headers =
|
|
128
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
129
|
-
};
|
|
107
|
+
const headers = SHARED_HEADERS;
|
|
130
108
|
let body;
|
|
131
109
|
body = buildFormUrlencodedString({
|
|
132
110
|
...se_CreateGlobalReplicationGroupMessage(input, context),
|
|
@@ -136,9 +114,7 @@ export const se_CreateGlobalReplicationGroupCommand = async (input, context) =>
|
|
|
136
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
115
|
};
|
|
138
116
|
export const se_CreateReplicationGroupCommand = async (input, context) => {
|
|
139
|
-
const headers =
|
|
140
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
141
|
-
};
|
|
117
|
+
const headers = SHARED_HEADERS;
|
|
142
118
|
let body;
|
|
143
119
|
body = buildFormUrlencodedString({
|
|
144
120
|
...se_CreateReplicationGroupMessage(input, context),
|
|
@@ -148,9 +124,7 @@ export const se_CreateReplicationGroupCommand = async (input, context) => {
|
|
|
148
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
125
|
};
|
|
150
126
|
export const se_CreateSnapshotCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
153
|
-
};
|
|
127
|
+
const headers = SHARED_HEADERS;
|
|
154
128
|
let body;
|
|
155
129
|
body = buildFormUrlencodedString({
|
|
156
130
|
...se_CreateSnapshotMessage(input, context),
|
|
@@ -160,9 +134,7 @@ export const se_CreateSnapshotCommand = async (input, context) => {
|
|
|
160
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
135
|
};
|
|
162
136
|
export const se_CreateUserCommand = async (input, context) => {
|
|
163
|
-
const headers =
|
|
164
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
165
|
-
};
|
|
137
|
+
const headers = SHARED_HEADERS;
|
|
166
138
|
let body;
|
|
167
139
|
body = buildFormUrlencodedString({
|
|
168
140
|
...se_CreateUserMessage(input, context),
|
|
@@ -172,9 +144,7 @@ export const se_CreateUserCommand = async (input, context) => {
|
|
|
172
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
145
|
};
|
|
174
146
|
export const se_CreateUserGroupCommand = async (input, context) => {
|
|
175
|
-
const headers =
|
|
176
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
177
|
-
};
|
|
147
|
+
const headers = SHARED_HEADERS;
|
|
178
148
|
let body;
|
|
179
149
|
body = buildFormUrlencodedString({
|
|
180
150
|
...se_CreateUserGroupMessage(input, context),
|
|
@@ -184,9 +154,7 @@ export const se_CreateUserGroupCommand = async (input, context) => {
|
|
|
184
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
155
|
};
|
|
186
156
|
export const se_DecreaseNodeGroupsInGlobalReplicationGroupCommand = async (input, context) => {
|
|
187
|
-
const headers =
|
|
188
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
189
|
-
};
|
|
157
|
+
const headers = SHARED_HEADERS;
|
|
190
158
|
let body;
|
|
191
159
|
body = buildFormUrlencodedString({
|
|
192
160
|
...se_DecreaseNodeGroupsInGlobalReplicationGroupMessage(input, context),
|
|
@@ -196,9 +164,7 @@ export const se_DecreaseNodeGroupsInGlobalReplicationGroupCommand = async (input
|
|
|
196
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
165
|
};
|
|
198
166
|
export const se_DecreaseReplicaCountCommand = async (input, context) => {
|
|
199
|
-
const headers =
|
|
200
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
201
|
-
};
|
|
167
|
+
const headers = SHARED_HEADERS;
|
|
202
168
|
let body;
|
|
203
169
|
body = buildFormUrlencodedString({
|
|
204
170
|
...se_DecreaseReplicaCountMessage(input, context),
|
|
@@ -208,9 +174,7 @@ export const se_DecreaseReplicaCountCommand = async (input, context) => {
|
|
|
208
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
175
|
};
|
|
210
176
|
export const se_DeleteCacheClusterCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
213
|
-
};
|
|
177
|
+
const headers = SHARED_HEADERS;
|
|
214
178
|
let body;
|
|
215
179
|
body = buildFormUrlencodedString({
|
|
216
180
|
...se_DeleteCacheClusterMessage(input, context),
|
|
@@ -220,9 +184,7 @@ export const se_DeleteCacheClusterCommand = async (input, context) => {
|
|
|
220
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
185
|
};
|
|
222
186
|
export const se_DeleteCacheParameterGroupCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
225
|
-
};
|
|
187
|
+
const headers = SHARED_HEADERS;
|
|
226
188
|
let body;
|
|
227
189
|
body = buildFormUrlencodedString({
|
|
228
190
|
...se_DeleteCacheParameterGroupMessage(input, context),
|
|
@@ -232,9 +194,7 @@ export const se_DeleteCacheParameterGroupCommand = async (input, context) => {
|
|
|
232
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
195
|
};
|
|
234
196
|
export const se_DeleteCacheSecurityGroupCommand = async (input, context) => {
|
|
235
|
-
const headers =
|
|
236
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
237
|
-
};
|
|
197
|
+
const headers = SHARED_HEADERS;
|
|
238
198
|
let body;
|
|
239
199
|
body = buildFormUrlencodedString({
|
|
240
200
|
...se_DeleteCacheSecurityGroupMessage(input, context),
|
|
@@ -244,9 +204,7 @@ export const se_DeleteCacheSecurityGroupCommand = async (input, context) => {
|
|
|
244
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
205
|
};
|
|
246
206
|
export const se_DeleteCacheSubnetGroupCommand = async (input, context) => {
|
|
247
|
-
const headers =
|
|
248
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
249
|
-
};
|
|
207
|
+
const headers = SHARED_HEADERS;
|
|
250
208
|
let body;
|
|
251
209
|
body = buildFormUrlencodedString({
|
|
252
210
|
...se_DeleteCacheSubnetGroupMessage(input, context),
|
|
@@ -256,9 +214,7 @@ export const se_DeleteCacheSubnetGroupCommand = async (input, context) => {
|
|
|
256
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
215
|
};
|
|
258
216
|
export const se_DeleteGlobalReplicationGroupCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
261
|
-
};
|
|
217
|
+
const headers = SHARED_HEADERS;
|
|
262
218
|
let body;
|
|
263
219
|
body = buildFormUrlencodedString({
|
|
264
220
|
...se_DeleteGlobalReplicationGroupMessage(input, context),
|
|
@@ -268,9 +224,7 @@ export const se_DeleteGlobalReplicationGroupCommand = async (input, context) =>
|
|
|
268
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
225
|
};
|
|
270
226
|
export const se_DeleteReplicationGroupCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
273
|
-
};
|
|
227
|
+
const headers = SHARED_HEADERS;
|
|
274
228
|
let body;
|
|
275
229
|
body = buildFormUrlencodedString({
|
|
276
230
|
...se_DeleteReplicationGroupMessage(input, context),
|
|
@@ -280,9 +234,7 @@ export const se_DeleteReplicationGroupCommand = async (input, context) => {
|
|
|
280
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
235
|
};
|
|
282
236
|
export const se_DeleteSnapshotCommand = async (input, context) => {
|
|
283
|
-
const headers =
|
|
284
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
285
|
-
};
|
|
237
|
+
const headers = SHARED_HEADERS;
|
|
286
238
|
let body;
|
|
287
239
|
body = buildFormUrlencodedString({
|
|
288
240
|
...se_DeleteSnapshotMessage(input, context),
|
|
@@ -292,9 +244,7 @@ export const se_DeleteSnapshotCommand = async (input, context) => {
|
|
|
292
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
245
|
};
|
|
294
246
|
export const se_DeleteUserCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
297
|
-
};
|
|
247
|
+
const headers = SHARED_HEADERS;
|
|
298
248
|
let body;
|
|
299
249
|
body = buildFormUrlencodedString({
|
|
300
250
|
...se_DeleteUserMessage(input, context),
|
|
@@ -304,9 +254,7 @@ export const se_DeleteUserCommand = async (input, context) => {
|
|
|
304
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
255
|
};
|
|
306
256
|
export const se_DeleteUserGroupCommand = async (input, context) => {
|
|
307
|
-
const headers =
|
|
308
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
309
|
-
};
|
|
257
|
+
const headers = SHARED_HEADERS;
|
|
310
258
|
let body;
|
|
311
259
|
body = buildFormUrlencodedString({
|
|
312
260
|
...se_DeleteUserGroupMessage(input, context),
|
|
@@ -316,9 +264,7 @@ export const se_DeleteUserGroupCommand = async (input, context) => {
|
|
|
316
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
265
|
};
|
|
318
266
|
export const se_DescribeCacheClustersCommand = async (input, context) => {
|
|
319
|
-
const headers =
|
|
320
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
321
|
-
};
|
|
267
|
+
const headers = SHARED_HEADERS;
|
|
322
268
|
let body;
|
|
323
269
|
body = buildFormUrlencodedString({
|
|
324
270
|
...se_DescribeCacheClustersMessage(input, context),
|
|
@@ -328,9 +274,7 @@ export const se_DescribeCacheClustersCommand = async (input, context) => {
|
|
|
328
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
275
|
};
|
|
330
276
|
export const se_DescribeCacheEngineVersionsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
333
|
-
};
|
|
277
|
+
const headers = SHARED_HEADERS;
|
|
334
278
|
let body;
|
|
335
279
|
body = buildFormUrlencodedString({
|
|
336
280
|
...se_DescribeCacheEngineVersionsMessage(input, context),
|
|
@@ -340,9 +284,7 @@ export const se_DescribeCacheEngineVersionsCommand = async (input, context) => {
|
|
|
340
284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
285
|
};
|
|
342
286
|
export const se_DescribeCacheParameterGroupsCommand = async (input, context) => {
|
|
343
|
-
const headers =
|
|
344
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
345
|
-
};
|
|
287
|
+
const headers = SHARED_HEADERS;
|
|
346
288
|
let body;
|
|
347
289
|
body = buildFormUrlencodedString({
|
|
348
290
|
...se_DescribeCacheParameterGroupsMessage(input, context),
|
|
@@ -352,9 +294,7 @@ export const se_DescribeCacheParameterGroupsCommand = async (input, context) =>
|
|
|
352
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
295
|
};
|
|
354
296
|
export const se_DescribeCacheParametersCommand = async (input, context) => {
|
|
355
|
-
const headers =
|
|
356
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
357
|
-
};
|
|
297
|
+
const headers = SHARED_HEADERS;
|
|
358
298
|
let body;
|
|
359
299
|
body = buildFormUrlencodedString({
|
|
360
300
|
...se_DescribeCacheParametersMessage(input, context),
|
|
@@ -364,9 +304,7 @@ export const se_DescribeCacheParametersCommand = async (input, context) => {
|
|
|
364
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
305
|
};
|
|
366
306
|
export const se_DescribeCacheSecurityGroupsCommand = async (input, context) => {
|
|
367
|
-
const headers =
|
|
368
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
369
|
-
};
|
|
307
|
+
const headers = SHARED_HEADERS;
|
|
370
308
|
let body;
|
|
371
309
|
body = buildFormUrlencodedString({
|
|
372
310
|
...se_DescribeCacheSecurityGroupsMessage(input, context),
|
|
@@ -376,9 +314,7 @@ export const se_DescribeCacheSecurityGroupsCommand = async (input, context) => {
|
|
|
376
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
315
|
};
|
|
378
316
|
export const se_DescribeCacheSubnetGroupsCommand = async (input, context) => {
|
|
379
|
-
const headers =
|
|
380
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
381
|
-
};
|
|
317
|
+
const headers = SHARED_HEADERS;
|
|
382
318
|
let body;
|
|
383
319
|
body = buildFormUrlencodedString({
|
|
384
320
|
...se_DescribeCacheSubnetGroupsMessage(input, context),
|
|
@@ -388,9 +324,7 @@ export const se_DescribeCacheSubnetGroupsCommand = async (input, context) => {
|
|
|
388
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
325
|
};
|
|
390
326
|
export const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
393
|
-
};
|
|
327
|
+
const headers = SHARED_HEADERS;
|
|
394
328
|
let body;
|
|
395
329
|
body = buildFormUrlencodedString({
|
|
396
330
|
...se_DescribeEngineDefaultParametersMessage(input, context),
|
|
@@ -400,9 +334,7 @@ export const se_DescribeEngineDefaultParametersCommand = async (input, context)
|
|
|
400
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
335
|
};
|
|
402
336
|
export const se_DescribeEventsCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
405
|
-
};
|
|
337
|
+
const headers = SHARED_HEADERS;
|
|
406
338
|
let body;
|
|
407
339
|
body = buildFormUrlencodedString({
|
|
408
340
|
...se_DescribeEventsMessage(input, context),
|
|
@@ -412,9 +344,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
|
|
|
412
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
345
|
};
|
|
414
346
|
export const se_DescribeGlobalReplicationGroupsCommand = async (input, context) => {
|
|
415
|
-
const headers =
|
|
416
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
417
|
-
};
|
|
347
|
+
const headers = SHARED_HEADERS;
|
|
418
348
|
let body;
|
|
419
349
|
body = buildFormUrlencodedString({
|
|
420
350
|
...se_DescribeGlobalReplicationGroupsMessage(input, context),
|
|
@@ -424,9 +354,7 @@ export const se_DescribeGlobalReplicationGroupsCommand = async (input, context)
|
|
|
424
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
355
|
};
|
|
426
356
|
export const se_DescribeReplicationGroupsCommand = async (input, context) => {
|
|
427
|
-
const headers =
|
|
428
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
429
|
-
};
|
|
357
|
+
const headers = SHARED_HEADERS;
|
|
430
358
|
let body;
|
|
431
359
|
body = buildFormUrlencodedString({
|
|
432
360
|
...se_DescribeReplicationGroupsMessage(input, context),
|
|
@@ -436,9 +364,7 @@ export const se_DescribeReplicationGroupsCommand = async (input, context) => {
|
|
|
436
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
365
|
};
|
|
438
366
|
export const se_DescribeReservedCacheNodesCommand = async (input, context) => {
|
|
439
|
-
const headers =
|
|
440
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
441
|
-
};
|
|
367
|
+
const headers = SHARED_HEADERS;
|
|
442
368
|
let body;
|
|
443
369
|
body = buildFormUrlencodedString({
|
|
444
370
|
...se_DescribeReservedCacheNodesMessage(input, context),
|
|
@@ -448,9 +374,7 @@ export const se_DescribeReservedCacheNodesCommand = async (input, context) => {
|
|
|
448
374
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
375
|
};
|
|
450
376
|
export const se_DescribeReservedCacheNodesOfferingsCommand = async (input, context) => {
|
|
451
|
-
const headers =
|
|
452
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
453
|
-
};
|
|
377
|
+
const headers = SHARED_HEADERS;
|
|
454
378
|
let body;
|
|
455
379
|
body = buildFormUrlencodedString({
|
|
456
380
|
...se_DescribeReservedCacheNodesOfferingsMessage(input, context),
|
|
@@ -460,9 +384,7 @@ export const se_DescribeReservedCacheNodesOfferingsCommand = async (input, conte
|
|
|
460
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
385
|
};
|
|
462
386
|
export const se_DescribeServiceUpdatesCommand = async (input, context) => {
|
|
463
|
-
const headers =
|
|
464
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
465
|
-
};
|
|
387
|
+
const headers = SHARED_HEADERS;
|
|
466
388
|
let body;
|
|
467
389
|
body = buildFormUrlencodedString({
|
|
468
390
|
...se_DescribeServiceUpdatesMessage(input, context),
|
|
@@ -472,9 +394,7 @@ export const se_DescribeServiceUpdatesCommand = async (input, context) => {
|
|
|
472
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
395
|
};
|
|
474
396
|
export const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
475
|
-
const headers =
|
|
476
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
477
|
-
};
|
|
397
|
+
const headers = SHARED_HEADERS;
|
|
478
398
|
let body;
|
|
479
399
|
body = buildFormUrlencodedString({
|
|
480
400
|
...se_DescribeSnapshotsMessage(input, context),
|
|
@@ -484,9 +404,7 @@ export const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
|
484
404
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
405
|
};
|
|
486
406
|
export const se_DescribeUpdateActionsCommand = async (input, context) => {
|
|
487
|
-
const headers =
|
|
488
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
489
|
-
};
|
|
407
|
+
const headers = SHARED_HEADERS;
|
|
490
408
|
let body;
|
|
491
409
|
body = buildFormUrlencodedString({
|
|
492
410
|
...se_DescribeUpdateActionsMessage(input, context),
|
|
@@ -496,9 +414,7 @@ export const se_DescribeUpdateActionsCommand = async (input, context) => {
|
|
|
496
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
415
|
};
|
|
498
416
|
export const se_DescribeUserGroupsCommand = async (input, context) => {
|
|
499
|
-
const headers =
|
|
500
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
501
|
-
};
|
|
417
|
+
const headers = SHARED_HEADERS;
|
|
502
418
|
let body;
|
|
503
419
|
body = buildFormUrlencodedString({
|
|
504
420
|
...se_DescribeUserGroupsMessage(input, context),
|
|
@@ -508,9 +424,7 @@ export const se_DescribeUserGroupsCommand = async (input, context) => {
|
|
|
508
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
425
|
};
|
|
510
426
|
export const se_DescribeUsersCommand = async (input, context) => {
|
|
511
|
-
const headers =
|
|
512
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
513
|
-
};
|
|
427
|
+
const headers = SHARED_HEADERS;
|
|
514
428
|
let body;
|
|
515
429
|
body = buildFormUrlencodedString({
|
|
516
430
|
...se_DescribeUsersMessage(input, context),
|
|
@@ -520,9 +434,7 @@ export const se_DescribeUsersCommand = async (input, context) => {
|
|
|
520
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
435
|
};
|
|
522
436
|
export const se_DisassociateGlobalReplicationGroupCommand = async (input, context) => {
|
|
523
|
-
const headers =
|
|
524
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
525
|
-
};
|
|
437
|
+
const headers = SHARED_HEADERS;
|
|
526
438
|
let body;
|
|
527
439
|
body = buildFormUrlencodedString({
|
|
528
440
|
...se_DisassociateGlobalReplicationGroupMessage(input, context),
|
|
@@ -532,9 +444,7 @@ export const se_DisassociateGlobalReplicationGroupCommand = async (input, contex
|
|
|
532
444
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
533
445
|
};
|
|
534
446
|
export const se_FailoverGlobalReplicationGroupCommand = async (input, context) => {
|
|
535
|
-
const headers =
|
|
536
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
537
|
-
};
|
|
447
|
+
const headers = SHARED_HEADERS;
|
|
538
448
|
let body;
|
|
539
449
|
body = buildFormUrlencodedString({
|
|
540
450
|
...se_FailoverGlobalReplicationGroupMessage(input, context),
|
|
@@ -544,9 +454,7 @@ export const se_FailoverGlobalReplicationGroupCommand = async (input, context) =
|
|
|
544
454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
455
|
};
|
|
546
456
|
export const se_IncreaseNodeGroupsInGlobalReplicationGroupCommand = async (input, context) => {
|
|
547
|
-
const headers =
|
|
548
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
549
|
-
};
|
|
457
|
+
const headers = SHARED_HEADERS;
|
|
550
458
|
let body;
|
|
551
459
|
body = buildFormUrlencodedString({
|
|
552
460
|
...se_IncreaseNodeGroupsInGlobalReplicationGroupMessage(input, context),
|
|
@@ -556,9 +464,7 @@ export const se_IncreaseNodeGroupsInGlobalReplicationGroupCommand = async (input
|
|
|
556
464
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
465
|
};
|
|
558
466
|
export const se_IncreaseReplicaCountCommand = async (input, context) => {
|
|
559
|
-
const headers =
|
|
560
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
561
|
-
};
|
|
467
|
+
const headers = SHARED_HEADERS;
|
|
562
468
|
let body;
|
|
563
469
|
body = buildFormUrlencodedString({
|
|
564
470
|
...se_IncreaseReplicaCountMessage(input, context),
|
|
@@ -568,9 +474,7 @@ export const se_IncreaseReplicaCountCommand = async (input, context) => {
|
|
|
568
474
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
475
|
};
|
|
570
476
|
export const se_ListAllowedNodeTypeModificationsCommand = async (input, context) => {
|
|
571
|
-
const headers =
|
|
572
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
573
|
-
};
|
|
477
|
+
const headers = SHARED_HEADERS;
|
|
574
478
|
let body;
|
|
575
479
|
body = buildFormUrlencodedString({
|
|
576
480
|
...se_ListAllowedNodeTypeModificationsMessage(input, context),
|
|
@@ -580,9 +484,7 @@ export const se_ListAllowedNodeTypeModificationsCommand = async (input, context)
|
|
|
580
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
581
485
|
};
|
|
582
486
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
583
|
-
const headers =
|
|
584
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
585
|
-
};
|
|
487
|
+
const headers = SHARED_HEADERS;
|
|
586
488
|
let body;
|
|
587
489
|
body = buildFormUrlencodedString({
|
|
588
490
|
...se_ListTagsForResourceMessage(input, context),
|
|
@@ -592,9 +494,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
592
494
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
593
495
|
};
|
|
594
496
|
export const se_ModifyCacheClusterCommand = async (input, context) => {
|
|
595
|
-
const headers =
|
|
596
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
597
|
-
};
|
|
497
|
+
const headers = SHARED_HEADERS;
|
|
598
498
|
let body;
|
|
599
499
|
body = buildFormUrlencodedString({
|
|
600
500
|
...se_ModifyCacheClusterMessage(input, context),
|
|
@@ -604,9 +504,7 @@ export const se_ModifyCacheClusterCommand = async (input, context) => {
|
|
|
604
504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
505
|
};
|
|
606
506
|
export const se_ModifyCacheParameterGroupCommand = async (input, context) => {
|
|
607
|
-
const headers =
|
|
608
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
609
|
-
};
|
|
507
|
+
const headers = SHARED_HEADERS;
|
|
610
508
|
let body;
|
|
611
509
|
body = buildFormUrlencodedString({
|
|
612
510
|
...se_ModifyCacheParameterGroupMessage(input, context),
|
|
@@ -616,9 +514,7 @@ export const se_ModifyCacheParameterGroupCommand = async (input, context) => {
|
|
|
616
514
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
617
515
|
};
|
|
618
516
|
export const se_ModifyCacheSubnetGroupCommand = async (input, context) => {
|
|
619
|
-
const headers =
|
|
620
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
621
|
-
};
|
|
517
|
+
const headers = SHARED_HEADERS;
|
|
622
518
|
let body;
|
|
623
519
|
body = buildFormUrlencodedString({
|
|
624
520
|
...se_ModifyCacheSubnetGroupMessage(input, context),
|
|
@@ -628,9 +524,7 @@ export const se_ModifyCacheSubnetGroupCommand = async (input, context) => {
|
|
|
628
524
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
525
|
};
|
|
630
526
|
export const se_ModifyGlobalReplicationGroupCommand = async (input, context) => {
|
|
631
|
-
const headers =
|
|
632
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
633
|
-
};
|
|
527
|
+
const headers = SHARED_HEADERS;
|
|
634
528
|
let body;
|
|
635
529
|
body = buildFormUrlencodedString({
|
|
636
530
|
...se_ModifyGlobalReplicationGroupMessage(input, context),
|
|
@@ -640,9 +534,7 @@ export const se_ModifyGlobalReplicationGroupCommand = async (input, context) =>
|
|
|
640
534
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
641
535
|
};
|
|
642
536
|
export const se_ModifyReplicationGroupCommand = async (input, context) => {
|
|
643
|
-
const headers =
|
|
644
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
645
|
-
};
|
|
537
|
+
const headers = SHARED_HEADERS;
|
|
646
538
|
let body;
|
|
647
539
|
body = buildFormUrlencodedString({
|
|
648
540
|
...se_ModifyReplicationGroupMessage(input, context),
|
|
@@ -652,9 +544,7 @@ export const se_ModifyReplicationGroupCommand = async (input, context) => {
|
|
|
652
544
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
653
545
|
};
|
|
654
546
|
export const se_ModifyReplicationGroupShardConfigurationCommand = async (input, context) => {
|
|
655
|
-
const headers =
|
|
656
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
657
|
-
};
|
|
547
|
+
const headers = SHARED_HEADERS;
|
|
658
548
|
let body;
|
|
659
549
|
body = buildFormUrlencodedString({
|
|
660
550
|
...se_ModifyReplicationGroupShardConfigurationMessage(input, context),
|
|
@@ -664,9 +554,7 @@ export const se_ModifyReplicationGroupShardConfigurationCommand = async (input,
|
|
|
664
554
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
665
555
|
};
|
|
666
556
|
export const se_ModifyUserCommand = async (input, context) => {
|
|
667
|
-
const headers =
|
|
668
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
669
|
-
};
|
|
557
|
+
const headers = SHARED_HEADERS;
|
|
670
558
|
let body;
|
|
671
559
|
body = buildFormUrlencodedString({
|
|
672
560
|
...se_ModifyUserMessage(input, context),
|
|
@@ -676,9 +564,7 @@ export const se_ModifyUserCommand = async (input, context) => {
|
|
|
676
564
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
677
565
|
};
|
|
678
566
|
export const se_ModifyUserGroupCommand = async (input, context) => {
|
|
679
|
-
const headers =
|
|
680
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
681
|
-
};
|
|
567
|
+
const headers = SHARED_HEADERS;
|
|
682
568
|
let body;
|
|
683
569
|
body = buildFormUrlencodedString({
|
|
684
570
|
...se_ModifyUserGroupMessage(input, context),
|
|
@@ -688,9 +574,7 @@ export const se_ModifyUserGroupCommand = async (input, context) => {
|
|
|
688
574
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
689
575
|
};
|
|
690
576
|
export const se_PurchaseReservedCacheNodesOfferingCommand = async (input, context) => {
|
|
691
|
-
const headers =
|
|
692
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
693
|
-
};
|
|
577
|
+
const headers = SHARED_HEADERS;
|
|
694
578
|
let body;
|
|
695
579
|
body = buildFormUrlencodedString({
|
|
696
580
|
...se_PurchaseReservedCacheNodesOfferingMessage(input, context),
|
|
@@ -700,9 +584,7 @@ export const se_PurchaseReservedCacheNodesOfferingCommand = async (input, contex
|
|
|
700
584
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
701
585
|
};
|
|
702
586
|
export const se_RebalanceSlotsInGlobalReplicationGroupCommand = async (input, context) => {
|
|
703
|
-
const headers =
|
|
704
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
705
|
-
};
|
|
587
|
+
const headers = SHARED_HEADERS;
|
|
706
588
|
let body;
|
|
707
589
|
body = buildFormUrlencodedString({
|
|
708
590
|
...se_RebalanceSlotsInGlobalReplicationGroupMessage(input, context),
|
|
@@ -712,9 +594,7 @@ export const se_RebalanceSlotsInGlobalReplicationGroupCommand = async (input, co
|
|
|
712
594
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
713
595
|
};
|
|
714
596
|
export const se_RebootCacheClusterCommand = async (input, context) => {
|
|
715
|
-
const headers =
|
|
716
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
717
|
-
};
|
|
597
|
+
const headers = SHARED_HEADERS;
|
|
718
598
|
let body;
|
|
719
599
|
body = buildFormUrlencodedString({
|
|
720
600
|
...se_RebootCacheClusterMessage(input, context),
|
|
@@ -724,9 +604,7 @@ export const se_RebootCacheClusterCommand = async (input, context) => {
|
|
|
724
604
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
725
605
|
};
|
|
726
606
|
export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
727
|
-
const headers =
|
|
728
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
729
|
-
};
|
|
607
|
+
const headers = SHARED_HEADERS;
|
|
730
608
|
let body;
|
|
731
609
|
body = buildFormUrlencodedString({
|
|
732
610
|
...se_RemoveTagsFromResourceMessage(input, context),
|
|
@@ -736,9 +614,7 @@ export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
|
736
614
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
737
615
|
};
|
|
738
616
|
export const se_ResetCacheParameterGroupCommand = async (input, context) => {
|
|
739
|
-
const headers =
|
|
740
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
741
|
-
};
|
|
617
|
+
const headers = SHARED_HEADERS;
|
|
742
618
|
let body;
|
|
743
619
|
body = buildFormUrlencodedString({
|
|
744
620
|
...se_ResetCacheParameterGroupMessage(input, context),
|
|
@@ -748,9 +624,7 @@ export const se_ResetCacheParameterGroupCommand = async (input, context) => {
|
|
|
748
624
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
749
625
|
};
|
|
750
626
|
export const se_RevokeCacheSecurityGroupIngressCommand = async (input, context) => {
|
|
751
|
-
const headers =
|
|
752
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
753
|
-
};
|
|
627
|
+
const headers = SHARED_HEADERS;
|
|
754
628
|
let body;
|
|
755
629
|
body = buildFormUrlencodedString({
|
|
756
630
|
...se_RevokeCacheSecurityGroupIngressMessage(input, context),
|
|
@@ -760,9 +634,7 @@ export const se_RevokeCacheSecurityGroupIngressCommand = async (input, context)
|
|
|
760
634
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
761
635
|
};
|
|
762
636
|
export const se_StartMigrationCommand = async (input, context) => {
|
|
763
|
-
const headers =
|
|
764
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
765
|
-
};
|
|
637
|
+
const headers = SHARED_HEADERS;
|
|
766
638
|
let body;
|
|
767
639
|
body = buildFormUrlencodedString({
|
|
768
640
|
...se_StartMigrationMessage(input, context),
|
|
@@ -772,9 +644,7 @@ export const se_StartMigrationCommand = async (input, context) => {
|
|
|
772
644
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
773
645
|
};
|
|
774
646
|
export const se_TestFailoverCommand = async (input, context) => {
|
|
775
|
-
const headers =
|
|
776
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
777
|
-
};
|
|
647
|
+
const headers = SHARED_HEADERS;
|
|
778
648
|
let body;
|
|
779
649
|
body = buildFormUrlencodedString({
|
|
780
650
|
...se_TestFailoverMessage(input, context),
|
|
@@ -9518,6 +9388,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
9518
9388
|
}
|
|
9519
9389
|
return new __HttpRequest(contents);
|
|
9520
9390
|
};
|
|
9391
|
+
const SHARED_HEADERS = {
|
|
9392
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
9393
|
+
};
|
|
9521
9394
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9522
9395
|
if (encoded.length) {
|
|
9523
9396
|
const parser = new XMLParser({
|