aws-sdk-artifact 1.17.0 → 1.18.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: 23afe261a57644f1be37a4c5f74cdcfaa70793ec5e01e4c24c1ab23c2008ae70
4
- data.tar.gz: b0e32da63b935c174782691e3ec5d90c7415aed98fcec5868fc668edf986d772
3
+ metadata.gz: ede25de860f1f388337adee7aaab3cd6d34da915f1b4fa68fe09f20d11de1be6
4
+ data.tar.gz: a02dea42f7c2289fdefdcaa16e835d9ea496db8d1a7e508b2c3b2f5bc284288e
5
5
  SHA512:
6
- metadata.gz: 33885e6537d9120a5386c81d2a928da5ddc453260433de1fdc093acfeebe3629986f0bb9e4406fefa70bea767cf13c257a9a776973e91c1940e0873048766e09
7
- data.tar.gz: cbc1f506505b7221f031bcda4941f0187cbf0279d832cc900f4a0812f0076e8e33f82fce5c639d674670e42cf4cf728a3b039e6b11b88f38e812fb2e5700df4d
6
+ metadata.gz: 1b3a9542fe9d9c54e3d086fad1eaf27833b6a55c5e4ff11d6f3cef47945c74437f5000c44e250caac2529276728843ca3903df66b5ea6613c244e7f776a8ebd1
7
+ data.tar.gz: cfd05daf5cffd74f5467f4867c1cb09f25e389cfe3de1bca9335d0fd77efb144693490cd7d656d4f0f850436fcd94f007349cb6bde3a795080c39eb01131a8fb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.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.17.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -915,7 +915,7 @@ module Aws::Artifact
915
915
  tracer: tracer
916
916
  )
917
917
  context[:gem_name] = 'aws-sdk-artifact'
918
- context[:gem_version] = '1.17.0'
918
+ context[:gem_version] = '1.18.0'
919
919
  Seahorse::Client::Request.new(handlers, context)
920
920
  end
921
921
 
@@ -10,34 +10,30 @@
10
10
  module Aws::Artifact
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://artifact-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://artifact-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://artifact.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
43
39
  end
@@ -55,7 +55,7 @@ module Aws::Artifact
55
55
  autoload :EndpointProvider, 'aws-sdk-artifact/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-artifact/endpoints'
57
57
 
58
- GEM_VERSION = '1.17.0'
58
+ GEM_VERSION = '1.18.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-artifact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.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