@aws-sdk/client-auto-scaling-plans 3.118.1 → 3.128.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 +120 -171
- package/dist-es/protocols/Aws_json1_1.js +80 -131
- package/package.json +26 -26
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.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
|
|
@@ -85,8 +85,7 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
|
|
|
85
85
|
body: await parseBody(output.body, context),
|
|
86
86
|
};
|
|
87
87
|
let response;
|
|
88
|
-
|
|
89
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
88
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
90
89
|
switch (errorCode) {
|
|
91
90
|
case "ConcurrentUpdateException":
|
|
92
91
|
case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
|
|
@@ -102,10 +101,12 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
|
|
|
102
101
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
103
102
|
default:
|
|
104
103
|
const parsedBody = parsedOutput.body;
|
|
104
|
+
const $metadata = deserializeMetadata(output);
|
|
105
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
105
106
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
106
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
107
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
107
108
|
$fault: "client",
|
|
108
|
-
$metadata
|
|
109
|
+
$metadata,
|
|
109
110
|
});
|
|
110
111
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
111
112
|
}
|
|
@@ -130,8 +131,7 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
|
|
|
130
131
|
body: await parseBody(output.body, context),
|
|
131
132
|
};
|
|
132
133
|
let response;
|
|
133
|
-
|
|
134
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
134
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
135
135
|
switch (errorCode) {
|
|
136
136
|
case "ConcurrentUpdateException":
|
|
137
137
|
case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
|
|
@@ -147,10 +147,12 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
|
|
|
147
147
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
148
148
|
default:
|
|
149
149
|
const parsedBody = parsedOutput.body;
|
|
150
|
+
const $metadata = deserializeMetadata(output);
|
|
151
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
150
152
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
151
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
153
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
152
154
|
$fault: "client",
|
|
153
|
-
$metadata
|
|
155
|
+
$metadata,
|
|
154
156
|
});
|
|
155
157
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
156
158
|
}
|
|
@@ -175,8 +177,7 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
|
|
|
175
177
|
body: await parseBody(output.body, context),
|
|
176
178
|
};
|
|
177
179
|
let response;
|
|
178
|
-
|
|
179
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
180
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
180
181
|
switch (errorCode) {
|
|
181
182
|
case "ConcurrentUpdateException":
|
|
182
183
|
case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
|
|
@@ -192,10 +193,12 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
|
|
|
192
193
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
193
194
|
default:
|
|
194
195
|
const parsedBody = parsedOutput.body;
|
|
196
|
+
const $metadata = deserializeMetadata(output);
|
|
197
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
195
198
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
196
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
199
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
197
200
|
$fault: "client",
|
|
198
|
-
$metadata
|
|
201
|
+
$metadata,
|
|
199
202
|
});
|
|
200
203
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
201
204
|
}
|
|
@@ -220,8 +223,7 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
|
|
|
220
223
|
body: await parseBody(output.body, context),
|
|
221
224
|
};
|
|
222
225
|
let response;
|
|
223
|
-
|
|
224
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
226
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
225
227
|
switch (errorCode) {
|
|
226
228
|
case "ConcurrentUpdateException":
|
|
227
229
|
case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
|
|
@@ -237,10 +239,12 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
|
|
|
237
239
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
238
240
|
default:
|
|
239
241
|
const parsedBody = parsedOutput.body;
|
|
242
|
+
const $metadata = deserializeMetadata(output);
|
|
243
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
240
244
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
241
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
245
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
242
246
|
$fault: "client",
|
|
243
|
-
$metadata
|
|
247
|
+
$metadata,
|
|
244
248
|
});
|
|
245
249
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
246
250
|
}
|
|
@@ -265,8 +269,7 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
|
|
|
265
269
|
body: await parseBody(output.body, context),
|
|
266
270
|
};
|
|
267
271
|
let response;
|
|
268
|
-
|
|
269
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
272
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
270
273
|
switch (errorCode) {
|
|
271
274
|
case "InternalServiceException":
|
|
272
275
|
case "com.amazonaws.autoscalingplans#InternalServiceException":
|
|
@@ -276,10 +279,12 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
|
|
|
276
279
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
277
280
|
default:
|
|
278
281
|
const parsedBody = parsedOutput.body;
|
|
282
|
+
const $metadata = deserializeMetadata(output);
|
|
283
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
279
284
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
280
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
285
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
281
286
|
$fault: "client",
|
|
282
|
-
$metadata
|
|
287
|
+
$metadata,
|
|
283
288
|
});
|
|
284
289
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
285
290
|
}
|
|
@@ -304,8 +309,7 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
|
|
|
304
309
|
body: await parseBody(output.body, context),
|
|
305
310
|
};
|
|
306
311
|
let response;
|
|
307
|
-
|
|
308
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
312
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
309
313
|
switch (errorCode) {
|
|
310
314
|
case "ConcurrentUpdateException":
|
|
311
315
|
case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
|
|
@@ -321,10 +325,12 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
|
|
|
321
325
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
322
326
|
default:
|
|
323
327
|
const parsedBody = parsedOutput.body;
|
|
328
|
+
const $metadata = deserializeMetadata(output);
|
|
329
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
324
330
|
response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
|
|
325
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
331
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
326
332
|
$fault: "client",
|
|
327
|
-
$metadata
|
|
333
|
+
$metadata,
|
|
328
334
|
});
|
|
329
335
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
330
336
|
}
|
|
@@ -385,10 +391,8 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
385
391
|
};
|
|
386
392
|
const serializeAws_json1_1ApplicationSource = (input, context) => {
|
|
387
393
|
return {
|
|
388
|
-
...(input.CloudFormationStackARN
|
|
389
|
-
|
|
390
|
-
...(input.TagFilters !== undefined &&
|
|
391
|
-
input.TagFilters !== null && { TagFilters: serializeAws_json1_1TagFilters(input.TagFilters, context) }),
|
|
394
|
+
...(input.CloudFormationStackARN != null && { CloudFormationStackARN: input.CloudFormationStackARN }),
|
|
395
|
+
...(input.TagFilters != null && { TagFilters: serializeAws_json1_1TagFilters(input.TagFilters, context) }),
|
|
392
396
|
};
|
|
393
397
|
};
|
|
394
398
|
const serializeAws_json1_1ApplicationSources = (input, context) => {
|
|
@@ -403,95 +407,76 @@ const serializeAws_json1_1ApplicationSources = (input, context) => {
|
|
|
403
407
|
};
|
|
404
408
|
const serializeAws_json1_1CreateScalingPlanRequest = (input, context) => {
|
|
405
409
|
return {
|
|
406
|
-
...(input.ApplicationSource
|
|
407
|
-
input.ApplicationSource !== null && {
|
|
410
|
+
...(input.ApplicationSource != null && {
|
|
408
411
|
ApplicationSource: serializeAws_json1_1ApplicationSource(input.ApplicationSource, context),
|
|
409
412
|
}),
|
|
410
|
-
...(input.ScalingInstructions
|
|
411
|
-
input.ScalingInstructions !== null && {
|
|
413
|
+
...(input.ScalingInstructions != null && {
|
|
412
414
|
ScalingInstructions: serializeAws_json1_1ScalingInstructions(input.ScalingInstructions, context),
|
|
413
415
|
}),
|
|
414
|
-
...(input.ScalingPlanName
|
|
415
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName }),
|
|
416
|
+
...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
|
|
416
417
|
};
|
|
417
418
|
};
|
|
418
419
|
const serializeAws_json1_1CustomizedLoadMetricSpecification = (input, context) => {
|
|
419
420
|
return {
|
|
420
|
-
...(input.Dimensions
|
|
421
|
-
|
|
422
|
-
...(input.
|
|
423
|
-
...(input.
|
|
424
|
-
...(input.
|
|
425
|
-
...(input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }),
|
|
421
|
+
...(input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) }),
|
|
422
|
+
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
423
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
424
|
+
...(input.Statistic != null && { Statistic: input.Statistic }),
|
|
425
|
+
...(input.Unit != null && { Unit: input.Unit }),
|
|
426
426
|
};
|
|
427
427
|
};
|
|
428
428
|
const serializeAws_json1_1CustomizedScalingMetricSpecification = (input, context) => {
|
|
429
429
|
return {
|
|
430
|
-
...(input.Dimensions
|
|
431
|
-
|
|
432
|
-
...(input.
|
|
433
|
-
...(input.
|
|
434
|
-
...(input.
|
|
435
|
-
...(input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }),
|
|
430
|
+
...(input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) }),
|
|
431
|
+
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
432
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
433
|
+
...(input.Statistic != null && { Statistic: input.Statistic }),
|
|
434
|
+
...(input.Unit != null && { Unit: input.Unit }),
|
|
436
435
|
};
|
|
437
436
|
};
|
|
438
437
|
const serializeAws_json1_1DeleteScalingPlanRequest = (input, context) => {
|
|
439
438
|
return {
|
|
440
|
-
...(input.ScalingPlanName
|
|
441
|
-
|
|
442
|
-
...(input.ScalingPlanVersion !== undefined &&
|
|
443
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
439
|
+
...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
|
|
440
|
+
...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
444
441
|
};
|
|
445
442
|
};
|
|
446
443
|
const serializeAws_json1_1DescribeScalingPlanResourcesRequest = (input, context) => {
|
|
447
444
|
return {
|
|
448
|
-
...(input.MaxResults
|
|
449
|
-
...(input.NextToken
|
|
450
|
-
...(input.ScalingPlanName
|
|
451
|
-
|
|
452
|
-
...(input.ScalingPlanVersion !== undefined &&
|
|
453
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
445
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
446
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
447
|
+
...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
|
|
448
|
+
...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
454
449
|
};
|
|
455
450
|
};
|
|
456
451
|
const serializeAws_json1_1DescribeScalingPlansRequest = (input, context) => {
|
|
457
452
|
return {
|
|
458
|
-
...(input.ApplicationSources
|
|
459
|
-
input.ApplicationSources !== null && {
|
|
453
|
+
...(input.ApplicationSources != null && {
|
|
460
454
|
ApplicationSources: serializeAws_json1_1ApplicationSources(input.ApplicationSources, context),
|
|
461
455
|
}),
|
|
462
|
-
...(input.MaxResults
|
|
463
|
-
...(input.NextToken
|
|
464
|
-
...(input.ScalingPlanNames
|
|
465
|
-
input.ScalingPlanNames !== null && {
|
|
456
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
457
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
458
|
+
...(input.ScalingPlanNames != null && {
|
|
466
459
|
ScalingPlanNames: serializeAws_json1_1ScalingPlanNames(input.ScalingPlanNames, context),
|
|
467
460
|
}),
|
|
468
|
-
...(input.ScalingPlanVersion
|
|
469
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
461
|
+
...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
470
462
|
};
|
|
471
463
|
};
|
|
472
464
|
const serializeAws_json1_1GetScalingPlanResourceForecastDataRequest = (input, context) => {
|
|
473
465
|
return {
|
|
474
|
-
...(input.EndTime
|
|
475
|
-
|
|
476
|
-
...(input.
|
|
477
|
-
|
|
478
|
-
...(input.
|
|
479
|
-
...(input.
|
|
480
|
-
|
|
481
|
-
...(input.
|
|
482
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName }),
|
|
483
|
-
...(input.ScalingPlanVersion !== undefined &&
|
|
484
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
485
|
-
...(input.ServiceNamespace !== undefined &&
|
|
486
|
-
input.ServiceNamespace !== null && { ServiceNamespace: input.ServiceNamespace }),
|
|
487
|
-
...(input.StartTime !== undefined &&
|
|
488
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
466
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
467
|
+
...(input.ForecastDataType != null && { ForecastDataType: input.ForecastDataType }),
|
|
468
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
469
|
+
...(input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension }),
|
|
470
|
+
...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
|
|
471
|
+
...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
472
|
+
...(input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace }),
|
|
473
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
489
474
|
};
|
|
490
475
|
};
|
|
491
476
|
const serializeAws_json1_1MetricDimension = (input, context) => {
|
|
492
477
|
return {
|
|
493
|
-
...(input.Name
|
|
494
|
-
...(input.Value
|
|
478
|
+
...(input.Name != null && { Name: input.Name }),
|
|
479
|
+
...(input.Value != null && { Value: input.Value }),
|
|
495
480
|
};
|
|
496
481
|
};
|
|
497
482
|
const serializeAws_json1_1MetricDimensions = (input, context) => {
|
|
@@ -506,53 +491,44 @@ const serializeAws_json1_1MetricDimensions = (input, context) => {
|
|
|
506
491
|
};
|
|
507
492
|
const serializeAws_json1_1PredefinedLoadMetricSpecification = (input, context) => {
|
|
508
493
|
return {
|
|
509
|
-
...(input.PredefinedLoadMetricType
|
|
510
|
-
|
|
511
|
-
...(input.ResourceLabel !== undefined && input.ResourceLabel !== null && { ResourceLabel: input.ResourceLabel }),
|
|
494
|
+
...(input.PredefinedLoadMetricType != null && { PredefinedLoadMetricType: input.PredefinedLoadMetricType }),
|
|
495
|
+
...(input.ResourceLabel != null && { ResourceLabel: input.ResourceLabel }),
|
|
512
496
|
};
|
|
513
497
|
};
|
|
514
498
|
const serializeAws_json1_1PredefinedScalingMetricSpecification = (input, context) => {
|
|
515
499
|
return {
|
|
516
|
-
...(input.PredefinedScalingMetricType
|
|
517
|
-
|
|
518
|
-
|
|
500
|
+
...(input.PredefinedScalingMetricType != null && {
|
|
501
|
+
PredefinedScalingMetricType: input.PredefinedScalingMetricType,
|
|
502
|
+
}),
|
|
503
|
+
...(input.ResourceLabel != null && { ResourceLabel: input.ResourceLabel }),
|
|
519
504
|
};
|
|
520
505
|
};
|
|
521
506
|
const serializeAws_json1_1ScalingInstruction = (input, context) => {
|
|
522
507
|
return {
|
|
523
|
-
...(input.CustomizedLoadMetricSpecification
|
|
524
|
-
input.CustomizedLoadMetricSpecification !== null && {
|
|
508
|
+
...(input.CustomizedLoadMetricSpecification != null && {
|
|
525
509
|
CustomizedLoadMetricSpecification: serializeAws_json1_1CustomizedLoadMetricSpecification(input.CustomizedLoadMetricSpecification, context),
|
|
526
510
|
}),
|
|
527
|
-
...(input.DisableDynamicScaling
|
|
528
|
-
|
|
529
|
-
...(input.
|
|
530
|
-
...(input.
|
|
531
|
-
...(input.PredefinedLoadMetricSpecification !== undefined &&
|
|
532
|
-
input.PredefinedLoadMetricSpecification !== null && {
|
|
511
|
+
...(input.DisableDynamicScaling != null && { DisableDynamicScaling: input.DisableDynamicScaling }),
|
|
512
|
+
...(input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity }),
|
|
513
|
+
...(input.MinCapacity != null && { MinCapacity: input.MinCapacity }),
|
|
514
|
+
...(input.PredefinedLoadMetricSpecification != null && {
|
|
533
515
|
PredefinedLoadMetricSpecification: serializeAws_json1_1PredefinedLoadMetricSpecification(input.PredefinedLoadMetricSpecification, context),
|
|
534
516
|
}),
|
|
535
|
-
...(input.PredictiveScalingMaxCapacityBehavior
|
|
536
|
-
input.PredictiveScalingMaxCapacityBehavior !== null && {
|
|
517
|
+
...(input.PredictiveScalingMaxCapacityBehavior != null && {
|
|
537
518
|
PredictiveScalingMaxCapacityBehavior: input.PredictiveScalingMaxCapacityBehavior,
|
|
538
519
|
}),
|
|
539
|
-
...(input.PredictiveScalingMaxCapacityBuffer
|
|
540
|
-
input.PredictiveScalingMaxCapacityBuffer !== null && {
|
|
520
|
+
...(input.PredictiveScalingMaxCapacityBuffer != null && {
|
|
541
521
|
PredictiveScalingMaxCapacityBuffer: input.PredictiveScalingMaxCapacityBuffer,
|
|
542
522
|
}),
|
|
543
|
-
...(input.PredictiveScalingMode
|
|
544
|
-
|
|
545
|
-
...(input.
|
|
546
|
-
...(input.
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
...(input.
|
|
551
|
-
|
|
552
|
-
...(input.ServiceNamespace !== undefined &&
|
|
553
|
-
input.ServiceNamespace !== null && { ServiceNamespace: input.ServiceNamespace }),
|
|
554
|
-
...(input.TargetTrackingConfigurations !== undefined &&
|
|
555
|
-
input.TargetTrackingConfigurations !== null && {
|
|
523
|
+
...(input.PredictiveScalingMode != null && { PredictiveScalingMode: input.PredictiveScalingMode }),
|
|
524
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
525
|
+
...(input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension }),
|
|
526
|
+
...(input.ScalingPolicyUpdateBehavior != null && {
|
|
527
|
+
ScalingPolicyUpdateBehavior: input.ScalingPolicyUpdateBehavior,
|
|
528
|
+
}),
|
|
529
|
+
...(input.ScheduledActionBufferTime != null && { ScheduledActionBufferTime: input.ScheduledActionBufferTime }),
|
|
530
|
+
...(input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace }),
|
|
531
|
+
...(input.TargetTrackingConfigurations != null && {
|
|
556
532
|
TargetTrackingConfigurations: serializeAws_json1_1TargetTrackingConfigurations(input.TargetTrackingConfigurations, context),
|
|
557
533
|
}),
|
|
558
534
|
};
|
|
@@ -579,9 +555,8 @@ const serializeAws_json1_1ScalingPlanNames = (input, context) => {
|
|
|
579
555
|
};
|
|
580
556
|
const serializeAws_json1_1TagFilter = (input, context) => {
|
|
581
557
|
return {
|
|
582
|
-
...(input.Key
|
|
583
|
-
...(input.Values
|
|
584
|
-
input.Values !== null && { Values: serializeAws_json1_1TagValues(input.Values, context) }),
|
|
558
|
+
...(input.Key != null && { Key: input.Key }),
|
|
559
|
+
...(input.Values != null && { Values: serializeAws_json1_1TagValues(input.Values, context) }),
|
|
585
560
|
};
|
|
586
561
|
};
|
|
587
562
|
const serializeAws_json1_1TagFilters = (input, context) => {
|
|
@@ -606,24 +581,17 @@ const serializeAws_json1_1TagValues = (input, context) => {
|
|
|
606
581
|
};
|
|
607
582
|
const serializeAws_json1_1TargetTrackingConfiguration = (input, context) => {
|
|
608
583
|
return {
|
|
609
|
-
...(input.CustomizedScalingMetricSpecification
|
|
610
|
-
input.CustomizedScalingMetricSpecification !== null && {
|
|
584
|
+
...(input.CustomizedScalingMetricSpecification != null && {
|
|
611
585
|
CustomizedScalingMetricSpecification: serializeAws_json1_1CustomizedScalingMetricSpecification(input.CustomizedScalingMetricSpecification, context),
|
|
612
586
|
}),
|
|
613
|
-
...(input.DisableScaleIn
|
|
614
|
-
|
|
615
|
-
...(input.
|
|
616
|
-
input.EstimatedInstanceWarmup !== null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup }),
|
|
617
|
-
...(input.PredefinedScalingMetricSpecification !== undefined &&
|
|
618
|
-
input.PredefinedScalingMetricSpecification !== null && {
|
|
587
|
+
...(input.DisableScaleIn != null && { DisableScaleIn: input.DisableScaleIn }),
|
|
588
|
+
...(input.EstimatedInstanceWarmup != null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup }),
|
|
589
|
+
...(input.PredefinedScalingMetricSpecification != null && {
|
|
619
590
|
PredefinedScalingMetricSpecification: serializeAws_json1_1PredefinedScalingMetricSpecification(input.PredefinedScalingMetricSpecification, context),
|
|
620
591
|
}),
|
|
621
|
-
...(input.ScaleInCooldown
|
|
622
|
-
|
|
623
|
-
...(input.
|
|
624
|
-
input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown }),
|
|
625
|
-
...(input.TargetValue !== undefined &&
|
|
626
|
-
input.TargetValue !== null && { TargetValue: (0, smithy_client_1.serializeFloat)(input.TargetValue) }),
|
|
592
|
+
...(input.ScaleInCooldown != null && { ScaleInCooldown: input.ScaleInCooldown }),
|
|
593
|
+
...(input.ScaleOutCooldown != null && { ScaleOutCooldown: input.ScaleOutCooldown }),
|
|
594
|
+
...(input.TargetValue != null && { TargetValue: (0, smithy_client_1.serializeFloat)(input.TargetValue) }),
|
|
627
595
|
};
|
|
628
596
|
};
|
|
629
597
|
const serializeAws_json1_1TargetTrackingConfigurations = (input, context) => {
|
|
@@ -638,26 +606,20 @@ const serializeAws_json1_1TargetTrackingConfigurations = (input, context) => {
|
|
|
638
606
|
};
|
|
639
607
|
const serializeAws_json1_1UpdateScalingPlanRequest = (input, context) => {
|
|
640
608
|
return {
|
|
641
|
-
...(input.ApplicationSource
|
|
642
|
-
input.ApplicationSource !== null && {
|
|
609
|
+
...(input.ApplicationSource != null && {
|
|
643
610
|
ApplicationSource: serializeAws_json1_1ApplicationSource(input.ApplicationSource, context),
|
|
644
611
|
}),
|
|
645
|
-
...(input.ScalingInstructions
|
|
646
|
-
input.ScalingInstructions !== null && {
|
|
612
|
+
...(input.ScalingInstructions != null && {
|
|
647
613
|
ScalingInstructions: serializeAws_json1_1ScalingInstructions(input.ScalingInstructions, context),
|
|
648
614
|
}),
|
|
649
|
-
...(input.ScalingPlanName
|
|
650
|
-
|
|
651
|
-
...(input.ScalingPlanVersion !== undefined &&
|
|
652
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
615
|
+
...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
|
|
616
|
+
...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
|
|
653
617
|
};
|
|
654
618
|
};
|
|
655
619
|
const deserializeAws_json1_1ApplicationSource = (output, context) => {
|
|
656
620
|
return {
|
|
657
621
|
CloudFormationStackARN: (0, smithy_client_1.expectString)(output.CloudFormationStackARN),
|
|
658
|
-
TagFilters: output.TagFilters
|
|
659
|
-
? deserializeAws_json1_1TagFilters(output.TagFilters, context)
|
|
660
|
-
: undefined,
|
|
622
|
+
TagFilters: output.TagFilters != null ? deserializeAws_json1_1TagFilters(output.TagFilters, context) : undefined,
|
|
661
623
|
};
|
|
662
624
|
};
|
|
663
625
|
const deserializeAws_json1_1ConcurrentUpdateException = (output, context) => {
|
|
@@ -672,9 +634,7 @@ const deserializeAws_json1_1CreateScalingPlanResponse = (output, context) => {
|
|
|
672
634
|
};
|
|
673
635
|
const deserializeAws_json1_1CustomizedLoadMetricSpecification = (output, context) => {
|
|
674
636
|
return {
|
|
675
|
-
Dimensions: output.Dimensions
|
|
676
|
-
? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
|
|
677
|
-
: undefined,
|
|
637
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
678
638
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
679
639
|
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
680
640
|
Statistic: (0, smithy_client_1.expectString)(output.Statistic),
|
|
@@ -683,9 +643,7 @@ const deserializeAws_json1_1CustomizedLoadMetricSpecification = (output, context
|
|
|
683
643
|
};
|
|
684
644
|
const deserializeAws_json1_1CustomizedScalingMetricSpecification = (output, context) => {
|
|
685
645
|
return {
|
|
686
|
-
Dimensions: output.Dimensions
|
|
687
|
-
? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
|
|
688
|
-
: undefined,
|
|
646
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
689
647
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
690
648
|
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
691
649
|
Statistic: (0, smithy_client_1.expectString)(output.Statistic),
|
|
@@ -694,9 +652,7 @@ const deserializeAws_json1_1CustomizedScalingMetricSpecification = (output, cont
|
|
|
694
652
|
};
|
|
695
653
|
const deserializeAws_json1_1Datapoint = (output, context) => {
|
|
696
654
|
return {
|
|
697
|
-
Timestamp: output.Timestamp
|
|
698
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
|
|
699
|
-
: undefined,
|
|
655
|
+
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
700
656
|
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
701
657
|
};
|
|
702
658
|
};
|
|
@@ -717,7 +673,7 @@ const deserializeAws_json1_1DeleteScalingPlanResponse = (output, context) => {
|
|
|
717
673
|
const deserializeAws_json1_1DescribeScalingPlanResourcesResponse = (output, context) => {
|
|
718
674
|
return {
|
|
719
675
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
720
|
-
ScalingPlanResources: output.ScalingPlanResources
|
|
676
|
+
ScalingPlanResources: output.ScalingPlanResources != null
|
|
721
677
|
? deserializeAws_json1_1ScalingPlanResources(output.ScalingPlanResources, context)
|
|
722
678
|
: undefined,
|
|
723
679
|
};
|
|
@@ -725,16 +681,12 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesResponse = (output, cont
|
|
|
725
681
|
const deserializeAws_json1_1DescribeScalingPlansResponse = (output, context) => {
|
|
726
682
|
return {
|
|
727
683
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
728
|
-
ScalingPlans: output.ScalingPlans
|
|
729
|
-
? deserializeAws_json1_1ScalingPlans(output.ScalingPlans, context)
|
|
730
|
-
: undefined,
|
|
684
|
+
ScalingPlans: output.ScalingPlans != null ? deserializeAws_json1_1ScalingPlans(output.ScalingPlans, context) : undefined,
|
|
731
685
|
};
|
|
732
686
|
};
|
|
733
687
|
const deserializeAws_json1_1GetScalingPlanResourceForecastDataResponse = (output, context) => {
|
|
734
688
|
return {
|
|
735
|
-
Datapoints: output.Datapoints
|
|
736
|
-
? deserializeAws_json1_1Datapoints(output.Datapoints, context)
|
|
737
|
-
: undefined,
|
|
689
|
+
Datapoints: output.Datapoints != null ? deserializeAws_json1_1Datapoints(output.Datapoints, context) : undefined,
|
|
738
690
|
};
|
|
739
691
|
};
|
|
740
692
|
const deserializeAws_json1_1InternalServiceException = (output, context) => {
|
|
@@ -788,13 +740,13 @@ const deserializeAws_json1_1PredefinedScalingMetricSpecification = (output, cont
|
|
|
788
740
|
};
|
|
789
741
|
const deserializeAws_json1_1ScalingInstruction = (output, context) => {
|
|
790
742
|
return {
|
|
791
|
-
CustomizedLoadMetricSpecification: output.CustomizedLoadMetricSpecification
|
|
743
|
+
CustomizedLoadMetricSpecification: output.CustomizedLoadMetricSpecification != null
|
|
792
744
|
? deserializeAws_json1_1CustomizedLoadMetricSpecification(output.CustomizedLoadMetricSpecification, context)
|
|
793
745
|
: undefined,
|
|
794
746
|
DisableDynamicScaling: (0, smithy_client_1.expectBoolean)(output.DisableDynamicScaling),
|
|
795
747
|
MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
|
|
796
748
|
MinCapacity: (0, smithy_client_1.expectInt32)(output.MinCapacity),
|
|
797
|
-
PredefinedLoadMetricSpecification: output.PredefinedLoadMetricSpecification
|
|
749
|
+
PredefinedLoadMetricSpecification: output.PredefinedLoadMetricSpecification != null
|
|
798
750
|
? deserializeAws_json1_1PredefinedLoadMetricSpecification(output.PredefinedLoadMetricSpecification, context)
|
|
799
751
|
: undefined,
|
|
800
752
|
PredictiveScalingMaxCapacityBehavior: (0, smithy_client_1.expectString)(output.PredictiveScalingMaxCapacityBehavior),
|
|
@@ -805,7 +757,7 @@ const deserializeAws_json1_1ScalingInstruction = (output, context) => {
|
|
|
805
757
|
ScalingPolicyUpdateBehavior: (0, smithy_client_1.expectString)(output.ScalingPolicyUpdateBehavior),
|
|
806
758
|
ScheduledActionBufferTime: (0, smithy_client_1.expectInt32)(output.ScheduledActionBufferTime),
|
|
807
759
|
ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
|
|
808
|
-
TargetTrackingConfigurations: output.TargetTrackingConfigurations
|
|
760
|
+
TargetTrackingConfigurations: output.TargetTrackingConfigurations != null
|
|
809
761
|
? deserializeAws_json1_1TargetTrackingConfigurations(output.TargetTrackingConfigurations, context)
|
|
810
762
|
: undefined,
|
|
811
763
|
};
|
|
@@ -823,20 +775,20 @@ const deserializeAws_json1_1ScalingInstructions = (output, context) => {
|
|
|
823
775
|
};
|
|
824
776
|
const deserializeAws_json1_1ScalingPlan = (output, context) => {
|
|
825
777
|
return {
|
|
826
|
-
ApplicationSource: output.ApplicationSource
|
|
778
|
+
ApplicationSource: output.ApplicationSource != null
|
|
827
779
|
? deserializeAws_json1_1ApplicationSource(output.ApplicationSource, context)
|
|
828
780
|
: undefined,
|
|
829
|
-
CreationTime: output.CreationTime
|
|
781
|
+
CreationTime: output.CreationTime != null
|
|
830
782
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
831
783
|
: undefined,
|
|
832
|
-
ScalingInstructions: output.ScalingInstructions
|
|
784
|
+
ScalingInstructions: output.ScalingInstructions != null
|
|
833
785
|
? deserializeAws_json1_1ScalingInstructions(output.ScalingInstructions, context)
|
|
834
786
|
: undefined,
|
|
835
787
|
ScalingPlanName: (0, smithy_client_1.expectString)(output.ScalingPlanName),
|
|
836
788
|
ScalingPlanVersion: (0, smithy_client_1.expectLong)(output.ScalingPlanVersion),
|
|
837
789
|
StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
|
|
838
790
|
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
839
|
-
StatusStartTime: output.StatusStartTime
|
|
791
|
+
StatusStartTime: output.StatusStartTime != null
|
|
840
792
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusStartTime)))
|
|
841
793
|
: undefined,
|
|
842
794
|
};
|
|
@@ -847,7 +799,7 @@ const deserializeAws_json1_1ScalingPlanResource = (output, context) => {
|
|
|
847
799
|
ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
|
|
848
800
|
ScalingPlanName: (0, smithy_client_1.expectString)(output.ScalingPlanName),
|
|
849
801
|
ScalingPlanVersion: (0, smithy_client_1.expectLong)(output.ScalingPlanVersion),
|
|
850
|
-
ScalingPolicies: output.ScalingPolicies
|
|
802
|
+
ScalingPolicies: output.ScalingPolicies != null
|
|
851
803
|
? deserializeAws_json1_1ScalingPolicies(output.ScalingPolicies, context)
|
|
852
804
|
: undefined,
|
|
853
805
|
ScalingStatusCode: (0, smithy_client_1.expectString)(output.ScalingStatusCode),
|
|
@@ -892,7 +844,7 @@ const deserializeAws_json1_1ScalingPolicy = (output, context) => {
|
|
|
892
844
|
return {
|
|
893
845
|
PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
|
|
894
846
|
PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
|
|
895
|
-
TargetTrackingConfiguration: output.TargetTrackingConfiguration
|
|
847
|
+
TargetTrackingConfiguration: output.TargetTrackingConfiguration != null
|
|
896
848
|
? deserializeAws_json1_1TargetTrackingConfiguration(output.TargetTrackingConfiguration, context)
|
|
897
849
|
: undefined,
|
|
898
850
|
};
|
|
@@ -900,9 +852,7 @@ const deserializeAws_json1_1ScalingPolicy = (output, context) => {
|
|
|
900
852
|
const deserializeAws_json1_1TagFilter = (output, context) => {
|
|
901
853
|
return {
|
|
902
854
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
903
|
-
Values: output.Values
|
|
904
|
-
? deserializeAws_json1_1TagValues(output.Values, context)
|
|
905
|
-
: undefined,
|
|
855
|
+
Values: output.Values != null ? deserializeAws_json1_1TagValues(output.Values, context) : undefined,
|
|
906
856
|
};
|
|
907
857
|
};
|
|
908
858
|
const deserializeAws_json1_1TagFilters = (output, context) => {
|
|
@@ -929,12 +879,12 @@ const deserializeAws_json1_1TagValues = (output, context) => {
|
|
|
929
879
|
};
|
|
930
880
|
const deserializeAws_json1_1TargetTrackingConfiguration = (output, context) => {
|
|
931
881
|
return {
|
|
932
|
-
CustomizedScalingMetricSpecification: output.CustomizedScalingMetricSpecification
|
|
882
|
+
CustomizedScalingMetricSpecification: output.CustomizedScalingMetricSpecification != null
|
|
933
883
|
? deserializeAws_json1_1CustomizedScalingMetricSpecification(output.CustomizedScalingMetricSpecification, context)
|
|
934
884
|
: undefined,
|
|
935
885
|
DisableScaleIn: (0, smithy_client_1.expectBoolean)(output.DisableScaleIn),
|
|
936
886
|
EstimatedInstanceWarmup: (0, smithy_client_1.expectInt32)(output.EstimatedInstanceWarmup),
|
|
937
|
-
PredefinedScalingMetricSpecification: output.PredefinedScalingMetricSpecification
|
|
887
|
+
PredefinedScalingMetricSpecification: output.PredefinedScalingMetricSpecification != null
|
|
938
888
|
? deserializeAws_json1_1PredefinedScalingMetricSpecification(output.PredefinedScalingMetricSpecification, context)
|
|
939
889
|
: undefined,
|
|
940
890
|
ScaleInCooldown: (0, smithy_client_1.expectInt32)(output.ScaleInCooldown),
|
|
@@ -1023,5 +973,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1023
973
|
if (data["__type"] !== undefined) {
|
|
1024
974
|
return sanitizeErrorCode(data["__type"]);
|
|
1025
975
|
}
|
|
1026
|
-
return "";
|
|
1027
976
|
};
|
|
@@ -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, response, errorCode, _b, parsedBody;
|
|
91
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
92
92
|
var _c;
|
|
93
93
|
return __generator(this, function (_d) {
|
|
94
94
|
switch (_d.label) {
|
|
@@ -98,7 +98,6 @@ var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, cont
|
|
|
98
98
|
return [4, parseBody(output.body, context)];
|
|
99
99
|
case 1:
|
|
100
100
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
101
|
-
errorCode = "UnknownError";
|
|
102
101
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
103
102
|
_b = errorCode;
|
|
104
103
|
switch (_b) {
|
|
@@ -122,10 +121,12 @@ var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, cont
|
|
|
122
121
|
case 9: throw _d.sent();
|
|
123
122
|
case 10:
|
|
124
123
|
parsedBody = parsedOutput.body;
|
|
124
|
+
$metadata = deserializeMetadata(output);
|
|
125
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
125
126
|
response = new __BaseException({
|
|
126
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
127
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
127
128
|
$fault: "client",
|
|
128
|
-
$metadata:
|
|
129
|
+
$metadata: $metadata,
|
|
129
130
|
});
|
|
130
131
|
throw __decorateServiceException(response, parsedBody);
|
|
131
132
|
}
|
|
@@ -150,7 +151,7 @@ export var deserializeAws_json1_1DeleteScalingPlanCommand = function (output, co
|
|
|
150
151
|
});
|
|
151
152
|
}); };
|
|
152
153
|
var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
153
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
154
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
154
155
|
var _c;
|
|
155
156
|
return __generator(this, function (_d) {
|
|
156
157
|
switch (_d.label) {
|
|
@@ -160,7 +161,6 @@ var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, cont
|
|
|
160
161
|
return [4, parseBody(output.body, context)];
|
|
161
162
|
case 1:
|
|
162
163
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
163
|
-
errorCode = "UnknownError";
|
|
164
164
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
165
165
|
_b = errorCode;
|
|
166
166
|
switch (_b) {
|
|
@@ -184,10 +184,12 @@ var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, cont
|
|
|
184
184
|
case 9: throw _d.sent();
|
|
185
185
|
case 10:
|
|
186
186
|
parsedBody = parsedOutput.body;
|
|
187
|
+
$metadata = deserializeMetadata(output);
|
|
188
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
187
189
|
response = new __BaseException({
|
|
188
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
190
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
189
191
|
$fault: "client",
|
|
190
|
-
$metadata:
|
|
192
|
+
$metadata: $metadata,
|
|
191
193
|
});
|
|
192
194
|
throw __decorateServiceException(response, parsedBody);
|
|
193
195
|
}
|
|
@@ -212,7 +214,7 @@ export var deserializeAws_json1_1DescribeScalingPlanResourcesCommand = function
|
|
|
212
214
|
});
|
|
213
215
|
}); };
|
|
214
216
|
var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
215
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
217
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
216
218
|
var _c;
|
|
217
219
|
return __generator(this, function (_d) {
|
|
218
220
|
switch (_d.label) {
|
|
@@ -222,7 +224,6 @@ var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (o
|
|
|
222
224
|
return [4, parseBody(output.body, context)];
|
|
223
225
|
case 1:
|
|
224
226
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
225
|
-
errorCode = "UnknownError";
|
|
226
227
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
227
228
|
_b = errorCode;
|
|
228
229
|
switch (_b) {
|
|
@@ -246,10 +247,12 @@ var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (o
|
|
|
246
247
|
case 9: throw _d.sent();
|
|
247
248
|
case 10:
|
|
248
249
|
parsedBody = parsedOutput.body;
|
|
250
|
+
$metadata = deserializeMetadata(output);
|
|
251
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
249
252
|
response = new __BaseException({
|
|
250
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
253
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
251
254
|
$fault: "client",
|
|
252
|
-
$metadata:
|
|
255
|
+
$metadata: $metadata,
|
|
253
256
|
});
|
|
254
257
|
throw __decorateServiceException(response, parsedBody);
|
|
255
258
|
}
|
|
@@ -274,7 +277,7 @@ export var deserializeAws_json1_1DescribeScalingPlansCommand = function (output,
|
|
|
274
277
|
});
|
|
275
278
|
}); };
|
|
276
279
|
var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
277
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
280
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
278
281
|
var _c;
|
|
279
282
|
return __generator(this, function (_d) {
|
|
280
283
|
switch (_d.label) {
|
|
@@ -284,7 +287,6 @@ var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, c
|
|
|
284
287
|
return [4, parseBody(output.body, context)];
|
|
285
288
|
case 1:
|
|
286
289
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
287
|
-
errorCode = "UnknownError";
|
|
288
290
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
289
291
|
_b = errorCode;
|
|
290
292
|
switch (_b) {
|
|
@@ -308,10 +310,12 @@ var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, c
|
|
|
308
310
|
case 9: throw _d.sent();
|
|
309
311
|
case 10:
|
|
310
312
|
parsedBody = parsedOutput.body;
|
|
313
|
+
$metadata = deserializeMetadata(output);
|
|
314
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
311
315
|
response = new __BaseException({
|
|
312
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
316
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
313
317
|
$fault: "client",
|
|
314
|
-
$metadata:
|
|
318
|
+
$metadata: $metadata,
|
|
315
319
|
});
|
|
316
320
|
throw __decorateServiceException(response, parsedBody);
|
|
317
321
|
}
|
|
@@ -336,7 +340,7 @@ export var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = fun
|
|
|
336
340
|
});
|
|
337
341
|
}); };
|
|
338
342
|
var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
339
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
343
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
340
344
|
var _c;
|
|
341
345
|
return __generator(this, function (_d) {
|
|
342
346
|
switch (_d.label) {
|
|
@@ -346,7 +350,6 @@ var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = funct
|
|
|
346
350
|
return [4, parseBody(output.body, context)];
|
|
347
351
|
case 1:
|
|
348
352
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
349
|
-
errorCode = "UnknownError";
|
|
350
353
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
351
354
|
_b = errorCode;
|
|
352
355
|
switch (_b) {
|
|
@@ -362,10 +365,12 @@ var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = funct
|
|
|
362
365
|
case 5: throw _d.sent();
|
|
363
366
|
case 6:
|
|
364
367
|
parsedBody = parsedOutput.body;
|
|
368
|
+
$metadata = deserializeMetadata(output);
|
|
369
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
365
370
|
response = new __BaseException({
|
|
366
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
371
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
367
372
|
$fault: "client",
|
|
368
|
-
$metadata:
|
|
373
|
+
$metadata: $metadata,
|
|
369
374
|
});
|
|
370
375
|
throw __decorateServiceException(response, parsedBody);
|
|
371
376
|
}
|
|
@@ -390,7 +395,7 @@ export var deserializeAws_json1_1UpdateScalingPlanCommand = function (output, co
|
|
|
390
395
|
});
|
|
391
396
|
}); };
|
|
392
397
|
var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
393
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
398
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
394
399
|
var _c;
|
|
395
400
|
return __generator(this, function (_d) {
|
|
396
401
|
switch (_d.label) {
|
|
@@ -400,7 +405,6 @@ var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, cont
|
|
|
400
405
|
return [4, parseBody(output.body, context)];
|
|
401
406
|
case 1:
|
|
402
407
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
403
|
-
errorCode = "UnknownError";
|
|
404
408
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
405
409
|
_b = errorCode;
|
|
406
410
|
switch (_b) {
|
|
@@ -424,10 +428,12 @@ var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, cont
|
|
|
424
428
|
case 9: throw _d.sent();
|
|
425
429
|
case 10:
|
|
426
430
|
parsedBody = parsedOutput.body;
|
|
431
|
+
$metadata = deserializeMetadata(output);
|
|
432
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
427
433
|
response = new __BaseException({
|
|
428
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
434
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
429
435
|
$fault: "client",
|
|
430
|
-
$metadata:
|
|
436
|
+
$metadata: $metadata,
|
|
431
437
|
});
|
|
432
438
|
throw __decorateServiceException(response, parsedBody);
|
|
433
439
|
}
|
|
@@ -488,9 +494,7 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
488
494
|
});
|
|
489
495
|
}); };
|
|
490
496
|
var serializeAws_json1_1ApplicationSource = function (input, context) {
|
|
491
|
-
return __assign(__assign({}, (input.CloudFormationStackARN
|
|
492
|
-
input.CloudFormationStackARN !== null && { CloudFormationStackARN: input.CloudFormationStackARN })), (input.TagFilters !== undefined &&
|
|
493
|
-
input.TagFilters !== null && { TagFilters: serializeAws_json1_1TagFilters(input.TagFilters, context) }));
|
|
497
|
+
return __assign(__assign({}, (input.CloudFormationStackARN != null && { CloudFormationStackARN: input.CloudFormationStackARN })), (input.TagFilters != null && { TagFilters: serializeAws_json1_1TagFilters(input.TagFilters, context) }));
|
|
494
498
|
};
|
|
495
499
|
var serializeAws_json1_1ApplicationSources = function (input, context) {
|
|
496
500
|
return input
|
|
@@ -503,55 +507,36 @@ var serializeAws_json1_1ApplicationSources = function (input, context) {
|
|
|
503
507
|
});
|
|
504
508
|
};
|
|
505
509
|
var serializeAws_json1_1CreateScalingPlanRequest = function (input, context) {
|
|
506
|
-
return __assign(__assign(__assign({}, (input.ApplicationSource
|
|
507
|
-
input.ApplicationSource !== null && {
|
|
510
|
+
return __assign(__assign(__assign({}, (input.ApplicationSource != null && {
|
|
508
511
|
ApplicationSource: serializeAws_json1_1ApplicationSource(input.ApplicationSource, context),
|
|
509
|
-
})), (input.ScalingInstructions
|
|
510
|
-
input.ScalingInstructions !== null && {
|
|
512
|
+
})), (input.ScalingInstructions != null && {
|
|
511
513
|
ScalingInstructions: serializeAws_json1_1ScalingInstructions(input.ScalingInstructions, context),
|
|
512
|
-
})), (input.ScalingPlanName
|
|
513
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName }));
|
|
514
|
+
})), (input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }));
|
|
514
515
|
};
|
|
515
516
|
var serializeAws_json1_1CustomizedLoadMetricSpecification = function (input, context) {
|
|
516
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Dimensions
|
|
517
|
-
input.Dimensions !== null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) })), (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic })), (input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }));
|
|
517
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) })), (input.MetricName != null && { MetricName: input.MetricName })), (input.Namespace != null && { Namespace: input.Namespace })), (input.Statistic != null && { Statistic: input.Statistic })), (input.Unit != null && { Unit: input.Unit }));
|
|
518
518
|
};
|
|
519
519
|
var serializeAws_json1_1CustomizedScalingMetricSpecification = function (input, context) {
|
|
520
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Dimensions
|
|
521
|
-
input.Dimensions !== null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) })), (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic })), (input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }));
|
|
520
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) })), (input.MetricName != null && { MetricName: input.MetricName })), (input.Namespace != null && { Namespace: input.Namespace })), (input.Statistic != null && { Statistic: input.Statistic })), (input.Unit != null && { Unit: input.Unit }));
|
|
522
521
|
};
|
|
523
522
|
var serializeAws_json1_1DeleteScalingPlanRequest = function (input, context) {
|
|
524
|
-
return __assign(__assign({}, (input.ScalingPlanName
|
|
525
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion !== undefined &&
|
|
526
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
523
|
+
return __assign(__assign({}, (input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
527
524
|
};
|
|
528
525
|
var serializeAws_json1_1DescribeScalingPlanResourcesRequest = function (input, context) {
|
|
529
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
530
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion !== undefined &&
|
|
531
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
526
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
532
527
|
};
|
|
533
528
|
var serializeAws_json1_1DescribeScalingPlansRequest = function (input, context) {
|
|
534
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationSources
|
|
535
|
-
input.ApplicationSources !== null && {
|
|
529
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationSources != null && {
|
|
536
530
|
ApplicationSources: serializeAws_json1_1ApplicationSources(input.ApplicationSources, context),
|
|
537
|
-
})), (input.MaxResults
|
|
538
|
-
input.ScalingPlanNames !== null && {
|
|
531
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ScalingPlanNames != null && {
|
|
539
532
|
ScalingPlanNames: serializeAws_json1_1ScalingPlanNames(input.ScalingPlanNames, context),
|
|
540
|
-
})), (input.ScalingPlanVersion
|
|
541
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
533
|
+
})), (input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
542
534
|
};
|
|
543
535
|
var serializeAws_json1_1GetScalingPlanResourceForecastDataRequest = function (input, context) {
|
|
544
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
545
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.ForecastDataType !== undefined &&
|
|
546
|
-
input.ForecastDataType !== null && { ForecastDataType: input.ForecastDataType })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.ScalableDimension !== undefined &&
|
|
547
|
-
input.ScalableDimension !== null && { ScalableDimension: input.ScalableDimension })), (input.ScalingPlanName !== undefined &&
|
|
548
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion !== undefined &&
|
|
549
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion })), (input.ServiceNamespace !== undefined &&
|
|
550
|
-
input.ServiceNamespace !== null && { ServiceNamespace: input.ServiceNamespace })), (input.StartTime !== undefined &&
|
|
551
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
536
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.ForecastDataType != null && { ForecastDataType: input.ForecastDataType })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension })), (input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion })), (input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
552
537
|
};
|
|
553
538
|
var serializeAws_json1_1MetricDimension = function (input, context) {
|
|
554
|
-
return __assign(__assign({}, (input.Name
|
|
539
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: input.Value }));
|
|
555
540
|
};
|
|
556
541
|
var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
557
542
|
return input
|
|
@@ -564,34 +549,25 @@ var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
|
564
549
|
});
|
|
565
550
|
};
|
|
566
551
|
var serializeAws_json1_1PredefinedLoadMetricSpecification = function (input, context) {
|
|
567
|
-
return __assign(__assign({}, (input.PredefinedLoadMetricType
|
|
568
|
-
input.PredefinedLoadMetricType !== null && { PredefinedLoadMetricType: input.PredefinedLoadMetricType })), (input.ResourceLabel !== undefined && input.ResourceLabel !== null && { ResourceLabel: input.ResourceLabel }));
|
|
552
|
+
return __assign(__assign({}, (input.PredefinedLoadMetricType != null && { PredefinedLoadMetricType: input.PredefinedLoadMetricType })), (input.ResourceLabel != null && { ResourceLabel: input.ResourceLabel }));
|
|
569
553
|
};
|
|
570
554
|
var serializeAws_json1_1PredefinedScalingMetricSpecification = function (input, context) {
|
|
571
|
-
return __assign(__assign({}, (input.PredefinedScalingMetricType
|
|
572
|
-
|
|
555
|
+
return __assign(__assign({}, (input.PredefinedScalingMetricType != null && {
|
|
556
|
+
PredefinedScalingMetricType: input.PredefinedScalingMetricType,
|
|
557
|
+
})), (input.ResourceLabel != null && { ResourceLabel: input.ResourceLabel }));
|
|
573
558
|
};
|
|
574
559
|
var serializeAws_json1_1ScalingInstruction = function (input, context) {
|
|
575
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomizedLoadMetricSpecification
|
|
576
|
-
input.CustomizedLoadMetricSpecification !== null && {
|
|
560
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomizedLoadMetricSpecification != null && {
|
|
577
561
|
CustomizedLoadMetricSpecification: serializeAws_json1_1CustomizedLoadMetricSpecification(input.CustomizedLoadMetricSpecification, context),
|
|
578
|
-
})), (input.DisableDynamicScaling
|
|
579
|
-
input.DisableDynamicScaling !== null && { DisableDynamicScaling: input.DisableDynamicScaling })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MinCapacity !== undefined && input.MinCapacity !== null && { MinCapacity: input.MinCapacity })), (input.PredefinedLoadMetricSpecification !== undefined &&
|
|
580
|
-
input.PredefinedLoadMetricSpecification !== null && {
|
|
562
|
+
})), (input.DisableDynamicScaling != null && { DisableDynamicScaling: input.DisableDynamicScaling })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MinCapacity != null && { MinCapacity: input.MinCapacity })), (input.PredefinedLoadMetricSpecification != null && {
|
|
581
563
|
PredefinedLoadMetricSpecification: serializeAws_json1_1PredefinedLoadMetricSpecification(input.PredefinedLoadMetricSpecification, context),
|
|
582
|
-
})), (input.PredictiveScalingMaxCapacityBehavior
|
|
583
|
-
input.PredictiveScalingMaxCapacityBehavior !== null && {
|
|
564
|
+
})), (input.PredictiveScalingMaxCapacityBehavior != null && {
|
|
584
565
|
PredictiveScalingMaxCapacityBehavior: input.PredictiveScalingMaxCapacityBehavior,
|
|
585
|
-
})), (input.PredictiveScalingMaxCapacityBuffer
|
|
586
|
-
input.PredictiveScalingMaxCapacityBuffer !== null && {
|
|
566
|
+
})), (input.PredictiveScalingMaxCapacityBuffer != null && {
|
|
587
567
|
PredictiveScalingMaxCapacityBuffer: input.PredictiveScalingMaxCapacityBuffer,
|
|
588
|
-
})), (input.PredictiveScalingMode
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
input.ScalingPolicyUpdateBehavior !== null && { ScalingPolicyUpdateBehavior: input.ScalingPolicyUpdateBehavior })), (input.ScheduledActionBufferTime !== undefined &&
|
|
592
|
-
input.ScheduledActionBufferTime !== null && { ScheduledActionBufferTime: input.ScheduledActionBufferTime })), (input.ServiceNamespace !== undefined &&
|
|
593
|
-
input.ServiceNamespace !== null && { ServiceNamespace: input.ServiceNamespace })), (input.TargetTrackingConfigurations !== undefined &&
|
|
594
|
-
input.TargetTrackingConfigurations !== null && {
|
|
568
|
+
})), (input.PredictiveScalingMode != null && { PredictiveScalingMode: input.PredictiveScalingMode })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension })), (input.ScalingPolicyUpdateBehavior != null && {
|
|
569
|
+
ScalingPolicyUpdateBehavior: input.ScalingPolicyUpdateBehavior,
|
|
570
|
+
})), (input.ScheduledActionBufferTime != null && { ScheduledActionBufferTime: input.ScheduledActionBufferTime })), (input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace })), (input.TargetTrackingConfigurations != null && {
|
|
595
571
|
TargetTrackingConfigurations: serializeAws_json1_1TargetTrackingConfigurations(input.TargetTrackingConfigurations, context),
|
|
596
572
|
}));
|
|
597
573
|
};
|
|
@@ -616,8 +592,7 @@ var serializeAws_json1_1ScalingPlanNames = function (input, context) {
|
|
|
616
592
|
});
|
|
617
593
|
};
|
|
618
594
|
var serializeAws_json1_1TagFilter = function (input, context) {
|
|
619
|
-
return __assign(__assign({}, (input.Key
|
|
620
|
-
input.Values !== null && { Values: serializeAws_json1_1TagValues(input.Values, context) }));
|
|
595
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1TagValues(input.Values, context) }));
|
|
621
596
|
};
|
|
622
597
|
var serializeAws_json1_1TagFilters = function (input, context) {
|
|
623
598
|
return input
|
|
@@ -640,18 +615,11 @@ var serializeAws_json1_1TagValues = function (input, context) {
|
|
|
640
615
|
});
|
|
641
616
|
};
|
|
642
617
|
var serializeAws_json1_1TargetTrackingConfiguration = function (input, context) {
|
|
643
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomizedScalingMetricSpecification
|
|
644
|
-
input.CustomizedScalingMetricSpecification !== null && {
|
|
618
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomizedScalingMetricSpecification != null && {
|
|
645
619
|
CustomizedScalingMetricSpecification: serializeAws_json1_1CustomizedScalingMetricSpecification(input.CustomizedScalingMetricSpecification, context),
|
|
646
|
-
})), (input.DisableScaleIn
|
|
647
|
-
input.DisableScaleIn !== null && { DisableScaleIn: input.DisableScaleIn })), (input.EstimatedInstanceWarmup !== undefined &&
|
|
648
|
-
input.EstimatedInstanceWarmup !== null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup })), (input.PredefinedScalingMetricSpecification !== undefined &&
|
|
649
|
-
input.PredefinedScalingMetricSpecification !== null && {
|
|
620
|
+
})), (input.DisableScaleIn != null && { DisableScaleIn: input.DisableScaleIn })), (input.EstimatedInstanceWarmup != null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup })), (input.PredefinedScalingMetricSpecification != null && {
|
|
650
621
|
PredefinedScalingMetricSpecification: serializeAws_json1_1PredefinedScalingMetricSpecification(input.PredefinedScalingMetricSpecification, context),
|
|
651
|
-
})), (input.ScaleInCooldown
|
|
652
|
-
input.ScaleInCooldown !== null && { ScaleInCooldown: input.ScaleInCooldown })), (input.ScaleOutCooldown !== undefined &&
|
|
653
|
-
input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown })), (input.TargetValue !== undefined &&
|
|
654
|
-
input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
622
|
+
})), (input.ScaleInCooldown != null && { ScaleInCooldown: input.ScaleInCooldown })), (input.ScaleOutCooldown != null && { ScaleOutCooldown: input.ScaleOutCooldown })), (input.TargetValue != null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
655
623
|
};
|
|
656
624
|
var serializeAws_json1_1TargetTrackingConfigurations = function (input, context) {
|
|
657
625
|
return input
|
|
@@ -664,22 +632,16 @@ var serializeAws_json1_1TargetTrackingConfigurations = function (input, context)
|
|
|
664
632
|
});
|
|
665
633
|
};
|
|
666
634
|
var serializeAws_json1_1UpdateScalingPlanRequest = function (input, context) {
|
|
667
|
-
return __assign(__assign(__assign(__assign({}, (input.ApplicationSource
|
|
668
|
-
input.ApplicationSource !== null && {
|
|
635
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationSource != null && {
|
|
669
636
|
ApplicationSource: serializeAws_json1_1ApplicationSource(input.ApplicationSource, context),
|
|
670
|
-
})), (input.ScalingInstructions
|
|
671
|
-
input.ScalingInstructions !== null && {
|
|
637
|
+
})), (input.ScalingInstructions != null && {
|
|
672
638
|
ScalingInstructions: serializeAws_json1_1ScalingInstructions(input.ScalingInstructions, context),
|
|
673
|
-
})), (input.ScalingPlanName
|
|
674
|
-
input.ScalingPlanName !== null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion !== undefined &&
|
|
675
|
-
input.ScalingPlanVersion !== null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
639
|
+
})), (input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName })), (input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }));
|
|
676
640
|
};
|
|
677
641
|
var deserializeAws_json1_1ApplicationSource = function (output, context) {
|
|
678
642
|
return {
|
|
679
643
|
CloudFormationStackARN: __expectString(output.CloudFormationStackARN),
|
|
680
|
-
TagFilters: output.TagFilters
|
|
681
|
-
? deserializeAws_json1_1TagFilters(output.TagFilters, context)
|
|
682
|
-
: undefined,
|
|
644
|
+
TagFilters: output.TagFilters != null ? deserializeAws_json1_1TagFilters(output.TagFilters, context) : undefined,
|
|
683
645
|
};
|
|
684
646
|
};
|
|
685
647
|
var deserializeAws_json1_1ConcurrentUpdateException = function (output, context) {
|
|
@@ -694,9 +656,7 @@ var deserializeAws_json1_1CreateScalingPlanResponse = function (output, context)
|
|
|
694
656
|
};
|
|
695
657
|
var deserializeAws_json1_1CustomizedLoadMetricSpecification = function (output, context) {
|
|
696
658
|
return {
|
|
697
|
-
Dimensions: output.Dimensions
|
|
698
|
-
? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
|
|
699
|
-
: undefined,
|
|
659
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
700
660
|
MetricName: __expectString(output.MetricName),
|
|
701
661
|
Namespace: __expectString(output.Namespace),
|
|
702
662
|
Statistic: __expectString(output.Statistic),
|
|
@@ -705,9 +665,7 @@ var deserializeAws_json1_1CustomizedLoadMetricSpecification = function (output,
|
|
|
705
665
|
};
|
|
706
666
|
var deserializeAws_json1_1CustomizedScalingMetricSpecification = function (output, context) {
|
|
707
667
|
return {
|
|
708
|
-
Dimensions: output.Dimensions
|
|
709
|
-
? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
|
|
710
|
-
: undefined,
|
|
668
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
711
669
|
MetricName: __expectString(output.MetricName),
|
|
712
670
|
Namespace: __expectString(output.Namespace),
|
|
713
671
|
Statistic: __expectString(output.Statistic),
|
|
@@ -716,9 +674,7 @@ var deserializeAws_json1_1CustomizedScalingMetricSpecification = function (outpu
|
|
|
716
674
|
};
|
|
717
675
|
var deserializeAws_json1_1Datapoint = function (output, context) {
|
|
718
676
|
return {
|
|
719
|
-
Timestamp: output.Timestamp
|
|
720
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp)))
|
|
721
|
-
: undefined,
|
|
677
|
+
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
722
678
|
Value: __limitedParseDouble(output.Value),
|
|
723
679
|
};
|
|
724
680
|
};
|
|
@@ -739,7 +695,7 @@ var deserializeAws_json1_1DeleteScalingPlanResponse = function (output, context)
|
|
|
739
695
|
var deserializeAws_json1_1DescribeScalingPlanResourcesResponse = function (output, context) {
|
|
740
696
|
return {
|
|
741
697
|
NextToken: __expectString(output.NextToken),
|
|
742
|
-
ScalingPlanResources: output.ScalingPlanResources
|
|
698
|
+
ScalingPlanResources: output.ScalingPlanResources != null
|
|
743
699
|
? deserializeAws_json1_1ScalingPlanResources(output.ScalingPlanResources, context)
|
|
744
700
|
: undefined,
|
|
745
701
|
};
|
|
@@ -747,16 +703,12 @@ var deserializeAws_json1_1DescribeScalingPlanResourcesResponse = function (outpu
|
|
|
747
703
|
var deserializeAws_json1_1DescribeScalingPlansResponse = function (output, context) {
|
|
748
704
|
return {
|
|
749
705
|
NextToken: __expectString(output.NextToken),
|
|
750
|
-
ScalingPlans: output.ScalingPlans
|
|
751
|
-
? deserializeAws_json1_1ScalingPlans(output.ScalingPlans, context)
|
|
752
|
-
: undefined,
|
|
706
|
+
ScalingPlans: output.ScalingPlans != null ? deserializeAws_json1_1ScalingPlans(output.ScalingPlans, context) : undefined,
|
|
753
707
|
};
|
|
754
708
|
};
|
|
755
709
|
var deserializeAws_json1_1GetScalingPlanResourceForecastDataResponse = function (output, context) {
|
|
756
710
|
return {
|
|
757
|
-
Datapoints: output.Datapoints
|
|
758
|
-
? deserializeAws_json1_1Datapoints(output.Datapoints, context)
|
|
759
|
-
: undefined,
|
|
711
|
+
Datapoints: output.Datapoints != null ? deserializeAws_json1_1Datapoints(output.Datapoints, context) : undefined,
|
|
760
712
|
};
|
|
761
713
|
};
|
|
762
714
|
var deserializeAws_json1_1InternalServiceException = function (output, context) {
|
|
@@ -810,13 +762,13 @@ var deserializeAws_json1_1PredefinedScalingMetricSpecification = function (outpu
|
|
|
810
762
|
};
|
|
811
763
|
var deserializeAws_json1_1ScalingInstruction = function (output, context) {
|
|
812
764
|
return {
|
|
813
|
-
CustomizedLoadMetricSpecification: output.CustomizedLoadMetricSpecification
|
|
765
|
+
CustomizedLoadMetricSpecification: output.CustomizedLoadMetricSpecification != null
|
|
814
766
|
? deserializeAws_json1_1CustomizedLoadMetricSpecification(output.CustomizedLoadMetricSpecification, context)
|
|
815
767
|
: undefined,
|
|
816
768
|
DisableDynamicScaling: __expectBoolean(output.DisableDynamicScaling),
|
|
817
769
|
MaxCapacity: __expectInt32(output.MaxCapacity),
|
|
818
770
|
MinCapacity: __expectInt32(output.MinCapacity),
|
|
819
|
-
PredefinedLoadMetricSpecification: output.PredefinedLoadMetricSpecification
|
|
771
|
+
PredefinedLoadMetricSpecification: output.PredefinedLoadMetricSpecification != null
|
|
820
772
|
? deserializeAws_json1_1PredefinedLoadMetricSpecification(output.PredefinedLoadMetricSpecification, context)
|
|
821
773
|
: undefined,
|
|
822
774
|
PredictiveScalingMaxCapacityBehavior: __expectString(output.PredictiveScalingMaxCapacityBehavior),
|
|
@@ -827,7 +779,7 @@ var deserializeAws_json1_1ScalingInstruction = function (output, context) {
|
|
|
827
779
|
ScalingPolicyUpdateBehavior: __expectString(output.ScalingPolicyUpdateBehavior),
|
|
828
780
|
ScheduledActionBufferTime: __expectInt32(output.ScheduledActionBufferTime),
|
|
829
781
|
ServiceNamespace: __expectString(output.ServiceNamespace),
|
|
830
|
-
TargetTrackingConfigurations: output.TargetTrackingConfigurations
|
|
782
|
+
TargetTrackingConfigurations: output.TargetTrackingConfigurations != null
|
|
831
783
|
? deserializeAws_json1_1TargetTrackingConfigurations(output.TargetTrackingConfigurations, context)
|
|
832
784
|
: undefined,
|
|
833
785
|
};
|
|
@@ -845,20 +797,20 @@ var deserializeAws_json1_1ScalingInstructions = function (output, context) {
|
|
|
845
797
|
};
|
|
846
798
|
var deserializeAws_json1_1ScalingPlan = function (output, context) {
|
|
847
799
|
return {
|
|
848
|
-
ApplicationSource: output.ApplicationSource
|
|
800
|
+
ApplicationSource: output.ApplicationSource != null
|
|
849
801
|
? deserializeAws_json1_1ApplicationSource(output.ApplicationSource, context)
|
|
850
802
|
: undefined,
|
|
851
|
-
CreationTime: output.CreationTime
|
|
803
|
+
CreationTime: output.CreationTime != null
|
|
852
804
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
853
805
|
: undefined,
|
|
854
|
-
ScalingInstructions: output.ScalingInstructions
|
|
806
|
+
ScalingInstructions: output.ScalingInstructions != null
|
|
855
807
|
? deserializeAws_json1_1ScalingInstructions(output.ScalingInstructions, context)
|
|
856
808
|
: undefined,
|
|
857
809
|
ScalingPlanName: __expectString(output.ScalingPlanName),
|
|
858
810
|
ScalingPlanVersion: __expectLong(output.ScalingPlanVersion),
|
|
859
811
|
StatusCode: __expectString(output.StatusCode),
|
|
860
812
|
StatusMessage: __expectString(output.StatusMessage),
|
|
861
|
-
StatusStartTime: output.StatusStartTime
|
|
813
|
+
StatusStartTime: output.StatusStartTime != null
|
|
862
814
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StatusStartTime)))
|
|
863
815
|
: undefined,
|
|
864
816
|
};
|
|
@@ -869,7 +821,7 @@ var deserializeAws_json1_1ScalingPlanResource = function (output, context) {
|
|
|
869
821
|
ScalableDimension: __expectString(output.ScalableDimension),
|
|
870
822
|
ScalingPlanName: __expectString(output.ScalingPlanName),
|
|
871
823
|
ScalingPlanVersion: __expectLong(output.ScalingPlanVersion),
|
|
872
|
-
ScalingPolicies: output.ScalingPolicies
|
|
824
|
+
ScalingPolicies: output.ScalingPolicies != null
|
|
873
825
|
? deserializeAws_json1_1ScalingPolicies(output.ScalingPolicies, context)
|
|
874
826
|
: undefined,
|
|
875
827
|
ScalingStatusCode: __expectString(output.ScalingStatusCode),
|
|
@@ -914,7 +866,7 @@ var deserializeAws_json1_1ScalingPolicy = function (output, context) {
|
|
|
914
866
|
return {
|
|
915
867
|
PolicyName: __expectString(output.PolicyName),
|
|
916
868
|
PolicyType: __expectString(output.PolicyType),
|
|
917
|
-
TargetTrackingConfiguration: output.TargetTrackingConfiguration
|
|
869
|
+
TargetTrackingConfiguration: output.TargetTrackingConfiguration != null
|
|
918
870
|
? deserializeAws_json1_1TargetTrackingConfiguration(output.TargetTrackingConfiguration, context)
|
|
919
871
|
: undefined,
|
|
920
872
|
};
|
|
@@ -922,9 +874,7 @@ var deserializeAws_json1_1ScalingPolicy = function (output, context) {
|
|
|
922
874
|
var deserializeAws_json1_1TagFilter = function (output, context) {
|
|
923
875
|
return {
|
|
924
876
|
Key: __expectString(output.Key),
|
|
925
|
-
Values: output.Values
|
|
926
|
-
? deserializeAws_json1_1TagValues(output.Values, context)
|
|
927
|
-
: undefined,
|
|
877
|
+
Values: output.Values != null ? deserializeAws_json1_1TagValues(output.Values, context) : undefined,
|
|
928
878
|
};
|
|
929
879
|
};
|
|
930
880
|
var deserializeAws_json1_1TagFilters = function (output, context) {
|
|
@@ -951,12 +901,12 @@ var deserializeAws_json1_1TagValues = function (output, context) {
|
|
|
951
901
|
};
|
|
952
902
|
var deserializeAws_json1_1TargetTrackingConfiguration = function (output, context) {
|
|
953
903
|
return {
|
|
954
|
-
CustomizedScalingMetricSpecification: output.CustomizedScalingMetricSpecification
|
|
904
|
+
CustomizedScalingMetricSpecification: output.CustomizedScalingMetricSpecification != null
|
|
955
905
|
? deserializeAws_json1_1CustomizedScalingMetricSpecification(output.CustomizedScalingMetricSpecification, context)
|
|
956
906
|
: undefined,
|
|
957
907
|
DisableScaleIn: __expectBoolean(output.DisableScaleIn),
|
|
958
908
|
EstimatedInstanceWarmup: __expectInt32(output.EstimatedInstanceWarmup),
|
|
959
|
-
PredefinedScalingMetricSpecification: output.PredefinedScalingMetricSpecification
|
|
909
|
+
PredefinedScalingMetricSpecification: output.PredefinedScalingMetricSpecification != null
|
|
960
910
|
? deserializeAws_json1_1PredefinedScalingMetricSpecification(output.PredefinedScalingMetricSpecification, context)
|
|
961
911
|
: undefined,
|
|
962
912
|
ScaleInCooldown: __expectInt32(output.ScaleInCooldown),
|
|
@@ -1057,5 +1007,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
1057
1007
|
if (data["__type"] !== undefined) {
|
|
1058
1008
|
return sanitizeErrorCode(data["__type"]);
|
|
1059
1009
|
}
|
|
1060
|
-
return "";
|
|
1061
1010
|
};
|
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.128.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,35 +18,35 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.128.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.128.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.128.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.128.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
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.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.128.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|