@aws-sdk/client-eks-auth 3.1137.0 → 3.1139.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.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1138.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -282,10 +282,10 @@ const _su = "subject";
282
282
  const _t = "token";
283
283
  const _z = "zone";
284
284
  const n0 = "com.amazonaws.eksauth";
285
- const _s_registry = TypeRegistry.for(_s);
285
+ const _s_registry = new TypeRegistry(_s);
286
286
  var EKSAuthServiceException$ = [-3, _s, "EKSAuthServiceException", 0, [], []];
287
287
  _s_registry.registerError(EKSAuthServiceException$, EKSAuthServiceException);
288
- const n0_registry = TypeRegistry.for(n0);
288
+ const n0_registry = new TypeRegistry(n0);
289
289
  var AccessDeniedException$ = [-3, n0, _ADE,
290
290
  { [_e]: _c, [_hE]: 400 },
291
291
  [_m],
@@ -46,10 +46,10 @@ const n0 = "com.amazonaws.eksauth";
46
46
  import { TypeRegistry } from "@smithy/core/schema";
47
47
  import { EKSAuthServiceException } from "../models/EKSAuthServiceException";
48
48
  import { AccessDeniedException, ExpiredTokenException, InternalServerException, InvalidParameterException, InvalidRequestException, InvalidTokenException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
49
- const _s_registry = TypeRegistry.for(_s);
49
+ const _s_registry = new TypeRegistry(_s);
50
50
  export var EKSAuthServiceException$ = [-3, _s, "EKSAuthServiceException", 0, [], []];
51
51
  _s_registry.registerError(EKSAuthServiceException$, EKSAuthServiceException);
52
- const n0_registry = TypeRegistry.for(n0);
52
+ const n0_registry = new TypeRegistry(n0);
53
53
  export var AccessDeniedException$ = [-3, n0, _ADE,
54
54
  { [_e]: _c, [_hE]: 400 },
55
55
  [_m],
@@ -1,13 +1,19 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type AssumeRoleForPodIdentityCommandInput, type AssumeRoleForPodIdentityCommandOutput } from "./commands/AssumeRoleForPodIdentityCommand";
3
3
  import { EKSAuthClient } from "./EKSAuthClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface EKSAuthRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface EKSAuth {
5
11
  /**
6
12
  * @see {@link AssumeRoleForPodIdentityCommand}
7
13
  */
8
- assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleForPodIdentityCommandOutput>;
14
+ assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, options?: EKSAuthRequestOptions): Promise<AssumeRoleForPodIdentityCommandOutput>;
9
15
  assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void): void;
10
- assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void): void;
16
+ assumeRoleForPodIdentity(args: AssumeRoleForPodIdentityCommandInput, options: EKSAuthRequestOptions, cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only used by the EKS Pod Identity Agent.</p>
@@ -1,13 +1,19 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  AssumeRoleForPodIdentityCommandInput,
4
7
  AssumeRoleForPodIdentityCommandOutput,
5
8
  } from "./commands/AssumeRoleForPodIdentityCommand";
6
9
  import { EKSAuthClient } from "./EKSAuthClient";
10
+ export interface EKSAuthRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface EKSAuth {
8
14
  assumeRoleForPodIdentity(
9
15
  args: AssumeRoleForPodIdentityCommandInput,
10
- options?: __HttpHandlerOptions,
16
+ options?: EKSAuthRequestOptions,
11
17
  ): Promise<AssumeRoleForPodIdentityCommandOutput>;
12
18
  assumeRoleForPodIdentity(
13
19
  args: AssumeRoleForPodIdentityCommandInput,
@@ -15,7 +21,7 @@ export interface EKSAuth {
15
21
  ): void;
16
22
  assumeRoleForPodIdentity(
17
23
  args: AssumeRoleForPodIdentityCommandInput,
18
- options: __HttpHandlerOptions,
24
+ options: EKSAuthRequestOptions,
19
25
  cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void,
20
26
  ): void;
21
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks-auth",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Eks Auth Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-eks-auth",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {