aws-sdk-autoscaling 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscaling.rb +2 -2
- data/lib/aws-sdk-autoscaling/activity.rb +131 -133
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +940 -942
- data/lib/aws-sdk-autoscaling/client.rb +3146 -2674
- data/lib/aws-sdk-autoscaling/client_api.rb +1403 -1405
- data/lib/aws-sdk-autoscaling/errors.rb +4 -13
- data/lib/aws-sdk-autoscaling/instance.rb +351 -359
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +198 -200
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +288 -290
- data/lib/aws-sdk-autoscaling/load_balancer.rb +179 -187
- data/lib/aws-sdk-autoscaling/notification_configuration.rb +162 -167
- data/lib/aws-sdk-autoscaling/resource.rb +645 -647
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +216 -218
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +152 -154
- data/lib/aws-sdk-autoscaling/tag.rb +216 -224
- data/lib/aws-sdk-autoscaling/types.rb +3987 -3547
- data/lib/aws-sdk-autoscaling/waiters.rb +126 -127
- metadata +2 -2
@@ -1,146 +1,145 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
|
-
module Aws
|
11
|
-
module
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
# @option (see Client#describe_auto_scaling_groups)
|
47
|
-
# @return (see Client#describe_auto_scaling_groups)
|
48
|
-
def wait(params = {})
|
49
|
-
@waiter.wait(client: @client, params: params)
|
50
|
-
end
|
51
|
-
|
52
|
-
# @api private
|
53
|
-
attr_reader :waiter
|
10
|
+
module Aws::AutoScaling
|
11
|
+
module Waiters
|
12
|
+
|
13
|
+
class GroupExists
|
14
|
+
|
15
|
+
# @param [Hash] options
|
16
|
+
# @option options [required, Client] :client
|
17
|
+
# @option options [Integer] :max_attempts (10)
|
18
|
+
# @option options [Integer] :delay (5)
|
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: 10,
|
25
|
+
delay: 5,
|
26
|
+
poller: Aws::Waiters::Poller.new(
|
27
|
+
operation_name: :describe_auto_scaling_groups,
|
28
|
+
acceptors: [
|
29
|
+
{
|
30
|
+
"argument" => "length(auto_scaling_groups) > `0`",
|
31
|
+
"expected" => true,
|
32
|
+
"matcher" => "path",
|
33
|
+
"state" => "success"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"argument" => "length(auto_scaling_groups) > `0`",
|
37
|
+
"expected" => false,
|
38
|
+
"matcher" => "path",
|
39
|
+
"state" => "retry"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
)
|
43
|
+
}.merge(options))
|
44
|
+
end
|
54
45
|
|
46
|
+
# @option (see Client#describe_auto_scaling_groups)
|
47
|
+
# @return (see Client#describe_auto_scaling_groups)
|
48
|
+
def wait(params = {})
|
49
|
+
@waiter.wait(client: @client, params: params)
|
55
50
|
end
|
56
51
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
end
|
95
|
-
|
96
|
-
# @api private
|
97
|
-
attr_reader :waiter
|
52
|
+
# @api private
|
53
|
+
attr_reader :waiter
|
54
|
+
|
55
|
+
end
|
56
|
+
|
57
|
+
class GroupInService
|
58
|
+
|
59
|
+
# @param [Hash] options
|
60
|
+
# @option options [required, Client] :client
|
61
|
+
# @option options [Integer] :max_attempts (40)
|
62
|
+
# @option options [Integer] :delay (15)
|
63
|
+
# @option options [Proc] :before_attempt
|
64
|
+
# @option options [Proc] :before_wait
|
65
|
+
def initialize(options)
|
66
|
+
@client = options.fetch(:client)
|
67
|
+
@waiter = Aws::Waiters::Waiter.new({
|
68
|
+
max_attempts: 40,
|
69
|
+
delay: 15,
|
70
|
+
poller: Aws::Waiters::Poller.new(
|
71
|
+
operation_name: :describe_auto_scaling_groups,
|
72
|
+
acceptors: [
|
73
|
+
{
|
74
|
+
"argument" => "contains(auto_scaling_groups[].[length(instances[?lifecycle_state=='InService']) >= min_size][], `false`)",
|
75
|
+
"expected" => false,
|
76
|
+
"matcher" => "path",
|
77
|
+
"state" => "success"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"argument" => "contains(auto_scaling_groups[].[length(instances[?lifecycle_state=='InService']) >= min_size][], `false`)",
|
81
|
+
"expected" => true,
|
82
|
+
"matcher" => "path",
|
83
|
+
"state" => "retry"
|
84
|
+
}
|
85
|
+
]
|
86
|
+
)
|
87
|
+
}.merge(options))
|
88
|
+
end
|
98
89
|
|
90
|
+
# @option (see Client#describe_auto_scaling_groups)
|
91
|
+
# @return (see Client#describe_auto_scaling_groups)
|
92
|
+
def wait(params = {})
|
93
|
+
@waiter.wait(client: @client, params: params)
|
99
94
|
end
|
100
95
|
|
101
|
-
|
102
|
-
|
103
|
-
# @param [Hash] options
|
104
|
-
# @option options [required, Client] :client
|
105
|
-
# @option options [Integer] :max_attempts (40)
|
106
|
-
# @option options [Integer] :delay (15)
|
107
|
-
# @option options [Proc] :before_attempt
|
108
|
-
# @option options [Proc] :before_wait
|
109
|
-
def initialize(options)
|
110
|
-
@client = options.fetch(:client)
|
111
|
-
@waiter = Aws::Waiters::Waiter.new({
|
112
|
-
max_attempts: 40,
|
113
|
-
delay: 15,
|
114
|
-
poller: Aws::Waiters::Poller.new(
|
115
|
-
operation_name: :describe_auto_scaling_groups,
|
116
|
-
acceptors: [
|
117
|
-
{
|
118
|
-
"argument" => "length(auto_scaling_groups) > `0`",
|
119
|
-
"expected" => false,
|
120
|
-
"matcher" => "path",
|
121
|
-
"state" => "success"
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"argument" => "length(auto_scaling_groups) > `0`",
|
125
|
-
"expected" => true,
|
126
|
-
"matcher" => "path",
|
127
|
-
"state" => "retry"
|
128
|
-
}
|
129
|
-
]
|
130
|
-
)
|
131
|
-
}.merge(options))
|
132
|
-
end
|
133
|
-
|
134
|
-
# @option (see Client#describe_auto_scaling_groups)
|
135
|
-
# @return (see Client#describe_auto_scaling_groups)
|
136
|
-
def wait(params = {})
|
137
|
-
@waiter.wait(client: @client, params: params)
|
138
|
-
end
|
139
|
-
|
140
|
-
# @api private
|
141
|
-
attr_reader :waiter
|
96
|
+
# @api private
|
97
|
+
attr_reader :waiter
|
142
98
|
|
99
|
+
end
|
100
|
+
|
101
|
+
class GroupNotExists
|
102
|
+
|
103
|
+
# @param [Hash] options
|
104
|
+
# @option options [required, Client] :client
|
105
|
+
# @option options [Integer] :max_attempts (40)
|
106
|
+
# @option options [Integer] :delay (15)
|
107
|
+
# @option options [Proc] :before_attempt
|
108
|
+
# @option options [Proc] :before_wait
|
109
|
+
def initialize(options)
|
110
|
+
@client = options.fetch(:client)
|
111
|
+
@waiter = Aws::Waiters::Waiter.new({
|
112
|
+
max_attempts: 40,
|
113
|
+
delay: 15,
|
114
|
+
poller: Aws::Waiters::Poller.new(
|
115
|
+
operation_name: :describe_auto_scaling_groups,
|
116
|
+
acceptors: [
|
117
|
+
{
|
118
|
+
"argument" => "length(auto_scaling_groups) > `0`",
|
119
|
+
"expected" => false,
|
120
|
+
"matcher" => "path",
|
121
|
+
"state" => "success"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"argument" => "length(auto_scaling_groups) > `0`",
|
125
|
+
"expected" => true,
|
126
|
+
"matcher" => "path",
|
127
|
+
"state" => "retry"
|
128
|
+
}
|
129
|
+
]
|
130
|
+
)
|
131
|
+
}.merge(options))
|
132
|
+
end
|
133
|
+
|
134
|
+
# @option (see Client#describe_auto_scaling_groups)
|
135
|
+
# @return (see Client#describe_auto_scaling_groups)
|
136
|
+
def wait(params = {})
|
137
|
+
@waiter.wait(client: @client, params: params)
|
143
138
|
end
|
139
|
+
|
140
|
+
# @api private
|
141
|
+
attr_reader :waiter
|
142
|
+
|
144
143
|
end
|
145
144
|
end
|
146
145
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
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:
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|