aws-partitions 1.424.0 → 1.425.0

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc586031758394b649ad554d98670b4caf5d49cc38accb8e5f19ae3a31ff104c
4
- data.tar.gz: 9abcf5ae65369daa3a510466c94eba45740a7186a749687b966b16d058130138
3
+ metadata.gz: 6588ae4887ff0ded7558af87e67053ad645fb566dde2b47986eb047e36d3bc38
4
+ data.tar.gz: 498f0ab11b15c7e953479a0a23bddf5a90e256c07c5ae69232efc54436d32937
5
5
  SHA512:
6
- metadata.gz: 6447fa598157debc95b1b81e1e8411a01d4d249dbe9e76c00f14e68d66d8ce4f088aed59d042f8b51eda9edcb141f4c926afb6f82c6ba453527cef5ca81c50df
7
- data.tar.gz: d48986d0e9e88da544fdad0ed2c22bdb830732d3242f468b4099fab41c575d8918c5861b3f7326ab890c879fbcc58d7c3fac479c5cd29b439f6f349463ff39ac
6
+ metadata.gz: a43634f3bb7e37c712de302eedc8217d69b9077a8fdbc77c1c1af0be1298840af767ad4f2755e5679ee4920ef9f0549e82758d9a9ee8afa884e8e87f89dd939c
7
+ data.tar.gz: 04e9302aebc6c73b94feba9b7403ce53c72b4a8da6e5bc17d3e8a7cb338746c27bb8f702e318fc4c39add06e843f1247448d504cde2f8bd2b9c264790b69d89a
@@ -212,7 +212,12 @@ module Aws
212
212
  def defaults
213
213
  @defaults ||= begin
214
214
  path = File.expand_path('../../partitions.json', __FILE__)
215
- JSON.load(File.read(path))
215
+ defaults = if JSON::VERSION >= '2.4.0'
216
+ JSON.load(File.read(path), freeze: true)
217
+ else
218
+ JSON.parse(File.read(path))
219
+ end
220
+ defaults.merge('partitions' => defaults['partitions'].dup)
216
221
  end
217
222
  end
218
223
 
data/partitions.json CHANGED
@@ -7171,6 +7171,16 @@
7171
7171
  },
7172
7172
  "isRegionalized" : true
7173
7173
  },
7174
+ "guardduty" : {
7175
+ "defaults" : {
7176
+ "protocols" : [ "https" ]
7177
+ },
7178
+ "endpoints" : {
7179
+ "cn-north-1" : { },
7180
+ "cn-northwest-1" : { }
7181
+ },
7182
+ "isRegionalized" : true
7183
+ },
7174
7184
  "health" : {
7175
7185
  "endpoints" : {
7176
7186
  "cn-north-1" : { },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-partitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.424.0
4
+ version: 1.425.0
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: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides interfaces to enumerate AWS partitions, regions, and services.
14
14
  email: