@aws-sdk/client-elastic-load-balancing 3.295.0 → 3.297.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.
Files changed (38) hide show
  1. package/dist-cjs/protocols/Aws_query.js +63 -246
  2. package/dist-es/protocols/Aws_query.js +63 -246
  3. package/dist-types/ElasticLoadBalancing.d.ts +30 -0
  4. package/dist-types/ElasticLoadBalancingClient.d.ts +24 -4
  5. package/dist-types/commands/AddTagsCommand.d.ts +16 -0
  6. package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +16 -0
  7. package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +16 -0
  8. package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +16 -0
  17. package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +16 -0
  19. package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +16 -0
  20. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +16 -0
  22. package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
  25. package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +16 -0
  26. package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +16 -0
  27. package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +16 -0
  28. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +16 -0
  29. package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +16 -0
  30. package/dist-types/commands/RemoveTagsCommand.d.ts +16 -0
  31. package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +16 -0
  32. package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +16 -0
  33. package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +16 -0
  34. package/dist-types/models/ElasticLoadBalancingServiceException.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +110 -0
  36. package/dist-types/pagination/DescribeLoadBalancersPaginator.d.ts +3 -0
  37. package/dist-types/pagination/Interfaces.d.ts +3 -0
  38. package/package.json +30 -30
@@ -2570,12 +2570,7 @@ const serializeAws_queryTagList = (input, context) => {
2570
2570
  return entries;
2571
2571
  };
2572
2572
  const deserializeAws_queryAccessLog = (output, context) => {
2573
- const contents = {
2574
- Enabled: undefined,
2575
- S3BucketName: undefined,
2576
- EmitInterval: undefined,
2577
- S3BucketPrefix: undefined,
2578
- };
2573
+ const contents = {};
2579
2574
  if (output["Enabled"] !== undefined) {
2580
2575
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
2581
2576
  }
@@ -2591,18 +2586,14 @@ const deserializeAws_queryAccessLog = (output, context) => {
2591
2586
  return contents;
2592
2587
  };
2593
2588
  const deserializeAws_queryAccessPointNotFoundException = (output, context) => {
2594
- const contents = {
2595
- Message: undefined,
2596
- };
2589
+ const contents = {};
2597
2590
  if (output["Message"] !== undefined) {
2598
2591
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2599
2592
  }
2600
2593
  return contents;
2601
2594
  };
2602
2595
  const deserializeAws_queryAddAvailabilityZonesOutput = (output, context) => {
2603
- const contents = {
2604
- AvailabilityZones: undefined,
2605
- };
2596
+ const contents = {};
2606
2597
  if (output.AvailabilityZones === "") {
2607
2598
  contents.AvailabilityZones = [];
2608
2599
  }
@@ -2612,10 +2603,7 @@ const deserializeAws_queryAddAvailabilityZonesOutput = (output, context) => {
2612
2603
  return contents;
2613
2604
  };
2614
2605
  const deserializeAws_queryAdditionalAttribute = (output, context) => {
2615
- const contents = {
2616
- Key: undefined,
2617
- Value: undefined,
2618
- };
2606
+ const contents = {};
2619
2607
  if (output["Key"] !== undefined) {
2620
2608
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
2621
2609
  }
@@ -2643,10 +2631,7 @@ const deserializeAws_queryAppCookieStickinessPolicies = (output, context) => {
2643
2631
  });
2644
2632
  };
2645
2633
  const deserializeAws_queryAppCookieStickinessPolicy = (output, context) => {
2646
- const contents = {
2647
- PolicyName: undefined,
2648
- CookieName: undefined,
2649
- };
2634
+ const contents = {};
2650
2635
  if (output["PolicyName"] !== undefined) {
2651
2636
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
2652
2637
  }
@@ -2656,9 +2641,7 @@ const deserializeAws_queryAppCookieStickinessPolicy = (output, context) => {
2656
2641
  return contents;
2657
2642
  };
2658
2643
  const deserializeAws_queryApplySecurityGroupsToLoadBalancerOutput = (output, context) => {
2659
- const contents = {
2660
- SecurityGroups: undefined,
2661
- };
2644
+ const contents = {};
2662
2645
  if (output.SecurityGroups === "") {
2663
2646
  contents.SecurityGroups = [];
2664
2647
  }
@@ -2668,9 +2651,7 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerOutput = (output, con
2668
2651
  return contents;
2669
2652
  };
2670
2653
  const deserializeAws_queryAttachLoadBalancerToSubnetsOutput = (output, context) => {
2671
- const contents = {
2672
- Subnets: undefined,
2673
- };
2654
+ const contents = {};
2674
2655
  if (output.Subnets === "") {
2675
2656
  contents.Subnets = [];
2676
2657
  }
@@ -2687,10 +2668,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
2687
2668
  });
2688
2669
  };
2689
2670
  const deserializeAws_queryBackendServerDescription = (output, context) => {
2690
- const contents = {
2691
- InstancePort: undefined,
2692
- PolicyNames: undefined,
2693
- };
2671
+ const contents = {};
2694
2672
  if (output["InstancePort"] !== undefined) {
2695
2673
  contents.InstancePort = (0, smithy_client_1.strictParseInt32)(output["InstancePort"]);
2696
2674
  }
@@ -2710,28 +2688,21 @@ const deserializeAws_queryBackendServerDescriptions = (output, context) => {
2710
2688
  });
2711
2689
  };
2712
2690
  const deserializeAws_queryCertificateNotFoundException = (output, context) => {
2713
- const contents = {
2714
- Message: undefined,
2715
- };
2691
+ const contents = {};
2716
2692
  if (output["Message"] !== undefined) {
2717
2693
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2718
2694
  }
2719
2695
  return contents;
2720
2696
  };
2721
2697
  const deserializeAws_queryConfigureHealthCheckOutput = (output, context) => {
2722
- const contents = {
2723
- HealthCheck: undefined,
2724
- };
2698
+ const contents = {};
2725
2699
  if (output["HealthCheck"] !== undefined) {
2726
2700
  contents.HealthCheck = deserializeAws_queryHealthCheck(output["HealthCheck"], context);
2727
2701
  }
2728
2702
  return contents;
2729
2703
  };
2730
2704
  const deserializeAws_queryConnectionDraining = (output, context) => {
2731
- const contents = {
2732
- Enabled: undefined,
2733
- Timeout: undefined,
2734
- };
2705
+ const contents = {};
2735
2706
  if (output["Enabled"] !== undefined) {
2736
2707
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
2737
2708
  }
@@ -2741,18 +2712,14 @@ const deserializeAws_queryConnectionDraining = (output, context) => {
2741
2712
  return contents;
2742
2713
  };
2743
2714
  const deserializeAws_queryConnectionSettings = (output, context) => {
2744
- const contents = {
2745
- IdleTimeout: undefined,
2746
- };
2715
+ const contents = {};
2747
2716
  if (output["IdleTimeout"] !== undefined) {
2748
2717
  contents.IdleTimeout = (0, smithy_client_1.strictParseInt32)(output["IdleTimeout"]);
2749
2718
  }
2750
2719
  return contents;
2751
2720
  };
2752
2721
  const deserializeAws_queryCreateAccessPointOutput = (output, context) => {
2753
- const contents = {
2754
- DNSName: undefined,
2755
- };
2722
+ const contents = {};
2756
2723
  if (output["DNSName"] !== undefined) {
2757
2724
  contents.DNSName = (0, smithy_client_1.expectString)(output["DNSName"]);
2758
2725
  }
@@ -2775,9 +2742,7 @@ const deserializeAws_queryCreateLoadBalancerPolicyOutput = (output, context) =>
2775
2742
  return contents;
2776
2743
  };
2777
2744
  const deserializeAws_queryCrossZoneLoadBalancing = (output, context) => {
2778
- const contents = {
2779
- Enabled: undefined,
2780
- };
2745
+ const contents = {};
2781
2746
  if (output["Enabled"] !== undefined) {
2782
2747
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
2783
2748
  }
@@ -2796,18 +2761,14 @@ const deserializeAws_queryDeleteLoadBalancerPolicyOutput = (output, context) =>
2796
2761
  return contents;
2797
2762
  };
2798
2763
  const deserializeAws_queryDependencyThrottleException = (output, context) => {
2799
- const contents = {
2800
- Message: undefined,
2801
- };
2764
+ const contents = {};
2802
2765
  if (output["Message"] !== undefined) {
2803
2766
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2804
2767
  }
2805
2768
  return contents;
2806
2769
  };
2807
2770
  const deserializeAws_queryDeregisterEndPointsOutput = (output, context) => {
2808
- const contents = {
2809
- Instances: undefined,
2810
- };
2771
+ const contents = {};
2811
2772
  if (output.Instances === "") {
2812
2773
  contents.Instances = [];
2813
2774
  }
@@ -2817,10 +2778,7 @@ const deserializeAws_queryDeregisterEndPointsOutput = (output, context) => {
2817
2778
  return contents;
2818
2779
  };
2819
2780
  const deserializeAws_queryDescribeAccessPointsOutput = (output, context) => {
2820
- const contents = {
2821
- LoadBalancerDescriptions: undefined,
2822
- NextMarker: undefined,
2823
- };
2781
+ const contents = {};
2824
2782
  if (output.LoadBalancerDescriptions === "") {
2825
2783
  contents.LoadBalancerDescriptions = [];
2826
2784
  }
@@ -2834,10 +2792,7 @@ const deserializeAws_queryDescribeAccessPointsOutput = (output, context) => {
2834
2792
  return contents;
2835
2793
  };
2836
2794
  const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
2837
- const contents = {
2838
- Limits: undefined,
2839
- NextMarker: undefined,
2840
- };
2795
+ const contents = {};
2841
2796
  if (output.Limits === "") {
2842
2797
  contents.Limits = [];
2843
2798
  }
@@ -2850,9 +2805,7 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
2850
2805
  return contents;
2851
2806
  };
2852
2807
  const deserializeAws_queryDescribeEndPointStateOutput = (output, context) => {
2853
- const contents = {
2854
- InstanceStates: undefined,
2855
- };
2808
+ const contents = {};
2856
2809
  if (output.InstanceStates === "") {
2857
2810
  contents.InstanceStates = [];
2858
2811
  }
@@ -2862,18 +2815,14 @@ const deserializeAws_queryDescribeEndPointStateOutput = (output, context) => {
2862
2815
  return contents;
2863
2816
  };
2864
2817
  const deserializeAws_queryDescribeLoadBalancerAttributesOutput = (output, context) => {
2865
- const contents = {
2866
- LoadBalancerAttributes: undefined,
2867
- };
2818
+ const contents = {};
2868
2819
  if (output["LoadBalancerAttributes"] !== undefined) {
2869
2820
  contents.LoadBalancerAttributes = deserializeAws_queryLoadBalancerAttributes(output["LoadBalancerAttributes"], context);
2870
2821
  }
2871
2822
  return contents;
2872
2823
  };
2873
2824
  const deserializeAws_queryDescribeLoadBalancerPoliciesOutput = (output, context) => {
2874
- const contents = {
2875
- PolicyDescriptions: undefined,
2876
- };
2825
+ const contents = {};
2877
2826
  if (output.PolicyDescriptions === "") {
2878
2827
  contents.PolicyDescriptions = [];
2879
2828
  }
@@ -2883,9 +2832,7 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesOutput = (output, context)
2883
2832
  return contents;
2884
2833
  };
2885
2834
  const deserializeAws_queryDescribeLoadBalancerPolicyTypesOutput = (output, context) => {
2886
- const contents = {
2887
- PolicyTypeDescriptions: undefined,
2888
- };
2835
+ const contents = {};
2889
2836
  if (output.PolicyTypeDescriptions === "") {
2890
2837
  contents.PolicyTypeDescriptions = [];
2891
2838
  }
@@ -2896,9 +2843,7 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesOutput = (output, conte
2896
2843
  return contents;
2897
2844
  };
2898
2845
  const deserializeAws_queryDescribeTagsOutput = (output, context) => {
2899
- const contents = {
2900
- TagDescriptions: undefined,
2901
- };
2846
+ const contents = {};
2902
2847
  if (output.TagDescriptions === "") {
2903
2848
  contents.TagDescriptions = [];
2904
2849
  }
@@ -2908,9 +2853,7 @@ const deserializeAws_queryDescribeTagsOutput = (output, context) => {
2908
2853
  return contents;
2909
2854
  };
2910
2855
  const deserializeAws_queryDetachLoadBalancerFromSubnetsOutput = (output, context) => {
2911
- const contents = {
2912
- Subnets: undefined,
2913
- };
2856
+ const contents = {};
2914
2857
  if (output.Subnets === "") {
2915
2858
  contents.Subnets = [];
2916
2859
  }
@@ -2920,49 +2863,35 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsOutput = (output, context
2920
2863
  return contents;
2921
2864
  };
2922
2865
  const deserializeAws_queryDuplicateAccessPointNameException = (output, context) => {
2923
- const contents = {
2924
- Message: undefined,
2925
- };
2866
+ const contents = {};
2926
2867
  if (output["Message"] !== undefined) {
2927
2868
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2928
2869
  }
2929
2870
  return contents;
2930
2871
  };
2931
2872
  const deserializeAws_queryDuplicateListenerException = (output, context) => {
2932
- const contents = {
2933
- Message: undefined,
2934
- };
2873
+ const contents = {};
2935
2874
  if (output["Message"] !== undefined) {
2936
2875
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2937
2876
  }
2938
2877
  return contents;
2939
2878
  };
2940
2879
  const deserializeAws_queryDuplicatePolicyNameException = (output, context) => {
2941
- const contents = {
2942
- Message: undefined,
2943
- };
2880
+ const contents = {};
2944
2881
  if (output["Message"] !== undefined) {
2945
2882
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2946
2883
  }
2947
2884
  return contents;
2948
2885
  };
2949
2886
  const deserializeAws_queryDuplicateTagKeysException = (output, context) => {
2950
- const contents = {
2951
- Message: undefined,
2952
- };
2887
+ const contents = {};
2953
2888
  if (output["Message"] !== undefined) {
2954
2889
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
2955
2890
  }
2956
2891
  return contents;
2957
2892
  };
2958
2893
  const deserializeAws_queryHealthCheck = (output, context) => {
2959
- const contents = {
2960
- Target: undefined,
2961
- Interval: undefined,
2962
- Timeout: undefined,
2963
- UnhealthyThreshold: undefined,
2964
- HealthyThreshold: undefined,
2965
- };
2894
+ const contents = {};
2966
2895
  if (output["Target"] !== undefined) {
2967
2896
  contents.Target = (0, smithy_client_1.expectString)(output["Target"]);
2968
2897
  }
@@ -2981,9 +2910,7 @@ const deserializeAws_queryHealthCheck = (output, context) => {
2981
2910
  return contents;
2982
2911
  };
2983
2912
  const deserializeAws_queryInstance = (output, context) => {
2984
- const contents = {
2985
- InstanceId: undefined,
2986
- };
2913
+ const contents = {};
2987
2914
  if (output["InstanceId"] !== undefined) {
2988
2915
  contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
2989
2916
  }
@@ -2997,12 +2924,7 @@ const deserializeAws_queryInstances = (output, context) => {
2997
2924
  });
2998
2925
  };
2999
2926
  const deserializeAws_queryInstanceState = (output, context) => {
3000
- const contents = {
3001
- InstanceId: undefined,
3002
- State: undefined,
3003
- ReasonCode: undefined,
3004
- Description: undefined,
3005
- };
2927
+ const contents = {};
3006
2928
  if (output["InstanceId"] !== undefined) {
3007
2929
  contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
3008
2930
  }
@@ -3025,45 +2947,35 @@ const deserializeAws_queryInstanceStates = (output, context) => {
3025
2947
  });
3026
2948
  };
3027
2949
  const deserializeAws_queryInvalidConfigurationRequestException = (output, context) => {
3028
- const contents = {
3029
- Message: undefined,
3030
- };
2950
+ const contents = {};
3031
2951
  if (output["Message"] !== undefined) {
3032
2952
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3033
2953
  }
3034
2954
  return contents;
3035
2955
  };
3036
2956
  const deserializeAws_queryInvalidEndPointException = (output, context) => {
3037
- const contents = {
3038
- Message: undefined,
3039
- };
2957
+ const contents = {};
3040
2958
  if (output["Message"] !== undefined) {
3041
2959
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3042
2960
  }
3043
2961
  return contents;
3044
2962
  };
3045
2963
  const deserializeAws_queryInvalidSchemeException = (output, context) => {
3046
- const contents = {
3047
- Message: undefined,
3048
- };
2964
+ const contents = {};
3049
2965
  if (output["Message"] !== undefined) {
3050
2966
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3051
2967
  }
3052
2968
  return contents;
3053
2969
  };
3054
2970
  const deserializeAws_queryInvalidSecurityGroupException = (output, context) => {
3055
- const contents = {
3056
- Message: undefined,
3057
- };
2971
+ const contents = {};
3058
2972
  if (output["Message"] !== undefined) {
3059
2973
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3060
2974
  }
3061
2975
  return contents;
3062
2976
  };
3063
2977
  const deserializeAws_queryInvalidSubnetException = (output, context) => {
3064
- const contents = {
3065
- Message: undefined,
3066
- };
2978
+ const contents = {};
3067
2979
  if (output["Message"] !== undefined) {
3068
2980
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3069
2981
  }
@@ -3077,10 +2989,7 @@ const deserializeAws_queryLBCookieStickinessPolicies = (output, context) => {
3077
2989
  });
3078
2990
  };
3079
2991
  const deserializeAws_queryLBCookieStickinessPolicy = (output, context) => {
3080
- const contents = {
3081
- PolicyName: undefined,
3082
- CookieExpirationPeriod: undefined,
3083
- };
2992
+ const contents = {};
3084
2993
  if (output["PolicyName"] !== undefined) {
3085
2994
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
3086
2995
  }
@@ -3090,10 +2999,7 @@ const deserializeAws_queryLBCookieStickinessPolicy = (output, context) => {
3090
2999
  return contents;
3091
3000
  };
3092
3001
  const deserializeAws_queryLimit = (output, context) => {
3093
- const contents = {
3094
- Name: undefined,
3095
- Max: undefined,
3096
- };
3002
+ const contents = {};
3097
3003
  if (output["Name"] !== undefined) {
3098
3004
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
3099
3005
  }
@@ -3110,13 +3016,7 @@ const deserializeAws_queryLimits = (output, context) => {
3110
3016
  });
3111
3017
  };
3112
3018
  const deserializeAws_queryListener = (output, context) => {
3113
- const contents = {
3114
- Protocol: undefined,
3115
- LoadBalancerPort: undefined,
3116
- InstanceProtocol: undefined,
3117
- InstancePort: undefined,
3118
- SSLCertificateId: undefined,
3119
- };
3019
+ const contents = {};
3120
3020
  if (output["Protocol"] !== undefined) {
3121
3021
  contents.Protocol = (0, smithy_client_1.expectString)(output["Protocol"]);
3122
3022
  }
@@ -3135,10 +3035,7 @@ const deserializeAws_queryListener = (output, context) => {
3135
3035
  return contents;
3136
3036
  };
3137
3037
  const deserializeAws_queryListenerDescription = (output, context) => {
3138
- const contents = {
3139
- Listener: undefined,
3140
- PolicyNames: undefined,
3141
- };
3038
+ const contents = {};
3142
3039
  if (output["Listener"] !== undefined) {
3143
3040
  contents.Listener = deserializeAws_queryListener(output["Listener"], context);
3144
3041
  }
@@ -3158,31 +3055,21 @@ const deserializeAws_queryListenerDescriptions = (output, context) => {
3158
3055
  });
3159
3056
  };
3160
3057
  const deserializeAws_queryListenerNotFoundException = (output, context) => {
3161
- const contents = {
3162
- Message: undefined,
3163
- };
3058
+ const contents = {};
3164
3059
  if (output["Message"] !== undefined) {
3165
3060
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3166
3061
  }
3167
3062
  return contents;
3168
3063
  };
3169
3064
  const deserializeAws_queryLoadBalancerAttributeNotFoundException = (output, context) => {
3170
- const contents = {
3171
- Message: undefined,
3172
- };
3065
+ const contents = {};
3173
3066
  if (output["Message"] !== undefined) {
3174
3067
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3175
3068
  }
3176
3069
  return contents;
3177
3070
  };
3178
3071
  const deserializeAws_queryLoadBalancerAttributes = (output, context) => {
3179
- const contents = {
3180
- CrossZoneLoadBalancing: undefined,
3181
- AccessLog: undefined,
3182
- ConnectionDraining: undefined,
3183
- ConnectionSettings: undefined,
3184
- AdditionalAttributes: undefined,
3185
- };
3072
+ const contents = {};
3186
3073
  if (output["CrossZoneLoadBalancing"] !== undefined) {
3187
3074
  contents.CrossZoneLoadBalancing = deserializeAws_queryCrossZoneLoadBalancing(output["CrossZoneLoadBalancing"], context);
3188
3075
  }
@@ -3204,24 +3091,7 @@ const deserializeAws_queryLoadBalancerAttributes = (output, context) => {
3204
3091
  return contents;
3205
3092
  };
3206
3093
  const deserializeAws_queryLoadBalancerDescription = (output, context) => {
3207
- const contents = {
3208
- LoadBalancerName: undefined,
3209
- DNSName: undefined,
3210
- CanonicalHostedZoneName: undefined,
3211
- CanonicalHostedZoneNameID: undefined,
3212
- ListenerDescriptions: undefined,
3213
- Policies: undefined,
3214
- BackendServerDescriptions: undefined,
3215
- AvailabilityZones: undefined,
3216
- Subnets: undefined,
3217
- VPCId: undefined,
3218
- Instances: undefined,
3219
- HealthCheck: undefined,
3220
- SourceSecurityGroup: undefined,
3221
- SecurityGroups: undefined,
3222
- CreatedTime: undefined,
3223
- Scheme: undefined,
3224
- };
3094
+ const contents = {};
3225
3095
  if (output["LoadBalancerName"] !== undefined) {
3226
3096
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
3227
3097
  }
@@ -3299,10 +3169,7 @@ const deserializeAws_queryLoadBalancerDescriptions = (output, context) => {
3299
3169
  });
3300
3170
  };
3301
3171
  const deserializeAws_queryModifyLoadBalancerAttributesOutput = (output, context) => {
3302
- const contents = {
3303
- LoadBalancerName: undefined,
3304
- LoadBalancerAttributes: undefined,
3305
- };
3172
+ const contents = {};
3306
3173
  if (output["LoadBalancerName"] !== undefined) {
3307
3174
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
3308
3175
  }
@@ -3312,20 +3179,14 @@ const deserializeAws_queryModifyLoadBalancerAttributesOutput = (output, context)
3312
3179
  return contents;
3313
3180
  };
3314
3181
  const deserializeAws_queryOperationNotPermittedException = (output, context) => {
3315
- const contents = {
3316
- Message: undefined,
3317
- };
3182
+ const contents = {};
3318
3183
  if (output["Message"] !== undefined) {
3319
3184
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3320
3185
  }
3321
3186
  return contents;
3322
3187
  };
3323
3188
  const deserializeAws_queryPolicies = (output, context) => {
3324
- const contents = {
3325
- AppCookieStickinessPolicies: undefined,
3326
- LBCookieStickinessPolicies: undefined,
3327
- OtherPolicies: undefined,
3328
- };
3189
+ const contents = {};
3329
3190
  if (output.AppCookieStickinessPolicies === "") {
3330
3191
  contents.AppCookieStickinessPolicies = [];
3331
3192
  }
@@ -3349,10 +3210,7 @@ const deserializeAws_queryPolicies = (output, context) => {
3349
3210
  return contents;
3350
3211
  };
3351
3212
  const deserializeAws_queryPolicyAttributeDescription = (output, context) => {
3352
- const contents = {
3353
- AttributeName: undefined,
3354
- AttributeValue: undefined,
3355
- };
3213
+ const contents = {};
3356
3214
  if (output["AttributeName"] !== undefined) {
3357
3215
  contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
3358
3216
  }
@@ -3369,13 +3227,7 @@ const deserializeAws_queryPolicyAttributeDescriptions = (output, context) => {
3369
3227
  });
3370
3228
  };
3371
3229
  const deserializeAws_queryPolicyAttributeTypeDescription = (output, context) => {
3372
- const contents = {
3373
- AttributeName: undefined,
3374
- AttributeType: undefined,
3375
- Description: undefined,
3376
- DefaultValue: undefined,
3377
- Cardinality: undefined,
3378
- };
3230
+ const contents = {};
3379
3231
  if (output["AttributeName"] !== undefined) {
3380
3232
  contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
3381
3233
  }
@@ -3401,11 +3253,7 @@ const deserializeAws_queryPolicyAttributeTypeDescriptions = (output, context) =>
3401
3253
  });
3402
3254
  };
3403
3255
  const deserializeAws_queryPolicyDescription = (output, context) => {
3404
- const contents = {
3405
- PolicyName: undefined,
3406
- PolicyTypeName: undefined,
3407
- PolicyAttributeDescriptions: undefined,
3408
- };
3256
+ const contents = {};
3409
3257
  if (output["PolicyName"] !== undefined) {
3410
3258
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
3411
3259
  }
@@ -3436,20 +3284,14 @@ const deserializeAws_queryPolicyNames = (output, context) => {
3436
3284
  });
3437
3285
  };
3438
3286
  const deserializeAws_queryPolicyNotFoundException = (output, context) => {
3439
- const contents = {
3440
- Message: undefined,
3441
- };
3287
+ const contents = {};
3442
3288
  if (output["Message"] !== undefined) {
3443
3289
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3444
3290
  }
3445
3291
  return contents;
3446
3292
  };
3447
3293
  const deserializeAws_queryPolicyTypeDescription = (output, context) => {
3448
- const contents = {
3449
- PolicyTypeName: undefined,
3450
- Description: undefined,
3451
- PolicyAttributeTypeDescriptions: undefined,
3452
- };
3294
+ const contents = {};
3453
3295
  if (output["PolicyTypeName"] !== undefined) {
3454
3296
  contents.PolicyTypeName = (0, smithy_client_1.expectString)(output["PolicyTypeName"]);
3455
3297
  }
@@ -3473,18 +3315,14 @@ const deserializeAws_queryPolicyTypeDescriptions = (output, context) => {
3473
3315
  });
3474
3316
  };
3475
3317
  const deserializeAws_queryPolicyTypeNotFoundException = (output, context) => {
3476
- const contents = {
3477
- Message: undefined,
3478
- };
3318
+ const contents = {};
3479
3319
  if (output["Message"] !== undefined) {
3480
3320
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3481
3321
  }
3482
3322
  return contents;
3483
3323
  };
3484
3324
  const deserializeAws_queryRegisterEndPointsOutput = (output, context) => {
3485
- const contents = {
3486
- Instances: undefined,
3487
- };
3325
+ const contents = {};
3488
3326
  if (output.Instances === "") {
3489
3327
  contents.Instances = [];
3490
3328
  }
@@ -3494,9 +3332,7 @@ const deserializeAws_queryRegisterEndPointsOutput = (output, context) => {
3494
3332
  return contents;
3495
3333
  };
3496
3334
  const deserializeAws_queryRemoveAvailabilityZonesOutput = (output, context) => {
3497
- const contents = {
3498
- AvailabilityZones: undefined,
3499
- };
3335
+ const contents = {};
3500
3336
  if (output.AvailabilityZones === "") {
3501
3337
  contents.AvailabilityZones = [];
3502
3338
  }
@@ -3529,10 +3365,7 @@ const deserializeAws_querySetLoadBalancerPoliciesOfListenerOutput = (output, con
3529
3365
  return contents;
3530
3366
  };
3531
3367
  const deserializeAws_querySourceSecurityGroup = (output, context) => {
3532
- const contents = {
3533
- OwnerAlias: undefined,
3534
- GroupName: undefined,
3535
- };
3368
+ const contents = {};
3536
3369
  if (output["OwnerAlias"] !== undefined) {
3537
3370
  contents.OwnerAlias = (0, smithy_client_1.expectString)(output["OwnerAlias"]);
3538
3371
  }
@@ -3542,9 +3375,7 @@ const deserializeAws_querySourceSecurityGroup = (output, context) => {
3542
3375
  return contents;
3543
3376
  };
3544
3377
  const deserializeAws_querySubnetNotFoundException = (output, context) => {
3545
- const contents = {
3546
- Message: undefined,
3547
- };
3378
+ const contents = {};
3548
3379
  if (output["Message"] !== undefined) {
3549
3380
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3550
3381
  }
@@ -3558,10 +3389,7 @@ const deserializeAws_querySubnets = (output, context) => {
3558
3389
  });
3559
3390
  };
3560
3391
  const deserializeAws_queryTag = (output, context) => {
3561
- const contents = {
3562
- Key: undefined,
3563
- Value: undefined,
3564
- };
3392
+ const contents = {};
3565
3393
  if (output["Key"] !== undefined) {
3566
3394
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
3567
3395
  }
@@ -3571,10 +3399,7 @@ const deserializeAws_queryTag = (output, context) => {
3571
3399
  return contents;
3572
3400
  };
3573
3401
  const deserializeAws_queryTagDescription = (output, context) => {
3574
- const contents = {
3575
- LoadBalancerName: undefined,
3576
- Tags: undefined,
3577
- };
3402
+ const contents = {};
3578
3403
  if (output["LoadBalancerName"] !== undefined) {
3579
3404
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
3580
3405
  }
@@ -3601,36 +3426,28 @@ const deserializeAws_queryTagList = (output, context) => {
3601
3426
  });
3602
3427
  };
3603
3428
  const deserializeAws_queryTooManyAccessPointsException = (output, context) => {
3604
- const contents = {
3605
- Message: undefined,
3606
- };
3429
+ const contents = {};
3607
3430
  if (output["Message"] !== undefined) {
3608
3431
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3609
3432
  }
3610
3433
  return contents;
3611
3434
  };
3612
3435
  const deserializeAws_queryTooManyPoliciesException = (output, context) => {
3613
- const contents = {
3614
- Message: undefined,
3615
- };
3436
+ const contents = {};
3616
3437
  if (output["Message"] !== undefined) {
3617
3438
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3618
3439
  }
3619
3440
  return contents;
3620
3441
  };
3621
3442
  const deserializeAws_queryTooManyTagsException = (output, context) => {
3622
- const contents = {
3623
- Message: undefined,
3624
- };
3443
+ const contents = {};
3625
3444
  if (output["Message"] !== undefined) {
3626
3445
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3627
3446
  }
3628
3447
  return contents;
3629
3448
  };
3630
3449
  const deserializeAws_queryUnsupportedProtocolException = (output, context) => {
3631
- const contents = {
3632
- Message: undefined,
3633
- };
3450
+ const contents = {};
3634
3451
  if (output["Message"] !== undefined) {
3635
3452
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
3636
3453
  }