amazon-pricing 0.1.142 → 0.1.143
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 +8 -8
- data/lib/amazon-pricing/definitions/ec2-instance-type.rb +17 -1
- data/lib/amazon-pricing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmI0ZWM5ZDAwZTM2YWU3YTcyN2MzM2JiYWQ0NzZiOTA0NDhmMTE5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjU1MTY3YmQ3MGI1NmJmNGQ3N2NhNGI3ZWQxNDkyZDk3ZTQ2OTg0Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODU1MGRjYjk5N2JlMWZjZDI1OWUxMGZjMjQ5OGM1Y2RmZjVjNTI4NmMyZTQ3
|
10
|
+
YTg0MWU5NDc1ZDQ4NzFkOTIxMzg5NjdiNzQyNDM4MmE4NDZmYzAzNDcwYjFh
|
11
|
+
YTYyYjI2OTRjNWE0MWQzNjVmZmQ1NWI3ZDg1MzZmNjViMTk3ZTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmQxN2ZhNDJlYzI4M2EwNmQyOWQ5NDA4N2E5NDBjMDFkZGEwYzhmYjNkMDNi
|
14
|
+
NGNlYjIxMzZhMTgwYTc1MDQzYmU4ZGZiYWRmZTJlNDhlNDViMGIwZjcxZmJj
|
15
|
+
NzMxMDFkYjY2NzIwNzY4MDNhOWJlNTNlY2UyODBlYmU5OGEzYzk=
|
@@ -146,6 +146,10 @@ module AwsPricing
|
|
146
146
|
[api_name, name]
|
147
147
|
end
|
148
148
|
|
149
|
+
def self.get_network_capacity_descriptions
|
150
|
+
return @Network_Capacity_Descriptions
|
151
|
+
end
|
152
|
+
|
149
153
|
# throughput values for performance ratings
|
150
154
|
# Amazon informally tells customers that they translate as follows:
|
151
155
|
# Low = 100 Mbps
|
@@ -169,7 +173,7 @@ module AwsPricing
|
|
169
173
|
# Use in population of profiles, takes in string value that amazon uses to reflect network capacity
|
170
174
|
# Returns symbol we use to map to numeric value
|
171
175
|
@Network_String_To_Sym = {
|
172
|
-
'Very Low' =>
|
176
|
+
'Very Low' => :very_low,
|
173
177
|
'Low' => :low,
|
174
178
|
'Low to Moderate' => :low_to_moderate,
|
175
179
|
'Moderate' => :moderate,
|
@@ -187,5 +191,17 @@ module AwsPricing
|
|
187
191
|
'100 Gigabit' => :one_hundred_gigabit
|
188
192
|
}
|
189
193
|
|
194
|
+
@Network_Capacity_Descriptions = {
|
195
|
+
very_low: "Very Low",
|
196
|
+
low: "Low",
|
197
|
+
low_to_moderate: "Low to Moderate",
|
198
|
+
moderate: "Moderate",
|
199
|
+
high: "High",
|
200
|
+
ten_gigabit: "10 Gigabit",
|
201
|
+
twentyfive_gigabit: "25 Gigabit",
|
202
|
+
twenty_gigabit: "20 Gigabit",
|
203
|
+
fifty_gigabit: "50 Gigabit",
|
204
|
+
one_hundered_gigabit: "100 Gigabit",
|
205
|
+
}
|
190
206
|
end
|
191
207
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-pricing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.143
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Kinsella
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby library for retrieving pricing for Amazon Web Services
|
14
14
|
email:
|