@aws-sdk/client-elastic-beanstalk 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 +84 -0
- package/dist-es/protocols/Aws_query.js +84 -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
|
|
|
@@ -2470,6 +2470,9 @@ const serializeAws_queryComposeEnvironmentsMessage = (input, context) => {
|
|
|
2470
2470
|
}
|
|
2471
2471
|
if (input.VersionLabels != null) {
|
|
2472
2472
|
const memberEntries = serializeAws_queryVersionLabels(input.VersionLabels, context);
|
|
2473
|
+
if (input.VersionLabels?.length === 0) {
|
|
2474
|
+
entries.VersionLabels = [];
|
|
2475
|
+
}
|
|
2473
2476
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2474
2477
|
const loc = `VersionLabels.${key}`;
|
|
2475
2478
|
entries[loc] = value;
|
|
@@ -2525,6 +2528,9 @@ const serializeAws_queryCreateApplicationMessage = (input, context) => {
|
|
|
2525
2528
|
}
|
|
2526
2529
|
if (input.Tags != null) {
|
|
2527
2530
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2531
|
+
if (input.Tags?.length === 0) {
|
|
2532
|
+
entries.Tags = [];
|
|
2533
|
+
}
|
|
2528
2534
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2529
2535
|
const loc = `Tags.${key}`;
|
|
2530
2536
|
entries[loc] = value;
|
|
@@ -2572,6 +2578,9 @@ const serializeAws_queryCreateApplicationVersionMessage = (input, context) => {
|
|
|
2572
2578
|
}
|
|
2573
2579
|
if (input.Tags != null) {
|
|
2574
2580
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2581
|
+
if (input.Tags?.length === 0) {
|
|
2582
|
+
entries.Tags = [];
|
|
2583
|
+
}
|
|
2575
2584
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2576
2585
|
const loc = `Tags.${key}`;
|
|
2577
2586
|
entries[loc] = value;
|
|
@@ -2608,6 +2617,9 @@ const serializeAws_queryCreateConfigurationTemplateMessage = (input, context) =>
|
|
|
2608
2617
|
}
|
|
2609
2618
|
if (input.OptionSettings != null) {
|
|
2610
2619
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2620
|
+
if (input.OptionSettings?.length === 0) {
|
|
2621
|
+
entries.OptionSettings = [];
|
|
2622
|
+
}
|
|
2611
2623
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2612
2624
|
const loc = `OptionSettings.${key}`;
|
|
2613
2625
|
entries[loc] = value;
|
|
@@ -2615,6 +2627,9 @@ const serializeAws_queryCreateConfigurationTemplateMessage = (input, context) =>
|
|
|
2615
2627
|
}
|
|
2616
2628
|
if (input.Tags != null) {
|
|
2617
2629
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2630
|
+
if (input.Tags?.length === 0) {
|
|
2631
|
+
entries.Tags = [];
|
|
2632
|
+
}
|
|
2618
2633
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2619
2634
|
const loc = `Tags.${key}`;
|
|
2620
2635
|
entries[loc] = value;
|
|
@@ -2648,6 +2663,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2648
2663
|
}
|
|
2649
2664
|
if (input.Tags != null) {
|
|
2650
2665
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2666
|
+
if (input.Tags?.length === 0) {
|
|
2667
|
+
entries.Tags = [];
|
|
2668
|
+
}
|
|
2651
2669
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2652
2670
|
const loc = `Tags.${key}`;
|
|
2653
2671
|
entries[loc] = value;
|
|
@@ -2667,6 +2685,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2667
2685
|
}
|
|
2668
2686
|
if (input.OptionSettings != null) {
|
|
2669
2687
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2688
|
+
if (input.OptionSettings?.length === 0) {
|
|
2689
|
+
entries.OptionSettings = [];
|
|
2690
|
+
}
|
|
2670
2691
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2671
2692
|
const loc = `OptionSettings.${key}`;
|
|
2672
2693
|
entries[loc] = value;
|
|
@@ -2674,6 +2695,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2674
2695
|
}
|
|
2675
2696
|
if (input.OptionsToRemove != null) {
|
|
2676
2697
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
2698
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
2699
|
+
entries.OptionsToRemove = [];
|
|
2700
|
+
}
|
|
2677
2701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2678
2702
|
const loc = `OptionsToRemove.${key}`;
|
|
2679
2703
|
entries[loc] = value;
|
|
@@ -2704,6 +2728,9 @@ const serializeAws_queryCreatePlatformVersionRequest = (input, context) => {
|
|
|
2704
2728
|
}
|
|
2705
2729
|
if (input.OptionSettings != null) {
|
|
2706
2730
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2731
|
+
if (input.OptionSettings?.length === 0) {
|
|
2732
|
+
entries.OptionSettings = [];
|
|
2733
|
+
}
|
|
2707
2734
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2708
2735
|
const loc = `OptionSettings.${key}`;
|
|
2709
2736
|
entries[loc] = value;
|
|
@@ -2711,6 +2738,9 @@ const serializeAws_queryCreatePlatformVersionRequest = (input, context) => {
|
|
|
2711
2738
|
}
|
|
2712
2739
|
if (input.Tags != null) {
|
|
2713
2740
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2741
|
+
if (input.Tags?.length === 0) {
|
|
2742
|
+
entries.Tags = [];
|
|
2743
|
+
}
|
|
2714
2744
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2715
2745
|
const loc = `Tags.${key}`;
|
|
2716
2746
|
entries[loc] = value;
|
|
@@ -2772,6 +2802,9 @@ const serializeAws_queryDescribeApplicationsMessage = (input, context) => {
|
|
|
2772
2802
|
const entries = {};
|
|
2773
2803
|
if (input.ApplicationNames != null) {
|
|
2774
2804
|
const memberEntries = serializeAws_queryApplicationNamesList(input.ApplicationNames, context);
|
|
2805
|
+
if (input.ApplicationNames?.length === 0) {
|
|
2806
|
+
entries.ApplicationNames = [];
|
|
2807
|
+
}
|
|
2775
2808
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2776
2809
|
const loc = `ApplicationNames.${key}`;
|
|
2777
2810
|
entries[loc] = value;
|
|
@@ -2786,6 +2819,9 @@ const serializeAws_queryDescribeApplicationVersionsMessage = (input, context) =>
|
|
|
2786
2819
|
}
|
|
2787
2820
|
if (input.VersionLabels != null) {
|
|
2788
2821
|
const memberEntries = serializeAws_queryVersionLabelsList(input.VersionLabels, context);
|
|
2822
|
+
if (input.VersionLabels?.length === 0) {
|
|
2823
|
+
entries.VersionLabels = [];
|
|
2824
|
+
}
|
|
2789
2825
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2790
2826
|
const loc = `VersionLabels.${key}`;
|
|
2791
2827
|
entries[loc] = value;
|
|
@@ -2818,6 +2854,9 @@ const serializeAws_queryDescribeConfigurationOptionsMessage = (input, context) =
|
|
|
2818
2854
|
}
|
|
2819
2855
|
if (input.Options != null) {
|
|
2820
2856
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.Options, context);
|
|
2857
|
+
if (input.Options?.length === 0) {
|
|
2858
|
+
entries.Options = [];
|
|
2859
|
+
}
|
|
2821
2860
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2822
2861
|
const loc = `Options.${key}`;
|
|
2823
2862
|
entries[loc] = value;
|
|
@@ -2848,6 +2887,9 @@ const serializeAws_queryDescribeEnvironmentHealthRequest = (input, context) => {
|
|
|
2848
2887
|
}
|
|
2849
2888
|
if (input.AttributeNames != null) {
|
|
2850
2889
|
const memberEntries = serializeAws_queryEnvironmentHealthAttributes(input.AttributeNames, context);
|
|
2890
|
+
if (input.AttributeNames?.length === 0) {
|
|
2891
|
+
entries.AttributeNames = [];
|
|
2892
|
+
}
|
|
2851
2893
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2852
2894
|
const loc = `AttributeNames.${key}`;
|
|
2853
2895
|
entries[loc] = value;
|
|
@@ -2904,6 +2946,9 @@ const serializeAws_queryDescribeEnvironmentsMessage = (input, context) => {
|
|
|
2904
2946
|
}
|
|
2905
2947
|
if (input.EnvironmentIds != null) {
|
|
2906
2948
|
const memberEntries = serializeAws_queryEnvironmentIdList(input.EnvironmentIds, context);
|
|
2949
|
+
if (input.EnvironmentIds?.length === 0) {
|
|
2950
|
+
entries.EnvironmentIds = [];
|
|
2951
|
+
}
|
|
2907
2952
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2908
2953
|
const loc = `EnvironmentIds.${key}`;
|
|
2909
2954
|
entries[loc] = value;
|
|
@@ -2911,6 +2956,9 @@ const serializeAws_queryDescribeEnvironmentsMessage = (input, context) => {
|
|
|
2911
2956
|
}
|
|
2912
2957
|
if (input.EnvironmentNames != null) {
|
|
2913
2958
|
const memberEntries = serializeAws_queryEnvironmentNamesList(input.EnvironmentNames, context);
|
|
2959
|
+
if (input.EnvironmentNames?.length === 0) {
|
|
2960
|
+
entries.EnvironmentNames = [];
|
|
2961
|
+
}
|
|
2914
2962
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2915
2963
|
const loc = `EnvironmentNames.${key}`;
|
|
2916
2964
|
entries[loc] = value;
|
|
@@ -2980,6 +3028,9 @@ const serializeAws_queryDescribeInstancesHealthRequest = (input, context) => {
|
|
|
2980
3028
|
}
|
|
2981
3029
|
if (input.AttributeNames != null) {
|
|
2982
3030
|
const memberEntries = serializeAws_queryInstancesHealthAttributes(input.AttributeNames, context);
|
|
3031
|
+
if (input.AttributeNames?.length === 0) {
|
|
3032
|
+
entries.AttributeNames = [];
|
|
3033
|
+
}
|
|
2983
3034
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2984
3035
|
const loc = `AttributeNames.${key}`;
|
|
2985
3036
|
entries[loc] = value;
|
|
@@ -3069,6 +3120,9 @@ const serializeAws_queryListPlatformBranchesRequest = (input, context) => {
|
|
|
3069
3120
|
const entries = {};
|
|
3070
3121
|
if (input.Filters != null) {
|
|
3071
3122
|
const memberEntries = serializeAws_querySearchFilters(input.Filters, context);
|
|
3123
|
+
if (input.Filters?.length === 0) {
|
|
3124
|
+
entries.Filters = [];
|
|
3125
|
+
}
|
|
3072
3126
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3073
3127
|
const loc = `Filters.${key}`;
|
|
3074
3128
|
entries[loc] = value;
|
|
@@ -3086,6 +3140,9 @@ const serializeAws_queryListPlatformVersionsRequest = (input, context) => {
|
|
|
3086
3140
|
const entries = {};
|
|
3087
3141
|
if (input.Filters != null) {
|
|
3088
3142
|
const memberEntries = serializeAws_queryPlatformFilters(input.Filters, context);
|
|
3143
|
+
if (input.Filters?.length === 0) {
|
|
3144
|
+
entries.Filters = [];
|
|
3145
|
+
}
|
|
3089
3146
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3090
3147
|
const loc = `Filters.${key}`;
|
|
3091
3148
|
entries[loc] = value;
|
|
@@ -3170,6 +3227,9 @@ const serializeAws_queryPlatformFilter = (input, context) => {
|
|
|
3170
3227
|
}
|
|
3171
3228
|
if (input.Values != null) {
|
|
3172
3229
|
const memberEntries = serializeAws_queryPlatformFilterValueList(input.Values, context);
|
|
3230
|
+
if (input.Values?.length === 0) {
|
|
3231
|
+
entries.Values = [];
|
|
3232
|
+
}
|
|
3173
3233
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3174
3234
|
const loc = `Values.${key}`;
|
|
3175
3235
|
entries[loc] = value;
|
|
@@ -3270,6 +3330,9 @@ const serializeAws_querySearchFilter = (input, context) => {
|
|
|
3270
3330
|
}
|
|
3271
3331
|
if (input.Values != null) {
|
|
3272
3332
|
const memberEntries = serializeAws_querySearchFilterValues(input.Values, context);
|
|
3333
|
+
if (input.Values?.length === 0) {
|
|
3334
|
+
entries.Values = [];
|
|
3335
|
+
}
|
|
3273
3336
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3274
3337
|
const loc = `Values.${key}`;
|
|
3275
3338
|
entries[loc] = value;
|
|
@@ -3461,6 +3524,9 @@ const serializeAws_queryUpdateConfigurationTemplateMessage = (input, context) =>
|
|
|
3461
3524
|
}
|
|
3462
3525
|
if (input.OptionSettings != null) {
|
|
3463
3526
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3527
|
+
if (input.OptionSettings?.length === 0) {
|
|
3528
|
+
entries.OptionSettings = [];
|
|
3529
|
+
}
|
|
3464
3530
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3465
3531
|
const loc = `OptionSettings.${key}`;
|
|
3466
3532
|
entries[loc] = value;
|
|
@@ -3468,6 +3534,9 @@ const serializeAws_queryUpdateConfigurationTemplateMessage = (input, context) =>
|
|
|
3468
3534
|
}
|
|
3469
3535
|
if (input.OptionsToRemove != null) {
|
|
3470
3536
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
3537
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
3538
|
+
entries.OptionsToRemove = [];
|
|
3539
|
+
}
|
|
3471
3540
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3472
3541
|
const loc = `OptionsToRemove.${key}`;
|
|
3473
3542
|
entries[loc] = value;
|
|
@@ -3513,6 +3582,9 @@ const serializeAws_queryUpdateEnvironmentMessage = (input, context) => {
|
|
|
3513
3582
|
}
|
|
3514
3583
|
if (input.OptionSettings != null) {
|
|
3515
3584
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3585
|
+
if (input.OptionSettings?.length === 0) {
|
|
3586
|
+
entries.OptionSettings = [];
|
|
3587
|
+
}
|
|
3516
3588
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3517
3589
|
const loc = `OptionSettings.${key}`;
|
|
3518
3590
|
entries[loc] = value;
|
|
@@ -3520,6 +3592,9 @@ const serializeAws_queryUpdateEnvironmentMessage = (input, context) => {
|
|
|
3520
3592
|
}
|
|
3521
3593
|
if (input.OptionsToRemove != null) {
|
|
3522
3594
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
3595
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
3596
|
+
entries.OptionsToRemove = [];
|
|
3597
|
+
}
|
|
3523
3598
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3524
3599
|
const loc = `OptionsToRemove.${key}`;
|
|
3525
3600
|
entries[loc] = value;
|
|
@@ -3534,6 +3609,9 @@ const serializeAws_queryUpdateTagsForResourceMessage = (input, context) => {
|
|
|
3534
3609
|
}
|
|
3535
3610
|
if (input.TagsToAdd != null) {
|
|
3536
3611
|
const memberEntries = serializeAws_queryTagList(input.TagsToAdd, context);
|
|
3612
|
+
if (input.TagsToAdd?.length === 0) {
|
|
3613
|
+
entries.TagsToAdd = [];
|
|
3614
|
+
}
|
|
3537
3615
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3538
3616
|
const loc = `TagsToAdd.${key}`;
|
|
3539
3617
|
entries[loc] = value;
|
|
@@ -3541,6 +3619,9 @@ const serializeAws_queryUpdateTagsForResourceMessage = (input, context) => {
|
|
|
3541
3619
|
}
|
|
3542
3620
|
if (input.TagsToRemove != null) {
|
|
3543
3621
|
const memberEntries = serializeAws_queryTagKeyList(input.TagsToRemove, context);
|
|
3622
|
+
if (input.TagsToRemove?.length === 0) {
|
|
3623
|
+
entries.TagsToRemove = [];
|
|
3624
|
+
}
|
|
3544
3625
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3545
3626
|
const loc = `TagsToRemove.${key}`;
|
|
3546
3627
|
entries[loc] = value;
|
|
@@ -3561,6 +3642,9 @@ const serializeAws_queryValidateConfigurationSettingsMessage = (input, context)
|
|
|
3561
3642
|
}
|
|
3562
3643
|
if (input.OptionSettings != null) {
|
|
3563
3644
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3645
|
+
if (input.OptionSettings?.length === 0) {
|
|
3646
|
+
entries.OptionSettings = [];
|
|
3647
|
+
}
|
|
3564
3648
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3565
3649
|
const loc = `OptionSettings.${key}`;
|
|
3566
3650
|
entries[loc] = value;
|
|
@@ -2372,6 +2372,9 @@ const serializeAws_queryComposeEnvironmentsMessage = (input, context) => {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
if (input.VersionLabels != null) {
|
|
2374
2374
|
const memberEntries = serializeAws_queryVersionLabels(input.VersionLabels, context);
|
|
2375
|
+
if (input.VersionLabels?.length === 0) {
|
|
2376
|
+
entries.VersionLabels = [];
|
|
2377
|
+
}
|
|
2375
2378
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2376
2379
|
const loc = `VersionLabels.${key}`;
|
|
2377
2380
|
entries[loc] = value;
|
|
@@ -2427,6 +2430,9 @@ const serializeAws_queryCreateApplicationMessage = (input, context) => {
|
|
|
2427
2430
|
}
|
|
2428
2431
|
if (input.Tags != null) {
|
|
2429
2432
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2433
|
+
if (input.Tags?.length === 0) {
|
|
2434
|
+
entries.Tags = [];
|
|
2435
|
+
}
|
|
2430
2436
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2431
2437
|
const loc = `Tags.${key}`;
|
|
2432
2438
|
entries[loc] = value;
|
|
@@ -2474,6 +2480,9 @@ const serializeAws_queryCreateApplicationVersionMessage = (input, context) => {
|
|
|
2474
2480
|
}
|
|
2475
2481
|
if (input.Tags != null) {
|
|
2476
2482
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2483
|
+
if (input.Tags?.length === 0) {
|
|
2484
|
+
entries.Tags = [];
|
|
2485
|
+
}
|
|
2477
2486
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2478
2487
|
const loc = `Tags.${key}`;
|
|
2479
2488
|
entries[loc] = value;
|
|
@@ -2510,6 +2519,9 @@ const serializeAws_queryCreateConfigurationTemplateMessage = (input, context) =>
|
|
|
2510
2519
|
}
|
|
2511
2520
|
if (input.OptionSettings != null) {
|
|
2512
2521
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2522
|
+
if (input.OptionSettings?.length === 0) {
|
|
2523
|
+
entries.OptionSettings = [];
|
|
2524
|
+
}
|
|
2513
2525
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2514
2526
|
const loc = `OptionSettings.${key}`;
|
|
2515
2527
|
entries[loc] = value;
|
|
@@ -2517,6 +2529,9 @@ const serializeAws_queryCreateConfigurationTemplateMessage = (input, context) =>
|
|
|
2517
2529
|
}
|
|
2518
2530
|
if (input.Tags != null) {
|
|
2519
2531
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2532
|
+
if (input.Tags?.length === 0) {
|
|
2533
|
+
entries.Tags = [];
|
|
2534
|
+
}
|
|
2520
2535
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2521
2536
|
const loc = `Tags.${key}`;
|
|
2522
2537
|
entries[loc] = value;
|
|
@@ -2550,6 +2565,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2550
2565
|
}
|
|
2551
2566
|
if (input.Tags != null) {
|
|
2552
2567
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2568
|
+
if (input.Tags?.length === 0) {
|
|
2569
|
+
entries.Tags = [];
|
|
2570
|
+
}
|
|
2553
2571
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2554
2572
|
const loc = `Tags.${key}`;
|
|
2555
2573
|
entries[loc] = value;
|
|
@@ -2569,6 +2587,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2569
2587
|
}
|
|
2570
2588
|
if (input.OptionSettings != null) {
|
|
2571
2589
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2590
|
+
if (input.OptionSettings?.length === 0) {
|
|
2591
|
+
entries.OptionSettings = [];
|
|
2592
|
+
}
|
|
2572
2593
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2573
2594
|
const loc = `OptionSettings.${key}`;
|
|
2574
2595
|
entries[loc] = value;
|
|
@@ -2576,6 +2597,9 @@ const serializeAws_queryCreateEnvironmentMessage = (input, context) => {
|
|
|
2576
2597
|
}
|
|
2577
2598
|
if (input.OptionsToRemove != null) {
|
|
2578
2599
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
2600
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
2601
|
+
entries.OptionsToRemove = [];
|
|
2602
|
+
}
|
|
2579
2603
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2580
2604
|
const loc = `OptionsToRemove.${key}`;
|
|
2581
2605
|
entries[loc] = value;
|
|
@@ -2606,6 +2630,9 @@ const serializeAws_queryCreatePlatformVersionRequest = (input, context) => {
|
|
|
2606
2630
|
}
|
|
2607
2631
|
if (input.OptionSettings != null) {
|
|
2608
2632
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
2633
|
+
if (input.OptionSettings?.length === 0) {
|
|
2634
|
+
entries.OptionSettings = [];
|
|
2635
|
+
}
|
|
2609
2636
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2610
2637
|
const loc = `OptionSettings.${key}`;
|
|
2611
2638
|
entries[loc] = value;
|
|
@@ -2613,6 +2640,9 @@ const serializeAws_queryCreatePlatformVersionRequest = (input, context) => {
|
|
|
2613
2640
|
}
|
|
2614
2641
|
if (input.Tags != null) {
|
|
2615
2642
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
2643
|
+
if (input.Tags?.length === 0) {
|
|
2644
|
+
entries.Tags = [];
|
|
2645
|
+
}
|
|
2616
2646
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2617
2647
|
const loc = `Tags.${key}`;
|
|
2618
2648
|
entries[loc] = value;
|
|
@@ -2674,6 +2704,9 @@ const serializeAws_queryDescribeApplicationsMessage = (input, context) => {
|
|
|
2674
2704
|
const entries = {};
|
|
2675
2705
|
if (input.ApplicationNames != null) {
|
|
2676
2706
|
const memberEntries = serializeAws_queryApplicationNamesList(input.ApplicationNames, context);
|
|
2707
|
+
if (input.ApplicationNames?.length === 0) {
|
|
2708
|
+
entries.ApplicationNames = [];
|
|
2709
|
+
}
|
|
2677
2710
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2678
2711
|
const loc = `ApplicationNames.${key}`;
|
|
2679
2712
|
entries[loc] = value;
|
|
@@ -2688,6 +2721,9 @@ const serializeAws_queryDescribeApplicationVersionsMessage = (input, context) =>
|
|
|
2688
2721
|
}
|
|
2689
2722
|
if (input.VersionLabels != null) {
|
|
2690
2723
|
const memberEntries = serializeAws_queryVersionLabelsList(input.VersionLabels, context);
|
|
2724
|
+
if (input.VersionLabels?.length === 0) {
|
|
2725
|
+
entries.VersionLabels = [];
|
|
2726
|
+
}
|
|
2691
2727
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2692
2728
|
const loc = `VersionLabels.${key}`;
|
|
2693
2729
|
entries[loc] = value;
|
|
@@ -2720,6 +2756,9 @@ const serializeAws_queryDescribeConfigurationOptionsMessage = (input, context) =
|
|
|
2720
2756
|
}
|
|
2721
2757
|
if (input.Options != null) {
|
|
2722
2758
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.Options, context);
|
|
2759
|
+
if (input.Options?.length === 0) {
|
|
2760
|
+
entries.Options = [];
|
|
2761
|
+
}
|
|
2723
2762
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2724
2763
|
const loc = `Options.${key}`;
|
|
2725
2764
|
entries[loc] = value;
|
|
@@ -2750,6 +2789,9 @@ const serializeAws_queryDescribeEnvironmentHealthRequest = (input, context) => {
|
|
|
2750
2789
|
}
|
|
2751
2790
|
if (input.AttributeNames != null) {
|
|
2752
2791
|
const memberEntries = serializeAws_queryEnvironmentHealthAttributes(input.AttributeNames, context);
|
|
2792
|
+
if (input.AttributeNames?.length === 0) {
|
|
2793
|
+
entries.AttributeNames = [];
|
|
2794
|
+
}
|
|
2753
2795
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2754
2796
|
const loc = `AttributeNames.${key}`;
|
|
2755
2797
|
entries[loc] = value;
|
|
@@ -2806,6 +2848,9 @@ const serializeAws_queryDescribeEnvironmentsMessage = (input, context) => {
|
|
|
2806
2848
|
}
|
|
2807
2849
|
if (input.EnvironmentIds != null) {
|
|
2808
2850
|
const memberEntries = serializeAws_queryEnvironmentIdList(input.EnvironmentIds, context);
|
|
2851
|
+
if (input.EnvironmentIds?.length === 0) {
|
|
2852
|
+
entries.EnvironmentIds = [];
|
|
2853
|
+
}
|
|
2809
2854
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2810
2855
|
const loc = `EnvironmentIds.${key}`;
|
|
2811
2856
|
entries[loc] = value;
|
|
@@ -2813,6 +2858,9 @@ const serializeAws_queryDescribeEnvironmentsMessage = (input, context) => {
|
|
|
2813
2858
|
}
|
|
2814
2859
|
if (input.EnvironmentNames != null) {
|
|
2815
2860
|
const memberEntries = serializeAws_queryEnvironmentNamesList(input.EnvironmentNames, context);
|
|
2861
|
+
if (input.EnvironmentNames?.length === 0) {
|
|
2862
|
+
entries.EnvironmentNames = [];
|
|
2863
|
+
}
|
|
2816
2864
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2817
2865
|
const loc = `EnvironmentNames.${key}`;
|
|
2818
2866
|
entries[loc] = value;
|
|
@@ -2882,6 +2930,9 @@ const serializeAws_queryDescribeInstancesHealthRequest = (input, context) => {
|
|
|
2882
2930
|
}
|
|
2883
2931
|
if (input.AttributeNames != null) {
|
|
2884
2932
|
const memberEntries = serializeAws_queryInstancesHealthAttributes(input.AttributeNames, context);
|
|
2933
|
+
if (input.AttributeNames?.length === 0) {
|
|
2934
|
+
entries.AttributeNames = [];
|
|
2935
|
+
}
|
|
2885
2936
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2886
2937
|
const loc = `AttributeNames.${key}`;
|
|
2887
2938
|
entries[loc] = value;
|
|
@@ -2971,6 +3022,9 @@ const serializeAws_queryListPlatformBranchesRequest = (input, context) => {
|
|
|
2971
3022
|
const entries = {};
|
|
2972
3023
|
if (input.Filters != null) {
|
|
2973
3024
|
const memberEntries = serializeAws_querySearchFilters(input.Filters, context);
|
|
3025
|
+
if (input.Filters?.length === 0) {
|
|
3026
|
+
entries.Filters = [];
|
|
3027
|
+
}
|
|
2974
3028
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2975
3029
|
const loc = `Filters.${key}`;
|
|
2976
3030
|
entries[loc] = value;
|
|
@@ -2988,6 +3042,9 @@ const serializeAws_queryListPlatformVersionsRequest = (input, context) => {
|
|
|
2988
3042
|
const entries = {};
|
|
2989
3043
|
if (input.Filters != null) {
|
|
2990
3044
|
const memberEntries = serializeAws_queryPlatformFilters(input.Filters, context);
|
|
3045
|
+
if (input.Filters?.length === 0) {
|
|
3046
|
+
entries.Filters = [];
|
|
3047
|
+
}
|
|
2991
3048
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2992
3049
|
const loc = `Filters.${key}`;
|
|
2993
3050
|
entries[loc] = value;
|
|
@@ -3072,6 +3129,9 @@ const serializeAws_queryPlatformFilter = (input, context) => {
|
|
|
3072
3129
|
}
|
|
3073
3130
|
if (input.Values != null) {
|
|
3074
3131
|
const memberEntries = serializeAws_queryPlatformFilterValueList(input.Values, context);
|
|
3132
|
+
if (input.Values?.length === 0) {
|
|
3133
|
+
entries.Values = [];
|
|
3134
|
+
}
|
|
3075
3135
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3076
3136
|
const loc = `Values.${key}`;
|
|
3077
3137
|
entries[loc] = value;
|
|
@@ -3172,6 +3232,9 @@ const serializeAws_querySearchFilter = (input, context) => {
|
|
|
3172
3232
|
}
|
|
3173
3233
|
if (input.Values != null) {
|
|
3174
3234
|
const memberEntries = serializeAws_querySearchFilterValues(input.Values, context);
|
|
3235
|
+
if (input.Values?.length === 0) {
|
|
3236
|
+
entries.Values = [];
|
|
3237
|
+
}
|
|
3175
3238
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3176
3239
|
const loc = `Values.${key}`;
|
|
3177
3240
|
entries[loc] = value;
|
|
@@ -3363,6 +3426,9 @@ const serializeAws_queryUpdateConfigurationTemplateMessage = (input, context) =>
|
|
|
3363
3426
|
}
|
|
3364
3427
|
if (input.OptionSettings != null) {
|
|
3365
3428
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3429
|
+
if (input.OptionSettings?.length === 0) {
|
|
3430
|
+
entries.OptionSettings = [];
|
|
3431
|
+
}
|
|
3366
3432
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3367
3433
|
const loc = `OptionSettings.${key}`;
|
|
3368
3434
|
entries[loc] = value;
|
|
@@ -3370,6 +3436,9 @@ const serializeAws_queryUpdateConfigurationTemplateMessage = (input, context) =>
|
|
|
3370
3436
|
}
|
|
3371
3437
|
if (input.OptionsToRemove != null) {
|
|
3372
3438
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
3439
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
3440
|
+
entries.OptionsToRemove = [];
|
|
3441
|
+
}
|
|
3373
3442
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3374
3443
|
const loc = `OptionsToRemove.${key}`;
|
|
3375
3444
|
entries[loc] = value;
|
|
@@ -3415,6 +3484,9 @@ const serializeAws_queryUpdateEnvironmentMessage = (input, context) => {
|
|
|
3415
3484
|
}
|
|
3416
3485
|
if (input.OptionSettings != null) {
|
|
3417
3486
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3487
|
+
if (input.OptionSettings?.length === 0) {
|
|
3488
|
+
entries.OptionSettings = [];
|
|
3489
|
+
}
|
|
3418
3490
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3419
3491
|
const loc = `OptionSettings.${key}`;
|
|
3420
3492
|
entries[loc] = value;
|
|
@@ -3422,6 +3494,9 @@ const serializeAws_queryUpdateEnvironmentMessage = (input, context) => {
|
|
|
3422
3494
|
}
|
|
3423
3495
|
if (input.OptionsToRemove != null) {
|
|
3424
3496
|
const memberEntries = serializeAws_queryOptionsSpecifierList(input.OptionsToRemove, context);
|
|
3497
|
+
if (input.OptionsToRemove?.length === 0) {
|
|
3498
|
+
entries.OptionsToRemove = [];
|
|
3499
|
+
}
|
|
3425
3500
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3426
3501
|
const loc = `OptionsToRemove.${key}`;
|
|
3427
3502
|
entries[loc] = value;
|
|
@@ -3436,6 +3511,9 @@ const serializeAws_queryUpdateTagsForResourceMessage = (input, context) => {
|
|
|
3436
3511
|
}
|
|
3437
3512
|
if (input.TagsToAdd != null) {
|
|
3438
3513
|
const memberEntries = serializeAws_queryTagList(input.TagsToAdd, context);
|
|
3514
|
+
if (input.TagsToAdd?.length === 0) {
|
|
3515
|
+
entries.TagsToAdd = [];
|
|
3516
|
+
}
|
|
3439
3517
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3440
3518
|
const loc = `TagsToAdd.${key}`;
|
|
3441
3519
|
entries[loc] = value;
|
|
@@ -3443,6 +3521,9 @@ const serializeAws_queryUpdateTagsForResourceMessage = (input, context) => {
|
|
|
3443
3521
|
}
|
|
3444
3522
|
if (input.TagsToRemove != null) {
|
|
3445
3523
|
const memberEntries = serializeAws_queryTagKeyList(input.TagsToRemove, context);
|
|
3524
|
+
if (input.TagsToRemove?.length === 0) {
|
|
3525
|
+
entries.TagsToRemove = [];
|
|
3526
|
+
}
|
|
3446
3527
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3447
3528
|
const loc = `TagsToRemove.${key}`;
|
|
3448
3529
|
entries[loc] = value;
|
|
@@ -3463,6 +3544,9 @@ const serializeAws_queryValidateConfigurationSettingsMessage = (input, context)
|
|
|
3463
3544
|
}
|
|
3464
3545
|
if (input.OptionSettings != null) {
|
|
3465
3546
|
const memberEntries = serializeAws_queryConfigurationOptionSettingsList(input.OptionSettings, context);
|
|
3547
|
+
if (input.OptionSettings?.length === 0) {
|
|
3548
|
+
entries.OptionSettings = [];
|
|
3549
|
+
}
|
|
3466
3550
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3467
3551
|
const loc = `OptionSettings.${key}`;
|
|
3468
3552
|
entries[loc] = value;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-beanstalk",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Beanstalk 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",
|