aws-sdk-gluedatabrew 1.24.0 → 1.25.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: d98d159cd0a79d9a5adb2932f572b61303dd55d003fa24bea94c1903982ba659
4
- data.tar.gz: 24e9d60a19f35c00926e881e28449ee76a2df9f64c9fdac78e1c46f7dfdc14e0
3
+ metadata.gz: ba78351e5abd3801489a526032816e270c7c7d0004fa81c371c416e6df1235e3
4
+ data.tar.gz: 9d03cc4067333fb53cf492c2f5edb74af5f5bf949f11c75819079d11e175363c
5
5
  SHA512:
6
- metadata.gz: c319ba2db0cbcb61f9cc12fe245321b2a4b33da75cb49265a22eecb76348fa9d6b7c4b61700761025007285065230dea3e37667eb13fbbfbbc26fa85b56a574b
7
- data.tar.gz: b2eb169c8a7a5112a540ba81abcb46c161e89b767c8cf8d01acf648ec1a5be695e0f6aadcbfebcdd79d53b0237f21c8c1bc8e4000b404916ddcb899381663005
6
+ metadata.gz: f14ba6f5845ce0d6b7a0221628cc4f7f699a23c4f47a52abb840c60558727d0291c85e324087fdd3159d583f6457d87aa34e26ffdbdb19c9ba490e2170d9a3d8
7
+ data.tar.gz: f59ce88a88929017eb7e947caa9789d937b6073c9aceef7e6bfa12f6ae1a6fec5a03f570fd4ccb8566e20deb675e6c1fcedb0db0a8dff63e73d08e34ea7e9456
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2023-01-24)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS us-gov-west-1 endpoints in SDK.
8
+
4
9
  1.24.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
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.24.0'
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) && (url = Aws::Endpoints::Matchers.parse_url(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"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-gluedatabrew/customizations'
52
52
  # @!group service
53
53
  module Aws::GlueDataBrew
54
54
 
55
- GEM_VERSION = '1.24.0'
55
+ GEM_VERSION = '1.25.0'
56
56
 
57
57
  end
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.24.0
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-18 00:00:00.000000000 Z
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