aws-sdk-elasticbeanstalk 1.53.0 → 1.54.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: 21f9effea67a66bae0cddf8aefba70ae7a17af9ffb5a27554ef01aa4d709aa48
4
- data.tar.gz: b3373d0b5211084e11e84e12c00e24aa26738314f4838b9a0eca8f448c3a4aff
3
+ metadata.gz: ecaaf81735446fae26d96241f0c081d6d4768993101082d50d3326911fdb13b4
4
+ data.tar.gz: be07da89ec7b4be45d51727516cfa5a2f10a6b5332ed9b36cad0338c8cb3e065
5
5
  SHA512:
6
- metadata.gz: 350e993767679c572afd3d7b24316224a96f9b36d80387386901df22d35d6e3d300c7f4471053fb1d4e8335c55f8004fbe2b331e3af9aa398a8514a2cd21f510
7
- data.tar.gz: 31a522df8dd40e89ff23729249a2927b6526c8b47182121198a418ab7106b61897e2bd0a19dfa7a2179af01962ba96d591d8ed8142d8f35fcb2d5837dadc7f5d
6
+ metadata.gz: 05d3980baa66e64b25a45fc5036aa63890106230c1e40bb980b5a562077e9961b92f6f2623453f56571c3db327e4ca741eda808288b27538482e456e92ecd197
7
+ data.tar.gz: 757f4a98f1fdb50e6d70fbdb91f81ae41846cb4e0c31954158bc692dabfdd06b258f9ca37fa9c345d8ee858e627fdcfef897853272809ed5f33f33d2cc45dbd8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2023-01-27)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.53.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -4542,7 +4542,7 @@ module Aws::ElasticBeanstalk
4542
4542
  params: params,
4543
4543
  config: config)
4544
4544
  context[:gem_name] = 'aws-sdk-elasticbeanstalk'
4545
- context[:gem_version] = '1.53.0'
4545
+ context[:gem_version] = '1.54.0'
4546
4546
  Seahorse::Client::Request.new(handlers, context)
4547
4547
  end
4548
4548
 
@@ -50,6 +50,9 @@ module Aws::ElasticBeanstalk
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::ElasticBeanstalk
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::ElasticBeanstalk
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://elasticbeanstalk.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://elasticbeanstalk-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -42,6 +45,12 @@ module Aws::ElasticBeanstalk
42
45
  end
43
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
47
  end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticbeanstalk.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticbeanstalk.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
45
54
  return Aws::Endpoints::Endpoint.new(url: "https://elasticbeanstalk.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
55
  end
47
56
  raise ArgumentError, 'No endpoint could be resolved'
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-elasticbeanstalk/customizations'
53
53
  # @!group service
54
54
  module Aws::ElasticBeanstalk
55
55
 
56
- GEM_VERSION = '1.53.0'
56
+ GEM_VERSION = '1.54.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticbeanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core