@aws-sdk/client-auto-scaling 3.105.0 → 3.107.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 +11 -0
- package/dist-cjs/protocols/Aws_query.js +63 -59
- package/dist-es/protocols/Aws_query.js +63 -59
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -5616,7 +5616,7 @@ const deserializeAws_queryActivitiesType = (output, context) => {
|
|
|
5616
5616
|
if (output.Activities === "") {
|
|
5617
5617
|
contents.Activities = [];
|
|
5618
5618
|
}
|
|
5619
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
5619
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
5620
5620
|
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
5621
5621
|
}
|
|
5622
5622
|
if (output["NextToken"] !== undefined) {
|
|
@@ -5814,19 +5814,19 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5814
5814
|
if (output.AvailabilityZones === "") {
|
|
5815
5815
|
contents.AvailabilityZones = [];
|
|
5816
5816
|
}
|
|
5817
|
-
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
5817
|
+
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
5818
5818
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["member"]), context);
|
|
5819
5819
|
}
|
|
5820
5820
|
if (output.LoadBalancerNames === "") {
|
|
5821
5821
|
contents.LoadBalancerNames = [];
|
|
5822
5822
|
}
|
|
5823
|
-
if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) {
|
|
5823
|
+
else if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) {
|
|
5824
5824
|
contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancerNames"]["member"]), context);
|
|
5825
5825
|
}
|
|
5826
5826
|
if (output.TargetGroupARNs === "") {
|
|
5827
5827
|
contents.TargetGroupARNs = [];
|
|
5828
5828
|
}
|
|
5829
|
-
if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) {
|
|
5829
|
+
else if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) {
|
|
5830
5830
|
contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs((0, smithy_client_1.getArrayIfSingleItem)(output["TargetGroupARNs"]["member"]), context);
|
|
5831
5831
|
}
|
|
5832
5832
|
if (output["HealthCheckType"] !== undefined) {
|
|
@@ -5838,7 +5838,7 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5838
5838
|
if (output.Instances === "") {
|
|
5839
5839
|
contents.Instances = [];
|
|
5840
5840
|
}
|
|
5841
|
-
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
5841
|
+
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
5842
5842
|
contents.Instances = deserializeAws_queryInstances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
5843
5843
|
}
|
|
5844
5844
|
if (output["CreatedTime"] !== undefined) {
|
|
@@ -5847,7 +5847,7 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5847
5847
|
if (output.SuspendedProcesses === "") {
|
|
5848
5848
|
contents.SuspendedProcesses = [];
|
|
5849
5849
|
}
|
|
5850
|
-
if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) {
|
|
5850
|
+
else if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) {
|
|
5851
5851
|
contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses((0, smithy_client_1.getArrayIfSingleItem)(output["SuspendedProcesses"]["member"]), context);
|
|
5852
5852
|
}
|
|
5853
5853
|
if (output["PlacementGroup"] !== undefined) {
|
|
@@ -5859,7 +5859,7 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5859
5859
|
if (output.EnabledMetrics === "") {
|
|
5860
5860
|
contents.EnabledMetrics = [];
|
|
5861
5861
|
}
|
|
5862
|
-
if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) {
|
|
5862
|
+
else if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) {
|
|
5863
5863
|
contents.EnabledMetrics = deserializeAws_queryEnabledMetrics((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledMetrics"]["member"]), context);
|
|
5864
5864
|
}
|
|
5865
5865
|
if (output["Status"] !== undefined) {
|
|
@@ -5868,13 +5868,13 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5868
5868
|
if (output.Tags === "") {
|
|
5869
5869
|
contents.Tags = [];
|
|
5870
5870
|
}
|
|
5871
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
5871
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
5872
5872
|
contents.Tags = deserializeAws_queryTagDescriptionList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
5873
5873
|
}
|
|
5874
5874
|
if (output.TerminationPolicies === "") {
|
|
5875
5875
|
contents.TerminationPolicies = [];
|
|
5876
5876
|
}
|
|
5877
|
-
if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) {
|
|
5877
|
+
else if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) {
|
|
5878
5878
|
contents.TerminationPolicies = deserializeAws_queryTerminationPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["TerminationPolicies"]["member"]), context);
|
|
5879
5879
|
}
|
|
5880
5880
|
if (output["NewInstancesProtectedFromScaleIn"] !== undefined) {
|
|
@@ -5924,7 +5924,7 @@ const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
|
|
|
5924
5924
|
if (output.AutoScalingGroups === "") {
|
|
5925
5925
|
contents.AutoScalingGroups = [];
|
|
5926
5926
|
}
|
|
5927
|
-
if (output["AutoScalingGroups"] !== undefined && output["AutoScalingGroups"]["member"] !== undefined) {
|
|
5927
|
+
else if (output["AutoScalingGroups"] !== undefined && output["AutoScalingGroups"]["member"] !== undefined) {
|
|
5928
5928
|
contents.AutoScalingGroups = deserializeAws_queryAutoScalingGroups((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingGroups"]["member"]), context);
|
|
5929
5929
|
}
|
|
5930
5930
|
if (output["NextToken"] !== undefined) {
|
|
@@ -5995,7 +5995,7 @@ const deserializeAws_queryAutoScalingInstancesType = (output, context) => {
|
|
|
5995
5995
|
if (output.AutoScalingInstances === "") {
|
|
5996
5996
|
contents.AutoScalingInstances = [];
|
|
5997
5997
|
}
|
|
5998
|
-
if (output["AutoScalingInstances"] !== undefined && output["AutoScalingInstances"]["member"] !== undefined) {
|
|
5998
|
+
else if (output["AutoScalingInstances"] !== undefined && output["AutoScalingInstances"]["member"] !== undefined) {
|
|
5999
5999
|
contents.AutoScalingInstances = deserializeAws_queryAutoScalingInstances((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingInstances"]["member"]), context);
|
|
6000
6000
|
}
|
|
6001
6001
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6043,7 +6043,8 @@ const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) =
|
|
|
6043
6043
|
if (output.FailedScheduledActions === "") {
|
|
6044
6044
|
contents.FailedScheduledActions = [];
|
|
6045
6045
|
}
|
|
6046
|
-
if (output["FailedScheduledActions"] !== undefined &&
|
|
6046
|
+
else if (output["FailedScheduledActions"] !== undefined &&
|
|
6047
|
+
output["FailedScheduledActions"]["member"] !== undefined) {
|
|
6047
6048
|
contents.FailedScheduledActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests((0, smithy_client_1.getArrayIfSingleItem)(output["FailedScheduledActions"]["member"]), context);
|
|
6048
6049
|
}
|
|
6049
6050
|
return contents;
|
|
@@ -6055,7 +6056,7 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, co
|
|
|
6055
6056
|
if (output.FailedScheduledUpdateGroupActions === "") {
|
|
6056
6057
|
contents.FailedScheduledUpdateGroupActions = [];
|
|
6057
6058
|
}
|
|
6058
|
-
if (output["FailedScheduledUpdateGroupActions"] !== undefined &&
|
|
6059
|
+
else if (output["FailedScheduledUpdateGroupActions"] !== undefined &&
|
|
6059
6060
|
output["FailedScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
6060
6061
|
contents.FailedScheduledUpdateGroupActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests((0, smithy_client_1.getArrayIfSingleItem)(output["FailedScheduledUpdateGroupActions"]["member"]), context);
|
|
6061
6062
|
}
|
|
@@ -6109,13 +6110,13 @@ const deserializeAws_queryCapacityForecast = (output, context) => {
|
|
|
6109
6110
|
if (output.Timestamps === "") {
|
|
6110
6111
|
contents.Timestamps = [];
|
|
6111
6112
|
}
|
|
6112
|
-
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
6113
|
+
else if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
6113
6114
|
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
6114
6115
|
}
|
|
6115
6116
|
if (output.Values === "") {
|
|
6116
6117
|
contents.Values = [];
|
|
6117
6118
|
}
|
|
6118
|
-
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
6119
|
+
else if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
6119
6120
|
contents.Values = deserializeAws_queryPredictiveScalingForecastValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
6120
6121
|
}
|
|
6121
6122
|
return contents;
|
|
@@ -6171,7 +6172,7 @@ const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
|
|
|
6171
6172
|
if (output.Dimensions === "") {
|
|
6172
6173
|
contents.Dimensions = [];
|
|
6173
6174
|
}
|
|
6174
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
6175
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
6175
6176
|
contents.Dimensions = deserializeAws_queryMetricDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
6176
6177
|
}
|
|
6177
6178
|
if (output["Statistic"] !== undefined) {
|
|
@@ -6218,7 +6219,7 @@ const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
|
|
|
6218
6219
|
if (output.AdjustmentTypes === "") {
|
|
6219
6220
|
contents.AdjustmentTypes = [];
|
|
6220
6221
|
}
|
|
6221
|
-
if (output["AdjustmentTypes"] !== undefined && output["AdjustmentTypes"]["member"] !== undefined) {
|
|
6222
|
+
else if (output["AdjustmentTypes"] !== undefined && output["AdjustmentTypes"]["member"] !== undefined) {
|
|
6222
6223
|
contents.AdjustmentTypes = deserializeAws_queryAdjustmentTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AdjustmentTypes"]["member"]), context);
|
|
6223
6224
|
}
|
|
6224
6225
|
return contents;
|
|
@@ -6230,7 +6231,7 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output,
|
|
|
6230
6231
|
if (output.AutoScalingNotificationTypes === "") {
|
|
6231
6232
|
contents.AutoScalingNotificationTypes = [];
|
|
6232
6233
|
}
|
|
6233
|
-
if (output["AutoScalingNotificationTypes"] !== undefined &&
|
|
6234
|
+
else if (output["AutoScalingNotificationTypes"] !== undefined &&
|
|
6234
6235
|
output["AutoScalingNotificationTypes"]["member"] !== undefined) {
|
|
6235
6236
|
contents.AutoScalingNotificationTypes = deserializeAws_queryAutoScalingNotificationTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingNotificationTypes"]["member"]), context);
|
|
6236
6237
|
}
|
|
@@ -6244,7 +6245,7 @@ const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) =>
|
|
|
6244
6245
|
if (output.InstanceRefreshes === "") {
|
|
6245
6246
|
contents.InstanceRefreshes = [];
|
|
6246
6247
|
}
|
|
6247
|
-
if (output["InstanceRefreshes"] !== undefined && output["InstanceRefreshes"]["member"] !== undefined) {
|
|
6248
|
+
else if (output["InstanceRefreshes"] !== undefined && output["InstanceRefreshes"]["member"] !== undefined) {
|
|
6248
6249
|
contents.InstanceRefreshes = deserializeAws_queryInstanceRefreshes((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceRefreshes"]["member"]), context);
|
|
6249
6250
|
}
|
|
6250
6251
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6259,7 +6260,7 @@ const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
|
|
|
6259
6260
|
if (output.LifecycleHooks === "") {
|
|
6260
6261
|
contents.LifecycleHooks = [];
|
|
6261
6262
|
}
|
|
6262
|
-
if (output["LifecycleHooks"] !== undefined && output["LifecycleHooks"]["member"] !== undefined) {
|
|
6263
|
+
else if (output["LifecycleHooks"] !== undefined && output["LifecycleHooks"]["member"] !== undefined) {
|
|
6263
6264
|
contents.LifecycleHooks = deserializeAws_queryLifecycleHooks((0, smithy_client_1.getArrayIfSingleItem)(output["LifecycleHooks"]["member"]), context);
|
|
6264
6265
|
}
|
|
6265
6266
|
return contents;
|
|
@@ -6271,7 +6272,7 @@ const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) =
|
|
|
6271
6272
|
if (output.LifecycleHookTypes === "") {
|
|
6272
6273
|
contents.LifecycleHookTypes = [];
|
|
6273
6274
|
}
|
|
6274
|
-
if (output["LifecycleHookTypes"] !== undefined && output["LifecycleHookTypes"]["member"] !== undefined) {
|
|
6275
|
+
else if (output["LifecycleHookTypes"] !== undefined && output["LifecycleHookTypes"]["member"] !== undefined) {
|
|
6275
6276
|
contents.LifecycleHookTypes = deserializeAws_queryAutoScalingNotificationTypes((0, smithy_client_1.getArrayIfSingleItem)(output["LifecycleHookTypes"]["member"]), context);
|
|
6276
6277
|
}
|
|
6277
6278
|
return contents;
|
|
@@ -6284,7 +6285,7 @@ const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
|
|
|
6284
6285
|
if (output.LoadBalancers === "") {
|
|
6285
6286
|
contents.LoadBalancers = [];
|
|
6286
6287
|
}
|
|
6287
|
-
if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
6288
|
+
else if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
6288
6289
|
contents.LoadBalancers = deserializeAws_queryLoadBalancerStates((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancers"]["member"]), context);
|
|
6289
6290
|
}
|
|
6290
6291
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6300,7 +6301,8 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, co
|
|
|
6300
6301
|
if (output.LoadBalancerTargetGroups === "") {
|
|
6301
6302
|
contents.LoadBalancerTargetGroups = [];
|
|
6302
6303
|
}
|
|
6303
|
-
if (output["LoadBalancerTargetGroups"] !== undefined &&
|
|
6304
|
+
else if (output["LoadBalancerTargetGroups"] !== undefined &&
|
|
6305
|
+
output["LoadBalancerTargetGroups"]["member"] !== undefined) {
|
|
6304
6306
|
contents.LoadBalancerTargetGroups = deserializeAws_queryLoadBalancerTargetGroupStates((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancerTargetGroups"]["member"]), context);
|
|
6305
6307
|
}
|
|
6306
6308
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6316,13 +6318,13 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context
|
|
|
6316
6318
|
if (output.Metrics === "") {
|
|
6317
6319
|
contents.Metrics = [];
|
|
6318
6320
|
}
|
|
6319
|
-
if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
6321
|
+
else if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
6320
6322
|
contents.Metrics = deserializeAws_queryMetricCollectionTypes((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
6321
6323
|
}
|
|
6322
6324
|
if (output.Granularities === "") {
|
|
6323
6325
|
contents.Granularities = [];
|
|
6324
6326
|
}
|
|
6325
|
-
if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) {
|
|
6327
|
+
else if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) {
|
|
6326
6328
|
contents.Granularities = deserializeAws_queryMetricGranularityTypes((0, smithy_client_1.getArrayIfSingleItem)(output["Granularities"]["member"]), context);
|
|
6327
6329
|
}
|
|
6328
6330
|
return contents;
|
|
@@ -6335,7 +6337,7 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, co
|
|
|
6335
6337
|
if (output.NotificationConfigurations === "") {
|
|
6336
6338
|
contents.NotificationConfigurations = [];
|
|
6337
6339
|
}
|
|
6338
|
-
if (output["NotificationConfigurations"] !== undefined &&
|
|
6340
|
+
else if (output["NotificationConfigurations"] !== undefined &&
|
|
6339
6341
|
output["NotificationConfigurations"]["member"] !== undefined) {
|
|
6340
6342
|
contents.NotificationConfigurations = deserializeAws_queryNotificationConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["NotificationConfigurations"]["member"]), context);
|
|
6341
6343
|
}
|
|
@@ -6351,7 +6353,8 @@ const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, contex
|
|
|
6351
6353
|
if (output.TerminationPolicyTypes === "") {
|
|
6352
6354
|
contents.TerminationPolicyTypes = [];
|
|
6353
6355
|
}
|
|
6354
|
-
if (output["TerminationPolicyTypes"] !== undefined &&
|
|
6356
|
+
else if (output["TerminationPolicyTypes"] !== undefined &&
|
|
6357
|
+
output["TerminationPolicyTypes"]["member"] !== undefined) {
|
|
6355
6358
|
contents.TerminationPolicyTypes = deserializeAws_queryTerminationPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["TerminationPolicyTypes"]["member"]), context);
|
|
6356
6359
|
}
|
|
6357
6360
|
return contents;
|
|
@@ -6368,7 +6371,7 @@ const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
|
|
|
6368
6371
|
if (output.Instances === "") {
|
|
6369
6372
|
contents.Instances = [];
|
|
6370
6373
|
}
|
|
6371
|
-
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
6374
|
+
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
6372
6375
|
contents.Instances = deserializeAws_queryInstances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
6373
6376
|
}
|
|
6374
6377
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6396,7 +6399,7 @@ const deserializeAws_queryDetachInstancesAnswer = (output, context) => {
|
|
|
6396
6399
|
if (output.Activities === "") {
|
|
6397
6400
|
contents.Activities = [];
|
|
6398
6401
|
}
|
|
6399
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6402
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6400
6403
|
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6401
6404
|
}
|
|
6402
6405
|
return contents;
|
|
@@ -6472,7 +6475,7 @@ const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
|
|
|
6472
6475
|
if (output.Activities === "") {
|
|
6473
6476
|
contents.Activities = [];
|
|
6474
6477
|
}
|
|
6475
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6478
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6476
6479
|
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6477
6480
|
}
|
|
6478
6481
|
return contents;
|
|
@@ -6494,7 +6497,7 @@ const deserializeAws_queryExitStandbyAnswer = (output, context) => {
|
|
|
6494
6497
|
if (output.Activities === "") {
|
|
6495
6498
|
contents.Activities = [];
|
|
6496
6499
|
}
|
|
6497
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6500
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6498
6501
|
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6499
6502
|
}
|
|
6500
6503
|
return contents;
|
|
@@ -6535,7 +6538,7 @@ const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context)
|
|
|
6535
6538
|
if (output.LoadForecast === "") {
|
|
6536
6539
|
contents.LoadForecast = [];
|
|
6537
6540
|
}
|
|
6538
|
-
if (output["LoadForecast"] !== undefined && output["LoadForecast"]["member"] !== undefined) {
|
|
6541
|
+
else if (output["LoadForecast"] !== undefined && output["LoadForecast"]["member"] !== undefined) {
|
|
6539
6542
|
contents.LoadForecast = deserializeAws_queryLoadForecasts((0, smithy_client_1.getArrayIfSingleItem)(output["LoadForecast"]["member"]), context);
|
|
6540
6543
|
}
|
|
6541
6544
|
if (output["CapacityForecast"] !== undefined) {
|
|
@@ -6763,7 +6766,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6763
6766
|
if (output.CpuManufacturers === "") {
|
|
6764
6767
|
contents.CpuManufacturers = [];
|
|
6765
6768
|
}
|
|
6766
|
-
if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
6769
|
+
else if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
6767
6770
|
contents.CpuManufacturers = deserializeAws_queryCpuManufacturers((0, smithy_client_1.getArrayIfSingleItem)(output["CpuManufacturers"]["member"]), context);
|
|
6768
6771
|
}
|
|
6769
6772
|
if (output["MemoryGiBPerVCpu"] !== undefined) {
|
|
@@ -6772,13 +6775,13 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6772
6775
|
if (output.ExcludedInstanceTypes === "") {
|
|
6773
6776
|
contents.ExcludedInstanceTypes = [];
|
|
6774
6777
|
}
|
|
6775
|
-
if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
6778
|
+
else if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
6776
6779
|
contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludedInstanceTypes"]["member"]), context);
|
|
6777
6780
|
}
|
|
6778
6781
|
if (output.InstanceGenerations === "") {
|
|
6779
6782
|
contents.InstanceGenerations = [];
|
|
6780
6783
|
}
|
|
6781
|
-
if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
6784
|
+
else if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
6782
6785
|
contents.InstanceGenerations = deserializeAws_queryInstanceGenerations((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceGenerations"]["member"]), context);
|
|
6783
6786
|
}
|
|
6784
6787
|
if (output["SpotMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
@@ -6805,7 +6808,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6805
6808
|
if (output.LocalStorageTypes === "") {
|
|
6806
6809
|
contents.LocalStorageTypes = [];
|
|
6807
6810
|
}
|
|
6808
|
-
if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
6811
|
+
else if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
6809
6812
|
contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes((0, smithy_client_1.getArrayIfSingleItem)(output["LocalStorageTypes"]["member"]), context);
|
|
6810
6813
|
}
|
|
6811
6814
|
if (output["TotalLocalStorageGB"] !== undefined) {
|
|
@@ -6817,7 +6820,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6817
6820
|
if (output.AcceleratorTypes === "") {
|
|
6818
6821
|
contents.AcceleratorTypes = [];
|
|
6819
6822
|
}
|
|
6820
|
-
if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
6823
|
+
else if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
6821
6824
|
contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorTypes"]["member"]), context);
|
|
6822
6825
|
}
|
|
6823
6826
|
if (output["AcceleratorCount"] !== undefined) {
|
|
@@ -6826,13 +6829,14 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6826
6829
|
if (output.AcceleratorManufacturers === "") {
|
|
6827
6830
|
contents.AcceleratorManufacturers = [];
|
|
6828
6831
|
}
|
|
6829
|
-
if (output["AcceleratorManufacturers"] !== undefined &&
|
|
6832
|
+
else if (output["AcceleratorManufacturers"] !== undefined &&
|
|
6833
|
+
output["AcceleratorManufacturers"]["member"] !== undefined) {
|
|
6830
6834
|
contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorManufacturers"]["member"]), context);
|
|
6831
6835
|
}
|
|
6832
6836
|
if (output.AcceleratorNames === "") {
|
|
6833
6837
|
contents.AcceleratorNames = [];
|
|
6834
6838
|
}
|
|
6835
|
-
if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
6839
|
+
else if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
6836
6840
|
contents.AcceleratorNames = deserializeAws_queryAcceleratorNames((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorNames"]["member"]), context);
|
|
6837
6841
|
}
|
|
6838
6842
|
if (output["AcceleratorTotalMemoryMiB"] !== undefined) {
|
|
@@ -6935,7 +6939,7 @@ const deserializeAws_queryLaunchConfiguration = (output, context) => {
|
|
|
6935
6939
|
if (output.SecurityGroups === "") {
|
|
6936
6940
|
contents.SecurityGroups = [];
|
|
6937
6941
|
}
|
|
6938
|
-
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
6942
|
+
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
6939
6943
|
contents.SecurityGroups = deserializeAws_querySecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
|
|
6940
6944
|
}
|
|
6941
6945
|
if (output["ClassicLinkVPCId"] !== undefined) {
|
|
@@ -6944,7 +6948,7 @@ const deserializeAws_queryLaunchConfiguration = (output, context) => {
|
|
|
6944
6948
|
if (output.ClassicLinkVPCSecurityGroups === "") {
|
|
6945
6949
|
contents.ClassicLinkVPCSecurityGroups = [];
|
|
6946
6950
|
}
|
|
6947
|
-
if (output["ClassicLinkVPCSecurityGroups"] !== undefined &&
|
|
6951
|
+
else if (output["ClassicLinkVPCSecurityGroups"] !== undefined &&
|
|
6948
6952
|
output["ClassicLinkVPCSecurityGroups"]["member"] !== undefined) {
|
|
6949
6953
|
contents.ClassicLinkVPCSecurityGroups = deserializeAws_queryClassicLinkVPCSecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["ClassicLinkVPCSecurityGroups"]["member"]), context);
|
|
6950
6954
|
}
|
|
@@ -6963,7 +6967,7 @@ const deserializeAws_queryLaunchConfiguration = (output, context) => {
|
|
|
6963
6967
|
if (output.BlockDeviceMappings === "") {
|
|
6964
6968
|
contents.BlockDeviceMappings = [];
|
|
6965
6969
|
}
|
|
6966
|
-
if (output["BlockDeviceMappings"] !== undefined && output["BlockDeviceMappings"]["member"] !== undefined) {
|
|
6970
|
+
else if (output["BlockDeviceMappings"] !== undefined && output["BlockDeviceMappings"]["member"] !== undefined) {
|
|
6967
6971
|
contents.BlockDeviceMappings = deserializeAws_queryBlockDeviceMappings((0, smithy_client_1.getArrayIfSingleItem)(output["BlockDeviceMappings"]["member"]), context);
|
|
6968
6972
|
}
|
|
6969
6973
|
if (output["InstanceMonitoring"] !== undefined) {
|
|
@@ -7010,7 +7014,7 @@ const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
|
|
|
7010
7014
|
if (output.LaunchConfigurations === "") {
|
|
7011
7015
|
contents.LaunchConfigurations = [];
|
|
7012
7016
|
}
|
|
7013
|
-
if (output["LaunchConfigurations"] !== undefined && output["LaunchConfigurations"]["member"] !== undefined) {
|
|
7017
|
+
else if (output["LaunchConfigurations"] !== undefined && output["LaunchConfigurations"]["member"] !== undefined) {
|
|
7014
7018
|
contents.LaunchConfigurations = deserializeAws_queryLaunchConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["LaunchConfigurations"]["member"]), context);
|
|
7015
7019
|
}
|
|
7016
7020
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7029,7 +7033,7 @@ const deserializeAws_queryLaunchTemplate = (output, context) => {
|
|
|
7029
7033
|
if (output.Overrides === "") {
|
|
7030
7034
|
contents.Overrides = [];
|
|
7031
7035
|
}
|
|
7032
|
-
if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) {
|
|
7036
|
+
else if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) {
|
|
7033
7037
|
contents.Overrides = deserializeAws_queryOverrides((0, smithy_client_1.getArrayIfSingleItem)(output["Overrides"]["member"]), context);
|
|
7034
7038
|
}
|
|
7035
7039
|
return contents;
|
|
@@ -7197,13 +7201,13 @@ const deserializeAws_queryLoadForecast = (output, context) => {
|
|
|
7197
7201
|
if (output.Timestamps === "") {
|
|
7198
7202
|
contents.Timestamps = [];
|
|
7199
7203
|
}
|
|
7200
|
-
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
7204
|
+
else if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
7201
7205
|
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
7202
7206
|
}
|
|
7203
7207
|
if (output.Values === "") {
|
|
7204
7208
|
contents.Values = [];
|
|
7205
7209
|
}
|
|
7206
|
-
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
7210
|
+
else if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
7207
7211
|
contents.Values = deserializeAws_queryPredictiveScalingForecastValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
7208
7212
|
}
|
|
7209
7213
|
if (output["MetricSpecification"] !== undefined) {
|
|
@@ -7272,7 +7276,7 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
7272
7276
|
if (output.Dimensions === "") {
|
|
7273
7277
|
contents.Dimensions = [];
|
|
7274
7278
|
}
|
|
7275
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
7279
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
7276
7280
|
contents.Dimensions = deserializeAws_queryMetricDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
7277
7281
|
}
|
|
7278
7282
|
return contents;
|
|
@@ -7461,7 +7465,7 @@ const deserializeAws_queryPoliciesType = (output, context) => {
|
|
|
7461
7465
|
if (output.ScalingPolicies === "") {
|
|
7462
7466
|
contents.ScalingPolicies = [];
|
|
7463
7467
|
}
|
|
7464
|
-
if (output["ScalingPolicies"] !== undefined && output["ScalingPolicies"]["member"] !== undefined) {
|
|
7468
|
+
else if (output["ScalingPolicies"] !== undefined && output["ScalingPolicies"]["member"] !== undefined) {
|
|
7465
7469
|
contents.ScalingPolicies = deserializeAws_queryScalingPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["ScalingPolicies"]["member"]), context);
|
|
7466
7470
|
}
|
|
7467
7471
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7480,7 +7484,7 @@ const deserializeAws_queryPolicyARNType = (output, context) => {
|
|
|
7480
7484
|
if (output.Alarms === "") {
|
|
7481
7485
|
contents.Alarms = [];
|
|
7482
7486
|
}
|
|
7483
|
-
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7487
|
+
else if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7484
7488
|
contents.Alarms = deserializeAws_queryAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["Alarms"]["member"]), context);
|
|
7485
7489
|
}
|
|
7486
7490
|
return contents;
|
|
@@ -7509,7 +7513,7 @@ const deserializeAws_queryPredictiveScalingConfiguration = (output, context) =>
|
|
|
7509
7513
|
if (output.MetricSpecifications === "") {
|
|
7510
7514
|
contents.MetricSpecifications = [];
|
|
7511
7515
|
}
|
|
7512
|
-
if (output["MetricSpecifications"] !== undefined && output["MetricSpecifications"]["member"] !== undefined) {
|
|
7516
|
+
else if (output["MetricSpecifications"] !== undefined && output["MetricSpecifications"]["member"] !== undefined) {
|
|
7513
7517
|
contents.MetricSpecifications = deserializeAws_queryPredictiveScalingMetricSpecifications((0, smithy_client_1.getArrayIfSingleItem)(output["MetricSpecifications"]["member"]), context);
|
|
7514
7518
|
}
|
|
7515
7519
|
if (output["Mode"] !== undefined) {
|
|
@@ -7533,7 +7537,7 @@ const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, c
|
|
|
7533
7537
|
if (output.MetricDataQueries === "") {
|
|
7534
7538
|
contents.MetricDataQueries = [];
|
|
7535
7539
|
}
|
|
7536
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7540
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7537
7541
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7538
7542
|
}
|
|
7539
7543
|
return contents;
|
|
@@ -7545,7 +7549,7 @@ const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, conte
|
|
|
7545
7549
|
if (output.MetricDataQueries === "") {
|
|
7546
7550
|
contents.MetricDataQueries = [];
|
|
7547
7551
|
}
|
|
7548
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7552
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7549
7553
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7550
7554
|
}
|
|
7551
7555
|
return contents;
|
|
@@ -7557,7 +7561,7 @@ const deserializeAws_queryPredictiveScalingCustomizedScalingMetric = (output, co
|
|
|
7557
7561
|
if (output.MetricDataQueries === "") {
|
|
7558
7562
|
contents.MetricDataQueries = [];
|
|
7559
7563
|
}
|
|
7560
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7564
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7561
7565
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7562
7566
|
}
|
|
7563
7567
|
return contents;
|
|
@@ -7681,7 +7685,7 @@ const deserializeAws_queryProcessesType = (output, context) => {
|
|
|
7681
7685
|
if (output.Processes === "") {
|
|
7682
7686
|
contents.Processes = [];
|
|
7683
7687
|
}
|
|
7684
|
-
if (output["Processes"] !== undefined && output["Processes"]["member"] !== undefined) {
|
|
7688
|
+
else if (output["Processes"] !== undefined && output["Processes"]["member"] !== undefined) {
|
|
7685
7689
|
contents.Processes = deserializeAws_queryProcesses((0, smithy_client_1.getArrayIfSingleItem)(output["Processes"]["member"]), context);
|
|
7686
7690
|
}
|
|
7687
7691
|
return contents;
|
|
@@ -7724,7 +7728,7 @@ const deserializeAws_queryRefreshPreferences = (output, context) => {
|
|
|
7724
7728
|
if (output.CheckpointPercentages === "") {
|
|
7725
7729
|
contents.CheckpointPercentages = [];
|
|
7726
7730
|
}
|
|
7727
|
-
if (output["CheckpointPercentages"] !== undefined && output["CheckpointPercentages"]["member"] !== undefined) {
|
|
7731
|
+
else if (output["CheckpointPercentages"] !== undefined && output["CheckpointPercentages"]["member"] !== undefined) {
|
|
7728
7732
|
contents.CheckpointPercentages = deserializeAws_queryCheckpointPercentages((0, smithy_client_1.getArrayIfSingleItem)(output["CheckpointPercentages"]["member"]), context);
|
|
7729
7733
|
}
|
|
7730
7734
|
if (output["CheckpointDelay"] !== undefined) {
|
|
@@ -7821,7 +7825,7 @@ const deserializeAws_queryScalingPolicy = (output, context) => {
|
|
|
7821
7825
|
if (output.StepAdjustments === "") {
|
|
7822
7826
|
contents.StepAdjustments = [];
|
|
7823
7827
|
}
|
|
7824
|
-
if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) {
|
|
7828
|
+
else if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) {
|
|
7825
7829
|
contents.StepAdjustments = deserializeAws_queryStepAdjustments((0, smithy_client_1.getArrayIfSingleItem)(output["StepAdjustments"]["member"]), context);
|
|
7826
7830
|
}
|
|
7827
7831
|
if (output["MetricAggregationType"] !== undefined) {
|
|
@@ -7833,7 +7837,7 @@ const deserializeAws_queryScalingPolicy = (output, context) => {
|
|
|
7833
7837
|
if (output.Alarms === "") {
|
|
7834
7838
|
contents.Alarms = [];
|
|
7835
7839
|
}
|
|
7836
|
-
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7840
|
+
else if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7837
7841
|
contents.Alarms = deserializeAws_queryAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["Alarms"]["member"]), context);
|
|
7838
7842
|
}
|
|
7839
7843
|
if (output["TargetTrackingConfiguration"] !== undefined) {
|
|
@@ -7855,7 +7859,7 @@ const deserializeAws_queryScheduledActionsType = (output, context) => {
|
|
|
7855
7859
|
if (output.ScheduledUpdateGroupActions === "") {
|
|
7856
7860
|
contents.ScheduledUpdateGroupActions = [];
|
|
7857
7861
|
}
|
|
7858
|
-
if (output["ScheduledUpdateGroupActions"] !== undefined &&
|
|
7862
|
+
else if (output["ScheduledUpdateGroupActions"] !== undefined &&
|
|
7859
7863
|
output["ScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
7860
7864
|
contents.ScheduledUpdateGroupActions = deserializeAws_queryScheduledUpdateGroupActions((0, smithy_client_1.getArrayIfSingleItem)(output["ScheduledUpdateGroupActions"]["member"]), context);
|
|
7861
7865
|
}
|
|
@@ -8048,7 +8052,7 @@ const deserializeAws_queryTagsType = (output, context) => {
|
|
|
8048
8052
|
if (output.Tags === "") {
|
|
8049
8053
|
contents.Tags = [];
|
|
8050
8054
|
}
|
|
8051
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
8055
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
8052
8056
|
contents.Tags = deserializeAws_queryTagDescriptionList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
8053
8057
|
}
|
|
8054
8058
|
if (output["NextToken"] !== undefined) {
|
|
@@ -6944,7 +6944,7 @@ var deserializeAws_queryActivitiesType = function (output, context) {
|
|
|
6944
6944
|
if (output.Activities === "") {
|
|
6945
6945
|
contents.Activities = [];
|
|
6946
6946
|
}
|
|
6947
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6947
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6948
6948
|
contents.Activities = deserializeAws_queryActivities(__getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
6949
6949
|
}
|
|
6950
6950
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7142,19 +7142,19 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
|
|
|
7142
7142
|
if (output.AvailabilityZones === "") {
|
|
7143
7143
|
contents.AvailabilityZones = [];
|
|
7144
7144
|
}
|
|
7145
|
-
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
7145
|
+
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
7146
7146
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
7147
7147
|
}
|
|
7148
7148
|
if (output.LoadBalancerNames === "") {
|
|
7149
7149
|
contents.LoadBalancerNames = [];
|
|
7150
7150
|
}
|
|
7151
|
-
if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) {
|
|
7151
|
+
else if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) {
|
|
7152
7152
|
contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames(__getArrayIfSingleItem(output["LoadBalancerNames"]["member"]), context);
|
|
7153
7153
|
}
|
|
7154
7154
|
if (output.TargetGroupARNs === "") {
|
|
7155
7155
|
contents.TargetGroupARNs = [];
|
|
7156
7156
|
}
|
|
7157
|
-
if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) {
|
|
7157
|
+
else if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) {
|
|
7158
7158
|
contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs(__getArrayIfSingleItem(output["TargetGroupARNs"]["member"]), context);
|
|
7159
7159
|
}
|
|
7160
7160
|
if (output["HealthCheckType"] !== undefined) {
|
|
@@ -7166,7 +7166,7 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
|
|
|
7166
7166
|
if (output.Instances === "") {
|
|
7167
7167
|
contents.Instances = [];
|
|
7168
7168
|
}
|
|
7169
|
-
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
7169
|
+
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
7170
7170
|
contents.Instances = deserializeAws_queryInstances(__getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
7171
7171
|
}
|
|
7172
7172
|
if (output["CreatedTime"] !== undefined) {
|
|
@@ -7175,7 +7175,7 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
|
|
|
7175
7175
|
if (output.SuspendedProcesses === "") {
|
|
7176
7176
|
contents.SuspendedProcesses = [];
|
|
7177
7177
|
}
|
|
7178
|
-
if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) {
|
|
7178
|
+
else if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) {
|
|
7179
7179
|
contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses(__getArrayIfSingleItem(output["SuspendedProcesses"]["member"]), context);
|
|
7180
7180
|
}
|
|
7181
7181
|
if (output["PlacementGroup"] !== undefined) {
|
|
@@ -7187,7 +7187,7 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
|
|
|
7187
7187
|
if (output.EnabledMetrics === "") {
|
|
7188
7188
|
contents.EnabledMetrics = [];
|
|
7189
7189
|
}
|
|
7190
|
-
if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) {
|
|
7190
|
+
else if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) {
|
|
7191
7191
|
contents.EnabledMetrics = deserializeAws_queryEnabledMetrics(__getArrayIfSingleItem(output["EnabledMetrics"]["member"]), context);
|
|
7192
7192
|
}
|
|
7193
7193
|
if (output["Status"] !== undefined) {
|
|
@@ -7196,13 +7196,13 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
|
|
|
7196
7196
|
if (output.Tags === "") {
|
|
7197
7197
|
contents.Tags = [];
|
|
7198
7198
|
}
|
|
7199
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
7199
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
7200
7200
|
contents.Tags = deserializeAws_queryTagDescriptionList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
7201
7201
|
}
|
|
7202
7202
|
if (output.TerminationPolicies === "") {
|
|
7203
7203
|
contents.TerminationPolicies = [];
|
|
7204
7204
|
}
|
|
7205
|
-
if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) {
|
|
7205
|
+
else if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) {
|
|
7206
7206
|
contents.TerminationPolicies = deserializeAws_queryTerminationPolicies(__getArrayIfSingleItem(output["TerminationPolicies"]["member"]), context);
|
|
7207
7207
|
}
|
|
7208
7208
|
if (output["NewInstancesProtectedFromScaleIn"] !== undefined) {
|
|
@@ -7252,7 +7252,7 @@ var deserializeAws_queryAutoScalingGroupsType = function (output, context) {
|
|
|
7252
7252
|
if (output.AutoScalingGroups === "") {
|
|
7253
7253
|
contents.AutoScalingGroups = [];
|
|
7254
7254
|
}
|
|
7255
|
-
if (output["AutoScalingGroups"] !== undefined && output["AutoScalingGroups"]["member"] !== undefined) {
|
|
7255
|
+
else if (output["AutoScalingGroups"] !== undefined && output["AutoScalingGroups"]["member"] !== undefined) {
|
|
7256
7256
|
contents.AutoScalingGroups = deserializeAws_queryAutoScalingGroups(__getArrayIfSingleItem(output["AutoScalingGroups"]["member"]), context);
|
|
7257
7257
|
}
|
|
7258
7258
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7323,7 +7323,7 @@ var deserializeAws_queryAutoScalingInstancesType = function (output, context) {
|
|
|
7323
7323
|
if (output.AutoScalingInstances === "") {
|
|
7324
7324
|
contents.AutoScalingInstances = [];
|
|
7325
7325
|
}
|
|
7326
|
-
if (output["AutoScalingInstances"] !== undefined && output["AutoScalingInstances"]["member"] !== undefined) {
|
|
7326
|
+
else if (output["AutoScalingInstances"] !== undefined && output["AutoScalingInstances"]["member"] !== undefined) {
|
|
7327
7327
|
contents.AutoScalingInstances = deserializeAws_queryAutoScalingInstances(__getArrayIfSingleItem(output["AutoScalingInstances"]["member"]), context);
|
|
7328
7328
|
}
|
|
7329
7329
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7371,7 +7371,8 @@ var deserializeAws_queryBatchDeleteScheduledActionAnswer = function (output, con
|
|
|
7371
7371
|
if (output.FailedScheduledActions === "") {
|
|
7372
7372
|
contents.FailedScheduledActions = [];
|
|
7373
7373
|
}
|
|
7374
|
-
if (output["FailedScheduledActions"] !== undefined &&
|
|
7374
|
+
else if (output["FailedScheduledActions"] !== undefined &&
|
|
7375
|
+
output["FailedScheduledActions"]["member"] !== undefined) {
|
|
7375
7376
|
contents.FailedScheduledActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests(__getArrayIfSingleItem(output["FailedScheduledActions"]["member"]), context);
|
|
7376
7377
|
}
|
|
7377
7378
|
return contents;
|
|
@@ -7383,7 +7384,7 @@ var deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = function (out
|
|
|
7383
7384
|
if (output.FailedScheduledUpdateGroupActions === "") {
|
|
7384
7385
|
contents.FailedScheduledUpdateGroupActions = [];
|
|
7385
7386
|
}
|
|
7386
|
-
if (output["FailedScheduledUpdateGroupActions"] !== undefined &&
|
|
7387
|
+
else if (output["FailedScheduledUpdateGroupActions"] !== undefined &&
|
|
7387
7388
|
output["FailedScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
7388
7389
|
contents.FailedScheduledUpdateGroupActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests(__getArrayIfSingleItem(output["FailedScheduledUpdateGroupActions"]["member"]), context);
|
|
7389
7390
|
}
|
|
@@ -7437,13 +7438,13 @@ var deserializeAws_queryCapacityForecast = function (output, context) {
|
|
|
7437
7438
|
if (output.Timestamps === "") {
|
|
7438
7439
|
contents.Timestamps = [];
|
|
7439
7440
|
}
|
|
7440
|
-
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
7441
|
+
else if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
7441
7442
|
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps(__getArrayIfSingleItem(output["Timestamps"]["member"]), context);
|
|
7442
7443
|
}
|
|
7443
7444
|
if (output.Values === "") {
|
|
7444
7445
|
contents.Values = [];
|
|
7445
7446
|
}
|
|
7446
|
-
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
7447
|
+
else if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
7447
7448
|
contents.Values = deserializeAws_queryPredictiveScalingForecastValues(__getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
7448
7449
|
}
|
|
7449
7450
|
return contents;
|
|
@@ -7499,7 +7500,7 @@ var deserializeAws_queryCustomizedMetricSpecification = function (output, contex
|
|
|
7499
7500
|
if (output.Dimensions === "") {
|
|
7500
7501
|
contents.Dimensions = [];
|
|
7501
7502
|
}
|
|
7502
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
7503
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
7503
7504
|
contents.Dimensions = deserializeAws_queryMetricDimensions(__getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
7504
7505
|
}
|
|
7505
7506
|
if (output["Statistic"] !== undefined) {
|
|
@@ -7546,7 +7547,7 @@ var deserializeAws_queryDescribeAdjustmentTypesAnswer = function (output, contex
|
|
|
7546
7547
|
if (output.AdjustmentTypes === "") {
|
|
7547
7548
|
contents.AdjustmentTypes = [];
|
|
7548
7549
|
}
|
|
7549
|
-
if (output["AdjustmentTypes"] !== undefined && output["AdjustmentTypes"]["member"] !== undefined) {
|
|
7550
|
+
else if (output["AdjustmentTypes"] !== undefined && output["AdjustmentTypes"]["member"] !== undefined) {
|
|
7550
7551
|
contents.AdjustmentTypes = deserializeAws_queryAdjustmentTypes(__getArrayIfSingleItem(output["AdjustmentTypes"]["member"]), context);
|
|
7551
7552
|
}
|
|
7552
7553
|
return contents;
|
|
@@ -7558,7 +7559,7 @@ var deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = function (o
|
|
|
7558
7559
|
if (output.AutoScalingNotificationTypes === "") {
|
|
7559
7560
|
contents.AutoScalingNotificationTypes = [];
|
|
7560
7561
|
}
|
|
7561
|
-
if (output["AutoScalingNotificationTypes"] !== undefined &&
|
|
7562
|
+
else if (output["AutoScalingNotificationTypes"] !== undefined &&
|
|
7562
7563
|
output["AutoScalingNotificationTypes"]["member"] !== undefined) {
|
|
7563
7564
|
contents.AutoScalingNotificationTypes = deserializeAws_queryAutoScalingNotificationTypes(__getArrayIfSingleItem(output["AutoScalingNotificationTypes"]["member"]), context);
|
|
7564
7565
|
}
|
|
@@ -7572,7 +7573,7 @@ var deserializeAws_queryDescribeInstanceRefreshesAnswer = function (output, cont
|
|
|
7572
7573
|
if (output.InstanceRefreshes === "") {
|
|
7573
7574
|
contents.InstanceRefreshes = [];
|
|
7574
7575
|
}
|
|
7575
|
-
if (output["InstanceRefreshes"] !== undefined && output["InstanceRefreshes"]["member"] !== undefined) {
|
|
7576
|
+
else if (output["InstanceRefreshes"] !== undefined && output["InstanceRefreshes"]["member"] !== undefined) {
|
|
7576
7577
|
contents.InstanceRefreshes = deserializeAws_queryInstanceRefreshes(__getArrayIfSingleItem(output["InstanceRefreshes"]["member"]), context);
|
|
7577
7578
|
}
|
|
7578
7579
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7587,7 +7588,7 @@ var deserializeAws_queryDescribeLifecycleHooksAnswer = function (output, context
|
|
|
7587
7588
|
if (output.LifecycleHooks === "") {
|
|
7588
7589
|
contents.LifecycleHooks = [];
|
|
7589
7590
|
}
|
|
7590
|
-
if (output["LifecycleHooks"] !== undefined && output["LifecycleHooks"]["member"] !== undefined) {
|
|
7591
|
+
else if (output["LifecycleHooks"] !== undefined && output["LifecycleHooks"]["member"] !== undefined) {
|
|
7591
7592
|
contents.LifecycleHooks = deserializeAws_queryLifecycleHooks(__getArrayIfSingleItem(output["LifecycleHooks"]["member"]), context);
|
|
7592
7593
|
}
|
|
7593
7594
|
return contents;
|
|
@@ -7599,7 +7600,7 @@ var deserializeAws_queryDescribeLifecycleHookTypesAnswer = function (output, con
|
|
|
7599
7600
|
if (output.LifecycleHookTypes === "") {
|
|
7600
7601
|
contents.LifecycleHookTypes = [];
|
|
7601
7602
|
}
|
|
7602
|
-
if (output["LifecycleHookTypes"] !== undefined && output["LifecycleHookTypes"]["member"] !== undefined) {
|
|
7603
|
+
else if (output["LifecycleHookTypes"] !== undefined && output["LifecycleHookTypes"]["member"] !== undefined) {
|
|
7603
7604
|
contents.LifecycleHookTypes = deserializeAws_queryAutoScalingNotificationTypes(__getArrayIfSingleItem(output["LifecycleHookTypes"]["member"]), context);
|
|
7604
7605
|
}
|
|
7605
7606
|
return contents;
|
|
@@ -7612,7 +7613,7 @@ var deserializeAws_queryDescribeLoadBalancersResponse = function (output, contex
|
|
|
7612
7613
|
if (output.LoadBalancers === "") {
|
|
7613
7614
|
contents.LoadBalancers = [];
|
|
7614
7615
|
}
|
|
7615
|
-
if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
7616
|
+
else if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
7616
7617
|
contents.LoadBalancers = deserializeAws_queryLoadBalancerStates(__getArrayIfSingleItem(output["LoadBalancers"]["member"]), context);
|
|
7617
7618
|
}
|
|
7618
7619
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7628,7 +7629,8 @@ var deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = function (out
|
|
|
7628
7629
|
if (output.LoadBalancerTargetGroups === "") {
|
|
7629
7630
|
contents.LoadBalancerTargetGroups = [];
|
|
7630
7631
|
}
|
|
7631
|
-
if (output["LoadBalancerTargetGroups"] !== undefined &&
|
|
7632
|
+
else if (output["LoadBalancerTargetGroups"] !== undefined &&
|
|
7633
|
+
output["LoadBalancerTargetGroups"]["member"] !== undefined) {
|
|
7632
7634
|
contents.LoadBalancerTargetGroups = deserializeAws_queryLoadBalancerTargetGroupStates(__getArrayIfSingleItem(output["LoadBalancerTargetGroups"]["member"]), context);
|
|
7633
7635
|
}
|
|
7634
7636
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7644,13 +7646,13 @@ var deserializeAws_queryDescribeMetricCollectionTypesAnswer = function (output,
|
|
|
7644
7646
|
if (output.Metrics === "") {
|
|
7645
7647
|
contents.Metrics = [];
|
|
7646
7648
|
}
|
|
7647
|
-
if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
7649
|
+
else if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
7648
7650
|
contents.Metrics = deserializeAws_queryMetricCollectionTypes(__getArrayIfSingleItem(output["Metrics"]["member"]), context);
|
|
7649
7651
|
}
|
|
7650
7652
|
if (output.Granularities === "") {
|
|
7651
7653
|
contents.Granularities = [];
|
|
7652
7654
|
}
|
|
7653
|
-
if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) {
|
|
7655
|
+
else if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) {
|
|
7654
7656
|
contents.Granularities = deserializeAws_queryMetricGranularityTypes(__getArrayIfSingleItem(output["Granularities"]["member"]), context);
|
|
7655
7657
|
}
|
|
7656
7658
|
return contents;
|
|
@@ -7663,7 +7665,7 @@ var deserializeAws_queryDescribeNotificationConfigurationsAnswer = function (out
|
|
|
7663
7665
|
if (output.NotificationConfigurations === "") {
|
|
7664
7666
|
contents.NotificationConfigurations = [];
|
|
7665
7667
|
}
|
|
7666
|
-
if (output["NotificationConfigurations"] !== undefined &&
|
|
7668
|
+
else if (output["NotificationConfigurations"] !== undefined &&
|
|
7667
7669
|
output["NotificationConfigurations"]["member"] !== undefined) {
|
|
7668
7670
|
contents.NotificationConfigurations = deserializeAws_queryNotificationConfigurations(__getArrayIfSingleItem(output["NotificationConfigurations"]["member"]), context);
|
|
7669
7671
|
}
|
|
@@ -7679,7 +7681,8 @@ var deserializeAws_queryDescribeTerminationPolicyTypesAnswer = function (output,
|
|
|
7679
7681
|
if (output.TerminationPolicyTypes === "") {
|
|
7680
7682
|
contents.TerminationPolicyTypes = [];
|
|
7681
7683
|
}
|
|
7682
|
-
if (output["TerminationPolicyTypes"] !== undefined &&
|
|
7684
|
+
else if (output["TerminationPolicyTypes"] !== undefined &&
|
|
7685
|
+
output["TerminationPolicyTypes"]["member"] !== undefined) {
|
|
7683
7686
|
contents.TerminationPolicyTypes = deserializeAws_queryTerminationPolicies(__getArrayIfSingleItem(output["TerminationPolicyTypes"]["member"]), context);
|
|
7684
7687
|
}
|
|
7685
7688
|
return contents;
|
|
@@ -7696,7 +7699,7 @@ var deserializeAws_queryDescribeWarmPoolAnswer = function (output, context) {
|
|
|
7696
7699
|
if (output.Instances === "") {
|
|
7697
7700
|
contents.Instances = [];
|
|
7698
7701
|
}
|
|
7699
|
-
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
7702
|
+
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
7700
7703
|
contents.Instances = deserializeAws_queryInstances(__getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
7701
7704
|
}
|
|
7702
7705
|
if (output["NextToken"] !== undefined) {
|
|
@@ -7724,7 +7727,7 @@ var deserializeAws_queryDetachInstancesAnswer = function (output, context) {
|
|
|
7724
7727
|
if (output.Activities === "") {
|
|
7725
7728
|
contents.Activities = [];
|
|
7726
7729
|
}
|
|
7727
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7730
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7728
7731
|
contents.Activities = deserializeAws_queryActivities(__getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
7729
7732
|
}
|
|
7730
7733
|
return contents;
|
|
@@ -7800,7 +7803,7 @@ var deserializeAws_queryEnterStandbyAnswer = function (output, context) {
|
|
|
7800
7803
|
if (output.Activities === "") {
|
|
7801
7804
|
contents.Activities = [];
|
|
7802
7805
|
}
|
|
7803
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7806
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7804
7807
|
contents.Activities = deserializeAws_queryActivities(__getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
7805
7808
|
}
|
|
7806
7809
|
return contents;
|
|
@@ -7822,7 +7825,7 @@ var deserializeAws_queryExitStandbyAnswer = function (output, context) {
|
|
|
7822
7825
|
if (output.Activities === "") {
|
|
7823
7826
|
contents.Activities = [];
|
|
7824
7827
|
}
|
|
7825
|
-
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7828
|
+
else if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
7826
7829
|
contents.Activities = deserializeAws_queryActivities(__getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
7827
7830
|
}
|
|
7828
7831
|
return contents;
|
|
@@ -7863,7 +7866,7 @@ var deserializeAws_queryGetPredictiveScalingForecastAnswer = function (output, c
|
|
|
7863
7866
|
if (output.LoadForecast === "") {
|
|
7864
7867
|
contents.LoadForecast = [];
|
|
7865
7868
|
}
|
|
7866
|
-
if (output["LoadForecast"] !== undefined && output["LoadForecast"]["member"] !== undefined) {
|
|
7869
|
+
else if (output["LoadForecast"] !== undefined && output["LoadForecast"]["member"] !== undefined) {
|
|
7867
7870
|
contents.LoadForecast = deserializeAws_queryLoadForecasts(__getArrayIfSingleItem(output["LoadForecast"]["member"]), context);
|
|
7868
7871
|
}
|
|
7869
7872
|
if (output["CapacityForecast"] !== undefined) {
|
|
@@ -8091,7 +8094,7 @@ var deserializeAws_queryInstanceRequirements = function (output, context) {
|
|
|
8091
8094
|
if (output.CpuManufacturers === "") {
|
|
8092
8095
|
contents.CpuManufacturers = [];
|
|
8093
8096
|
}
|
|
8094
|
-
if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
8097
|
+
else if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
8095
8098
|
contents.CpuManufacturers = deserializeAws_queryCpuManufacturers(__getArrayIfSingleItem(output["CpuManufacturers"]["member"]), context);
|
|
8096
8099
|
}
|
|
8097
8100
|
if (output["MemoryGiBPerVCpu"] !== undefined) {
|
|
@@ -8100,13 +8103,13 @@ var deserializeAws_queryInstanceRequirements = function (output, context) {
|
|
|
8100
8103
|
if (output.ExcludedInstanceTypes === "") {
|
|
8101
8104
|
contents.ExcludedInstanceTypes = [];
|
|
8102
8105
|
}
|
|
8103
|
-
if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
8106
|
+
else if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
8104
8107
|
contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes(__getArrayIfSingleItem(output["ExcludedInstanceTypes"]["member"]), context);
|
|
8105
8108
|
}
|
|
8106
8109
|
if (output.InstanceGenerations === "") {
|
|
8107
8110
|
contents.InstanceGenerations = [];
|
|
8108
8111
|
}
|
|
8109
|
-
if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
8112
|
+
else if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
8110
8113
|
contents.InstanceGenerations = deserializeAws_queryInstanceGenerations(__getArrayIfSingleItem(output["InstanceGenerations"]["member"]), context);
|
|
8111
8114
|
}
|
|
8112
8115
|
if (output["SpotMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
@@ -8133,7 +8136,7 @@ var deserializeAws_queryInstanceRequirements = function (output, context) {
|
|
|
8133
8136
|
if (output.LocalStorageTypes === "") {
|
|
8134
8137
|
contents.LocalStorageTypes = [];
|
|
8135
8138
|
}
|
|
8136
|
-
if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
8139
|
+
else if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
8137
8140
|
contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes(__getArrayIfSingleItem(output["LocalStorageTypes"]["member"]), context);
|
|
8138
8141
|
}
|
|
8139
8142
|
if (output["TotalLocalStorageGB"] !== undefined) {
|
|
@@ -8145,7 +8148,7 @@ var deserializeAws_queryInstanceRequirements = function (output, context) {
|
|
|
8145
8148
|
if (output.AcceleratorTypes === "") {
|
|
8146
8149
|
contents.AcceleratorTypes = [];
|
|
8147
8150
|
}
|
|
8148
|
-
if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
8151
|
+
else if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
8149
8152
|
contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes(__getArrayIfSingleItem(output["AcceleratorTypes"]["member"]), context);
|
|
8150
8153
|
}
|
|
8151
8154
|
if (output["AcceleratorCount"] !== undefined) {
|
|
@@ -8154,13 +8157,14 @@ var deserializeAws_queryInstanceRequirements = function (output, context) {
|
|
|
8154
8157
|
if (output.AcceleratorManufacturers === "") {
|
|
8155
8158
|
contents.AcceleratorManufacturers = [];
|
|
8156
8159
|
}
|
|
8157
|
-
if (output["AcceleratorManufacturers"] !== undefined &&
|
|
8160
|
+
else if (output["AcceleratorManufacturers"] !== undefined &&
|
|
8161
|
+
output["AcceleratorManufacturers"]["member"] !== undefined) {
|
|
8158
8162
|
contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers(__getArrayIfSingleItem(output["AcceleratorManufacturers"]["member"]), context);
|
|
8159
8163
|
}
|
|
8160
8164
|
if (output.AcceleratorNames === "") {
|
|
8161
8165
|
contents.AcceleratorNames = [];
|
|
8162
8166
|
}
|
|
8163
|
-
if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
8167
|
+
else if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
8164
8168
|
contents.AcceleratorNames = deserializeAws_queryAcceleratorNames(__getArrayIfSingleItem(output["AcceleratorNames"]["member"]), context);
|
|
8165
8169
|
}
|
|
8166
8170
|
if (output["AcceleratorTotalMemoryMiB"] !== undefined) {
|
|
@@ -8263,7 +8267,7 @@ var deserializeAws_queryLaunchConfiguration = function (output, context) {
|
|
|
8263
8267
|
if (output.SecurityGroups === "") {
|
|
8264
8268
|
contents.SecurityGroups = [];
|
|
8265
8269
|
}
|
|
8266
|
-
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
8270
|
+
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
8267
8271
|
contents.SecurityGroups = deserializeAws_querySecurityGroups(__getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
8268
8272
|
}
|
|
8269
8273
|
if (output["ClassicLinkVPCId"] !== undefined) {
|
|
@@ -8272,7 +8276,7 @@ var deserializeAws_queryLaunchConfiguration = function (output, context) {
|
|
|
8272
8276
|
if (output.ClassicLinkVPCSecurityGroups === "") {
|
|
8273
8277
|
contents.ClassicLinkVPCSecurityGroups = [];
|
|
8274
8278
|
}
|
|
8275
|
-
if (output["ClassicLinkVPCSecurityGroups"] !== undefined &&
|
|
8279
|
+
else if (output["ClassicLinkVPCSecurityGroups"] !== undefined &&
|
|
8276
8280
|
output["ClassicLinkVPCSecurityGroups"]["member"] !== undefined) {
|
|
8277
8281
|
contents.ClassicLinkVPCSecurityGroups = deserializeAws_queryClassicLinkVPCSecurityGroups(__getArrayIfSingleItem(output["ClassicLinkVPCSecurityGroups"]["member"]), context);
|
|
8278
8282
|
}
|
|
@@ -8291,7 +8295,7 @@ var deserializeAws_queryLaunchConfiguration = function (output, context) {
|
|
|
8291
8295
|
if (output.BlockDeviceMappings === "") {
|
|
8292
8296
|
contents.BlockDeviceMappings = [];
|
|
8293
8297
|
}
|
|
8294
|
-
if (output["BlockDeviceMappings"] !== undefined && output["BlockDeviceMappings"]["member"] !== undefined) {
|
|
8298
|
+
else if (output["BlockDeviceMappings"] !== undefined && output["BlockDeviceMappings"]["member"] !== undefined) {
|
|
8295
8299
|
contents.BlockDeviceMappings = deserializeAws_queryBlockDeviceMappings(__getArrayIfSingleItem(output["BlockDeviceMappings"]["member"]), context);
|
|
8296
8300
|
}
|
|
8297
8301
|
if (output["InstanceMonitoring"] !== undefined) {
|
|
@@ -8338,7 +8342,7 @@ var deserializeAws_queryLaunchConfigurationsType = function (output, context) {
|
|
|
8338
8342
|
if (output.LaunchConfigurations === "") {
|
|
8339
8343
|
contents.LaunchConfigurations = [];
|
|
8340
8344
|
}
|
|
8341
|
-
if (output["LaunchConfigurations"] !== undefined && output["LaunchConfigurations"]["member"] !== undefined) {
|
|
8345
|
+
else if (output["LaunchConfigurations"] !== undefined && output["LaunchConfigurations"]["member"] !== undefined) {
|
|
8342
8346
|
contents.LaunchConfigurations = deserializeAws_queryLaunchConfigurations(__getArrayIfSingleItem(output["LaunchConfigurations"]["member"]), context);
|
|
8343
8347
|
}
|
|
8344
8348
|
if (output["NextToken"] !== undefined) {
|
|
@@ -8357,7 +8361,7 @@ var deserializeAws_queryLaunchTemplate = function (output, context) {
|
|
|
8357
8361
|
if (output.Overrides === "") {
|
|
8358
8362
|
contents.Overrides = [];
|
|
8359
8363
|
}
|
|
8360
|
-
if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) {
|
|
8364
|
+
else if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) {
|
|
8361
8365
|
contents.Overrides = deserializeAws_queryOverrides(__getArrayIfSingleItem(output["Overrides"]["member"]), context);
|
|
8362
8366
|
}
|
|
8363
8367
|
return contents;
|
|
@@ -8525,13 +8529,13 @@ var deserializeAws_queryLoadForecast = function (output, context) {
|
|
|
8525
8529
|
if (output.Timestamps === "") {
|
|
8526
8530
|
contents.Timestamps = [];
|
|
8527
8531
|
}
|
|
8528
|
-
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
8532
|
+
else if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
8529
8533
|
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps(__getArrayIfSingleItem(output["Timestamps"]["member"]), context);
|
|
8530
8534
|
}
|
|
8531
8535
|
if (output.Values === "") {
|
|
8532
8536
|
contents.Values = [];
|
|
8533
8537
|
}
|
|
8534
|
-
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
8538
|
+
else if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
8535
8539
|
contents.Values = deserializeAws_queryPredictiveScalingForecastValues(__getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
8536
8540
|
}
|
|
8537
8541
|
if (output["MetricSpecification"] !== undefined) {
|
|
@@ -8600,7 +8604,7 @@ var deserializeAws_queryMetric = function (output, context) {
|
|
|
8600
8604
|
if (output.Dimensions === "") {
|
|
8601
8605
|
contents.Dimensions = [];
|
|
8602
8606
|
}
|
|
8603
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
8607
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
8604
8608
|
contents.Dimensions = deserializeAws_queryMetricDimensions(__getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
8605
8609
|
}
|
|
8606
8610
|
return contents;
|
|
@@ -8789,7 +8793,7 @@ var deserializeAws_queryPoliciesType = function (output, context) {
|
|
|
8789
8793
|
if (output.ScalingPolicies === "") {
|
|
8790
8794
|
contents.ScalingPolicies = [];
|
|
8791
8795
|
}
|
|
8792
|
-
if (output["ScalingPolicies"] !== undefined && output["ScalingPolicies"]["member"] !== undefined) {
|
|
8796
|
+
else if (output["ScalingPolicies"] !== undefined && output["ScalingPolicies"]["member"] !== undefined) {
|
|
8793
8797
|
contents.ScalingPolicies = deserializeAws_queryScalingPolicies(__getArrayIfSingleItem(output["ScalingPolicies"]["member"]), context);
|
|
8794
8798
|
}
|
|
8795
8799
|
if (output["NextToken"] !== undefined) {
|
|
@@ -8808,7 +8812,7 @@ var deserializeAws_queryPolicyARNType = function (output, context) {
|
|
|
8808
8812
|
if (output.Alarms === "") {
|
|
8809
8813
|
contents.Alarms = [];
|
|
8810
8814
|
}
|
|
8811
|
-
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
8815
|
+
else if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
8812
8816
|
contents.Alarms = deserializeAws_queryAlarms(__getArrayIfSingleItem(output["Alarms"]["member"]), context);
|
|
8813
8817
|
}
|
|
8814
8818
|
return contents;
|
|
@@ -8837,7 +8841,7 @@ var deserializeAws_queryPredictiveScalingConfiguration = function (output, conte
|
|
|
8837
8841
|
if (output.MetricSpecifications === "") {
|
|
8838
8842
|
contents.MetricSpecifications = [];
|
|
8839
8843
|
}
|
|
8840
|
-
if (output["MetricSpecifications"] !== undefined && output["MetricSpecifications"]["member"] !== undefined) {
|
|
8844
|
+
else if (output["MetricSpecifications"] !== undefined && output["MetricSpecifications"]["member"] !== undefined) {
|
|
8841
8845
|
contents.MetricSpecifications = deserializeAws_queryPredictiveScalingMetricSpecifications(__getArrayIfSingleItem(output["MetricSpecifications"]["member"]), context);
|
|
8842
8846
|
}
|
|
8843
8847
|
if (output["Mode"] !== undefined) {
|
|
@@ -8861,7 +8865,7 @@ var deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = function (ou
|
|
|
8861
8865
|
if (output.MetricDataQueries === "") {
|
|
8862
8866
|
contents.MetricDataQueries = [];
|
|
8863
8867
|
}
|
|
8864
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8868
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8865
8869
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
8866
8870
|
}
|
|
8867
8871
|
return contents;
|
|
@@ -8873,7 +8877,7 @@ var deserializeAws_queryPredictiveScalingCustomizedLoadMetric = function (output
|
|
|
8873
8877
|
if (output.MetricDataQueries === "") {
|
|
8874
8878
|
contents.MetricDataQueries = [];
|
|
8875
8879
|
}
|
|
8876
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8880
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8877
8881
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
8878
8882
|
}
|
|
8879
8883
|
return contents;
|
|
@@ -8885,7 +8889,7 @@ var deserializeAws_queryPredictiveScalingCustomizedScalingMetric = function (out
|
|
|
8885
8889
|
if (output.MetricDataQueries === "") {
|
|
8886
8890
|
contents.MetricDataQueries = [];
|
|
8887
8891
|
}
|
|
8888
|
-
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8892
|
+
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
8889
8893
|
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
8890
8894
|
}
|
|
8891
8895
|
return contents;
|
|
@@ -9009,7 +9013,7 @@ var deserializeAws_queryProcessesType = function (output, context) {
|
|
|
9009
9013
|
if (output.Processes === "") {
|
|
9010
9014
|
contents.Processes = [];
|
|
9011
9015
|
}
|
|
9012
|
-
if (output["Processes"] !== undefined && output["Processes"]["member"] !== undefined) {
|
|
9016
|
+
else if (output["Processes"] !== undefined && output["Processes"]["member"] !== undefined) {
|
|
9013
9017
|
contents.Processes = deserializeAws_queryProcesses(__getArrayIfSingleItem(output["Processes"]["member"]), context);
|
|
9014
9018
|
}
|
|
9015
9019
|
return contents;
|
|
@@ -9052,7 +9056,7 @@ var deserializeAws_queryRefreshPreferences = function (output, context) {
|
|
|
9052
9056
|
if (output.CheckpointPercentages === "") {
|
|
9053
9057
|
contents.CheckpointPercentages = [];
|
|
9054
9058
|
}
|
|
9055
|
-
if (output["CheckpointPercentages"] !== undefined && output["CheckpointPercentages"]["member"] !== undefined) {
|
|
9059
|
+
else if (output["CheckpointPercentages"] !== undefined && output["CheckpointPercentages"]["member"] !== undefined) {
|
|
9056
9060
|
contents.CheckpointPercentages = deserializeAws_queryCheckpointPercentages(__getArrayIfSingleItem(output["CheckpointPercentages"]["member"]), context);
|
|
9057
9061
|
}
|
|
9058
9062
|
if (output["CheckpointDelay"] !== undefined) {
|
|
@@ -9149,7 +9153,7 @@ var deserializeAws_queryScalingPolicy = function (output, context) {
|
|
|
9149
9153
|
if (output.StepAdjustments === "") {
|
|
9150
9154
|
contents.StepAdjustments = [];
|
|
9151
9155
|
}
|
|
9152
|
-
if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) {
|
|
9156
|
+
else if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) {
|
|
9153
9157
|
contents.StepAdjustments = deserializeAws_queryStepAdjustments(__getArrayIfSingleItem(output["StepAdjustments"]["member"]), context);
|
|
9154
9158
|
}
|
|
9155
9159
|
if (output["MetricAggregationType"] !== undefined) {
|
|
@@ -9161,7 +9165,7 @@ var deserializeAws_queryScalingPolicy = function (output, context) {
|
|
|
9161
9165
|
if (output.Alarms === "") {
|
|
9162
9166
|
contents.Alarms = [];
|
|
9163
9167
|
}
|
|
9164
|
-
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
9168
|
+
else if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
9165
9169
|
contents.Alarms = deserializeAws_queryAlarms(__getArrayIfSingleItem(output["Alarms"]["member"]), context);
|
|
9166
9170
|
}
|
|
9167
9171
|
if (output["TargetTrackingConfiguration"] !== undefined) {
|
|
@@ -9183,7 +9187,7 @@ var deserializeAws_queryScheduledActionsType = function (output, context) {
|
|
|
9183
9187
|
if (output.ScheduledUpdateGroupActions === "") {
|
|
9184
9188
|
contents.ScheduledUpdateGroupActions = [];
|
|
9185
9189
|
}
|
|
9186
|
-
if (output["ScheduledUpdateGroupActions"] !== undefined &&
|
|
9190
|
+
else if (output["ScheduledUpdateGroupActions"] !== undefined &&
|
|
9187
9191
|
output["ScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
9188
9192
|
contents.ScheduledUpdateGroupActions = deserializeAws_queryScheduledUpdateGroupActions(__getArrayIfSingleItem(output["ScheduledUpdateGroupActions"]["member"]), context);
|
|
9189
9193
|
}
|
|
@@ -9376,7 +9380,7 @@ var deserializeAws_queryTagsType = function (output, context) {
|
|
|
9376
9380
|
if (output.Tags === "") {
|
|
9377
9381
|
contents.Tags = [];
|
|
9378
9382
|
}
|
|
9379
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
9383
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
9380
9384
|
contents.Tags = deserializeAws_queryTagDescriptionList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
9381
9385
|
}
|
|
9382
9386
|
if (output["NextToken"] !== undefined) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.107.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",
|