aws-sdk-clouddirectory 1.61.0 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-clouddirectory/client.rb +1010 -8
- data/lib/aws-sdk-clouddirectory/client_api.rb +1 -0
- data/lib/aws-sdk-clouddirectory/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-clouddirectory/endpoints.rb +66 -264
- data/lib/aws-sdk-clouddirectory/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-clouddirectory/types.rb +1 -0
- data/lib/aws-sdk-clouddirectory.rb +15 -11
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -0
- metadata +4 -4
@@ -32,8 +32,8 @@ module Aws::CloudDirectory
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|