aws-sdk-servicediscovery 1.56.0 → 1.57.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +1 -1
- data/lib/aws-sdk-servicediscovery/endpoint_provider.rb +9 -0
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edc9e6808f3dac85b737774a08e261baf09de62d85ef3874dc0dcef3bdf270ba
|
|
4
|
+
data.tar.gz: 37b6716d308f5ca9704cfcf83eac6d2804aa57af7941291e0556e89ec8f4531f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17254c33244af0b48ccd620a294cc88c5af47ee63d355f3bcff9a15fc7300519b8b7fb8ac93c336fe463eda398c94e75222b4d53da829f1faf019433ae6f501e
|
|
7
|
+
data.tar.gz: 957e714bbdad6cb4bae33fa8fe582fd2cde228dd7149e40df8c5356836c5a7681540110c6e85a259b52b182ec7953ceaac6ebe4ef788d7b6b5b47b8484c735d3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.57.0
|
|
@@ -2661,7 +2661,7 @@ module Aws::ServiceDiscovery
|
|
|
2661
2661
|
params: params,
|
|
2662
2662
|
config: config)
|
|
2663
2663
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
|
2664
|
-
context[:gem_version] = '1.
|
|
2664
|
+
context[:gem_version] = '1.57.0'
|
|
2665
2665
|
Seahorse::Client::Request.new(handlers, context)
|
|
2666
2666
|
end
|
|
2667
2667
|
|
|
@@ -39,6 +39,15 @@ module Aws::ServiceDiscovery
|
|
|
39
39
|
end
|
|
40
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
41
41
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
42
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
44
|
+
end
|
|
45
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
|
47
|
+
end
|
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
50
|
+
end
|
|
42
51
|
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
43
52
|
end
|
|
44
53
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-servicediscovery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.57.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-
|
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|