@aws-sdk/client-lambda 3.218.0 → 3.222.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +90 -4
- package/dist-cjs/protocols/Aws_restJson1.js +83 -0
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForPublishedVersionActive.js +54 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +81 -0
- package/dist-es/protocols/Aws_restJson1.js +84 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForPublishedVersionActive.js +49 -0
- package/dist-types/Lambda.d.ts +77 -80
- package/dist-types/commands/AddPermissionCommand.d.ts +13 -13
- package/dist-types/commands/CreateFunctionCommand.d.ts +26 -27
- package/dist-types/commands/DeleteFunctionCommand.d.ts +2 -3
- package/dist-types/commands/InvokeCommand.d.ts +10 -8
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -4
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -15
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +7 -7
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +339 -209
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +70 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForPublishedVersionActive.d.ts +14 -0
- package/package.json +30 -29
|
@@ -88,7 +88,7 @@ export interface AddLayerVersionPermissionResponse {
|
|
|
88
88
|
RevisionId?: string;
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* <p>One of the parameters in the request is
|
|
91
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
92
92
|
*/
|
|
93
93
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
94
94
|
readonly name: "InvalidParameterValueException";
|
|
@@ -103,8 +103,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
103
103
|
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* <p>The permissions policy for the resource is too large. <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">
|
|
107
|
-
* </p>
|
|
106
|
+
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
108
107
|
*/
|
|
109
108
|
export declare class PolicyLengthExceededException extends __BaseException {
|
|
110
109
|
readonly name: "PolicyLengthExceededException";
|
|
@@ -116,9 +115,8 @@ export declare class PolicyLengthExceededException extends __BaseException {
|
|
|
116
115
|
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
119
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the
|
|
120
|
-
*
|
|
121
|
-
* resource.</p>
|
|
118
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the <code>GetFunction</code> or the <code>GetAlias</code>
|
|
119
|
+
* API operation to retrieve the latest RevisionId for your resource.</p>
|
|
122
120
|
*/
|
|
123
121
|
export declare class PreconditionFailedException extends __BaseException {
|
|
124
122
|
readonly name: "PreconditionFailedException";
|
|
@@ -176,12 +174,13 @@ export declare class ServiceException extends __BaseException {
|
|
|
176
174
|
export declare enum ThrottleReason {
|
|
177
175
|
CallerRateLimitExceeded = "CallerRateLimitExceeded",
|
|
178
176
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded",
|
|
177
|
+
ConcurrentSnapshotCreateLimitExceeded = "ConcurrentSnapshotCreateLimitExceeded",
|
|
179
178
|
FunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded",
|
|
180
179
|
ReservedFunctionConcurrentInvocationLimitExceeded = "ReservedFunctionConcurrentInvocationLimitExceeded",
|
|
181
180
|
ReservedFunctionInvocationRateLimitExceeded = "ReservedFunctionInvocationRateLimitExceeded"
|
|
182
181
|
}
|
|
183
182
|
/**
|
|
184
|
-
* <p>The request throughput limit was exceeded
|
|
183
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
185
184
|
*/
|
|
186
185
|
export declare class TooManyRequestsException extends __BaseException {
|
|
187
186
|
readonly name: "TooManyRequestsException";
|
|
@@ -210,15 +209,15 @@ export interface AddPermissionRequest {
|
|
|
210
209
|
* <ul>
|
|
211
210
|
* <li>
|
|
212
211
|
* <p>
|
|
213
|
-
* <b>Function name</b>
|
|
212
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
214
213
|
* </li>
|
|
215
214
|
* <li>
|
|
216
215
|
* <p>
|
|
217
|
-
* <b>Function ARN</b>
|
|
216
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
218
217
|
* </li>
|
|
219
218
|
* <li>
|
|
220
219
|
* <p>
|
|
221
|
-
* <b>Partial ARN</b>
|
|
220
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
222
221
|
* </li>
|
|
223
222
|
* </ul>
|
|
224
223
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -235,24 +234,25 @@ export interface AddPermissionRequest {
|
|
|
235
234
|
*/
|
|
236
235
|
Action: string | undefined;
|
|
237
236
|
/**
|
|
238
|
-
* <p>The Amazon Web
|
|
239
|
-
*
|
|
237
|
+
* <p>The Amazon Web Service or Amazon Web Services account that invokes the function. If you specify a
|
|
238
|
+
* service, use <code>SourceArn</code> or <code>SourceAccount</code> to limit who can invoke the function through
|
|
239
|
+
* that service.</p>
|
|
240
240
|
*/
|
|
241
241
|
Principal: string | undefined;
|
|
242
242
|
/**
|
|
243
|
-
* <p>For Amazon Web Services
|
|
244
|
-
* Amazon SNS topic.</p>
|
|
243
|
+
* <p>For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For
|
|
244
|
+
* example, an Amazon S3 bucket or Amazon SNS topic.</p>
|
|
245
245
|
* <p>Note that Lambda configures the comparison using the <code>StringLike</code> operator.</p>
|
|
246
246
|
*/
|
|
247
247
|
SourceArn?: string;
|
|
248
248
|
/**
|
|
249
|
-
* <p>For Amazon
|
|
250
|
-
* ensure that the
|
|
251
|
-
*
|
|
249
|
+
* <p>For Amazon Web Service, the ID of the Amazon Web Services account that owns the resource. Use this
|
|
250
|
+
* together with <code>SourceArn</code> to ensure that the specified account owns the resource. It is possible for an
|
|
251
|
+
* Amazon S3 bucket to be deleted by its owner and recreated by another account.</p>
|
|
252
252
|
*/
|
|
253
253
|
SourceAccount?: string;
|
|
254
254
|
/**
|
|
255
|
-
* <p>For Alexa Smart Home functions, a token that
|
|
255
|
+
* <p>For Alexa Smart Home functions, a token that the invoker must supply.</p>
|
|
256
256
|
*/
|
|
257
257
|
EventSourceToken?: string;
|
|
258
258
|
/**
|
|
@@ -260,19 +260,19 @@ export interface AddPermissionRequest {
|
|
|
260
260
|
*/
|
|
261
261
|
Qualifier?: string;
|
|
262
262
|
/**
|
|
263
|
-
* <p>
|
|
263
|
+
* <p>Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
264
264
|
* policy that has changed since you last read it.</p>
|
|
265
265
|
*/
|
|
266
266
|
RevisionId?: string;
|
|
267
267
|
/**
|
|
268
|
-
* <p>The identifier for your organization in Organizations. Use this to grant permissions to all the
|
|
269
|
-
*
|
|
268
|
+
* <p>The identifier for your organization in Organizations. Use this to grant permissions to all the
|
|
269
|
+
* Amazon Web Services accounts under this organization.</p>
|
|
270
270
|
*/
|
|
271
271
|
PrincipalOrgID?: string;
|
|
272
272
|
/**
|
|
273
273
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
274
|
-
*
|
|
275
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
274
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
275
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
276
276
|
*/
|
|
277
277
|
FunctionUrlAuthType?: FunctionUrlAuthType | string;
|
|
278
278
|
}
|
|
@@ -630,6 +630,10 @@ export interface CreateEventSourceMappingRequest {
|
|
|
630
630
|
* <p>
|
|
631
631
|
* <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p>
|
|
632
632
|
* </li>
|
|
633
|
+
* <li>
|
|
634
|
+
* <p>
|
|
635
|
+
* <b>Amazon MQ</b> - The ARN of the broker.</p>
|
|
636
|
+
* </li>
|
|
633
637
|
* </ul>
|
|
634
638
|
*/
|
|
635
639
|
EventSourceArn?: string;
|
|
@@ -697,7 +701,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
697
701
|
*/
|
|
698
702
|
BatchSize?: number;
|
|
699
703
|
/**
|
|
700
|
-
* <p>
|
|
704
|
+
* <p>An object that defines the filter criteria that
|
|
701
705
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
702
706
|
*/
|
|
703
707
|
FilterCriteria?: FilterCriteria;
|
|
@@ -816,7 +820,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
816
820
|
*/
|
|
817
821
|
EventSourceArn?: string;
|
|
818
822
|
/**
|
|
819
|
-
* <p>
|
|
823
|
+
* <p>An object that defines the filter criteria that
|
|
820
824
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
821
825
|
*/
|
|
822
826
|
FilterCriteria?: FilterCriteria;
|
|
@@ -907,8 +911,7 @@ export declare class CodeSigningConfigNotFoundException extends __BaseException
|
|
|
907
911
|
constructor(opts: __ExceptionOptionType<CodeSigningConfigNotFoundException, __BaseException>);
|
|
908
912
|
}
|
|
909
913
|
/**
|
|
910
|
-
* <p>
|
|
911
|
-
* </p>
|
|
914
|
+
* <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
912
915
|
*/
|
|
913
916
|
export declare class CodeStorageExceededException extends __BaseException {
|
|
914
917
|
readonly name: "CodeStorageExceededException";
|
|
@@ -923,8 +926,8 @@ export declare class CodeStorageExceededException extends __BaseException {
|
|
|
923
926
|
constructor(opts: __ExceptionOptionType<CodeStorageExceededException, __BaseException>);
|
|
924
927
|
}
|
|
925
928
|
/**
|
|
926
|
-
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code
|
|
927
|
-
* is set to ENFORCE. Lambda blocks the deployment
|
|
929
|
+
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code
|
|
930
|
+
* signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
|
|
928
931
|
*/
|
|
929
932
|
export declare class CodeVerificationFailedException extends __BaseException {
|
|
930
933
|
readonly name: "CodeVerificationFailedException";
|
|
@@ -937,12 +940,12 @@ export declare class CodeVerificationFailedException extends __BaseException {
|
|
|
937
940
|
constructor(opts: __ExceptionOptionType<CodeVerificationFailedException, __BaseException>);
|
|
938
941
|
}
|
|
939
942
|
/**
|
|
940
|
-
* <p>The code for the Lambda function. You can specify
|
|
941
|
-
* package directly, or specify the URI of a container image.</p>
|
|
943
|
+
* <p>The code for the Lambda function. You can either specify an object in Amazon S3, upload a
|
|
944
|
+
* .zip file archive deployment package directly, or specify the URI of a container image.</p>
|
|
942
945
|
*/
|
|
943
946
|
export interface FunctionCode {
|
|
944
947
|
/**
|
|
945
|
-
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and
|
|
948
|
+
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for
|
|
946
949
|
* you.</p>
|
|
947
950
|
*/
|
|
948
951
|
ZipFile?: Uint8Array;
|
|
@@ -959,7 +962,8 @@ export interface FunctionCode {
|
|
|
959
962
|
*/
|
|
960
963
|
S3ObjectVersion?: string;
|
|
961
964
|
/**
|
|
962
|
-
* <p>URI of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a> in the
|
|
965
|
+
* <p>URI of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a> in the
|
|
966
|
+
* Amazon ECR registry.</p>
|
|
963
967
|
*/
|
|
964
968
|
ImageUri?: string;
|
|
965
969
|
}
|
|
@@ -974,33 +978,33 @@ export interface DeadLetterConfig {
|
|
|
974
978
|
TargetArn?: string;
|
|
975
979
|
}
|
|
976
980
|
/**
|
|
977
|
-
* <p>A function's environment variable settings.
|
|
978
|
-
*
|
|
979
|
-
*
|
|
981
|
+
* <p>A function's environment variable settings. You can use environment variables to adjust your function's
|
|
982
|
+
* behavior without updating code. An environment variable is a pair of strings that are stored in a function's
|
|
983
|
+
* version-specific configuration.</p>
|
|
980
984
|
*/
|
|
981
985
|
export interface Environment {
|
|
982
986
|
/**
|
|
983
|
-
* <p>Environment variable key-value pairs. For more information, see
|
|
984
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">Using Lambda environment variables</a>.</p>
|
|
987
|
+
* <p>Environment variable key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">Using Lambda environment variables</a>.</p>
|
|
985
988
|
*/
|
|
986
989
|
Variables?: Record<string, string>;
|
|
987
990
|
}
|
|
988
991
|
/**
|
|
989
|
-
* <p>The size of the function
|
|
992
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
993
|
+
* whole number between 512 and 10,240 MB.</p>
|
|
990
994
|
*/
|
|
991
995
|
export interface EphemeralStorage {
|
|
992
996
|
/**
|
|
993
|
-
* <p>The size of the function
|
|
997
|
+
* <p>The size of the function's <code>/tmp</code> directory.</p>
|
|
994
998
|
*/
|
|
995
999
|
Size: number | undefined;
|
|
996
1000
|
}
|
|
997
1001
|
/**
|
|
998
|
-
* <p>Details about the connection between a Lambda function and an
|
|
999
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a>.</p>
|
|
1002
|
+
* <p>Details about the connection between a Lambda function and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a>.</p>
|
|
1000
1003
|
*/
|
|
1001
1004
|
export interface FileSystemConfig {
|
|
1002
1005
|
/**
|
|
1003
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file
|
|
1006
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file
|
|
1007
|
+
* system.</p>
|
|
1004
1008
|
*/
|
|
1005
1009
|
Arn: string | undefined;
|
|
1006
1010
|
/**
|
|
@@ -1009,8 +1013,8 @@ export interface FileSystemConfig {
|
|
|
1009
1013
|
LocalMountPath: string | undefined;
|
|
1010
1014
|
}
|
|
1011
1015
|
/**
|
|
1012
|
-
* <p>Configuration values that override the container image Dockerfile settings.
|
|
1013
|
-
*
|
|
1016
|
+
* <p>Configuration values that override the container image Dockerfile settings. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms">Container image
|
|
1017
|
+
* settings</a>.</p>
|
|
1014
1018
|
*/
|
|
1015
1019
|
export interface ImageConfig {
|
|
1016
1020
|
/**
|
|
@@ -1019,7 +1023,7 @@ export interface ImageConfig {
|
|
|
1019
1023
|
*/
|
|
1020
1024
|
EntryPoint?: string[];
|
|
1021
1025
|
/**
|
|
1022
|
-
* <p>Specifies parameters that you want to pass in with ENTRYPOINT
|
|
1026
|
+
* <p>Specifies parameters that you want to pass in with ENTRYPOINT.</p>
|
|
1023
1027
|
*/
|
|
1024
1028
|
Command?: string[];
|
|
1025
1029
|
/**
|
|
@@ -1061,6 +1065,22 @@ export declare enum Runtime {
|
|
|
1061
1065
|
ruby25 = "ruby2.5",
|
|
1062
1066
|
ruby27 = "ruby2.7"
|
|
1063
1067
|
}
|
|
1068
|
+
export declare enum SnapStartApplyOn {
|
|
1069
|
+
None = "None",
|
|
1070
|
+
PublishedVersions = "PublishedVersions"
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>The function's SnapStart setting. Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a
|
|
1074
|
+
* snapshot of the initialized execution environment when you publish a function version. For more information, see
|
|
1075
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Reducing startup time with Lambda
|
|
1076
|
+
* SnapStart</a>.</p>
|
|
1077
|
+
*/
|
|
1078
|
+
export interface SnapStart {
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>Set to <code>PublishedVersions</code> to create a snapshot of the initialized execution environment when you publish a function version.</p>
|
|
1081
|
+
*/
|
|
1082
|
+
ApplyOn?: SnapStartApplyOn | string;
|
|
1083
|
+
}
|
|
1064
1084
|
export declare enum TracingMode {
|
|
1065
1085
|
Active = "Active",
|
|
1066
1086
|
PassThrough = "PassThrough"
|
|
@@ -1076,7 +1096,9 @@ export interface TracingConfig {
|
|
|
1076
1096
|
Mode?: TracingMode | string;
|
|
1077
1097
|
}
|
|
1078
1098
|
/**
|
|
1079
|
-
* <p>The VPC security groups and subnets that are attached to a Lambda function. For more information,
|
|
1099
|
+
* <p>The VPC security groups and subnets that are attached to a Lambda function. For more information,
|
|
1100
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda
|
|
1101
|
+
* function to access resources in a VPC</a>.</p>
|
|
1080
1102
|
*/
|
|
1081
1103
|
export interface VpcConfig {
|
|
1082
1104
|
/**
|
|
@@ -1084,7 +1106,7 @@ export interface VpcConfig {
|
|
|
1084
1106
|
*/
|
|
1085
1107
|
SubnetIds?: string[];
|
|
1086
1108
|
/**
|
|
1087
|
-
* <p>A list of VPC security
|
|
1109
|
+
* <p>A list of VPC security group IDs.</p>
|
|
1088
1110
|
*/
|
|
1089
1111
|
SecurityGroupIds?: string[];
|
|
1090
1112
|
}
|
|
@@ -1097,15 +1119,15 @@ export interface CreateFunctionRequest {
|
|
|
1097
1119
|
* <ul>
|
|
1098
1120
|
* <li>
|
|
1099
1121
|
* <p>
|
|
1100
|
-
* <b>Function name</b>
|
|
1122
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
1101
1123
|
* </li>
|
|
1102
1124
|
* <li>
|
|
1103
1125
|
* <p>
|
|
1104
|
-
* <b>Function ARN</b>
|
|
1126
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1105
1127
|
* </li>
|
|
1106
1128
|
* <li>
|
|
1107
1129
|
* <p>
|
|
1108
|
-
* <b>Partial ARN</b>
|
|
1130
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1109
1131
|
* </li>
|
|
1110
1132
|
* </ul>
|
|
1111
1133
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -1122,10 +1144,10 @@ export interface CreateFunctionRequest {
|
|
|
1122
1144
|
*/
|
|
1123
1145
|
Role: string | undefined;
|
|
1124
1146
|
/**
|
|
1125
|
-
* <p>The name of the method within your code that Lambda calls to
|
|
1147
|
+
* <p>The name of the method within your code that Lambda calls to run your function.
|
|
1126
1148
|
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
1127
1149
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
1128
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/
|
|
1150
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html">Lambda programming model</a>.</p>
|
|
1129
1151
|
*/
|
|
1130
1152
|
Handler?: string;
|
|
1131
1153
|
/**
|
|
@@ -1138,11 +1160,11 @@ export interface CreateFunctionRequest {
|
|
|
1138
1160
|
Description?: string;
|
|
1139
1161
|
/**
|
|
1140
1162
|
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
1141
|
-
* maximum allowed value is 900 seconds. For
|
|
1163
|
+
* maximum allowed value is 900 seconds. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
1142
1164
|
*/
|
|
1143
1165
|
Timeout?: number;
|
|
1144
1166
|
/**
|
|
1145
|
-
* <p>The amount of
|
|
1167
|
+
* <p>The amount of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console">memory available to the function</a> at runtime.
|
|
1146
1168
|
* Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.</p>
|
|
1147
1169
|
*/
|
|
1148
1170
|
MemorySize?: number;
|
|
@@ -1152,17 +1174,17 @@ export interface CreateFunctionRequest {
|
|
|
1152
1174
|
Publish?: boolean;
|
|
1153
1175
|
/**
|
|
1154
1176
|
* <p>For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.
|
|
1155
|
-
* When you connect a function to a VPC, it can
|
|
1156
|
-
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">VPC
|
|
1177
|
+
* When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more
|
|
1178
|
+
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to access resources in a VPC</a>.</p>
|
|
1157
1179
|
*/
|
|
1158
1180
|
VpcConfig?: VpcConfig;
|
|
1159
1181
|
/**
|
|
1160
|
-
* <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for
|
|
1182
|
+
* <p>The type of deployment package. Set to <code>Image</code> for container image and set to <code>Zip</code> for .zip file archive.</p>
|
|
1161
1183
|
*/
|
|
1162
1184
|
PackageType?: PackageType | string;
|
|
1163
1185
|
/**
|
|
1164
|
-
* <p>A dead
|
|
1165
|
-
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">Dead
|
|
1186
|
+
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
1187
|
+
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">Dead-letter queues</a>.</p>
|
|
1166
1188
|
*/
|
|
1167
1189
|
DeadLetterConfig?: DeadLetterConfig;
|
|
1168
1190
|
/**
|
|
@@ -1170,7 +1192,7 @@ export interface CreateFunctionRequest {
|
|
|
1170
1192
|
*/
|
|
1171
1193
|
Environment?: Environment;
|
|
1172
1194
|
/**
|
|
1173
|
-
* <p>The ARN of the
|
|
1195
|
+
* <p>The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment
|
|
1174
1196
|
* variables. If it's not provided, Lambda uses a default service key.</p>
|
|
1175
1197
|
*/
|
|
1176
1198
|
KMSKeyArn?: string;
|
|
@@ -1209,9 +1231,14 @@ export interface CreateFunctionRequest {
|
|
|
1209
1231
|
*/
|
|
1210
1232
|
Architectures?: (Architecture | string)[];
|
|
1211
1233
|
/**
|
|
1212
|
-
* <p>The size of the function
|
|
1234
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
1235
|
+
* number between 512 and 10,240 MB.</p>
|
|
1213
1236
|
*/
|
|
1214
1237
|
EphemeralStorage?: EphemeralStorage;
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
1240
|
+
*/
|
|
1241
|
+
SnapStart?: SnapStart;
|
|
1215
1242
|
}
|
|
1216
1243
|
/**
|
|
1217
1244
|
* <p>Error messages for environment variables that couldn't be applied.</p>
|
|
@@ -1227,8 +1254,8 @@ export interface EnvironmentError {
|
|
|
1227
1254
|
Message?: string;
|
|
1228
1255
|
}
|
|
1229
1256
|
/**
|
|
1230
|
-
* <p>The results of an operation to update or read environment variables. If the operation
|
|
1231
|
-
*
|
|
1257
|
+
* <p>The results of an operation to update or read environment variables. If the operation succeeds, the response
|
|
1258
|
+
* contains the environment variables. If it fails, the response contains details about the error.</p>
|
|
1232
1259
|
*/
|
|
1233
1260
|
export interface EnvironmentResponse {
|
|
1234
1261
|
/**
|
|
@@ -1241,7 +1268,7 @@ export interface EnvironmentResponse {
|
|
|
1241
1268
|
Error?: EnvironmentError;
|
|
1242
1269
|
}
|
|
1243
1270
|
/**
|
|
1244
|
-
* <p>Error response to GetFunctionConfiguration
|
|
1271
|
+
* <p>Error response to <code>GetFunctionConfiguration</code>.</p>
|
|
1245
1272
|
*/
|
|
1246
1273
|
export interface ImageConfigError {
|
|
1247
1274
|
/**
|
|
@@ -1254,7 +1281,7 @@ export interface ImageConfigError {
|
|
|
1254
1281
|
Message?: string;
|
|
1255
1282
|
}
|
|
1256
1283
|
/**
|
|
1257
|
-
* <p>Response to GetFunctionConfiguration request.</p>
|
|
1284
|
+
* <p>Response to a <code>GetFunctionConfiguration</code> request.</p>
|
|
1258
1285
|
*/
|
|
1259
1286
|
export interface ImageConfigResponse {
|
|
1260
1287
|
/**
|
|
@@ -1262,7 +1289,7 @@ export interface ImageConfigResponse {
|
|
|
1262
1289
|
*/
|
|
1263
1290
|
ImageConfig?: ImageConfig;
|
|
1264
1291
|
/**
|
|
1265
|
-
* <p>Error response to GetFunctionConfiguration
|
|
1292
|
+
* <p>Error response to <code>GetFunctionConfiguration</code>.</p>
|
|
1266
1293
|
*/
|
|
1267
1294
|
Error?: ImageConfigError;
|
|
1268
1295
|
}
|
|
@@ -1272,15 +1299,26 @@ export declare enum LastUpdateStatus {
|
|
|
1272
1299
|
Successful = "Successful"
|
|
1273
1300
|
}
|
|
1274
1301
|
export declare enum LastUpdateStatusReasonCode {
|
|
1302
|
+
DisabledKMSKey = "DisabledKMSKey",
|
|
1303
|
+
EFSIOError = "EFSIOError",
|
|
1304
|
+
EFSMountConnectivityError = "EFSMountConnectivityError",
|
|
1305
|
+
EFSMountFailure = "EFSMountFailure",
|
|
1306
|
+
EFSMountTimeout = "EFSMountTimeout",
|
|
1275
1307
|
EniLimitExceeded = "EniLimitExceeded",
|
|
1308
|
+
FunctionError = "FunctionError",
|
|
1276
1309
|
ImageAccessDenied = "ImageAccessDenied",
|
|
1277
1310
|
ImageDeleted = "ImageDeleted",
|
|
1278
1311
|
InsufficientRolePermissions = "InsufficientRolePermissions",
|
|
1279
1312
|
InternalError = "InternalError",
|
|
1280
1313
|
InvalidConfiguration = "InvalidConfiguration",
|
|
1281
1314
|
InvalidImage = "InvalidImage",
|
|
1315
|
+
InvalidRuntime = "InvalidRuntime",
|
|
1282
1316
|
InvalidSecurityGroup = "InvalidSecurityGroup",
|
|
1317
|
+
InvalidStateKMSKey = "InvalidStateKMSKey",
|
|
1283
1318
|
InvalidSubnet = "InvalidSubnet",
|
|
1319
|
+
InvalidZipFileException = "InvalidZipFileException",
|
|
1320
|
+
KMSKeyAccessDenied = "KMSKeyAccessDenied",
|
|
1321
|
+
KMSKeyNotFound = "KMSKeyNotFound",
|
|
1284
1322
|
SubnetOutOfIPAddresses = "SubnetOutOfIPAddresses"
|
|
1285
1323
|
}
|
|
1286
1324
|
/**
|
|
@@ -1305,6 +1343,23 @@ export interface Layer {
|
|
|
1305
1343
|
*/
|
|
1306
1344
|
SigningJobArn?: string;
|
|
1307
1345
|
}
|
|
1346
|
+
export declare enum SnapStartOptimizationStatus {
|
|
1347
|
+
Off = "Off",
|
|
1348
|
+
On = "On"
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
1352
|
+
*/
|
|
1353
|
+
export interface SnapStartResponse {
|
|
1354
|
+
/**
|
|
1355
|
+
* <p>When set to <code>PublishedVersions</code>, Lambda creates a snapshot of the execution environment when you publish a function version.</p>
|
|
1356
|
+
*/
|
|
1357
|
+
ApplyOn?: SnapStartApplyOn | string;
|
|
1358
|
+
/**
|
|
1359
|
+
* <p>When you provide a <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using">qualified Amazon Resource Name (ARN)</a>, this response element indicates whether SnapStart is activated for the specified function version.</p>
|
|
1360
|
+
*/
|
|
1361
|
+
OptimizationStatus?: SnapStartOptimizationStatus | string;
|
|
1362
|
+
}
|
|
1308
1363
|
export declare enum State {
|
|
1309
1364
|
Active = "Active",
|
|
1310
1365
|
Failed = "Failed",
|
|
@@ -1313,7 +1368,13 @@ export declare enum State {
|
|
|
1313
1368
|
}
|
|
1314
1369
|
export declare enum StateReasonCode {
|
|
1315
1370
|
Creating = "Creating",
|
|
1371
|
+
DisabledKMSKey = "DisabledKMSKey",
|
|
1372
|
+
EFSIOError = "EFSIOError",
|
|
1373
|
+
EFSMountConnectivityError = "EFSMountConnectivityError",
|
|
1374
|
+
EFSMountFailure = "EFSMountFailure",
|
|
1375
|
+
EFSMountTimeout = "EFSMountTimeout",
|
|
1316
1376
|
EniLimitExceeded = "EniLimitExceeded",
|
|
1377
|
+
FunctionError = "FunctionError",
|
|
1317
1378
|
Idle = "Idle",
|
|
1318
1379
|
ImageAccessDenied = "ImageAccessDenied",
|
|
1319
1380
|
ImageDeleted = "ImageDeleted",
|
|
@@ -1321,8 +1382,13 @@ export declare enum StateReasonCode {
|
|
|
1321
1382
|
InternalError = "InternalError",
|
|
1322
1383
|
InvalidConfiguration = "InvalidConfiguration",
|
|
1323
1384
|
InvalidImage = "InvalidImage",
|
|
1385
|
+
InvalidRuntime = "InvalidRuntime",
|
|
1324
1386
|
InvalidSecurityGroup = "InvalidSecurityGroup",
|
|
1387
|
+
InvalidStateKMSKey = "InvalidStateKMSKey",
|
|
1325
1388
|
InvalidSubnet = "InvalidSubnet",
|
|
1389
|
+
InvalidZipFileException = "InvalidZipFileException",
|
|
1390
|
+
KMSKeyAccessDenied = "KMSKeyAccessDenied",
|
|
1391
|
+
KMSKeyNotFound = "KMSKeyNotFound",
|
|
1326
1392
|
Restoring = "Restoring",
|
|
1327
1393
|
SubnetOutOfIPAddresses = "SubnetOutOfIPAddresses"
|
|
1328
1394
|
}
|
|
@@ -1344,7 +1410,7 @@ export interface VpcConfigResponse {
|
|
|
1344
1410
|
*/
|
|
1345
1411
|
SubnetIds?: string[];
|
|
1346
1412
|
/**
|
|
1347
|
-
* <p>A list of VPC security
|
|
1413
|
+
* <p>A list of VPC security group IDs.</p>
|
|
1348
1414
|
*/
|
|
1349
1415
|
SecurityGroupIds?: string[];
|
|
1350
1416
|
/**
|
|
@@ -1373,7 +1439,7 @@ export interface FunctionConfiguration {
|
|
|
1373
1439
|
*/
|
|
1374
1440
|
Role?: string;
|
|
1375
1441
|
/**
|
|
1376
|
-
* <p>The function that Lambda calls to begin
|
|
1442
|
+
* <p>The function that Lambda calls to begin running your function.</p>
|
|
1377
1443
|
*/
|
|
1378
1444
|
Handler?: string;
|
|
1379
1445
|
/**
|
|
@@ -1389,7 +1455,7 @@ export interface FunctionConfiguration {
|
|
|
1389
1455
|
*/
|
|
1390
1456
|
Timeout?: number;
|
|
1391
1457
|
/**
|
|
1392
|
-
* <p>The amount of memory available to the function at runtime
|
|
1458
|
+
* <p>The amount of memory available to the function at runtime.</p>
|
|
1393
1459
|
*/
|
|
1394
1460
|
MemorySize?: number;
|
|
1395
1461
|
/**
|
|
@@ -1417,8 +1483,8 @@ export interface FunctionConfiguration {
|
|
|
1417
1483
|
*/
|
|
1418
1484
|
Environment?: EnvironmentResponse;
|
|
1419
1485
|
/**
|
|
1420
|
-
* <p>The KMS key that's used to encrypt the function's environment variables. This key is
|
|
1421
|
-
* configured a customer managed key.</p>
|
|
1486
|
+
* <p>The KMS key that's used to encrypt the function's environment variables. This key is
|
|
1487
|
+
* returned only if you've configured a customer managed key.</p>
|
|
1422
1488
|
*/
|
|
1423
1489
|
KMSKeyArn?: string;
|
|
1424
1490
|
/**
|
|
@@ -1434,8 +1500,7 @@ export interface FunctionConfiguration {
|
|
|
1434
1500
|
*/
|
|
1435
1501
|
RevisionId?: string;
|
|
1436
1502
|
/**
|
|
1437
|
-
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">
|
|
1438
|
-
* layers</a>.</p>
|
|
1503
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">layers</a>.</p>
|
|
1439
1504
|
*/
|
|
1440
1505
|
Layers?: Layer[];
|
|
1441
1506
|
/**
|
|
@@ -1491,13 +1556,19 @@ export interface FunctionConfiguration {
|
|
|
1491
1556
|
*/
|
|
1492
1557
|
Architectures?: (Architecture | string)[];
|
|
1493
1558
|
/**
|
|
1494
|
-
* <p>The size of the function’s
|
|
1559
|
+
* <p>The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
1560
|
+
* whole number between 512 and 10,240 MB.</p>
|
|
1495
1561
|
*/
|
|
1496
1562
|
EphemeralStorage?: EphemeralStorage;
|
|
1563
|
+
/**
|
|
1564
|
+
* <p>Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a snapshot of the initialized execution
|
|
1565
|
+
* environment when you publish a function version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Reducing startup time with Lambda SnapStart</a>.</p>
|
|
1566
|
+
*/
|
|
1567
|
+
SnapStart?: SnapStartResponse;
|
|
1497
1568
|
}
|
|
1498
1569
|
/**
|
|
1499
|
-
* <p>The code signature failed the integrity check.
|
|
1500
|
-
*
|
|
1570
|
+
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks
|
|
1571
|
+
* deployment, even if the code signing policy is set to WARN.</p>
|
|
1501
1572
|
*/
|
|
1502
1573
|
export declare class InvalidCodeSignatureException extends __BaseException {
|
|
1503
1574
|
readonly name: "InvalidCodeSignatureException";
|
|
@@ -1557,15 +1628,15 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
1557
1628
|
* <ul>
|
|
1558
1629
|
* <li>
|
|
1559
1630
|
* <p>
|
|
1560
|
-
* <b>Function name</b>
|
|
1631
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
1561
1632
|
* </li>
|
|
1562
1633
|
* <li>
|
|
1563
1634
|
* <p>
|
|
1564
|
-
* <b>Function ARN</b>
|
|
1635
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1565
1636
|
* </li>
|
|
1566
1637
|
* <li>
|
|
1567
1638
|
* <p>
|
|
1568
|
-
* <b>Partial ARN</b>
|
|
1639
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1569
1640
|
* </li>
|
|
1570
1641
|
* </ul>
|
|
1571
1642
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -1578,8 +1649,8 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
1578
1649
|
Qualifier?: string;
|
|
1579
1650
|
/**
|
|
1580
1651
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
1581
|
-
*
|
|
1582
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
1652
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
1653
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
1583
1654
|
*/
|
|
1584
1655
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
1585
1656
|
/**
|
|
@@ -1599,8 +1670,8 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
1599
1670
|
FunctionArn: string | undefined;
|
|
1600
1671
|
/**
|
|
1601
1672
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
1602
|
-
*
|
|
1603
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
1673
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
1674
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
1604
1675
|
*/
|
|
1605
1676
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
1606
1677
|
/**
|
|
@@ -1657,8 +1728,8 @@ export interface DeleteEventSourceMappingRequest {
|
|
|
1657
1728
|
UUID: string | undefined;
|
|
1658
1729
|
}
|
|
1659
1730
|
/**
|
|
1660
|
-
* <p>The operation conflicts with the resource's availability. For example, you
|
|
1661
|
-
*
|
|
1731
|
+
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source
|
|
1732
|
+
* mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
|
|
1662
1733
|
*/
|
|
1663
1734
|
export declare class ResourceInUseException extends __BaseException {
|
|
1664
1735
|
readonly name: "ResourceInUseException";
|
|
@@ -1679,15 +1750,15 @@ export interface DeleteFunctionRequest {
|
|
|
1679
1750
|
* <ul>
|
|
1680
1751
|
* <li>
|
|
1681
1752
|
* <p>
|
|
1682
|
-
* <b>Function name</b>
|
|
1753
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:1</code> (with version).</p>
|
|
1683
1754
|
* </li>
|
|
1684
1755
|
* <li>
|
|
1685
1756
|
* <p>
|
|
1686
|
-
* <b>Function ARN</b>
|
|
1757
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1687
1758
|
* </li>
|
|
1688
1759
|
* <li>
|
|
1689
1760
|
* <p>
|
|
1690
|
-
* <b>Partial ARN</b>
|
|
1761
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1691
1762
|
* </li>
|
|
1692
1763
|
* </ul>
|
|
1693
1764
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -1695,7 +1766,7 @@ export interface DeleteFunctionRequest {
|
|
|
1695
1766
|
*/
|
|
1696
1767
|
FunctionName: string | undefined;
|
|
1697
1768
|
/**
|
|
1698
|
-
* <p>Specify a version to delete. You can't delete a version that
|
|
1769
|
+
* <p>Specify a version to delete. You can't delete a version that an alias references.</p>
|
|
1699
1770
|
*/
|
|
1700
1771
|
Qualifier?: string;
|
|
1701
1772
|
}
|
|
@@ -1733,15 +1804,15 @@ export interface DeleteFunctionConcurrencyRequest {
|
|
|
1733
1804
|
* <ul>
|
|
1734
1805
|
* <li>
|
|
1735
1806
|
* <p>
|
|
1736
|
-
* <b>Function name</b>
|
|
1807
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
1737
1808
|
* </li>
|
|
1738
1809
|
* <li>
|
|
1739
1810
|
* <p>
|
|
1740
|
-
* <b>Function ARN</b>
|
|
1811
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1741
1812
|
* </li>
|
|
1742
1813
|
* <li>
|
|
1743
1814
|
* <p>
|
|
1744
|
-
* <b>Partial ARN</b>
|
|
1815
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1745
1816
|
* </li>
|
|
1746
1817
|
* </ul>
|
|
1747
1818
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -1787,15 +1858,15 @@ export interface DeleteFunctionUrlConfigRequest {
|
|
|
1787
1858
|
* <ul>
|
|
1788
1859
|
* <li>
|
|
1789
1860
|
* <p>
|
|
1790
|
-
* <b>Function name</b>
|
|
1861
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
1791
1862
|
* </li>
|
|
1792
1863
|
* <li>
|
|
1793
1864
|
* <p>
|
|
1794
|
-
* <b>Function ARN</b>
|
|
1865
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1795
1866
|
* </li>
|
|
1796
1867
|
* <li>
|
|
1797
1868
|
* <p>
|
|
1798
|
-
* <b>Partial ARN</b>
|
|
1869
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1799
1870
|
* </li>
|
|
1800
1871
|
* </ul>
|
|
1801
1872
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -1826,15 +1897,15 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
|
1826
1897
|
* <ul>
|
|
1827
1898
|
* <li>
|
|
1828
1899
|
* <p>
|
|
1829
|
-
* <b>Function name</b>
|
|
1900
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
1830
1901
|
* </li>
|
|
1831
1902
|
* <li>
|
|
1832
1903
|
* <p>
|
|
1833
|
-
* <b>Function ARN</b>
|
|
1904
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1834
1905
|
* </li>
|
|
1835
1906
|
* <li>
|
|
1836
1907
|
* <p>
|
|
1837
|
-
* <b>Partial ARN</b>
|
|
1908
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1838
1909
|
* </li>
|
|
1839
1910
|
* </ul>
|
|
1840
1911
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -1914,15 +1985,15 @@ export interface GetFunctionRequest {
|
|
|
1914
1985
|
* <ul>
|
|
1915
1986
|
* <li>
|
|
1916
1987
|
* <p>
|
|
1917
|
-
* <b>Function name</b>
|
|
1988
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
1918
1989
|
* </li>
|
|
1919
1990
|
* <li>
|
|
1920
1991
|
* <p>
|
|
1921
|
-
* <b>Function ARN</b>
|
|
1992
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
1922
1993
|
* </li>
|
|
1923
1994
|
* <li>
|
|
1924
1995
|
* <p>
|
|
1925
|
-
* <b>Partial ARN</b>
|
|
1996
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
1926
1997
|
* </li>
|
|
1927
1998
|
* </ul>
|
|
1928
1999
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -1957,7 +2028,8 @@ export interface FunctionCodeLocation {
|
|
|
1957
2028
|
}
|
|
1958
2029
|
export interface Concurrency {
|
|
1959
2030
|
/**
|
|
1960
|
-
* <p>The number of concurrent executions that are reserved for this function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html">Managing
|
|
2031
|
+
* <p>The number of concurrent executions that are reserved for this function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html">Managing Lambda reserved
|
|
2032
|
+
* concurrency</a>.</p>
|
|
1961
2033
|
*/
|
|
1962
2034
|
ReservedConcurrentExecutions?: number;
|
|
1963
2035
|
}
|
|
@@ -2043,15 +2115,15 @@ export interface GetFunctionConcurrencyRequest {
|
|
|
2043
2115
|
* <ul>
|
|
2044
2116
|
* <li>
|
|
2045
2117
|
* <p>
|
|
2046
|
-
* <b>Function name</b>
|
|
2118
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
2047
2119
|
* </li>
|
|
2048
2120
|
* <li>
|
|
2049
2121
|
* <p>
|
|
2050
|
-
* <b>Function ARN</b>
|
|
2122
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2051
2123
|
* </li>
|
|
2052
2124
|
* <li>
|
|
2053
2125
|
* <p>
|
|
2054
|
-
* <b>Partial ARN</b>
|
|
2126
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2055
2127
|
* </li>
|
|
2056
2128
|
* </ul>
|
|
2057
2129
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -2074,15 +2146,15 @@ export interface GetFunctionConfigurationRequest {
|
|
|
2074
2146
|
* <ul>
|
|
2075
2147
|
* <li>
|
|
2076
2148
|
* <p>
|
|
2077
|
-
* <b>Function name</b>
|
|
2149
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
2078
2150
|
* </li>
|
|
2079
2151
|
* <li>
|
|
2080
2152
|
* <p>
|
|
2081
|
-
* <b>Function ARN</b>
|
|
2153
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2082
2154
|
* </li>
|
|
2083
2155
|
* <li>
|
|
2084
2156
|
* <p>
|
|
2085
|
-
* <b>Partial ARN</b>
|
|
2157
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2086
2158
|
* </li>
|
|
2087
2159
|
* </ul>
|
|
2088
2160
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -2175,15 +2247,15 @@ export interface GetFunctionUrlConfigRequest {
|
|
|
2175
2247
|
* <ul>
|
|
2176
2248
|
* <li>
|
|
2177
2249
|
* <p>
|
|
2178
|
-
* <b>Function name</b>
|
|
2250
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
2179
2251
|
* </li>
|
|
2180
2252
|
* <li>
|
|
2181
2253
|
* <p>
|
|
2182
|
-
* <b>Function ARN</b>
|
|
2254
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2183
2255
|
* </li>
|
|
2184
2256
|
* <li>
|
|
2185
2257
|
* <p>
|
|
2186
|
-
* <b>Partial ARN</b>
|
|
2258
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2187
2259
|
* </li>
|
|
2188
2260
|
* </ul>
|
|
2189
2261
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -2206,8 +2278,8 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
2206
2278
|
FunctionArn: string | undefined;
|
|
2207
2279
|
/**
|
|
2208
2280
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
2209
|
-
*
|
|
2210
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
2281
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2282
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2211
2283
|
*/
|
|
2212
2284
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
2213
2285
|
/**
|
|
@@ -2334,15 +2406,15 @@ export interface GetPolicyRequest {
|
|
|
2334
2406
|
* <ul>
|
|
2335
2407
|
* <li>
|
|
2336
2408
|
* <p>
|
|
2337
|
-
* <b>Function name</b>
|
|
2409
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
2338
2410
|
* </li>
|
|
2339
2411
|
* <li>
|
|
2340
2412
|
* <p>
|
|
2341
|
-
* <b>Function ARN</b>
|
|
2413
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2342
2414
|
* </li>
|
|
2343
2415
|
* <li>
|
|
2344
2416
|
* <p>
|
|
2345
|
-
* <b>Partial ARN</b>
|
|
2417
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2346
2418
|
* </li>
|
|
2347
2419
|
* </ul>
|
|
2348
2420
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -2373,15 +2445,15 @@ export interface GetProvisionedConcurrencyConfigRequest {
|
|
|
2373
2445
|
* <ul>
|
|
2374
2446
|
* <li>
|
|
2375
2447
|
* <p>
|
|
2376
|
-
* <b>Function name</b>
|
|
2448
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
2377
2449
|
* </li>
|
|
2378
2450
|
* <li>
|
|
2379
2451
|
* <p>
|
|
2380
|
-
* <b>Function ARN</b>
|
|
2452
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2381
2453
|
* </li>
|
|
2382
2454
|
* <li>
|
|
2383
2455
|
* <p>
|
|
2384
|
-
* <b>Partial ARN</b>
|
|
2456
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2385
2457
|
* </li>
|
|
2386
2458
|
* </ul>
|
|
2387
2459
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -2450,8 +2522,8 @@ export declare class EC2AccessDeniedException extends __BaseException {
|
|
|
2450
2522
|
constructor(opts: __ExceptionOptionType<EC2AccessDeniedException, __BaseException>);
|
|
2451
2523
|
}
|
|
2452
2524
|
/**
|
|
2453
|
-
* <p>
|
|
2454
|
-
* for the
|
|
2525
|
+
* <p>Amazon EC2 throttled Lambda during Lambda function initialization using
|
|
2526
|
+
* the execution role provided for the function.</p>
|
|
2455
2527
|
*/
|
|
2456
2528
|
export declare class EC2ThrottledException extends __BaseException {
|
|
2457
2529
|
readonly name: "EC2ThrottledException";
|
|
@@ -2464,7 +2536,8 @@ export declare class EC2ThrottledException extends __BaseException {
|
|
|
2464
2536
|
constructor(opts: __ExceptionOptionType<EC2ThrottledException, __BaseException>);
|
|
2465
2537
|
}
|
|
2466
2538
|
/**
|
|
2467
|
-
* <p>Lambda received an unexpected EC2 client exception while setting up for the
|
|
2539
|
+
* <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the
|
|
2540
|
+
* Lambda function.</p>
|
|
2468
2541
|
*/
|
|
2469
2542
|
export declare class EC2UnexpectedException extends __BaseException {
|
|
2470
2543
|
readonly name: "EC2UnexpectedException";
|
|
@@ -2491,7 +2564,7 @@ export declare class EFSIOException extends __BaseException {
|
|
|
2491
2564
|
constructor(opts: __ExceptionOptionType<EFSIOException, __BaseException>);
|
|
2492
2565
|
}
|
|
2493
2566
|
/**
|
|
2494
|
-
* <p>The function couldn't make a network connection to the configured file system.</p>
|
|
2567
|
+
* <p>The Lambda function couldn't make a network connection to the configured file system.</p>
|
|
2495
2568
|
*/
|
|
2496
2569
|
export declare class EFSMountConnectivityException extends __BaseException {
|
|
2497
2570
|
readonly name: "EFSMountConnectivityException";
|
|
@@ -2504,7 +2577,8 @@ export declare class EFSMountConnectivityException extends __BaseException {
|
|
|
2504
2577
|
constructor(opts: __ExceptionOptionType<EFSMountConnectivityException, __BaseException>);
|
|
2505
2578
|
}
|
|
2506
2579
|
/**
|
|
2507
|
-
* <p>The function couldn't mount the configured file system due to a permission or configuration
|
|
2580
|
+
* <p>The Lambda function couldn't mount the configured file system due to a permission or configuration
|
|
2581
|
+
* issue.</p>
|
|
2508
2582
|
*/
|
|
2509
2583
|
export declare class EFSMountFailureException extends __BaseException {
|
|
2510
2584
|
readonly name: "EFSMountFailureException";
|
|
@@ -2517,8 +2591,8 @@ export declare class EFSMountFailureException extends __BaseException {
|
|
|
2517
2591
|
constructor(opts: __ExceptionOptionType<EFSMountFailureException, __BaseException>);
|
|
2518
2592
|
}
|
|
2519
2593
|
/**
|
|
2520
|
-
* <p>The function
|
|
2521
|
-
* timed out.</p>
|
|
2594
|
+
* <p>The Lambda function made a network connection to the configured file system, but the mount
|
|
2595
|
+
* operation timed out.</p>
|
|
2522
2596
|
*/
|
|
2523
2597
|
export declare class EFSMountTimeoutException extends __BaseException {
|
|
2524
2598
|
readonly name: "EFSMountTimeoutException";
|
|
@@ -2531,8 +2605,9 @@ export declare class EFSMountTimeoutException extends __BaseException {
|
|
|
2531
2605
|
constructor(opts: __ExceptionOptionType<EFSMountTimeoutException, __BaseException>);
|
|
2532
2606
|
}
|
|
2533
2607
|
/**
|
|
2534
|
-
* <p>Lambda
|
|
2535
|
-
*
|
|
2608
|
+
* <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more
|
|
2609
|
+
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
|
|
2610
|
+
* quotas</a>.</p>
|
|
2536
2611
|
*/
|
|
2537
2612
|
export declare class ENILimitReachedException extends __BaseException {
|
|
2538
2613
|
readonly name: "ENILimitReachedException";
|
|
@@ -2573,7 +2648,7 @@ export declare class InvalidRuntimeException extends __BaseException {
|
|
|
2573
2648
|
constructor(opts: __ExceptionOptionType<InvalidRuntimeException, __BaseException>);
|
|
2574
2649
|
}
|
|
2575
2650
|
/**
|
|
2576
|
-
* <p>The
|
|
2651
|
+
* <p>The security group ID provided in the Lambda function VPC configuration is not valid.</p>
|
|
2577
2652
|
*/
|
|
2578
2653
|
export declare class InvalidSecurityGroupIDException extends __BaseException {
|
|
2579
2654
|
readonly name: "InvalidSecurityGroupIDException";
|
|
@@ -2586,7 +2661,7 @@ export declare class InvalidSecurityGroupIDException extends __BaseException {
|
|
|
2586
2661
|
constructor(opts: __ExceptionOptionType<InvalidSecurityGroupIDException, __BaseException>);
|
|
2587
2662
|
}
|
|
2588
2663
|
/**
|
|
2589
|
-
* <p>The
|
|
2664
|
+
* <p>The subnet ID provided in the Lambda function VPC configuration is not valid.</p>
|
|
2590
2665
|
*/
|
|
2591
2666
|
export declare class InvalidSubnetIDException extends __BaseException {
|
|
2592
2667
|
readonly name: "InvalidSubnetIDException";
|
|
@@ -2629,15 +2704,15 @@ export interface InvocationRequest {
|
|
|
2629
2704
|
* <ul>
|
|
2630
2705
|
* <li>
|
|
2631
2706
|
* <p>
|
|
2632
|
-
* <b>Function name</b>
|
|
2707
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
2633
2708
|
* </li>
|
|
2634
2709
|
* <li>
|
|
2635
2710
|
* <p>
|
|
2636
|
-
* <b>Function ARN</b>
|
|
2711
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2637
2712
|
* </li>
|
|
2638
2713
|
* <li>
|
|
2639
2714
|
* <p>
|
|
2640
|
-
* <b>Partial ARN</b>
|
|
2715
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2641
2716
|
* </li>
|
|
2642
2717
|
* </ul>
|
|
2643
2718
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -2649,18 +2724,18 @@ export interface InvocationRequest {
|
|
|
2649
2724
|
* <ul>
|
|
2650
2725
|
* <li>
|
|
2651
2726
|
* <p>
|
|
2652
|
-
* <code>RequestResponse</code> (default)
|
|
2727
|
+
* <code>RequestResponse</code> (default) – Invoke the function synchronously. Keep the connection open until
|
|
2653
2728
|
* the function returns a response or times out. The API response includes the function response and additional
|
|
2654
2729
|
* data.</p>
|
|
2655
2730
|
* </li>
|
|
2656
2731
|
* <li>
|
|
2657
2732
|
* <p>
|
|
2658
|
-
* <code>Event</code>
|
|
2659
|
-
* function's dead-letter queue (if
|
|
2733
|
+
* <code>Event</code> – Invoke the function asynchronously. Send events that fail multiple times to the
|
|
2734
|
+
* function's dead-letter queue (if one is configured). The API response only includes a status code.</p>
|
|
2660
2735
|
* </li>
|
|
2661
2736
|
* <li>
|
|
2662
2737
|
* <p>
|
|
2663
|
-
* <code>DryRun</code>
|
|
2738
|
+
* <code>DryRun</code> – Validate parameter values and verify that the user or role has permission to invoke
|
|
2664
2739
|
* the function.</p>
|
|
2665
2740
|
* </li>
|
|
2666
2741
|
* </ul>
|
|
@@ -2671,15 +2746,14 @@ export interface InvocationRequest {
|
|
|
2671
2746
|
*/
|
|
2672
2747
|
LogType?: LogType | string;
|
|
2673
2748
|
/**
|
|
2674
|
-
* <p>Up to
|
|
2749
|
+
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
2675
2750
|
* object.</p>
|
|
2676
2751
|
*/
|
|
2677
2752
|
ClientContext?: string;
|
|
2678
2753
|
/**
|
|
2679
2754
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
2680
|
-
* <p>You can enter the JSON directly. For example, <code>--payload '{ "key": "value" }'</code>.
|
|
2681
|
-
*
|
|
2682
|
-
* </p>
|
|
2755
|
+
* <p>You can enter the JSON directly. For example, <code>--payload '{ "key": "value" }'</code>. You can also
|
|
2756
|
+
* specify a file path. For example, <code>--payload file://payload.json</code>.</p>
|
|
2683
2757
|
*/
|
|
2684
2758
|
Payload?: Uint8Array;
|
|
2685
2759
|
/**
|
|
@@ -2700,7 +2774,7 @@ export interface InvocationResponse {
|
|
|
2700
2774
|
*/
|
|
2701
2775
|
FunctionError?: string;
|
|
2702
2776
|
/**
|
|
2703
|
-
* <p>The last 4 KB of the execution log, which is base64
|
|
2777
|
+
* <p>The last 4 KB of the execution log, which is base64-encoded.</p>
|
|
2704
2778
|
*/
|
|
2705
2779
|
LogResult?: string;
|
|
2706
2780
|
/**
|
|
@@ -2714,8 +2788,8 @@ export interface InvocationResponse {
|
|
|
2714
2788
|
ExecutedVersion?: string;
|
|
2715
2789
|
}
|
|
2716
2790
|
/**
|
|
2717
|
-
* <p>Lambda
|
|
2718
|
-
* function's KMS permissions.</p>
|
|
2791
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied.
|
|
2792
|
+
* Check the Lambda function's KMS permissions.</p>
|
|
2719
2793
|
*/
|
|
2720
2794
|
export declare class KMSAccessDeniedException extends __BaseException {
|
|
2721
2795
|
readonly name: "KMSAccessDeniedException";
|
|
@@ -2728,8 +2802,8 @@ export declare class KMSAccessDeniedException extends __BaseException {
|
|
|
2728
2802
|
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
2729
2803
|
}
|
|
2730
2804
|
/**
|
|
2731
|
-
* <p>Lambda
|
|
2732
|
-
* function's KMS key settings.</p>
|
|
2805
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is
|
|
2806
|
+
* disabled. Check the Lambda function's KMS key settings.</p>
|
|
2733
2807
|
*/
|
|
2734
2808
|
export declare class KMSDisabledException extends __BaseException {
|
|
2735
2809
|
readonly name: "KMSDisabledException";
|
|
@@ -2742,8 +2816,7 @@ export declare class KMSDisabledException extends __BaseException {
|
|
|
2742
2816
|
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
2743
2817
|
}
|
|
2744
2818
|
/**
|
|
2745
|
-
* <p>Lambda
|
|
2746
|
-
* Decrypt. Check the function's KMS key settings.</p>
|
|
2819
|
+
* <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
|
|
2747
2820
|
*/
|
|
2748
2821
|
export declare class KMSInvalidStateException extends __BaseException {
|
|
2749
2822
|
readonly name: "KMSInvalidStateException";
|
|
@@ -2756,8 +2829,8 @@ export declare class KMSInvalidStateException extends __BaseException {
|
|
|
2756
2829
|
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
2757
2830
|
}
|
|
2758
2831
|
/**
|
|
2759
|
-
* <p>Lambda
|
|
2760
|
-
* KMS key settings
|
|
2832
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not
|
|
2833
|
+
* found. Check the function's KMS key settings.</p>
|
|
2761
2834
|
*/
|
|
2762
2835
|
export declare class KMSNotFoundException extends __BaseException {
|
|
2763
2836
|
readonly name: "KMSNotFoundException";
|
|
@@ -2770,8 +2843,8 @@ export declare class KMSNotFoundException extends __BaseException {
|
|
|
2770
2843
|
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
2771
2844
|
}
|
|
2772
2845
|
/**
|
|
2773
|
-
* <p>The request payload exceeded the <code>Invoke</code> request body JSON input
|
|
2774
|
-
*
|
|
2846
|
+
* <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
|
|
2847
|
+
* quotas</a>.</p>
|
|
2775
2848
|
*/
|
|
2776
2849
|
export declare class RequestTooLargeException extends __BaseException {
|
|
2777
2850
|
readonly name: "RequestTooLargeException";
|
|
@@ -2799,8 +2872,47 @@ export declare class ResourceNotReadyException extends __BaseException {
|
|
|
2799
2872
|
constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
|
|
2800
2873
|
}
|
|
2801
2874
|
/**
|
|
2802
|
-
* <p>
|
|
2803
|
-
|
|
2875
|
+
* <p>The runtime restore hook encountered an error. For more information, check the Amazon CloudWatch logs.</p>
|
|
2876
|
+
*/
|
|
2877
|
+
export declare class SnapStartException extends __BaseException {
|
|
2878
|
+
readonly name: "SnapStartException";
|
|
2879
|
+
readonly $fault: "client";
|
|
2880
|
+
Type?: string;
|
|
2881
|
+
Message?: string;
|
|
2882
|
+
/**
|
|
2883
|
+
* @internal
|
|
2884
|
+
*/
|
|
2885
|
+
constructor(opts: __ExceptionOptionType<SnapStartException, __BaseException>);
|
|
2886
|
+
}
|
|
2887
|
+
/**
|
|
2888
|
+
* <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
|
|
2889
|
+
*/
|
|
2890
|
+
export declare class SnapStartNotReadyException extends __BaseException {
|
|
2891
|
+
readonly name: "SnapStartNotReadyException";
|
|
2892
|
+
readonly $fault: "client";
|
|
2893
|
+
Type?: string;
|
|
2894
|
+
Message?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* @internal
|
|
2897
|
+
*/
|
|
2898
|
+
constructor(opts: __ExceptionOptionType<SnapStartNotReadyException, __BaseException>);
|
|
2899
|
+
}
|
|
2900
|
+
/**
|
|
2901
|
+
* <p>The runtime restore hook failed to complete within the timeout limit (2 seconds).</p>
|
|
2902
|
+
*/
|
|
2903
|
+
export declare class SnapStartTimeoutException extends __BaseException {
|
|
2904
|
+
readonly name: "SnapStartTimeoutException";
|
|
2905
|
+
readonly $fault: "client";
|
|
2906
|
+
Type?: string;
|
|
2907
|
+
Message?: string;
|
|
2908
|
+
/**
|
|
2909
|
+
* @internal
|
|
2910
|
+
*/
|
|
2911
|
+
constructor(opts: __ExceptionOptionType<SnapStartTimeoutException, __BaseException>);
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* <p>Lambda couldn't set up VPC access for the Lambda function because one or more
|
|
2915
|
+
* configured subnets has no available IP addresses.</p>
|
|
2804
2916
|
*/
|
|
2805
2917
|
export declare class SubnetIPAddressLimitReachedException extends __BaseException {
|
|
2806
2918
|
readonly name: "SubnetIPAddressLimitReachedException";
|
|
@@ -2833,15 +2945,15 @@ export interface InvokeAsyncRequest {
|
|
|
2833
2945
|
* <ul>
|
|
2834
2946
|
* <li>
|
|
2835
2947
|
* <p>
|
|
2836
|
-
* <b>Function name</b>
|
|
2948
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
2837
2949
|
* </li>
|
|
2838
2950
|
* <li>
|
|
2839
2951
|
* <p>
|
|
2840
|
-
* <b>Function ARN</b>
|
|
2952
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
2841
2953
|
* </li>
|
|
2842
2954
|
* <li>
|
|
2843
2955
|
* <p>
|
|
2844
|
-
* <b>Partial ARN</b>
|
|
2956
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
2845
2957
|
* </li>
|
|
2846
2958
|
* </ul>
|
|
2847
2959
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -2856,7 +2968,7 @@ export interface InvokeAsyncRequest {
|
|
|
2856
2968
|
/**
|
|
2857
2969
|
* @deprecated
|
|
2858
2970
|
*
|
|
2859
|
-
* <p>A success response (<code>202 Accepted</code>) indicates that the request is queued for invocation
|
|
2971
|
+
* <p>A success response (<code>202 Accepted</code>) indicates that the request is queued for invocation.</p>
|
|
2860
2972
|
*/
|
|
2861
2973
|
export interface InvokeAsyncResponse {
|
|
2862
2974
|
/**
|
|
@@ -2951,6 +3063,10 @@ export interface ListEventSourceMappingsRequest {
|
|
|
2951
3063
|
* <p>
|
|
2952
3064
|
* <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p>
|
|
2953
3065
|
* </li>
|
|
3066
|
+
* <li>
|
|
3067
|
+
* <p>
|
|
3068
|
+
* <b>Amazon MQ</b> - The ARN of the broker.</p>
|
|
3069
|
+
* </li>
|
|
2954
3070
|
* </ul>
|
|
2955
3071
|
*/
|
|
2956
3072
|
EventSourceArn?: string;
|
|
@@ -3049,9 +3165,10 @@ export declare enum FunctionVersion {
|
|
|
3049
3165
|
}
|
|
3050
3166
|
export interface ListFunctionsRequest {
|
|
3051
3167
|
/**
|
|
3052
|
-
* <p>For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example,
|
|
3053
|
-
*
|
|
3054
|
-
* Virginia). If specified, you must set <code>FunctionVersion</code> to
|
|
3168
|
+
* <p>For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example,
|
|
3169
|
+
* <code>us-east-1</code> filters the list of functions to include only Lambda@Edge functions replicated from a
|
|
3170
|
+
* master function in US East (N. Virginia). If specified, you must set <code>FunctionVersion</code> to
|
|
3171
|
+
* <code>ALL</code>.</p>
|
|
3055
3172
|
*/
|
|
3056
3173
|
MasterRegion?: string;
|
|
3057
3174
|
/**
|
|
@@ -3114,15 +3231,15 @@ export interface ListFunctionUrlConfigsRequest {
|
|
|
3114
3231
|
* <ul>
|
|
3115
3232
|
* <li>
|
|
3116
3233
|
* <p>
|
|
3117
|
-
* <b>Function name</b>
|
|
3234
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
3118
3235
|
* </li>
|
|
3119
3236
|
* <li>
|
|
3120
3237
|
* <p>
|
|
3121
|
-
* <b>Function ARN</b>
|
|
3238
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3122
3239
|
* </li>
|
|
3123
3240
|
* <li>
|
|
3124
3241
|
* <p>
|
|
3125
|
-
* <b>Partial ARN</b>
|
|
3242
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3126
3243
|
* </li>
|
|
3127
3244
|
* </ul>
|
|
3128
3245
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -3166,8 +3283,8 @@ export interface FunctionUrlConfig {
|
|
|
3166
3283
|
Cors?: Cors;
|
|
3167
3284
|
/**
|
|
3168
3285
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
3169
|
-
*
|
|
3170
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
3286
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
3287
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
3171
3288
|
*/
|
|
3172
3289
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
3173
3290
|
}
|
|
@@ -3305,15 +3422,15 @@ export interface ListProvisionedConcurrencyConfigsRequest {
|
|
|
3305
3422
|
* <ul>
|
|
3306
3423
|
* <li>
|
|
3307
3424
|
* <p>
|
|
3308
|
-
* <b>Function name</b>
|
|
3425
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
3309
3426
|
* </li>
|
|
3310
3427
|
* <li>
|
|
3311
3428
|
* <p>
|
|
3312
|
-
* <b>Function ARN</b>
|
|
3429
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3313
3430
|
* </li>
|
|
3314
3431
|
* <li>
|
|
3315
3432
|
* <p>
|
|
3316
|
-
* <b>Partial ARN</b>
|
|
3433
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3317
3434
|
* </li>
|
|
3318
3435
|
* </ul>
|
|
3319
3436
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -3640,15 +3757,15 @@ export interface PutFunctionConcurrencyRequest {
|
|
|
3640
3757
|
* <ul>
|
|
3641
3758
|
* <li>
|
|
3642
3759
|
* <p>
|
|
3643
|
-
* <b>Function name</b>
|
|
3760
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
3644
3761
|
* </li>
|
|
3645
3762
|
* <li>
|
|
3646
3763
|
* <p>
|
|
3647
|
-
* <b>Function ARN</b>
|
|
3764
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3648
3765
|
* </li>
|
|
3649
3766
|
* <li>
|
|
3650
3767
|
* <p>
|
|
3651
|
-
* <b>Partial ARN</b>
|
|
3768
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3652
3769
|
* </li>
|
|
3653
3770
|
* </ul>
|
|
3654
3771
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -3731,15 +3848,15 @@ export interface PutProvisionedConcurrencyConfigRequest {
|
|
|
3731
3848
|
* <ul>
|
|
3732
3849
|
* <li>
|
|
3733
3850
|
* <p>
|
|
3734
|
-
* <b>Function name</b>
|
|
3851
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
3735
3852
|
* </li>
|
|
3736
3853
|
* <li>
|
|
3737
3854
|
* <p>
|
|
3738
|
-
* <b>Function ARN</b>
|
|
3855
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3739
3856
|
* </li>
|
|
3740
3857
|
* <li>
|
|
3741
3858
|
* <p>
|
|
3742
|
-
* <b>Partial ARN</b>
|
|
3859
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3743
3860
|
* </li>
|
|
3744
3861
|
* </ul>
|
|
3745
3862
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -3809,15 +3926,15 @@ export interface RemovePermissionRequest {
|
|
|
3809
3926
|
* <ul>
|
|
3810
3927
|
* <li>
|
|
3811
3928
|
* <p>
|
|
3812
|
-
* <b>Function name</b>
|
|
3929
|
+
* <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p>
|
|
3813
3930
|
* </li>
|
|
3814
3931
|
* <li>
|
|
3815
3932
|
* <p>
|
|
3816
|
-
* <b>Function ARN</b>
|
|
3933
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3817
3934
|
* </li>
|
|
3818
3935
|
* <li>
|
|
3819
3936
|
* <p>
|
|
3820
|
-
* <b>Partial ARN</b>
|
|
3937
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3821
3938
|
* </li>
|
|
3822
3939
|
* </ul>
|
|
3823
3940
|
* <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN.
|
|
@@ -3833,7 +3950,7 @@ export interface RemovePermissionRequest {
|
|
|
3833
3950
|
*/
|
|
3834
3951
|
Qualifier?: string;
|
|
3835
3952
|
/**
|
|
3836
|
-
* <p>
|
|
3953
|
+
* <p>Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
3837
3954
|
* policy that has changed since you last read it.</p>
|
|
3838
3955
|
*/
|
|
3839
3956
|
RevisionId?: string;
|
|
@@ -3998,7 +4115,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
3998
4115
|
*/
|
|
3999
4116
|
BatchSize?: number;
|
|
4000
4117
|
/**
|
|
4001
|
-
* <p>
|
|
4118
|
+
* <p>An object that defines the filter criteria that
|
|
4002
4119
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
4003
4120
|
*/
|
|
4004
4121
|
FilterCriteria?: FilterCriteria;
|
|
@@ -4053,15 +4170,15 @@ export interface UpdateFunctionCodeRequest {
|
|
|
4053
4170
|
* <ul>
|
|
4054
4171
|
* <li>
|
|
4055
4172
|
* <p>
|
|
4056
|
-
* <b>Function name</b>
|
|
4173
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
4057
4174
|
* </li>
|
|
4058
4175
|
* <li>
|
|
4059
4176
|
* <p>
|
|
4060
|
-
* <b>Function ARN</b>
|
|
4177
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
4061
4178
|
* </li>
|
|
4062
4179
|
* <li>
|
|
4063
4180
|
* <p>
|
|
4064
|
-
* <b>Partial ARN</b>
|
|
4181
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
4065
4182
|
* </li>
|
|
4066
4183
|
* </ul>
|
|
4067
4184
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -4069,7 +4186,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
4069
4186
|
*/
|
|
4070
4187
|
FunctionName: string | undefined;
|
|
4071
4188
|
/**
|
|
4072
|
-
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and
|
|
4189
|
+
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients
|
|
4073
4190
|
* handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.</p>
|
|
4074
4191
|
*/
|
|
4075
4192
|
ZipFile?: Uint8Array;
|
|
@@ -4087,8 +4204,8 @@ export interface UpdateFunctionCodeRequest {
|
|
|
4087
4204
|
*/
|
|
4088
4205
|
S3ObjectVersion?: string;
|
|
4089
4206
|
/**
|
|
4090
|
-
* <p>URI of a container image in the Amazon ECR registry. Do not use for a function defined
|
|
4091
|
-
*
|
|
4207
|
+
* <p>URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip
|
|
4208
|
+
* file archive.</p>
|
|
4092
4209
|
*/
|
|
4093
4210
|
ImageUri?: string;
|
|
4094
4211
|
/**
|
|
@@ -4102,7 +4219,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
4102
4219
|
*/
|
|
4103
4220
|
DryRun?: boolean;
|
|
4104
4221
|
/**
|
|
4105
|
-
* <p>
|
|
4222
|
+
* <p>Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
4106
4223
|
* function that has changed since you last read it.</p>
|
|
4107
4224
|
*/
|
|
4108
4225
|
RevisionId?: string;
|
|
@@ -4121,15 +4238,15 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4121
4238
|
* <ul>
|
|
4122
4239
|
* <li>
|
|
4123
4240
|
* <p>
|
|
4124
|
-
* <b>Function name</b>
|
|
4241
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
4125
4242
|
* </li>
|
|
4126
4243
|
* <li>
|
|
4127
4244
|
* <p>
|
|
4128
|
-
* <b>Function ARN</b>
|
|
4245
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
4129
4246
|
* </li>
|
|
4130
4247
|
* <li>
|
|
4131
4248
|
* <p>
|
|
4132
|
-
* <b>Partial ARN</b>
|
|
4249
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
4133
4250
|
* </li>
|
|
4134
4251
|
* </ul>
|
|
4135
4252
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -4141,10 +4258,10 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4141
4258
|
*/
|
|
4142
4259
|
Role?: string;
|
|
4143
4260
|
/**
|
|
4144
|
-
* <p>The name of the method within your code that Lambda calls to
|
|
4261
|
+
* <p>The name of the method within your code that Lambda calls to run your function.
|
|
4145
4262
|
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
4146
4263
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
4147
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/
|
|
4264
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html">Lambda programming model</a>.</p>
|
|
4148
4265
|
*/
|
|
4149
4266
|
Handler?: string;
|
|
4150
4267
|
/**
|
|
@@ -4153,18 +4270,18 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4153
4270
|
Description?: string;
|
|
4154
4271
|
/**
|
|
4155
4272
|
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
4156
|
-
* maximum allowed value is 900 seconds. For
|
|
4273
|
+
* maximum allowed value is 900 seconds. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
4157
4274
|
*/
|
|
4158
4275
|
Timeout?: number;
|
|
4159
4276
|
/**
|
|
4160
|
-
* <p>The amount of
|
|
4277
|
+
* <p>The amount of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console">memory available to the function</a> at runtime.
|
|
4161
4278
|
* Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.</p>
|
|
4162
4279
|
*/
|
|
4163
4280
|
MemorySize?: number;
|
|
4164
4281
|
/**
|
|
4165
4282
|
* <p>For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.
|
|
4166
|
-
* When you connect a function to a VPC, it can
|
|
4167
|
-
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">VPC
|
|
4283
|
+
* When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more
|
|
4284
|
+
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to access resources in a VPC</a>.</p>
|
|
4168
4285
|
*/
|
|
4169
4286
|
VpcConfig?: VpcConfig;
|
|
4170
4287
|
/**
|
|
@@ -4177,12 +4294,12 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4177
4294
|
*/
|
|
4178
4295
|
Runtime?: Runtime | string;
|
|
4179
4296
|
/**
|
|
4180
|
-
* <p>A dead
|
|
4181
|
-
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">Dead
|
|
4297
|
+
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
4298
|
+
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">Dead-letter queues</a>.</p>
|
|
4182
4299
|
*/
|
|
4183
4300
|
DeadLetterConfig?: DeadLetterConfig;
|
|
4184
4301
|
/**
|
|
4185
|
-
* <p>The ARN of the
|
|
4302
|
+
* <p>The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment
|
|
4186
4303
|
* variables. If it's not provided, Lambda uses a default service key.</p>
|
|
4187
4304
|
*/
|
|
4188
4305
|
KMSKeyArn?: string;
|
|
@@ -4192,7 +4309,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4192
4309
|
*/
|
|
4193
4310
|
TracingConfig?: TracingConfig;
|
|
4194
4311
|
/**
|
|
4195
|
-
* <p>
|
|
4312
|
+
* <p>Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
4196
4313
|
* function that has changed since you last read it.</p>
|
|
4197
4314
|
*/
|
|
4198
4315
|
RevisionId?: string;
|
|
@@ -4212,9 +4329,14 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4212
4329
|
*/
|
|
4213
4330
|
ImageConfig?: ImageConfig;
|
|
4214
4331
|
/**
|
|
4215
|
-
* <p>The size of the function
|
|
4332
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
4333
|
+
* number between 512 and 10,240 MB.</p>
|
|
4216
4334
|
*/
|
|
4217
4335
|
EphemeralStorage?: EphemeralStorage;
|
|
4336
|
+
/**
|
|
4337
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
4338
|
+
*/
|
|
4339
|
+
SnapStart?: SnapStart;
|
|
4218
4340
|
}
|
|
4219
4341
|
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
4220
4342
|
/**
|
|
@@ -4287,15 +4409,15 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
4287
4409
|
* <ul>
|
|
4288
4410
|
* <li>
|
|
4289
4411
|
* <p>
|
|
4290
|
-
* <b>Function name</b>
|
|
4412
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
4291
4413
|
* </li>
|
|
4292
4414
|
* <li>
|
|
4293
4415
|
* <p>
|
|
4294
|
-
* <b>Function ARN</b>
|
|
4416
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
4295
4417
|
* </li>
|
|
4296
4418
|
* <li>
|
|
4297
4419
|
* <p>
|
|
4298
|
-
* <b>Partial ARN</b>
|
|
4420
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
4299
4421
|
* </li>
|
|
4300
4422
|
* </ul>
|
|
4301
4423
|
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
@@ -4308,8 +4430,8 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
4308
4430
|
Qualifier?: string;
|
|
4309
4431
|
/**
|
|
4310
4432
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
4311
|
-
*
|
|
4312
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
4433
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4434
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4313
4435
|
*/
|
|
4314
4436
|
AuthType?: FunctionUrlAuthType | string;
|
|
4315
4437
|
/**
|
|
@@ -4329,8 +4451,8 @@ export interface UpdateFunctionUrlConfigResponse {
|
|
|
4329
4451
|
FunctionArn: string | undefined;
|
|
4330
4452
|
/**
|
|
4331
4453
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
4332
|
-
*
|
|
4333
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">
|
|
4454
|
+
* IAM users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4455
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4334
4456
|
*/
|
|
4335
4457
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
4336
4458
|
/**
|
|
@@ -4471,6 +4593,10 @@ export declare const FileSystemConfigFilterSensitiveLog: (obj: FileSystemConfig)
|
|
|
4471
4593
|
* @internal
|
|
4472
4594
|
*/
|
|
4473
4595
|
export declare const ImageConfigFilterSensitiveLog: (obj: ImageConfig) => any;
|
|
4596
|
+
/**
|
|
4597
|
+
* @internal
|
|
4598
|
+
*/
|
|
4599
|
+
export declare const SnapStartFilterSensitiveLog: (obj: SnapStart) => any;
|
|
4474
4600
|
/**
|
|
4475
4601
|
* @internal
|
|
4476
4602
|
*/
|
|
@@ -4503,6 +4629,10 @@ export declare const ImageConfigResponseFilterSensitiveLog: (obj: ImageConfigRes
|
|
|
4503
4629
|
* @internal
|
|
4504
4630
|
*/
|
|
4505
4631
|
export declare const LayerFilterSensitiveLog: (obj: Layer) => any;
|
|
4632
|
+
/**
|
|
4633
|
+
* @internal
|
|
4634
|
+
*/
|
|
4635
|
+
export declare const SnapStartResponseFilterSensitiveLog: (obj: SnapStartResponse) => any;
|
|
4506
4636
|
/**
|
|
4507
4637
|
* @internal
|
|
4508
4638
|
*/
|