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,219 +1,211 @@
|
|
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
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
end
|
8
|
+
module Aws::AutoScaling
|
9
|
+
class LoadBalancer
|
10
|
+
|
11
|
+
extend Aws::Deprecations
|
12
|
+
|
13
|
+
# @overload def initialize(group_name, name, options = {})
|
14
|
+
# @param [String] group_name
|
15
|
+
# @param [String] name
|
16
|
+
# @option options [Client] :client
|
17
|
+
# @overload def initialize(options = {})
|
18
|
+
# @option options [required, String] :group_name
|
19
|
+
# @option options [required, String] :name
|
20
|
+
# @option options [Client] :client
|
21
|
+
def initialize(*args)
|
22
|
+
options = Hash === args.last ? args.pop.dup : {}
|
23
|
+
@group_name = extract_group_name(args, options)
|
24
|
+
@name = extract_name(args, options)
|
25
|
+
@data = options.delete(:data)
|
26
|
+
@client = options.delete(:client) || Client.new(options)
|
27
|
+
end
|
29
28
|
|
30
|
-
|
29
|
+
# @!group Read-Only Attributes
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
# @return [String]
|
32
|
+
def group_name
|
33
|
+
@group_name
|
34
|
+
end
|
36
35
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
36
|
+
# @return [String]
|
37
|
+
def name
|
38
|
+
@name
|
39
|
+
end
|
40
|
+
alias :load_balancer_name :name
|
41
|
+
|
42
|
+
# One of the following load balancer states:
|
43
|
+
#
|
44
|
+
# * `Adding` - The instances in the group are being registered with the
|
45
|
+
# load balancer.
|
46
|
+
#
|
47
|
+
# * `Added` - All instances in the group are registered with the load
|
48
|
+
# balancer.
|
49
|
+
#
|
50
|
+
# * `InService` - At least one instance in the group passed an ELB
|
51
|
+
# health check.
|
52
|
+
#
|
53
|
+
# * `Removing` - The instances in the group are being deregistered from
|
54
|
+
# the load balancer. If connection draining is enabled, Elastic Load
|
55
|
+
# Balancing waits for in-flight requests to complete before
|
56
|
+
# deregistering the instances.
|
57
|
+
#
|
58
|
+
# * `Removed` - All instances in the group are deregistered from the
|
59
|
+
# load balancer.
|
60
|
+
# @return [String]
|
61
|
+
def state
|
62
|
+
data.state
|
63
|
+
end
|
65
64
|
|
66
|
-
|
65
|
+
# @!endgroup
|
67
66
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
67
|
+
# @return [Client]
|
68
|
+
def client
|
69
|
+
@client
|
70
|
+
end
|
72
71
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
72
|
+
# @raise [NotImplementedError]
|
73
|
+
# @api private
|
74
|
+
def load
|
75
|
+
msg = "#load is not implemented, data only available via enumeration"
|
76
|
+
raise NotImplementedError, msg
|
77
|
+
end
|
78
|
+
alias :reload :load
|
79
|
+
|
80
|
+
# @raise [NotImplementedError] Raises when {#data_loaded?} is `false`.
|
81
|
+
# @return [Types::LoadBalancerState]
|
82
|
+
# Returns the data for this {LoadBalancer}.
|
83
|
+
def data
|
84
|
+
load unless @data
|
85
|
+
@data
|
86
|
+
end
|
88
87
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
88
|
+
# @return [Boolean]
|
89
|
+
# Returns `true` if this resource is loaded. Accessing attributes or
|
90
|
+
# {#data} on an unloaded resource will trigger a call to {#load}.
|
91
|
+
def data_loaded?
|
92
|
+
!!@data
|
93
|
+
end
|
95
94
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
95
|
+
# @!group Actions
|
96
|
+
|
97
|
+
# @example Request syntax with placeholder values
|
98
|
+
#
|
99
|
+
# load_balancer.attach()
|
100
|
+
# @param [Hash] options ({})
|
101
|
+
# @return [Types::AttachLoadBalancersResultType]
|
102
|
+
def attach(options = {})
|
103
|
+
options = Aws::Util.deep_merge(options,
|
104
|
+
auto_scaling_group_name: @group_name,
|
105
|
+
load_balancer_names: [@name]
|
106
|
+
)
|
107
|
+
resp = @client.attach_load_balancers(options)
|
108
|
+
resp.data
|
109
|
+
end
|
111
110
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
111
|
+
# @example Request syntax with placeholder values
|
112
|
+
#
|
113
|
+
# load_balancer.detach()
|
114
|
+
# @param [Hash] options ({})
|
115
|
+
# @return [Types::DetachLoadBalancersResultType]
|
116
|
+
def detach(options = {})
|
117
|
+
options = Aws::Util.deep_merge(options,
|
118
|
+
auto_scaling_group_name: @group_name,
|
119
|
+
load_balancer_names: [@name]
|
120
|
+
)
|
121
|
+
resp = @client.detach_load_balancers(options)
|
122
|
+
resp.data
|
123
|
+
end
|
125
124
|
|
126
|
-
|
125
|
+
# @!group Associations
|
127
126
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
127
|
+
# @return [AutoScalingGroup]
|
128
|
+
def group
|
129
|
+
AutoScalingGroup.new(
|
130
|
+
name: @group_name,
|
131
|
+
client: @client
|
132
|
+
)
|
133
|
+
end
|
135
134
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
end
|
135
|
+
# @deprecated
|
136
|
+
# @api private
|
137
|
+
def identifiers
|
138
|
+
{
|
139
|
+
group_name: @group_name,
|
140
|
+
name: @name
|
141
|
+
}
|
142
|
+
end
|
143
|
+
deprecated(:identifiers)
|
144
|
+
|
145
|
+
private
|
146
|
+
|
147
|
+
def extract_group_name(args, options)
|
148
|
+
value = args[0] || options.delete(:group_name)
|
149
|
+
case value
|
150
|
+
when String then value
|
151
|
+
when nil then raise ArgumentError, "missing required option :group_name"
|
152
|
+
else
|
153
|
+
msg = "expected :group_name to be a String, got #{value.class}"
|
154
|
+
raise ArgumentError, msg
|
157
155
|
end
|
156
|
+
end
|
158
157
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
end
|
158
|
+
def extract_name(args, options)
|
159
|
+
value = args[1] || options.delete(:name)
|
160
|
+
case value
|
161
|
+
when String then value
|
162
|
+
when nil then raise ArgumentError, "missing required option :name"
|
163
|
+
else
|
164
|
+
msg = "expected :name to be a String, got #{value.class}"
|
165
|
+
raise ArgumentError, msg
|
168
166
|
end
|
167
|
+
end
|
169
168
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
params[:
|
183
|
-
|
184
|
-
|
185
|
-
params[:load_balancer_names] << {
|
186
|
-
name: item.name
|
187
|
-
}
|
188
|
-
end
|
189
|
-
batch[0].client.attach_load_balancers(params)
|
169
|
+
class Collection < Aws::Resources::Collection
|
170
|
+
|
171
|
+
# @!group Batch Actions
|
172
|
+
|
173
|
+
# @param options ({})
|
174
|
+
# @return [void]
|
175
|
+
def batch_attach(options = {})
|
176
|
+
batch_enum.each do |batch|
|
177
|
+
params = Aws::Util.copy_hash(options)
|
178
|
+
params[:auto_scaling_group_name] = batch[0].group_name
|
179
|
+
params[:load_balancer_names] ||= []
|
180
|
+
batch.each do |item|
|
181
|
+
params[:load_balancer_names] << {
|
182
|
+
name: item.name
|
183
|
+
}
|
190
184
|
end
|
191
|
-
|
185
|
+
batch[0].client.attach_load_balancers(params)
|
192
186
|
end
|
187
|
+
nil
|
188
|
+
end
|
193
189
|
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
params[:
|
203
|
-
|
204
|
-
|
205
|
-
params[:load_balancer_names] << {
|
206
|
-
name: item.name
|
207
|
-
}
|
208
|
-
end
|
209
|
-
batch[0].client.detach_load_balancers(params)
|
190
|
+
# @param options ({})
|
191
|
+
# @return [void]
|
192
|
+
def batch_detach(options = {})
|
193
|
+
batch_enum.each do |batch|
|
194
|
+
params = Aws::Util.copy_hash(options)
|
195
|
+
params[:auto_scaling_group_name] = batch[0].group_name
|
196
|
+
params[:load_balancer_names] ||= []
|
197
|
+
batch.each do |item|
|
198
|
+
params[:load_balancer_names] << {
|
199
|
+
name: item.name
|
200
|
+
}
|
210
201
|
end
|
211
|
-
|
202
|
+
batch[0].client.detach_load_balancers(params)
|
212
203
|
end
|
204
|
+
nil
|
205
|
+
end
|
213
206
|
|
214
|
-
|
207
|
+
# @!endgroup
|
215
208
|
|
216
|
-
end
|
217
209
|
end
|
218
210
|
end
|
219
211
|
end
|
@@ -1,199 +1,194 @@
|
|
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
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
end
|
8
|
+
module Aws::AutoScaling
|
9
|
+
class NotificationConfiguration
|
10
|
+
|
11
|
+
extend Aws::Deprecations
|
12
|
+
|
13
|
+
# @overload def initialize(group_name, type, topic_arn, options = {})
|
14
|
+
# @param [String] group_name
|
15
|
+
# @param [String] type
|
16
|
+
# @param [String] topic_arn
|
17
|
+
# @option options [Client] :client
|
18
|
+
# @overload def initialize(options = {})
|
19
|
+
# @option options [required, String] :group_name
|
20
|
+
# @option options [required, String] :type
|
21
|
+
# @option options [required, String] :topic_arn
|
22
|
+
# @option options [Client] :client
|
23
|
+
def initialize(*args)
|
24
|
+
options = Hash === args.last ? args.pop.dup : {}
|
25
|
+
@group_name = extract_group_name(args, options)
|
26
|
+
@type = extract_type(args, options)
|
27
|
+
@topic_arn = extract_topic_arn(args, options)
|
28
|
+
@data = options.delete(:data)
|
29
|
+
@client = options.delete(:client) || Client.new(options)
|
30
|
+
end
|
32
31
|
|
33
|
-
|
32
|
+
# @!group Read-Only Attributes
|
34
33
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
34
|
+
# @return [String]
|
35
|
+
def group_name
|
36
|
+
@group_name
|
37
|
+
end
|
38
|
+
alias :auto_scaling_group_name :group_name
|
40
39
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
# @return [String]
|
41
|
+
def type
|
42
|
+
@type
|
43
|
+
end
|
44
|
+
alias :notification_type :type
|
46
45
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
46
|
+
# @return [String]
|
47
|
+
def topic_arn
|
48
|
+
@topic_arn
|
49
|
+
end
|
51
50
|
|
52
|
-
|
51
|
+
# @!endgroup
|
53
52
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
53
|
+
# @return [Client]
|
54
|
+
def client
|
55
|
+
@client
|
56
|
+
end
|
58
57
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
58
|
+
# @raise [NotImplementedError]
|
59
|
+
# @api private
|
60
|
+
def load
|
61
|
+
msg = "#load is not implemented, data only available via enumeration"
|
62
|
+
raise NotImplementedError, msg
|
63
|
+
end
|
64
|
+
alias :reload :load
|
65
|
+
|
66
|
+
# @raise [NotImplementedError] Raises when {#data_loaded?} is `false`.
|
67
|
+
# @return [Types::NotificationConfiguration]
|
68
|
+
# Returns the data for this {NotificationConfiguration}.
|
69
|
+
def data
|
70
|
+
load unless @data
|
71
|
+
@data
|
72
|
+
end
|
74
73
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
74
|
+
# @return [Boolean]
|
75
|
+
# Returns `true` if this resource is loaded. Accessing attributes or
|
76
|
+
# {#data} on an unloaded resource will trigger a call to {#load}.
|
77
|
+
def data_loaded?
|
78
|
+
!!@data
|
79
|
+
end
|
81
80
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
81
|
+
# @!group Actions
|
82
|
+
|
83
|
+
# @example Request syntax with placeholder values
|
84
|
+
#
|
85
|
+
# notification_configuration.delete()
|
86
|
+
# @param [Hash] options ({})
|
87
|
+
# @return [EmptyStructure]
|
88
|
+
def delete(options = {})
|
89
|
+
options = options.merge(
|
90
|
+
auto_scaling_group_name: @group_name,
|
91
|
+
topic_arn: @topic_arn
|
92
|
+
)
|
93
|
+
resp = @client.delete_notification_configuration(options)
|
94
|
+
resp.data
|
95
|
+
end
|
97
96
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
97
|
+
# @example Request syntax with placeholder values
|
98
|
+
#
|
99
|
+
# notification_configuration.put()
|
100
|
+
# @param [Hash] options ({})
|
101
|
+
# @return [EmptyStructure]
|
102
|
+
def put(options = {})
|
103
|
+
options = Aws::Util.deep_merge(options,
|
104
|
+
auto_scaling_group_name: @name,
|
105
|
+
topic_arn: @topic_arn,
|
106
|
+
notification_types: [@notification_type]
|
107
|
+
)
|
108
|
+
resp = @client.put_notification_configuration(options)
|
109
|
+
resp.data
|
110
|
+
end
|
112
111
|
|
113
|
-
|
112
|
+
# @!group Associations
|
114
113
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
114
|
+
# @return [AutoScalingGroup]
|
115
|
+
def group
|
116
|
+
AutoScalingGroup.new(
|
117
|
+
name: @group_name,
|
118
|
+
client: @client
|
119
|
+
)
|
120
|
+
end
|
122
121
|
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
end
|
122
|
+
# @deprecated
|
123
|
+
# @api private
|
124
|
+
def identifiers
|
125
|
+
{
|
126
|
+
group_name: @group_name,
|
127
|
+
type: @type,
|
128
|
+
topic_arn: @topic_arn
|
129
|
+
}
|
130
|
+
end
|
131
|
+
deprecated(:identifiers)
|
132
|
+
|
133
|
+
private
|
134
|
+
|
135
|
+
def extract_group_name(args, options)
|
136
|
+
value = args[0] || options.delete(:group_name)
|
137
|
+
case value
|
138
|
+
when String then value
|
139
|
+
when nil then raise ArgumentError, "missing required option :group_name"
|
140
|
+
else
|
141
|
+
msg = "expected :group_name to be a String, got #{value.class}"
|
142
|
+
raise ArgumentError, msg
|
145
143
|
end
|
144
|
+
end
|
146
145
|
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
end
|
146
|
+
def extract_type(args, options)
|
147
|
+
value = args[1] || options.delete(:type)
|
148
|
+
case value
|
149
|
+
when String then value
|
150
|
+
when nil then raise ArgumentError, "missing required option :type"
|
151
|
+
else
|
152
|
+
msg = "expected :type to be a String, got #{value.class}"
|
153
|
+
raise ArgumentError, msg
|
156
154
|
end
|
155
|
+
end
|
157
156
|
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
end
|
157
|
+
def extract_topic_arn(args, options)
|
158
|
+
value = args[2] || options.delete(:topic_arn)
|
159
|
+
case value
|
160
|
+
when String then value
|
161
|
+
when nil then raise ArgumentError, "missing required option :topic_arn"
|
162
|
+
else
|
163
|
+
msg = "expected :topic_arn to be a String, got #{value.class}"
|
164
|
+
raise ArgumentError, msg
|
167
165
|
end
|
166
|
+
end
|
168
167
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
params[:
|
183
|
-
|
184
|
-
|
185
|
-
params[:notification_types] << {
|
186
|
-
notification_type: item.notification_type
|
187
|
-
}
|
188
|
-
end
|
189
|
-
batch[0].client.put_notification_configuration(params)
|
168
|
+
class Collection < Aws::Resources::Collection
|
169
|
+
|
170
|
+
# @!group Batch Actions
|
171
|
+
|
172
|
+
# @param options ({})
|
173
|
+
# @return [void]
|
174
|
+
def batch_put(options = {})
|
175
|
+
batch_enum.each do |batch|
|
176
|
+
params = Aws::Util.copy_hash(options)
|
177
|
+
params[:auto_scaling_group_name] = batch[0].name
|
178
|
+
params[:topic_arn] = batch[0].topic_arn
|
179
|
+
params[:notification_types] ||= []
|
180
|
+
batch.each do |item|
|
181
|
+
params[:notification_types] << {
|
182
|
+
notification_type: item.notification_type
|
183
|
+
}
|
190
184
|
end
|
191
|
-
|
185
|
+
batch[0].client.put_notification_configuration(params)
|
192
186
|
end
|
187
|
+
nil
|
188
|
+
end
|
193
189
|
|
194
|
-
|
190
|
+
# @!endgroup
|
195
191
|
|
196
|
-
end
|
197
192
|
end
|
198
193
|
end
|
199
194
|
end
|