@aws-sdk/client-ec2-instance-connect 3.588.0 → 3.592.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
@@ -192,7 +192,6 @@ var EC2InstanceConnectClient = _EC2InstanceConnectClient;
192
192
 
193
193
  var import_middleware_serde = require("@smithy/middleware-serde");
194
194
 
195
- var import_types = require("@smithy/types");
196
195
 
197
196
  // src/protocols/Aws_json1_1.ts
198
197
  var import_core2 = require("@aws-sdk/core");
@@ -680,7 +679,6 @@ var SendSerialConsoleSSHPublicKeyCommand = _SendSerialConsoleSSHPublicKeyCommand
680
679
 
681
680
 
682
681
 
683
-
684
682
  var _SendSSHPublicKeyCommand = class _SendSSHPublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
685
683
  ...commonParams
686
684
  }).m(function(Command, cs, config, o) {
@@ -92,15 +92,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
92
92
  * Enables FIPS compatible endpoints.
93
93
  */
94
94
  useFipsEndpoint?: boolean | __Provider<boolean>;
95
+ /**
96
+ * The AWS region to which this client will send requests
97
+ */
98
+ region?: string | __Provider<string>;
95
99
  /**
96
100
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
97
101
  * @internal
98
102
  */
99
103
  defaultUserAgentProvider?: Provider<__UserAgent>;
100
- /**
101
- * The AWS region to which this client will send requests
102
- */
103
- region?: string | __Provider<string>;
104
104
  /**
105
105
  * Default credentials provider; Not available in browser runtime.
106
106
  * @deprecated
@@ -5,7 +5,8 @@ import { SendSSHPublicKeyRequest, SendSSHPublicKeyResponse } from "../models/mod
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { SendSerialConsoleSSHPublicKeyRequest, SendSerialConsoleSSHPublicKeyResp
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -15,8 +15,8 @@
15
15
  export * from "./EC2InstanceConnectClient";
16
16
  export * from "./EC2InstanceConnect";
17
17
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
18
- export { RuntimeExtension } from "./runtimeExtensions";
19
- export { EC2InstanceConnectExtensionConfiguration } from "./extensionConfiguration";
18
+ export type { RuntimeExtension } from "./runtimeExtensions";
19
+ export type { EC2InstanceConnectExtensionConfiguration } from "./extensionConfiguration";
20
20
  export * from "./commands";
21
21
  export * from "./models";
22
22
  export { EC2InstanceConnectServiceException } from "./models/EC2InstanceConnectServiceException";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: EC2InstanceConnectClientConfig)
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -82,8 +82,8 @@ export interface ClientDefaults
82
82
  serviceId?: string;
83
83
  useDualstackEndpoint?: boolean | __Provider<boolean>;
84
84
  useFipsEndpoint?: boolean | __Provider<boolean>;
85
- defaultUserAgentProvider?: Provider<__UserAgent>;
86
85
  region?: string | __Provider<string>;
86
+ defaultUserAgentProvider?: Provider<__UserAgent>;
87
87
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
88
88
  maxAttempts?: number | __Provider<number>;
89
89
  retryMode?: string | __Provider<string>;
@@ -9,7 +9,8 @@ import {
9
9
  SendSSHPublicKeyRequest,
10
10
  SendSSHPublicKeyResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface SendSSHPublicKeyCommandInput extends SendSSHPublicKeyRequest {}
14
15
  export interface SendSSHPublicKeyCommandOutput
15
16
  extends SendSSHPublicKeyResponse,
@@ -9,7 +9,8 @@ import {
9
9
  SendSerialConsoleSSHPublicKeyRequest,
10
10
  SendSerialConsoleSSHPublicKeyResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface SendSerialConsoleSSHPublicKeyCommandInput
14
15
  extends SendSerialConsoleSSHPublicKeyRequest {}
15
16
  export interface SendSerialConsoleSSHPublicKeyCommandOutput
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class EC2InstanceConnectServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -22,10 +22,10 @@ export declare const getRuntimeConfig: (
22
22
  serviceId: string;
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ region: string | import("@smithy/types").Provider<any>;
25
26
  defaultUserAgentProvider: import("@smithy/types").Provider<
26
27
  import("@smithy/types").UserAgent
27
28
  >;
28
- region: string | import("@smithy/types").Provider<any>;
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
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.588.0",
4
+ "version": "3.592.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2-instance-connect",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",