@aws-sdk/client-eks-auth 3.1087.0 → 3.1088.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.1086.0";
70
+ var version = "3.1087.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -7,16 +7,16 @@ import { EKSAuthClient } from "./EKSAuthClient";
7
7
  export interface EKSAuth {
8
8
  assumeRoleForPodIdentity(
9
9
  args: AssumeRoleForPodIdentityCommandInput,
10
- options?: __HttpHandlerOptions
10
+ options?: __HttpHandlerOptions,
11
11
  ): Promise<AssumeRoleForPodIdentityCommandOutput>;
12
12
  assumeRoleForPodIdentity(
13
13
  args: AssumeRoleForPodIdentityCommandInput,
14
- cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void
14
+ cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void,
15
15
  ): void;
16
16
  assumeRoleForPodIdentity(
17
17
  args: AssumeRoleForPodIdentityCommandInput,
18
18
  options: __HttpHandlerOptions,
19
- cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void
19
+ cb: (err: any, data?: AssumeRoleForPodIdentityCommandOutput) => void,
20
20
  ): void;
21
21
  }
22
22
  export declare class EKSAuth extends EKSAuthClient implements EKSAuth {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -49,8 +46,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
49
46
  export { __Client };
50
47
  export type ServiceInputTypes = AssumeRoleForPodIdentityCommandInput;
51
48
  export type ServiceOutputTypes = AssumeRoleForPodIdentityCommandOutput;
52
- export interface ClientDefaults
53
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
49
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
54
50
  requestHandler?: __HttpHandlerUserInput;
55
51
  sha256?: __ChecksumConstructor | __HashConstructor;
56
52
  urlParser?: __UrlParser;
@@ -75,9 +71,7 @@ export interface ClientDefaults
75
71
  extensions?: RuntimeExtension[];
76
72
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
77
73
  }
78
- export type EKSAuthClientConfigType = Partial<
79
- __SmithyConfiguration<__HttpHandlerOptions>
80
- > &
74
+ export type EKSAuthClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
81
75
  ClientDefaults &
82
76
  UserAgentInputConfig &
83
77
  RetryInputConfig &
@@ -87,19 +81,17 @@ export type EKSAuthClientConfigType = Partial<
87
81
  HttpAuthSchemeInputConfig &
88
82
  ClientInputEndpointParameters;
89
83
  export interface EKSAuthClientConfig extends EKSAuthClientConfigType {}
90
- export type EKSAuthClientResolvedConfigType =
91
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
92
- Required<ClientDefaults> &
93
- RuntimeExtensionsConfig &
94
- UserAgentResolvedConfig &
95
- RetryResolvedConfig &
96
- RegionResolvedConfig &
97
- HostHeaderResolvedConfig &
98
- EndpointResolvedConfig<EndpointParameters> &
99
- HttpAuthSchemeResolvedConfig &
100
- ClientResolvedEndpointParameters;
101
- export interface EKSAuthClientResolvedConfig
102
- extends EKSAuthClientResolvedConfigType {}
84
+ export type EKSAuthClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
85
+ Required<ClientDefaults> &
86
+ RuntimeExtensionsConfig &
87
+ UserAgentResolvedConfig &
88
+ RetryResolvedConfig &
89
+ RegionResolvedConfig &
90
+ HostHeaderResolvedConfig &
91
+ EndpointResolvedConfig<EndpointParameters> &
92
+ HttpAuthSchemeResolvedConfig &
93
+ ClientResolvedEndpointParameters;
94
+ export interface EKSAuthClientResolvedConfig extends EKSAuthClientResolvedConfigType {}
103
95
  export declare class EKSAuthClient extends __Client<
104
96
  __HttpHandlerOptions,
105
97
  ServiceInputTypes,
@@ -107,8 +99,6 @@ export declare class EKSAuthClient extends __Client<
107
99
  EKSAuthClientResolvedConfig
108
100
  > {
109
101
  readonly config: EKSAuthClientResolvedConfig;
110
- constructor(
111
- ...[configuration]: __CheckOptionalClientConfig<EKSAuthClientConfig>
112
- );
102
+ constructor(...[configuration]: __CheckOptionalClientConfig<EKSAuthClientConfig>);
113
103
  destroy(): void;
114
104
  }
@@ -7,17 +7,10 @@ import { EKSAuthHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: EKSAuthHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: EKSAuthHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): EKSAuthHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { EKSAuthClientResolvedConfig } from "../EKSAuthClient";
15
- export interface EKSAuthHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface EKSAuthHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface EKSAuthHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- EKSAuthClientResolvedConfig,
22
- HandlerExecutionContext,
23
- EKSAuthHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface EKSAuthHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ EKSAuthClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ EKSAuthHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultEKSAuthHttpAuthSchemeParametersProvider: (
27
25
  config: EKSAuthClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<EKSAuthHttpAuthSchemeParameters>;
31
- export interface EKSAuthHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<EKSAuthHttpAuthSchemeParameters> {}
29
+ export interface EKSAuthHttpAuthSchemeProvider extends HttpAuthSchemeProvider<EKSAuthHttpAuthSchemeParameters> {}
33
30
  export declare const defaultEKSAuthHttpAuthSchemeProvider: EKSAuthHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: EKSAuthHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: EKSAuthHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
2
2
  import { EKSAuthClientResolvedConfig } from "./EKSAuthClient";
3
3
  export declare const command: <
4
4
  I extends import("./commands").AssumeRoleForPodIdentityCommandInput,
5
- O extends import("./commands").AssumeRoleForPodIdentityCommandOutput
5
+ O extends import("./commands").AssumeRoleForPodIdentityCommandOutput,
6
6
  >(
7
7
  added: EndpointParameterInstructions,
8
8
  plugins: (
9
9
  CommandCtor: any,
10
10
  clientStack: any,
11
11
  config: any,
12
- options: any
12
+ options: any,
13
13
  ) => import("@smithy/types").Pluggable<any, any>[],
14
14
  op: string,
15
15
  $: import("@smithy/types").StaticOperationSchema,
16
- smithyContext?: Record<string, unknown>
16
+ smithyContext?: Record<string, unknown>,
17
17
  ) => {
18
- new (input: I): import("@smithy/core/client").CommandImpl<
18
+ new (
19
+ input: I,
20
+ ): import("@smithy/core/client").CommandImpl<
19
21
  I,
20
22
  O,
21
23
  EKSAuthClientResolvedConfig,
@@ -34,9 +36,4 @@ export declare const command: <
34
36
  getEndpointParameterInstructions(): EndpointParameterInstructions;
35
37
  };
36
38
  export declare const _ep0: EndpointParameterInstructions;
37
- export declare const _mw0: (
38
- Command: any,
39
- cs: any,
40
- config: any,
41
- o: any
42
- ) => never[];
39
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -4,14 +4,12 @@ import {
4
4
  AssumeRoleForPodIdentityResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface AssumeRoleForPodIdentityCommandInput
8
- extends AssumeRoleForPodIdentityRequest {}
7
+ export interface AssumeRoleForPodIdentityCommandInput extends AssumeRoleForPodIdentityRequest {}
9
8
  export interface AssumeRoleForPodIdentityCommandOutput
10
- extends AssumeRoleForPodIdentityResponse,
11
- __MetadataBearer {}
9
+ extends AssumeRoleForPodIdentityResponse, __MetadataBearer {}
12
10
  declare const AssumeRoleForPodIdentityCommand_base: {
13
11
  new (
14
- input: AssumeRoleForPodIdentityCommandInput
12
+ input: AssumeRoleForPodIdentityCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  AssumeRoleForPodIdentityCommandInput,
17
15
  AssumeRoleForPodIdentityCommandOutput,
@@ -20,7 +18,7 @@ declare const AssumeRoleForPodIdentityCommand_base: {
20
18
  AssumeRoleForPodIdentityCommandOutput
21
19
  >;
22
20
  new (
23
- input: AssumeRoleForPodIdentityCommandInput
21
+ input: AssumeRoleForPodIdentityCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  AssumeRoleForPodIdentityCommandInput,
26
24
  AssumeRoleForPodIdentityCommandOutput,
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
22
22
  defaultSigningName: string;
23
23
  };
24
24
  export declare const resolveClientEndpointParameters: <T>(
25
- options: T & ClientInputEndpointParameters
25
+ options: T & ClientInputEndpointParameters,
26
26
  ) => T & ClientResolvedEndpointParameters;
27
27
  export declare const commonParams: {
28
28
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface EKSAuthExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -3,63 +3,45 @@ import { EKSAuthServiceException as __BaseException } from "./EKSAuthServiceExce
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
7
  }
10
8
  export declare class ExpiredTokenException extends __BaseException {
11
9
  readonly name: "ExpiredTokenException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
16
12
  }
17
13
  export declare class InternalServerException extends __BaseException {
18
14
  readonly name: "InternalServerException";
19
15
  readonly $fault: "server";
20
- constructor(
21
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
17
  }
24
18
  export declare class InvalidParameterException extends __BaseException {
25
19
  readonly name: "InvalidParameterException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
30
22
  }
31
23
  export declare class InvalidRequestException extends __BaseException {
32
24
  readonly name: "InvalidRequestException";
33
25
  readonly $fault: "client";
34
- constructor(
35
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
36
- );
26
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
37
27
  }
38
28
  export declare class InvalidTokenException extends __BaseException {
39
29
  readonly name: "InvalidTokenException";
40
30
  readonly $fault: "client";
41
- constructor(
42
- opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
43
- );
31
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
44
32
  }
45
33
  export declare class ResourceNotFoundException extends __BaseException {
46
34
  readonly name: "ResourceNotFoundException";
47
35
  readonly $fault: "client";
48
- constructor(
49
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
50
- );
36
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
51
37
  }
52
38
  export declare class ServiceUnavailableException extends __BaseException {
53
39
  readonly name: "ServiceUnavailableException";
54
40
  readonly $fault: "server";
55
- constructor(
56
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
57
- );
41
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
58
42
  }
59
43
  export declare class ThrottlingException extends __BaseException {
60
44
  readonly name: "ThrottlingException";
61
45
  readonly $fault: "client";
62
- constructor(
63
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
64
- );
46
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
65
47
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSAuthHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var EKSAuthServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var ExpiredTokenException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks-auth",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Eks Auth Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-eks-auth",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-eks-auth"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,17 +45,13 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-eks-auth",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-eks-auth"
68
68
  }
69
69
  }