aws-sdk-notifications 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bafd1544925c9213779507b8c849f4f834956f32bb0a5a6dd332f87306cca0cc
4
- data.tar.gz: 63d1050bb03f013b7afc029d6180ba897ac3870e8f32c2cb881885633be82a6e
3
+ metadata.gz: 1f26b24b3734bae9dd151030a238c9790bcd9538fe2cad5b47b6002eb2386c5e
4
+ data.tar.gz: afc048520db5eee1251d331f769b5578085d5c1296ec1e193a1127a488a2f51e
5
5
  SHA512:
6
- metadata.gz: 5595f8374b1f08bc080c6d2b8350b92801f10166127744ee375a81a3f0b1175a74dc60081e63369b5b9a532b000c4b780a5b2997bbb9c03b0efa5a9c3a1a3aa3
7
- data.tar.gz: 6acc14431d35e64c9275470bcb2cc0c551fd2bd18b3a1e5a37caa670fa1a4afe1604ac5dff71ac4a73bf379248d5b9aeded12631019e19c23df3ac8354b014d7
6
+ metadata.gz: d633351c54086b8f17e175edd5e5b21c615fe4cb5c59e9e5a8afb3d916c23dbc51627dd15b2f6008c39ed4aaeb5f76a3bde478fc214711af7ffdfb0d98b2ed80
7
+ data.tar.gz: c4738019d52573cf6a0d5805d87ee3a78ca5a84f655afac08201d2eb2924d5e0dfcd9e4516f77d9cb3235f8f45832d34af57d7265be6f56a124203f76c47c731
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.2.0 (2025-01-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -2250,7 +2250,7 @@ module Aws::Notifications
2250
2250
  tracer: tracer
2251
2251
  )
2252
2252
  context[:gem_name] = 'aws-sdk-notifications'
2253
- context[:gem_version] = '1.2.0'
2253
+ context[:gem_version] = '1.3.0'
2254
2254
  Seahorse::Client::Request.new(handlers, context)
2255
2255
  end
2256
2256
 
@@ -10,21 +10,18 @@
10
10
  module Aws::Notifications
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- use_fips = parameters.use_fips
14
- endpoint = parameters.endpoint
15
- region = parameters.region
16
- if Aws::Endpoints::Matchers.set?(endpoint)
17
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
18
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
19
16
  end
20
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
21
18
  end
22
- if Aws::Endpoints::Matchers.set?(region)
23
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
25
- return Aws::Endpoints::Endpoint.new(url: "https://notifications-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
19
+ if Aws::Endpoints::Matchers.set?(parameters.region)
20
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
21
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
22
+ return Aws::Endpoints::Endpoint.new(url: "https://notifications-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
23
  end
27
- return Aws::Endpoints::Endpoint.new(url: "https://notifications.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: "https://notifications.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
25
  end
29
26
  end
30
27
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -55,7 +55,7 @@ module Aws::Notifications
55
55
  autoload :EndpointProvider, 'aws-sdk-notifications/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-notifications/endpoints'
57
57
 
58
- GEM_VERSION = '1.2.0'
58
+ GEM_VERSION = '1.3.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2025-01-17 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core