@aws-sdk/client-ec2-instance-connect 3.50.0 → 3.51.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/EC2InstanceConnect.d.ts +15 -0
- package/dist-types/ts3.4/EC2InstanceConnectClient.d.ts +75 -0
- package/dist-types/ts3.4/commands/SendSSHPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendSerialConsoleSSHPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +107 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ec2-instance-connect
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-ec2-instance-connect
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput } from "./commands/SendSerialConsoleSSHPublicKeyCommand";
|
|
3
|
+
import { SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput } from "./commands/SendSSHPublicKeyCommand";
|
|
4
|
+
import { EC2InstanceConnectClient } from "./EC2InstanceConnectClient";
|
|
5
|
+
|
|
6
|
+
export declare class EC2InstanceConnect extends EC2InstanceConnectClient {
|
|
7
|
+
|
|
8
|
+
sendSerialConsoleSSHPublicKey(args: SendSerialConsoleSSHPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<SendSerialConsoleSSHPublicKeyCommandOutput>;
|
|
9
|
+
sendSerialConsoleSSHPublicKey(args: SendSerialConsoleSSHPublicKeyCommandInput, cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void): void;
|
|
10
|
+
sendSerialConsoleSSHPublicKey(args: SendSerialConsoleSSHPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void): void;
|
|
11
|
+
|
|
12
|
+
sendSSHPublicKey(args: SendSSHPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<SendSSHPublicKeyCommandOutput>;
|
|
13
|
+
sendSSHPublicKey(args: SendSSHPublicKeyCommandInput, cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void): void;
|
|
14
|
+
sendSSHPublicKey(args: SendSSHPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput } from "./commands/SendSerialConsoleSSHPublicKeyCommand";
|
|
10
|
+
import { SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput } from "./commands/SendSSHPublicKeyCommand";
|
|
11
|
+
export declare type ServiceInputTypes = SendSSHPublicKeyCommandInput | SendSerialConsoleSSHPublicKeyCommandInput;
|
|
12
|
+
export declare type ServiceOutputTypes = SendSSHPublicKeyCommandOutput | SendSerialConsoleSSHPublicKeyCommandOutput;
|
|
13
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
14
|
+
|
|
15
|
+
requestHandler?: __HttpHandler;
|
|
16
|
+
|
|
17
|
+
sha256?: __HashConstructor;
|
|
18
|
+
|
|
19
|
+
urlParser?: __UrlParser;
|
|
20
|
+
|
|
21
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
22
|
+
|
|
23
|
+
streamCollector?: __StreamCollector;
|
|
24
|
+
|
|
25
|
+
base64Decoder?: __Decoder;
|
|
26
|
+
|
|
27
|
+
base64Encoder?: __Encoder;
|
|
28
|
+
|
|
29
|
+
utf8Decoder?: __Decoder;
|
|
30
|
+
|
|
31
|
+
utf8Encoder?: __Encoder;
|
|
32
|
+
|
|
33
|
+
runtime?: string;
|
|
34
|
+
|
|
35
|
+
disableHostPrefix?: boolean;
|
|
36
|
+
|
|
37
|
+
maxAttempts?: number | __Provider<number>;
|
|
38
|
+
|
|
39
|
+
retryMode?: string | __Provider<string>;
|
|
40
|
+
|
|
41
|
+
logger?: __Logger;
|
|
42
|
+
|
|
43
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
44
|
+
|
|
45
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
46
|
+
|
|
47
|
+
serviceId?: string;
|
|
48
|
+
|
|
49
|
+
region?: string | __Provider<string>;
|
|
50
|
+
|
|
51
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
52
|
+
|
|
53
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
54
|
+
|
|
55
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
56
|
+
|
|
57
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
58
|
+
}
|
|
59
|
+
declare type EC2InstanceConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
60
|
+
|
|
61
|
+
export interface EC2InstanceConnectClientConfig extends EC2InstanceConnectClientConfigType {
|
|
62
|
+
}
|
|
63
|
+
declare type EC2InstanceConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
64
|
+
|
|
65
|
+
export interface EC2InstanceConnectClientResolvedConfig extends EC2InstanceConnectClientResolvedConfigType {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare class EC2InstanceConnectClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EC2InstanceConnectClientResolvedConfig> {
|
|
69
|
+
|
|
70
|
+
readonly config: EC2InstanceConnectClientResolvedConfig;
|
|
71
|
+
constructor(configuration: EC2InstanceConnectClientConfig);
|
|
72
|
+
|
|
73
|
+
destroy(): void;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2InstanceConnectClient";
|
|
4
|
+
import { SendSSHPublicKeyRequest, SendSSHPublicKeyResponse } from "../models/models_0";
|
|
5
|
+
export interface SendSSHPublicKeyCommandInput extends SendSSHPublicKeyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class SendSSHPublicKeyCommand extends $Command<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig> {
|
|
11
|
+
readonly input: SendSSHPublicKeyCommandInput;
|
|
12
|
+
constructor(input: SendSSHPublicKeyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2InstanceConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2InstanceConnectClient";
|
|
4
|
+
import { SendSerialConsoleSSHPublicKeyRequest, SendSerialConsoleSSHPublicKeyResponse } from "../models/models_0";
|
|
5
|
+
export interface SendSerialConsoleSSHPublicKeyCommandInput extends SendSerialConsoleSSHPublicKeyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialConsoleSSHPublicKeyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class SendSerialConsoleSSHPublicKeyCommand extends $Command<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig> {
|
|
11
|
+
readonly input: SendSerialConsoleSSHPublicKeyCommandInput;
|
|
12
|
+
constructor(input: SendSerialConsoleSSHPublicKeyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2InstanceConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface AuthException extends __SmithyException, $MetadataBearer {
|
|
4
|
+
name: "AuthException";
|
|
5
|
+
$fault: "client";
|
|
6
|
+
Message?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface EC2InstanceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
10
|
+
name: "EC2InstanceNotFoundException";
|
|
11
|
+
$fault: "client";
|
|
12
|
+
Message?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface EC2InstanceStateInvalidException extends __SmithyException, $MetadataBearer {
|
|
16
|
+
name: "EC2InstanceStateInvalidException";
|
|
17
|
+
$fault: "client";
|
|
18
|
+
Message?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface EC2InstanceTypeInvalidException extends __SmithyException, $MetadataBearer {
|
|
22
|
+
name: "EC2InstanceTypeInvalidException";
|
|
23
|
+
$fault: "client";
|
|
24
|
+
Message?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface InvalidArgsException extends __SmithyException, $MetadataBearer {
|
|
28
|
+
name: "InvalidArgsException";
|
|
29
|
+
$fault: "client";
|
|
30
|
+
Message?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface SendSerialConsoleSSHPublicKeyRequest {
|
|
33
|
+
|
|
34
|
+
InstanceId: string | undefined;
|
|
35
|
+
|
|
36
|
+
SerialPort?: number;
|
|
37
|
+
|
|
38
|
+
SSHPublicKey: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace SendSerialConsoleSSHPublicKeyRequest {
|
|
41
|
+
|
|
42
|
+
const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
|
|
43
|
+
}
|
|
44
|
+
export interface SendSerialConsoleSSHPublicKeyResponse {
|
|
45
|
+
|
|
46
|
+
RequestId?: string;
|
|
47
|
+
|
|
48
|
+
Success?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace SendSerialConsoleSSHPublicKeyResponse {
|
|
51
|
+
|
|
52
|
+
const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface SerialConsoleAccessDisabledException extends __SmithyException, $MetadataBearer {
|
|
56
|
+
name: "SerialConsoleAccessDisabledException";
|
|
57
|
+
$fault: "client";
|
|
58
|
+
Message?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface SerialConsoleSessionLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
62
|
+
name: "SerialConsoleSessionLimitExceededException";
|
|
63
|
+
$fault: "client";
|
|
64
|
+
Message?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface SerialConsoleSessionUnavailableException extends __SmithyException, $MetadataBearer {
|
|
68
|
+
name: "SerialConsoleSessionUnavailableException";
|
|
69
|
+
$fault: "server";
|
|
70
|
+
Message?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface ServiceException extends __SmithyException, $MetadataBearer {
|
|
74
|
+
name: "ServiceException";
|
|
75
|
+
$fault: "server";
|
|
76
|
+
Message?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
80
|
+
name: "ThrottlingException";
|
|
81
|
+
$fault: "client";
|
|
82
|
+
Message?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface SendSSHPublicKeyRequest {
|
|
85
|
+
|
|
86
|
+
InstanceId: string | undefined;
|
|
87
|
+
|
|
88
|
+
InstanceOSUser: string | undefined;
|
|
89
|
+
|
|
90
|
+
SSHPublicKey: string | undefined;
|
|
91
|
+
|
|
92
|
+
AvailabilityZone?: string;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace SendSSHPublicKeyRequest {
|
|
95
|
+
|
|
96
|
+
const filterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
|
|
97
|
+
}
|
|
98
|
+
export interface SendSSHPublicKeyResponse {
|
|
99
|
+
|
|
100
|
+
RequestId?: string;
|
|
101
|
+
|
|
102
|
+
Success?: boolean;
|
|
103
|
+
}
|
|
104
|
+
export declare namespace SendSSHPublicKeyResponse {
|
|
105
|
+
|
|
106
|
+
const filterSensitiveLog: (obj: SendSSHPublicKeyResponse) => any;
|
|
107
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput } from "../commands/SendSerialConsoleSSHPublicKeyCommand";
|
|
4
|
+
import { SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput } from "../commands/SendSSHPublicKeyCommand";
|
|
5
|
+
export declare const serializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand: (input: SendSerialConsoleSSHPublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
6
|
+
export declare const serializeAws_json1_1SendSSHPublicKeyCommand: (input: SendSSHPublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
|
+
export declare const deserializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendSerialConsoleSSHPublicKeyCommandOutput>;
|
|
8
|
+
export declare const deserializeAws_json1_1SendSSHPublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendSSHPublicKeyCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2-instance-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Instance Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.51.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.51.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.51.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.51.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.50.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.50.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.50.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.50.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.50.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.50.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.51.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.50.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.50.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.50.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.50.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.51.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.50.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.50.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.50.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.50.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.51.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.50.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.51.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
51
|
"tslib": "^2.3.0"
|