aws-sdk-elasticloadbalancing 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-elasticloadbalancing.rb +48 -0
- data/lib/aws-sdk-elasticloadbalancing/client.rb +1448 -0
- data/lib/aws-sdk-elasticloadbalancing/client_api.rb +888 -0
- data/lib/aws-sdk-elasticloadbalancing/customizations.rb +7 -0
- data/lib/aws-sdk-elasticloadbalancing/errors.rb +23 -0
- data/lib/aws-sdk-elasticloadbalancing/resource.rb +25 -0
- data/lib/aws-sdk-elasticloadbalancing/types.rb +1757 -0
- data/lib/aws-sdk-elasticloadbalancing/waiters.rb +129 -0
- metadata +81 -0
@@ -0,0 +1,129 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'aws-sdk-core/waiters'
|
9
|
+
|
10
|
+
module Aws
|
11
|
+
module ElasticLoadBalancing
|
12
|
+
module Waiters
|
13
|
+
class InstanceDeregistered
|
14
|
+
|
15
|
+
# @param [Hash] options
|
16
|
+
# @option options [required, Client] :client
|
17
|
+
# @option options [Integer] :max_attempts (40)
|
18
|
+
# @option options [Integer] :delay (15)
|
19
|
+
# @option options [Proc] :before_attempt
|
20
|
+
# @option options [Proc] :before_wait
|
21
|
+
def initialize(options)
|
22
|
+
@client = options.fetch(:client)
|
23
|
+
@waiter = Aws::Waiters::Waiter.new({
|
24
|
+
max_attempts: 40,
|
25
|
+
delay: 15,
|
26
|
+
poller: Aws::Waiters::Poller.new(
|
27
|
+
operation_name: :describe_instance_health,
|
28
|
+
acceptors: [
|
29
|
+
{
|
30
|
+
"expected" => "OutOfService",
|
31
|
+
"matcher" => "pathAll",
|
32
|
+
"state" => "success",
|
33
|
+
"argument" => "instance_states[].state"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"matcher" => "error",
|
37
|
+
"expected" => "InvalidInstance",
|
38
|
+
"state" => "success"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
)
|
42
|
+
}.merge(options))
|
43
|
+
end
|
44
|
+
|
45
|
+
# @option (see Client#describe_instance_health)
|
46
|
+
# @return (see Client#describe_instance_health)
|
47
|
+
def wait(params = {})
|
48
|
+
@waiter.wait(client: @client, params: params)
|
49
|
+
end
|
50
|
+
|
51
|
+
# @api private
|
52
|
+
attr_reader :waiter
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
class AnyInstanceInService
|
57
|
+
|
58
|
+
# @param [Hash] options
|
59
|
+
# @option options [required, Client] :client
|
60
|
+
# @option options [Integer] :max_attempts (40)
|
61
|
+
# @option options [Integer] :delay (15)
|
62
|
+
# @option options [Proc] :before_attempt
|
63
|
+
# @option options [Proc] :before_wait
|
64
|
+
def initialize(options)
|
65
|
+
@client = options.fetch(:client)
|
66
|
+
@waiter = Aws::Waiters::Waiter.new({
|
67
|
+
max_attempts: 40,
|
68
|
+
delay: 15,
|
69
|
+
poller: Aws::Waiters::Poller.new(
|
70
|
+
operation_name: :describe_instance_health,
|
71
|
+
acceptors: [{
|
72
|
+
"argument" => "instance_states[].state",
|
73
|
+
"expected" => "InService",
|
74
|
+
"matcher" => "pathAny",
|
75
|
+
"state" => "success"
|
76
|
+
}]
|
77
|
+
)
|
78
|
+
}.merge(options))
|
79
|
+
end
|
80
|
+
|
81
|
+
# @option (see Client#describe_instance_health)
|
82
|
+
# @return (see Client#describe_instance_health)
|
83
|
+
def wait(params = {})
|
84
|
+
@waiter.wait(client: @client, params: params)
|
85
|
+
end
|
86
|
+
|
87
|
+
# @api private
|
88
|
+
attr_reader :waiter
|
89
|
+
|
90
|
+
end
|
91
|
+
|
92
|
+
class InstanceInService
|
93
|
+
|
94
|
+
# @param [Hash] options
|
95
|
+
# @option options [required, Client] :client
|
96
|
+
# @option options [Integer] :max_attempts (40)
|
97
|
+
# @option options [Integer] :delay (15)
|
98
|
+
# @option options [Proc] :before_attempt
|
99
|
+
# @option options [Proc] :before_wait
|
100
|
+
def initialize(options)
|
101
|
+
@client = options.fetch(:client)
|
102
|
+
@waiter = Aws::Waiters::Waiter.new({
|
103
|
+
max_attempts: 40,
|
104
|
+
delay: 15,
|
105
|
+
poller: Aws::Waiters::Poller.new(
|
106
|
+
operation_name: :describe_instance_health,
|
107
|
+
acceptors: [{
|
108
|
+
"argument" => "instance_states[].state",
|
109
|
+
"expected" => "InService",
|
110
|
+
"matcher" => "pathAll",
|
111
|
+
"state" => "success"
|
112
|
+
}]
|
113
|
+
)
|
114
|
+
}.merge(options))
|
115
|
+
end
|
116
|
+
|
117
|
+
# @option (see Client#describe_instance_health)
|
118
|
+
# @return (see Client#describe_instance_health)
|
119
|
+
def wait(params = {})
|
120
|
+
@waiter.wait(client: @client, params: params)
|
121
|
+
end
|
122
|
+
|
123
|
+
# @api private
|
124
|
+
attr_reader :waiter
|
125
|
+
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
metadata
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aws-sdk-elasticloadbalancing
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.rc1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Amazon Web Services
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0.rc1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0.rc1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aws-sigv4
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
description: Official AWS Ruby gem for Elastic Load Balancing. This gem is part of
|
42
|
+
the AWS SDK for Ruby.
|
43
|
+
email:
|
44
|
+
- trevrowe@amazon.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- lib/aws-sdk-elasticloadbalancing.rb
|
50
|
+
- lib/aws-sdk-elasticloadbalancing/client.rb
|
51
|
+
- lib/aws-sdk-elasticloadbalancing/client_api.rb
|
52
|
+
- lib/aws-sdk-elasticloadbalancing/customizations.rb
|
53
|
+
- lib/aws-sdk-elasticloadbalancing/errors.rb
|
54
|
+
- lib/aws-sdk-elasticloadbalancing/resource.rb
|
55
|
+
- lib/aws-sdk-elasticloadbalancing/types.rb
|
56
|
+
- lib/aws-sdk-elasticloadbalancing/waiters.rb
|
57
|
+
homepage: http://github.com/aws/aws-sdk-ruby
|
58
|
+
licenses:
|
59
|
+
- Apache-2.0
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.3.1
|
75
|
+
requirements: []
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 2.5.1
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: AWS SDK for Ruby - Elastic Load Balancing
|
81
|
+
test_files: []
|