@aws-sdk/client-auto-scaling 3.201.0 → 3.202.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 +171 -0
- package/dist-es/protocols/Aws_query.js +171 -0
- package/package.json +4 -4
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.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** aws-query protocol, distinguish explicit empty list ([#4003](https://github.com/aws/aws-sdk-js-v3/issues/4003)) ([8e10769](https://github.com/aws/aws-sdk-js-v3/commit/8e10769b6146f93c0674686fa547290292714917))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -3119,6 +3119,9 @@ const serializeAws_queryAttachInstancesQuery = (input, context) => {
|
|
|
3119
3119
|
const entries = {};
|
|
3120
3120
|
if (input.InstanceIds != null) {
|
|
3121
3121
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3122
|
+
if (input.InstanceIds?.length === 0) {
|
|
3123
|
+
entries.InstanceIds = [];
|
|
3124
|
+
}
|
|
3122
3125
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3123
3126
|
const loc = `InstanceIds.${key}`;
|
|
3124
3127
|
entries[loc] = value;
|
|
@@ -3136,6 +3139,9 @@ const serializeAws_queryAttachLoadBalancersType = (input, context) => {
|
|
|
3136
3139
|
}
|
|
3137
3140
|
if (input.LoadBalancerNames != null) {
|
|
3138
3141
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3142
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3143
|
+
entries.LoadBalancerNames = [];
|
|
3144
|
+
}
|
|
3139
3145
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3140
3146
|
const loc = `LoadBalancerNames.${key}`;
|
|
3141
3147
|
entries[loc] = value;
|
|
@@ -3150,6 +3156,9 @@ const serializeAws_queryAttachLoadBalancerTargetGroupsType = (input, context) =>
|
|
|
3150
3156
|
}
|
|
3151
3157
|
if (input.TargetGroupARNs != null) {
|
|
3152
3158
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3159
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
3160
|
+
entries.TargetGroupARNs = [];
|
|
3161
|
+
}
|
|
3153
3162
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3154
3163
|
const loc = `TargetGroupARNs.${key}`;
|
|
3155
3164
|
entries[loc] = value;
|
|
@@ -3173,6 +3182,9 @@ const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
|
3173
3182
|
const entries = {};
|
|
3174
3183
|
if (input.AutoScalingGroupNames != null) {
|
|
3175
3184
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3185
|
+
if (input.AutoScalingGroupNames?.length === 0) {
|
|
3186
|
+
entries.AutoScalingGroupNames = [];
|
|
3187
|
+
}
|
|
3176
3188
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3177
3189
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3178
3190
|
entries[loc] = value;
|
|
@@ -3186,6 +3198,9 @@ const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
|
3186
3198
|
}
|
|
3187
3199
|
if (input.Filters != null) {
|
|
3188
3200
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
3201
|
+
if (input.Filters?.length === 0) {
|
|
3202
|
+
entries.Filters = [];
|
|
3203
|
+
}
|
|
3189
3204
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3190
3205
|
const loc = `Filters.${key}`;
|
|
3191
3206
|
entries[loc] = value;
|
|
@@ -3234,6 +3249,9 @@ const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
|
3234
3249
|
}
|
|
3235
3250
|
if (input.ScheduledActionNames != null) {
|
|
3236
3251
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3252
|
+
if (input.ScheduledActionNames?.length === 0) {
|
|
3253
|
+
entries.ScheduledActionNames = [];
|
|
3254
|
+
}
|
|
3237
3255
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3238
3256
|
const loc = `ScheduledActionNames.${key}`;
|
|
3239
3257
|
entries[loc] = value;
|
|
@@ -3248,6 +3266,9 @@ const serializeAws_queryBatchPutScheduledUpdateGroupActionType = (input, context
|
|
|
3248
3266
|
}
|
|
3249
3267
|
if (input.ScheduledUpdateGroupActions != null) {
|
|
3250
3268
|
const memberEntries = serializeAws_queryScheduledUpdateGroupActionRequests(input.ScheduledUpdateGroupActions, context);
|
|
3269
|
+
if (input.ScheduledUpdateGroupActions?.length === 0) {
|
|
3270
|
+
entries.ScheduledUpdateGroupActions = [];
|
|
3271
|
+
}
|
|
3251
3272
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3252
3273
|
const loc = `ScheduledUpdateGroupActions.${key}`;
|
|
3253
3274
|
entries[loc] = value;
|
|
@@ -3391,6 +3412,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3391
3412
|
}
|
|
3392
3413
|
if (input.AvailabilityZones != null) {
|
|
3393
3414
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
3415
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
3416
|
+
entries.AvailabilityZones = [];
|
|
3417
|
+
}
|
|
3394
3418
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3395
3419
|
const loc = `AvailabilityZones.${key}`;
|
|
3396
3420
|
entries[loc] = value;
|
|
@@ -3398,6 +3422,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3398
3422
|
}
|
|
3399
3423
|
if (input.LoadBalancerNames != null) {
|
|
3400
3424
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3425
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3426
|
+
entries.LoadBalancerNames = [];
|
|
3427
|
+
}
|
|
3401
3428
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3402
3429
|
const loc = `LoadBalancerNames.${key}`;
|
|
3403
3430
|
entries[loc] = value;
|
|
@@ -3405,6 +3432,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3405
3432
|
}
|
|
3406
3433
|
if (input.TargetGroupARNs != null) {
|
|
3407
3434
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3435
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
3436
|
+
entries.TargetGroupARNs = [];
|
|
3437
|
+
}
|
|
3408
3438
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3409
3439
|
const loc = `TargetGroupARNs.${key}`;
|
|
3410
3440
|
entries[loc] = value;
|
|
@@ -3424,6 +3454,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3424
3454
|
}
|
|
3425
3455
|
if (input.TerminationPolicies != null) {
|
|
3426
3456
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
3457
|
+
if (input.TerminationPolicies?.length === 0) {
|
|
3458
|
+
entries.TerminationPolicies = [];
|
|
3459
|
+
}
|
|
3427
3460
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3428
3461
|
const loc = `TerminationPolicies.${key}`;
|
|
3429
3462
|
entries[loc] = value;
|
|
@@ -3437,6 +3470,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3437
3470
|
}
|
|
3438
3471
|
if (input.LifecycleHookSpecificationList != null) {
|
|
3439
3472
|
const memberEntries = serializeAws_queryLifecycleHookSpecifications(input.LifecycleHookSpecificationList, context);
|
|
3473
|
+
if (input.LifecycleHookSpecificationList?.length === 0) {
|
|
3474
|
+
entries.LifecycleHookSpecificationList = [];
|
|
3475
|
+
}
|
|
3440
3476
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3441
3477
|
const loc = `LifecycleHookSpecificationList.${key}`;
|
|
3442
3478
|
entries[loc] = value;
|
|
@@ -3444,6 +3480,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3444
3480
|
}
|
|
3445
3481
|
if (input.Tags != null) {
|
|
3446
3482
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3483
|
+
if (input.Tags?.length === 0) {
|
|
3484
|
+
entries.Tags = [];
|
|
3485
|
+
}
|
|
3447
3486
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3448
3487
|
const loc = `Tags.${key}`;
|
|
3449
3488
|
entries[loc] = value;
|
|
@@ -3479,6 +3518,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3479
3518
|
}
|
|
3480
3519
|
if (input.SecurityGroups != null) {
|
|
3481
3520
|
const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context);
|
|
3521
|
+
if (input.SecurityGroups?.length === 0) {
|
|
3522
|
+
entries.SecurityGroups = [];
|
|
3523
|
+
}
|
|
3482
3524
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3483
3525
|
const loc = `SecurityGroups.${key}`;
|
|
3484
3526
|
entries[loc] = value;
|
|
@@ -3489,6 +3531,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3489
3531
|
}
|
|
3490
3532
|
if (input.ClassicLinkVPCSecurityGroups != null) {
|
|
3491
3533
|
const memberEntries = serializeAws_queryClassicLinkVPCSecurityGroups(input.ClassicLinkVPCSecurityGroups, context);
|
|
3534
|
+
if (input.ClassicLinkVPCSecurityGroups?.length === 0) {
|
|
3535
|
+
entries.ClassicLinkVPCSecurityGroups = [];
|
|
3536
|
+
}
|
|
3492
3537
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3493
3538
|
const loc = `ClassicLinkVPCSecurityGroups.${key}`;
|
|
3494
3539
|
entries[loc] = value;
|
|
@@ -3511,6 +3556,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3511
3556
|
}
|
|
3512
3557
|
if (input.BlockDeviceMappings != null) {
|
|
3513
3558
|
const memberEntries = serializeAws_queryBlockDeviceMappings(input.BlockDeviceMappings, context);
|
|
3559
|
+
if (input.BlockDeviceMappings?.length === 0) {
|
|
3560
|
+
entries.BlockDeviceMappings = [];
|
|
3561
|
+
}
|
|
3514
3562
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3515
3563
|
const loc = `BlockDeviceMappings.${key}`;
|
|
3516
3564
|
entries[loc] = value;
|
|
@@ -3551,6 +3599,9 @@ const serializeAws_queryCreateOrUpdateTagsType = (input, context) => {
|
|
|
3551
3599
|
const entries = {};
|
|
3552
3600
|
if (input.Tags != null) {
|
|
3553
3601
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3602
|
+
if (input.Tags?.length === 0) {
|
|
3603
|
+
entries.Tags = [];
|
|
3604
|
+
}
|
|
3554
3605
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3555
3606
|
const loc = `Tags.${key}`;
|
|
3556
3607
|
entries[loc] = value;
|
|
@@ -3568,6 +3619,9 @@ const serializeAws_queryCustomizedMetricSpecification = (input, context) => {
|
|
|
3568
3619
|
}
|
|
3569
3620
|
if (input.Dimensions != null) {
|
|
3570
3621
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
3622
|
+
if (input.Dimensions?.length === 0) {
|
|
3623
|
+
entries.Dimensions = [];
|
|
3624
|
+
}
|
|
3571
3625
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3572
3626
|
const loc = `Dimensions.${key}`;
|
|
3573
3627
|
entries[loc] = value;
|
|
@@ -3635,6 +3689,9 @@ const serializeAws_queryDeleteTagsType = (input, context) => {
|
|
|
3635
3689
|
const entries = {};
|
|
3636
3690
|
if (input.Tags != null) {
|
|
3637
3691
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3692
|
+
if (input.Tags?.length === 0) {
|
|
3693
|
+
entries.Tags = [];
|
|
3694
|
+
}
|
|
3638
3695
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3639
3696
|
const loc = `Tags.${key}`;
|
|
3640
3697
|
entries[loc] = value;
|
|
@@ -3656,6 +3713,9 @@ const serializeAws_queryDescribeAutoScalingInstancesType = (input, context) => {
|
|
|
3656
3713
|
const entries = {};
|
|
3657
3714
|
if (input.InstanceIds != null) {
|
|
3658
3715
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3716
|
+
if (input.InstanceIds?.length === 0) {
|
|
3717
|
+
entries.InstanceIds = [];
|
|
3718
|
+
}
|
|
3659
3719
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3660
3720
|
const loc = `InstanceIds.${key}`;
|
|
3661
3721
|
entries[loc] = value;
|
|
@@ -3676,6 +3736,9 @@ const serializeAws_queryDescribeInstanceRefreshesType = (input, context) => {
|
|
|
3676
3736
|
}
|
|
3677
3737
|
if (input.InstanceRefreshIds != null) {
|
|
3678
3738
|
const memberEntries = serializeAws_queryInstanceRefreshIds(input.InstanceRefreshIds, context);
|
|
3739
|
+
if (input.InstanceRefreshIds?.length === 0) {
|
|
3740
|
+
entries.InstanceRefreshIds = [];
|
|
3741
|
+
}
|
|
3679
3742
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3680
3743
|
const loc = `InstanceRefreshIds.${key}`;
|
|
3681
3744
|
entries[loc] = value;
|
|
@@ -3696,6 +3759,9 @@ const serializeAws_queryDescribeLifecycleHooksType = (input, context) => {
|
|
|
3696
3759
|
}
|
|
3697
3760
|
if (input.LifecycleHookNames != null) {
|
|
3698
3761
|
const memberEntries = serializeAws_queryLifecycleHookNames(input.LifecycleHookNames, context);
|
|
3762
|
+
if (input.LifecycleHookNames?.length === 0) {
|
|
3763
|
+
entries.LifecycleHookNames = [];
|
|
3764
|
+
}
|
|
3699
3765
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3700
3766
|
const loc = `LifecycleHookNames.${key}`;
|
|
3701
3767
|
entries[loc] = value;
|
|
@@ -3733,6 +3799,9 @@ const serializeAws_queryDescribeNotificationConfigurationsType = (input, context
|
|
|
3733
3799
|
const entries = {};
|
|
3734
3800
|
if (input.AutoScalingGroupNames != null) {
|
|
3735
3801
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3802
|
+
if (input.AutoScalingGroupNames?.length === 0) {
|
|
3803
|
+
entries.AutoScalingGroupNames = [];
|
|
3804
|
+
}
|
|
3736
3805
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3737
3806
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3738
3807
|
entries[loc] = value;
|
|
@@ -3753,6 +3822,9 @@ const serializeAws_queryDescribePoliciesType = (input, context) => {
|
|
|
3753
3822
|
}
|
|
3754
3823
|
if (input.PolicyNames != null) {
|
|
3755
3824
|
const memberEntries = serializeAws_queryPolicyNames(input.PolicyNames, context);
|
|
3825
|
+
if (input.PolicyNames?.length === 0) {
|
|
3826
|
+
entries.PolicyNames = [];
|
|
3827
|
+
}
|
|
3756
3828
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3757
3829
|
const loc = `PolicyNames.${key}`;
|
|
3758
3830
|
entries[loc] = value;
|
|
@@ -3760,6 +3832,9 @@ const serializeAws_queryDescribePoliciesType = (input, context) => {
|
|
|
3760
3832
|
}
|
|
3761
3833
|
if (input.PolicyTypes != null) {
|
|
3762
3834
|
const memberEntries = serializeAws_queryPolicyTypes(input.PolicyTypes, context);
|
|
3835
|
+
if (input.PolicyTypes?.length === 0) {
|
|
3836
|
+
entries.PolicyTypes = [];
|
|
3837
|
+
}
|
|
3763
3838
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3764
3839
|
const loc = `PolicyTypes.${key}`;
|
|
3765
3840
|
entries[loc] = value;
|
|
@@ -3777,6 +3852,9 @@ const serializeAws_queryDescribeScalingActivitiesType = (input, context) => {
|
|
|
3777
3852
|
const entries = {};
|
|
3778
3853
|
if (input.ActivityIds != null) {
|
|
3779
3854
|
const memberEntries = serializeAws_queryActivityIds(input.ActivityIds, context);
|
|
3855
|
+
if (input.ActivityIds?.length === 0) {
|
|
3856
|
+
entries.ActivityIds = [];
|
|
3857
|
+
}
|
|
3780
3858
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3781
3859
|
const loc = `ActivityIds.${key}`;
|
|
3782
3860
|
entries[loc] = value;
|
|
@@ -3803,6 +3881,9 @@ const serializeAws_queryDescribeScheduledActionsType = (input, context) => {
|
|
|
3803
3881
|
}
|
|
3804
3882
|
if (input.ScheduledActionNames != null) {
|
|
3805
3883
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3884
|
+
if (input.ScheduledActionNames?.length === 0) {
|
|
3885
|
+
entries.ScheduledActionNames = [];
|
|
3886
|
+
}
|
|
3806
3887
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3807
3888
|
const loc = `ScheduledActionNames.${key}`;
|
|
3808
3889
|
entries[loc] = value;
|
|
@@ -3826,6 +3907,9 @@ const serializeAws_queryDescribeTagsType = (input, context) => {
|
|
|
3826
3907
|
const entries = {};
|
|
3827
3908
|
if (input.Filters != null) {
|
|
3828
3909
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
3910
|
+
if (input.Filters?.length === 0) {
|
|
3911
|
+
entries.Filters = [];
|
|
3912
|
+
}
|
|
3829
3913
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3830
3914
|
const loc = `Filters.${key}`;
|
|
3831
3915
|
entries[loc] = value;
|
|
@@ -3874,6 +3958,9 @@ const serializeAws_queryDetachInstancesQuery = (input, context) => {
|
|
|
3874
3958
|
const entries = {};
|
|
3875
3959
|
if (input.InstanceIds != null) {
|
|
3876
3960
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3961
|
+
if (input.InstanceIds?.length === 0) {
|
|
3962
|
+
entries.InstanceIds = [];
|
|
3963
|
+
}
|
|
3877
3964
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3878
3965
|
const loc = `InstanceIds.${key}`;
|
|
3879
3966
|
entries[loc] = value;
|
|
@@ -3894,6 +3981,9 @@ const serializeAws_queryDetachLoadBalancersType = (input, context) => {
|
|
|
3894
3981
|
}
|
|
3895
3982
|
if (input.LoadBalancerNames != null) {
|
|
3896
3983
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3984
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3985
|
+
entries.LoadBalancerNames = [];
|
|
3986
|
+
}
|
|
3897
3987
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3898
3988
|
const loc = `LoadBalancerNames.${key}`;
|
|
3899
3989
|
entries[loc] = value;
|
|
@@ -3908,6 +3998,9 @@ const serializeAws_queryDetachLoadBalancerTargetGroupsType = (input, context) =>
|
|
|
3908
3998
|
}
|
|
3909
3999
|
if (input.TargetGroupARNs != null) {
|
|
3910
4000
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
4001
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
4002
|
+
entries.TargetGroupARNs = [];
|
|
4003
|
+
}
|
|
3911
4004
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3912
4005
|
const loc = `TargetGroupARNs.${key}`;
|
|
3913
4006
|
entries[loc] = value;
|
|
@@ -3922,6 +4015,9 @@ const serializeAws_queryDisableMetricsCollectionQuery = (input, context) => {
|
|
|
3922
4015
|
}
|
|
3923
4016
|
if (input.Metrics != null) {
|
|
3924
4017
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
4018
|
+
if (input.Metrics?.length === 0) {
|
|
4019
|
+
entries.Metrics = [];
|
|
4020
|
+
}
|
|
3925
4021
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3926
4022
|
const loc = `Metrics.${key}`;
|
|
3927
4023
|
entries[loc] = value;
|
|
@@ -3961,6 +4057,9 @@ const serializeAws_queryEnableMetricsCollectionQuery = (input, context) => {
|
|
|
3961
4057
|
}
|
|
3962
4058
|
if (input.Metrics != null) {
|
|
3963
4059
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
4060
|
+
if (input.Metrics?.length === 0) {
|
|
4061
|
+
entries.Metrics = [];
|
|
4062
|
+
}
|
|
3964
4063
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3965
4064
|
const loc = `Metrics.${key}`;
|
|
3966
4065
|
entries[loc] = value;
|
|
@@ -3975,6 +4074,9 @@ const serializeAws_queryEnterStandbyQuery = (input, context) => {
|
|
|
3975
4074
|
const entries = {};
|
|
3976
4075
|
if (input.InstanceIds != null) {
|
|
3977
4076
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4077
|
+
if (input.InstanceIds?.length === 0) {
|
|
4078
|
+
entries.InstanceIds = [];
|
|
4079
|
+
}
|
|
3978
4080
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3979
4081
|
const loc = `InstanceIds.${key}`;
|
|
3980
4082
|
entries[loc] = value;
|
|
@@ -4023,6 +4125,9 @@ const serializeAws_queryExitStandbyQuery = (input, context) => {
|
|
|
4023
4125
|
const entries = {};
|
|
4024
4126
|
if (input.InstanceIds != null) {
|
|
4025
4127
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4128
|
+
if (input.InstanceIds?.length === 0) {
|
|
4129
|
+
entries.InstanceIds = [];
|
|
4130
|
+
}
|
|
4026
4131
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4027
4132
|
const loc = `InstanceIds.${key}`;
|
|
4028
4133
|
entries[loc] = value;
|
|
@@ -4040,6 +4145,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
4040
4145
|
}
|
|
4041
4146
|
if (input.Values != null) {
|
|
4042
4147
|
const memberEntries = serializeAws_queryValues(input.Values, context);
|
|
4148
|
+
if (input.Values?.length === 0) {
|
|
4149
|
+
entries.Values = [];
|
|
4150
|
+
}
|
|
4043
4151
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4044
4152
|
const loc = `Values.${key}`;
|
|
4045
4153
|
entries[loc] = value;
|
|
@@ -4152,6 +4260,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4152
4260
|
}
|
|
4153
4261
|
if (input.CpuManufacturers != null) {
|
|
4154
4262
|
const memberEntries = serializeAws_queryCpuManufacturers(input.CpuManufacturers, context);
|
|
4263
|
+
if (input.CpuManufacturers?.length === 0) {
|
|
4264
|
+
entries.CpuManufacturers = [];
|
|
4265
|
+
}
|
|
4155
4266
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4156
4267
|
const loc = `CpuManufacturers.${key}`;
|
|
4157
4268
|
entries[loc] = value;
|
|
@@ -4166,6 +4277,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4166
4277
|
}
|
|
4167
4278
|
if (input.ExcludedInstanceTypes != null) {
|
|
4168
4279
|
const memberEntries = serializeAws_queryExcludedInstanceTypes(input.ExcludedInstanceTypes, context);
|
|
4280
|
+
if (input.ExcludedInstanceTypes?.length === 0) {
|
|
4281
|
+
entries.ExcludedInstanceTypes = [];
|
|
4282
|
+
}
|
|
4169
4283
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4170
4284
|
const loc = `ExcludedInstanceTypes.${key}`;
|
|
4171
4285
|
entries[loc] = value;
|
|
@@ -4173,6 +4287,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4173
4287
|
}
|
|
4174
4288
|
if (input.InstanceGenerations != null) {
|
|
4175
4289
|
const memberEntries = serializeAws_queryInstanceGenerations(input.InstanceGenerations, context);
|
|
4290
|
+
if (input.InstanceGenerations?.length === 0) {
|
|
4291
|
+
entries.InstanceGenerations = [];
|
|
4292
|
+
}
|
|
4176
4293
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4177
4294
|
const loc = `InstanceGenerations.${key}`;
|
|
4178
4295
|
entries[loc] = value;
|
|
@@ -4205,6 +4322,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4205
4322
|
}
|
|
4206
4323
|
if (input.LocalStorageTypes != null) {
|
|
4207
4324
|
const memberEntries = serializeAws_queryLocalStorageTypes(input.LocalStorageTypes, context);
|
|
4325
|
+
if (input.LocalStorageTypes?.length === 0) {
|
|
4326
|
+
entries.LocalStorageTypes = [];
|
|
4327
|
+
}
|
|
4208
4328
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4209
4329
|
const loc = `LocalStorageTypes.${key}`;
|
|
4210
4330
|
entries[loc] = value;
|
|
@@ -4226,6 +4346,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4226
4346
|
}
|
|
4227
4347
|
if (input.AcceleratorTypes != null) {
|
|
4228
4348
|
const memberEntries = serializeAws_queryAcceleratorTypes(input.AcceleratorTypes, context);
|
|
4349
|
+
if (input.AcceleratorTypes?.length === 0) {
|
|
4350
|
+
entries.AcceleratorTypes = [];
|
|
4351
|
+
}
|
|
4229
4352
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4230
4353
|
const loc = `AcceleratorTypes.${key}`;
|
|
4231
4354
|
entries[loc] = value;
|
|
@@ -4240,6 +4363,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4240
4363
|
}
|
|
4241
4364
|
if (input.AcceleratorManufacturers != null) {
|
|
4242
4365
|
const memberEntries = serializeAws_queryAcceleratorManufacturers(input.AcceleratorManufacturers, context);
|
|
4366
|
+
if (input.AcceleratorManufacturers?.length === 0) {
|
|
4367
|
+
entries.AcceleratorManufacturers = [];
|
|
4368
|
+
}
|
|
4243
4369
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4244
4370
|
const loc = `AcceleratorManufacturers.${key}`;
|
|
4245
4371
|
entries[loc] = value;
|
|
@@ -4247,6 +4373,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4247
4373
|
}
|
|
4248
4374
|
if (input.AcceleratorNames != null) {
|
|
4249
4375
|
const memberEntries = serializeAws_queryAcceleratorNames(input.AcceleratorNames, context);
|
|
4376
|
+
if (input.AcceleratorNames?.length === 0) {
|
|
4377
|
+
entries.AcceleratorNames = [];
|
|
4378
|
+
}
|
|
4250
4379
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4251
4380
|
const loc = `AcceleratorNames.${key}`;
|
|
4252
4381
|
entries[loc] = value;
|
|
@@ -4306,6 +4435,9 @@ const serializeAws_queryLaunchConfigurationNamesType = (input, context) => {
|
|
|
4306
4435
|
const entries = {};
|
|
4307
4436
|
if (input.LaunchConfigurationNames != null) {
|
|
4308
4437
|
const memberEntries = serializeAws_queryLaunchConfigurationNames(input.LaunchConfigurationNames, context);
|
|
4438
|
+
if (input.LaunchConfigurationNames?.length === 0) {
|
|
4439
|
+
entries.LaunchConfigurationNames = [];
|
|
4440
|
+
}
|
|
4309
4441
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4310
4442
|
const loc = `LaunchConfigurationNames.${key}`;
|
|
4311
4443
|
entries[loc] = value;
|
|
@@ -4337,6 +4469,9 @@ const serializeAws_queryLaunchTemplate = (input, context) => {
|
|
|
4337
4469
|
}
|
|
4338
4470
|
if (input.Overrides != null) {
|
|
4339
4471
|
const memberEntries = serializeAws_queryOverrides(input.Overrides, context);
|
|
4472
|
+
if (input.Overrides?.length === 0) {
|
|
4473
|
+
entries.Overrides = [];
|
|
4474
|
+
}
|
|
4340
4475
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4341
4476
|
const loc = `Overrides.${key}`;
|
|
4342
4477
|
entries[loc] = value;
|
|
@@ -4487,6 +4622,9 @@ const serializeAws_queryMetric = (input, context) => {
|
|
|
4487
4622
|
}
|
|
4488
4623
|
if (input.Dimensions != null) {
|
|
4489
4624
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
4625
|
+
if (input.Dimensions?.length === 0) {
|
|
4626
|
+
entries.Dimensions = [];
|
|
4627
|
+
}
|
|
4490
4628
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4491
4629
|
const loc = `Dimensions.${key}`;
|
|
4492
4630
|
entries[loc] = value;
|
|
@@ -4667,6 +4805,9 @@ const serializeAws_queryPredictiveScalingConfiguration = (input, context) => {
|
|
|
4667
4805
|
const entries = {};
|
|
4668
4806
|
if (input.MetricSpecifications != null) {
|
|
4669
4807
|
const memberEntries = serializeAws_queryPredictiveScalingMetricSpecifications(input.MetricSpecifications, context);
|
|
4808
|
+
if (input.MetricSpecifications?.length === 0) {
|
|
4809
|
+
entries.MetricSpecifications = [];
|
|
4810
|
+
}
|
|
4670
4811
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4671
4812
|
const loc = `MetricSpecifications.${key}`;
|
|
4672
4813
|
entries[loc] = value;
|
|
@@ -4690,6 +4831,9 @@ const serializeAws_queryPredictiveScalingCustomizedCapacityMetric = (input, cont
|
|
|
4690
4831
|
const entries = {};
|
|
4691
4832
|
if (input.MetricDataQueries != null) {
|
|
4692
4833
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4834
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4835
|
+
entries.MetricDataQueries = [];
|
|
4836
|
+
}
|
|
4693
4837
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4694
4838
|
const loc = `MetricDataQueries.${key}`;
|
|
4695
4839
|
entries[loc] = value;
|
|
@@ -4701,6 +4845,9 @@ const serializeAws_queryPredictiveScalingCustomizedLoadMetric = (input, context)
|
|
|
4701
4845
|
const entries = {};
|
|
4702
4846
|
if (input.MetricDataQueries != null) {
|
|
4703
4847
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4848
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4849
|
+
entries.MetricDataQueries = [];
|
|
4850
|
+
}
|
|
4704
4851
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4705
4852
|
const loc = `MetricDataQueries.${key}`;
|
|
4706
4853
|
entries[loc] = value;
|
|
@@ -4712,6 +4859,9 @@ const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, conte
|
|
|
4712
4859
|
const entries = {};
|
|
4713
4860
|
if (input.MetricDataQueries != null) {
|
|
4714
4861
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4862
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4863
|
+
entries.MetricDataQueries = [];
|
|
4864
|
+
}
|
|
4715
4865
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4716
4866
|
const loc = `MetricDataQueries.${key}`;
|
|
4717
4867
|
entries[loc] = value;
|
|
@@ -4863,6 +5013,9 @@ const serializeAws_queryPutNotificationConfigurationType = (input, context) => {
|
|
|
4863
5013
|
}
|
|
4864
5014
|
if (input.NotificationTypes != null) {
|
|
4865
5015
|
const memberEntries = serializeAws_queryAutoScalingNotificationTypes(input.NotificationTypes, context);
|
|
5016
|
+
if (input.NotificationTypes?.length === 0) {
|
|
5017
|
+
entries.NotificationTypes = [];
|
|
5018
|
+
}
|
|
4866
5019
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4867
5020
|
const loc = `NotificationTypes.${key}`;
|
|
4868
5021
|
entries[loc] = value;
|
|
@@ -4901,6 +5054,9 @@ const serializeAws_queryPutScalingPolicyType = (input, context) => {
|
|
|
4901
5054
|
}
|
|
4902
5055
|
if (input.StepAdjustments != null) {
|
|
4903
5056
|
const memberEntries = serializeAws_queryStepAdjustments(input.StepAdjustments, context);
|
|
5057
|
+
if (input.StepAdjustments?.length === 0) {
|
|
5058
|
+
entries.StepAdjustments = [];
|
|
5059
|
+
}
|
|
4904
5060
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4905
5061
|
const loc = `StepAdjustments.${key}`;
|
|
4906
5062
|
entries[loc] = value;
|
|
@@ -5011,6 +5167,9 @@ const serializeAws_queryRefreshPreferences = (input, context) => {
|
|
|
5011
5167
|
}
|
|
5012
5168
|
if (input.CheckpointPercentages != null) {
|
|
5013
5169
|
const memberEntries = serializeAws_queryCheckpointPercentages(input.CheckpointPercentages, context);
|
|
5170
|
+
if (input.CheckpointPercentages?.length === 0) {
|
|
5171
|
+
entries.CheckpointPercentages = [];
|
|
5172
|
+
}
|
|
5014
5173
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5015
5174
|
const loc = `CheckpointPercentages.${key}`;
|
|
5016
5175
|
entries[loc] = value;
|
|
@@ -5031,6 +5190,9 @@ const serializeAws_queryScalingProcessQuery = (input, context) => {
|
|
|
5031
5190
|
}
|
|
5032
5191
|
if (input.ScalingProcesses != null) {
|
|
5033
5192
|
const memberEntries = serializeAws_queryProcessNames(input.ScalingProcesses, context);
|
|
5193
|
+
if (input.ScalingProcesses?.length === 0) {
|
|
5194
|
+
entries.ScalingProcesses = [];
|
|
5195
|
+
}
|
|
5034
5196
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5035
5197
|
const loc = `ScalingProcesses.${key}`;
|
|
5036
5198
|
entries[loc] = value;
|
|
@@ -5135,6 +5297,9 @@ const serializeAws_querySetInstanceProtectionQuery = (input, context) => {
|
|
|
5135
5297
|
const entries = {};
|
|
5136
5298
|
if (input.InstanceIds != null) {
|
|
5137
5299
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
5300
|
+
if (input.InstanceIds?.length === 0) {
|
|
5301
|
+
entries.InstanceIds = [];
|
|
5302
|
+
}
|
|
5138
5303
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5139
5304
|
const loc = `InstanceIds.${key}`;
|
|
5140
5305
|
entries[loc] = value;
|
|
@@ -5338,6 +5503,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
5338
5503
|
}
|
|
5339
5504
|
if (input.AvailabilityZones != null) {
|
|
5340
5505
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
5506
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
5507
|
+
entries.AvailabilityZones = [];
|
|
5508
|
+
}
|
|
5341
5509
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5342
5510
|
const loc = `AvailabilityZones.${key}`;
|
|
5343
5511
|
entries[loc] = value;
|
|
@@ -5357,6 +5525,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
5357
5525
|
}
|
|
5358
5526
|
if (input.TerminationPolicies != null) {
|
|
5359
5527
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
5528
|
+
if (input.TerminationPolicies?.length === 0) {
|
|
5529
|
+
entries.TerminationPolicies = [];
|
|
5530
|
+
}
|
|
5360
5531
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5361
5532
|
const loc = `TerminationPolicies.${key}`;
|
|
5362
5533
|
entries[loc] = value;
|
|
@@ -2992,6 +2992,9 @@ const serializeAws_queryAttachInstancesQuery = (input, context) => {
|
|
|
2992
2992
|
const entries = {};
|
|
2993
2993
|
if (input.InstanceIds != null) {
|
|
2994
2994
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
2995
|
+
if (input.InstanceIds?.length === 0) {
|
|
2996
|
+
entries.InstanceIds = [];
|
|
2997
|
+
}
|
|
2995
2998
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2996
2999
|
const loc = `InstanceIds.${key}`;
|
|
2997
3000
|
entries[loc] = value;
|
|
@@ -3009,6 +3012,9 @@ const serializeAws_queryAttachLoadBalancersType = (input, context) => {
|
|
|
3009
3012
|
}
|
|
3010
3013
|
if (input.LoadBalancerNames != null) {
|
|
3011
3014
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3015
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3016
|
+
entries.LoadBalancerNames = [];
|
|
3017
|
+
}
|
|
3012
3018
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3013
3019
|
const loc = `LoadBalancerNames.${key}`;
|
|
3014
3020
|
entries[loc] = value;
|
|
@@ -3023,6 +3029,9 @@ const serializeAws_queryAttachLoadBalancerTargetGroupsType = (input, context) =>
|
|
|
3023
3029
|
}
|
|
3024
3030
|
if (input.TargetGroupARNs != null) {
|
|
3025
3031
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3032
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
3033
|
+
entries.TargetGroupARNs = [];
|
|
3034
|
+
}
|
|
3026
3035
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3027
3036
|
const loc = `TargetGroupARNs.${key}`;
|
|
3028
3037
|
entries[loc] = value;
|
|
@@ -3046,6 +3055,9 @@ const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
|
3046
3055
|
const entries = {};
|
|
3047
3056
|
if (input.AutoScalingGroupNames != null) {
|
|
3048
3057
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3058
|
+
if (input.AutoScalingGroupNames?.length === 0) {
|
|
3059
|
+
entries.AutoScalingGroupNames = [];
|
|
3060
|
+
}
|
|
3049
3061
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3050
3062
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3051
3063
|
entries[loc] = value;
|
|
@@ -3059,6 +3071,9 @@ const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
|
3059
3071
|
}
|
|
3060
3072
|
if (input.Filters != null) {
|
|
3061
3073
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
3074
|
+
if (input.Filters?.length === 0) {
|
|
3075
|
+
entries.Filters = [];
|
|
3076
|
+
}
|
|
3062
3077
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3063
3078
|
const loc = `Filters.${key}`;
|
|
3064
3079
|
entries[loc] = value;
|
|
@@ -3107,6 +3122,9 @@ const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
|
3107
3122
|
}
|
|
3108
3123
|
if (input.ScheduledActionNames != null) {
|
|
3109
3124
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3125
|
+
if (input.ScheduledActionNames?.length === 0) {
|
|
3126
|
+
entries.ScheduledActionNames = [];
|
|
3127
|
+
}
|
|
3110
3128
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3111
3129
|
const loc = `ScheduledActionNames.${key}`;
|
|
3112
3130
|
entries[loc] = value;
|
|
@@ -3121,6 +3139,9 @@ const serializeAws_queryBatchPutScheduledUpdateGroupActionType = (input, context
|
|
|
3121
3139
|
}
|
|
3122
3140
|
if (input.ScheduledUpdateGroupActions != null) {
|
|
3123
3141
|
const memberEntries = serializeAws_queryScheduledUpdateGroupActionRequests(input.ScheduledUpdateGroupActions, context);
|
|
3142
|
+
if (input.ScheduledUpdateGroupActions?.length === 0) {
|
|
3143
|
+
entries.ScheduledUpdateGroupActions = [];
|
|
3144
|
+
}
|
|
3124
3145
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3125
3146
|
const loc = `ScheduledUpdateGroupActions.${key}`;
|
|
3126
3147
|
entries[loc] = value;
|
|
@@ -3264,6 +3285,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3264
3285
|
}
|
|
3265
3286
|
if (input.AvailabilityZones != null) {
|
|
3266
3287
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
3288
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
3289
|
+
entries.AvailabilityZones = [];
|
|
3290
|
+
}
|
|
3267
3291
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3268
3292
|
const loc = `AvailabilityZones.${key}`;
|
|
3269
3293
|
entries[loc] = value;
|
|
@@ -3271,6 +3295,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3271
3295
|
}
|
|
3272
3296
|
if (input.LoadBalancerNames != null) {
|
|
3273
3297
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3298
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3299
|
+
entries.LoadBalancerNames = [];
|
|
3300
|
+
}
|
|
3274
3301
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3275
3302
|
const loc = `LoadBalancerNames.${key}`;
|
|
3276
3303
|
entries[loc] = value;
|
|
@@ -3278,6 +3305,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3278
3305
|
}
|
|
3279
3306
|
if (input.TargetGroupARNs != null) {
|
|
3280
3307
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3308
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
3309
|
+
entries.TargetGroupARNs = [];
|
|
3310
|
+
}
|
|
3281
3311
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3282
3312
|
const loc = `TargetGroupARNs.${key}`;
|
|
3283
3313
|
entries[loc] = value;
|
|
@@ -3297,6 +3327,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3297
3327
|
}
|
|
3298
3328
|
if (input.TerminationPolicies != null) {
|
|
3299
3329
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
3330
|
+
if (input.TerminationPolicies?.length === 0) {
|
|
3331
|
+
entries.TerminationPolicies = [];
|
|
3332
|
+
}
|
|
3300
3333
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3301
3334
|
const loc = `TerminationPolicies.${key}`;
|
|
3302
3335
|
entries[loc] = value;
|
|
@@ -3310,6 +3343,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3310
3343
|
}
|
|
3311
3344
|
if (input.LifecycleHookSpecificationList != null) {
|
|
3312
3345
|
const memberEntries = serializeAws_queryLifecycleHookSpecifications(input.LifecycleHookSpecificationList, context);
|
|
3346
|
+
if (input.LifecycleHookSpecificationList?.length === 0) {
|
|
3347
|
+
entries.LifecycleHookSpecificationList = [];
|
|
3348
|
+
}
|
|
3313
3349
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3314
3350
|
const loc = `LifecycleHookSpecificationList.${key}`;
|
|
3315
3351
|
entries[loc] = value;
|
|
@@ -3317,6 +3353,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
3317
3353
|
}
|
|
3318
3354
|
if (input.Tags != null) {
|
|
3319
3355
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3356
|
+
if (input.Tags?.length === 0) {
|
|
3357
|
+
entries.Tags = [];
|
|
3358
|
+
}
|
|
3320
3359
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3321
3360
|
const loc = `Tags.${key}`;
|
|
3322
3361
|
entries[loc] = value;
|
|
@@ -3352,6 +3391,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3352
3391
|
}
|
|
3353
3392
|
if (input.SecurityGroups != null) {
|
|
3354
3393
|
const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context);
|
|
3394
|
+
if (input.SecurityGroups?.length === 0) {
|
|
3395
|
+
entries.SecurityGroups = [];
|
|
3396
|
+
}
|
|
3355
3397
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3356
3398
|
const loc = `SecurityGroups.${key}`;
|
|
3357
3399
|
entries[loc] = value;
|
|
@@ -3362,6 +3404,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3362
3404
|
}
|
|
3363
3405
|
if (input.ClassicLinkVPCSecurityGroups != null) {
|
|
3364
3406
|
const memberEntries = serializeAws_queryClassicLinkVPCSecurityGroups(input.ClassicLinkVPCSecurityGroups, context);
|
|
3407
|
+
if (input.ClassicLinkVPCSecurityGroups?.length === 0) {
|
|
3408
|
+
entries.ClassicLinkVPCSecurityGroups = [];
|
|
3409
|
+
}
|
|
3365
3410
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3366
3411
|
const loc = `ClassicLinkVPCSecurityGroups.${key}`;
|
|
3367
3412
|
entries[loc] = value;
|
|
@@ -3384,6 +3429,9 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3384
3429
|
}
|
|
3385
3430
|
if (input.BlockDeviceMappings != null) {
|
|
3386
3431
|
const memberEntries = serializeAws_queryBlockDeviceMappings(input.BlockDeviceMappings, context);
|
|
3432
|
+
if (input.BlockDeviceMappings?.length === 0) {
|
|
3433
|
+
entries.BlockDeviceMappings = [];
|
|
3434
|
+
}
|
|
3387
3435
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3388
3436
|
const loc = `BlockDeviceMappings.${key}`;
|
|
3389
3437
|
entries[loc] = value;
|
|
@@ -3424,6 +3472,9 @@ const serializeAws_queryCreateOrUpdateTagsType = (input, context) => {
|
|
|
3424
3472
|
const entries = {};
|
|
3425
3473
|
if (input.Tags != null) {
|
|
3426
3474
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3475
|
+
if (input.Tags?.length === 0) {
|
|
3476
|
+
entries.Tags = [];
|
|
3477
|
+
}
|
|
3427
3478
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3428
3479
|
const loc = `Tags.${key}`;
|
|
3429
3480
|
entries[loc] = value;
|
|
@@ -3441,6 +3492,9 @@ const serializeAws_queryCustomizedMetricSpecification = (input, context) => {
|
|
|
3441
3492
|
}
|
|
3442
3493
|
if (input.Dimensions != null) {
|
|
3443
3494
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
3495
|
+
if (input.Dimensions?.length === 0) {
|
|
3496
|
+
entries.Dimensions = [];
|
|
3497
|
+
}
|
|
3444
3498
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3445
3499
|
const loc = `Dimensions.${key}`;
|
|
3446
3500
|
entries[loc] = value;
|
|
@@ -3508,6 +3562,9 @@ const serializeAws_queryDeleteTagsType = (input, context) => {
|
|
|
3508
3562
|
const entries = {};
|
|
3509
3563
|
if (input.Tags != null) {
|
|
3510
3564
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3565
|
+
if (input.Tags?.length === 0) {
|
|
3566
|
+
entries.Tags = [];
|
|
3567
|
+
}
|
|
3511
3568
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3512
3569
|
const loc = `Tags.${key}`;
|
|
3513
3570
|
entries[loc] = value;
|
|
@@ -3529,6 +3586,9 @@ const serializeAws_queryDescribeAutoScalingInstancesType = (input, context) => {
|
|
|
3529
3586
|
const entries = {};
|
|
3530
3587
|
if (input.InstanceIds != null) {
|
|
3531
3588
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3589
|
+
if (input.InstanceIds?.length === 0) {
|
|
3590
|
+
entries.InstanceIds = [];
|
|
3591
|
+
}
|
|
3532
3592
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3533
3593
|
const loc = `InstanceIds.${key}`;
|
|
3534
3594
|
entries[loc] = value;
|
|
@@ -3549,6 +3609,9 @@ const serializeAws_queryDescribeInstanceRefreshesType = (input, context) => {
|
|
|
3549
3609
|
}
|
|
3550
3610
|
if (input.InstanceRefreshIds != null) {
|
|
3551
3611
|
const memberEntries = serializeAws_queryInstanceRefreshIds(input.InstanceRefreshIds, context);
|
|
3612
|
+
if (input.InstanceRefreshIds?.length === 0) {
|
|
3613
|
+
entries.InstanceRefreshIds = [];
|
|
3614
|
+
}
|
|
3552
3615
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3553
3616
|
const loc = `InstanceRefreshIds.${key}`;
|
|
3554
3617
|
entries[loc] = value;
|
|
@@ -3569,6 +3632,9 @@ const serializeAws_queryDescribeLifecycleHooksType = (input, context) => {
|
|
|
3569
3632
|
}
|
|
3570
3633
|
if (input.LifecycleHookNames != null) {
|
|
3571
3634
|
const memberEntries = serializeAws_queryLifecycleHookNames(input.LifecycleHookNames, context);
|
|
3635
|
+
if (input.LifecycleHookNames?.length === 0) {
|
|
3636
|
+
entries.LifecycleHookNames = [];
|
|
3637
|
+
}
|
|
3572
3638
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3573
3639
|
const loc = `LifecycleHookNames.${key}`;
|
|
3574
3640
|
entries[loc] = value;
|
|
@@ -3606,6 +3672,9 @@ const serializeAws_queryDescribeNotificationConfigurationsType = (input, context
|
|
|
3606
3672
|
const entries = {};
|
|
3607
3673
|
if (input.AutoScalingGroupNames != null) {
|
|
3608
3674
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3675
|
+
if (input.AutoScalingGroupNames?.length === 0) {
|
|
3676
|
+
entries.AutoScalingGroupNames = [];
|
|
3677
|
+
}
|
|
3609
3678
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3610
3679
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3611
3680
|
entries[loc] = value;
|
|
@@ -3626,6 +3695,9 @@ const serializeAws_queryDescribePoliciesType = (input, context) => {
|
|
|
3626
3695
|
}
|
|
3627
3696
|
if (input.PolicyNames != null) {
|
|
3628
3697
|
const memberEntries = serializeAws_queryPolicyNames(input.PolicyNames, context);
|
|
3698
|
+
if (input.PolicyNames?.length === 0) {
|
|
3699
|
+
entries.PolicyNames = [];
|
|
3700
|
+
}
|
|
3629
3701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3630
3702
|
const loc = `PolicyNames.${key}`;
|
|
3631
3703
|
entries[loc] = value;
|
|
@@ -3633,6 +3705,9 @@ const serializeAws_queryDescribePoliciesType = (input, context) => {
|
|
|
3633
3705
|
}
|
|
3634
3706
|
if (input.PolicyTypes != null) {
|
|
3635
3707
|
const memberEntries = serializeAws_queryPolicyTypes(input.PolicyTypes, context);
|
|
3708
|
+
if (input.PolicyTypes?.length === 0) {
|
|
3709
|
+
entries.PolicyTypes = [];
|
|
3710
|
+
}
|
|
3636
3711
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3637
3712
|
const loc = `PolicyTypes.${key}`;
|
|
3638
3713
|
entries[loc] = value;
|
|
@@ -3650,6 +3725,9 @@ const serializeAws_queryDescribeScalingActivitiesType = (input, context) => {
|
|
|
3650
3725
|
const entries = {};
|
|
3651
3726
|
if (input.ActivityIds != null) {
|
|
3652
3727
|
const memberEntries = serializeAws_queryActivityIds(input.ActivityIds, context);
|
|
3728
|
+
if (input.ActivityIds?.length === 0) {
|
|
3729
|
+
entries.ActivityIds = [];
|
|
3730
|
+
}
|
|
3653
3731
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3654
3732
|
const loc = `ActivityIds.${key}`;
|
|
3655
3733
|
entries[loc] = value;
|
|
@@ -3676,6 +3754,9 @@ const serializeAws_queryDescribeScheduledActionsType = (input, context) => {
|
|
|
3676
3754
|
}
|
|
3677
3755
|
if (input.ScheduledActionNames != null) {
|
|
3678
3756
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3757
|
+
if (input.ScheduledActionNames?.length === 0) {
|
|
3758
|
+
entries.ScheduledActionNames = [];
|
|
3759
|
+
}
|
|
3679
3760
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3680
3761
|
const loc = `ScheduledActionNames.${key}`;
|
|
3681
3762
|
entries[loc] = value;
|
|
@@ -3699,6 +3780,9 @@ const serializeAws_queryDescribeTagsType = (input, context) => {
|
|
|
3699
3780
|
const entries = {};
|
|
3700
3781
|
if (input.Filters != null) {
|
|
3701
3782
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
3783
|
+
if (input.Filters?.length === 0) {
|
|
3784
|
+
entries.Filters = [];
|
|
3785
|
+
}
|
|
3702
3786
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3703
3787
|
const loc = `Filters.${key}`;
|
|
3704
3788
|
entries[loc] = value;
|
|
@@ -3747,6 +3831,9 @@ const serializeAws_queryDetachInstancesQuery = (input, context) => {
|
|
|
3747
3831
|
const entries = {};
|
|
3748
3832
|
if (input.InstanceIds != null) {
|
|
3749
3833
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3834
|
+
if (input.InstanceIds?.length === 0) {
|
|
3835
|
+
entries.InstanceIds = [];
|
|
3836
|
+
}
|
|
3750
3837
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3751
3838
|
const loc = `InstanceIds.${key}`;
|
|
3752
3839
|
entries[loc] = value;
|
|
@@ -3767,6 +3854,9 @@ const serializeAws_queryDetachLoadBalancersType = (input, context) => {
|
|
|
3767
3854
|
}
|
|
3768
3855
|
if (input.LoadBalancerNames != null) {
|
|
3769
3856
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3857
|
+
if (input.LoadBalancerNames?.length === 0) {
|
|
3858
|
+
entries.LoadBalancerNames = [];
|
|
3859
|
+
}
|
|
3770
3860
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3771
3861
|
const loc = `LoadBalancerNames.${key}`;
|
|
3772
3862
|
entries[loc] = value;
|
|
@@ -3781,6 +3871,9 @@ const serializeAws_queryDetachLoadBalancerTargetGroupsType = (input, context) =>
|
|
|
3781
3871
|
}
|
|
3782
3872
|
if (input.TargetGroupARNs != null) {
|
|
3783
3873
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3874
|
+
if (input.TargetGroupARNs?.length === 0) {
|
|
3875
|
+
entries.TargetGroupARNs = [];
|
|
3876
|
+
}
|
|
3784
3877
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3785
3878
|
const loc = `TargetGroupARNs.${key}`;
|
|
3786
3879
|
entries[loc] = value;
|
|
@@ -3795,6 +3888,9 @@ const serializeAws_queryDisableMetricsCollectionQuery = (input, context) => {
|
|
|
3795
3888
|
}
|
|
3796
3889
|
if (input.Metrics != null) {
|
|
3797
3890
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
3891
|
+
if (input.Metrics?.length === 0) {
|
|
3892
|
+
entries.Metrics = [];
|
|
3893
|
+
}
|
|
3798
3894
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3799
3895
|
const loc = `Metrics.${key}`;
|
|
3800
3896
|
entries[loc] = value;
|
|
@@ -3834,6 +3930,9 @@ const serializeAws_queryEnableMetricsCollectionQuery = (input, context) => {
|
|
|
3834
3930
|
}
|
|
3835
3931
|
if (input.Metrics != null) {
|
|
3836
3932
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
3933
|
+
if (input.Metrics?.length === 0) {
|
|
3934
|
+
entries.Metrics = [];
|
|
3935
|
+
}
|
|
3837
3936
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3838
3937
|
const loc = `Metrics.${key}`;
|
|
3839
3938
|
entries[loc] = value;
|
|
@@ -3848,6 +3947,9 @@ const serializeAws_queryEnterStandbyQuery = (input, context) => {
|
|
|
3848
3947
|
const entries = {};
|
|
3849
3948
|
if (input.InstanceIds != null) {
|
|
3850
3949
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3950
|
+
if (input.InstanceIds?.length === 0) {
|
|
3951
|
+
entries.InstanceIds = [];
|
|
3952
|
+
}
|
|
3851
3953
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3852
3954
|
const loc = `InstanceIds.${key}`;
|
|
3853
3955
|
entries[loc] = value;
|
|
@@ -3896,6 +3998,9 @@ const serializeAws_queryExitStandbyQuery = (input, context) => {
|
|
|
3896
3998
|
const entries = {};
|
|
3897
3999
|
if (input.InstanceIds != null) {
|
|
3898
4000
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4001
|
+
if (input.InstanceIds?.length === 0) {
|
|
4002
|
+
entries.InstanceIds = [];
|
|
4003
|
+
}
|
|
3899
4004
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3900
4005
|
const loc = `InstanceIds.${key}`;
|
|
3901
4006
|
entries[loc] = value;
|
|
@@ -3913,6 +4018,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
3913
4018
|
}
|
|
3914
4019
|
if (input.Values != null) {
|
|
3915
4020
|
const memberEntries = serializeAws_queryValues(input.Values, context);
|
|
4021
|
+
if (input.Values?.length === 0) {
|
|
4022
|
+
entries.Values = [];
|
|
4023
|
+
}
|
|
3916
4024
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3917
4025
|
const loc = `Values.${key}`;
|
|
3918
4026
|
entries[loc] = value;
|
|
@@ -4025,6 +4133,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4025
4133
|
}
|
|
4026
4134
|
if (input.CpuManufacturers != null) {
|
|
4027
4135
|
const memberEntries = serializeAws_queryCpuManufacturers(input.CpuManufacturers, context);
|
|
4136
|
+
if (input.CpuManufacturers?.length === 0) {
|
|
4137
|
+
entries.CpuManufacturers = [];
|
|
4138
|
+
}
|
|
4028
4139
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4029
4140
|
const loc = `CpuManufacturers.${key}`;
|
|
4030
4141
|
entries[loc] = value;
|
|
@@ -4039,6 +4150,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4039
4150
|
}
|
|
4040
4151
|
if (input.ExcludedInstanceTypes != null) {
|
|
4041
4152
|
const memberEntries = serializeAws_queryExcludedInstanceTypes(input.ExcludedInstanceTypes, context);
|
|
4153
|
+
if (input.ExcludedInstanceTypes?.length === 0) {
|
|
4154
|
+
entries.ExcludedInstanceTypes = [];
|
|
4155
|
+
}
|
|
4042
4156
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4043
4157
|
const loc = `ExcludedInstanceTypes.${key}`;
|
|
4044
4158
|
entries[loc] = value;
|
|
@@ -4046,6 +4160,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4046
4160
|
}
|
|
4047
4161
|
if (input.InstanceGenerations != null) {
|
|
4048
4162
|
const memberEntries = serializeAws_queryInstanceGenerations(input.InstanceGenerations, context);
|
|
4163
|
+
if (input.InstanceGenerations?.length === 0) {
|
|
4164
|
+
entries.InstanceGenerations = [];
|
|
4165
|
+
}
|
|
4049
4166
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4050
4167
|
const loc = `InstanceGenerations.${key}`;
|
|
4051
4168
|
entries[loc] = value;
|
|
@@ -4078,6 +4195,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4078
4195
|
}
|
|
4079
4196
|
if (input.LocalStorageTypes != null) {
|
|
4080
4197
|
const memberEntries = serializeAws_queryLocalStorageTypes(input.LocalStorageTypes, context);
|
|
4198
|
+
if (input.LocalStorageTypes?.length === 0) {
|
|
4199
|
+
entries.LocalStorageTypes = [];
|
|
4200
|
+
}
|
|
4081
4201
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4082
4202
|
const loc = `LocalStorageTypes.${key}`;
|
|
4083
4203
|
entries[loc] = value;
|
|
@@ -4099,6 +4219,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4099
4219
|
}
|
|
4100
4220
|
if (input.AcceleratorTypes != null) {
|
|
4101
4221
|
const memberEntries = serializeAws_queryAcceleratorTypes(input.AcceleratorTypes, context);
|
|
4222
|
+
if (input.AcceleratorTypes?.length === 0) {
|
|
4223
|
+
entries.AcceleratorTypes = [];
|
|
4224
|
+
}
|
|
4102
4225
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4103
4226
|
const loc = `AcceleratorTypes.${key}`;
|
|
4104
4227
|
entries[loc] = value;
|
|
@@ -4113,6 +4236,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4113
4236
|
}
|
|
4114
4237
|
if (input.AcceleratorManufacturers != null) {
|
|
4115
4238
|
const memberEntries = serializeAws_queryAcceleratorManufacturers(input.AcceleratorManufacturers, context);
|
|
4239
|
+
if (input.AcceleratorManufacturers?.length === 0) {
|
|
4240
|
+
entries.AcceleratorManufacturers = [];
|
|
4241
|
+
}
|
|
4116
4242
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4117
4243
|
const loc = `AcceleratorManufacturers.${key}`;
|
|
4118
4244
|
entries[loc] = value;
|
|
@@ -4120,6 +4246,9 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4120
4246
|
}
|
|
4121
4247
|
if (input.AcceleratorNames != null) {
|
|
4122
4248
|
const memberEntries = serializeAws_queryAcceleratorNames(input.AcceleratorNames, context);
|
|
4249
|
+
if (input.AcceleratorNames?.length === 0) {
|
|
4250
|
+
entries.AcceleratorNames = [];
|
|
4251
|
+
}
|
|
4123
4252
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4124
4253
|
const loc = `AcceleratorNames.${key}`;
|
|
4125
4254
|
entries[loc] = value;
|
|
@@ -4179,6 +4308,9 @@ const serializeAws_queryLaunchConfigurationNamesType = (input, context) => {
|
|
|
4179
4308
|
const entries = {};
|
|
4180
4309
|
if (input.LaunchConfigurationNames != null) {
|
|
4181
4310
|
const memberEntries = serializeAws_queryLaunchConfigurationNames(input.LaunchConfigurationNames, context);
|
|
4311
|
+
if (input.LaunchConfigurationNames?.length === 0) {
|
|
4312
|
+
entries.LaunchConfigurationNames = [];
|
|
4313
|
+
}
|
|
4182
4314
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4183
4315
|
const loc = `LaunchConfigurationNames.${key}`;
|
|
4184
4316
|
entries[loc] = value;
|
|
@@ -4210,6 +4342,9 @@ const serializeAws_queryLaunchTemplate = (input, context) => {
|
|
|
4210
4342
|
}
|
|
4211
4343
|
if (input.Overrides != null) {
|
|
4212
4344
|
const memberEntries = serializeAws_queryOverrides(input.Overrides, context);
|
|
4345
|
+
if (input.Overrides?.length === 0) {
|
|
4346
|
+
entries.Overrides = [];
|
|
4347
|
+
}
|
|
4213
4348
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4214
4349
|
const loc = `Overrides.${key}`;
|
|
4215
4350
|
entries[loc] = value;
|
|
@@ -4360,6 +4495,9 @@ const serializeAws_queryMetric = (input, context) => {
|
|
|
4360
4495
|
}
|
|
4361
4496
|
if (input.Dimensions != null) {
|
|
4362
4497
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
4498
|
+
if (input.Dimensions?.length === 0) {
|
|
4499
|
+
entries.Dimensions = [];
|
|
4500
|
+
}
|
|
4363
4501
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4364
4502
|
const loc = `Dimensions.${key}`;
|
|
4365
4503
|
entries[loc] = value;
|
|
@@ -4540,6 +4678,9 @@ const serializeAws_queryPredictiveScalingConfiguration = (input, context) => {
|
|
|
4540
4678
|
const entries = {};
|
|
4541
4679
|
if (input.MetricSpecifications != null) {
|
|
4542
4680
|
const memberEntries = serializeAws_queryPredictiveScalingMetricSpecifications(input.MetricSpecifications, context);
|
|
4681
|
+
if (input.MetricSpecifications?.length === 0) {
|
|
4682
|
+
entries.MetricSpecifications = [];
|
|
4683
|
+
}
|
|
4543
4684
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4544
4685
|
const loc = `MetricSpecifications.${key}`;
|
|
4545
4686
|
entries[loc] = value;
|
|
@@ -4563,6 +4704,9 @@ const serializeAws_queryPredictiveScalingCustomizedCapacityMetric = (input, cont
|
|
|
4563
4704
|
const entries = {};
|
|
4564
4705
|
if (input.MetricDataQueries != null) {
|
|
4565
4706
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4707
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4708
|
+
entries.MetricDataQueries = [];
|
|
4709
|
+
}
|
|
4566
4710
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4567
4711
|
const loc = `MetricDataQueries.${key}`;
|
|
4568
4712
|
entries[loc] = value;
|
|
@@ -4574,6 +4718,9 @@ const serializeAws_queryPredictiveScalingCustomizedLoadMetric = (input, context)
|
|
|
4574
4718
|
const entries = {};
|
|
4575
4719
|
if (input.MetricDataQueries != null) {
|
|
4576
4720
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4721
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4722
|
+
entries.MetricDataQueries = [];
|
|
4723
|
+
}
|
|
4577
4724
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4578
4725
|
const loc = `MetricDataQueries.${key}`;
|
|
4579
4726
|
entries[loc] = value;
|
|
@@ -4585,6 +4732,9 @@ const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, conte
|
|
|
4585
4732
|
const entries = {};
|
|
4586
4733
|
if (input.MetricDataQueries != null) {
|
|
4587
4734
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4735
|
+
if (input.MetricDataQueries?.length === 0) {
|
|
4736
|
+
entries.MetricDataQueries = [];
|
|
4737
|
+
}
|
|
4588
4738
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4589
4739
|
const loc = `MetricDataQueries.${key}`;
|
|
4590
4740
|
entries[loc] = value;
|
|
@@ -4736,6 +4886,9 @@ const serializeAws_queryPutNotificationConfigurationType = (input, context) => {
|
|
|
4736
4886
|
}
|
|
4737
4887
|
if (input.NotificationTypes != null) {
|
|
4738
4888
|
const memberEntries = serializeAws_queryAutoScalingNotificationTypes(input.NotificationTypes, context);
|
|
4889
|
+
if (input.NotificationTypes?.length === 0) {
|
|
4890
|
+
entries.NotificationTypes = [];
|
|
4891
|
+
}
|
|
4739
4892
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4740
4893
|
const loc = `NotificationTypes.${key}`;
|
|
4741
4894
|
entries[loc] = value;
|
|
@@ -4774,6 +4927,9 @@ const serializeAws_queryPutScalingPolicyType = (input, context) => {
|
|
|
4774
4927
|
}
|
|
4775
4928
|
if (input.StepAdjustments != null) {
|
|
4776
4929
|
const memberEntries = serializeAws_queryStepAdjustments(input.StepAdjustments, context);
|
|
4930
|
+
if (input.StepAdjustments?.length === 0) {
|
|
4931
|
+
entries.StepAdjustments = [];
|
|
4932
|
+
}
|
|
4777
4933
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4778
4934
|
const loc = `StepAdjustments.${key}`;
|
|
4779
4935
|
entries[loc] = value;
|
|
@@ -4884,6 +5040,9 @@ const serializeAws_queryRefreshPreferences = (input, context) => {
|
|
|
4884
5040
|
}
|
|
4885
5041
|
if (input.CheckpointPercentages != null) {
|
|
4886
5042
|
const memberEntries = serializeAws_queryCheckpointPercentages(input.CheckpointPercentages, context);
|
|
5043
|
+
if (input.CheckpointPercentages?.length === 0) {
|
|
5044
|
+
entries.CheckpointPercentages = [];
|
|
5045
|
+
}
|
|
4887
5046
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4888
5047
|
const loc = `CheckpointPercentages.${key}`;
|
|
4889
5048
|
entries[loc] = value;
|
|
@@ -4904,6 +5063,9 @@ const serializeAws_queryScalingProcessQuery = (input, context) => {
|
|
|
4904
5063
|
}
|
|
4905
5064
|
if (input.ScalingProcesses != null) {
|
|
4906
5065
|
const memberEntries = serializeAws_queryProcessNames(input.ScalingProcesses, context);
|
|
5066
|
+
if (input.ScalingProcesses?.length === 0) {
|
|
5067
|
+
entries.ScalingProcesses = [];
|
|
5068
|
+
}
|
|
4907
5069
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4908
5070
|
const loc = `ScalingProcesses.${key}`;
|
|
4909
5071
|
entries[loc] = value;
|
|
@@ -5008,6 +5170,9 @@ const serializeAws_querySetInstanceProtectionQuery = (input, context) => {
|
|
|
5008
5170
|
const entries = {};
|
|
5009
5171
|
if (input.InstanceIds != null) {
|
|
5010
5172
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
5173
|
+
if (input.InstanceIds?.length === 0) {
|
|
5174
|
+
entries.InstanceIds = [];
|
|
5175
|
+
}
|
|
5011
5176
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5012
5177
|
const loc = `InstanceIds.${key}`;
|
|
5013
5178
|
entries[loc] = value;
|
|
@@ -5211,6 +5376,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
5211
5376
|
}
|
|
5212
5377
|
if (input.AvailabilityZones != null) {
|
|
5213
5378
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
5379
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
5380
|
+
entries.AvailabilityZones = [];
|
|
5381
|
+
}
|
|
5214
5382
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5215
5383
|
const loc = `AvailabilityZones.${key}`;
|
|
5216
5384
|
entries[loc] = value;
|
|
@@ -5230,6 +5398,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
5230
5398
|
}
|
|
5231
5399
|
if (input.TerminationPolicies != null) {
|
|
5232
5400
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
5401
|
+
if (input.TerminationPolicies?.length === 0) {
|
|
5402
|
+
entries.TerminationPolicies = [];
|
|
5403
|
+
}
|
|
5233
5404
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5234
5405
|
const loc = `TerminationPolicies.${key}`;
|
|
5235
5406
|
entries[loc] = value;
|
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.202.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|