@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.
Files changed (98) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +216 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
  4. package/dist-cjs/endpoint/bdd.js +46 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  6. package/dist-cjs/index.js +255 -0
  7. package/dist-cjs/models/LambdaCoreServiceException.js +8 -0
  8. package/dist-cjs/models/errors.js +93 -0
  9. package/dist-cjs/runtimeConfig.browser.js +32 -0
  10. package/dist-cjs/runtimeConfig.js +45 -0
  11. package/dist-cjs/runtimeConfig.native.js +12 -0
  12. package/dist-cjs/runtimeConfig.shared.js +38 -0
  13. package/dist-cjs/schemas/schemas_0.js +219 -0
  14. package/dist-es/LambdaCore.js +21 -0
  15. package/dist-es/LambdaCoreClient.js +47 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/CreateNetworkConnectorCommand.js +16 -0
  19. package/dist-es/commands/DeleteNetworkConnectorCommand.js +16 -0
  20. package/dist-es/commands/GetNetworkConnectorCommand.js +16 -0
  21. package/dist-es/commands/ListNetworkConnectorsCommand.js +16 -0
  22. package/dist-es/commands/UpdateNetworkConnectorCommand.js +16 -0
  23. package/dist-es/commands/index.js +5 -0
  24. package/dist-es/endpoint/EndpointParameters.js +13 -0
  25. package/dist-es/endpoint/bdd.js +46 -0
  26. package/dist-es/endpoint/endpointResolver.js +14 -0
  27. package/dist-es/extensionConfiguration.js +1 -0
  28. package/dist-es/index.js +9 -0
  29. package/dist-es/models/LambdaCoreServiceException.js +8 -0
  30. package/dist-es/models/enums.js +49 -0
  31. package/dist-es/models/errors.js +93 -0
  32. package/dist-es/models/models_0.js +1 -0
  33. package/dist-es/pagination/Interfaces.js +1 -0
  34. package/dist-es/pagination/ListNetworkConnectorsPaginator.js +4 -0
  35. package/dist-es/pagination/index.js +2 -0
  36. package/dist-es/runtimeConfig.browser.js +31 -0
  37. package/dist-es/runtimeConfig.js +44 -0
  38. package/dist-es/runtimeConfig.native.js +11 -0
  39. package/dist-es/runtimeConfig.shared.js +38 -0
  40. package/dist-es/runtimeExtensions.js +9 -0
  41. package/dist-es/schemas/schemas_0.js +199 -0
  42. package/dist-types/LambdaCore.d.ts +53 -0
  43. package/dist-types/LambdaCoreClient.d.ts +191 -0
  44. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  45. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  46. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +128 -0
  47. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +109 -0
  48. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +113 -0
  49. package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +97 -0
  50. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +128 -0
  51. package/dist-types/commands/index.d.ts +5 -0
  52. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  53. package/dist-types/endpoint/bdd.d.ts +2 -0
  54. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  55. package/dist-types/extensionConfiguration.d.ts +9 -0
  56. package/dist-types/index.d.ts +17 -0
  57. package/dist-types/models/LambdaCoreServiceException.d.ts +14 -0
  58. package/dist-types/models/enums.d.ts +143 -0
  59. package/dist-types/models/errors.d.ts +117 -0
  60. package/dist-types/models/models_0.d.ts +396 -0
  61. package/dist-types/pagination/Interfaces.d.ts +8 -0
  62. package/dist-types/pagination/ListNetworkConnectorsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  65. package/dist-types/runtimeConfig.d.ts +55 -0
  66. package/dist-types/runtimeConfig.native.d.ts +54 -0
  67. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  68. package/dist-types/runtimeExtensions.d.ts +17 -0
  69. package/dist-types/schemas/schemas_0.d.ts +33 -0
  70. package/dist-types/ts3.4/LambdaCore.d.ts +104 -0
  71. package/dist-types/ts3.4/LambdaCoreClient.d.ts +140 -0
  72. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  73. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  74. package/dist-types/ts3.4/commands/CreateNetworkConnectorCommand.d.ts +53 -0
  75. package/dist-types/ts3.4/commands/DeleteNetworkConnectorCommand.d.ts +53 -0
  76. package/dist-types/ts3.4/commands/GetNetworkConnectorCommand.d.ts +53 -0
  77. package/dist-types/ts3.4/commands/ListNetworkConnectorsCommand.d.ts +53 -0
  78. package/dist-types/ts3.4/commands/UpdateNetworkConnectorCommand.d.ts +53 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  81. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  84. package/dist-types/ts3.4/index.d.ts +12 -0
  85. package/dist-types/ts3.4/models/LambdaCoreServiceException.d.ts +9 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +65 -0
  87. package/dist-types/ts3.4/models/errors.d.ts +56 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +114 -0
  89. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  90. package/dist-types/ts3.4/pagination/ListNetworkConnectorsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  94. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  95. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  96. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  97. package/dist-types/ts3.4/schemas/schemas_0.d.ts +33 -0
  98. package/package.json +71 -0
@@ -0,0 +1,12 @@
1
+ export * from "./LambdaCoreClient";
2
+ export * from "./LambdaCore";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { LambdaCoreExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./schemas/schemas_0";
8
+ export * from "./pagination";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
12
+ export { LambdaCoreServiceException } from "./models/LambdaCoreServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class LambdaCoreServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1,65 @@
1
+ export declare const ComputeResourceType: {
2
+ readonly MicroVm: "MicroVm";
3
+ };
4
+ export type ComputeResourceType =
5
+ (typeof ComputeResourceType)[keyof typeof ComputeResourceType];
6
+ export declare const NetworkProtocol: {
7
+ readonly DualStack: "DualStack";
8
+ readonly IPv4: "IPv4";
9
+ };
10
+ export type NetworkProtocol =
11
+ (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
12
+ export declare const NetworkConnectorState: {
13
+ readonly ACTIVE: "ACTIVE";
14
+ readonly DELETE_FAILED: "DELETE_FAILED";
15
+ readonly DELETING: "DELETING";
16
+ readonly FAILED: "FAILED";
17
+ readonly INACTIVE: "INACTIVE";
18
+ readonly PENDING: "PENDING";
19
+ };
20
+ export type NetworkConnectorState =
21
+ (typeof NetworkConnectorState)[keyof typeof NetworkConnectorState];
22
+ export declare const ThrottleReason: {
23
+ readonly CallerRateLimitExceeded: "CallerRateLimitExceeded";
24
+ readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded";
25
+ readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded";
26
+ readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded";
27
+ readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded";
28
+ readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded";
29
+ };
30
+ export type ThrottleReason =
31
+ (typeof ThrottleReason)[keyof typeof ThrottleReason];
32
+ export declare const NetworkConnectorLastUpdateStatus: {
33
+ readonly Failed: "Failed";
34
+ readonly InProgress: "InProgress";
35
+ readonly Successful: "Successful";
36
+ };
37
+ export type NetworkConnectorLastUpdateStatus =
38
+ (typeof NetworkConnectorLastUpdateStatus)[keyof typeof NetworkConnectorLastUpdateStatus];
39
+ export declare const NetworkConnectorLastUpdateStatusReasonCode: {
40
+ readonly DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl";
41
+ readonly Ec2RequestLimitExceeded: "Ec2RequestLimitExceeded";
42
+ readonly InsufficientRolePermissions: "InsufficientRolePermissions";
43
+ readonly InternalError: "InternalError";
44
+ readonly InvalidSecurityGroup: "InvalidSecurityGroup";
45
+ readonly InvalidSubnet: "InvalidSubnet";
46
+ readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
47
+ };
48
+ export type NetworkConnectorLastUpdateStatusReasonCode =
49
+ (typeof NetworkConnectorLastUpdateStatusReasonCode)[keyof typeof NetworkConnectorLastUpdateStatusReasonCode];
50
+ export declare const NetworkConnectorStateReasonCode: {
51
+ readonly DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl";
52
+ readonly Ec2RequestLimitExceeded: "Ec2RequestLimitExceeded";
53
+ readonly InsufficientRolePermissions: "InsufficientRolePermissions";
54
+ readonly InternalError: "InternalError";
55
+ readonly InvalidSecurityGroup: "InvalidSecurityGroup";
56
+ readonly InvalidSubnet: "InvalidSubnet";
57
+ readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
58
+ };
59
+ export type NetworkConnectorStateReasonCode =
60
+ (typeof NetworkConnectorStateReasonCode)[keyof typeof NetworkConnectorStateReasonCode];
61
+ export declare const NetworkConnectorType: {
62
+ readonly VPC_EGRESS: "VPC_EGRESS";
63
+ };
64
+ export type NetworkConnectorType =
65
+ (typeof NetworkConnectorType)[keyof typeof NetworkConnectorType];
@@ -0,0 +1,56 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { ThrottleReason } from "./enums";
3
+ import { LambdaCoreServiceException as __BaseException } from "./LambdaCoreServiceException";
4
+ export declare class InvalidParameterValueException extends __BaseException {
5
+ readonly name: "InvalidParameterValueException";
6
+ readonly $fault: "client";
7
+ Type?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
10
+ );
11
+ }
12
+ export declare class NetworkConnectorLimitExceededException extends __BaseException {
13
+ readonly name: "NetworkConnectorLimitExceededException";
14
+ readonly $fault: "client";
15
+ Type?: string | undefined;
16
+ constructor(
17
+ opts: __ExceptionOptionType<
18
+ NetworkConnectorLimitExceededException,
19
+ __BaseException
20
+ >
21
+ );
22
+ }
23
+ export declare class ResourceConflictException extends __BaseException {
24
+ readonly name: "ResourceConflictException";
25
+ readonly $fault: "client";
26
+ Type?: string | undefined;
27
+ constructor(
28
+ opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ServiceException extends __BaseException {
32
+ readonly name: "ServiceException";
33
+ readonly $fault: "server";
34
+ Type?: string | undefined;
35
+ Message?: string | undefined;
36
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
37
+ }
38
+ export declare class TooManyRequestsException extends __BaseException {
39
+ readonly name: "TooManyRequestsException";
40
+ readonly $fault: "client";
41
+ retryAfterSeconds?: string | undefined;
42
+ Type?: string | undefined;
43
+ Reason?: ThrottleReason | undefined;
44
+ constructor(
45
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
46
+ );
47
+ }
48
+ export declare class ResourceNotFoundException extends __BaseException {
49
+ readonly name: "ResourceNotFoundException";
50
+ readonly $fault: "client";
51
+ Type?: string | undefined;
52
+ Message?: string | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
55
+ );
56
+ }
@@ -0,0 +1,114 @@
1
+ import {
2
+ ComputeResourceType,
3
+ NetworkConnectorLastUpdateStatus,
4
+ NetworkConnectorLastUpdateStatusReasonCode,
5
+ NetworkConnectorState,
6
+ NetworkConnectorStateReasonCode,
7
+ NetworkConnectorType,
8
+ NetworkProtocol,
9
+ } from "./enums";
10
+ export interface NetworkConnectorVpcEgressConfiguration {
11
+ SubnetIds?: string[] | undefined;
12
+ SecurityGroupIds?: string[] | undefined;
13
+ NetworkProtocol?: NetworkProtocol | undefined;
14
+ AssociatedComputeResourceTypes?: ComputeResourceType[] | undefined;
15
+ }
16
+ export type NetworkConnectorConfiguration =
17
+ | NetworkConnectorConfiguration.VpcEgressConfigurationMember
18
+ | NetworkConnectorConfiguration.$UnknownMember;
19
+ export declare namespace NetworkConnectorConfiguration {
20
+ interface VpcEgressConfigurationMember {
21
+ VpcEgressConfiguration: NetworkConnectorVpcEgressConfiguration;
22
+ $unknown?: never;
23
+ }
24
+ interface $UnknownMember {
25
+ VpcEgressConfiguration?: never;
26
+ $unknown: [string, any];
27
+ }
28
+ interface Visitor<T> {
29
+ VpcEgressConfiguration: (
30
+ value: NetworkConnectorVpcEgressConfiguration
31
+ ) => T;
32
+ _: (name: string, value: any) => T;
33
+ }
34
+ }
35
+ export interface CreateNetworkConnectorRequest {
36
+ Name: string | undefined;
37
+ Configuration: NetworkConnectorConfiguration | undefined;
38
+ OperatorRole?: string | undefined;
39
+ ClientToken?: string | undefined;
40
+ Tags?: Record<string, string> | undefined;
41
+ }
42
+ export interface CreateNetworkConnectorResponse {
43
+ Arn: string | undefined;
44
+ Name: string | undefined;
45
+ Id: string | undefined;
46
+ Configuration?: NetworkConnectorConfiguration | undefined;
47
+ OperatorRole?: string | undefined;
48
+ State?: NetworkConnectorState | undefined;
49
+ }
50
+ export interface DeleteNetworkConnectorRequest {
51
+ Identifier: string | undefined;
52
+ }
53
+ export interface DeleteNetworkConnectorResponse {
54
+ Arn: string | undefined;
55
+ Name: string | undefined;
56
+ Id: string | undefined;
57
+ Configuration?: NetworkConnectorConfiguration | undefined;
58
+ OperatorRole?: string | undefined;
59
+ State?: NetworkConnectorState | undefined;
60
+ }
61
+ export interface GetNetworkConnectorRequest {
62
+ Identifier: string | undefined;
63
+ }
64
+ export interface GetNetworkConnectorResponse {
65
+ Arn: string | undefined;
66
+ Name: string | undefined;
67
+ Id: string | undefined;
68
+ Version?: number | undefined;
69
+ Configuration?: NetworkConnectorConfiguration | undefined;
70
+ OperatorRole?: string | undefined;
71
+ State?: NetworkConnectorState | undefined;
72
+ StateReason?: string | undefined;
73
+ StateReasonCode?: NetworkConnectorStateReasonCode | undefined;
74
+ LastUpdateStatus?: NetworkConnectorLastUpdateStatus | undefined;
75
+ LastUpdateStatusReason?: string | undefined;
76
+ LastUpdateStatusReasonCode?:
77
+ | NetworkConnectorLastUpdateStatusReasonCode
78
+ | undefined;
79
+ LastModified?: Date | undefined;
80
+ }
81
+ export interface ListNetworkConnectorsRequest {
82
+ State?: NetworkConnectorState | undefined;
83
+ Marker?: string | undefined;
84
+ MaxItems?: number | undefined;
85
+ }
86
+ export interface NetworkConnectorSummary {
87
+ Arn: string | undefined;
88
+ Name: string | undefined;
89
+ Id: string | undefined;
90
+ Type: NetworkConnectorType | undefined;
91
+ State?: NetworkConnectorState | undefined;
92
+ LastModified?: Date | undefined;
93
+ }
94
+ export interface ListNetworkConnectorsResponse {
95
+ NetworkConnectors: NetworkConnectorSummary[] | undefined;
96
+ NextMarker?: string | undefined;
97
+ }
98
+ export interface UpdateNetworkConnectorRequest {
99
+ Identifier: string | undefined;
100
+ Configuration?: NetworkConnectorConfiguration | undefined;
101
+ OperatorRole?: string | undefined;
102
+ ClientToken?: string | undefined;
103
+ }
104
+ export interface UpdateNetworkConnectorResponse {
105
+ Arn: string | undefined;
106
+ Name: string | undefined;
107
+ Id: string | undefined;
108
+ OperatorRole?: string | undefined;
109
+ Configuration?: NetworkConnectorConfiguration | undefined;
110
+ State?: NetworkConnectorState | undefined;
111
+ LastUpdateStatus?: NetworkConnectorLastUpdateStatus | undefined;
112
+ LastUpdateStatusReason?: string | undefined;
113
+ LastModified?: Date | undefined;
114
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { LambdaCoreClient } from "../LambdaCoreClient";
3
+ export interface LambdaCorePaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: LambdaCoreClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListNetworkConnectorsCommandInput,
4
+ ListNetworkConnectorsCommandOutput,
5
+ } from "../commands/ListNetworkConnectorsCommand";
6
+ import { LambdaCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListNetworkConnectors: (
8
+ config: LambdaCorePaginationConfiguration,
9
+ input: ListNetworkConnectorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListNetworkConnectorsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListNetworkConnectorsPaginator";
@@ -0,0 +1,100 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { LambdaCoreClientConfig } from "./LambdaCoreClient";
3
+ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (
15
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ profile?: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
+ userAgentAppId?:
51
+ | string
52
+ | undefined
53
+ | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?:
55
+ | import("@smithy/types").RetryStrategy
56
+ | import("@smithy/types").RetryStrategyV2;
57
+ endpoint?:
58
+ | ((
59
+ | string
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ) &
65
+ (
66
+ | string
67
+ | import("@smithy/types").Provider<string>
68
+ | import("@smithy/types").Endpoint
69
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
70
+ | import("@smithy/types").EndpointV2
71
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
72
+ ))
73
+ | undefined;
74
+ endpointProvider: (
75
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
76
+ context?: {
77
+ logger?: import("@smithy/types").Logger;
78
+ }
79
+ ) => import("@smithy/types").EndpointV2;
80
+ tls?: boolean;
81
+ serviceConfiguredEndpoint?: never;
82
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaCoreHttpAuthSchemeProvider;
85
+ credentials?:
86
+ | import("@smithy/types").AwsCredentialIdentity
87
+ | import("@smithy/types").AwsCredentialIdentityProvider;
88
+ signer?:
89
+ | import("@smithy/types").RequestSigner
90
+ | ((
91
+ authScheme?: import("@smithy/types").AuthScheme
92
+ ) => Promise<import("@smithy/types").RequestSigner>);
93
+ signingEscapePath?: boolean;
94
+ systemClockOffset?: number;
95
+ signingRegion?: string;
96
+ signerConstructor?: new (
97
+ options: import("@smithy/signature-v4").SignatureV4Init &
98
+ import("@smithy/signature-v4").SignatureV4CryptoInit
99
+ ) => import("@smithy/types").RequestSigner;
100
+ };
@@ -0,0 +1,95 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { LambdaCoreClientConfig } from "./LambdaCoreClient";
3
+ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
+ >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider:
11
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
+ | ((
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
+ defaultUserAgentProvider: (
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
17
+ ) => Promise<import("@smithy/types").UserAgent>;
18
+ maxAttempts: number | import("@smithy/types").Provider<number>;
19
+ region: string | import("@smithy/types").Provider<string>;
20
+ requestHandler:
21
+ | RequestHandler
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
+ retryMode: string | import("@smithy/types").Provider<string>;
24
+ sha256: import("@smithy/types").HashConstructor;
25
+ streamCollector: import("@smithy/types").StreamCollector;
26
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
+ cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ profile?: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
+ retryStrategy?:
51
+ | import("@smithy/types").RetryStrategy
52
+ | import("@smithy/types").RetryStrategyV2;
53
+ endpoint?:
54
+ | ((
55
+ | string
56
+ | import("@smithy/types").Endpoint
57
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
+ | import("@smithy/types").EndpointV2
59
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
60
+ ) &
61
+ (
62
+ | string
63
+ | import("@smithy/types").Provider<string>
64
+ | import("@smithy/types").Endpoint
65
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
+ | import("@smithy/types").EndpointV2
67
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
68
+ ))
69
+ | undefined;
70
+ endpointProvider: (
71
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
72
+ context?: {
73
+ logger?: import("@smithy/types").Logger;
74
+ }
75
+ ) => import("@smithy/types").EndpointV2;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
78
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaCoreHttpAuthSchemeProvider;
80
+ credentials?:
81
+ | import("@smithy/types").AwsCredentialIdentity
82
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
+ signer?:
84
+ | import("@smithy/types").RequestSigner
85
+ | ((
86
+ authScheme?: import("@smithy/types").AuthScheme
87
+ ) => Promise<import("@smithy/types").RequestSigner>);
88
+ signingEscapePath?: boolean;
89
+ systemClockOffset?: number;
90
+ signingRegion?: string;
91
+ signerConstructor?: new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner;
95
+ };
@@ -0,0 +1,104 @@
1
+ import { LambdaCoreClientConfig } from "./LambdaCoreClient";
2
+ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: Uint8Array | string) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: Uint8Array | string) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
32
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
+ region: string | import("@smithy/types").Provider<any>;
35
+ profile?: string;
36
+ defaultUserAgentProvider: (
37
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
38
+ ) => Promise<import("@smithy/types").UserAgent>;
39
+ credentialDefaultProvider:
40
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
41
+ | ((
42
+ _: unknown
43
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
+ maxAttempts: number | import("@smithy/types").Provider<number>;
45
+ retryMode: string | import("@smithy/types").Provider<string>;
46
+ logger: import("@smithy/types").Logger;
47
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
48
+ defaultsMode:
49
+ | import("@smithy/core/client").DefaultsMode
50
+ | import("@smithy/types").Provider<
51
+ import("@smithy/core/client").DefaultsMode
52
+ >;
53
+ customUserAgent?: string | import("@smithy/types").UserAgent;
54
+ userAgentAppId?:
55
+ | string
56
+ | undefined
57
+ | import("@smithy/types").Provider<string | undefined>;
58
+ retryStrategy?:
59
+ | import("@smithy/types").RetryStrategy
60
+ | import("@smithy/types").RetryStrategyV2;
61
+ endpoint?:
62
+ | ((
63
+ | string
64
+ | import("@smithy/types").Endpoint
65
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
+ | import("@smithy/types").EndpointV2
67
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
68
+ ) &
69
+ (
70
+ | string
71
+ | import("@smithy/types").Provider<string>
72
+ | import("@smithy/types").Endpoint
73
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
74
+ | import("@smithy/types").EndpointV2
75
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
76
+ ))
77
+ | undefined;
78
+ endpointProvider: (
79
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
+ context?: {
81
+ logger?: import("@smithy/types").Logger;
82
+ }
83
+ ) => import("@smithy/types").EndpointV2;
84
+ tls?: boolean;
85
+ serviceConfiguredEndpoint?: never;
86
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
87
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
88
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaCoreHttpAuthSchemeProvider;
89
+ credentials?:
90
+ | import("@smithy/types").AwsCredentialIdentity
91
+ | import("@smithy/types").AwsCredentialIdentityProvider;
92
+ signer?:
93
+ | import("@smithy/types").RequestSigner
94
+ | ((
95
+ authScheme?: import("@smithy/types").AuthScheme
96
+ ) => Promise<import("@smithy/types").RequestSigner>);
97
+ signingEscapePath?: boolean;
98
+ systemClockOffset?: number;
99
+ signingRegion?: string;
100
+ signerConstructor?: new (
101
+ options: import("@smithy/signature-v4").SignatureV4Init &
102
+ import("@smithy/signature-v4").SignatureV4CryptoInit
103
+ ) => import("@smithy/types").RequestSigner;
104
+ };
@@ -0,0 +1,30 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import { LambdaCoreClientConfig } from "./LambdaCoreClient";
3
+ export declare const getRuntimeConfig: (config: LambdaCoreClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaCoreHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
26
+ serviceId: string;
27
+ urlParser: import("@smithy/types").UrlParser;
28
+ utf8Decoder: import("@smithy/types").Decoder;
29
+ utf8Encoder: (input: Uint8Array | string) => string;
30
+ };
@@ -0,0 +1,11 @@
1
+ import { LambdaCoreExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: LambdaCoreExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
@@ -0,0 +1,33 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
8
+ export declare var LambdaCoreServiceException$: StaticErrorSchema;
9
+ export declare var InvalidParameterValueException$: StaticErrorSchema;
10
+ export declare var NetworkConnectorLimitExceededException$: StaticErrorSchema;
11
+ export declare var ResourceConflictException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceException$: StaticErrorSchema;
14
+ export declare var TooManyRequestsException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var CreateNetworkConnectorRequest$: StaticStructureSchema;
17
+ export declare var CreateNetworkConnectorResponse$: StaticStructureSchema;
18
+ export declare var DeleteNetworkConnectorRequest$: StaticStructureSchema;
19
+ export declare var DeleteNetworkConnectorResponse$: StaticStructureSchema;
20
+ export declare var GetNetworkConnectorRequest$: StaticStructureSchema;
21
+ export declare var GetNetworkConnectorResponse$: StaticStructureSchema;
22
+ export declare var ListNetworkConnectorsRequest$: StaticStructureSchema;
23
+ export declare var ListNetworkConnectorsResponse$: StaticStructureSchema;
24
+ export declare var NetworkConnectorSummary$: StaticStructureSchema;
25
+ export declare var NetworkConnectorVpcEgressConfiguration$: StaticStructureSchema;
26
+ export declare var UpdateNetworkConnectorRequest$: StaticStructureSchema;
27
+ export declare var UpdateNetworkConnectorResponse$: StaticStructureSchema;
28
+ export declare var NetworkConnectorConfiguration$: StaticUnionSchema;
29
+ export declare var CreateNetworkConnector$: StaticOperationSchema;
30
+ export declare var DeleteNetworkConnector$: StaticOperationSchema;
31
+ export declare var GetNetworkConnector$: StaticOperationSchema;
32
+ export declare var ListNetworkConnectors$: StaticOperationSchema;
33
+ export declare var UpdateNetworkConnector$: StaticOperationSchema;