aws-sdk-eksauth 1.36.0 → 1.37.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eksauth/client.rb +14 -1
- data/lib/aws-sdk-eksauth/client_api.rb +5 -1
- data/lib/aws-sdk-eksauth/types.rb +19 -1
- data/lib/aws-sdk-eksauth.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9a7b3fba46ab0f87c5a654c88fbc2449c659084017ae609248a5637d7dc88a8
|
|
4
|
+
data.tar.gz: 1122bd52c473b2a8dda3601670506b9e7dea1ff8689a010725cf63ff166d5492
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90dcfc40f9a3178eaa92874807ebf12e4b0f87aeb2135b88e806f4dcd1ccac87bb7107d279bb90459c77dd932af169a1cd32b0161d6533b2d82db015446f81ba
|
|
7
|
+
data.tar.gz: 6d73ee1e10c642aed60643ff7ce71a7e63dc073dbd3c7fc9769a00acb179b776991a07a02c35e85f3d9dd5e527cb0ee7cbcdfbd7520728dcf41557a6d42046d5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.37.0
|
|
@@ -488,6 +488,16 @@ module Aws::EKSAuth
|
|
|
488
488
|
# @option params [required, String] :token
|
|
489
489
|
# The token of the Kubernetes service account for the pod.
|
|
490
490
|
#
|
|
491
|
+
# @option params [String] :eks_node_name
|
|
492
|
+
# The Kubernetes node name of the worker node where the pod is running.
|
|
493
|
+
#
|
|
494
|
+
# @option params [String] :instance_id
|
|
495
|
+
# The Amazon EC2 instance ID of the worker node where the pod is
|
|
496
|
+
# running.
|
|
497
|
+
#
|
|
498
|
+
# @option params [String] :zone
|
|
499
|
+
# The Availability Zone ID of the worker node where the pod is running.
|
|
500
|
+
#
|
|
491
501
|
# @return [Types::AssumeRoleForPodIdentityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
492
502
|
#
|
|
493
503
|
# * {Types::AssumeRoleForPodIdentityResponse#subject #subject} => Types::Subject
|
|
@@ -501,6 +511,9 @@ module Aws::EKSAuth
|
|
|
501
511
|
# resp = client.assume_role_for_pod_identity({
|
|
502
512
|
# cluster_name: "ClusterName", # required
|
|
503
513
|
# token: "JwtToken", # required
|
|
514
|
+
# eks_node_name: "String",
|
|
515
|
+
# instance_id: "String",
|
|
516
|
+
# zone: "String",
|
|
504
517
|
# })
|
|
505
518
|
#
|
|
506
519
|
# @example Response structure
|
|
@@ -544,7 +557,7 @@ module Aws::EKSAuth
|
|
|
544
557
|
tracer: tracer
|
|
545
558
|
)
|
|
546
559
|
context[:gem_name] = 'aws-sdk-eksauth'
|
|
547
|
-
context[:gem_version] = '1.
|
|
560
|
+
context[:gem_version] = '1.37.0'
|
|
548
561
|
Seahorse::Client::Request.new(handlers, context)
|
|
549
562
|
end
|
|
550
563
|
|
|
@@ -39,6 +39,9 @@ module Aws::EKSAuth
|
|
|
39
39
|
|
|
40
40
|
AssumeRoleForPodIdentityRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "clusterName"))
|
|
41
41
|
AssumeRoleForPodIdentityRequest.add_member(:token, Shapes::ShapeRef.new(shape: JwtToken, required: true, location_name: "token"))
|
|
42
|
+
AssumeRoleForPodIdentityRequest.add_member(:eks_node_name, Shapes::ShapeRef.new(shape: String, location_name: "eksNodeName"))
|
|
43
|
+
AssumeRoleForPodIdentityRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
|
44
|
+
AssumeRoleForPodIdentityRequest.add_member(:zone, Shapes::ShapeRef.new(shape: String, location_name: "zone"))
|
|
42
45
|
AssumeRoleForPodIdentityRequest.struct_class = Types::AssumeRoleForPodIdentityRequest
|
|
43
46
|
|
|
44
47
|
AssumeRoleForPodIdentityResponse.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "subject"))
|
|
@@ -98,9 +101,10 @@ module Aws::EKSAuth
|
|
|
98
101
|
|
|
99
102
|
api.metadata = {
|
|
100
103
|
"apiVersion" => "2023-11-26",
|
|
104
|
+
"auth" => ["aws.auth#sigv4"],
|
|
101
105
|
"endpointPrefix" => "eks-auth",
|
|
102
|
-
"jsonVersion" => "1.1",
|
|
103
106
|
"protocol" => "rest-json",
|
|
107
|
+
"protocols" => ["rest-json"],
|
|
104
108
|
"serviceFullName" => "Amazon EKS Auth",
|
|
105
109
|
"serviceId" => "EKS Auth",
|
|
106
110
|
"signatureVersion" => "v4",
|
|
@@ -38,11 +38,29 @@ module Aws::EKSAuth
|
|
|
38
38
|
# The token of the Kubernetes service account for the pod.
|
|
39
39
|
# @return [String]
|
|
40
40
|
#
|
|
41
|
+
# @!attribute [rw] eks_node_name
|
|
42
|
+
# The Kubernetes node name of the worker node where the pod is
|
|
43
|
+
# running.
|
|
44
|
+
# @return [String]
|
|
45
|
+
#
|
|
46
|
+
# @!attribute [rw] instance_id
|
|
47
|
+
# The Amazon EC2 instance ID of the worker node where the pod is
|
|
48
|
+
# running.
|
|
49
|
+
# @return [String]
|
|
50
|
+
#
|
|
51
|
+
# @!attribute [rw] zone
|
|
52
|
+
# The Availability Zone ID of the worker node where the pod is
|
|
53
|
+
# running.
|
|
54
|
+
# @return [String]
|
|
55
|
+
#
|
|
41
56
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-auth-2023-11-26/AssumeRoleForPodIdentityRequest AWS API Documentation
|
|
42
57
|
#
|
|
43
58
|
class AssumeRoleForPodIdentityRequest < Struct.new(
|
|
44
59
|
:cluster_name,
|
|
45
|
-
:token
|
|
60
|
+
:token,
|
|
61
|
+
:eks_node_name,
|
|
62
|
+
:instance_id,
|
|
63
|
+
:zone)
|
|
46
64
|
SENSITIVE = [:token]
|
|
47
65
|
include Aws::Structure
|
|
48
66
|
end
|
data/lib/aws-sdk-eksauth.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -89,7 +89,10 @@ module Aws
|
|
|
89
89
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKSAuth/Client.html#assume_role_for_pod_identity-instance_method
|
|
90
90
|
def assume_role_for_pod_identity: (
|
|
91
91
|
cluster_name: ::String,
|
|
92
|
-
token: ::String
|
|
92
|
+
token: ::String,
|
|
93
|
+
?eks_node_name: ::String,
|
|
94
|
+
?instance_id: ::String,
|
|
95
|
+
?zone: ::String
|
|
93
96
|
) -> _AssumeRoleForPodIdentityResponseSuccess
|
|
94
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssumeRoleForPodIdentityResponseSuccess
|
|
95
98
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -16,6 +16,9 @@ module Aws::EKSAuth
|
|
|
16
16
|
class AssumeRoleForPodIdentityRequest
|
|
17
17
|
attr_accessor cluster_name: ::String
|
|
18
18
|
attr_accessor token: ::String
|
|
19
|
+
attr_accessor eks_node_name: ::String
|
|
20
|
+
attr_accessor instance_id: ::String
|
|
21
|
+
attr_accessor zone: ::String
|
|
19
22
|
SENSITIVE: [:token]
|
|
20
23
|
end
|
|
21
24
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-eksauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.37.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -35,14 +35,14 @@ dependencies:
|
|
|
35
35
|
requirements:
|
|
36
36
|
- - "~>"
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '1.
|
|
38
|
+
version: '1.5'
|
|
39
39
|
type: :runtime
|
|
40
40
|
prerelease: false
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
43
|
- - "~>"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '1.
|
|
45
|
+
version: '1.5'
|
|
46
46
|
description: Official AWS Ruby gem for Amazon EKS Auth. This gem is part of the AWS
|
|
47
47
|
SDK for Ruby.
|
|
48
48
|
email:
|