awful 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/asgn +7 -0
- data/lib/awful/auto_scaling_notifications.rb +26 -0
- data/lib/awful/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f37094621cce1973896114b3806bbc9c9fbf8ab0
|
4
|
+
data.tar.gz: 5447b9590bf70c2b9289c069c8395c3f79806744
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac0de6a8d3cb0c8d702827e20155d25193ed44ce9614f31c6b79ee7b14c00fa24ac5d7c0af5cb4c870c1205013bf68b92dbbe6b102cfe93e8e8d8920f6e8d28
|
7
|
+
data.tar.gz: 12d1a194550ff815ddb52f830c6b1f7de94bf28cf1eefd2b67366c6f5c6f7143bf2718332ebecddcb115764bdf0f53119c444c759b19f6141e81af9249e6500a
|
data/bin/asgn
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
module Awful
|
2
|
+
|
3
|
+
class AutoScalingNotifications < Cli
|
4
|
+
|
5
|
+
desc 'ls [NAMES]', 'describe notification configurations for named groups'
|
6
|
+
method_option :long, aliases: '-l', default: false, desc: 'Long listing'
|
7
|
+
def ls(*names)
|
8
|
+
autoscaling.describe_notification_configurations(auto_scaling_group_names: names).notification_configurations.tap do |notifications|
|
9
|
+
if options[:long]
|
10
|
+
print_table notifications.map { |n| [n.auto_scaling_group_name, n.notification_type, n.topic_arn] }
|
11
|
+
else
|
12
|
+
puts notifications.map(&:notification_type)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
desc 'types', 'describe auto-scaling notification types'
|
18
|
+
def types
|
19
|
+
autoscaling.describe_auto_scaling_notification_types.auto_scaling_notification_types.tap do |types|
|
20
|
+
puts types
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
data/lib/awful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ric Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,6 +86,7 @@ email:
|
|
86
86
|
executables:
|
87
87
|
- ami
|
88
88
|
- asg
|
89
|
+
- asgn
|
89
90
|
- dp
|
90
91
|
- dyn
|
91
92
|
- dynstr
|
@@ -109,6 +110,7 @@ files:
|
|
109
110
|
- awful.gemspec
|
110
111
|
- bin/ami
|
111
112
|
- bin/asg
|
113
|
+
- bin/asgn
|
112
114
|
- bin/dp
|
113
115
|
- bin/dyn
|
114
116
|
- bin/dynstr
|
@@ -124,6 +126,7 @@ files:
|
|
124
126
|
- lib/awful.rb
|
125
127
|
- lib/awful/ami.rb
|
126
128
|
- lib/awful/auto_scaling.rb
|
129
|
+
- lib/awful/auto_scaling_notifications.rb
|
127
130
|
- lib/awful/datapipeline.rb
|
128
131
|
- lib/awful/dynamodb.rb
|
129
132
|
- lib/awful/dynamodb_streams.rb
|