aws-sdk-applicationautoscaling 1.64.0 → 1.66.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: b84e055565a9c19315e0cb99d64037314149ab50761b7b832e1621dad83412c5
4
- data.tar.gz: dfad208b526faeb4e2c835b01a1af7496e0b1de5279087f7e85286bd01b082c2
3
+ metadata.gz: a80ca4565ba98cdfd9a370d3b646640180eb4dd1de04085f4219b68bb4a54a37
4
+ data.tar.gz: 9c521f17816dba80142b9e7123c2a04d6f5b3e3d83ed3f281da777545d9ad225
5
5
  SHA512:
6
- metadata.gz: 36a80ef892e8373a73acdcf70d15edaf4528a14a96fdf0475792634c692a8e37f3702cb0e32c885221cca9e38c6b3e3288441ddada415de514bc7f2873d325ef
7
- data.tar.gz: e86e4f47069eb6db84c4c8ceedefe0d2482d0c82d0a6929badb85de83e9b67ca3b639837ce01efe1c98aa1e9a15054153f56a4e900302c18d5c57a3ca10e2ede
6
+ metadata.gz: 1a0dcb44f46669976336ca334514d29e875fc84cac8b0be1c424de2a9e4d408667d16e16eaf82e50d8e94a25b46e0306068d98ca90f9194b4bd0496a1e7ed706
7
+ data.tar.gz: d4e5dc6f3ffdb1a8158167a05de8763c89ab77e9a15c3d1ea8dd3eb4568a7cf20f15a3d769576e589c898c621b6258a1896e55fbf1e91daa5a81fe8c909b64e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
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
+
9
+ 1.65.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.64.0 (2023-01-04)
5
17
  ------------------
6
18
 
@@ -390,4 +402,4 @@ Unreleased Changes
390
402
  1.0.0.rc1 (2016-12-05)
391
403
  ------------------
392
404
 
393
- * Feature - Initial preview release of the `aws-sdk-applicationautoscaling` gem.
405
+ * Feature - Initial preview release of the `aws-sdk-applicationautoscaling` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.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.64.0'
2881
+ context[:gem_version] = '1.66.0'
2882
2882
  Seahorse::Client::Request.new(handlers, context)
2883
2883
  end
2884
2884
 
@@ -9,105 +9,46 @@
9
9
 
10
10
  module Aws::ApplicationAutoScaling
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ 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
+ return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
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
38
+ return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
+ end
40
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
+ end
42
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
+ return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
45
+ end
46
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
49
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
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cXVh
97
- bHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJl
98
- ZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19
99
- XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVu
100
- ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYXBwbGljYXRpb24tYXV0b3NjYWxp
101
- bmcue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZm
102
- aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
103
- ZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFj
104
- ayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBw
105
- b3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25z
106
- IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9hcHBsaWNhdGlvbi1h
107
- dXRvc2NhbGluZy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZp
108
- eH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5k
109
- cG9pbnQifV19XX0=
110
-
111
- JSON
112
53
  end
113
54
  end
@@ -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.64.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.64.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-04 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