aws-sdk-partnercentralselling 1.4.0 → 1.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83d983b6950aa75ba904cef3253212722b710a0dfb64176c0f847d46f501ba7d
|
4
|
+
data.tar.gz: 3f5b8078508f2f550ddf7d7f18d912dcf5ddd68107a6f3d5da41b578682da5da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 074320157e74a475297574404ad9370f42240fb2b94acec6451471940ed255cac2e33cda969abf89e20732e4d321f3e47855d725c758f763ddb04918a4f06322
|
7
|
+
data.tar.gz: af347bad1c369322f0e15349bd2319b9ef15a95ec630fb853d5593c746468f18eeef258a006543909802ebe14135fcc02819bc9bc337d6c7b719aac623ecba54
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -3517,7 +3517,7 @@ module Aws::PartnerCentralSelling
|
|
3517
3517
|
tracer: tracer
|
3518
3518
|
)
|
3519
3519
|
context[:gem_name] = 'aws-sdk-partnercentralselling'
|
3520
|
-
context[:gem_version] = '1.
|
3520
|
+
context[:gem_version] = '1.5.0'
|
3521
3521
|
Seahorse::Client::Request.new(handlers, context)
|
3522
3522
|
end
|
3523
3523
|
|
@@ -10,21 +10,18 @@
|
|
10
10
|
module Aws::PartnerCentralSelling
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
region = parameters.region
|
16
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
17
|
-
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)
|
18
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
19
16
|
end
|
20
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
21
18
|
end
|
22
|
-
if Aws::Endpoints::Matchers.set?(region)
|
23
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
24
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: "https://partnercentral-selling-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
19
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
20
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
22
|
+
return Aws::Endpoints::Endpoint.new(url: "https://partnercentral-selling-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
23
|
end
|
27
|
-
return Aws::Endpoints::Endpoint.new(url: "https://partnercentral-selling.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: "https://partnercentral-selling.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
28
25
|
end
|
29
26
|
end
|
30
27
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-partnercentralselling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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-
|
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
|