@aws-sdk/client-eks-auth 3.1077.0 → 3.1079.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1078.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -521,16 +522,11 @@ class EKSAuthClient extends Client {
521
522
  }
522
523
  }
523
524
 
524
- class AssumeRoleForPodIdentityCommand extends Command
525
- .classBuilder()
526
- .ep(commonParams)
527
- .m(function (Command, cs, config, o) {
528
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
- })
530
- .s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
531
- .n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
532
- .sc(AssumeRoleForPodIdentity$)
533
- .build() {
525
+ const command = makeBuilder(commonParams, "EKSAuthFrontend", "EKSAuthClient", getEndpointPlugin);
526
+ const _ep0 = {};
527
+ const _mw0 = (Command, cs, config, o) => [];
528
+
529
+ class AssumeRoleForPodIdentityCommand extends command(_ep0, _mw0, "AssumeRoleForPodIdentity", AssumeRoleForPodIdentity$) {
534
530
  }
535
531
 
536
532
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "EKSAuthFrontend", "EKSAuthClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssumeRoleForPodIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssumeRoleForPodIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
13
- .n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
14
- .sc(AssumeRoleForPodIdentity$)
15
- .build() {
3
+ export class AssumeRoleForPodIdentityCommand extends command(_ep0, _mw0, "AssumeRoleForPodIdentity", AssumeRoleForPodIdentity$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./EKSAuthClient";
2
2
  export * from "./EKSAuth";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/errors";
6
7
  export * from "./models/models_0";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { EKSAuthClientResolvedConfig } from "./EKSAuthClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends import("./commands").AssumeRoleForPodIdentityCommandInput, O extends import("./commands").AssumeRoleForPodIdentityCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, EKSAuthClientResolvedConfig, import("./commands").AssumeRoleForPodIdentityCommandInput, import("./commands").AssumeRoleForPodIdentityCommandOutput>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, EKSAuthClientResolvedConfig, import("./commands").AssumeRoleForPodIdentityCommandInput, import("./commands").AssumeRoleForPodIdentityCommandOutput>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EKSAuthClientResolvedConfig } from "../EKSAuthClient";
4
2
  import type { AssumeRoleForPodIdentityRequest, AssumeRoleForPodIdentityResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssumeRoleForPodIdentityCommandInput extends AssumeRoleForPodId
22
19
  export interface AssumeRoleForPodIdentityCommandOutput extends AssumeRoleForPodIdentityResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssumeRoleForPodIdentityCommand_base: {
25
- new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
26
- new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, import("..").EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
23
+ new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, import("..").EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only used
@@ -10,6 +10,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
10
10
  export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { EKSAuthExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
+ export { Command as $Command } from "@smithy/core/client";
13
14
  export * from "./schemas/schemas_0";
14
15
  export * from "./models/errors";
15
16
  export * from "./models/models_0";
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import { EKSAuthClientResolvedConfig } from "./EKSAuthClient";
3
+ export declare const command: <
4
+ I extends import("./commands").AssumeRoleForPodIdentityCommandInput,
5
+ O extends import("./commands").AssumeRoleForPodIdentityCommandOutput
6
+ >(
7
+ added: EndpointParameterInstructions,
8
+ plugins: (
9
+ CommandCtor: any,
10
+ clientStack: any,
11
+ config: any,
12
+ options: any
13
+ ) => import("@smithy/types").Pluggable<any, any>[],
14
+ op: string,
15
+ $: import("@smithy/types").StaticOperationSchema,
16
+ smithyContext?: Record<string, unknown>
17
+ ) => {
18
+ new (input: I): import("@smithy/core/client").CommandImpl<
19
+ I,
20
+ O,
21
+ EKSAuthClientResolvedConfig,
22
+ import("./commands").AssumeRoleForPodIdentityCommandInput,
23
+ import("./commands").AssumeRoleForPodIdentityCommandOutput
24
+ >;
25
+ new (
26
+ ...[input]: import("@smithy/types").OptionalParameter<I>
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ I,
29
+ O,
30
+ EKSAuthClientResolvedConfig,
31
+ import("./commands").AssumeRoleForPodIdentityCommandInput,
32
+ import("./commands").AssumeRoleForPodIdentityCommandOutput
33
+ >;
34
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ };
36
+ export declare const _ep0: EndpointParameterInstructions;
37
+ export declare const _mw0: (
38
+ Command: any,
39
+ cs: any,
40
+ config: any,
41
+ o: any
42
+ ) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EKSAuthClientResolvedConfig } from "../EKSAuthClient";
4
2
  import {
5
3
  AssumeRoleForPodIdentityRequest,
6
4
  AssumeRoleForPodIdentityResponse,
7
5
  } from "../models/models_0";
8
6
  export { __MetadataBearer };
9
- export { $Command };
10
7
  export interface AssumeRoleForPodIdentityCommandInput
11
8
  extends AssumeRoleForPodIdentityRequest {}
12
9
  export interface AssumeRoleForPodIdentityCommandOutput
@@ -18,7 +15,7 @@ declare const AssumeRoleForPodIdentityCommand_base: {
18
15
  ): import("@smithy/core/client").CommandImpl<
19
16
  AssumeRoleForPodIdentityCommandInput,
20
17
  AssumeRoleForPodIdentityCommandOutput,
21
- EKSAuthClientResolvedConfig,
18
+ import("..").EKSAuthClientResolvedConfig,
22
19
  AssumeRoleForPodIdentityCommandInput,
23
20
  AssumeRoleForPodIdentityCommandOutput
24
21
  >;
@@ -27,13 +24,11 @@ declare const AssumeRoleForPodIdentityCommand_base: {
27
24
  ): import("@smithy/core/client").CommandImpl<
28
25
  AssumeRoleForPodIdentityCommandInput,
29
26
  AssumeRoleForPodIdentityCommandOutput,
30
- EKSAuthClientResolvedConfig,
27
+ import("..").EKSAuthClientResolvedConfig,
31
28
  AssumeRoleForPodIdentityCommandInput,
32
29
  AssumeRoleForPodIdentityCommandOutput
33
30
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
32
  };
38
33
  export declare class AssumeRoleForPodIdentityCommand extends AssumeRoleForPodIdentityCommand_base {
39
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { EKSAuthExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
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.1077.0",
4
+ "version": "3.1079.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.27",
23
+ "@aws-sdk/credential-provider-node": "^3.972.62",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {