@aws-sdk/client-auto-scaling 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 { AutoScalingServiceException as __BaseException } from "../models/AutoScalingServiceException";
|
|
5
5
|
import { ActiveInstanceRefreshNotFoundFault, AlreadyExistsFault, InstanceRefreshInProgressFault, InvalidNextToken, IrreversibleInstanceRefreshFault, LimitExceededFault, ResourceContentionFault, ResourceInUseFault, ScalingActivityInProgressFault, ServiceLinkedRoleFailure, } from "../models/models_0";
|
|
6
6
|
export const se_AttachInstancesCommand = 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_AttachInstancesQuery(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AttachInstancesCommand = async (input, context) => {
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_AttachLoadBalancersCommand = 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_AttachLoadBalancersType(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_AttachLoadBalancersCommand = async (input, context) => {
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_AttachLoadBalancerTargetGroupsCommand = 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_AttachLoadBalancerTargetGroupsType(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_AttachLoadBalancerTargetGroupsCommand = async (input, context) =
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_AttachTrafficSourcesCommand = 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_AttachTrafficSourcesType(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_AttachTrafficSourcesCommand = async (input, context) => {
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_BatchDeleteScheduledActionCommand = 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_BatchDeleteScheduledActionType(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_BatchDeleteScheduledActionCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_BatchPutScheduledUpdateGroupActionCommand = 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_BatchPutScheduledUpdateGroupActionType(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_BatchPutScheduledUpdateGroupActionCommand = async (input, contex
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_CancelInstanceRefreshCommand = 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_CancelInstanceRefreshType(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_CancelInstanceRefreshCommand = async (input, context) => {
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_CompleteLifecycleActionCommand = 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_CompleteLifecycleActionType(input, context),
|
|
@@ -100,9 +84,7 @@ export const se_CompleteLifecycleActionCommand = async (input, context) => {
|
|
|
100
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
85
|
};
|
|
102
86
|
export const se_CreateAutoScalingGroupCommand = 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_CreateAutoScalingGroupType(input, context),
|
|
@@ -112,9 +94,7 @@ export const se_CreateAutoScalingGroupCommand = async (input, context) => {
|
|
|
112
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
95
|
};
|
|
114
96
|
export const se_CreateLaunchConfigurationCommand = 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_CreateLaunchConfigurationType(input, context),
|
|
@@ -124,9 +104,7 @@ export const se_CreateLaunchConfigurationCommand = async (input, context) => {
|
|
|
124
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
105
|
};
|
|
126
106
|
export const se_CreateOrUpdateTagsCommand = 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_CreateOrUpdateTagsType(input, context),
|
|
@@ -136,9 +114,7 @@ export const se_CreateOrUpdateTagsCommand = async (input, context) => {
|
|
|
136
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
115
|
};
|
|
138
116
|
export const se_DeleteAutoScalingGroupCommand = 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_DeleteAutoScalingGroupType(input, context),
|
|
@@ -148,9 +124,7 @@ export const se_DeleteAutoScalingGroupCommand = async (input, context) => {
|
|
|
148
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
125
|
};
|
|
150
126
|
export const se_DeleteLaunchConfigurationCommand = 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_LaunchConfigurationNameType(input, context),
|
|
@@ -160,9 +134,7 @@ export const se_DeleteLaunchConfigurationCommand = async (input, context) => {
|
|
|
160
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
135
|
};
|
|
162
136
|
export const se_DeleteLifecycleHookCommand = 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_DeleteLifecycleHookType(input, context),
|
|
@@ -172,9 +144,7 @@ export const se_DeleteLifecycleHookCommand = async (input, context) => {
|
|
|
172
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
145
|
};
|
|
174
146
|
export const se_DeleteNotificationConfigurationCommand = 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_DeleteNotificationConfigurationType(input, context),
|
|
@@ -184,9 +154,7 @@ export const se_DeleteNotificationConfigurationCommand = async (input, context)
|
|
|
184
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
155
|
};
|
|
186
156
|
export const se_DeletePolicyCommand = 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_DeletePolicyType(input, context),
|
|
@@ -196,9 +164,7 @@ export const se_DeletePolicyCommand = async (input, context) => {
|
|
|
196
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
165
|
};
|
|
198
166
|
export const se_DeleteScheduledActionCommand = 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_DeleteScheduledActionType(input, context),
|
|
@@ -208,9 +174,7 @@ export const se_DeleteScheduledActionCommand = async (input, context) => {
|
|
|
208
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
175
|
};
|
|
210
176
|
export const se_DeleteTagsCommand = 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_DeleteTagsType(input, context),
|
|
@@ -220,9 +184,7 @@ export const se_DeleteTagsCommand = async (input, context) => {
|
|
|
220
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
185
|
};
|
|
222
186
|
export const se_DeleteWarmPoolCommand = 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_DeleteWarmPoolType(input, context),
|
|
@@ -232,9 +194,7 @@ export const se_DeleteWarmPoolCommand = async (input, context) => {
|
|
|
232
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
195
|
};
|
|
234
196
|
export const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
235
|
-
const headers =
|
|
236
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
237
|
-
};
|
|
197
|
+
const headers = SHARED_HEADERS;
|
|
238
198
|
const body = buildFormUrlencodedString({
|
|
239
199
|
Action: "DescribeAccountLimits",
|
|
240
200
|
Version: "2011-01-01",
|
|
@@ -242,9 +202,7 @@ export const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
|
242
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
243
203
|
};
|
|
244
204
|
export const se_DescribeAdjustmentTypesCommand = async (input, context) => {
|
|
245
|
-
const headers =
|
|
246
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
247
|
-
};
|
|
205
|
+
const headers = SHARED_HEADERS;
|
|
248
206
|
const body = buildFormUrlencodedString({
|
|
249
207
|
Action: "DescribeAdjustmentTypes",
|
|
250
208
|
Version: "2011-01-01",
|
|
@@ -252,9 +210,7 @@ export const se_DescribeAdjustmentTypesCommand = async (input, context) => {
|
|
|
252
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
211
|
};
|
|
254
212
|
export const se_DescribeAutoScalingGroupsCommand = async (input, context) => {
|
|
255
|
-
const headers =
|
|
256
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
257
|
-
};
|
|
213
|
+
const headers = SHARED_HEADERS;
|
|
258
214
|
let body;
|
|
259
215
|
body = buildFormUrlencodedString({
|
|
260
216
|
...se_AutoScalingGroupNamesType(input, context),
|
|
@@ -264,9 +220,7 @@ export const se_DescribeAutoScalingGroupsCommand = async (input, context) => {
|
|
|
264
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
221
|
};
|
|
266
222
|
export const se_DescribeAutoScalingInstancesCommand = async (input, context) => {
|
|
267
|
-
const headers =
|
|
268
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
269
|
-
};
|
|
223
|
+
const headers = SHARED_HEADERS;
|
|
270
224
|
let body;
|
|
271
225
|
body = buildFormUrlencodedString({
|
|
272
226
|
...se_DescribeAutoScalingInstancesType(input, context),
|
|
@@ -276,9 +230,7 @@ export const se_DescribeAutoScalingInstancesCommand = async (input, context) =>
|
|
|
276
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
231
|
};
|
|
278
232
|
export const se_DescribeAutoScalingNotificationTypesCommand = async (input, context) => {
|
|
279
|
-
const headers =
|
|
280
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
281
|
-
};
|
|
233
|
+
const headers = SHARED_HEADERS;
|
|
282
234
|
const body = buildFormUrlencodedString({
|
|
283
235
|
Action: "DescribeAutoScalingNotificationTypes",
|
|
284
236
|
Version: "2011-01-01",
|
|
@@ -286,9 +238,7 @@ export const se_DescribeAutoScalingNotificationTypesCommand = async (input, cont
|
|
|
286
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
239
|
};
|
|
288
240
|
export const se_DescribeInstanceRefreshesCommand = async (input, context) => {
|
|
289
|
-
const headers =
|
|
290
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
291
|
-
};
|
|
241
|
+
const headers = SHARED_HEADERS;
|
|
292
242
|
let body;
|
|
293
243
|
body = buildFormUrlencodedString({
|
|
294
244
|
...se_DescribeInstanceRefreshesType(input, context),
|
|
@@ -298,9 +248,7 @@ export const se_DescribeInstanceRefreshesCommand = async (input, context) => {
|
|
|
298
248
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
249
|
};
|
|
300
250
|
export const se_DescribeLaunchConfigurationsCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
303
|
-
};
|
|
251
|
+
const headers = SHARED_HEADERS;
|
|
304
252
|
let body;
|
|
305
253
|
body = buildFormUrlencodedString({
|
|
306
254
|
...se_LaunchConfigurationNamesType(input, context),
|
|
@@ -310,9 +258,7 @@ export const se_DescribeLaunchConfigurationsCommand = async (input, context) =>
|
|
|
310
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
259
|
};
|
|
312
260
|
export const se_DescribeLifecycleHooksCommand = async (input, context) => {
|
|
313
|
-
const headers =
|
|
314
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
315
|
-
};
|
|
261
|
+
const headers = SHARED_HEADERS;
|
|
316
262
|
let body;
|
|
317
263
|
body = buildFormUrlencodedString({
|
|
318
264
|
...se_DescribeLifecycleHooksType(input, context),
|
|
@@ -322,9 +268,7 @@ export const se_DescribeLifecycleHooksCommand = async (input, context) => {
|
|
|
322
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
269
|
};
|
|
324
270
|
export const se_DescribeLifecycleHookTypesCommand = async (input, context) => {
|
|
325
|
-
const headers =
|
|
326
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
327
|
-
};
|
|
271
|
+
const headers = SHARED_HEADERS;
|
|
328
272
|
const body = buildFormUrlencodedString({
|
|
329
273
|
Action: "DescribeLifecycleHookTypes",
|
|
330
274
|
Version: "2011-01-01",
|
|
@@ -332,9 +276,7 @@ export const se_DescribeLifecycleHookTypesCommand = async (input, context) => {
|
|
|
332
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
333
277
|
};
|
|
334
278
|
export const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
335
|
-
const headers =
|
|
336
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
337
|
-
};
|
|
279
|
+
const headers = SHARED_HEADERS;
|
|
338
280
|
let body;
|
|
339
281
|
body = buildFormUrlencodedString({
|
|
340
282
|
...se_DescribeLoadBalancersRequest(input, context),
|
|
@@ -344,9 +286,7 @@ export const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
|
344
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
287
|
};
|
|
346
288
|
export const se_DescribeLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
347
|
-
const headers =
|
|
348
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
349
|
-
};
|
|
289
|
+
const headers = SHARED_HEADERS;
|
|
350
290
|
let body;
|
|
351
291
|
body = buildFormUrlencodedString({
|
|
352
292
|
...se_DescribeLoadBalancerTargetGroupsRequest(input, context),
|
|
@@ -356,9 +296,7 @@ export const se_DescribeLoadBalancerTargetGroupsCommand = async (input, context)
|
|
|
356
296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
297
|
};
|
|
358
298
|
export const se_DescribeMetricCollectionTypesCommand = async (input, context) => {
|
|
359
|
-
const headers =
|
|
360
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
361
|
-
};
|
|
299
|
+
const headers = SHARED_HEADERS;
|
|
362
300
|
const body = buildFormUrlencodedString({
|
|
363
301
|
Action: "DescribeMetricCollectionTypes",
|
|
364
302
|
Version: "2011-01-01",
|
|
@@ -366,9 +304,7 @@ export const se_DescribeMetricCollectionTypesCommand = async (input, context) =>
|
|
|
366
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
305
|
};
|
|
368
306
|
export const se_DescribeNotificationConfigurationsCommand = async (input, context) => {
|
|
369
|
-
const headers =
|
|
370
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
371
|
-
};
|
|
307
|
+
const headers = SHARED_HEADERS;
|
|
372
308
|
let body;
|
|
373
309
|
body = buildFormUrlencodedString({
|
|
374
310
|
...se_DescribeNotificationConfigurationsType(input, context),
|
|
@@ -378,9 +314,7 @@ export const se_DescribeNotificationConfigurationsCommand = async (input, contex
|
|
|
378
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
315
|
};
|
|
380
316
|
export const se_DescribePoliciesCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
383
|
-
};
|
|
317
|
+
const headers = SHARED_HEADERS;
|
|
384
318
|
let body;
|
|
385
319
|
body = buildFormUrlencodedString({
|
|
386
320
|
...se_DescribePoliciesType(input, context),
|
|
@@ -390,9 +324,7 @@ export const se_DescribePoliciesCommand = async (input, context) => {
|
|
|
390
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
325
|
};
|
|
392
326
|
export const se_DescribeScalingActivitiesCommand = async (input, context) => {
|
|
393
|
-
const headers =
|
|
394
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
395
|
-
};
|
|
327
|
+
const headers = SHARED_HEADERS;
|
|
396
328
|
let body;
|
|
397
329
|
body = buildFormUrlencodedString({
|
|
398
330
|
...se_DescribeScalingActivitiesType(input, context),
|
|
@@ -402,9 +334,7 @@ export const se_DescribeScalingActivitiesCommand = async (input, context) => {
|
|
|
402
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
403
335
|
};
|
|
404
336
|
export const se_DescribeScalingProcessTypesCommand = async (input, context) => {
|
|
405
|
-
const headers =
|
|
406
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
407
|
-
};
|
|
337
|
+
const headers = SHARED_HEADERS;
|
|
408
338
|
const body = buildFormUrlencodedString({
|
|
409
339
|
Action: "DescribeScalingProcessTypes",
|
|
410
340
|
Version: "2011-01-01",
|
|
@@ -412,9 +342,7 @@ export const se_DescribeScalingProcessTypesCommand = async (input, context) => {
|
|
|
412
342
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
343
|
};
|
|
414
344
|
export const se_DescribeScheduledActionsCommand = async (input, context) => {
|
|
415
|
-
const headers =
|
|
416
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
417
|
-
};
|
|
345
|
+
const headers = SHARED_HEADERS;
|
|
418
346
|
let body;
|
|
419
347
|
body = buildFormUrlencodedString({
|
|
420
348
|
...se_DescribeScheduledActionsType(input, context),
|
|
@@ -424,9 +352,7 @@ export const se_DescribeScheduledActionsCommand = async (input, context) => {
|
|
|
424
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
353
|
};
|
|
426
354
|
export const se_DescribeTagsCommand = async (input, context) => {
|
|
427
|
-
const headers =
|
|
428
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
429
|
-
};
|
|
355
|
+
const headers = SHARED_HEADERS;
|
|
430
356
|
let body;
|
|
431
357
|
body = buildFormUrlencodedString({
|
|
432
358
|
...se_DescribeTagsType(input, context),
|
|
@@ -436,9 +362,7 @@ export const se_DescribeTagsCommand = async (input, context) => {
|
|
|
436
362
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
363
|
};
|
|
438
364
|
export const se_DescribeTerminationPolicyTypesCommand = async (input, context) => {
|
|
439
|
-
const headers =
|
|
440
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
441
|
-
};
|
|
365
|
+
const headers = SHARED_HEADERS;
|
|
442
366
|
const body = buildFormUrlencodedString({
|
|
443
367
|
Action: "DescribeTerminationPolicyTypes",
|
|
444
368
|
Version: "2011-01-01",
|
|
@@ -446,9 +370,7 @@ export const se_DescribeTerminationPolicyTypesCommand = async (input, context) =
|
|
|
446
370
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
371
|
};
|
|
448
372
|
export const se_DescribeTrafficSourcesCommand = async (input, context) => {
|
|
449
|
-
const headers =
|
|
450
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
451
|
-
};
|
|
373
|
+
const headers = SHARED_HEADERS;
|
|
452
374
|
let body;
|
|
453
375
|
body = buildFormUrlencodedString({
|
|
454
376
|
...se_DescribeTrafficSourcesRequest(input, context),
|
|
@@ -458,9 +380,7 @@ export const se_DescribeTrafficSourcesCommand = async (input, context) => {
|
|
|
458
380
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
459
381
|
};
|
|
460
382
|
export const se_DescribeWarmPoolCommand = async (input, context) => {
|
|
461
|
-
const headers =
|
|
462
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
463
|
-
};
|
|
383
|
+
const headers = SHARED_HEADERS;
|
|
464
384
|
let body;
|
|
465
385
|
body = buildFormUrlencodedString({
|
|
466
386
|
...se_DescribeWarmPoolType(input, context),
|
|
@@ -470,9 +390,7 @@ export const se_DescribeWarmPoolCommand = async (input, context) => {
|
|
|
470
390
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
471
391
|
};
|
|
472
392
|
export const se_DetachInstancesCommand = async (input, context) => {
|
|
473
|
-
const headers =
|
|
474
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
475
|
-
};
|
|
393
|
+
const headers = SHARED_HEADERS;
|
|
476
394
|
let body;
|
|
477
395
|
body = buildFormUrlencodedString({
|
|
478
396
|
...se_DetachInstancesQuery(input, context),
|
|
@@ -482,9 +400,7 @@ export const se_DetachInstancesCommand = async (input, context) => {
|
|
|
482
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
483
401
|
};
|
|
484
402
|
export const se_DetachLoadBalancersCommand = async (input, context) => {
|
|
485
|
-
const headers =
|
|
486
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
487
|
-
};
|
|
403
|
+
const headers = SHARED_HEADERS;
|
|
488
404
|
let body;
|
|
489
405
|
body = buildFormUrlencodedString({
|
|
490
406
|
...se_DetachLoadBalancersType(input, context),
|
|
@@ -494,9 +410,7 @@ export const se_DetachLoadBalancersCommand = async (input, context) => {
|
|
|
494
410
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
495
411
|
};
|
|
496
412
|
export const se_DetachLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
497
|
-
const headers =
|
|
498
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
499
|
-
};
|
|
413
|
+
const headers = SHARED_HEADERS;
|
|
500
414
|
let body;
|
|
501
415
|
body = buildFormUrlencodedString({
|
|
502
416
|
...se_DetachLoadBalancerTargetGroupsType(input, context),
|
|
@@ -506,9 +420,7 @@ export const se_DetachLoadBalancerTargetGroupsCommand = async (input, context) =
|
|
|
506
420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
507
421
|
};
|
|
508
422
|
export const se_DetachTrafficSourcesCommand = async (input, context) => {
|
|
509
|
-
const headers =
|
|
510
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
511
|
-
};
|
|
423
|
+
const headers = SHARED_HEADERS;
|
|
512
424
|
let body;
|
|
513
425
|
body = buildFormUrlencodedString({
|
|
514
426
|
...se_DetachTrafficSourcesType(input, context),
|
|
@@ -518,9 +430,7 @@ export const se_DetachTrafficSourcesCommand = async (input, context) => {
|
|
|
518
430
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
519
431
|
};
|
|
520
432
|
export const se_DisableMetricsCollectionCommand = async (input, context) => {
|
|
521
|
-
const headers =
|
|
522
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
523
|
-
};
|
|
433
|
+
const headers = SHARED_HEADERS;
|
|
524
434
|
let body;
|
|
525
435
|
body = buildFormUrlencodedString({
|
|
526
436
|
...se_DisableMetricsCollectionQuery(input, context),
|
|
@@ -530,9 +440,7 @@ export const se_DisableMetricsCollectionCommand = async (input, context) => {
|
|
|
530
440
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
531
441
|
};
|
|
532
442
|
export const se_EnableMetricsCollectionCommand = async (input, context) => {
|
|
533
|
-
const headers =
|
|
534
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
535
|
-
};
|
|
443
|
+
const headers = SHARED_HEADERS;
|
|
536
444
|
let body;
|
|
537
445
|
body = buildFormUrlencodedString({
|
|
538
446
|
...se_EnableMetricsCollectionQuery(input, context),
|
|
@@ -542,9 +450,7 @@ export const se_EnableMetricsCollectionCommand = async (input, context) => {
|
|
|
542
450
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
543
451
|
};
|
|
544
452
|
export const se_EnterStandbyCommand = async (input, context) => {
|
|
545
|
-
const headers =
|
|
546
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
547
|
-
};
|
|
453
|
+
const headers = SHARED_HEADERS;
|
|
548
454
|
let body;
|
|
549
455
|
body = buildFormUrlencodedString({
|
|
550
456
|
...se_EnterStandbyQuery(input, context),
|
|
@@ -554,9 +460,7 @@ export const se_EnterStandbyCommand = async (input, context) => {
|
|
|
554
460
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
555
461
|
};
|
|
556
462
|
export const se_ExecutePolicyCommand = async (input, context) => {
|
|
557
|
-
const headers =
|
|
558
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
559
|
-
};
|
|
463
|
+
const headers = SHARED_HEADERS;
|
|
560
464
|
let body;
|
|
561
465
|
body = buildFormUrlencodedString({
|
|
562
466
|
...se_ExecutePolicyType(input, context),
|
|
@@ -566,9 +470,7 @@ export const se_ExecutePolicyCommand = async (input, context) => {
|
|
|
566
470
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
567
471
|
};
|
|
568
472
|
export const se_ExitStandbyCommand = async (input, context) => {
|
|
569
|
-
const headers =
|
|
570
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
571
|
-
};
|
|
473
|
+
const headers = SHARED_HEADERS;
|
|
572
474
|
let body;
|
|
573
475
|
body = buildFormUrlencodedString({
|
|
574
476
|
...se_ExitStandbyQuery(input, context),
|
|
@@ -578,9 +480,7 @@ export const se_ExitStandbyCommand = async (input, context) => {
|
|
|
578
480
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
579
481
|
};
|
|
580
482
|
export const se_GetPredictiveScalingForecastCommand = async (input, context) => {
|
|
581
|
-
const headers =
|
|
582
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
583
|
-
};
|
|
483
|
+
const headers = SHARED_HEADERS;
|
|
584
484
|
let body;
|
|
585
485
|
body = buildFormUrlencodedString({
|
|
586
486
|
...se_GetPredictiveScalingForecastType(input, context),
|
|
@@ -590,9 +490,7 @@ export const se_GetPredictiveScalingForecastCommand = async (input, context) =>
|
|
|
590
490
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
591
491
|
};
|
|
592
492
|
export const se_PutLifecycleHookCommand = async (input, context) => {
|
|
593
|
-
const headers =
|
|
594
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
595
|
-
};
|
|
493
|
+
const headers = SHARED_HEADERS;
|
|
596
494
|
let body;
|
|
597
495
|
body = buildFormUrlencodedString({
|
|
598
496
|
...se_PutLifecycleHookType(input, context),
|
|
@@ -602,9 +500,7 @@ export const se_PutLifecycleHookCommand = async (input, context) => {
|
|
|
602
500
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
603
501
|
};
|
|
604
502
|
export const se_PutNotificationConfigurationCommand = async (input, context) => {
|
|
605
|
-
const headers =
|
|
606
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
607
|
-
};
|
|
503
|
+
const headers = SHARED_HEADERS;
|
|
608
504
|
let body;
|
|
609
505
|
body = buildFormUrlencodedString({
|
|
610
506
|
...se_PutNotificationConfigurationType(input, context),
|
|
@@ -614,9 +510,7 @@ export const se_PutNotificationConfigurationCommand = async (input, context) =>
|
|
|
614
510
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
615
511
|
};
|
|
616
512
|
export const se_PutScalingPolicyCommand = async (input, context) => {
|
|
617
|
-
const headers =
|
|
618
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
619
|
-
};
|
|
513
|
+
const headers = SHARED_HEADERS;
|
|
620
514
|
let body;
|
|
621
515
|
body = buildFormUrlencodedString({
|
|
622
516
|
...se_PutScalingPolicyType(input, context),
|
|
@@ -626,9 +520,7 @@ export const se_PutScalingPolicyCommand = async (input, context) => {
|
|
|
626
520
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
627
521
|
};
|
|
628
522
|
export const se_PutScheduledUpdateGroupActionCommand = async (input, context) => {
|
|
629
|
-
const headers =
|
|
630
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
631
|
-
};
|
|
523
|
+
const headers = SHARED_HEADERS;
|
|
632
524
|
let body;
|
|
633
525
|
body = buildFormUrlencodedString({
|
|
634
526
|
...se_PutScheduledUpdateGroupActionType(input, context),
|
|
@@ -638,9 +530,7 @@ export const se_PutScheduledUpdateGroupActionCommand = async (input, context) =>
|
|
|
638
530
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
639
531
|
};
|
|
640
532
|
export const se_PutWarmPoolCommand = async (input, context) => {
|
|
641
|
-
const headers =
|
|
642
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
643
|
-
};
|
|
533
|
+
const headers = SHARED_HEADERS;
|
|
644
534
|
let body;
|
|
645
535
|
body = buildFormUrlencodedString({
|
|
646
536
|
...se_PutWarmPoolType(input, context),
|
|
@@ -650,9 +540,7 @@ export const se_PutWarmPoolCommand = async (input, context) => {
|
|
|
650
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
651
541
|
};
|
|
652
542
|
export const se_RecordLifecycleActionHeartbeatCommand = async (input, context) => {
|
|
653
|
-
const headers =
|
|
654
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
655
|
-
};
|
|
543
|
+
const headers = SHARED_HEADERS;
|
|
656
544
|
let body;
|
|
657
545
|
body = buildFormUrlencodedString({
|
|
658
546
|
...se_RecordLifecycleActionHeartbeatType(input, context),
|
|
@@ -662,9 +550,7 @@ export const se_RecordLifecycleActionHeartbeatCommand = async (input, context) =
|
|
|
662
550
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
663
551
|
};
|
|
664
552
|
export const se_ResumeProcessesCommand = async (input, context) => {
|
|
665
|
-
const headers =
|
|
666
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
667
|
-
};
|
|
553
|
+
const headers = SHARED_HEADERS;
|
|
668
554
|
let body;
|
|
669
555
|
body = buildFormUrlencodedString({
|
|
670
556
|
...se_ScalingProcessQuery(input, context),
|
|
@@ -674,9 +560,7 @@ export const se_ResumeProcessesCommand = async (input, context) => {
|
|
|
674
560
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
675
561
|
};
|
|
676
562
|
export const se_RollbackInstanceRefreshCommand = async (input, context) => {
|
|
677
|
-
const headers =
|
|
678
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
679
|
-
};
|
|
563
|
+
const headers = SHARED_HEADERS;
|
|
680
564
|
let body;
|
|
681
565
|
body = buildFormUrlencodedString({
|
|
682
566
|
...se_RollbackInstanceRefreshType(input, context),
|
|
@@ -686,9 +570,7 @@ export const se_RollbackInstanceRefreshCommand = async (input, context) => {
|
|
|
686
570
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
687
571
|
};
|
|
688
572
|
export const se_SetDesiredCapacityCommand = async (input, context) => {
|
|
689
|
-
const headers =
|
|
690
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
691
|
-
};
|
|
573
|
+
const headers = SHARED_HEADERS;
|
|
692
574
|
let body;
|
|
693
575
|
body = buildFormUrlencodedString({
|
|
694
576
|
...se_SetDesiredCapacityType(input, context),
|
|
@@ -698,9 +580,7 @@ export const se_SetDesiredCapacityCommand = async (input, context) => {
|
|
|
698
580
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
699
581
|
};
|
|
700
582
|
export const se_SetInstanceHealthCommand = async (input, context) => {
|
|
701
|
-
const headers =
|
|
702
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
703
|
-
};
|
|
583
|
+
const headers = SHARED_HEADERS;
|
|
704
584
|
let body;
|
|
705
585
|
body = buildFormUrlencodedString({
|
|
706
586
|
...se_SetInstanceHealthQuery(input, context),
|
|
@@ -710,9 +590,7 @@ export const se_SetInstanceHealthCommand = async (input, context) => {
|
|
|
710
590
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
711
591
|
};
|
|
712
592
|
export const se_SetInstanceProtectionCommand = async (input, context) => {
|
|
713
|
-
const headers =
|
|
714
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
715
|
-
};
|
|
593
|
+
const headers = SHARED_HEADERS;
|
|
716
594
|
let body;
|
|
717
595
|
body = buildFormUrlencodedString({
|
|
718
596
|
...se_SetInstanceProtectionQuery(input, context),
|
|
@@ -722,9 +600,7 @@ export const se_SetInstanceProtectionCommand = async (input, context) => {
|
|
|
722
600
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
723
601
|
};
|
|
724
602
|
export const se_StartInstanceRefreshCommand = async (input, context) => {
|
|
725
|
-
const headers =
|
|
726
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
727
|
-
};
|
|
603
|
+
const headers = SHARED_HEADERS;
|
|
728
604
|
let body;
|
|
729
605
|
body = buildFormUrlencodedString({
|
|
730
606
|
...se_StartInstanceRefreshType(input, context),
|
|
@@ -734,9 +610,7 @@ export const se_StartInstanceRefreshCommand = async (input, context) => {
|
|
|
734
610
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
735
611
|
};
|
|
736
612
|
export const se_SuspendProcessesCommand = async (input, context) => {
|
|
737
|
-
const headers =
|
|
738
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
739
|
-
};
|
|
613
|
+
const headers = SHARED_HEADERS;
|
|
740
614
|
let body;
|
|
741
615
|
body = buildFormUrlencodedString({
|
|
742
616
|
...se_ScalingProcessQuery(input, context),
|
|
@@ -746,9 +620,7 @@ export const se_SuspendProcessesCommand = async (input, context) => {
|
|
|
746
620
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
747
621
|
};
|
|
748
622
|
export const se_TerminateInstanceInAutoScalingGroupCommand = async (input, context) => {
|
|
749
|
-
const headers =
|
|
750
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
751
|
-
};
|
|
623
|
+
const headers = SHARED_HEADERS;
|
|
752
624
|
let body;
|
|
753
625
|
body = buildFormUrlencodedString({
|
|
754
626
|
...se_TerminateInstanceInAutoScalingGroupType(input, context),
|
|
@@ -758,9 +630,7 @@ export const se_TerminateInstanceInAutoScalingGroupCommand = async (input, conte
|
|
|
758
630
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
759
631
|
};
|
|
760
632
|
export const se_UpdateAutoScalingGroupCommand = async (input, context) => {
|
|
761
|
-
const headers =
|
|
762
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
763
|
-
};
|
|
633
|
+
const headers = SHARED_HEADERS;
|
|
764
634
|
let body;
|
|
765
635
|
body = buildFormUrlencodedString({
|
|
766
636
|
...se_UpdateAutoScalingGroupType(input, context),
|
|
@@ -8099,6 +7969,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8099
7969
|
}
|
|
8100
7970
|
return new __HttpRequest(contents);
|
|
8101
7971
|
};
|
|
7972
|
+
const SHARED_HEADERS = {
|
|
7973
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
7974
|
+
};
|
|
8102
7975
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8103
7976
|
if (encoded.length) {
|
|
8104
7977
|
const parser = new XMLParser({
|