aws-sdk-eksauth 1.14.0 → 1.15.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: e901863616618b851dacd63db1707504768270318336ff40a5d0386000aa05f8
4
- data.tar.gz: 896e171b00b62ebcbb5b6f29bbfdc156a398387fb5db0ad5630029cfca557e69
3
+ metadata.gz: 81f931f3f6e4bf4d7006b1e86f0d435d815ab73e7879258ca46d88159e53ae79
4
+ data.tar.gz: e718f124228f12574986e68d5ee461b8816a3a00a948d6891f29589f3a7f125e
5
5
  SHA512:
6
- metadata.gz: 41934f59c718b62a184abe99b092e0486f42a87c4559172be3b70b3d01e1915ac08beb74121a7fad35b38aa279a9f2143aa17f4bf2312691e29fc90fcaac5eb8
7
- data.tar.gz: 94043b4b483f3cb50715c0bada78b9a1a84361dcd3a7496f94db5d1e6542e6062cf040b36b7472f521c95dbbbd06f8c20d7a93eeb0507e16263490fe11074f09
6
+ metadata.gz: 6c2dcf0d6a42e24fa7b3e8bc9d4bc2cc152a7aedabf3872c8331d0fee901c9ecb74fa65b6495a258f3748f676e5e6d29ee621f07abb9ec28c3ef8b9fa02c09a9
7
+ data.tar.gz: bdaa20d9a388efca125f1d5cacaba79a4c06796fd870bc610e23767d7a3a09f58bd6619cae4f1e45a6fdbd90e1762b06ac326412df84592b32dfe8d6758647f0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.14.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -517,7 +517,7 @@ module Aws::EKSAuth
517
517
  tracer: tracer
518
518
  )
519
519
  context[:gem_name] = 'aws-sdk-eksauth'
520
- context[:gem_version] = '1.14.0'
520
+ context[:gem_version] = '1.15.0'
521
521
  Seahorse::Client::Request.new(handlers, context)
522
522
  end
523
523
 
@@ -45,10 +45,15 @@ module Aws::EKSAuth
45
45
  self[:region] = options[:region]
46
46
  self[:use_fips] = options[:use_fips]
47
47
  self[:use_fips] = false if self[:use_fips].nil?
48
- if self[:use_fips].nil?
49
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
- end
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ region: config.region,
54
+ use_fips: config.use_fips_endpoint,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,15 +12,9 @@ module Aws::EKSAuth
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class AssumeRoleForPodIdentity
16
- def self.build(context)
17
- Aws::EKSAuth::EndpointParameters.new(
18
- region: context.config.region,
19
- use_fips: context.config.use_fips_endpoint,
20
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
21
- )
22
- end
23
- end
24
15
 
16
+ def self.parameters_for_operation(context)
17
+ Aws::EKSAuth::EndpointParameters.create(context.config)
18
+ end
25
19
  end
26
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::EKSAuth::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,13 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :assume_role_for_pod_identity
74
- Aws::EKSAuth::Endpoints::AssumeRoleForPodIdentity.build(context)
75
- end
76
- end
77
70
  end
78
71
 
79
72
  def add_handlers(handlers, _config)
@@ -55,7 +55,7 @@ module Aws::EKSAuth
55
55
  autoload :EndpointProvider, 'aws-sdk-eksauth/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-eksauth/endpoints'
57
57
 
58
- GEM_VERSION = '1.14.0'
58
+ GEM_VERSION = '1.15.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eksauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement