aws-sdk-elasticloadbalancingv2 1.41.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a6c0b6fbbbec744daf2292cbb94358c905b9b6b1
4
- data.tar.gz: e9479c3668a2c9c53d6e85fe485c5308d216ad02
2
+ SHA256:
3
+ metadata.gz: db3321789b5bb99bba697d5f178cbd8bb8befb6028a9170f7b485e1de466c57d
4
+ data.tar.gz: a8b1e318f6c55176b1db93f69ace31862af607270bbb3503f466c0b4bdb2cb45
5
5
  SHA512:
6
- metadata.gz: 739f971219abf62d80393e1cedfa76e6ae723833c1ff17f3164afcd04d1976090cba2a83c12634896d44697f604acbf3b9e77b49e868e9b2d515a143bdc08d0f
7
- data.tar.gz: f30d191a493dd5d656193ed0741181247a84322520416351e376c613dfd7bcdb3c037baf220abc85087a84969a9df4935de624e49f12c763eeef410d7b8385a2
6
+ metadata.gz: 4309052e500970f447dd7414b4a37a7cc77a87cac5ce219d2d6d7aa7c58814ade6bd0a3a382f08dfa6e5555f18316b39ff931d3e8a6951bfd9cac3301929285a
7
+ data.tar.gz: f894a4db6f4a1c5a0a268796ec52c1ba5721b3cd9b7f0cd03fc1dc1222801a0d467e74efa1795f6268c4bb359392810f83624e44d9e7e58efc0afdbee07d0f36
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
46
48
  # @service
47
49
  module Aws::ElasticLoadBalancingV2
48
50
 
49
- GEM_VERSION = '1.41.0'
51
+ GEM_VERSION = '1.46.0'
50
52
 
51
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancingv2)
32
35
  module Aws::ElasticLoadBalancingV2
33
36
  # An API client for ElasticLoadBalancingV2. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::ElasticLoadBalancingV2::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::ElasticLoadBalancingV2::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::ElasticLoadBalancingV2
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::Query)
74
78
 
@@ -105,7 +109,7 @@ module Aws::ElasticLoadBalancingV2
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::ElasticLoadBalancingV2
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::ElasticLoadBalancingV2
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -229,15 +233,19 @@ module Aws::ElasticLoadBalancingV2
229
233
  #
230
234
  # @option options [String] :retry_mode ("legacy")
231
235
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
241
249
  #
242
250
  # @option options [String] :secret_access_key
243
251
  #
@@ -265,8 +273,7 @@ module Aws::ElasticLoadBalancingV2
265
273
  #
266
274
  # @option options [Integer] :http_read_timeout (60) The default
267
275
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
276
+ # safely be set per-request on the session.
270
277
  #
271
278
  # @option options [Float] :http_idle_timeout (5) The number of
272
279
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +285,7 @@ module Aws::ElasticLoadBalancingV2
278
285
  # request body. This option has no effect unless the request has
279
286
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
287
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
288
+ # request on the session.
282
289
  #
283
290
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
291
  # HTTP debug output will be sent to the `:logger`.
@@ -517,6 +524,28 @@ module Aws::ElasticLoadBalancingV2
517
524
  # \[Application Load Balancer\] If the action type is `fixed-response`,
518
525
  # you drop specified client requests and return a custom HTTP response.
519
526
  #
527
+ # @option params [Array<String>] :alpn_policy
528
+ # \[TLS listeners\] The name of the Application-Layer Protocol
529
+ # Negotiation (ALPN) policy. You can specify one policy name. The
530
+ # following are the possible values:
531
+ #
532
+ # * `HTTP1Only`
533
+ #
534
+ # * `HTTP2Only`
535
+ #
536
+ # * `HTTP2Optional`
537
+ #
538
+ # * `HTTP2Preferred`
539
+ #
540
+ # * `None`
541
+ #
542
+ # For more information, see [ALPN Policies][1] in the *Network Load
543
+ # Balancers Guide*.
544
+ #
545
+ #
546
+ #
547
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
548
+ #
520
549
  # @return [Types::CreateListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
521
550
  #
522
551
  # * {Types::CreateListenerOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
@@ -679,6 +708,7 @@ module Aws::ElasticLoadBalancingV2
679
708
  # },
680
709
  # },
681
710
  # ],
711
+ # alpn_policy: ["AlpnPolicyValue"],
682
712
  # })
683
713
  #
684
714
  # @example Response structure
@@ -732,6 +762,8 @@ module Aws::ElasticLoadBalancingV2
732
762
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
733
763
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
734
764
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
765
+ # resp.listeners[0].alpn_policy #=> Array
766
+ # resp.listeners[0].alpn_policy[0] #=> String
735
767
  #
736
768
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener AWS API Documentation
737
769
  #
@@ -1798,6 +1830,8 @@ module Aws::ElasticLoadBalancingV2
1798
1830
  # * {Types::DescribeListenersOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
1799
1831
  # * {Types::DescribeListenersOutput#next_marker #next_marker} => String
1800
1832
  #
1833
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1834
+ #
1801
1835
  #
1802
1836
  # @example Example: To describe a listener
1803
1837
  #
@@ -1887,6 +1921,8 @@ module Aws::ElasticLoadBalancingV2
1887
1921
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
1888
1922
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
1889
1923
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
1924
+ # resp.listeners[0].alpn_policy #=> Array
1925
+ # resp.listeners[0].alpn_policy[0] #=> String
1890
1926
  # resp.next_marker #=> String
1891
1927
  #
1892
1928
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
@@ -1998,6 +2034,8 @@ module Aws::ElasticLoadBalancingV2
1998
2034
  # * {Types::DescribeLoadBalancersOutput#load_balancers #load_balancers} => Array&lt;Types::LoadBalancer&gt;
1999
2035
  # * {Types::DescribeLoadBalancersOutput#next_marker #next_marker} => String
2000
2036
  #
2037
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2038
+ #
2001
2039
  #
2002
2040
  # @example Example: To describe a load balancer
2003
2041
  #
@@ -2075,6 +2113,13 @@ module Aws::ElasticLoadBalancingV2
2075
2113
  # resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
2076
2114
  # resp.next_marker #=> String
2077
2115
  #
2116
+ #
2117
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2118
+ #
2119
+ # * load_balancer_available
2120
+ # * load_balancer_exists
2121
+ # * load_balancers_deleted
2122
+ #
2078
2123
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers AWS API Documentation
2079
2124
  #
2080
2125
  # @overload describe_load_balancers(params = {})
@@ -2547,6 +2592,8 @@ module Aws::ElasticLoadBalancingV2
2547
2592
  # * {Types::DescribeTargetGroupsOutput#target_groups #target_groups} => Array&lt;Types::TargetGroup&gt;
2548
2593
  # * {Types::DescribeTargetGroupsOutput#next_marker #next_marker} => String
2549
2594
  #
2595
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2596
+ #
2550
2597
  #
2551
2598
  # @example Example: To describe a target group
2552
2599
  #
@@ -2728,6 +2775,12 @@ module Aws::ElasticLoadBalancingV2
2728
2775
  # resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Target.IpUnusable", "Target.HealthCheckDisabled", "Elb.InternalError"
2729
2776
  # resp.target_health_descriptions[0].target_health.description #=> String
2730
2777
  #
2778
+ #
2779
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2780
+ #
2781
+ # * target_deregistered
2782
+ # * target_in_service
2783
+ #
2731
2784
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
2732
2785
  #
2733
2786
  # @overload describe_target_health(params = {})
@@ -2823,6 +2876,28 @@ module Aws::ElasticLoadBalancingV2
2823
2876
  # \[Application Load Balancer\] If the action type is `fixed-response`,
2824
2877
  # you drop specified client requests and return a custom HTTP response.
2825
2878
  #
2879
+ # @option params [Array<String>] :alpn_policy
2880
+ # \[TLS listeners\] The name of the Application-Layer Protocol
2881
+ # Negotiation (ALPN) policy. You can specify one policy name. The
2882
+ # following are the possible values:
2883
+ #
2884
+ # * `HTTP1Only`
2885
+ #
2886
+ # * `HTTP2Only`
2887
+ #
2888
+ # * `HTTP2Optional`
2889
+ #
2890
+ # * `HTTP2Preferred`
2891
+ #
2892
+ # * `None`
2893
+ #
2894
+ # For more information, see [ALPN Policies][1] in the *Network Load
2895
+ # Balancers Guide*.
2896
+ #
2897
+ #
2898
+ #
2899
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
2900
+ #
2826
2901
  # @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2827
2902
  #
2828
2903
  # * {Types::ModifyListenerOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
@@ -2970,6 +3045,7 @@ module Aws::ElasticLoadBalancingV2
2970
3045
  # },
2971
3046
  # },
2972
3047
  # ],
3048
+ # alpn_policy: ["AlpnPolicyValue"],
2973
3049
  # })
2974
3050
  #
2975
3051
  # @example Response structure
@@ -3023,6 +3099,8 @@ module Aws::ElasticLoadBalancingV2
3023
3099
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
3024
3100
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
3025
3101
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
3102
+ # resp.listeners[0].alpn_policy #=> Array
3103
+ # resp.listeners[0].alpn_policy[0] #=> String
3026
3104
  #
3027
3105
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
3028
3106
  #
@@ -4193,7 +4271,7 @@ module Aws::ElasticLoadBalancingV2
4193
4271
  params: params,
4194
4272
  config: config)
4195
4273
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
4196
- context[:gem_version] = '1.41.0'
4274
+ context[:gem_version] = '1.46.0'
4197
4275
  Seahorse::Client::Request.new(handlers, context)
4198
4276
  end
4199
4277
 
@@ -4259,13 +4337,13 @@ module Aws::ElasticLoadBalancingV2
4259
4337
  # The following table lists the valid waiter names, the operations they call,
4260
4338
  # and the default `:delay` and `:max_attempts` values.
4261
4339
  #
4262
- # | waiter_name | params | :delay | :max_attempts |
4263
- # | ----------------------- | -------------------------- | -------- | ------------- |
4264
- # | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
4265
- # | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
4266
- # | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
4267
- # | target_deregistered | {#describe_target_health} | 15 | 40 |
4268
- # | target_in_service | {#describe_target_health} | 15 | 40 |
4340
+ # | waiter_name | params | :delay | :max_attempts |
4341
+ # | ----------------------- | -------------------------------- | -------- | ------------- |
4342
+ # | load_balancer_available | {Client#describe_load_balancers} | 15 | 40 |
4343
+ # | load_balancer_exists | {Client#describe_load_balancers} | 15 | 40 |
4344
+ # | load_balancers_deleted | {Client#describe_load_balancers} | 15 | 40 |
4345
+ # | target_deregistered | {Client#describe_target_health} | 15 | 40 |
4346
+ # | target_in_service | {Client#describe_target_health} | 15 | 40 |
4269
4347
  #
4270
4348
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4271
4349
  # because the waiter has entered a state that it will not transition
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -11,6 +13,7 @@ module Aws::ElasticLoadBalancingV2
11
13
 
12
14
  include Seahorse::Model
13
15
 
16
+ ALPNPolicyNotSupportedException = Shapes::StructureShape.new(name: 'ALPNPolicyNotSupportedException')
14
17
  Action = Shapes::StructureShape.new(name: 'Action')
15
18
  ActionOrder = Shapes::IntegerShape.new(name: 'ActionOrder')
16
19
  ActionTypeEnum = Shapes::StringShape.new(name: 'ActionTypeEnum')
@@ -21,6 +24,8 @@ module Aws::ElasticLoadBalancingV2
21
24
  AddTagsOutput = Shapes::StructureShape.new(name: 'AddTagsOutput')
22
25
  AllocationId = Shapes::StringShape.new(name: 'AllocationId')
23
26
  AllocationIdNotFoundException = Shapes::StructureShape.new(name: 'AllocationIdNotFoundException')
27
+ AlpnPolicyName = Shapes::ListShape.new(name: 'AlpnPolicyName')
28
+ AlpnPolicyValue = Shapes::StringShape.new(name: 'AlpnPolicyValue')
24
29
  AuthenticateCognitoActionAuthenticationRequestExtraParams = Shapes::MapShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestExtraParams')
25
30
  AuthenticateCognitoActionAuthenticationRequestParamName = Shapes::StringShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestParamName')
26
31
  AuthenticateCognitoActionAuthenticationRequestParamValue = Shapes::StringShape.new(name: 'AuthenticateCognitoActionAuthenticationRequestParamValue')
@@ -284,6 +289,8 @@ module Aws::ElasticLoadBalancingV2
284
289
  VpcId = Shapes::StringShape.new(name: 'VpcId')
285
290
  ZoneName = Shapes::StringShape.new(name: 'ZoneName')
286
291
 
292
+ ALPNPolicyNotSupportedException.struct_class = Types::ALPNPolicyNotSupportedException
293
+
287
294
  Action.add_member(:type, Shapes::ShapeRef.new(shape: ActionTypeEnum, required: true, location_name: "Type"))
288
295
  Action.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: TargetGroupArn, location_name: "TargetGroupArn"))
289
296
  Action.add_member(:authenticate_oidc_config, Shapes::ShapeRef.new(shape: AuthenticateOidcActionConfig, location_name: "AuthenticateOidcConfig"))
@@ -311,6 +318,8 @@ module Aws::ElasticLoadBalancingV2
311
318
 
312
319
  AllocationIdNotFoundException.struct_class = Types::AllocationIdNotFoundException
313
320
 
321
+ AlpnPolicyName.member = Shapes::ShapeRef.new(shape: AlpnPolicyValue)
322
+
314
323
  AuthenticateCognitoActionAuthenticationRequestExtraParams.key = Shapes::ShapeRef.new(shape: AuthenticateCognitoActionAuthenticationRequestParamName)
315
324
  AuthenticateCognitoActionAuthenticationRequestExtraParams.value = Shapes::ShapeRef.new(shape: AuthenticateCognitoActionAuthenticationRequestParamValue)
316
325
 
@@ -370,6 +379,7 @@ module Aws::ElasticLoadBalancingV2
370
379
  CreateListenerInput.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
371
380
  CreateListenerInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
372
381
  CreateListenerInput.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, required: true, location_name: "DefaultActions"))
382
+ CreateListenerInput.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
373
383
  CreateListenerInput.struct_class = Types::CreateListenerInput
374
384
 
375
385
  CreateListenerOutput.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "Listeners"))
@@ -592,6 +602,7 @@ module Aws::ElasticLoadBalancingV2
592
602
  Listener.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
593
603
  Listener.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
594
604
  Listener.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, location_name: "DefaultActions"))
605
+ Listener.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
595
606
  Listener.struct_class = Types::Listener
596
607
 
597
608
  ListenerArns.member = Shapes::ShapeRef.new(shape: ListenerArn)
@@ -648,6 +659,7 @@ module Aws::ElasticLoadBalancingV2
648
659
  ModifyListenerInput.add_member(:ssl_policy, Shapes::ShapeRef.new(shape: SslPolicyName, location_name: "SslPolicy"))
649
660
  ModifyListenerInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
650
661
  ModifyListenerInput.add_member(:default_actions, Shapes::ShapeRef.new(shape: Actions, location_name: "DefaultActions"))
662
+ ModifyListenerInput.add_member(:alpn_policy, Shapes::ShapeRef.new(shape: AlpnPolicyName, location_name: "AlpnPolicy"))
651
663
  ModifyListenerInput.struct_class = Types::ModifyListenerInput
652
664
 
653
665
  ModifyListenerOutput.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "Listeners"))
@@ -986,6 +998,7 @@ module Aws::ElasticLoadBalancingV2
986
998
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
987
999
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
988
1000
  o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
1001
+ o.errors << Shapes::ShapeRef.new(shape: ALPNPolicyNotSupportedException)
989
1002
  end)
990
1003
 
991
1004
  api.add_operation(:create_load_balancer, Seahorse::Model::Operation.new.tap do |o|
@@ -1236,6 +1249,7 @@ module Aws::ElasticLoadBalancingV2
1236
1249
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
1237
1250
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
1238
1251
  o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: ALPNPolicyNotSupportedException)
1239
1253
  end)
1240
1254
 
1241
1255
  api.add_operation(:modify_load_balancer_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,6 +27,7 @@ module Aws::ElasticLoadBalancingV2
25
27
  # See {Seahorse::Client::RequestContext} for more information.
26
28
  #
27
29
  # ## Error Classes
30
+ # * {ALPNPolicyNotSupportedException}
28
31
  # * {AllocationIdNotFoundException}
29
32
  # * {AvailabilityZoneNotSupportedException}
30
33
  # * {CertificateNotFoundException}
@@ -68,6 +71,16 @@ module Aws::ElasticLoadBalancingV2
68
71
 
69
72
  extend Aws::Errors::DynamicErrors
70
73
 
74
+ class ALPNPolicyNotSupportedException < ServiceError
75
+
76
+ # @param [Seahorse::Client::RequestContext] context
77
+ # @param [String] message
78
+ # @param [Aws::ElasticLoadBalancingV2::Types::ALPNPolicyNotSupportedException] data
79
+ def initialize(context, message, data = Aws::EmptyStructure.new)
80
+ super(context, message, data)
81
+ end
82
+ end
83
+
71
84
  class AllocationIdNotFoundException < ServiceError
72
85
 
73
86
  # @param [Seahorse::Client::RequestContext] context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::ElasticLoadBalancingV2
9
- # This class provides a resource oriented interface for ElasticLoadBalancingV2.
10
- # To create a resource object:
11
- # resource = Aws::ElasticLoadBalancingV2::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::ElasticLoadBalancingV2::Client.new(region: 'us-west-2')
15
- # resource = Aws::ElasticLoadBalancingV2::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})