aws-sdk-elasticloadbalancingv2 1.21.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,80 @@
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:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  require 'aws-sdk-core/waiters'
9
11
 
10
12
  module Aws::ElasticLoadBalancingV2
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ----------------------- | -------------------------------- | -------- | ------------- |
72
+ # | load_balancer_available | {Client#describe_load_balancers} | 15 | 40 |
73
+ # | load_balancer_exists | {Client#describe_load_balancers} | 15 | 40 |
74
+ # | load_balancers_deleted | {Client#describe_load_balancers} | 15 | 40 |
75
+ # | target_deregistered | {Client#describe_target_health} | 15 | 40 |
76
+ # | target_in_service | {Client#describe_target_health} | 15 | 40 |
77
+ #
11
78
  module Waiters
12
79
 
13
80
  class LoadBalancerAvailable
@@ -1,10 +1,13 @@
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:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -25,24 +28,27 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
25
28
  # methods each accept a hash of request parameters and return a response
26
29
  # structure.
27
30
  #
31
+ # elastic_load_balancing_v2 = Aws::ElasticLoadBalancingV2::Client.new
32
+ # resp = elastic_load_balancing_v2.add_listener_certificates(params)
33
+ #
28
34
  # See {Client} for more information.
29
35
  #
30
36
  # # Errors
31
37
  #
32
- # Errors returned from Elastic Load Balancing all
33
- # extend {Errors::ServiceError}.
38
+ # Errors returned from Elastic Load Balancing are defined in the
39
+ # {Errors} module and all extend {Errors::ServiceError}.
34
40
  #
35
41
  # begin
36
42
  # # do stuff
37
43
  # rescue Aws::ElasticLoadBalancingV2::Errors::ServiceError
38
- # # rescues all service API errors
44
+ # # rescues all Elastic Load Balancing API errors
39
45
  # end
40
46
  #
41
47
  # See {Errors} for more information.
42
48
  #
43
- # @service
49
+ # @!group service
44
50
  module Aws::ElasticLoadBalancingV2
45
51
 
46
- GEM_VERSION = '1.21.0'
52
+ GEM_VERSION = '1.75.0'
47
53
 
48
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-25 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.39.0
22
+ version: 3.125.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,29 +29,32 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.39.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
39
+ version: '1.1'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '1.1'
47
47
  description: Official AWS Ruby gem for Elastic Load Balancing (Elastic Load Balancing
48
48
  v2). This gem is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-elasticloadbalancingv2.rb
56
59
  - lib/aws-sdk-elasticloadbalancingv2/client.rb
57
60
  - lib/aws-sdk-elasticloadbalancingv2/client_api.rb
@@ -60,12 +63,12 @@ files:
60
63
  - lib/aws-sdk-elasticloadbalancingv2/resource.rb
61
64
  - lib/aws-sdk-elasticloadbalancingv2/types.rb
62
65
  - lib/aws-sdk-elasticloadbalancingv2/waiters.rb
63
- homepage: http://github.com/aws/aws-sdk-ruby
66
+ homepage: https://github.com/aws/aws-sdk-ruby
64
67
  licenses:
65
68
  - Apache-2.0
66
69
  metadata:
67
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-elasticloadbalancingv2
68
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
70
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticloadbalancingv2
71
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
69
72
  post_install_message:
70
73
  rdoc_options: []
71
74
  require_paths:
@@ -74,15 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
77
  requirements:
75
78
  - - ">="
76
79
  - !ruby/object:Gem::Version
77
- version: '0'
80
+ version: '2.3'
78
81
  required_rubygems_version: !ruby/object:Gem::Requirement
79
82
  requirements:
80
83
  - - ">="
81
84
  - !ruby/object:Gem::Version
82
85
  version: '0'
83
86
  requirements: []
84
- rubyforge_project:
85
- rubygems_version: 2.5.2.3
87
+ rubygems_version: 3.1.6
86
88
  signing_key:
87
89
  specification_version: 4
88
90
  summary: AWS SDK for Ruby - Elastic Load Balancing v2