@aws-sdk/client-lambda-core 3.1076.0 → 3.1078.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 +16 -55
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateNetworkConnectorCommand.js +2 -14
- package/dist-es/commands/DeleteNetworkConnectorCommand.js +2 -14
- package/dist-es/commands/GetNetworkConnectorCommand.js +2 -14
- package/dist-es/commands/ListNetworkConnectorsCommand.js +2 -14
- package/dist-es/commands/UpdateNetworkConnectorCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +3 -8
- package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +3 -8
- package/dist-types/commands/GetNetworkConnectorCommand.d.ts +3 -8
- package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateNetworkConnectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteNetworkConnectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetNetworkConnectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListNetworkConnectorsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateNetworkConnectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException: ServiceException$1, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException: ServiceException$1, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultLambdaCoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -447,6 +449,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
447
449
|
serviceTarget: "LambdaCoreApiService",
|
|
448
450
|
},
|
|
449
451
|
serviceId: config?.serviceId ?? "Lambda Core",
|
|
452
|
+
sha256: config?.sha256 ?? Sha256,
|
|
450
453
|
urlParser: config?.urlParser ?? parseUrl,
|
|
451
454
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
452
455
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -480,7 +483,6 @@ const getRuntimeConfig = (config) => {
|
|
|
480
483
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
481
484
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
482
485
|
}, config),
|
|
483
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
484
486
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
485
487
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
486
488
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -568,64 +570,23 @@ class LambdaCoreClient extends Client {
|
|
|
568
570
|
}
|
|
569
571
|
}
|
|
570
572
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
})
|
|
577
|
-
.s("LambdaCoreApiService", "CreateNetworkConnector", {})
|
|
578
|
-
.n("LambdaCoreClient", "CreateNetworkConnectorCommand")
|
|
579
|
-
.sc(CreateNetworkConnector$)
|
|
580
|
-
.build() {
|
|
573
|
+
const command = makeBuilder(commonParams, "LambdaCoreApiService", "LambdaCoreClient", getEndpointPlugin);
|
|
574
|
+
const _ep0 = {};
|
|
575
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
576
|
+
|
|
577
|
+
class CreateNetworkConnectorCommand extends command(_ep0, _mw0, "CreateNetworkConnector", CreateNetworkConnector$) {
|
|
581
578
|
}
|
|
582
579
|
|
|
583
|
-
class DeleteNetworkConnectorCommand extends
|
|
584
|
-
.classBuilder()
|
|
585
|
-
.ep(commonParams)
|
|
586
|
-
.m(function (Command, cs, config, o) {
|
|
587
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
588
|
-
})
|
|
589
|
-
.s("LambdaCoreApiService", "DeleteNetworkConnector", {})
|
|
590
|
-
.n("LambdaCoreClient", "DeleteNetworkConnectorCommand")
|
|
591
|
-
.sc(DeleteNetworkConnector$)
|
|
592
|
-
.build() {
|
|
580
|
+
class DeleteNetworkConnectorCommand extends command(_ep0, _mw0, "DeleteNetworkConnector", DeleteNetworkConnector$) {
|
|
593
581
|
}
|
|
594
582
|
|
|
595
|
-
class GetNetworkConnectorCommand extends
|
|
596
|
-
.classBuilder()
|
|
597
|
-
.ep(commonParams)
|
|
598
|
-
.m(function (Command, cs, config, o) {
|
|
599
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
600
|
-
})
|
|
601
|
-
.s("LambdaCoreApiService", "GetNetworkConnector", {})
|
|
602
|
-
.n("LambdaCoreClient", "GetNetworkConnectorCommand")
|
|
603
|
-
.sc(GetNetworkConnector$)
|
|
604
|
-
.build() {
|
|
583
|
+
class GetNetworkConnectorCommand extends command(_ep0, _mw0, "GetNetworkConnector", GetNetworkConnector$) {
|
|
605
584
|
}
|
|
606
585
|
|
|
607
|
-
class ListNetworkConnectorsCommand extends
|
|
608
|
-
.classBuilder()
|
|
609
|
-
.ep(commonParams)
|
|
610
|
-
.m(function (Command, cs, config, o) {
|
|
611
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
612
|
-
})
|
|
613
|
-
.s("LambdaCoreApiService", "ListNetworkConnectors", {})
|
|
614
|
-
.n("LambdaCoreClient", "ListNetworkConnectorsCommand")
|
|
615
|
-
.sc(ListNetworkConnectors$)
|
|
616
|
-
.build() {
|
|
586
|
+
class ListNetworkConnectorsCommand extends command(_ep0, _mw0, "ListNetworkConnectors", ListNetworkConnectors$) {
|
|
617
587
|
}
|
|
618
588
|
|
|
619
|
-
class UpdateNetworkConnectorCommand extends
|
|
620
|
-
.classBuilder()
|
|
621
|
-
.ep(commonParams)
|
|
622
|
-
.m(function (Command, cs, config, o) {
|
|
623
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
624
|
-
})
|
|
625
|
-
.s("LambdaCoreApiService", "UpdateNetworkConnector", {})
|
|
626
|
-
.n("LambdaCoreClient", "UpdateNetworkConnectorCommand")
|
|
627
|
-
.sc(UpdateNetworkConnector$)
|
|
628
|
-
.build() {
|
|
589
|
+
class UpdateNetworkConnectorCommand extends command(_ep0, _mw0, "UpdateNetworkConnector", UpdateNetworkConnector$) {
|
|
629
590
|
}
|
|
630
591
|
|
|
631
592
|
const paginateListNetworkConnectors = createPaginator(LambdaCoreClient, ListNetworkConnectorsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "LambdaCoreApiService", "LambdaCoreClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateNetworkConnector$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateNetworkConnectorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("LambdaCoreApiService", "CreateNetworkConnector", {})
|
|
13
|
-
.n("LambdaCoreClient", "CreateNetworkConnectorCommand")
|
|
14
|
-
.sc(CreateNetworkConnector$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateNetworkConnectorCommand extends command(_ep0, _mw0, "CreateNetworkConnector", CreateNetworkConnector$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteNetworkConnector$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteNetworkConnectorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("LambdaCoreApiService", "DeleteNetworkConnector", {})
|
|
13
|
-
.n("LambdaCoreClient", "DeleteNetworkConnectorCommand")
|
|
14
|
-
.sc(DeleteNetworkConnector$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteNetworkConnectorCommand extends command(_ep0, _mw0, "DeleteNetworkConnector", DeleteNetworkConnector$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetNetworkConnector$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetNetworkConnectorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("LambdaCoreApiService", "GetNetworkConnector", {})
|
|
13
|
-
.n("LambdaCoreClient", "GetNetworkConnectorCommand")
|
|
14
|
-
.sc(GetNetworkConnector$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetNetworkConnectorCommand extends command(_ep0, _mw0, "GetNetworkConnector", GetNetworkConnector$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListNetworkConnectors$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListNetworkConnectorsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("LambdaCoreApiService", "ListNetworkConnectors", {})
|
|
13
|
-
.n("LambdaCoreClient", "ListNetworkConnectorsCommand")
|
|
14
|
-
.sc(ListNetworkConnectors$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListNetworkConnectorsCommand extends command(_ep0, _mw0, "ListNetworkConnectors", ListNetworkConnectors$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateNetworkConnector$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateNetworkConnectorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("LambdaCoreApiService", "UpdateNetworkConnector", {})
|
|
13
|
-
.n("LambdaCoreClient", "UpdateNetworkConnectorCommand")
|
|
14
|
-
.sc(UpdateNetworkConnector$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateNetworkConnectorCommand extends command(_ep0, _mw0, "UpdateNetworkConnector", UpdateNetworkConnector$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "LambdaCoreApiService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Lambda Core",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./LambdaCoreClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaCoreClient";
|
|
4
2
|
import type { CreateNetworkConnectorRequest, CreateNetworkConnectorResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateNetworkConnectorCommandInput extends CreateNetworkConnect
|
|
|
22
19
|
export interface CreateNetworkConnectorCommandOutput extends CreateNetworkConnectorResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateNetworkConnectorCommand_base: {
|
|
25
|
-
new (input: CreateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.</p> <p>This operation is asynchronous. The network connector starts in <code>PENDING</code> state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use <code>GetNetworkConnector</code> to poll the connector state until it reaches <code>ACTIVE</code>. Once active, you can attach the connector to Lambda MicroVMs at run time using the <code>egressNetworkConnectors</code> parameter on <code>RunMicroVm</code>.</p> <p>This operation is idempotent when you provide a <code>ClientToken</code> — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaCoreClient";
|
|
4
2
|
import type { DeleteNetworkConnectorRequest, DeleteNetworkConnectorResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteNetworkConnectorCommandInput extends DeleteNetworkConnect
|
|
|
22
19
|
export interface DeleteNetworkConnectorCommandOutput extends DeleteNetworkConnectorResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteNetworkConnectorCommand_base: {
|
|
25
|
-
new (input: DeleteNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Initiates deletion of a network connector. The connector transitions to <code>DELETING</code> state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to <code>GetNetworkConnector</code> return <code>ResourceNotFoundException</code>.</p> <p>This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in <code>ACTIVE</code> or <code>FAILED</code> states. Before deleting a connector, ensure that no Lambda MicroVMs are using it, as they will lose VPC egress connectivity immediately.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaCoreClient";
|
|
4
2
|
import type { GetNetworkConnectorRequest, GetNetworkConnectorResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetNetworkConnectorCommandInput extends GetNetworkConnectorRequ
|
|
|
22
19
|
export interface GetNetworkConnectorCommandOutput extends GetNetworkConnectorResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetNetworkConnectorCommand_base: {
|
|
25
|
-
new (input: GetNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Retrieves the current configuration, state, and metadata of a network connector. The <code>Identifier</code> parameter accepts the connector ID, name, or full ARN. Use this operation to poll connector state after creation or update, or to inspect the current VPC configuration and any failure reasons.</p> <p>The response includes the full connector configuration, current state, and — if the connector has been updated — the <code>LastUpdateStatus</code> and <code>LastUpdateStatusReasonCode</code> fields that indicate whether the most recent update succeeded or failed.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaCoreClient";
|
|
4
2
|
import type { ListNetworkConnectorsRequest, ListNetworkConnectorsResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListNetworkConnectorsCommandInput extends ListNetworkConnectors
|
|
|
22
19
|
export interface ListNetworkConnectorsCommandOutput extends ListNetworkConnectorsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListNetworkConnectorsCommand_base: {
|
|
25
|
-
new (input: ListNetworkConnectorsCommandInput): import("@smithy/core/client").CommandImpl<ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListNetworkConnectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListNetworkConnectorsCommandInput): import("@smithy/core/client").CommandImpl<ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListNetworkConnectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a paginated list of network connectors in your account for the current Region. You can optionally filter results by connector state. Use the <code>Marker</code> parameter from a previous response to retrieve the next page of results.</p> <p>Each item in the response includes the connector ARN, name, ID, type, current state, and last modified timestamp. To retrieve full configuration details for a specific connector, use <code>GetNetworkConnector</code>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaCoreClient";
|
|
4
2
|
import type { UpdateNetworkConnectorRequest, UpdateNetworkConnectorResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface UpdateNetworkConnectorCommandInput extends UpdateNetworkConnect
|
|
|
22
19
|
export interface UpdateNetworkConnectorCommandOutput extends UpdateNetworkConnectorResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const UpdateNetworkConnectorCommand_base: {
|
|
25
|
-
new (input: UpdateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: UpdateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput, LambdaCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: UpdateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateNetworkConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in <code>ACTIVE</code> state to accept updates.</p> <p>This operation is asynchronous. The connector remains in <code>ACTIVE</code> state during the update — existing workloads that reference this connector are not disrupted. Use <code>GetNetworkConnector</code> to monitor the <code>LastUpdateStatus</code> field, which transitions through <code>InProgress</code> to <code>Successful</code> or <code>Failed</code>. If the update fails, the <code>LastUpdateStatusReasonCode</code> field provides a specific error code for troubleshooting. This operation is idempotent when you provide a <code>ClientToken</code>.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { LambdaCoreExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./pagination";
|
|
14
15
|
export * from "./models/enums";
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
17
16
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
24
23
|
[setting: string]: unknown;
|
|
25
24
|
};
|
|
26
25
|
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
29
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
18
17
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { LambdaCoreClientConfig } from "./LambdaCoreClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
LambdaCoreClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./LambdaCoreClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
LambdaCoreClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../LambdaCoreClient";
|
|
8
2
|
import {
|
|
9
3
|
CreateNetworkConnectorRequest,
|
|
10
4
|
CreateNetworkConnectorResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface CreateNetworkConnectorCommandInput
|
|
15
8
|
extends CreateNetworkConnectorRequest {}
|
|
16
9
|
export interface CreateNetworkConnectorCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const CreateNetworkConnectorCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
CreateNetworkConnectorCommandInput,
|
|
24
17
|
CreateNetworkConnectorCommandOutput,
|
|
25
|
-
LambdaCoreClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: CreateNetworkConnectorCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
CreateNetworkConnectorCommandInput,
|
|
33
26
|
CreateNetworkConnectorCommandOutput,
|
|
34
|
-
LambdaCoreClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class CreateNetworkConnectorCommand extends CreateNetworkConnectorCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
LambdaCoreClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../LambdaCoreClient";
|
|
8
2
|
import {
|
|
9
3
|
DeleteNetworkConnectorRequest,
|
|
10
4
|
DeleteNetworkConnectorResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface DeleteNetworkConnectorCommandInput
|
|
15
8
|
extends DeleteNetworkConnectorRequest {}
|
|
16
9
|
export interface DeleteNetworkConnectorCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const DeleteNetworkConnectorCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
DeleteNetworkConnectorCommandInput,
|
|
24
17
|
DeleteNetworkConnectorCommandOutput,
|
|
25
|
-
LambdaCoreClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: DeleteNetworkConnectorCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
DeleteNetworkConnectorCommandInput,
|
|
33
26
|
DeleteNetworkConnectorCommandOutput,
|
|
34
|
-
LambdaCoreClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class DeleteNetworkConnectorCommand extends DeleteNetworkConnectorCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
LambdaCoreClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../LambdaCoreClient";
|
|
8
2
|
import {
|
|
9
3
|
GetNetworkConnectorRequest,
|
|
10
4
|
GetNetworkConnectorResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetNetworkConnectorCommandInput
|
|
15
8
|
extends GetNetworkConnectorRequest {}
|
|
16
9
|
export interface GetNetworkConnectorCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetNetworkConnectorCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetNetworkConnectorCommandInput,
|
|
24
17
|
GetNetworkConnectorCommandOutput,
|
|
25
|
-
LambdaCoreClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetNetworkConnectorCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetNetworkConnectorCommandInput,
|
|
33
26
|
GetNetworkConnectorCommandOutput,
|
|
34
|
-
LambdaCoreClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetNetworkConnectorCommand extends GetNetworkConnectorCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
LambdaCoreClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../LambdaCoreClient";
|
|
8
2
|
import {
|
|
9
3
|
ListNetworkConnectorsRequest,
|
|
10
4
|
ListNetworkConnectorsResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ListNetworkConnectorsCommandInput
|
|
15
8
|
extends ListNetworkConnectorsRequest {}
|
|
16
9
|
export interface ListNetworkConnectorsCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const ListNetworkConnectorsCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
ListNetworkConnectorsCommandInput,
|
|
24
17
|
ListNetworkConnectorsCommandOutput,
|
|
25
|
-
LambdaCoreClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
...[input]: [] | [ListNetworkConnectorsCommandInput]
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
ListNetworkConnectorsCommandInput,
|
|
33
26
|
ListNetworkConnectorsCommandOutput,
|
|
34
|
-
LambdaCoreClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class ListNetworkConnectorsCommand extends ListNetworkConnectorsCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
LambdaCoreClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../LambdaCoreClient";
|
|
8
2
|
import {
|
|
9
3
|
UpdateNetworkConnectorRequest,
|
|
10
4
|
UpdateNetworkConnectorResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface UpdateNetworkConnectorCommandInput
|
|
15
8
|
extends UpdateNetworkConnectorRequest {}
|
|
16
9
|
export interface UpdateNetworkConnectorCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const UpdateNetworkConnectorCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
UpdateNetworkConnectorCommandInput,
|
|
24
17
|
UpdateNetworkConnectorCommandOutput,
|
|
25
|
-
LambdaCoreClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: UpdateNetworkConnectorCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
UpdateNetworkConnectorCommandInput,
|
|
33
26
|
UpdateNetworkConnectorCommandOutput,
|
|
34
|
-
LambdaCoreClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").LambdaCoreClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class UpdateNetworkConnectorCommand extends UpdateNetworkConnectorCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { LambdaCoreExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
|
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
20
20
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
21
|
| RequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
24
23
|
streamCollector: (
|
|
25
24
|
stream:
|
|
26
25
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
21
21
|
| RequestHandler
|
|
22
22
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
25
24
|
streamCollector: (
|
|
26
25
|
stream:
|
|
27
26
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { LambdaCoreClientConfig } from "./LambdaCoreClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
|
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
};
|
|
26
26
|
serviceId: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
30
|
utf8Encoder: (input: Uint8Array | string) => string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda-core",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Core Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,15 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
-
"@smithy/types": "^4.15.0",
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
31
29
|
"tslib": "^2.6.2"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|