aws-sdk-gluedatabrew 1.24.0 → 1.25.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: ba78351e5abd3801489a526032816e270c7c7d0004fa81c371c416e6df1235e3
|
4
|
+
data.tar.gz: 9d03cc4067333fb53cf492c2f5edb74af5f5bf949f11c75819079d11e175363c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14ba6f5845ce0d6b7a0221628cc4f7f699a23c4f47a52abb840c60558727d0291c85e324087fdd3159d583f6457d87aa34e26ffdbdb19c9ba490e2170d9a3d8
|
7
|
+
data.tar.gz: f59ce88a88929017eb7e947caa9789d937b6073c9aceef7e6bfa12f6ae1a6fec5a03f570fd4ccb8566e20deb675e6c1fcedb0db0a8dff63e73d08e34ea7e9456
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -3334,7 +3334,7 @@ module Aws::GlueDataBrew
|
|
3334
3334
|
params: params,
|
3335
3335
|
config: config)
|
3336
3336
|
context[:gem_name] = 'aws-sdk-gluedatabrew'
|
3337
|
-
context[:gem_version] = '1.
|
3337
|
+
context[:gem_version] = '1.25.0'
|
3338
3338
|
Seahorse::Client::Request.new(handlers, context)
|
3339
3339
|
end
|
3340
3340
|
|
@@ -50,6 +50,9 @@ module Aws::GlueDataBrew
|
|
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::GlueDataBrew
|
|
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::GlueDataBrew
|
|
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?(region, "us-gov-west-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://databrew.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
35
38
|
return Aws::Endpoints::Endpoint.new(url: "https://databrew-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
39
|
end
|
37
40
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
data/lib/aws-sdk-gluedatabrew.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-gluedatabrew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|