aws-sdk-securityir 1.1.0 → 1.2.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: 202e31d02b78b08f1b23206a703360dc683afd9d51b04161e1e42793e2d3d03e
4
- data.tar.gz: cd31b5a2940cd3282ee3560e11e324bcd2617cc27be1eb46e0db07aeb6a02150
3
+ metadata.gz: 5eee7f763bfb341866825f00ac8a62b50839dd89a7f73d50694244df136d6ad0
4
+ data.tar.gz: 0de514fb6f1163cb594907e434a529f95828cd4882d4e4a42b98e66769cdcba3
5
5
  SHA512:
6
- metadata.gz: 195d9896e9e7d0a591e870abfcca5fd2c69de7792850db9dad2060b3d677d38936d1e17123705353d701dc61f26d587b79474a032e9e52943822a9e6f258239b
7
- data.tar.gz: d556e739083654b600668af1889e1b05cf7f8ed03ed42e8f98eb6e7721dadeed56294af6d822657bfb772b846d37f1097b75b1a7ce45933ce434dd5c28b371a5
6
+ metadata.gz: 5cf7695cecd809af8d9ebae75be0d664929f421c263d1d5098e495ae1b7c1fe22993b5165d2d68e62ec59a98cd7a5c12390549d2b95841276942fd50b5c9e14e
7
+ data.tar.gz: 6713dce397d775aebd46c2343cab95dee9cad66d0bbface569499df936547b5e6db67684d0e6f5f37cc60521adc0156deab07d3358f4b2ed413b5ced81fa2140
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.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.1.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -2091,7 +2091,7 @@ module Aws::SecurityIR
2091
2091
  tracer: tracer
2092
2092
  )
2093
2093
  context[:gem_name] = 'aws-sdk-securityir'
2094
- context[:gem_version] = '1.1.0'
2094
+ context[:gem_version] = '1.2.0'
2095
2095
  Seahorse::Client::Request.new(handlers, context)
2096
2096
  end
2097
2097
 
@@ -10,21 +10,18 @@
10
10
  module Aws::SecurityIR
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://security-ir-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://security-ir-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
23
  end
27
- return Aws::Endpoints::Endpoint.new(url: "https://security-ir.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: "https://security-ir.#{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::SecurityIR
55
55
  autoload :EndpointProvider, 'aws-sdk-securityir/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-securityir/endpoints'
57
57
 
58
- GEM_VERSION = '1.1.0'
58
+ GEM_VERSION = '1.2.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-securityir
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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-15 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