@aws-sdk/client-ec2-instance-connect 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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -11,29 +11,29 @@ import { EC2InstanceConnectClient } from "./EC2InstanceConnectClient";
11
11
  export interface EC2InstanceConnect {
12
12
  sendSerialConsoleSSHPublicKey(
13
13
  args: SendSerialConsoleSSHPublicKeyCommandInput,
14
- options?: __HttpHandlerOptions
14
+ options?: __HttpHandlerOptions,
15
15
  ): Promise<SendSerialConsoleSSHPublicKeyCommandOutput>;
16
16
  sendSerialConsoleSSHPublicKey(
17
17
  args: SendSerialConsoleSSHPublicKeyCommandInput,
18
- cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void
18
+ cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void,
19
19
  ): void;
20
20
  sendSerialConsoleSSHPublicKey(
21
21
  args: SendSerialConsoleSSHPublicKeyCommandInput,
22
22
  options: __HttpHandlerOptions,
23
- cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void
23
+ cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void,
24
24
  ): void;
25
25
  sendSSHPublicKey(
26
26
  args: SendSSHPublicKeyCommandInput,
27
- options?: __HttpHandlerOptions
27
+ options?: __HttpHandlerOptions,
28
28
  ): Promise<SendSSHPublicKeyCommandOutput>;
29
29
  sendSSHPublicKey(
30
30
  args: SendSSHPublicKeyCommandInput,
31
- cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void
31
+ cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void,
32
32
  ): void;
33
33
  sendSSHPublicKey(
34
34
  args: SendSSHPublicKeyCommandInput,
35
35
  options: __HttpHandlerOptions,
36
- cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void
36
+ cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void,
37
37
  ): void;
38
38
  }
39
39
  export declare class EC2InstanceConnect
@@ -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 {
@@ -57,8 +54,7 @@ export type ServiceInputTypes =
57
54
  export type ServiceOutputTypes =
58
55
  | SendSSHPublicKeyCommandOutput
59
56
  | SendSerialConsoleSSHPublicKeyCommandOutput;
60
- export interface ClientDefaults
61
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
57
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
62
58
  requestHandler?: __HttpHandlerUserInput;
63
59
  sha256?: __ChecksumConstructor | __HashConstructor;
64
60
  urlParser?: __UrlParser;
@@ -94,8 +90,7 @@ export type EC2InstanceConnectClientConfigType = Partial<
94
90
  EndpointInputConfig<EndpointParameters> &
95
91
  HttpAuthSchemeInputConfig &
96
92
  ClientInputEndpointParameters;
97
- export interface EC2InstanceConnectClientConfig
98
- extends EC2InstanceConnectClientConfigType {}
93
+ export interface EC2InstanceConnectClientConfig extends EC2InstanceConnectClientConfigType {}
99
94
  export type EC2InstanceConnectClientResolvedConfigType =
100
95
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
101
96
  Required<ClientDefaults> &
@@ -107,8 +102,7 @@ export type EC2InstanceConnectClientResolvedConfigType =
107
102
  EndpointResolvedConfig<EndpointParameters> &
108
103
  HttpAuthSchemeResolvedConfig &
109
104
  ClientResolvedEndpointParameters;
110
- export interface EC2InstanceConnectClientResolvedConfig
111
- extends EC2InstanceConnectClientResolvedConfigType {}
105
+ export interface EC2InstanceConnectClientResolvedConfig extends EC2InstanceConnectClientResolvedConfigType {}
112
106
  export declare class EC2InstanceConnectClient extends __Client<
113
107
  __HttpHandlerOptions,
114
108
  ServiceInputTypes,
@@ -116,10 +110,6 @@ export declare class EC2InstanceConnectClient extends __Client<
116
110
  EC2InstanceConnectClientResolvedConfig
117
111
  > {
118
112
  readonly config: EC2InstanceConnectClientResolvedConfig;
119
- constructor(
120
- ...[
121
- configuration,
122
- ]: __CheckOptionalClientConfig<EC2InstanceConnectClientConfig>
123
- );
113
+ constructor(...[configuration]: __CheckOptionalClientConfig<EC2InstanceConnectClientConfig>);
124
114
  destroy(): void;
125
115
  }
@@ -7,17 +7,10 @@ import { EC2InstanceConnectHttpAuthSchemeProvider } from "./httpAuthSchemeProvid
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: EC2InstanceConnectHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: EC2InstanceConnectHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): EC2InstanceConnectHttpAuthSchemeProvider;
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 { EC2InstanceConnectClientResolvedConfig } from "../EC2InstanceConnectClient";
15
- export interface EC2InstanceConnectHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface EC2InstanceConnectHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface EC2InstanceConnectHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- EC2InstanceConnectClientResolvedConfig,
22
- HandlerExecutionContext,
23
- EC2InstanceConnectHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface EC2InstanceConnectHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ EC2InstanceConnectClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ EC2InstanceConnectHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultEC2InstanceConnectHttpAuthSchemeParametersProvider: (
27
25
  config: EC2InstanceConnectClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<EC2InstanceConnectHttpAuthSchemeParameters>;
31
- export interface EC2InstanceConnectHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<EC2InstanceConnectHttpAuthSchemeParameters> {}
29
+ export interface EC2InstanceConnectHttpAuthSchemeProvider extends HttpAuthSchemeProvider<EC2InstanceConnectHttpAuthSchemeParameters> {}
33
30
  export declare const defaultEC2InstanceConnectHttpAuthSchemeProvider: EC2InstanceConnectHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: EC2InstanceConnectHttpAuthSchemeProvider;
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: EC2InstanceConnectHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./EC2InstanceConnectClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  EC2InstanceConnectClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SendSSHPublicKeyRequest,
4
- SendSSHPublicKeyResponse,
5
- } from "../models/models_0";
2
+ import { SendSSHPublicKeyRequest, SendSSHPublicKeyResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface SendSSHPublicKeyCommandInput extends SendSSHPublicKeyRequest {}
8
- export interface SendSSHPublicKeyCommandOutput
9
- extends SendSSHPublicKeyResponse,
10
- __MetadataBearer {}
5
+ export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse, __MetadataBearer {}
11
6
  declare const SendSSHPublicKeyCommand_base: {
12
7
  new (
13
- input: SendSSHPublicKeyCommandInput
8
+ input: SendSSHPublicKeyCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  SendSSHPublicKeyCommandInput,
16
11
  SendSSHPublicKeyCommandOutput,
@@ -19,7 +14,7 @@ declare const SendSSHPublicKeyCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: SendSSHPublicKeyCommandInput
17
+ input: SendSSHPublicKeyCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  SendSSHPublicKeyCommandInput,
25
20
  SendSSHPublicKeyCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  SendSerialConsoleSSHPublicKeyResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface SendSerialConsoleSSHPublicKeyCommandInput
8
- extends SendSerialConsoleSSHPublicKeyRequest {}
7
+ export interface SendSerialConsoleSSHPublicKeyCommandInput extends SendSerialConsoleSSHPublicKeyRequest {}
9
8
  export interface SendSerialConsoleSSHPublicKeyCommandOutput
10
- extends SendSerialConsoleSSHPublicKeyResponse,
11
- __MetadataBearer {}
9
+ extends SendSerialConsoleSSHPublicKeyResponse, __MetadataBearer {}
12
10
  declare const SendSerialConsoleSSHPublicKeyCommand_base: {
13
11
  new (
14
- input: SendSerialConsoleSSHPublicKeyCommandInput
12
+ input: SendSerialConsoleSSHPublicKeyCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  SendSerialConsoleSSHPublicKeyCommandInput,
17
15
  SendSerialConsoleSSHPublicKeyCommandOutput,
@@ -20,7 +18,7 @@ declare const SendSerialConsoleSSHPublicKeyCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: SendSerialConsoleSSHPublicKeyCommandInput
21
+ input: SendSerialConsoleSSHPublicKeyCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  SendSerialConsoleSSHPublicKeyCommandInput,
26
24
  SendSerialConsoleSSHPublicKeyCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  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 EC2InstanceConnectExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -10,71 +10,44 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
10
10
  readonly name: "EC2InstanceNotFoundException";
11
11
  readonly $fault: "client";
12
12
  Message?: string | undefined;
13
- constructor(
14
- opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>
15
- );
13
+ constructor(opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>);
16
14
  }
17
15
  export declare class EC2InstanceStateInvalidException extends __BaseException {
18
16
  readonly name: "EC2InstanceStateInvalidException";
19
17
  readonly $fault: "client";
20
18
  Message?: string | undefined;
21
- constructor(
22
- opts: __ExceptionOptionType<
23
- EC2InstanceStateInvalidException,
24
- __BaseException
25
- >
26
- );
19
+ constructor(opts: __ExceptionOptionType<EC2InstanceStateInvalidException, __BaseException>);
27
20
  }
28
21
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
29
22
  readonly name: "EC2InstanceTypeInvalidException";
30
23
  readonly $fault: "client";
31
24
  Message?: string | undefined;
32
- constructor(
33
- opts: __ExceptionOptionType<
34
- EC2InstanceTypeInvalidException,
35
- __BaseException
36
- >
37
- );
25
+ constructor(opts: __ExceptionOptionType<EC2InstanceTypeInvalidException, __BaseException>);
38
26
  }
39
27
  export declare class EC2InstanceUnavailableException extends __BaseException {
40
28
  readonly name: "EC2InstanceUnavailableException";
41
29
  readonly $fault: "server";
42
30
  Message?: string | undefined;
43
- constructor(
44
- opts: __ExceptionOptionType<
45
- EC2InstanceUnavailableException,
46
- __BaseException
47
- >
48
- );
31
+ constructor(opts: __ExceptionOptionType<EC2InstanceUnavailableException, __BaseException>);
49
32
  }
50
33
  export declare class InvalidArgsException extends __BaseException {
51
34
  readonly name: "InvalidArgsException";
52
35
  readonly $fault: "client";
53
36
  Message?: string | undefined;
54
- constructor(
55
- opts: __ExceptionOptionType<InvalidArgsException, __BaseException>
56
- );
37
+ constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
57
38
  }
58
39
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
59
40
  readonly name: "SerialConsoleAccessDisabledException";
60
41
  readonly $fault: "client";
61
42
  Message?: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<
64
- SerialConsoleAccessDisabledException,
65
- __BaseException
66
- >
67
- );
43
+ constructor(opts: __ExceptionOptionType<SerialConsoleAccessDisabledException, __BaseException>);
68
44
  }
69
45
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
70
46
  readonly name: "SerialConsoleSessionLimitExceededException";
71
47
  readonly $fault: "client";
72
48
  Message?: string | undefined;
73
49
  constructor(
74
- opts: __ExceptionOptionType<
75
- SerialConsoleSessionLimitExceededException,
76
- __BaseException
77
- >
50
+ opts: __ExceptionOptionType<SerialConsoleSessionLimitExceededException, __BaseException>,
78
51
  );
79
52
  }
80
53
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
@@ -82,10 +55,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
82
55
  readonly $fault: "server";
83
56
  Message?: string | undefined;
84
57
  constructor(
85
- opts: __ExceptionOptionType<
86
- SerialConsoleSessionUnavailableException,
87
- __BaseException
88
- >
58
+ opts: __ExceptionOptionType<SerialConsoleSessionUnavailableException, __BaseException>,
89
59
  );
90
60
  }
91
61
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
@@ -93,10 +63,7 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
93
63
  readonly $fault: "client";
94
64
  Message?: string | undefined;
95
65
  constructor(
96
- opts: __ExceptionOptionType<
97
- SerialConsoleSessionUnsupportedException,
98
- __BaseException
99
- >
66
+ opts: __ExceptionOptionType<SerialConsoleSessionUnsupportedException, __BaseException>,
100
67
  );
101
68
  }
102
69
  export declare class ServiceException extends __BaseException {
@@ -109,7 +76,5 @@ export declare class ThrottlingException extends __BaseException {
109
76
  readonly name: "ThrottlingException";
110
77
  readonly $fault: "client";
111
78
  Message?: string | undefined;
112
- constructor(
113
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
114
- );
79
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
115
80
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
- export declare const getRuntimeConfig: (
4
- config: EC2InstanceConnectClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
96
81
  signer?:
97
82
  | import("@smithy/types").RequestSigner
98
83
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
100
85
  ) => Promise<import("@smithy/types").RequestSigner>);
101
86
  signingEscapePath?: boolean;
102
87
  systemClockOffset?: number;
103
88
  signingRegion?: string;
104
89
  signerConstructor?: new (
105
90
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
92
  ) => import("@smithy/types").RequestSigner;
108
93
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
- export declare const getRuntimeConfig: (
4
- config: EC2InstanceConnectClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- retryStrategy?:
59
- | import("@smithy/types").RetryStrategy
60
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
61
51
  endpoint?:
62
52
  | ((
63
53
  | string
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
79
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
70
  context?: {
81
71
  logger?: import("@smithy/types").Logger;
82
- }
72
+ },
83
73
  ) => import("@smithy/types").EndpointV2;
84
74
  tls?: boolean;
85
75
  serviceConfiguredEndpoint?: never;
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
91
81
  signer?:
92
82
  | import("@smithy/types").RequestSigner
93
83
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
95
85
  ) => Promise<import("@smithy/types").RequestSigner>);
96
86
  signingEscapePath?: boolean;
97
87
  systemClockOffset?: number;
98
88
  signingRegion?: string;
99
89
  signerConstructor?: new (
100
90
  options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
102
92
  ) => import("@smithy/types").RequestSigner;
103
93
  };
@@ -1,7 +1,5 @@
1
1
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
2
- export declare const getRuntimeConfig: (
3
- config: EC2InstanceConnectClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
107
92
  signingRegion?: string;
108
93
  signerConstructor?: new (
109
94
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
96
  ) => import("@smithy/types").RequestSigner;
112
97
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
- export declare const getRuntimeConfig: (
4
- config: EC2InstanceConnectClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EC2InstanceConnectHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { EC2InstanceConnectExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: EC2InstanceConnectExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: EC2InstanceConnectExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
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 EC2InstanceConnectServiceException$: StaticErrorSchema;
8
4
  export declare var AuthException$: StaticErrorSchema;
9
5
  export declare var EC2InstanceNotFoundException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2-instance-connect",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Ec2 Instance Connect 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-ec2-instance-connect",
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-ec2-instance-connect"
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-ec2-instance-connect",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-ec2-instance-connect"
68
68
  }
69
69
  }