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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDJhODY2ZjI4OTgxMjQxNjdlOTU3YTIzZjQ1ZWJlNmQ0OTc1OGQxYg==
4
+ MmI0ZWM5ZDAwZTM2YWU3YTcyN2MzM2JiYWQ0NzZiOTA0NDhmMTE5NA==
5
5
  data.tar.gz: !binary |-
6
- YmE4MDM5Y2M0ZTcyZWEzYmYxZmUyMmM3MTZhMjViZWFlMjMyODAyMA==
6
+ MjU1MTY3YmQ3MGI1NmJmNGQ3N2NhNGI3ZWQxNDkyZDk3ZTQ2OTg0Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDJhOWZiZWY1ZmI5YTZiOGYyM2Q0MDkyYjIzNTdhNjIzODA4NmU3NDViMDNj
10
- NWQzMzY0MmQwYjg2MTdhMzg2MDA1OWJiYmNiMTFhMWE2ZDQ2YTRmNmIzOTQ1
11
- YThlNTlhZTM0MzYxMTZjMzIwODA0NDUyZDRmMmUwYjFhOTU3OTY=
9
+ ODU1MGRjYjk5N2JlMWZjZDI1OWUxMGZjMjQ5OGM1Y2RmZjVjNTI4NmMyZTQ3
10
+ YTg0MWU5NDc1ZDQ4NzFkOTIxMzg5NjdiNzQyNDM4MmE4NDZmYzAzNDcwYjFh
11
+ YTYyYjI2OTRjNWE0MWQzNjVmZmQ1NWI3ZDg1MzZmNjViMTk3ZTc=
12
12
  data.tar.gz: !binary |-
13
- YmI5NmNkN2Y4YjU5YmQwNjE0YTdjYWY5ZmU4YTMzNmNmNDQwM2ZlZTI1NjA2
14
- N2I2N2UxNDFiZGE4MGMxMjFmZmIzMWI3NjAzYTQzZWQwNDliN2U2YzY5ZDBm
15
- NTgxMGVlOTE4NDM1ZmE1NWFkODhhMWRkNTljNzZjYTY1NjAwZWY=
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' => :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
@@ -9,6 +9,6 @@
9
9
  #++
10
10
  module AwsPricing
11
11
 
12
- VERSION = '0.1.142' # [major,minor.fix]: adding new m5*, r5*, c5, i3en.metal sizes
12
+ VERSION = '0.1.143' # [major,minor.fix]: adding network capacity description hash
13
13
 
14
14
  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.142
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-02 00:00:00.000000000 Z
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: