aws-sdk-support 1.44.0 → 1.45.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: 6b6e67c90f8fb3136b19e51a0e746fa74158ca78066c2ed4bfec66877f1dfbe2
4
- data.tar.gz: 45a0512a442048fea98e079cbb07f5ebbad0ff967144f772c8a77e26b20f8a9e
3
+ metadata.gz: c8c078d96a7362e0f36b50c1177bcf50e1796ca611664cd45a5085c5190143aa
4
+ data.tar.gz: c664cd85ccd5a8abc5dcc4ee17cfe936059fa43b7e2ba685c55db99699e9a118
5
5
  SHA512:
6
- metadata.gz: b97412a90c2dc727ef1a54a5bba0bdee12df3fee578e234b80ec34fee11b43b759d5e09f6e1ae28a01cb1824ec035d19d1b91db3c4ca2e785e74b50c820a4d6e
7
- data.tar.gz: 1400f2c84fc2fdf531d063d11a4dc66da6c2927b738d4d5cb8c1d6b8ca322cf01e4b294d858e0f6397d82463cf7aec5e1d000024407bb28e54905a6cb6124819
6
+ metadata.gz: 90e3ec5516d06810e2dd2b3d01f2f059bb930440f55905439b932e1910c706a8a348f9f56662298f4acf998be3e9945ee40d34257b5049d89993acdd34d345de
7
+ data.tar.gz: edc488b058c28d25ac5e09221948dcd496c67c604dc6596a71c4668535438a151e0b754c52bb1423ca3cdbf1e7bcb0c4df2b6bae48a4ae403283696e8ec3fd22
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - This fixes incorrect endpoint construction when a customer is explicitly setting a region.
8
+
4
9
  1.44.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -1503,7 +1503,7 @@ module Aws::Support
1503
1503
  params: params,
1504
1504
  config: config)
1505
1505
  context[:gem_name] = 'aws-sdk-support'
1506
- context[:gem_version] = '1.44.0'
1506
+ context[:gem_version] = '1.45.0'
1507
1507
  Seahorse::Client::Request.new(handlers, context)
1508
1508
  end
1509
1509
 
@@ -24,6 +24,87 @@ module Aws::Support
24
24
  end
25
25
  return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
26
  end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.api.aws", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.api.aws", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://support.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"support"}]})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
49
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
50
+ 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"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
52
+ end
53
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
54
+ end
55
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
56
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {})
58
+ end
59
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
60
+ end
61
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
62
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
63
+ return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
64
+ end
65
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
+ end
67
+ return Aws::Endpoints::Endpoint.new(url: "https://support.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-north-1", "signingName"=>"support"}]})
68
+ end
69
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
70
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
71
+ 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"))
72
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.api.aws", headers: {}, properties: {})
73
+ end
74
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
75
+ end
76
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
77
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
78
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.amazonaws.com", headers: {}, properties: {})
79
+ end
80
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
81
+ end
82
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
83
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
84
+ return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.api.aws", headers: {}, properties: {})
85
+ end
86
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
87
+ end
88
+ return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"support"}]})
89
+ end
90
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")
91
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
92
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
93
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.c2s.ic.gov", headers: {}, properties: {})
94
+ end
95
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
96
+ end
97
+ return Aws::Endpoints::Endpoint.new(url: "https://support.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"support"}]})
98
+ end
99
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b")
100
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
101
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
102
+ return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.sc2s.sgov.gov", headers: {}, properties: {})
103
+ end
104
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
105
+ end
106
+ return Aws::Endpoints::Endpoint.new(url: "https://support.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"support"}]})
107
+ end
27
108
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
109
  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"))
29
110
  return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
@@ -32,9 +113,6 @@ module Aws::Support
32
113
  end
33
114
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
115
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
36
- return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
37
- end
38
116
  return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
117
  end
40
118
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-support/customizations'
52
52
  # @!group service
53
53
  module Aws::Support
54
54
 
55
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.45.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.45.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core