aws-sdk-account 1.37.0 → 1.38.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: 32529b2c999973f7e555e2c728780ee20c3e69ad547d017291c8b7d720a1b96e
4
- data.tar.gz: b53b3c5872ad6d6181ef7ac729ee7f10edc6ea9cc08db97cdee43723020d4811
3
+ metadata.gz: 366cded8c4e98ff7b0924aaf90e387a0631bd5bbc3fe1a94542194cab71baac4
4
+ data.tar.gz: 381a5197642b4d52d1aede2c765ac91e54e7142368d1b9795b2f0ac47cbf77ec
5
5
  SHA512:
6
- metadata.gz: 0c1fbf1b4aa2a7fd2fe560b4dd8eabd0de74f20007bca9082ffbd731dc3ae901111484f80d5948461024096121d87e419727b1efe6df3b4666a6c15b469bb926
7
- data.tar.gz: d2480e9b17c7af7319078995d7abb183ac4e634095404248aa0a11ec2fae91e2fc105bd873cc4f226501e1e45300f133aea0804d857634156828a3c190bd4b0d
6
+ metadata.gz: 1e669c3267752985150e3360b99d770637f70aa5d3677b069fdeff2ed59e0a5a671677c455d7a4e51b6a99e7803bb186ed2d003f1e5f5b14512084d5cf7387f1
7
+ data.tar.gz: 5e39318aee03faae77cf02aa9da62de2c746ba17f621405091fdc2c77d22fe3a6fa4b3298311587cf440c7dbccdfb8b3dc3bcf95354cb79798b4c246dc7eeec6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.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.37.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -1341,7 +1341,7 @@ module Aws::Account
1341
1341
  tracer: tracer
1342
1342
  )
1343
1343
  context[:gem_name] = 'aws-sdk-account'
1344
- context[:gem_version] = '1.37.0'
1344
+ context[:gem_version] = '1.38.0'
1345
1345
  Seahorse::Client::Request.new(handlers, context)
1346
1346
  end
1347
1347
 
@@ -10,34 +10,30 @@
10
10
  module Aws::Account
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- use_dual_stack = parameters.use_dual_stack
14
- use_fips = parameters.use_fips
15
- endpoint = parameters.endpoint
16
- region = parameters.region
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- 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)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
26
  return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
32
  return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
38
  return Aws::Endpoints::Endpoint.new(url: "https://account.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
43
39
  end
@@ -54,7 +54,7 @@ module Aws::Account
54
54
  autoload :EndpointProvider, 'aws-sdk-account/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-account/endpoints'
56
56
 
57
- GEM_VERSION = '1.37.0'
57
+ GEM_VERSION = '1.38.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-account
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.38.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