@aws-sdk/client-application-auto-scaling 3.141.0 → 3.150.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +50 -89
- package/dist-es/protocols/Aws_json1_1.js +81 -90
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-application-auto-scaling
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-application-auto-scaling
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -124,7 +124,6 @@ const deserializeAws_json1_1DeleteScalingPolicyCommandError = async (output, con
|
|
|
124
124
|
...output,
|
|
125
125
|
body: await parseBody(output.body, context),
|
|
126
126
|
};
|
|
127
|
-
let response;
|
|
128
127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
129
128
|
switch (errorCode) {
|
|
130
129
|
case "ConcurrentUpdateException":
|
|
@@ -141,14 +140,12 @@ const deserializeAws_json1_1DeleteScalingPolicyCommandError = async (output, con
|
|
|
141
140
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
142
141
|
default:
|
|
143
142
|
const parsedBody = parsedOutput.body;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
$metadata,
|
|
143
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
144
|
+
output,
|
|
145
|
+
parsedBody,
|
|
146
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
147
|
+
errorCode,
|
|
150
148
|
});
|
|
151
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
152
149
|
}
|
|
153
150
|
};
|
|
154
151
|
const deserializeAws_json1_1DeleteScheduledActionCommand = async (output, context) => {
|
|
@@ -170,7 +167,6 @@ const deserializeAws_json1_1DeleteScheduledActionCommandError = async (output, c
|
|
|
170
167
|
...output,
|
|
171
168
|
body: await parseBody(output.body, context),
|
|
172
169
|
};
|
|
173
|
-
let response;
|
|
174
170
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
175
171
|
switch (errorCode) {
|
|
176
172
|
case "ConcurrentUpdateException":
|
|
@@ -187,14 +183,12 @@ const deserializeAws_json1_1DeleteScheduledActionCommandError = async (output, c
|
|
|
187
183
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
188
184
|
default:
|
|
189
185
|
const parsedBody = parsedOutput.body;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
$metadata,
|
|
186
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
187
|
+
output,
|
|
188
|
+
parsedBody,
|
|
189
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
190
|
+
errorCode,
|
|
196
191
|
});
|
|
197
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
198
192
|
}
|
|
199
193
|
};
|
|
200
194
|
const deserializeAws_json1_1DeregisterScalableTargetCommand = async (output, context) => {
|
|
@@ -216,7 +210,6 @@ const deserializeAws_json1_1DeregisterScalableTargetCommandError = async (output
|
|
|
216
210
|
...output,
|
|
217
211
|
body: await parseBody(output.body, context),
|
|
218
212
|
};
|
|
219
|
-
let response;
|
|
220
213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
221
214
|
switch (errorCode) {
|
|
222
215
|
case "ConcurrentUpdateException":
|
|
@@ -233,14 +226,12 @@ const deserializeAws_json1_1DeregisterScalableTargetCommandError = async (output
|
|
|
233
226
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
234
227
|
default:
|
|
235
228
|
const parsedBody = parsedOutput.body;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
$metadata,
|
|
229
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
230
|
+
output,
|
|
231
|
+
parsedBody,
|
|
232
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
233
|
+
errorCode,
|
|
242
234
|
});
|
|
243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
244
235
|
}
|
|
245
236
|
};
|
|
246
237
|
const deserializeAws_json1_1DescribeScalableTargetsCommand = async (output, context) => {
|
|
@@ -262,7 +253,6 @@ const deserializeAws_json1_1DescribeScalableTargetsCommandError = async (output,
|
|
|
262
253
|
...output,
|
|
263
254
|
body: await parseBody(output.body, context),
|
|
264
255
|
};
|
|
265
|
-
let response;
|
|
266
256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
267
257
|
switch (errorCode) {
|
|
268
258
|
case "ConcurrentUpdateException":
|
|
@@ -279,14 +269,12 @@ const deserializeAws_json1_1DescribeScalableTargetsCommandError = async (output,
|
|
|
279
269
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
280
270
|
default:
|
|
281
271
|
const parsedBody = parsedOutput.body;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
$metadata,
|
|
272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
273
|
+
output,
|
|
274
|
+
parsedBody,
|
|
275
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
276
|
+
errorCode,
|
|
288
277
|
});
|
|
289
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
290
278
|
}
|
|
291
279
|
};
|
|
292
280
|
const deserializeAws_json1_1DescribeScalingActivitiesCommand = async (output, context) => {
|
|
@@ -308,7 +296,6 @@ const deserializeAws_json1_1DescribeScalingActivitiesCommandError = async (outpu
|
|
|
308
296
|
...output,
|
|
309
297
|
body: await parseBody(output.body, context),
|
|
310
298
|
};
|
|
311
|
-
let response;
|
|
312
299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
313
300
|
switch (errorCode) {
|
|
314
301
|
case "ConcurrentUpdateException":
|
|
@@ -325,14 +312,12 @@ const deserializeAws_json1_1DescribeScalingActivitiesCommandError = async (outpu
|
|
|
325
312
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
326
313
|
default:
|
|
327
314
|
const parsedBody = parsedOutput.body;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
$metadata,
|
|
315
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
316
|
+
output,
|
|
317
|
+
parsedBody,
|
|
318
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
319
|
+
errorCode,
|
|
334
320
|
});
|
|
335
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
336
321
|
}
|
|
337
322
|
};
|
|
338
323
|
const deserializeAws_json1_1DescribeScalingPoliciesCommand = async (output, context) => {
|
|
@@ -354,7 +339,6 @@ const deserializeAws_json1_1DescribeScalingPoliciesCommandError = async (output,
|
|
|
354
339
|
...output,
|
|
355
340
|
body: await parseBody(output.body, context),
|
|
356
341
|
};
|
|
357
|
-
let response;
|
|
358
342
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
359
343
|
switch (errorCode) {
|
|
360
344
|
case "ConcurrentUpdateException":
|
|
@@ -374,14 +358,12 @@ const deserializeAws_json1_1DescribeScalingPoliciesCommandError = async (output,
|
|
|
374
358
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
375
359
|
default:
|
|
376
360
|
const parsedBody = parsedOutput.body;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
$metadata,
|
|
361
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
362
|
+
output,
|
|
363
|
+
parsedBody,
|
|
364
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
365
|
+
errorCode,
|
|
383
366
|
});
|
|
384
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
385
367
|
}
|
|
386
368
|
};
|
|
387
369
|
const deserializeAws_json1_1DescribeScheduledActionsCommand = async (output, context) => {
|
|
@@ -403,7 +385,6 @@ const deserializeAws_json1_1DescribeScheduledActionsCommandError = async (output
|
|
|
403
385
|
...output,
|
|
404
386
|
body: await parseBody(output.body, context),
|
|
405
387
|
};
|
|
406
|
-
let response;
|
|
407
388
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
408
389
|
switch (errorCode) {
|
|
409
390
|
case "ConcurrentUpdateException":
|
|
@@ -420,14 +401,12 @@ const deserializeAws_json1_1DescribeScheduledActionsCommandError = async (output
|
|
|
420
401
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
421
402
|
default:
|
|
422
403
|
const parsedBody = parsedOutput.body;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
$metadata,
|
|
404
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
405
|
+
output,
|
|
406
|
+
parsedBody,
|
|
407
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
408
|
+
errorCode,
|
|
429
409
|
});
|
|
430
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
431
410
|
}
|
|
432
411
|
};
|
|
433
412
|
const deserializeAws_json1_1PutScalingPolicyCommand = async (output, context) => {
|
|
@@ -449,7 +428,6 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
|
|
|
449
428
|
...output,
|
|
450
429
|
body: await parseBody(output.body, context),
|
|
451
430
|
};
|
|
452
|
-
let response;
|
|
453
431
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
454
432
|
switch (errorCode) {
|
|
455
433
|
case "ConcurrentUpdateException":
|
|
@@ -472,14 +450,12 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
|
|
|
472
450
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
473
451
|
default:
|
|
474
452
|
const parsedBody = parsedOutput.body;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
$metadata,
|
|
453
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
454
|
+
output,
|
|
455
|
+
parsedBody,
|
|
456
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
457
|
+
errorCode,
|
|
481
458
|
});
|
|
482
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
483
459
|
}
|
|
484
460
|
};
|
|
485
461
|
const deserializeAws_json1_1PutScheduledActionCommand = async (output, context) => {
|
|
@@ -501,7 +477,6 @@ const deserializeAws_json1_1PutScheduledActionCommandError = async (output, cont
|
|
|
501
477
|
...output,
|
|
502
478
|
body: await parseBody(output.body, context),
|
|
503
479
|
};
|
|
504
|
-
let response;
|
|
505
480
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
506
481
|
switch (errorCode) {
|
|
507
482
|
case "ConcurrentUpdateException":
|
|
@@ -521,14 +496,12 @@ const deserializeAws_json1_1PutScheduledActionCommandError = async (output, cont
|
|
|
521
496
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
522
497
|
default:
|
|
523
498
|
const parsedBody = parsedOutput.body;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
$metadata,
|
|
499
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
500
|
+
output,
|
|
501
|
+
parsedBody,
|
|
502
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
503
|
+
errorCode,
|
|
530
504
|
});
|
|
531
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
532
505
|
}
|
|
533
506
|
};
|
|
534
507
|
const deserializeAws_json1_1RegisterScalableTargetCommand = async (output, context) => {
|
|
@@ -550,7 +523,6 @@ const deserializeAws_json1_1RegisterScalableTargetCommandError = async (output,
|
|
|
550
523
|
...output,
|
|
551
524
|
body: await parseBody(output.body, context),
|
|
552
525
|
};
|
|
553
|
-
let response;
|
|
554
526
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
555
527
|
switch (errorCode) {
|
|
556
528
|
case "ConcurrentUpdateException":
|
|
@@ -567,14 +539,12 @@ const deserializeAws_json1_1RegisterScalableTargetCommandError = async (output,
|
|
|
567
539
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
568
540
|
default:
|
|
569
541
|
const parsedBody = parsedOutput.body;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
$metadata,
|
|
542
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
543
|
+
output,
|
|
544
|
+
parsedBody,
|
|
545
|
+
exceptionCtor: ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException,
|
|
546
|
+
errorCode,
|
|
576
547
|
});
|
|
577
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
578
548
|
}
|
|
579
549
|
};
|
|
580
550
|
const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -726,9 +696,6 @@ const serializeAws_json1_1MetricDimensions = (input, context) => {
|
|
|
726
696
|
return input
|
|
727
697
|
.filter((e) => e != null)
|
|
728
698
|
.map((entry) => {
|
|
729
|
-
if (entry === null) {
|
|
730
|
-
return null;
|
|
731
|
-
}
|
|
732
699
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
733
700
|
});
|
|
734
701
|
};
|
|
@@ -785,9 +752,6 @@ const serializeAws_json1_1ResourceIdsMaxLen1600 = (input, context) => {
|
|
|
785
752
|
return input
|
|
786
753
|
.filter((e) => e != null)
|
|
787
754
|
.map((entry) => {
|
|
788
|
-
if (entry === null) {
|
|
789
|
-
return null;
|
|
790
|
-
}
|
|
791
755
|
return entry;
|
|
792
756
|
});
|
|
793
757
|
};
|
|
@@ -812,9 +776,6 @@ const serializeAws_json1_1StepAdjustments = (input, context) => {
|
|
|
812
776
|
return input
|
|
813
777
|
.filter((e) => e != null)
|
|
814
778
|
.map((entry) => {
|
|
815
|
-
if (entry === null) {
|
|
816
|
-
return null;
|
|
817
|
-
}
|
|
818
779
|
return serializeAws_json1_1StepAdjustment(entry, context);
|
|
819
780
|
});
|
|
820
781
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
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, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
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, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ApplicationAutoScalingServiceException as __BaseException } from "../models/ApplicationAutoScalingServiceException";
|
|
5
5
|
import { ConcurrentUpdateException, FailedResourceAccessException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1DeleteScalingPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -132,7 +132,7 @@ export var deserializeAws_json1_1DeleteScalingPolicyCommand = function (output,
|
|
|
132
132
|
});
|
|
133
133
|
}); };
|
|
134
134
|
var deserializeAws_json1_1DeleteScalingPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
135
|
-
var parsedOutput, _a,
|
|
135
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
136
136
|
var _c;
|
|
137
137
|
return __generator(this, function (_d) {
|
|
138
138
|
switch (_d.label) {
|
|
@@ -165,14 +165,14 @@ var deserializeAws_json1_1DeleteScalingPolicyCommandError = function (output, co
|
|
|
165
165
|
case 9: throw _d.sent();
|
|
166
166
|
case 10:
|
|
167
167
|
parsedBody = parsedOutput.body;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
$metadata: $metadata,
|
|
168
|
+
throwDefaultError({
|
|
169
|
+
output: output,
|
|
170
|
+
parsedBody: parsedBody,
|
|
171
|
+
exceptionCtor: __BaseException,
|
|
172
|
+
errorCode: errorCode,
|
|
174
173
|
});
|
|
175
|
-
|
|
174
|
+
_d.label = 11;
|
|
175
|
+
case 11: return [2];
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
}); };
|
|
@@ -195,7 +195,7 @@ export var deserializeAws_json1_1DeleteScheduledActionCommand = function (output
|
|
|
195
195
|
});
|
|
196
196
|
}); };
|
|
197
197
|
var deserializeAws_json1_1DeleteScheduledActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
198
|
-
var parsedOutput, _a,
|
|
198
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
199
199
|
var _c;
|
|
200
200
|
return __generator(this, function (_d) {
|
|
201
201
|
switch (_d.label) {
|
|
@@ -228,14 +228,14 @@ var deserializeAws_json1_1DeleteScheduledActionCommandError = function (output,
|
|
|
228
228
|
case 9: throw _d.sent();
|
|
229
229
|
case 10:
|
|
230
230
|
parsedBody = parsedOutput.body;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
$metadata: $metadata,
|
|
231
|
+
throwDefaultError({
|
|
232
|
+
output: output,
|
|
233
|
+
parsedBody: parsedBody,
|
|
234
|
+
exceptionCtor: __BaseException,
|
|
235
|
+
errorCode: errorCode,
|
|
237
236
|
});
|
|
238
|
-
|
|
237
|
+
_d.label = 11;
|
|
238
|
+
case 11: return [2];
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
241
|
}); };
|
|
@@ -258,7 +258,7 @@ export var deserializeAws_json1_1DeregisterScalableTargetCommand = function (out
|
|
|
258
258
|
});
|
|
259
259
|
}); };
|
|
260
260
|
var deserializeAws_json1_1DeregisterScalableTargetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
261
|
-
var parsedOutput, _a,
|
|
261
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
262
262
|
var _c;
|
|
263
263
|
return __generator(this, function (_d) {
|
|
264
264
|
switch (_d.label) {
|
|
@@ -291,14 +291,14 @@ var deserializeAws_json1_1DeregisterScalableTargetCommandError = function (outpu
|
|
|
291
291
|
case 9: throw _d.sent();
|
|
292
292
|
case 10:
|
|
293
293
|
parsedBody = parsedOutput.body;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
$metadata: $metadata,
|
|
294
|
+
throwDefaultError({
|
|
295
|
+
output: output,
|
|
296
|
+
parsedBody: parsedBody,
|
|
297
|
+
exceptionCtor: __BaseException,
|
|
298
|
+
errorCode: errorCode,
|
|
300
299
|
});
|
|
301
|
-
|
|
300
|
+
_d.label = 11;
|
|
301
|
+
case 11: return [2];
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
}); };
|
|
@@ -321,7 +321,7 @@ export var deserializeAws_json1_1DescribeScalableTargetsCommand = function (outp
|
|
|
321
321
|
});
|
|
322
322
|
}); };
|
|
323
323
|
var deserializeAws_json1_1DescribeScalableTargetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
324
|
-
var parsedOutput, _a,
|
|
324
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
325
325
|
var _c;
|
|
326
326
|
return __generator(this, function (_d) {
|
|
327
327
|
switch (_d.label) {
|
|
@@ -354,14 +354,14 @@ var deserializeAws_json1_1DescribeScalableTargetsCommandError = function (output
|
|
|
354
354
|
case 9: throw _d.sent();
|
|
355
355
|
case 10:
|
|
356
356
|
parsedBody = parsedOutput.body;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
$metadata: $metadata,
|
|
357
|
+
throwDefaultError({
|
|
358
|
+
output: output,
|
|
359
|
+
parsedBody: parsedBody,
|
|
360
|
+
exceptionCtor: __BaseException,
|
|
361
|
+
errorCode: errorCode,
|
|
363
362
|
});
|
|
364
|
-
|
|
363
|
+
_d.label = 11;
|
|
364
|
+
case 11: return [2];
|
|
365
365
|
}
|
|
366
366
|
});
|
|
367
367
|
}); };
|
|
@@ -384,7 +384,7 @@ export var deserializeAws_json1_1DescribeScalingActivitiesCommand = function (ou
|
|
|
384
384
|
});
|
|
385
385
|
}); };
|
|
386
386
|
var deserializeAws_json1_1DescribeScalingActivitiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
387
|
-
var parsedOutput, _a,
|
|
387
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
388
388
|
var _c;
|
|
389
389
|
return __generator(this, function (_d) {
|
|
390
390
|
switch (_d.label) {
|
|
@@ -417,14 +417,14 @@ var deserializeAws_json1_1DescribeScalingActivitiesCommandError = function (outp
|
|
|
417
417
|
case 9: throw _d.sent();
|
|
418
418
|
case 10:
|
|
419
419
|
parsedBody = parsedOutput.body;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
$metadata: $metadata,
|
|
420
|
+
throwDefaultError({
|
|
421
|
+
output: output,
|
|
422
|
+
parsedBody: parsedBody,
|
|
423
|
+
exceptionCtor: __BaseException,
|
|
424
|
+
errorCode: errorCode,
|
|
426
425
|
});
|
|
427
|
-
|
|
426
|
+
_d.label = 11;
|
|
427
|
+
case 11: return [2];
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
430
|
}); };
|
|
@@ -447,7 +447,7 @@ export var deserializeAws_json1_1DescribeScalingPoliciesCommand = function (outp
|
|
|
447
447
|
});
|
|
448
448
|
}); };
|
|
449
449
|
var deserializeAws_json1_1DescribeScalingPoliciesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
450
|
-
var parsedOutput, _a,
|
|
450
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
451
451
|
var _c;
|
|
452
452
|
return __generator(this, function (_d) {
|
|
453
453
|
switch (_d.label) {
|
|
@@ -484,14 +484,14 @@ var deserializeAws_json1_1DescribeScalingPoliciesCommandError = function (output
|
|
|
484
484
|
case 11: throw _d.sent();
|
|
485
485
|
case 12:
|
|
486
486
|
parsedBody = parsedOutput.body;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
$metadata: $metadata,
|
|
487
|
+
throwDefaultError({
|
|
488
|
+
output: output,
|
|
489
|
+
parsedBody: parsedBody,
|
|
490
|
+
exceptionCtor: __BaseException,
|
|
491
|
+
errorCode: errorCode,
|
|
493
492
|
});
|
|
494
|
-
|
|
493
|
+
_d.label = 13;
|
|
494
|
+
case 13: return [2];
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
497
|
}); };
|
|
@@ -514,7 +514,7 @@ export var deserializeAws_json1_1DescribeScheduledActionsCommand = function (out
|
|
|
514
514
|
});
|
|
515
515
|
}); };
|
|
516
516
|
var deserializeAws_json1_1DescribeScheduledActionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
517
|
-
var parsedOutput, _a,
|
|
517
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
518
518
|
var _c;
|
|
519
519
|
return __generator(this, function (_d) {
|
|
520
520
|
switch (_d.label) {
|
|
@@ -547,14 +547,14 @@ var deserializeAws_json1_1DescribeScheduledActionsCommandError = function (outpu
|
|
|
547
547
|
case 9: throw _d.sent();
|
|
548
548
|
case 10:
|
|
549
549
|
parsedBody = parsedOutput.body;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
$metadata: $metadata,
|
|
550
|
+
throwDefaultError({
|
|
551
|
+
output: output,
|
|
552
|
+
parsedBody: parsedBody,
|
|
553
|
+
exceptionCtor: __BaseException,
|
|
554
|
+
errorCode: errorCode,
|
|
556
555
|
});
|
|
557
|
-
|
|
556
|
+
_d.label = 11;
|
|
557
|
+
case 11: return [2];
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
}); };
|
|
@@ -577,7 +577,7 @@ export var deserializeAws_json1_1PutScalingPolicyCommand = function (output, con
|
|
|
577
577
|
});
|
|
578
578
|
}); };
|
|
579
579
|
var deserializeAws_json1_1PutScalingPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
580
|
-
var parsedOutput, _a,
|
|
580
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
581
581
|
var _c;
|
|
582
582
|
return __generator(this, function (_d) {
|
|
583
583
|
switch (_d.label) {
|
|
@@ -618,14 +618,14 @@ var deserializeAws_json1_1PutScalingPolicyCommandError = function (output, conte
|
|
|
618
618
|
case 13: throw _d.sent();
|
|
619
619
|
case 14:
|
|
620
620
|
parsedBody = parsedOutput.body;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
$metadata: $metadata,
|
|
621
|
+
throwDefaultError({
|
|
622
|
+
output: output,
|
|
623
|
+
parsedBody: parsedBody,
|
|
624
|
+
exceptionCtor: __BaseException,
|
|
625
|
+
errorCode: errorCode,
|
|
627
626
|
});
|
|
628
|
-
|
|
627
|
+
_d.label = 15;
|
|
628
|
+
case 15: return [2];
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}); };
|
|
@@ -648,7 +648,7 @@ export var deserializeAws_json1_1PutScheduledActionCommand = function (output, c
|
|
|
648
648
|
});
|
|
649
649
|
}); };
|
|
650
650
|
var deserializeAws_json1_1PutScheduledActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
651
|
-
var parsedOutput, _a,
|
|
651
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
652
652
|
var _c;
|
|
653
653
|
return __generator(this, function (_d) {
|
|
654
654
|
switch (_d.label) {
|
|
@@ -685,14 +685,14 @@ var deserializeAws_json1_1PutScheduledActionCommandError = function (output, con
|
|
|
685
685
|
case 11: throw _d.sent();
|
|
686
686
|
case 12:
|
|
687
687
|
parsedBody = parsedOutput.body;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
$metadata: $metadata,
|
|
688
|
+
throwDefaultError({
|
|
689
|
+
output: output,
|
|
690
|
+
parsedBody: parsedBody,
|
|
691
|
+
exceptionCtor: __BaseException,
|
|
692
|
+
errorCode: errorCode,
|
|
694
693
|
});
|
|
695
|
-
|
|
694
|
+
_d.label = 13;
|
|
695
|
+
case 13: return [2];
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
698
|
}); };
|
|
@@ -715,7 +715,7 @@ export var deserializeAws_json1_1RegisterScalableTargetCommand = function (outpu
|
|
|
715
715
|
});
|
|
716
716
|
}); };
|
|
717
717
|
var deserializeAws_json1_1RegisterScalableTargetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
718
|
-
var parsedOutput, _a,
|
|
718
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
719
719
|
var _c;
|
|
720
720
|
return __generator(this, function (_d) {
|
|
721
721
|
switch (_d.label) {
|
|
@@ -748,14 +748,14 @@ var deserializeAws_json1_1RegisterScalableTargetCommandError = function (output,
|
|
|
748
748
|
case 9: throw _d.sent();
|
|
749
749
|
case 10:
|
|
750
750
|
parsedBody = parsedOutput.body;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
$metadata: $metadata,
|
|
751
|
+
throwDefaultError({
|
|
752
|
+
output: output,
|
|
753
|
+
parsedBody: parsedBody,
|
|
754
|
+
exceptionCtor: __BaseException,
|
|
755
|
+
errorCode: errorCode,
|
|
757
756
|
});
|
|
758
|
-
|
|
757
|
+
_d.label = 11;
|
|
758
|
+
case 11: return [2];
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
}); };
|
|
@@ -859,9 +859,6 @@ var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
|
859
859
|
return input
|
|
860
860
|
.filter(function (e) { return e != null; })
|
|
861
861
|
.map(function (entry) {
|
|
862
|
-
if (entry === null) {
|
|
863
|
-
return null;
|
|
864
|
-
}
|
|
865
862
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
866
863
|
});
|
|
867
864
|
};
|
|
@@ -889,9 +886,6 @@ var serializeAws_json1_1ResourceIdsMaxLen1600 = function (input, context) {
|
|
|
889
886
|
return input
|
|
890
887
|
.filter(function (e) { return e != null; })
|
|
891
888
|
.map(function (entry) {
|
|
892
|
-
if (entry === null) {
|
|
893
|
-
return null;
|
|
894
|
-
}
|
|
895
889
|
return entry;
|
|
896
890
|
});
|
|
897
891
|
};
|
|
@@ -909,9 +903,6 @@ var serializeAws_json1_1StepAdjustments = function (input, context) {
|
|
|
909
903
|
return input
|
|
910
904
|
.filter(function (e) { return e != null; })
|
|
911
905
|
.map(function (entry) {
|
|
912
|
-
if (entry === null) {
|
|
913
|
-
return null;
|
|
914
|
-
}
|
|
915
906
|
return serializeAws_json1_1StepAdjustment(entry, context);
|
|
916
907
|
});
|
|
917
908
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.150.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|