@aws-sdk/client-lambda-core 3.1074.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/LICENSE +201 -0
- package/README.md +216 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-cjs/endpoint/bdd.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/index.js +255 -0
- package/dist-cjs/models/LambdaCoreServiceException.js +8 -0
- package/dist-cjs/models/errors.js +93 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +45 -0
- package/dist-cjs/runtimeConfig.native.js +12 -0
- package/dist-cjs/runtimeConfig.shared.js +38 -0
- package/dist-cjs/schemas/schemas_0.js +219 -0
- package/dist-es/LambdaCore.js +21 -0
- package/dist-es/LambdaCoreClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateNetworkConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteNetworkConnectorCommand.js +16 -0
- package/dist-es/commands/GetNetworkConnectorCommand.js +16 -0
- package/dist-es/commands/ListNetworkConnectorsCommand.js +16 -0
- package/dist-es/commands/UpdateNetworkConnectorCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/LambdaCoreServiceException.js +8 -0
- package/dist-es/models/enums.js +49 -0
- package/dist-es/models/errors.js +93 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListNetworkConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +31 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +38 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +199 -0
- package/dist-types/LambdaCore.d.ts +53 -0
- package/dist-types/LambdaCoreClient.d.ts +191 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +128 -0
- package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +109 -0
- package/dist-types/commands/GetNetworkConnectorCommand.d.ts +113 -0
- package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +128 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/LambdaCoreServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +143 -0
- package/dist-types/models/errors.d.ts +117 -0
- package/dist-types/models/models_0.d.ts +396 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListNetworkConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +33 -0
- package/dist-types/ts3.4/LambdaCore.d.ts +104 -0
- package/dist-types/ts3.4/LambdaCoreClient.d.ts +140 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateNetworkConnectorCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteNetworkConnectorCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetNetworkConnectorCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListNetworkConnectorsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateNetworkConnectorCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/LambdaCoreServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +65 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +114 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListNetworkConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +33 -0
- package/package.json +71 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
CreateNetworkConnectorCommandInput,
|
|
8
|
+
CreateNetworkConnectorCommandOutput,
|
|
9
|
+
} from "./commands/CreateNetworkConnectorCommand";
|
|
10
|
+
import {
|
|
11
|
+
DeleteNetworkConnectorCommandInput,
|
|
12
|
+
DeleteNetworkConnectorCommandOutput,
|
|
13
|
+
} from "./commands/DeleteNetworkConnectorCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetNetworkConnectorCommandInput,
|
|
16
|
+
GetNetworkConnectorCommandOutput,
|
|
17
|
+
} from "./commands/GetNetworkConnectorCommand";
|
|
18
|
+
import {
|
|
19
|
+
ListNetworkConnectorsCommandInput,
|
|
20
|
+
ListNetworkConnectorsCommandOutput,
|
|
21
|
+
} from "./commands/ListNetworkConnectorsCommand";
|
|
22
|
+
import {
|
|
23
|
+
UpdateNetworkConnectorCommandInput,
|
|
24
|
+
UpdateNetworkConnectorCommandOutput,
|
|
25
|
+
} from "./commands/UpdateNetworkConnectorCommand";
|
|
26
|
+
import { LambdaCoreClient } from "./LambdaCoreClient";
|
|
27
|
+
export interface LambdaCore {
|
|
28
|
+
createNetworkConnector(
|
|
29
|
+
args: CreateNetworkConnectorCommandInput,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Promise<CreateNetworkConnectorCommandOutput>;
|
|
32
|
+
createNetworkConnector(
|
|
33
|
+
args: CreateNetworkConnectorCommandInput,
|
|
34
|
+
cb: (err: any, data?: CreateNetworkConnectorCommandOutput) => void
|
|
35
|
+
): void;
|
|
36
|
+
createNetworkConnector(
|
|
37
|
+
args: CreateNetworkConnectorCommandInput,
|
|
38
|
+
options: __HttpHandlerOptions,
|
|
39
|
+
cb: (err: any, data?: CreateNetworkConnectorCommandOutput) => void
|
|
40
|
+
): void;
|
|
41
|
+
deleteNetworkConnector(
|
|
42
|
+
args: DeleteNetworkConnectorCommandInput,
|
|
43
|
+
options?: __HttpHandlerOptions
|
|
44
|
+
): Promise<DeleteNetworkConnectorCommandOutput>;
|
|
45
|
+
deleteNetworkConnector(
|
|
46
|
+
args: DeleteNetworkConnectorCommandInput,
|
|
47
|
+
cb: (err: any, data?: DeleteNetworkConnectorCommandOutput) => void
|
|
48
|
+
): void;
|
|
49
|
+
deleteNetworkConnector(
|
|
50
|
+
args: DeleteNetworkConnectorCommandInput,
|
|
51
|
+
options: __HttpHandlerOptions,
|
|
52
|
+
cb: (err: any, data?: DeleteNetworkConnectorCommandOutput) => void
|
|
53
|
+
): void;
|
|
54
|
+
getNetworkConnector(
|
|
55
|
+
args: GetNetworkConnectorCommandInput,
|
|
56
|
+
options?: __HttpHandlerOptions
|
|
57
|
+
): Promise<GetNetworkConnectorCommandOutput>;
|
|
58
|
+
getNetworkConnector(
|
|
59
|
+
args: GetNetworkConnectorCommandInput,
|
|
60
|
+
cb: (err: any, data?: GetNetworkConnectorCommandOutput) => void
|
|
61
|
+
): void;
|
|
62
|
+
getNetworkConnector(
|
|
63
|
+
args: GetNetworkConnectorCommandInput,
|
|
64
|
+
options: __HttpHandlerOptions,
|
|
65
|
+
cb: (err: any, data?: GetNetworkConnectorCommandOutput) => void
|
|
66
|
+
): void;
|
|
67
|
+
listNetworkConnectors(): Promise<ListNetworkConnectorsCommandOutput>;
|
|
68
|
+
listNetworkConnectors(
|
|
69
|
+
args: ListNetworkConnectorsCommandInput,
|
|
70
|
+
options?: __HttpHandlerOptions
|
|
71
|
+
): Promise<ListNetworkConnectorsCommandOutput>;
|
|
72
|
+
listNetworkConnectors(
|
|
73
|
+
args: ListNetworkConnectorsCommandInput,
|
|
74
|
+
cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void
|
|
75
|
+
): void;
|
|
76
|
+
listNetworkConnectors(
|
|
77
|
+
args: ListNetworkConnectorsCommandInput,
|
|
78
|
+
options: __HttpHandlerOptions,
|
|
79
|
+
cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void
|
|
80
|
+
): void;
|
|
81
|
+
updateNetworkConnector(
|
|
82
|
+
args: UpdateNetworkConnectorCommandInput,
|
|
83
|
+
options?: __HttpHandlerOptions
|
|
84
|
+
): Promise<UpdateNetworkConnectorCommandOutput>;
|
|
85
|
+
updateNetworkConnector(
|
|
86
|
+
args: UpdateNetworkConnectorCommandInput,
|
|
87
|
+
cb: (err: any, data?: UpdateNetworkConnectorCommandOutput) => void
|
|
88
|
+
): void;
|
|
89
|
+
updateNetworkConnector(
|
|
90
|
+
args: UpdateNetworkConnectorCommandInput,
|
|
91
|
+
options: __HttpHandlerOptions,
|
|
92
|
+
cb: (err: any, data?: UpdateNetworkConnectorCommandOutput) => void
|
|
93
|
+
): void;
|
|
94
|
+
paginateListNetworkConnectors(
|
|
95
|
+
args?: ListNetworkConnectorsCommandInput,
|
|
96
|
+
paginationConfig?: Pick<
|
|
97
|
+
PaginationConfiguration,
|
|
98
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
99
|
+
>
|
|
100
|
+
): Paginator<ListNetworkConnectorsCommandOutput>;
|
|
101
|
+
}
|
|
102
|
+
export declare class LambdaCore
|
|
103
|
+
extends LambdaCoreClient
|
|
104
|
+
implements LambdaCore {}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
UserAgentInputConfig,
|
|
5
|
+
UserAgentResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
7
|
+
import {
|
|
8
|
+
DefaultsMode as __DefaultsMode,
|
|
9
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
10
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
11
|
+
Client as __Client,
|
|
12
|
+
} from "@smithy/core/client";
|
|
13
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
+
import {
|
|
15
|
+
EndpointInputConfig,
|
|
16
|
+
EndpointResolvedConfig,
|
|
17
|
+
} from "@smithy/core/endpoints";
|
|
18
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
|
+
import {
|
|
21
|
+
AwsCredentialIdentityProvider,
|
|
22
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
23
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
24
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
25
|
+
Decoder as __Decoder,
|
|
26
|
+
Encoder as __Encoder,
|
|
27
|
+
HashConstructor as __HashConstructor,
|
|
28
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
29
|
+
Logger as __Logger,
|
|
30
|
+
Provider as __Provider,
|
|
31
|
+
StreamCollector as __StreamCollector,
|
|
32
|
+
UrlParser as __UrlParser,
|
|
33
|
+
UserAgent as __UserAgent,
|
|
34
|
+
} from "@smithy/types";
|
|
35
|
+
import {
|
|
36
|
+
HttpAuthSchemeInputConfig,
|
|
37
|
+
HttpAuthSchemeResolvedConfig,
|
|
38
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
+
import {
|
|
40
|
+
CreateNetworkConnectorCommandInput,
|
|
41
|
+
CreateNetworkConnectorCommandOutput,
|
|
42
|
+
} from "./commands/CreateNetworkConnectorCommand";
|
|
43
|
+
import {
|
|
44
|
+
DeleteNetworkConnectorCommandInput,
|
|
45
|
+
DeleteNetworkConnectorCommandOutput,
|
|
46
|
+
} from "./commands/DeleteNetworkConnectorCommand";
|
|
47
|
+
import {
|
|
48
|
+
GetNetworkConnectorCommandInput,
|
|
49
|
+
GetNetworkConnectorCommandOutput,
|
|
50
|
+
} from "./commands/GetNetworkConnectorCommand";
|
|
51
|
+
import {
|
|
52
|
+
ListNetworkConnectorsCommandInput,
|
|
53
|
+
ListNetworkConnectorsCommandOutput,
|
|
54
|
+
} from "./commands/ListNetworkConnectorsCommand";
|
|
55
|
+
import {
|
|
56
|
+
UpdateNetworkConnectorCommandInput,
|
|
57
|
+
UpdateNetworkConnectorCommandOutput,
|
|
58
|
+
} from "./commands/UpdateNetworkConnectorCommand";
|
|
59
|
+
import {
|
|
60
|
+
ClientInputEndpointParameters,
|
|
61
|
+
ClientResolvedEndpointParameters,
|
|
62
|
+
EndpointParameters,
|
|
63
|
+
} from "./endpoint/EndpointParameters";
|
|
64
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
65
|
+
export { __Client };
|
|
66
|
+
export type ServiceInputTypes =
|
|
67
|
+
| CreateNetworkConnectorCommandInput
|
|
68
|
+
| DeleteNetworkConnectorCommandInput
|
|
69
|
+
| GetNetworkConnectorCommandInput
|
|
70
|
+
| ListNetworkConnectorsCommandInput
|
|
71
|
+
| UpdateNetworkConnectorCommandInput;
|
|
72
|
+
export type ServiceOutputTypes =
|
|
73
|
+
| CreateNetworkConnectorCommandOutput
|
|
74
|
+
| DeleteNetworkConnectorCommandOutput
|
|
75
|
+
| GetNetworkConnectorCommandOutput
|
|
76
|
+
| ListNetworkConnectorsCommandOutput
|
|
77
|
+
| UpdateNetworkConnectorCommandOutput;
|
|
78
|
+
export interface ClientDefaults
|
|
79
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
80
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
81
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
82
|
+
urlParser?: __UrlParser;
|
|
83
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
84
|
+
streamCollector?: __StreamCollector;
|
|
85
|
+
base64Decoder?: __Decoder;
|
|
86
|
+
base64Encoder?: __Encoder;
|
|
87
|
+
utf8Decoder?: __Decoder;
|
|
88
|
+
utf8Encoder?: __Encoder;
|
|
89
|
+
runtime?: string;
|
|
90
|
+
disableHostPrefix?: boolean;
|
|
91
|
+
serviceId?: string;
|
|
92
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
93
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
94
|
+
region?: string | __Provider<string>;
|
|
95
|
+
profile?: string;
|
|
96
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
97
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
98
|
+
maxAttempts?: number | __Provider<number>;
|
|
99
|
+
retryMode?: string | __Provider<string>;
|
|
100
|
+
logger?: __Logger;
|
|
101
|
+
extensions?: RuntimeExtension[];
|
|
102
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
103
|
+
}
|
|
104
|
+
export type LambdaCoreClientConfigType = Partial<
|
|
105
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
106
|
+
> &
|
|
107
|
+
ClientDefaults &
|
|
108
|
+
UserAgentInputConfig &
|
|
109
|
+
RetryInputConfig &
|
|
110
|
+
RegionInputConfig &
|
|
111
|
+
HostHeaderInputConfig &
|
|
112
|
+
EndpointInputConfig<EndpointParameters> &
|
|
113
|
+
HttpAuthSchemeInputConfig &
|
|
114
|
+
ClientInputEndpointParameters;
|
|
115
|
+
export interface LambdaCoreClientConfig extends LambdaCoreClientConfigType {}
|
|
116
|
+
export type LambdaCoreClientResolvedConfigType =
|
|
117
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
118
|
+
Required<ClientDefaults> &
|
|
119
|
+
RuntimeExtensionsConfig &
|
|
120
|
+
UserAgentResolvedConfig &
|
|
121
|
+
RetryResolvedConfig &
|
|
122
|
+
RegionResolvedConfig &
|
|
123
|
+
HostHeaderResolvedConfig &
|
|
124
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
125
|
+
HttpAuthSchemeResolvedConfig &
|
|
126
|
+
ClientResolvedEndpointParameters;
|
|
127
|
+
export interface LambdaCoreClientResolvedConfig
|
|
128
|
+
extends LambdaCoreClientResolvedConfigType {}
|
|
129
|
+
export declare class LambdaCoreClient extends __Client<
|
|
130
|
+
__HttpHandlerOptions,
|
|
131
|
+
ServiceInputTypes,
|
|
132
|
+
ServiceOutputTypes,
|
|
133
|
+
LambdaCoreClientResolvedConfig
|
|
134
|
+
> {
|
|
135
|
+
readonly config: LambdaCoreClientResolvedConfig;
|
|
136
|
+
constructor(
|
|
137
|
+
...[configuration]: __CheckOptionalClientConfig<LambdaCoreClientConfig>
|
|
138
|
+
);
|
|
139
|
+
destroy(): void;
|
|
140
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { LambdaCoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: LambdaCoreHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): LambdaCoreHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: LambdaCoreHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core/httpAuthSchemes";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { LambdaCoreClientResolvedConfig } from "../LambdaCoreClient";
|
|
15
|
+
export interface LambdaCoreHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface LambdaCoreHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
LambdaCoreClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
LambdaCoreHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultLambdaCoreHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: LambdaCoreClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<LambdaCoreHttpAuthSchemeParameters>;
|
|
31
|
+
export interface LambdaCoreHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<LambdaCoreHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultLambdaCoreHttpAuthSchemeProvider: LambdaCoreHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: LambdaCoreHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: LambdaCoreHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateNetworkConnectorRequest,
|
|
10
|
+
CreateNetworkConnectorResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateNetworkConnectorCommandInput
|
|
15
|
+
extends CreateNetworkConnectorRequest {}
|
|
16
|
+
export interface CreateNetworkConnectorCommandOutput
|
|
17
|
+
extends CreateNetworkConnectorResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateNetworkConnectorCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateNetworkConnectorCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
CreateNetworkConnectorCommandInput,
|
|
24
|
+
CreateNetworkConnectorCommandOutput,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateNetworkConnectorCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
CreateNetworkConnectorCommandInput,
|
|
33
|
+
CreateNetworkConnectorCommandOutput,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class CreateNetworkConnectorCommand extends CreateNetworkConnectorCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: CreateNetworkConnectorRequest;
|
|
46
|
+
output: CreateNetworkConnectorResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: CreateNetworkConnectorCommandInput;
|
|
50
|
+
output: CreateNetworkConnectorCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteNetworkConnectorRequest,
|
|
10
|
+
DeleteNetworkConnectorResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteNetworkConnectorCommandInput
|
|
15
|
+
extends DeleteNetworkConnectorRequest {}
|
|
16
|
+
export interface DeleteNetworkConnectorCommandOutput
|
|
17
|
+
extends DeleteNetworkConnectorResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteNetworkConnectorCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteNetworkConnectorCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
DeleteNetworkConnectorCommandInput,
|
|
24
|
+
DeleteNetworkConnectorCommandOutput,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteNetworkConnectorCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
DeleteNetworkConnectorCommandInput,
|
|
33
|
+
DeleteNetworkConnectorCommandOutput,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class DeleteNetworkConnectorCommand extends DeleteNetworkConnectorCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: DeleteNetworkConnectorRequest;
|
|
46
|
+
output: DeleteNetworkConnectorResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: DeleteNetworkConnectorCommandInput;
|
|
50
|
+
output: DeleteNetworkConnectorCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
GetNetworkConnectorRequest,
|
|
10
|
+
GetNetworkConnectorResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetNetworkConnectorCommandInput
|
|
15
|
+
extends GetNetworkConnectorRequest {}
|
|
16
|
+
export interface GetNetworkConnectorCommandOutput
|
|
17
|
+
extends GetNetworkConnectorResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetNetworkConnectorCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetNetworkConnectorCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetNetworkConnectorCommandInput,
|
|
24
|
+
GetNetworkConnectorCommandOutput,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetNetworkConnectorCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
GetNetworkConnectorCommandInput,
|
|
33
|
+
GetNetworkConnectorCommandOutput,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class GetNetworkConnectorCommand extends GetNetworkConnectorCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: GetNetworkConnectorRequest;
|
|
46
|
+
output: GetNetworkConnectorResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: GetNetworkConnectorCommandInput;
|
|
50
|
+
output: GetNetworkConnectorCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
ListNetworkConnectorsRequest,
|
|
10
|
+
ListNetworkConnectorsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListNetworkConnectorsCommandInput
|
|
15
|
+
extends ListNetworkConnectorsRequest {}
|
|
16
|
+
export interface ListNetworkConnectorsCommandOutput
|
|
17
|
+
extends ListNetworkConnectorsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListNetworkConnectorsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListNetworkConnectorsCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListNetworkConnectorsCommandInput,
|
|
24
|
+
ListNetworkConnectorsCommandOutput,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListNetworkConnectorsCommandInput]
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
ListNetworkConnectorsCommandInput,
|
|
33
|
+
ListNetworkConnectorsCommandOutput,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class ListNetworkConnectorsCommand extends ListNetworkConnectorsCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: ListNetworkConnectorsRequest;
|
|
46
|
+
output: ListNetworkConnectorsResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: ListNetworkConnectorsCommandInput;
|
|
50
|
+
output: ListNetworkConnectorsCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateNetworkConnectorRequest,
|
|
10
|
+
UpdateNetworkConnectorResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateNetworkConnectorCommandInput
|
|
15
|
+
extends UpdateNetworkConnectorRequest {}
|
|
16
|
+
export interface UpdateNetworkConnectorCommandOutput
|
|
17
|
+
extends UpdateNetworkConnectorResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateNetworkConnectorCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateNetworkConnectorCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
UpdateNetworkConnectorCommandInput,
|
|
24
|
+
UpdateNetworkConnectorCommandOutput,
|
|
25
|
+
LambdaCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateNetworkConnectorCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
UpdateNetworkConnectorCommandInput,
|
|
33
|
+
UpdateNetworkConnectorCommandOutput,
|
|
34
|
+
LambdaCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class UpdateNetworkConnectorCommand extends UpdateNetworkConnectorCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: UpdateNetworkConnectorRequest;
|
|
46
|
+
output: UpdateNetworkConnectorResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: UpdateNetworkConnectorCommandInput;
|
|
50
|
+
output: UpdateNetworkConnectorCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
23
|
+
defaultSigningName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
+
options: T & ClientInputEndpointParameters
|
|
27
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
Region?: string | undefined;
|
|
48
|
+
UseDualStack?: boolean | undefined;
|
|
49
|
+
UseFIPS?: boolean | undefined;
|
|
50
|
+
Endpoint?: string | undefined;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface LambdaCoreExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|