aws-sdk-clouddirectory 1.43.0 → 1.44.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 909293657eb83e41b15f00ce064b2112dcc7882132b5e1c4e5cc2dce9f9aaadf
|
4
|
+
data.tar.gz: 2352f47cad4505e235af4533c45addea1c43fd0ec0da847a7d03c9e05b827f4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ceafa707427ed29217da593c3f120ce4c5f3f9c5968efcb0195f087a3fe404af8e65715f08830c682d0d446395f9651bf3aca23092117b15a60d00bcfb36a3
|
7
|
+
data.tar.gz: 48a57ecfe900436acaa78bb43e80ddd90c3425c051735c4c3b366761dff63960147582074af69d2a43a9dbd1ae4ffd7b5fb8cdb6a51fc2ce47e77e93cebde639
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -4328,7 +4328,7 @@ module Aws::CloudDirectory
|
|
4328
4328
|
params: params,
|
4329
4329
|
config: config)
|
4330
4330
|
context[:gem_name] = 'aws-sdk-clouddirectory'
|
4331
|
-
context[:gem_version] = '1.
|
4331
|
+
context[:gem_version] = '1.44.0'
|
4332
4332
|
Seahorse::Client::Request.new(handlers, context)
|
4333
4333
|
end
|
4334
4334
|
|
@@ -50,6 +50,9 @@ module Aws::CloudDirectory
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -15,7 +15,7 @@ module Aws::CloudDirectory
|
|
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)
|
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::CloudDirectory
|
|
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://clouddirectory.#{region}.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
35
38
|
return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
39
|
end
|
37
40
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-clouddirectory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.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-
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|