@aws-sdk/client-auto-scaling-plans 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 +30 -69
- package/dist-es/protocols/Aws_json1_1.js +49 -70
- 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-auto-scaling-plans
|
|
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-auto-scaling-plans
|
|
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
|
|
|
@@ -84,7 +84,6 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
|
|
|
84
84
|
...output,
|
|
85
85
|
body: await parseBody(output.body, context),
|
|
86
86
|
};
|
|
87
|
-
let response;
|
|
88
87
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
89
88
|
switch (errorCode) {
|
|
90
89
|
case "ConcurrentUpdateException":
|
|
@@ -101,14 +100,12 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
|
|
|
101
100
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
102
101
|
default:
|
|
103
102
|
const parsedBody = parsedOutput.body;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
$metadata,
|
|
103
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
104
|
+
output,
|
|
105
|
+
parsedBody,
|
|
106
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
107
|
+
errorCode,
|
|
110
108
|
});
|
|
111
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
112
109
|
}
|
|
113
110
|
};
|
|
114
111
|
const deserializeAws_json1_1DeleteScalingPlanCommand = async (output, context) => {
|
|
@@ -130,7 +127,6 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
|
|
|
130
127
|
...output,
|
|
131
128
|
body: await parseBody(output.body, context),
|
|
132
129
|
};
|
|
133
|
-
let response;
|
|
134
130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
135
131
|
switch (errorCode) {
|
|
136
132
|
case "ConcurrentUpdateException":
|
|
@@ -147,14 +143,12 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
|
|
|
147
143
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
148
144
|
default:
|
|
149
145
|
const parsedBody = parsedOutput.body;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
$metadata,
|
|
146
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
147
|
+
output,
|
|
148
|
+
parsedBody,
|
|
149
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
150
|
+
errorCode,
|
|
156
151
|
});
|
|
157
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
158
152
|
}
|
|
159
153
|
};
|
|
160
154
|
const deserializeAws_json1_1DescribeScalingPlanResourcesCommand = async (output, context) => {
|
|
@@ -176,7 +170,6 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
|
|
|
176
170
|
...output,
|
|
177
171
|
body: await parseBody(output.body, context),
|
|
178
172
|
};
|
|
179
|
-
let response;
|
|
180
173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
181
174
|
switch (errorCode) {
|
|
182
175
|
case "ConcurrentUpdateException":
|
|
@@ -193,14 +186,12 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
|
|
|
193
186
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
194
187
|
default:
|
|
195
188
|
const parsedBody = parsedOutput.body;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
$metadata,
|
|
189
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
190
|
+
output,
|
|
191
|
+
parsedBody,
|
|
192
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
193
|
+
errorCode,
|
|
202
194
|
});
|
|
203
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
204
195
|
}
|
|
205
196
|
};
|
|
206
197
|
const deserializeAws_json1_1DescribeScalingPlansCommand = async (output, context) => {
|
|
@@ -222,7 +213,6 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
|
|
|
222
213
|
...output,
|
|
223
214
|
body: await parseBody(output.body, context),
|
|
224
215
|
};
|
|
225
|
-
let response;
|
|
226
216
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
227
217
|
switch (errorCode) {
|
|
228
218
|
case "ConcurrentUpdateException":
|
|
@@ -239,14 +229,12 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
|
|
|
239
229
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
240
230
|
default:
|
|
241
231
|
const parsedBody = parsedOutput.body;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
$metadata,
|
|
232
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
233
|
+
output,
|
|
234
|
+
parsedBody,
|
|
235
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
236
|
+
errorCode,
|
|
248
237
|
});
|
|
249
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
250
238
|
}
|
|
251
239
|
};
|
|
252
240
|
const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = async (output, context) => {
|
|
@@ -268,7 +256,6 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
|
|
|
268
256
|
...output,
|
|
269
257
|
body: await parseBody(output.body, context),
|
|
270
258
|
};
|
|
271
|
-
let response;
|
|
272
259
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
273
260
|
switch (errorCode) {
|
|
274
261
|
case "InternalServiceException":
|
|
@@ -279,14 +266,12 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
|
|
|
279
266
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
280
267
|
default:
|
|
281
268
|
const parsedBody = parsedOutput.body;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
$metadata,
|
|
269
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
270
|
+
output,
|
|
271
|
+
parsedBody,
|
|
272
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
273
|
+
errorCode,
|
|
288
274
|
});
|
|
289
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
290
275
|
}
|
|
291
276
|
};
|
|
292
277
|
const deserializeAws_json1_1UpdateScalingPlanCommand = async (output, context) => {
|
|
@@ -308,7 +293,6 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
|
|
|
308
293
|
...output,
|
|
309
294
|
body: await parseBody(output.body, context),
|
|
310
295
|
};
|
|
311
|
-
let response;
|
|
312
296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
313
297
|
switch (errorCode) {
|
|
314
298
|
case "ConcurrentUpdateException":
|
|
@@ -325,14 +309,12 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
|
|
|
325
309
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
326
310
|
default:
|
|
327
311
|
const parsedBody = parsedOutput.body;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
$metadata,
|
|
312
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
313
|
+
output,
|
|
314
|
+
parsedBody,
|
|
315
|
+
exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
|
|
316
|
+
errorCode,
|
|
334
317
|
});
|
|
335
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
336
318
|
}
|
|
337
319
|
};
|
|
338
320
|
const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -399,9 +381,6 @@ const serializeAws_json1_1ApplicationSources = (input, context) => {
|
|
|
399
381
|
return input
|
|
400
382
|
.filter((e) => e != null)
|
|
401
383
|
.map((entry) => {
|
|
402
|
-
if (entry === null) {
|
|
403
|
-
return null;
|
|
404
|
-
}
|
|
405
384
|
return serializeAws_json1_1ApplicationSource(entry, context);
|
|
406
385
|
});
|
|
407
386
|
};
|
|
@@ -483,9 +462,6 @@ const serializeAws_json1_1MetricDimensions = (input, context) => {
|
|
|
483
462
|
return input
|
|
484
463
|
.filter((e) => e != null)
|
|
485
464
|
.map((entry) => {
|
|
486
|
-
if (entry === null) {
|
|
487
|
-
return null;
|
|
488
|
-
}
|
|
489
465
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
490
466
|
});
|
|
491
467
|
};
|
|
@@ -537,9 +513,6 @@ const serializeAws_json1_1ScalingInstructions = (input, context) => {
|
|
|
537
513
|
return input
|
|
538
514
|
.filter((e) => e != null)
|
|
539
515
|
.map((entry) => {
|
|
540
|
-
if (entry === null) {
|
|
541
|
-
return null;
|
|
542
|
-
}
|
|
543
516
|
return serializeAws_json1_1ScalingInstruction(entry, context);
|
|
544
517
|
});
|
|
545
518
|
};
|
|
@@ -547,9 +520,6 @@ const serializeAws_json1_1ScalingPlanNames = (input, context) => {
|
|
|
547
520
|
return input
|
|
548
521
|
.filter((e) => e != null)
|
|
549
522
|
.map((entry) => {
|
|
550
|
-
if (entry === null) {
|
|
551
|
-
return null;
|
|
552
|
-
}
|
|
553
523
|
return entry;
|
|
554
524
|
});
|
|
555
525
|
};
|
|
@@ -563,9 +533,6 @@ const serializeAws_json1_1TagFilters = (input, context) => {
|
|
|
563
533
|
return input
|
|
564
534
|
.filter((e) => e != null)
|
|
565
535
|
.map((entry) => {
|
|
566
|
-
if (entry === null) {
|
|
567
|
-
return null;
|
|
568
|
-
}
|
|
569
536
|
return serializeAws_json1_1TagFilter(entry, context);
|
|
570
537
|
});
|
|
571
538
|
};
|
|
@@ -573,9 +540,6 @@ const serializeAws_json1_1TagValues = (input, context) => {
|
|
|
573
540
|
return input
|
|
574
541
|
.filter((e) => e != null)
|
|
575
542
|
.map((entry) => {
|
|
576
|
-
if (entry === null) {
|
|
577
|
-
return null;
|
|
578
|
-
}
|
|
579
543
|
return entry;
|
|
580
544
|
});
|
|
581
545
|
};
|
|
@@ -598,9 +562,6 @@ const serializeAws_json1_1TargetTrackingConfigurations = (input, context) => {
|
|
|
598
562
|
return input
|
|
599
563
|
.filter((e) => e != null)
|
|
600
564
|
.map((entry) => {
|
|
601
|
-
if (entry === null) {
|
|
602
|
-
return null;
|
|
603
|
-
}
|
|
604
565
|
return serializeAws_json1_1TargetTrackingConfiguration(entry, context);
|
|
605
566
|
});
|
|
606
567
|
};
|
|
@@ -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, expectLong as __expectLong, 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, expectLong as __expectLong, 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 { AutoScalingPlansServiceException as __BaseException } from "../models/AutoScalingPlansServiceException";
|
|
5
5
|
import { ConcurrentUpdateException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1CreateScalingPlanCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -88,7 +88,7 @@ export var deserializeAws_json1_1CreateScalingPlanCommand = function (output, co
|
|
|
88
88
|
});
|
|
89
89
|
}); };
|
|
90
90
|
var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
91
|
-
var parsedOutput, _a,
|
|
91
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
92
92
|
var _c;
|
|
93
93
|
return __generator(this, function (_d) {
|
|
94
94
|
switch (_d.label) {
|
|
@@ -121,14 +121,14 @@ var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, cont
|
|
|
121
121
|
case 9: throw _d.sent();
|
|
122
122
|
case 10:
|
|
123
123
|
parsedBody = parsedOutput.body;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
$metadata: $metadata,
|
|
124
|
+
throwDefaultError({
|
|
125
|
+
output: output,
|
|
126
|
+
parsedBody: parsedBody,
|
|
127
|
+
exceptionCtor: __BaseException,
|
|
128
|
+
errorCode: errorCode,
|
|
130
129
|
});
|
|
131
|
-
|
|
130
|
+
_d.label = 11;
|
|
131
|
+
case 11: return [2];
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
}); };
|
|
@@ -151,7 +151,7 @@ export var deserializeAws_json1_1DeleteScalingPlanCommand = function (output, co
|
|
|
151
151
|
});
|
|
152
152
|
}); };
|
|
153
153
|
var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
154
|
-
var parsedOutput, _a,
|
|
154
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
155
155
|
var _c;
|
|
156
156
|
return __generator(this, function (_d) {
|
|
157
157
|
switch (_d.label) {
|
|
@@ -184,14 +184,14 @@ var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, cont
|
|
|
184
184
|
case 9: throw _d.sent();
|
|
185
185
|
case 10:
|
|
186
186
|
parsedBody = parsedOutput.body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$metadata: $metadata,
|
|
187
|
+
throwDefaultError({
|
|
188
|
+
output: output,
|
|
189
|
+
parsedBody: parsedBody,
|
|
190
|
+
exceptionCtor: __BaseException,
|
|
191
|
+
errorCode: errorCode,
|
|
193
192
|
});
|
|
194
|
-
|
|
193
|
+
_d.label = 11;
|
|
194
|
+
case 11: return [2];
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
}); };
|
|
@@ -214,7 +214,7 @@ export var deserializeAws_json1_1DescribeScalingPlanResourcesCommand = function
|
|
|
214
214
|
});
|
|
215
215
|
}); };
|
|
216
216
|
var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
217
|
-
var parsedOutput, _a,
|
|
217
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
218
218
|
var _c;
|
|
219
219
|
return __generator(this, function (_d) {
|
|
220
220
|
switch (_d.label) {
|
|
@@ -247,14 +247,14 @@ var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (o
|
|
|
247
247
|
case 9: throw _d.sent();
|
|
248
248
|
case 10:
|
|
249
249
|
parsedBody = parsedOutput.body;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
$metadata: $metadata,
|
|
250
|
+
throwDefaultError({
|
|
251
|
+
output: output,
|
|
252
|
+
parsedBody: parsedBody,
|
|
253
|
+
exceptionCtor: __BaseException,
|
|
254
|
+
errorCode: errorCode,
|
|
256
255
|
});
|
|
257
|
-
|
|
256
|
+
_d.label = 11;
|
|
257
|
+
case 11: return [2];
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}); };
|
|
@@ -277,7 +277,7 @@ export var deserializeAws_json1_1DescribeScalingPlansCommand = function (output,
|
|
|
277
277
|
});
|
|
278
278
|
}); };
|
|
279
279
|
var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
280
|
-
var parsedOutput, _a,
|
|
280
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
281
281
|
var _c;
|
|
282
282
|
return __generator(this, function (_d) {
|
|
283
283
|
switch (_d.label) {
|
|
@@ -310,14 +310,14 @@ var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, c
|
|
|
310
310
|
case 9: throw _d.sent();
|
|
311
311
|
case 10:
|
|
312
312
|
parsedBody = parsedOutput.body;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
$metadata: $metadata,
|
|
313
|
+
throwDefaultError({
|
|
314
|
+
output: output,
|
|
315
|
+
parsedBody: parsedBody,
|
|
316
|
+
exceptionCtor: __BaseException,
|
|
317
|
+
errorCode: errorCode,
|
|
319
318
|
});
|
|
320
|
-
|
|
319
|
+
_d.label = 11;
|
|
320
|
+
case 11: return [2];
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
323
|
}); };
|
|
@@ -340,7 +340,7 @@ export var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = fun
|
|
|
340
340
|
});
|
|
341
341
|
}); };
|
|
342
342
|
var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
343
|
-
var parsedOutput, _a,
|
|
343
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
344
344
|
var _c;
|
|
345
345
|
return __generator(this, function (_d) {
|
|
346
346
|
switch (_d.label) {
|
|
@@ -365,14 +365,14 @@ var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = funct
|
|
|
365
365
|
case 5: throw _d.sent();
|
|
366
366
|
case 6:
|
|
367
367
|
parsedBody = parsedOutput.body;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
$metadata: $metadata,
|
|
368
|
+
throwDefaultError({
|
|
369
|
+
output: output,
|
|
370
|
+
parsedBody: parsedBody,
|
|
371
|
+
exceptionCtor: __BaseException,
|
|
372
|
+
errorCode: errorCode,
|
|
374
373
|
});
|
|
375
|
-
|
|
374
|
+
_d.label = 7;
|
|
375
|
+
case 7: return [2];
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
378
|
}); };
|
|
@@ -395,7 +395,7 @@ export var deserializeAws_json1_1UpdateScalingPlanCommand = function (output, co
|
|
|
395
395
|
});
|
|
396
396
|
}); };
|
|
397
397
|
var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
398
|
-
var parsedOutput, _a,
|
|
398
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
399
399
|
var _c;
|
|
400
400
|
return __generator(this, function (_d) {
|
|
401
401
|
switch (_d.label) {
|
|
@@ -428,14 +428,14 @@ var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, cont
|
|
|
428
428
|
case 9: throw _d.sent();
|
|
429
429
|
case 10:
|
|
430
430
|
parsedBody = parsedOutput.body;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
$metadata: $metadata,
|
|
431
|
+
throwDefaultError({
|
|
432
|
+
output: output,
|
|
433
|
+
parsedBody: parsedBody,
|
|
434
|
+
exceptionCtor: __BaseException,
|
|
435
|
+
errorCode: errorCode,
|
|
437
436
|
});
|
|
438
|
-
|
|
437
|
+
_d.label = 11;
|
|
438
|
+
case 11: return [2];
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
441
|
}); };
|
|
@@ -500,9 +500,6 @@ var serializeAws_json1_1ApplicationSources = function (input, context) {
|
|
|
500
500
|
return input
|
|
501
501
|
.filter(function (e) { return e != null; })
|
|
502
502
|
.map(function (entry) {
|
|
503
|
-
if (entry === null) {
|
|
504
|
-
return null;
|
|
505
|
-
}
|
|
506
503
|
return serializeAws_json1_1ApplicationSource(entry, context);
|
|
507
504
|
});
|
|
508
505
|
};
|
|
@@ -542,9 +539,6 @@ var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
|
542
539
|
return input
|
|
543
540
|
.filter(function (e) { return e != null; })
|
|
544
541
|
.map(function (entry) {
|
|
545
|
-
if (entry === null) {
|
|
546
|
-
return null;
|
|
547
|
-
}
|
|
548
542
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
549
543
|
});
|
|
550
544
|
};
|
|
@@ -575,9 +569,6 @@ var serializeAws_json1_1ScalingInstructions = function (input, context) {
|
|
|
575
569
|
return input
|
|
576
570
|
.filter(function (e) { return e != null; })
|
|
577
571
|
.map(function (entry) {
|
|
578
|
-
if (entry === null) {
|
|
579
|
-
return null;
|
|
580
|
-
}
|
|
581
572
|
return serializeAws_json1_1ScalingInstruction(entry, context);
|
|
582
573
|
});
|
|
583
574
|
};
|
|
@@ -585,9 +576,6 @@ var serializeAws_json1_1ScalingPlanNames = function (input, context) {
|
|
|
585
576
|
return input
|
|
586
577
|
.filter(function (e) { return e != null; })
|
|
587
578
|
.map(function (entry) {
|
|
588
|
-
if (entry === null) {
|
|
589
|
-
return null;
|
|
590
|
-
}
|
|
591
579
|
return entry;
|
|
592
580
|
});
|
|
593
581
|
};
|
|
@@ -598,9 +586,6 @@ var serializeAws_json1_1TagFilters = function (input, context) {
|
|
|
598
586
|
return input
|
|
599
587
|
.filter(function (e) { return e != null; })
|
|
600
588
|
.map(function (entry) {
|
|
601
|
-
if (entry === null) {
|
|
602
|
-
return null;
|
|
603
|
-
}
|
|
604
589
|
return serializeAws_json1_1TagFilter(entry, context);
|
|
605
590
|
});
|
|
606
591
|
};
|
|
@@ -608,9 +593,6 @@ var serializeAws_json1_1TagValues = function (input, context) {
|
|
|
608
593
|
return input
|
|
609
594
|
.filter(function (e) { return e != null; })
|
|
610
595
|
.map(function (entry) {
|
|
611
|
-
if (entry === null) {
|
|
612
|
-
return null;
|
|
613
|
-
}
|
|
614
596
|
return entry;
|
|
615
597
|
});
|
|
616
598
|
};
|
|
@@ -625,9 +607,6 @@ var serializeAws_json1_1TargetTrackingConfigurations = function (input, context)
|
|
|
625
607
|
return input
|
|
626
608
|
.filter(function (e) { return e != null; })
|
|
627
609
|
.map(function (entry) {
|
|
628
|
-
if (entry === null) {
|
|
629
|
-
return null;
|
|
630
|
-
}
|
|
631
610
|
return serializeAws_json1_1TargetTrackingConfiguration(entry, context);
|
|
632
611
|
});
|
|
633
612
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans 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
|
},
|