aws-sdk-applicationautoscaling 1.65.0 → 1.66.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: 2284d92fbbfb49bdb925a22e7f088cdd5854bf54c3fa8ddd2065ba0181c041f4
4
- data.tar.gz: aba20972140efc0c5b190ad82a1d27071ae72d43fa66486625774e68792ccc6b
3
+ metadata.gz: a80ca4565ba98cdfd9a370d3b646640180eb4dd1de04085f4219b68bb4a54a37
4
+ data.tar.gz: 9c521f17816dba80142b9e7123c2a04d6f5b3e3d83ed3f281da777545d9ad225
5
5
  SHA512:
6
- metadata.gz: d15d8b5ab2fd81c44fd47bc88eae7788e2097557dfd8fcfeffe46bd33d68e4a677e99b3010717bbb39b447fbc817a5b79a7d3306e32c4634f2363bcb1ca338a0
7
- data.tar.gz: 3d40d79210e7f7421f5214315f79d3b4aee781e14de344cfaa678e90f97a49b60e22f3c662b7c903976fbb31ca5360c4b38777a59cca67b5f443ca168113ce4b
6
+ metadata.gz: 1a0dcb44f46669976336ca334514d29e875fc84cac8b0be1c424de2a9e4d408667d16e16eaf82e50d8e94a25b46e0306068d98ca90f9194b4bd0496a1e7ed706
7
+ data.tar.gz: d4e5dc6f3ffdb1a8158167a05de8763c89ab77e9a15c3d1ea8dd3eb4568a7cf20f15a3d769576e589c898c621b6258a1896e55fbf1e91daa5a81fe8c909b64e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2023-01-27)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.65.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.66.0
@@ -2878,7 +2878,7 @@ module Aws::ApplicationAutoScaling
2878
2878
  params: params,
2879
2879
  config: config)
2880
2880
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2881
- context[:gem_version] = '1.65.0'
2881
+ context[:gem_version] = '1.66.0'
2882
2882
  Seahorse::Client::Request.new(handlers, context)
2883
2883
  end
2884
2884
 
@@ -15,7 +15,7 @@ module Aws::ApplicationAutoScaling
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -32,6 +32,9 @@ module Aws::ApplicationAutoScaling
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
52
52
  # @!group service
53
53
  module Aws::ApplicationAutoScaling
54
54
 
55
- GEM_VERSION = '1.65.0'
55
+ GEM_VERSION = '1.66.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationautoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.66.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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core