@aws-sdk/client-eks-auth 3.533.0 → 3.535.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.
@@ -10,9 +10,9 @@ export interface EKSAuth {
10
10
  assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void): void;
11
11
  }
12
12
  /**
13
- * @public
14
13
  * <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only
15
14
  * used by the EKS Pod Identity Agent.</p>
15
+ * @public
16
16
  */
17
17
  export declare class EKSAuth extends EKSAuthClient implements EKSAuth {
18
18
  }
@@ -152,9 +152,9 @@ export type EKSAuthClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
152
152
  export interface EKSAuthClientResolvedConfig extends EKSAuthClientResolvedConfigType {
153
153
  }
154
154
  /**
155
- * @public
156
155
  * <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only
157
156
  * used by the EKS Pod Identity Agent.</p>
157
+ * @public
158
158
  */
159
159
  export declare class EKSAuthClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EKSAuthClientResolvedConfig> {
160
160
  /**
@@ -22,10 +22,10 @@ export interface AssumeRoleForPodIdentityCommandOutput extends AssumeRoleForPodI
22
22
  }
23
23
  declare const AssumeRoleForPodIdentityCommand_base: {
24
24
  new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
25
+ new (__0_0: AssumeRoleForPodIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only used
30
30
  * by the EKS Pod Identity Agent.</p>
31
31
  * <p>We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if
@@ -108,6 +108,7 @@ declare const AssumeRoleForPodIdentityCommand_base: {
108
108
  * @throws {@link EKSAuthServiceException}
109
109
  * <p>Base exception class for all service exceptions from EKSAuth service.</p>
110
110
  *
111
+ * @public
111
112
  */
112
113
  export declare class AssumeRoleForPodIdentityCommand extends AssumeRoleForPodIdentityCommand_base {
113
114
  }
@@ -1,11 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EKSAuthServiceException as __BaseException } from "./EKSAuthServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>You don't have permissions to perform the requested operation. The IAM principal
6
5
  * making the request must have at least one IAM permissions policy attached
7
6
  * that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
8
7
  * management</a> in the <i>IAM User Guide</i>. </p>
8
+ * @public
9
9
  */
10
10
  export declare class AccessDeniedException extends __BaseException {
11
11
  readonly name: "AccessDeniedException";
@@ -16,18 +16,17 @@ export declare class AccessDeniedException extends __BaseException {
16
16
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
17
  }
18
18
  /**
19
- * @public
20
19
  * <p>An object with the permanent IAM role identity and the temporary session
21
20
  * name.</p>
21
+ * @public
22
22
  */
23
23
  export interface AssumedRoleUser {
24
24
  /**
25
- * @public
26
25
  * <p>The ARN of the IAM role that the temporary credentials authenticate to.</p>
26
+ * @public
27
27
  */
28
28
  arn: string | undefined;
29
29
  /**
30
- * @public
31
30
  * <p>The session name of the temporary session requested to STS. The value
32
31
  * is a unique identifier that contains the role ID, a colon (<code>:</code>), and the role
33
32
  * session name of the role that is being assumed. The role ID is generated by IAM when
@@ -36,6 +35,7 @@ export interface AssumedRoleUser {
36
35
  * UUID</i>
37
36
  * </code>
38
37
  * </p>
38
+ * @public
39
39
  */
40
40
  assumeRoleId: string | undefined;
41
41
  }
@@ -44,77 +44,77 @@ export interface AssumedRoleUser {
44
44
  */
45
45
  export interface AssumeRoleForPodIdentityRequest {
46
46
  /**
47
- * @public
48
47
  * <p>The name of the cluster for the request.</p>
48
+ * @public
49
49
  */
50
50
  clusterName: string | undefined;
51
51
  /**
52
- * @public
53
52
  * <p>The token of the Kubernetes service account for the pod.</p>
53
+ * @public
54
54
  */
55
55
  token: string | undefined;
56
56
  }
57
57
  /**
58
- * @public
59
58
  * <p>The <i>Amazon Web Services Signature Version 4</i> type of temporary
60
59
  * credentials.</p>
60
+ * @public
61
61
  */
62
62
  export interface Credentials {
63
63
  /**
64
- * @public
65
64
  * <p>The token that applications inside the pods must pass to any service API to use the
66
65
  * temporary credentials.</p>
66
+ * @public
67
67
  */
68
68
  sessionToken: string | undefined;
69
69
  /**
70
- * @public
71
70
  * <p>The secret access key that applications inside the pods use to sign requests.</p>
71
+ * @public
72
72
  */
73
73
  secretAccessKey: string | undefined;
74
74
  /**
75
- * @public
76
75
  * <p>The access key ID that identifies the temporary security credentials.</p>
76
+ * @public
77
77
  */
78
78
  accessKeyId: string | undefined;
79
79
  /**
80
- * @public
81
80
  * <p>The Unix epoch timestamp in seconds when the current credentials expire.</p>
81
+ * @public
82
82
  */
83
83
  expiration: Date | undefined;
84
84
  }
85
85
  /**
86
- * @public
87
86
  * <p>Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that Amazon EC2 instance profiles provide credentials to Amazon EC2 instances.</p>
87
+ * @public
88
88
  */
89
89
  export interface PodIdentityAssociation {
90
90
  /**
91
- * @public
92
91
  * <p>The Amazon Resource Name (ARN) of the EKS Pod Identity association.</p>
92
+ * @public
93
93
  */
94
94
  associationArn: string | undefined;
95
95
  /**
96
- * @public
97
96
  * <p>The ID of the association.</p>
97
+ * @public
98
98
  */
99
99
  associationId: string | undefined;
100
100
  }
101
101
  /**
102
- * @public
103
102
  * <p>An object containing the name of the Kubernetes service account inside the cluster to
104
103
  * associate the IAM credentials with.</p>
104
+ * @public
105
105
  */
106
106
  export interface Subject {
107
107
  /**
108
- * @public
109
108
  * <p>The name of the Kubernetes namespace inside the cluster to create the association in. The
110
109
  * service account and the pods that use the service account must be in this
111
110
  * namespace.</p>
111
+ * @public
112
112
  */
113
113
  namespace: string | undefined;
114
114
  /**
115
- * @public
116
115
  * <p>The name of the Kubernetes service account inside the cluster to associate the IAM
117
116
  * credentials with.</p>
117
+ * @public
118
118
  */
119
119
  serviceAccount: string | undefined;
120
120
  }
@@ -123,24 +123,23 @@ export interface Subject {
123
123
  */
124
124
  export interface AssumeRoleForPodIdentityResponse {
125
125
  /**
126
- * @public
127
126
  * <p>The name of the Kubernetes service account inside the cluster to associate the IAM
128
127
  * credentials with.</p>
128
+ * @public
129
129
  */
130
130
  subject: Subject | undefined;
131
131
  /**
132
- * @public
133
132
  * <p>The identity that is allowed to use the credentials. This value is always
134
133
  * <code>pods.eks.amazonaws.com</code>.</p>
134
+ * @public
135
135
  */
136
136
  audience: string | undefined;
137
137
  /**
138
- * @public
139
138
  * <p>The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.</p>
139
+ * @public
140
140
  */
141
141
  podIdentityAssociation: PodIdentityAssociation | undefined;
142
142
  /**
143
- * @public
144
143
  * <p>An object with the permanent IAM role identity and the temporary session
145
144
  * name.</p>
146
145
  * <p>The ARN of the IAM role that the temporary credentials authenticate to.</p>
@@ -152,18 +151,19 @@ export interface AssumeRoleForPodIdentityResponse {
152
151
  * UUID</i>
153
152
  * </code>
154
153
  * </p>
154
+ * @public
155
155
  */
156
156
  assumedRoleUser: AssumedRoleUser | undefined;
157
157
  /**
158
- * @public
159
158
  * <p>The <i>Amazon Web Services Signature Version 4</i> type of temporary
160
159
  * credentials.</p>
160
+ * @public
161
161
  */
162
162
  credentials: Credentials | undefined;
163
163
  }
164
164
  /**
165
- * @public
166
165
  * <p>The specified Kubernetes service account token is expired.</p>
166
+ * @public
167
167
  */
168
168
  export declare class ExpiredTokenException extends __BaseException {
169
169
  readonly name: "ExpiredTokenException";
@@ -174,8 +174,8 @@ export declare class ExpiredTokenException extends __BaseException {
174
174
  constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
175
175
  }
176
176
  /**
177
- * @public
178
177
  * <p>These errors are usually caused by a server-side issue.</p>
178
+ * @public
179
179
  */
180
180
  export declare class InternalServerException extends __BaseException {
181
181
  readonly name: "InternalServerException";
@@ -186,9 +186,9 @@ export declare class InternalServerException extends __BaseException {
186
186
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
187
187
  }
188
188
  /**
189
- * @public
190
189
  * <p>The specified parameter is invalid. Review the available parameters for the API
191
190
  * request.</p>
191
+ * @public
192
192
  */
193
193
  export declare class InvalidParameterException extends __BaseException {
194
194
  readonly name: "InvalidParameterException";
@@ -199,9 +199,9 @@ export declare class InvalidParameterException extends __BaseException {
199
199
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
200
200
  }
201
201
  /**
202
- * @public
203
202
  * <p>This exception is thrown if the request contains a semantic error. The precise meaning
204
203
  * will depend on the API, and will be documented in the error message.</p>
204
+ * @public
205
205
  */
206
206
  export declare class InvalidRequestException extends __BaseException {
207
207
  readonly name: "InvalidRequestException";
@@ -212,8 +212,8 @@ export declare class InvalidRequestException extends __BaseException {
212
212
  constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
213
213
  }
214
214
  /**
215
- * @public
216
215
  * <p>The specified Kubernetes service account token is invalid.</p>
216
+ * @public
217
217
  */
218
218
  export declare class InvalidTokenException extends __BaseException {
219
219
  readonly name: "InvalidTokenException";
@@ -224,8 +224,8 @@ export declare class InvalidTokenException extends __BaseException {
224
224
  constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
225
225
  }
226
226
  /**
227
- * @public
228
227
  * <p>The specified resource could not be found.</p>
228
+ * @public
229
229
  */
230
230
  export declare class ResourceNotFoundException extends __BaseException {
231
231
  readonly name: "ResourceNotFoundException";
@@ -236,8 +236,8 @@ export declare class ResourceNotFoundException extends __BaseException {
236
236
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
237
237
  }
238
238
  /**
239
- * @public
240
239
  * <p>The service is unavailable. Back off and retry the operation.</p>
240
+ * @public
241
241
  */
242
242
  export declare class ServiceUnavailableException extends __BaseException {
243
243
  readonly name: "ServiceUnavailableException";
@@ -248,8 +248,8 @@ export declare class ServiceUnavailableException extends __BaseException {
248
248
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
249
249
  }
250
250
  /**
251
- * @public
252
251
  * <p>The request was denied because your request rate is too high. Reduce the frequency of requests.</p>
252
+ * @public
253
253
  */
254
254
  export declare class ThrottlingException extends __BaseException {
255
255
  readonly name: "ThrottlingException";
@@ -21,6 +21,15 @@ declare const AssumeRoleForPodIdentityCommand_base: {
21
21
  AssumeRoleForPodIdentityCommandInput,
22
22
  AssumeRoleForPodIdentityCommandOutput
23
23
  >;
24
+ new (
25
+ __0_0: AssumeRoleForPodIdentityCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ AssumeRoleForPodIdentityCommandInput,
28
+ AssumeRoleForPodIdentityCommandOutput,
29
+ EKSAuthClientResolvedConfig,
30
+ AssumeRoleForPodIdentityCommandInput,
31
+ AssumeRoleForPodIdentityCommandOutput
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class AssumeRoleForPodIdentityCommand extends AssumeRoleForPodIdentityCommand_base {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks-auth",
3
3
  "description": "AWS SDK for JavaScript Eks Auth Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.535.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eks-auth",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",