@aws-sdk/client-lambda 3.45.0 → 3.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/dist-cjs/endpoints.js +175 -23
- package/dist-cjs/models/models_0.js +3 -208
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +175 -23
- package/dist-es/models/models_0.js +0 -136
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/LambdaClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -204
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -136
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
|
@@ -125,12 +125,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
|
|
|
125
125
|
*/
|
|
126
126
|
message?: string;
|
|
127
127
|
}
|
|
128
|
-
export declare namespace InvalidParameterValueException {
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
133
|
-
}
|
|
134
128
|
/**
|
|
135
129
|
* <p>The permissions policy for the resource is too large. <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Learn more</a>
|
|
136
130
|
* </p>
|
|
@@ -141,12 +135,6 @@ export interface PolicyLengthExceededException extends __SmithyException, $Metad
|
|
|
141
135
|
Type?: string;
|
|
142
136
|
message?: string;
|
|
143
137
|
}
|
|
144
|
-
export declare namespace PolicyLengthExceededException {
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
const filterSensitiveLog: (obj: PolicyLengthExceededException) => any;
|
|
149
|
-
}
|
|
150
138
|
/**
|
|
151
139
|
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the
|
|
152
140
|
* <code>GetFunction</code> or the <code>GetAlias</code> API to retrieve the latest RevisionId for your
|
|
@@ -164,12 +152,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
164
152
|
*/
|
|
165
153
|
message?: string;
|
|
166
154
|
}
|
|
167
|
-
export declare namespace PreconditionFailedException {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
172
|
-
}
|
|
173
155
|
/**
|
|
174
156
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
175
157
|
*/
|
|
@@ -185,12 +167,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
185
167
|
*/
|
|
186
168
|
message?: string;
|
|
187
169
|
}
|
|
188
|
-
export declare namespace ResourceConflictException {
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
193
|
-
}
|
|
194
170
|
/**
|
|
195
171
|
* <p>The resource specified in the request does not exist.</p>
|
|
196
172
|
*/
|
|
@@ -200,12 +176,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
200
176
|
Type?: string;
|
|
201
177
|
Message?: string;
|
|
202
178
|
}
|
|
203
|
-
export declare namespace ResourceNotFoundException {
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
208
|
-
}
|
|
209
179
|
/**
|
|
210
180
|
* <p>The Lambda service encountered an internal error.</p>
|
|
211
181
|
*/
|
|
@@ -215,12 +185,6 @@ export interface ServiceException extends __SmithyException, $MetadataBearer {
|
|
|
215
185
|
Type?: string;
|
|
216
186
|
Message?: string;
|
|
217
187
|
}
|
|
218
|
-
export declare namespace ServiceException {
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
const filterSensitiveLog: (obj: ServiceException) => any;
|
|
223
|
-
}
|
|
224
188
|
export declare enum ThrottleReason {
|
|
225
189
|
CallerRateLimitExceeded = "CallerRateLimitExceeded",
|
|
226
190
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded",
|
|
@@ -242,12 +206,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
242
206
|
message?: string;
|
|
243
207
|
Reason?: ThrottleReason | string;
|
|
244
208
|
}
|
|
245
|
-
export declare namespace TooManyRequestsException {
|
|
246
|
-
/**
|
|
247
|
-
* @internal
|
|
248
|
-
*/
|
|
249
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
250
|
-
}
|
|
251
209
|
export interface AddPermissionRequest {
|
|
252
210
|
/**
|
|
253
211
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
@@ -1011,12 +969,6 @@ export interface CodeSigningConfigNotFoundException extends __SmithyException, $
|
|
|
1011
969
|
Type?: string;
|
|
1012
970
|
Message?: string;
|
|
1013
971
|
}
|
|
1014
|
-
export declare namespace CodeSigningConfigNotFoundException {
|
|
1015
|
-
/**
|
|
1016
|
-
* @internal
|
|
1017
|
-
*/
|
|
1018
|
-
const filterSensitiveLog: (obj: CodeSigningConfigNotFoundException) => any;
|
|
1019
|
-
}
|
|
1020
972
|
/**
|
|
1021
973
|
* <p>You have exceeded your maximum total code size per account. <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Learn more</a>
|
|
1022
974
|
* </p>
|
|
@@ -1030,12 +982,6 @@ export interface CodeStorageExceededException extends __SmithyException, $Metada
|
|
|
1030
982
|
Type?: string;
|
|
1031
983
|
message?: string;
|
|
1032
984
|
}
|
|
1033
|
-
export declare namespace CodeStorageExceededException {
|
|
1034
|
-
/**
|
|
1035
|
-
* @internal
|
|
1036
|
-
*/
|
|
1037
|
-
const filterSensitiveLog: (obj: CodeStorageExceededException) => any;
|
|
1038
|
-
}
|
|
1039
985
|
/**
|
|
1040
986
|
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy
|
|
1041
987
|
* is set to ENFORCE. Lambda blocks the deployment. </p>
|
|
@@ -1046,12 +992,6 @@ export interface CodeVerificationFailedException extends __SmithyException, $Met
|
|
|
1046
992
|
Type?: string;
|
|
1047
993
|
Message?: string;
|
|
1048
994
|
}
|
|
1049
|
-
export declare namespace CodeVerificationFailedException {
|
|
1050
|
-
/**
|
|
1051
|
-
* @internal
|
|
1052
|
-
*/
|
|
1053
|
-
const filterSensitiveLog: (obj: CodeVerificationFailedException) => any;
|
|
1054
|
-
}
|
|
1055
995
|
/**
|
|
1056
996
|
* <p>The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment
|
|
1057
997
|
* package directly, or specify the URI of a container image.</p>
|
|
@@ -1703,12 +1643,6 @@ export interface InvalidCodeSignatureException extends __SmithyException, $Metad
|
|
|
1703
1643
|
Type?: string;
|
|
1704
1644
|
Message?: string;
|
|
1705
1645
|
}
|
|
1706
|
-
export declare namespace InvalidCodeSignatureException {
|
|
1707
|
-
/**
|
|
1708
|
-
* @internal
|
|
1709
|
-
*/
|
|
1710
|
-
const filterSensitiveLog: (obj: InvalidCodeSignatureException) => any;
|
|
1711
|
-
}
|
|
1712
1646
|
export interface DeleteAliasRequest {
|
|
1713
1647
|
/**
|
|
1714
1648
|
* <p>The name of the Lambda function.</p>
|
|
@@ -1786,12 +1720,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1786
1720
|
Type?: string;
|
|
1787
1721
|
Message?: string;
|
|
1788
1722
|
}
|
|
1789
|
-
export declare namespace ResourceInUseException {
|
|
1790
|
-
/**
|
|
1791
|
-
* @internal
|
|
1792
|
-
*/
|
|
1793
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
1794
|
-
}
|
|
1795
1723
|
export interface DeleteFunctionRequest {
|
|
1796
1724
|
/**
|
|
1797
1725
|
* <p>The name of the Lambda function or version.</p>
|
|
@@ -2668,12 +2596,6 @@ export interface ProvisionedConcurrencyConfigNotFoundException extends __SmithyE
|
|
|
2668
2596
|
Type?: string;
|
|
2669
2597
|
message?: string;
|
|
2670
2598
|
}
|
|
2671
|
-
export declare namespace ProvisionedConcurrencyConfigNotFoundException {
|
|
2672
|
-
/**
|
|
2673
|
-
* @internal
|
|
2674
|
-
*/
|
|
2675
|
-
const filterSensitiveLog: (obj: ProvisionedConcurrencyConfigNotFoundException) => any;
|
|
2676
|
-
}
|
|
2677
2599
|
/**
|
|
2678
2600
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
2679
2601
|
*/
|
|
@@ -2683,12 +2605,6 @@ export interface EC2AccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
2683
2605
|
Type?: string;
|
|
2684
2606
|
Message?: string;
|
|
2685
2607
|
}
|
|
2686
|
-
export declare namespace EC2AccessDeniedException {
|
|
2687
|
-
/**
|
|
2688
|
-
* @internal
|
|
2689
|
-
*/
|
|
2690
|
-
const filterSensitiveLog: (obj: EC2AccessDeniedException) => any;
|
|
2691
|
-
}
|
|
2692
2608
|
/**
|
|
2693
2609
|
* <p>Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided
|
|
2694
2610
|
* for the Lambda function.</p>
|
|
@@ -2699,12 +2615,6 @@ export interface EC2ThrottledException extends __SmithyException, $MetadataBeare
|
|
|
2699
2615
|
Type?: string;
|
|
2700
2616
|
Message?: string;
|
|
2701
2617
|
}
|
|
2702
|
-
export declare namespace EC2ThrottledException {
|
|
2703
|
-
/**
|
|
2704
|
-
* @internal
|
|
2705
|
-
*/
|
|
2706
|
-
const filterSensitiveLog: (obj: EC2ThrottledException) => any;
|
|
2707
|
-
}
|
|
2708
2618
|
/**
|
|
2709
2619
|
* <p>Lambda received an unexpected EC2 client exception while setting up for the Lambda function.</p>
|
|
2710
2620
|
*/
|
|
@@ -2715,12 +2625,6 @@ export interface EC2UnexpectedException extends __SmithyException, $MetadataBear
|
|
|
2715
2625
|
Message?: string;
|
|
2716
2626
|
EC2ErrorCode?: string;
|
|
2717
2627
|
}
|
|
2718
|
-
export declare namespace EC2UnexpectedException {
|
|
2719
|
-
/**
|
|
2720
|
-
* @internal
|
|
2721
|
-
*/
|
|
2722
|
-
const filterSensitiveLog: (obj: EC2UnexpectedException) => any;
|
|
2723
|
-
}
|
|
2724
2628
|
/**
|
|
2725
2629
|
* <p>An error occurred when reading from or writing to a connected file system.</p>
|
|
2726
2630
|
*/
|
|
@@ -2730,12 +2634,6 @@ export interface EFSIOException extends __SmithyException, $MetadataBearer {
|
|
|
2730
2634
|
Type?: string;
|
|
2731
2635
|
Message?: string;
|
|
2732
2636
|
}
|
|
2733
|
-
export declare namespace EFSIOException {
|
|
2734
|
-
/**
|
|
2735
|
-
* @internal
|
|
2736
|
-
*/
|
|
2737
|
-
const filterSensitiveLog: (obj: EFSIOException) => any;
|
|
2738
|
-
}
|
|
2739
2637
|
/**
|
|
2740
2638
|
* <p>The function couldn't make a network connection to the configured file system.</p>
|
|
2741
2639
|
*/
|
|
@@ -2745,12 +2643,6 @@ export interface EFSMountConnectivityException extends __SmithyException, $Metad
|
|
|
2745
2643
|
Type?: string;
|
|
2746
2644
|
Message?: string;
|
|
2747
2645
|
}
|
|
2748
|
-
export declare namespace EFSMountConnectivityException {
|
|
2749
|
-
/**
|
|
2750
|
-
* @internal
|
|
2751
|
-
*/
|
|
2752
|
-
const filterSensitiveLog: (obj: EFSMountConnectivityException) => any;
|
|
2753
|
-
}
|
|
2754
2646
|
/**
|
|
2755
2647
|
* <p>The function couldn't mount the configured file system due to a permission or configuration issue.</p>
|
|
2756
2648
|
*/
|
|
@@ -2760,12 +2652,6 @@ export interface EFSMountFailureException extends __SmithyException, $MetadataBe
|
|
|
2760
2652
|
Type?: string;
|
|
2761
2653
|
Message?: string;
|
|
2762
2654
|
}
|
|
2763
|
-
export declare namespace EFSMountFailureException {
|
|
2764
|
-
/**
|
|
2765
|
-
* @internal
|
|
2766
|
-
*/
|
|
2767
|
-
const filterSensitiveLog: (obj: EFSMountFailureException) => any;
|
|
2768
|
-
}
|
|
2769
2655
|
/**
|
|
2770
2656
|
* <p>The function was able to make a network connection to the configured file system, but the mount operation
|
|
2771
2657
|
* timed out.</p>
|
|
@@ -2776,12 +2662,6 @@ export interface EFSMountTimeoutException extends __SmithyException, $MetadataBe
|
|
|
2776
2662
|
Type?: string;
|
|
2777
2663
|
Message?: string;
|
|
2778
2664
|
}
|
|
2779
|
-
export declare namespace EFSMountTimeoutException {
|
|
2780
|
-
/**
|
|
2781
|
-
* @internal
|
|
2782
|
-
*/
|
|
2783
|
-
const filterSensitiveLog: (obj: EFSMountTimeoutException) => any;
|
|
2784
|
-
}
|
|
2785
2665
|
/**
|
|
2786
2666
|
* <p>Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda
|
|
2787
2667
|
* function configuration, because the limit for network interfaces has been reached.</p>
|
|
@@ -2792,12 +2672,6 @@ export interface ENILimitReachedException extends __SmithyException, $MetadataBe
|
|
|
2792
2672
|
Type?: string;
|
|
2793
2673
|
Message?: string;
|
|
2794
2674
|
}
|
|
2795
|
-
export declare namespace ENILimitReachedException {
|
|
2796
|
-
/**
|
|
2797
|
-
* @internal
|
|
2798
|
-
*/
|
|
2799
|
-
const filterSensitiveLog: (obj: ENILimitReachedException) => any;
|
|
2800
|
-
}
|
|
2801
2675
|
/**
|
|
2802
2676
|
* <p>The request body could not be parsed as JSON.</p>
|
|
2803
2677
|
*/
|
|
@@ -2813,12 +2687,6 @@ export interface InvalidRequestContentException extends __SmithyException, $Meta
|
|
|
2813
2687
|
*/
|
|
2814
2688
|
message?: string;
|
|
2815
2689
|
}
|
|
2816
|
-
export declare namespace InvalidRequestContentException {
|
|
2817
|
-
/**
|
|
2818
|
-
* @internal
|
|
2819
|
-
*/
|
|
2820
|
-
const filterSensitiveLog: (obj: InvalidRequestContentException) => any;
|
|
2821
|
-
}
|
|
2822
2690
|
/**
|
|
2823
2691
|
* <p>The runtime or runtime version specified is not supported.</p>
|
|
2824
2692
|
*/
|
|
@@ -2828,12 +2696,6 @@ export interface InvalidRuntimeException extends __SmithyException, $MetadataBea
|
|
|
2828
2696
|
Type?: string;
|
|
2829
2697
|
Message?: string;
|
|
2830
2698
|
}
|
|
2831
|
-
export declare namespace InvalidRuntimeException {
|
|
2832
|
-
/**
|
|
2833
|
-
* @internal
|
|
2834
|
-
*/
|
|
2835
|
-
const filterSensitiveLog: (obj: InvalidRuntimeException) => any;
|
|
2836
|
-
}
|
|
2837
2699
|
/**
|
|
2838
2700
|
* <p>The Security Group ID provided in the Lambda function VPC configuration is invalid.</p>
|
|
2839
2701
|
*/
|
|
@@ -2843,12 +2705,6 @@ export interface InvalidSecurityGroupIDException extends __SmithyException, $Met
|
|
|
2843
2705
|
Type?: string;
|
|
2844
2706
|
Message?: string;
|
|
2845
2707
|
}
|
|
2846
|
-
export declare namespace InvalidSecurityGroupIDException {
|
|
2847
|
-
/**
|
|
2848
|
-
* @internal
|
|
2849
|
-
*/
|
|
2850
|
-
const filterSensitiveLog: (obj: InvalidSecurityGroupIDException) => any;
|
|
2851
|
-
}
|
|
2852
2708
|
/**
|
|
2853
2709
|
* <p>The Subnet ID provided in the Lambda function VPC configuration is invalid.</p>
|
|
2854
2710
|
*/
|
|
@@ -2858,12 +2714,6 @@ export interface InvalidSubnetIDException extends __SmithyException, $MetadataBe
|
|
|
2858
2714
|
Type?: string;
|
|
2859
2715
|
Message?: string;
|
|
2860
2716
|
}
|
|
2861
|
-
export declare namespace InvalidSubnetIDException {
|
|
2862
|
-
/**
|
|
2863
|
-
* @internal
|
|
2864
|
-
*/
|
|
2865
|
-
const filterSensitiveLog: (obj: InvalidSubnetIDException) => any;
|
|
2866
|
-
}
|
|
2867
2717
|
/**
|
|
2868
2718
|
* <p>Lambda could not unzip the deployment package.</p>
|
|
2869
2719
|
*/
|
|
@@ -2873,12 +2723,6 @@ export interface InvalidZipFileException extends __SmithyException, $MetadataBea
|
|
|
2873
2723
|
Type?: string;
|
|
2874
2724
|
Message?: string;
|
|
2875
2725
|
}
|
|
2876
|
-
export declare namespace InvalidZipFileException {
|
|
2877
|
-
/**
|
|
2878
|
-
* @internal
|
|
2879
|
-
*/
|
|
2880
|
-
const filterSensitiveLog: (obj: InvalidZipFileException) => any;
|
|
2881
|
-
}
|
|
2882
2726
|
export declare enum InvocationType {
|
|
2883
2727
|
DryRun = "DryRun",
|
|
2884
2728
|
Event = "Event",
|
|
@@ -3003,12 +2847,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
3003
2847
|
Type?: string;
|
|
3004
2848
|
Message?: string;
|
|
3005
2849
|
}
|
|
3006
|
-
export declare namespace KMSAccessDeniedException {
|
|
3007
|
-
/**
|
|
3008
|
-
* @internal
|
|
3009
|
-
*/
|
|
3010
|
-
const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
|
|
3011
|
-
}
|
|
3012
2850
|
/**
|
|
3013
2851
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda
|
|
3014
2852
|
* function's KMS key settings.</p>
|
|
@@ -3019,12 +2857,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
|
|
|
3019
2857
|
Type?: string;
|
|
3020
2858
|
Message?: string;
|
|
3021
2859
|
}
|
|
3022
|
-
export declare namespace KMSDisabledException {
|
|
3023
|
-
/**
|
|
3024
|
-
* @internal
|
|
3025
|
-
*/
|
|
3026
|
-
const filterSensitiveLog: (obj: KMSDisabledException) => any;
|
|
3027
|
-
}
|
|
3028
2860
|
/**
|
|
3029
2861
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for
|
|
3030
2862
|
* Decrypt. Check the function's KMS key settings.</p>
|
|
@@ -3035,12 +2867,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
3035
2867
|
Type?: string;
|
|
3036
2868
|
Message?: string;
|
|
3037
2869
|
}
|
|
3038
|
-
export declare namespace KMSInvalidStateException {
|
|
3039
|
-
/**
|
|
3040
|
-
* @internal
|
|
3041
|
-
*/
|
|
3042
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
3043
|
-
}
|
|
3044
2870
|
/**
|
|
3045
2871
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's
|
|
3046
2872
|
* KMS key settings. </p>
|
|
@@ -3051,12 +2877,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
|
|
|
3051
2877
|
Type?: string;
|
|
3052
2878
|
Message?: string;
|
|
3053
2879
|
}
|
|
3054
|
-
export declare namespace KMSNotFoundException {
|
|
3055
|
-
/**
|
|
3056
|
-
* @internal
|
|
3057
|
-
*/
|
|
3058
|
-
const filterSensitiveLog: (obj: KMSNotFoundException) => any;
|
|
3059
|
-
}
|
|
3060
2880
|
/**
|
|
3061
2881
|
* <p>The request payload exceeded the <code>Invoke</code> request body JSON input limit. For more information, see
|
|
3062
2882
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Limits</a>. </p>
|
|
@@ -3067,12 +2887,6 @@ export interface RequestTooLargeException extends __SmithyException, $MetadataBe
|
|
|
3067
2887
|
Type?: string;
|
|
3068
2888
|
message?: string;
|
|
3069
2889
|
}
|
|
3070
|
-
export declare namespace RequestTooLargeException {
|
|
3071
|
-
/**
|
|
3072
|
-
* @internal
|
|
3073
|
-
*/
|
|
3074
|
-
const filterSensitiveLog: (obj: RequestTooLargeException) => any;
|
|
3075
|
-
}
|
|
3076
2890
|
/**
|
|
3077
2891
|
* <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to
|
|
3078
2892
|
* reestablish and try again.</p>
|
|
@@ -3089,12 +2903,6 @@ export interface ResourceNotReadyException extends __SmithyException, $MetadataB
|
|
|
3089
2903
|
*/
|
|
3090
2904
|
message?: string;
|
|
3091
2905
|
}
|
|
3092
|
-
export declare namespace ResourceNotReadyException {
|
|
3093
|
-
/**
|
|
3094
|
-
* @internal
|
|
3095
|
-
*/
|
|
3096
|
-
const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
|
|
3097
|
-
}
|
|
3098
2906
|
/**
|
|
3099
2907
|
* <p>Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets
|
|
3100
2908
|
* has no available IP addresses.</p>
|
|
@@ -3105,12 +2913,6 @@ export interface SubnetIPAddressLimitReachedException extends __SmithyException,
|
|
|
3105
2913
|
Type?: string;
|
|
3106
2914
|
Message?: string;
|
|
3107
2915
|
}
|
|
3108
|
-
export declare namespace SubnetIPAddressLimitReachedException {
|
|
3109
|
-
/**
|
|
3110
|
-
* @internal
|
|
3111
|
-
*/
|
|
3112
|
-
const filterSensitiveLog: (obj: SubnetIPAddressLimitReachedException) => any;
|
|
3113
|
-
}
|
|
3114
2916
|
/**
|
|
3115
2917
|
* <p>The content type of the <code>Invoke</code> request body is not JSON.</p>
|
|
3116
2918
|
*/
|
|
@@ -3120,12 +2922,6 @@ export interface UnsupportedMediaTypeException extends __SmithyException, $Metad
|
|
|
3120
2922
|
Type?: string;
|
|
3121
2923
|
message?: string;
|
|
3122
2924
|
}
|
|
3123
|
-
export declare namespace UnsupportedMediaTypeException {
|
|
3124
|
-
/**
|
|
3125
|
-
* @internal
|
|
3126
|
-
*/
|
|
3127
|
-
const filterSensitiveLog: (obj: UnsupportedMediaTypeException) => any;
|
|
3128
|
-
}
|
|
3129
2925
|
export interface InvokeAsyncRequest {
|
|
3130
2926
|
/**
|
|
3131
2927
|
* <p>The name of the Lambda function.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
10
10
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
@@ -109,6 +109,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
109
109
|
regionInfoProvider?: RegionInfoProvider;
|
|
110
110
|
|
|
111
111
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
|
|
113
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
112
114
|
}
|
|
113
115
|
declare type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
114
116
|
|