aws-sdk-appconfig 1.62.0 → 1.63.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: 4ed687c20cf11b7df7adbc6a1bf5c0c5dbaa190386462518dbd0565c8053927e
4
- data.tar.gz: 86ca4dcb592dcce3e2d68427d63c63379d6f20adc4f0de5ab75d396dbe6e1651
3
+ metadata.gz: 453904138fcba7805320089991dc0fa6bae7c7bb835fcabcc7edf919a4aa8b2f
4
+ data.tar.gz: 155794ab514157a8d6b4aac5ab70656a167e3beda7282d35f4ad9ded5ce8356d
5
5
  SHA512:
6
- metadata.gz: 7f95dff506c997a847adb39603f3690c3427b6e90e18ab26e0f770ca95e333c3c0c0d566e6896fa61ae9401539d4092dcfbb436deea6c586d4717bc924748502
7
- data.tar.gz: 599c55ee633485a3baf609a85ebaddb0453e1df4f5b9f1624b4326d9ddc0141fcbc17a5a6b4d2f08166733c2324257b2374fa9f9710020e5f41ad3d3e7c39ae2
6
+ metadata.gz: d4fda0a877b21e6bac960566537b68805ef51c9df7484e7012ab8f4a93874e0f8e4c6b8454dff2862acc4f1cb240872cb6ea27dda5855b79c6aebb319f01a979
7
+ data.tar.gz: e4d27a8c7a9b6df70e84b7bfb6b6de38a57b6e2ec85252c73bf094516596a4cfcb1dcec5e5c73be37c9819b0a9c7b6587dd7940831b1fb436a1ab37e84cf238a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.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.62.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.63.0
@@ -3901,7 +3901,7 @@ module Aws::AppConfig
3901
3901
  tracer: tracer
3902
3902
  )
3903
3903
  context[:gem_name] = 'aws-sdk-appconfig'
3904
- context[:gem_version] = '1.62.0'
3904
+ context[:gem_version] = '1.63.0'
3905
3905
  Seahorse::Client::Request.new(handlers, context)
3906
3906
  end
3907
3907
 
@@ -10,46 +10,42 @@
10
10
  module Aws::AppConfig
11
11
  class EndpointProvider
12
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 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
- return Aws::Endpoints::Endpoint.new(url: "https://appconfig-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://appconfig-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
32
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")
37
33
  return Aws::Endpoints::Endpoint.new(url: "https://appconfig.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
35
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")
40
36
  return Aws::Endpoints::Endpoint.new(url: "https://appconfig.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
41
37
  end
42
- return Aws::Endpoints::Endpoint.new(url: "https://appconfig-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://appconfig-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
45
41
  end
46
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
47
43
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
- return Aws::Endpoints::Endpoint.new(url: "https://appconfig.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
44
+ return Aws::Endpoints::Endpoint.new(url: "https://appconfig.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
45
  end
50
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
51
47
  end
52
- return Aws::Endpoints::Endpoint.new(url: "https://appconfig.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
48
+ return Aws::Endpoints::Endpoint.new(url: "https://appconfig.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
49
  end
54
50
  end
55
51
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -54,7 +54,7 @@ module Aws::AppConfig
54
54
  autoload :EndpointProvider, 'aws-sdk-appconfig/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-appconfig/endpoints'
56
56
 
57
- GEM_VERSION = '1.62.0'
57
+ GEM_VERSION = '1.63.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-appconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.62.0
4
+ version: 1.63.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