aws-sdk-elasticloadbalancingv2 1.39.0 → 1.44.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.
@@ -11,6 +11,7 @@ module Aws::ElasticLoadBalancingV2
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ ALPNPolicyNotSupportedException = Shapes::StructureShape.new(name: 'ALPNPolicyNotSupportedException')
14
15
  Action = Shapes::StructureShape.new(name: 'Action')
15
16
  ActionOrder = Shapes::IntegerShape.new(name: 'ActionOrder')
16
17
  ActionTypeEnum = Shapes::StringShape.new(name: 'ActionTypeEnum')
@@ -21,6 +22,8 @@ module Aws::ElasticLoadBalancingV2
21
22
  AddTagsOutput = Shapes::StructureShape.new(name: 'AddTagsOutput')
22
23
  AllocationId = Shapes::StringShape.new(name: 'AllocationId')
23
24
  AllocationIdNotFoundException = Shapes::StructureShape.new(name: 'AllocationIdNotFoundException')
25
+ AlpnPolicyName = Shapes::ListShape.new(name: 'AlpnPolicyName')
26
+ AlpnPolicyValue = Shapes::StringShape.new(name: 'AlpnPolicyValue')
24
27
  AuthenticateCognitoActionAuthenticationRequestExtraParams = Shapes::MapShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestExtraParams')
25
28
  AuthenticateCognitoActionAuthenticationRequestParamName = Shapes::StringShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestParamName')
26
29
  AuthenticateCognitoActionAuthenticationRequestParamValue = Shapes::StringShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestParamValue')
@@ -284,6 +287,8 @@ module Aws::ElasticLoadBalancingV2
284
287
  VpcId = Shapes::StringShape.new(name: 'VpcId')
285
288
  ZoneName = Shapes::StringShape.new(name: 'ZoneName')
286
289
 
290
+ ALPNPolicyNotSupportedException.struct_class = Types::ALPNPolicyNotSupportedException
291
+
287
292
  Action.add_member(:type, Shapes::ShapeRef.new(shape: ActionTypeEnum, required: true, location_name: "Type"))
288
293
  Action.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: TargetGroupArn, location_name: "TargetGroupArn"))
289
294
  Action.add_member(:authenticate_oidc_config, Shapes::ShapeRef.new(shape: AuthenticateOidcActionConfig, location_name: "AuthenticateOidcConfig"))
@@ -309,6 +314,10 @@ module Aws::ElasticLoadBalancingV2
309
314
 
310
315
  AddTagsOutput.struct_class = Types::AddTagsOutput
311
316
 
317
+ AllocationIdNotFoundException.struct_class = Types::AllocationIdNotFoundException
318
+
319
+ AlpnPolicyName.member = Shapes::ShapeRef.new(shape: AlpnPolicyValue)
320
+
312
321
  AuthenticateCognitoActionAuthenticationRequestExtraParams.key = Shapes::ShapeRef.new(shape: AuthenticateCognitoActionAuthenticationRequestParamName)
313
322
  AuthenticateCognitoActionAuthenticationRequestExtraParams.value = Shapes::ShapeRef.new(shape: AuthenticateCognitoActionAuthenticationRequestParamValue)
314
323
 
@@ -344,6 +353,8 @@ module Aws::ElasticLoadBalancingV2
344
353
  AvailabilityZone.add_member(:load_balancer_addresses, Shapes::ShapeRef.new(shape: LoadBalancerAddresses, location_name: "LoadBalancerAddresses"))
345
354
  AvailabilityZone.struct_class = Types::AvailabilityZone
346
355
 
356
+ AvailabilityZoneNotSupportedException.struct_class = Types::AvailabilityZoneNotSupportedException
357
+
347
358
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
348
359
 
349
360
  Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "CertificateArn"))
@@ -352,6 +363,8 @@ module Aws::ElasticLoadBalancingV2
352
363
 
353
364
  CertificateList.member = Shapes::ShapeRef.new(shape: Certificate)
354
365
 
366
+ CertificateNotFoundException.struct_class = Types::CertificateNotFoundException
367
+
355
368
  Cipher.add_member(:name, Shapes::ShapeRef.new(shape: CipherName, location_name: "Name"))
356
369
  Cipher.add_member(:priority, Shapes::ShapeRef.new(shape: CipherPriority, location_name: "Priority"))
357
370
  Cipher.struct_class = Types::Cipher
@@ -364,6 +377,7 @@ module Aws::ElasticLoadBalancingV2
364
377
  CreateListenerInput.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
365
378
  CreateListenerInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
366
379
  CreateListenerInput.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, required: true, location_name: "DefaultActions"))
380
+ CreateListenerInput.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
367
381
  CreateListenerInput.struct_class = Types::CreateListenerInput
368
382
 
369
383
  CreateListenerOutput.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "Listeners"))
@@ -528,6 +542,14 @@ module Aws::ElasticLoadBalancingV2
528
542
  DescribeTargetHealthOutput.add_member(:target_health_descriptions, Shapes::ShapeRef.new(shape: TargetHealthDescriptions, location_name: "TargetHealthDescriptions"))
529
543
  DescribeTargetHealthOutput.struct_class = Types::DescribeTargetHealthOutput
530
544
 
545
+ DuplicateListenerException.struct_class = Types::DuplicateListenerException
546
+
547
+ DuplicateLoadBalancerNameException.struct_class = Types::DuplicateLoadBalancerNameException
548
+
549
+ DuplicateTagKeysException.struct_class = Types::DuplicateTagKeysException
550
+
551
+ DuplicateTargetGroupNameException.struct_class = Types::DuplicateTargetGroupNameException
552
+
531
553
  FixedResponseActionConfig.add_member(:message_body, Shapes::ShapeRef.new(shape: FixedResponseActionMessage, location_name: "MessageBody"))
532
554
  FixedResponseActionConfig.add_member(:status_code, Shapes::ShapeRef.new(shape: FixedResponseActionStatusCode, required: true, location_name: "StatusCode"))
533
555
  FixedResponseActionConfig.add_member(:content_type, Shapes::ShapeRef.new(shape: FixedResponseActionContentType, location_name: "ContentType"))
@@ -537,6 +559,8 @@ module Aws::ElasticLoadBalancingV2
537
559
  ForwardActionConfig.add_member(:target_group_stickiness_config, Shapes::ShapeRef.new(shape: TargetGroupStickinessConfig, location_name: "TargetGroupStickinessConfig"))
538
560
  ForwardActionConfig.struct_class = Types::ForwardActionConfig
539
561
 
562
+ HealthUnavailableException.struct_class = Types::HealthUnavailableException
563
+
540
564
  HostHeaderConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
541
565
  HostHeaderConditionConfig.struct_class = Types::HostHeaderConditionConfig
542
566
 
@@ -547,6 +571,20 @@ module Aws::ElasticLoadBalancingV2
547
571
  HttpRequestMethodConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
548
572
  HttpRequestMethodConditionConfig.struct_class = Types::HttpRequestMethodConditionConfig
549
573
 
574
+ IncompatibleProtocolsException.struct_class = Types::IncompatibleProtocolsException
575
+
576
+ InvalidConfigurationRequestException.struct_class = Types::InvalidConfigurationRequestException
577
+
578
+ InvalidLoadBalancerActionException.struct_class = Types::InvalidLoadBalancerActionException
579
+
580
+ InvalidSchemeException.struct_class = Types::InvalidSchemeException
581
+
582
+ InvalidSecurityGroupException.struct_class = Types::InvalidSecurityGroupException
583
+
584
+ InvalidSubnetException.struct_class = Types::InvalidSubnetException
585
+
586
+ InvalidTargetException.struct_class = Types::InvalidTargetException
587
+
550
588
  Limit.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
551
589
  Limit.add_member(:max, Shapes::ShapeRef.new(shape: Max, location_name: "Max"))
552
590
  Limit.struct_class = Types::Limit
@@ -562,10 +600,13 @@ module Aws::ElasticLoadBalancingV2
562
600
  Listener.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
563
601
  Listener.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
564
602
  Listener.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, location_name: "DefaultActions"))
603
+ Listener.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
565
604
  Listener.struct_class = Types::Listener
566
605
 
567
606
  ListenerArns.member = Shapes::ShapeRef.new(shape: ListenerArn)
568
607
 
608
+ ListenerNotFoundException.struct_class = Types::ListenerNotFoundException
609
+
569
610
  Listeners.member = Shapes::ShapeRef.new(shape: Listener)
570
611
 
571
612
  LoadBalancer.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, location_name: "LoadBalancerArn"))
@@ -599,6 +640,8 @@ module Aws::ElasticLoadBalancingV2
599
640
 
600
641
  LoadBalancerNames.member = Shapes::ShapeRef.new(shape: LoadBalancerName)
601
642
 
643
+ LoadBalancerNotFoundException.struct_class = Types::LoadBalancerNotFoundException
644
+
602
645
  LoadBalancerState.add_member(:code, Shapes::ShapeRef.new(shape: LoadBalancerStateEnum, location_name: "Code"))
603
646
  LoadBalancerState.add_member(:reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "Reason"))
604
647
  LoadBalancerState.struct_class = Types::LoadBalancerState
@@ -614,6 +657,7 @@ module Aws::ElasticLoadBalancingV2
614
657
  ModifyListenerInput.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
615
658
  ModifyListenerInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
616
659
  ModifyListenerInput.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, location_name: "DefaultActions"))
660
+ ModifyListenerInput.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
617
661
  ModifyListenerInput.struct_class = Types::ModifyListenerInput
618
662
 
619
663
  ModifyListenerOutput.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "Listeners"))
@@ -656,9 +700,13 @@ module Aws::ElasticLoadBalancingV2
656
700
  ModifyTargetGroupOutput.add_member(:target_groups, Shapes::ShapeRef.new(shape: TargetGroups, location_name: "TargetGroups"))
657
701
  ModifyTargetGroupOutput.struct_class = Types::ModifyTargetGroupOutput
658
702
 
703
+ OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
704
+
659
705
  PathPatternConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
660
706
  PathPatternConditionConfig.struct_class = Types::PathPatternConditionConfig
661
707
 
708
+ PriorityInUseException.struct_class = Types::PriorityInUseException
709
+
662
710
  QueryStringConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: QueryStringKeyValuePairList, location_name: "Values"))
663
711
  QueryStringConditionConfig.struct_class = Types::QueryStringConditionConfig
664
712
 
@@ -696,6 +744,8 @@ module Aws::ElasticLoadBalancingV2
696
744
 
697
745
  ResourceArns.member = Shapes::ShapeRef.new(shape: ResourceArn)
698
746
 
747
+ ResourceInUseException.struct_class = Types::ResourceInUseException
748
+
699
749
  Rule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
700
750
  Rule.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "Priority"))
701
751
  Rule.add_member(:conditions, Shapes::ShapeRef.new(shape: RuleConditionList, location_name: "Conditions"))
@@ -717,6 +767,8 @@ module Aws::ElasticLoadBalancingV2
717
767
 
718
768
  RuleConditionList.member = Shapes::ShapeRef.new(shape: RuleCondition)
719
769
 
770
+ RuleNotFoundException.struct_class = Types::RuleNotFoundException
771
+
720
772
  RulePriorityList.member = Shapes::ShapeRef.new(shape: RulePriorityPair)
721
773
 
722
774
  RulePriorityPair.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
@@ -725,6 +777,8 @@ module Aws::ElasticLoadBalancingV2
725
777
 
726
778
  Rules.member = Shapes::ShapeRef.new(shape: Rule)
727
779
 
780
+ SSLPolicyNotFoundException.struct_class = Types::SSLPolicyNotFoundException
781
+
728
782
  SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
729
783
 
730
784
  SetIpAddressTypeInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
@@ -776,6 +830,8 @@ module Aws::ElasticLoadBalancingV2
776
830
 
777
831
  SubnetMappings.member = Shapes::ShapeRef.new(shape: SubnetMapping)
778
832
 
833
+ SubnetNotFoundException.struct_class = Types::SubnetNotFoundException
834
+
779
835
  Subnets.member = Shapes::ShapeRef.new(shape: SubnetId)
780
836
 
781
837
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -819,6 +875,8 @@ module Aws::ElasticLoadBalancingV2
819
875
 
820
876
  TargetGroupArns.member = Shapes::ShapeRef.new(shape: TargetGroupArn)
821
877
 
878
+ TargetGroupAssociationLimitException.struct_class = Types::TargetGroupAssociationLimitException
879
+
822
880
  TargetGroupAttribute.add_member(:key, Shapes::ShapeRef.new(shape: TargetGroupAttributeKey, location_name: "Key"))
823
881
  TargetGroupAttribute.add_member(:value, Shapes::ShapeRef.new(shape: TargetGroupAttributeValue, location_name: "Value"))
824
882
  TargetGroupAttribute.struct_class = Types::TargetGroupAttribute
@@ -829,6 +887,8 @@ module Aws::ElasticLoadBalancingV2
829
887
 
830
888
  TargetGroupNames.member = Shapes::ShapeRef.new(shape: TargetGroupName)
831
889
 
890
+ TargetGroupNotFoundException.struct_class = Types::TargetGroupNotFoundException
891
+
832
892
  TargetGroupStickinessConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: TargetGroupStickinessEnabled, location_name: "Enabled"))
833
893
  TargetGroupStickinessConfig.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: TargetGroupStickinessDurationSeconds, location_name: "DurationSeconds"))
834
894
  TargetGroupStickinessConfig.struct_class = Types::TargetGroupStickinessConfig
@@ -851,6 +911,28 @@ module Aws::ElasticLoadBalancingV2
851
911
 
852
912
  TargetHealthDescriptions.member = Shapes::ShapeRef.new(shape: TargetHealthDescription)
853
913
 
914
+ TooManyActionsException.struct_class = Types::TooManyActionsException
915
+
916
+ TooManyCertificatesException.struct_class = Types::TooManyCertificatesException
917
+
918
+ TooManyListenersException.struct_class = Types::TooManyListenersException
919
+
920
+ TooManyLoadBalancersException.struct_class = Types::TooManyLoadBalancersException
921
+
922
+ TooManyRegistrationsForTargetIdException.struct_class = Types::TooManyRegistrationsForTargetIdException
923
+
924
+ TooManyRulesException.struct_class = Types::TooManyRulesException
925
+
926
+ TooManyTagsException.struct_class = Types::TooManyTagsException
927
+
928
+ TooManyTargetGroupsException.struct_class = Types::TooManyTargetGroupsException
929
+
930
+ TooManyTargetsException.struct_class = Types::TooManyTargetsException
931
+
932
+ TooManyUniqueTargetGroupsPerLoadBalancerException.struct_class = Types::TooManyUniqueTargetGroupsPerLoadBalancerException
933
+
934
+ UnsupportedProtocolException.struct_class = Types::UnsupportedProtocolException
935
+
854
936
 
855
937
  # @api private
856
938
  API = Seahorse::Model::Api.new.tap do |api|
@@ -914,6 +996,7 @@ module Aws::ElasticLoadBalancingV2
914
996
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
915
997
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
916
998
  o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
999
+ o.errors << Shapes::ShapeRef.new(shape: ALPNPolicyNotSupportedException)
917
1000
  end)
918
1001
 
919
1002
  api.add_operation(:create_load_balancer, Seahorse::Model::Operation.new.tap do |o|
@@ -1164,6 +1247,7 @@ module Aws::ElasticLoadBalancingV2
1164
1247
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
1165
1248
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
1166
1249
  o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
1250
+ o.errors << Shapes::ShapeRef.new(shape: ALPNPolicyNotSupportedException)
1167
1251
  end)
1168
1252
 
1169
1253
  api.add_operation(:modify_load_balancer_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -6,9 +6,438 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElasticLoadBalancingV2
9
+
10
+ # When ElasticLoadBalancingV2 returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::ElasticLoadBalancingV2::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all ElasticLoadBalancingV2 errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::ElasticLoadBalancingV2::Errors::ServiceError
18
+ # # rescues all ElasticLoadBalancingV2 API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {ALPNPolicyNotSupportedException}
29
+ # * {AllocationIdNotFoundException}
30
+ # * {AvailabilityZoneNotSupportedException}
31
+ # * {CertificateNotFoundException}
32
+ # * {DuplicateListenerException}
33
+ # * {DuplicateLoadBalancerNameException}
34
+ # * {DuplicateTagKeysException}
35
+ # * {DuplicateTargetGroupNameException}
36
+ # * {HealthUnavailableException}
37
+ # * {IncompatibleProtocolsException}
38
+ # * {InvalidConfigurationRequestException}
39
+ # * {InvalidLoadBalancerActionException}
40
+ # * {InvalidSchemeException}
41
+ # * {InvalidSecurityGroupException}
42
+ # * {InvalidSubnetException}
43
+ # * {InvalidTargetException}
44
+ # * {ListenerNotFoundException}
45
+ # * {LoadBalancerNotFoundException}
46
+ # * {OperationNotPermittedException}
47
+ # * {PriorityInUseException}
48
+ # * {ResourceInUseException}
49
+ # * {RuleNotFoundException}
50
+ # * {SSLPolicyNotFoundException}
51
+ # * {SubnetNotFoundException}
52
+ # * {TargetGroupAssociationLimitException}
53
+ # * {TargetGroupNotFoundException}
54
+ # * {TooManyActionsException}
55
+ # * {TooManyCertificatesException}
56
+ # * {TooManyListenersException}
57
+ # * {TooManyLoadBalancersException}
58
+ # * {TooManyRegistrationsForTargetIdException}
59
+ # * {TooManyRulesException}
60
+ # * {TooManyTagsException}
61
+ # * {TooManyTargetGroupsException}
62
+ # * {TooManyTargetsException}
63
+ # * {TooManyUniqueTargetGroupsPerLoadBalancerException}
64
+ # * {UnsupportedProtocolException}
65
+ #
66
+ # Additionally, error classes are dynamically generated for service errors based on the error code
67
+ # if they are not defined above.
9
68
  module Errors
10
69
 
11
70
  extend Aws::Errors::DynamicErrors
12
71
 
72
+ class ALPNPolicyNotSupportedException < ServiceError
73
+
74
+ # @param [Seahorse::Client::RequestContext] context
75
+ # @param [String] message
76
+ # @param [Aws::ElasticLoadBalancingV2::Types::ALPNPolicyNotSupportedException] data
77
+ def initialize(context, message, data = Aws::EmptyStructure.new)
78
+ super(context, message, data)
79
+ end
80
+ end
81
+
82
+ class AllocationIdNotFoundException < ServiceError
83
+
84
+ # @param [Seahorse::Client::RequestContext] context
85
+ # @param [String] message
86
+ # @param [Aws::ElasticLoadBalancingV2::Types::AllocationIdNotFoundException] data
87
+ def initialize(context, message, data = Aws::EmptyStructure.new)
88
+ super(context, message, data)
89
+ end
90
+ end
91
+
92
+ class AvailabilityZoneNotSupportedException < ServiceError
93
+
94
+ # @param [Seahorse::Client::RequestContext] context
95
+ # @param [String] message
96
+ # @param [Aws::ElasticLoadBalancingV2::Types::AvailabilityZoneNotSupportedException] data
97
+ def initialize(context, message, data = Aws::EmptyStructure.new)
98
+ super(context, message, data)
99
+ end
100
+ end
101
+
102
+ class CertificateNotFoundException < ServiceError
103
+
104
+ # @param [Seahorse::Client::RequestContext] context
105
+ # @param [String] message
106
+ # @param [Aws::ElasticLoadBalancingV2::Types::CertificateNotFoundException] data
107
+ def initialize(context, message, data = Aws::EmptyStructure.new)
108
+ super(context, message, data)
109
+ end
110
+ end
111
+
112
+ class DuplicateListenerException < ServiceError
113
+
114
+ # @param [Seahorse::Client::RequestContext] context
115
+ # @param [String] message
116
+ # @param [Aws::ElasticLoadBalancingV2::Types::DuplicateListenerException] data
117
+ def initialize(context, message, data = Aws::EmptyStructure.new)
118
+ super(context, message, data)
119
+ end
120
+ end
121
+
122
+ class DuplicateLoadBalancerNameException < ServiceError
123
+
124
+ # @param [Seahorse::Client::RequestContext] context
125
+ # @param [String] message
126
+ # @param [Aws::ElasticLoadBalancingV2::Types::DuplicateLoadBalancerNameException] data
127
+ def initialize(context, message, data = Aws::EmptyStructure.new)
128
+ super(context, message, data)
129
+ end
130
+ end
131
+
132
+ class DuplicateTagKeysException < ServiceError
133
+
134
+ # @param [Seahorse::Client::RequestContext] context
135
+ # @param [String] message
136
+ # @param [Aws::ElasticLoadBalancingV2::Types::DuplicateTagKeysException] data
137
+ def initialize(context, message, data = Aws::EmptyStructure.new)
138
+ super(context, message, data)
139
+ end
140
+ end
141
+
142
+ class DuplicateTargetGroupNameException < ServiceError
143
+
144
+ # @param [Seahorse::Client::RequestContext] context
145
+ # @param [String] message
146
+ # @param [Aws::ElasticLoadBalancingV2::Types::DuplicateTargetGroupNameException] data
147
+ def initialize(context, message, data = Aws::EmptyStructure.new)
148
+ super(context, message, data)
149
+ end
150
+ end
151
+
152
+ class HealthUnavailableException < ServiceError
153
+
154
+ # @param [Seahorse::Client::RequestContext] context
155
+ # @param [String] message
156
+ # @param [Aws::ElasticLoadBalancingV2::Types::HealthUnavailableException] data
157
+ def initialize(context, message, data = Aws::EmptyStructure.new)
158
+ super(context, message, data)
159
+ end
160
+ end
161
+
162
+ class IncompatibleProtocolsException < ServiceError
163
+
164
+ # @param [Seahorse::Client::RequestContext] context
165
+ # @param [String] message
166
+ # @param [Aws::ElasticLoadBalancingV2::Types::IncompatibleProtocolsException] data
167
+ def initialize(context, message, data = Aws::EmptyStructure.new)
168
+ super(context, message, data)
169
+ end
170
+ end
171
+
172
+ class InvalidConfigurationRequestException < ServiceError
173
+
174
+ # @param [Seahorse::Client::RequestContext] context
175
+ # @param [String] message
176
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidConfigurationRequestException] data
177
+ def initialize(context, message, data = Aws::EmptyStructure.new)
178
+ super(context, message, data)
179
+ end
180
+ end
181
+
182
+ class InvalidLoadBalancerActionException < ServiceError
183
+
184
+ # @param [Seahorse::Client::RequestContext] context
185
+ # @param [String] message
186
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidLoadBalancerActionException] data
187
+ def initialize(context, message, data = Aws::EmptyStructure.new)
188
+ super(context, message, data)
189
+ end
190
+ end
191
+
192
+ class InvalidSchemeException < ServiceError
193
+
194
+ # @param [Seahorse::Client::RequestContext] context
195
+ # @param [String] message
196
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidSchemeException] data
197
+ def initialize(context, message, data = Aws::EmptyStructure.new)
198
+ super(context, message, data)
199
+ end
200
+ end
201
+
202
+ class InvalidSecurityGroupException < ServiceError
203
+
204
+ # @param [Seahorse::Client::RequestContext] context
205
+ # @param [String] message
206
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidSecurityGroupException] data
207
+ def initialize(context, message, data = Aws::EmptyStructure.new)
208
+ super(context, message, data)
209
+ end
210
+ end
211
+
212
+ class InvalidSubnetException < ServiceError
213
+
214
+ # @param [Seahorse::Client::RequestContext] context
215
+ # @param [String] message
216
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidSubnetException] data
217
+ def initialize(context, message, data = Aws::EmptyStructure.new)
218
+ super(context, message, data)
219
+ end
220
+ end
221
+
222
+ class InvalidTargetException < ServiceError
223
+
224
+ # @param [Seahorse::Client::RequestContext] context
225
+ # @param [String] message
226
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidTargetException] data
227
+ def initialize(context, message, data = Aws::EmptyStructure.new)
228
+ super(context, message, data)
229
+ end
230
+ end
231
+
232
+ class ListenerNotFoundException < ServiceError
233
+
234
+ # @param [Seahorse::Client::RequestContext] context
235
+ # @param [String] message
236
+ # @param [Aws::ElasticLoadBalancingV2::Types::ListenerNotFoundException] data
237
+ def initialize(context, message, data = Aws::EmptyStructure.new)
238
+ super(context, message, data)
239
+ end
240
+ end
241
+
242
+ class LoadBalancerNotFoundException < ServiceError
243
+
244
+ # @param [Seahorse::Client::RequestContext] context
245
+ # @param [String] message
246
+ # @param [Aws::ElasticLoadBalancingV2::Types::LoadBalancerNotFoundException] data
247
+ def initialize(context, message, data = Aws::EmptyStructure.new)
248
+ super(context, message, data)
249
+ end
250
+ end
251
+
252
+ class OperationNotPermittedException < ServiceError
253
+
254
+ # @param [Seahorse::Client::RequestContext] context
255
+ # @param [String] message
256
+ # @param [Aws::ElasticLoadBalancingV2::Types::OperationNotPermittedException] data
257
+ def initialize(context, message, data = Aws::EmptyStructure.new)
258
+ super(context, message, data)
259
+ end
260
+ end
261
+
262
+ class PriorityInUseException < ServiceError
263
+
264
+ # @param [Seahorse::Client::RequestContext] context
265
+ # @param [String] message
266
+ # @param [Aws::ElasticLoadBalancingV2::Types::PriorityInUseException] data
267
+ def initialize(context, message, data = Aws::EmptyStructure.new)
268
+ super(context, message, data)
269
+ end
270
+ end
271
+
272
+ class ResourceInUseException < ServiceError
273
+
274
+ # @param [Seahorse::Client::RequestContext] context
275
+ # @param [String] message
276
+ # @param [Aws::ElasticLoadBalancingV2::Types::ResourceInUseException] data
277
+ def initialize(context, message, data = Aws::EmptyStructure.new)
278
+ super(context, message, data)
279
+ end
280
+ end
281
+
282
+ class RuleNotFoundException < ServiceError
283
+
284
+ # @param [Seahorse::Client::RequestContext] context
285
+ # @param [String] message
286
+ # @param [Aws::ElasticLoadBalancingV2::Types::RuleNotFoundException] data
287
+ def initialize(context, message, data = Aws::EmptyStructure.new)
288
+ super(context, message, data)
289
+ end
290
+ end
291
+
292
+ class SSLPolicyNotFoundException < ServiceError
293
+
294
+ # @param [Seahorse::Client::RequestContext] context
295
+ # @param [String] message
296
+ # @param [Aws::ElasticLoadBalancingV2::Types::SSLPolicyNotFoundException] data
297
+ def initialize(context, message, data = Aws::EmptyStructure.new)
298
+ super(context, message, data)
299
+ end
300
+ end
301
+
302
+ class SubnetNotFoundException < ServiceError
303
+
304
+ # @param [Seahorse::Client::RequestContext] context
305
+ # @param [String] message
306
+ # @param [Aws::ElasticLoadBalancingV2::Types::SubnetNotFoundException] data
307
+ def initialize(context, message, data = Aws::EmptyStructure.new)
308
+ super(context, message, data)
309
+ end
310
+ end
311
+
312
+ class TargetGroupAssociationLimitException < ServiceError
313
+
314
+ # @param [Seahorse::Client::RequestContext] context
315
+ # @param [String] message
316
+ # @param [Aws::ElasticLoadBalancingV2::Types::TargetGroupAssociationLimitException] data
317
+ def initialize(context, message, data = Aws::EmptyStructure.new)
318
+ super(context, message, data)
319
+ end
320
+ end
321
+
322
+ class TargetGroupNotFoundException < ServiceError
323
+
324
+ # @param [Seahorse::Client::RequestContext] context
325
+ # @param [String] message
326
+ # @param [Aws::ElasticLoadBalancingV2::Types::TargetGroupNotFoundException] data
327
+ def initialize(context, message, data = Aws::EmptyStructure.new)
328
+ super(context, message, data)
329
+ end
330
+ end
331
+
332
+ class TooManyActionsException < ServiceError
333
+
334
+ # @param [Seahorse::Client::RequestContext] context
335
+ # @param [String] message
336
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyActionsException] data
337
+ def initialize(context, message, data = Aws::EmptyStructure.new)
338
+ super(context, message, data)
339
+ end
340
+ end
341
+
342
+ class TooManyCertificatesException < ServiceError
343
+
344
+ # @param [Seahorse::Client::RequestContext] context
345
+ # @param [String] message
346
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyCertificatesException] data
347
+ def initialize(context, message, data = Aws::EmptyStructure.new)
348
+ super(context, message, data)
349
+ end
350
+ end
351
+
352
+ class TooManyListenersException < ServiceError
353
+
354
+ # @param [Seahorse::Client::RequestContext] context
355
+ # @param [String] message
356
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyListenersException] data
357
+ def initialize(context, message, data = Aws::EmptyStructure.new)
358
+ super(context, message, data)
359
+ end
360
+ end
361
+
362
+ class TooManyLoadBalancersException < ServiceError
363
+
364
+ # @param [Seahorse::Client::RequestContext] context
365
+ # @param [String] message
366
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyLoadBalancersException] data
367
+ def initialize(context, message, data = Aws::EmptyStructure.new)
368
+ super(context, message, data)
369
+ end
370
+ end
371
+
372
+ class TooManyRegistrationsForTargetIdException < ServiceError
373
+
374
+ # @param [Seahorse::Client::RequestContext] context
375
+ # @param [String] message
376
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyRegistrationsForTargetIdException] data
377
+ def initialize(context, message, data = Aws::EmptyStructure.new)
378
+ super(context, message, data)
379
+ end
380
+ end
381
+
382
+ class TooManyRulesException < ServiceError
383
+
384
+ # @param [Seahorse::Client::RequestContext] context
385
+ # @param [String] message
386
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyRulesException] data
387
+ def initialize(context, message, data = Aws::EmptyStructure.new)
388
+ super(context, message, data)
389
+ end
390
+ end
391
+
392
+ class TooManyTagsException < ServiceError
393
+
394
+ # @param [Seahorse::Client::RequestContext] context
395
+ # @param [String] message
396
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyTagsException] data
397
+ def initialize(context, message, data = Aws::EmptyStructure.new)
398
+ super(context, message, data)
399
+ end
400
+ end
401
+
402
+ class TooManyTargetGroupsException < ServiceError
403
+
404
+ # @param [Seahorse::Client::RequestContext] context
405
+ # @param [String] message
406
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyTargetGroupsException] data
407
+ def initialize(context, message, data = Aws::EmptyStructure.new)
408
+ super(context, message, data)
409
+ end
410
+ end
411
+
412
+ class TooManyTargetsException < ServiceError
413
+
414
+ # @param [Seahorse::Client::RequestContext] context
415
+ # @param [String] message
416
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyTargetsException] data
417
+ def initialize(context, message, data = Aws::EmptyStructure.new)
418
+ super(context, message, data)
419
+ end
420
+ end
421
+
422
+ class TooManyUniqueTargetGroupsPerLoadBalancerException < ServiceError
423
+
424
+ # @param [Seahorse::Client::RequestContext] context
425
+ # @param [String] message
426
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyUniqueTargetGroupsPerLoadBalancerException] data
427
+ def initialize(context, message, data = Aws::EmptyStructure.new)
428
+ super(context, message, data)
429
+ end
430
+ end
431
+
432
+ class UnsupportedProtocolException < ServiceError
433
+
434
+ # @param [Seahorse::Client::RequestContext] context
435
+ # @param [String] message
436
+ # @param [Aws::ElasticLoadBalancingV2::Types::UnsupportedProtocolException] data
437
+ def initialize(context, message, data = Aws::EmptyStructure.new)
438
+ super(context, message, data)
439
+ end
440
+ end
441
+
13
442
  end
14
443
  end