cdk-docker-image-deployment 0.0.88 → 0.0.89
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/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +29 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
- package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
- package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
- package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
- package/node_modules/aws-sdk/apis/metadata.json +16 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
- package/node_modules/aws-sdk/clients/all.d.ts +5 -0
- package/node_modules/aws-sdk/clients/all.js +6 -1
- package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
- package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
- package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
- package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
- package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
- package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
- package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
- package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
- package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
- package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
- package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
- package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
- package/node_modules/aws-sdk/clients/omics.js +19 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
- package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
- package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
- package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
- package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
- package/node_modules/aws-sdk/clients/securitylake.js +18 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +39 -13
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +264 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +3615 -1676
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -0
- package/node_modules/aws-sdk/lib/core.d.ts +4 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +26 -9
- package/node_modules/aws-sdk/lib/region_config.js +11 -2
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
|
@@ -22,11 +22,11 @@ declare class Lambda extends Service {
|
|
|
22
22
|
*/
|
|
23
23
|
addLayerVersionPermission(callback?: (err: AWSError, data: Lambda.Types.AddLayerVersionPermissionResponse) => void): Request<Lambda.Types.AddLayerVersionPermissionResponse, AWSError>;
|
|
24
24
|
/**
|
|
25
|
-
* Grants an Amazon Web Services
|
|
25
|
+
* Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.
|
|
26
26
|
*/
|
|
27
27
|
addPermission(params: Lambda.Types.AddPermissionRequest, callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request<Lambda.Types.AddPermissionResponse, AWSError>;
|
|
28
28
|
/**
|
|
29
|
-
* Grants an Amazon Web Services
|
|
29
|
+
* Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.
|
|
30
30
|
*/
|
|
31
31
|
addPermission(callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request<Lambda.Types.AddPermissionResponse, AWSError>;
|
|
32
32
|
/**
|
|
@@ -54,11 +54,11 @@ declare class Lambda extends Service {
|
|
|
54
54
|
*/
|
|
55
55
|
createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
|
|
56
56
|
/**
|
|
57
|
-
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
|
|
57
|
+
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function. If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.
|
|
58
58
|
*/
|
|
59
59
|
createFunction(params: Lambda.Types.CreateFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
60
60
|
/**
|
|
61
|
-
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
|
|
61
|
+
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function. If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.
|
|
62
62
|
*/
|
|
63
63
|
createFunction(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
64
64
|
/**
|
|
@@ -94,11 +94,11 @@ declare class Lambda extends Service {
|
|
|
94
94
|
*/
|
|
95
95
|
deleteEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
|
|
96
96
|
/**
|
|
97
|
-
* Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services
|
|
97
|
+
* Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.
|
|
98
98
|
*/
|
|
99
99
|
deleteFunction(params: Lambda.Types.DeleteFunctionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
100
100
|
/**
|
|
101
|
-
* Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services
|
|
101
|
+
* Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.
|
|
102
102
|
*/
|
|
103
103
|
deleteFunction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
104
104
|
/**
|
|
@@ -270,11 +270,11 @@ declare class Lambda extends Service {
|
|
|
270
270
|
*/
|
|
271
271
|
getProvisionedConcurrencyConfig(callback?: (err: AWSError, data: Lambda.Types.GetProvisionedConcurrencyConfigResponse) => void): Request<Lambda.Types.GetProvisionedConcurrencyConfigResponse, AWSError>;
|
|
272
272
|
/**
|
|
273
|
-
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see
|
|
273
|
+
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
|
|
274
274
|
*/
|
|
275
275
|
invoke(params: Lambda.Types.InvocationRequest, callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
|
|
276
276
|
/**
|
|
277
|
-
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see
|
|
277
|
+
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
|
|
278
278
|
*/
|
|
279
279
|
invoke(callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
|
|
280
280
|
/**
|
|
@@ -326,11 +326,11 @@ declare class Lambda extends Service {
|
|
|
326
326
|
*/
|
|
327
327
|
listFunctionUrlConfigs(callback?: (err: AWSError, data: Lambda.Types.ListFunctionUrlConfigsResponse) => void): Request<Lambda.Types.ListFunctionUrlConfigsResponse, AWSError>;
|
|
328
328
|
/**
|
|
329
|
-
* Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.
|
|
329
|
+
* Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version. The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.
|
|
330
330
|
*/
|
|
331
331
|
listFunctions(params: Lambda.Types.ListFunctionsRequest, callback?: (err: AWSError, data: Lambda.Types.ListFunctionsResponse) => void): Request<Lambda.Types.ListFunctionsResponse, AWSError>;
|
|
332
332
|
/**
|
|
333
|
-
* Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.
|
|
333
|
+
* Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version. The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.
|
|
334
334
|
*/
|
|
335
335
|
listFunctions(callback?: (err: AWSError, data: Lambda.Types.ListFunctionsResponse) => void): Request<Lambda.Types.ListFunctionsResponse, AWSError>;
|
|
336
336
|
/**
|
|
@@ -406,11 +406,11 @@ declare class Lambda extends Service {
|
|
|
406
406
|
*/
|
|
407
407
|
putFunctionCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.PutFunctionCodeSigningConfigResponse) => void): Request<Lambda.Types.PutFunctionCodeSigningConfigResponse, AWSError>;
|
|
408
408
|
/**
|
|
409
|
-
* Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see
|
|
409
|
+
* Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.
|
|
410
410
|
*/
|
|
411
411
|
putFunctionConcurrency(params: Lambda.Types.PutFunctionConcurrencyRequest, callback?: (err: AWSError, data: Lambda.Types.Concurrency) => void): Request<Lambda.Types.Concurrency, AWSError>;
|
|
412
412
|
/**
|
|
413
|
-
* Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see
|
|
413
|
+
* Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.
|
|
414
414
|
*/
|
|
415
415
|
putFunctionConcurrency(callback?: (err: AWSError, data: Lambda.Types.Concurrency) => void): Request<Lambda.Types.Concurrency, AWSError>;
|
|
416
416
|
/**
|
|
@@ -438,11 +438,11 @@ declare class Lambda extends Service {
|
|
|
438
438
|
*/
|
|
439
439
|
removeLayerVersionPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
440
440
|
/**
|
|
441
|
-
* Revokes function-use permission from an Amazon Web
|
|
441
|
+
* Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
|
|
442
442
|
*/
|
|
443
443
|
removePermission(params: Lambda.Types.RemovePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
444
444
|
/**
|
|
445
|
-
* Revokes function-use permission from an Amazon Web
|
|
445
|
+
* Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
|
|
446
446
|
*/
|
|
447
447
|
removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
448
448
|
/**
|
|
@@ -486,19 +486,19 @@ declare class Lambda extends Service {
|
|
|
486
486
|
*/
|
|
487
487
|
updateEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
|
|
488
488
|
/**
|
|
489
|
-
* Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. If the function's package type is Image, you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.
|
|
489
|
+
* Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda. If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry. If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version. For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
|
|
490
490
|
*/
|
|
491
491
|
updateFunctionCode(params: Lambda.Types.UpdateFunctionCodeRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
492
492
|
/**
|
|
493
|
-
* Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. If the function's package type is Image, you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.
|
|
493
|
+
* Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda. If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry. If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version. For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
|
|
494
494
|
*/
|
|
495
495
|
updateFunctionCode(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
496
496
|
/**
|
|
497
|
-
* Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see
|
|
497
|
+
* Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.
|
|
498
498
|
*/
|
|
499
499
|
updateFunctionConfiguration(params: Lambda.Types.UpdateFunctionConfigurationRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
500
500
|
/**
|
|
501
|
-
* Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see
|
|
501
|
+
* Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.
|
|
502
502
|
*/
|
|
503
503
|
updateFunctionConfiguration(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
504
504
|
/**
|
|
@@ -557,6 +557,14 @@ declare class Lambda extends Service {
|
|
|
557
557
|
* Waits for the functionUpdatedV2 state by periodically calling the underlying Lambda.getFunctionoperation every 1 seconds (at most 300 times). Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunction API. This should be used after function updates.
|
|
558
558
|
*/
|
|
559
559
|
waitFor(state: "functionUpdatedV2", callback?: (err: AWSError, data: Lambda.Types.GetFunctionResponse) => void): Request<Lambda.Types.GetFunctionResponse, AWSError>;
|
|
560
|
+
/**
|
|
561
|
+
* Waits for the publishedVersionActive state by periodically calling the underlying Lambda.getFunctionConfigurationoperation every 5 seconds (at most 312 times). Waits for the published version's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new version is published.
|
|
562
|
+
*/
|
|
563
|
+
waitFor(state: "publishedVersionActive", params: Lambda.Types.GetFunctionConfigurationRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
564
|
+
/**
|
|
565
|
+
* Waits for the publishedVersionActive state by periodically calling the underlying Lambda.getFunctionConfigurationoperation every 5 seconds (at most 312 times). Waits for the published version's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new version is published.
|
|
566
|
+
*/
|
|
567
|
+
waitFor(state: "publishedVersionActive", callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
560
568
|
}
|
|
561
569
|
declare namespace Lambda {
|
|
562
570
|
export interface AccountLimit {
|
|
@@ -634,7 +642,7 @@ declare namespace Lambda {
|
|
|
634
642
|
}
|
|
635
643
|
export interface AddPermissionRequest {
|
|
636
644
|
/**
|
|
637
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
645
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
638
646
|
*/
|
|
639
647
|
FunctionName: FunctionName;
|
|
640
648
|
/**
|
|
@@ -646,19 +654,19 @@ declare namespace Lambda {
|
|
|
646
654
|
*/
|
|
647
655
|
Action: Action;
|
|
648
656
|
/**
|
|
649
|
-
* The Amazon Web
|
|
657
|
+
* The Amazon Web Service or Amazon Web Services account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.
|
|
650
658
|
*/
|
|
651
659
|
Principal: Principal;
|
|
652
660
|
/**
|
|
653
|
-
* For Amazon Web Services
|
|
661
|
+
* For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the StringLike operator.
|
|
654
662
|
*/
|
|
655
663
|
SourceArn?: Arn;
|
|
656
664
|
/**
|
|
657
|
-
* For Amazon
|
|
665
|
+
* For Amazon Web Service, the ID of the Amazon Web Services account that owns the resource. Use this together with SourceArn to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
658
666
|
*/
|
|
659
667
|
SourceAccount?: SourceOwner;
|
|
660
668
|
/**
|
|
661
|
-
* For Alexa Smart Home functions, a token that
|
|
669
|
+
* For Alexa Smart Home functions, a token that the invoker must supply.
|
|
662
670
|
*/
|
|
663
671
|
EventSourceToken?: EventSourceToken;
|
|
664
672
|
/**
|
|
@@ -666,7 +674,7 @@ declare namespace Lambda {
|
|
|
666
674
|
*/
|
|
667
675
|
Qualifier?: Qualifier;
|
|
668
676
|
/**
|
|
669
|
-
*
|
|
677
|
+
* Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.
|
|
670
678
|
*/
|
|
671
679
|
RevisionId?: String;
|
|
672
680
|
/**
|
|
@@ -674,7 +682,7 @@ declare namespace Lambda {
|
|
|
674
682
|
*/
|
|
675
683
|
PrincipalOrgID?: PrincipalOrgID;
|
|
676
684
|
/**
|
|
677
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
685
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
678
686
|
*/
|
|
679
687
|
FunctionUrlAuthType?: FunctionUrlAuthType;
|
|
680
688
|
}
|
|
@@ -783,7 +791,7 @@ declare namespace Lambda {
|
|
|
783
791
|
export type CompatibleRuntimes = Runtime[];
|
|
784
792
|
export interface Concurrency {
|
|
785
793
|
/**
|
|
786
|
-
* The number of concurrent executions that are reserved for this function. For more information, see Managing
|
|
794
|
+
* The number of concurrent executions that are reserved for this function. For more information, see Managing Lambda reserved concurrency.
|
|
787
795
|
*/
|
|
788
796
|
ReservedConcurrentExecutions?: ReservedConcurrentExecutions;
|
|
789
797
|
}
|
|
@@ -857,7 +865,7 @@ declare namespace Lambda {
|
|
|
857
865
|
}
|
|
858
866
|
export interface CreateEventSourceMappingRequest {
|
|
859
867
|
/**
|
|
860
|
-
* The Amazon Resource Name (ARN) of the event source. Amazon Kinesis - The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams - The ARN of the stream. Amazon Simple Queue Service - The ARN of the queue. Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
|
|
868
|
+
* The Amazon Resource Name (ARN) of the event source. Amazon Kinesis - The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams - The ARN of the stream. Amazon Simple Queue Service - The ARN of the queue. Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. Amazon MQ - The ARN of the broker.
|
|
861
869
|
*/
|
|
862
870
|
EventSourceArn?: Arn;
|
|
863
871
|
/**
|
|
@@ -873,7 +881,7 @@ declare namespace Lambda {
|
|
|
873
881
|
*/
|
|
874
882
|
BatchSize?: BatchSize;
|
|
875
883
|
/**
|
|
876
|
-
*
|
|
884
|
+
* An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
|
|
877
885
|
*/
|
|
878
886
|
FilterCriteria?: FilterCriteria;
|
|
879
887
|
/**
|
|
@@ -943,7 +951,7 @@ declare namespace Lambda {
|
|
|
943
951
|
}
|
|
944
952
|
export interface CreateFunctionRequest {
|
|
945
953
|
/**
|
|
946
|
-
* The name of the Lambda function. Name formats Function name
|
|
954
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
947
955
|
*/
|
|
948
956
|
FunctionName: FunctionName;
|
|
949
957
|
/**
|
|
@@ -955,7 +963,7 @@ declare namespace Lambda {
|
|
|
955
963
|
*/
|
|
956
964
|
Role: RoleArn;
|
|
957
965
|
/**
|
|
958
|
-
* The name of the method within your code that Lambda calls to
|
|
966
|
+
* The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
|
|
959
967
|
*/
|
|
960
968
|
Handler?: Handler;
|
|
961
969
|
/**
|
|
@@ -967,7 +975,7 @@ declare namespace Lambda {
|
|
|
967
975
|
*/
|
|
968
976
|
Description?: Description;
|
|
969
977
|
/**
|
|
970
|
-
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For
|
|
978
|
+
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
|
|
971
979
|
*/
|
|
972
980
|
Timeout?: Timeout;
|
|
973
981
|
/**
|
|
@@ -979,15 +987,15 @@ declare namespace Lambda {
|
|
|
979
987
|
*/
|
|
980
988
|
Publish?: Boolean;
|
|
981
989
|
/**
|
|
982
|
-
* For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can
|
|
990
|
+
* For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC.
|
|
983
991
|
*/
|
|
984
992
|
VpcConfig?: VpcConfig;
|
|
985
993
|
/**
|
|
986
|
-
* The type of deployment package. Set to Image for container image and set Zip for
|
|
994
|
+
* The type of deployment package. Set to Image for container image and set to Zip for .zip file archive.
|
|
987
995
|
*/
|
|
988
996
|
PackageType?: PackageType;
|
|
989
997
|
/**
|
|
990
|
-
* A dead
|
|
998
|
+
* A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues.
|
|
991
999
|
*/
|
|
992
1000
|
DeadLetterConfig?: DeadLetterConfig;
|
|
993
1001
|
/**
|
|
@@ -995,7 +1003,7 @@ declare namespace Lambda {
|
|
|
995
1003
|
*/
|
|
996
1004
|
Environment?: Environment;
|
|
997
1005
|
/**
|
|
998
|
-
* The ARN of the
|
|
1006
|
+
* The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.
|
|
999
1007
|
*/
|
|
1000
1008
|
KMSKeyArn?: KMSKeyArn;
|
|
1001
1009
|
/**
|
|
@@ -1027,13 +1035,17 @@ declare namespace Lambda {
|
|
|
1027
1035
|
*/
|
|
1028
1036
|
Architectures?: ArchitecturesList;
|
|
1029
1037
|
/**
|
|
1030
|
-
* The size of the function
|
|
1038
|
+
* The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
|
|
1031
1039
|
*/
|
|
1032
1040
|
EphemeralStorage?: EphemeralStorage;
|
|
1041
|
+
/**
|
|
1042
|
+
* The function's SnapStart setting.
|
|
1043
|
+
*/
|
|
1044
|
+
SnapStart?: SnapStart;
|
|
1033
1045
|
}
|
|
1034
1046
|
export interface CreateFunctionUrlConfigRequest {
|
|
1035
1047
|
/**
|
|
1036
|
-
* The name of the Lambda function. Name formats Function name
|
|
1048
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1037
1049
|
*/
|
|
1038
1050
|
FunctionName: FunctionName;
|
|
1039
1051
|
/**
|
|
@@ -1041,7 +1053,7 @@ declare namespace Lambda {
|
|
|
1041
1053
|
*/
|
|
1042
1054
|
Qualifier?: FunctionUrlQualifier;
|
|
1043
1055
|
/**
|
|
1044
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
1056
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
1045
1057
|
*/
|
|
1046
1058
|
AuthType: FunctionUrlAuthType;
|
|
1047
1059
|
/**
|
|
@@ -1059,7 +1071,7 @@ declare namespace Lambda {
|
|
|
1059
1071
|
*/
|
|
1060
1072
|
FunctionArn: FunctionArn;
|
|
1061
1073
|
/**
|
|
1062
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
1074
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
1063
1075
|
*/
|
|
1064
1076
|
AuthType: FunctionUrlAuthType;
|
|
1065
1077
|
/**
|
|
@@ -1110,7 +1122,7 @@ declare namespace Lambda {
|
|
|
1110
1122
|
}
|
|
1111
1123
|
export interface DeleteFunctionConcurrencyRequest {
|
|
1112
1124
|
/**
|
|
1113
|
-
* The name of the Lambda function. Name formats Function name
|
|
1125
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1114
1126
|
*/
|
|
1115
1127
|
FunctionName: FunctionName;
|
|
1116
1128
|
}
|
|
@@ -1126,17 +1138,17 @@ declare namespace Lambda {
|
|
|
1126
1138
|
}
|
|
1127
1139
|
export interface DeleteFunctionRequest {
|
|
1128
1140
|
/**
|
|
1129
|
-
* The name of the Lambda function or version. Name formats Function name
|
|
1141
|
+
* The name of the Lambda function or version. Name formats Function name – my-function (name-only), my-function:1 (with version). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1130
1142
|
*/
|
|
1131
1143
|
FunctionName: FunctionName;
|
|
1132
1144
|
/**
|
|
1133
|
-
* Specify a version to delete. You can't delete a version that
|
|
1145
|
+
* Specify a version to delete. You can't delete a version that an alias references.
|
|
1134
1146
|
*/
|
|
1135
1147
|
Qualifier?: Qualifier;
|
|
1136
1148
|
}
|
|
1137
1149
|
export interface DeleteFunctionUrlConfigRequest {
|
|
1138
1150
|
/**
|
|
1139
|
-
* The name of the Lambda function. Name formats Function name
|
|
1151
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1140
1152
|
*/
|
|
1141
1153
|
FunctionName: FunctionName;
|
|
1142
1154
|
/**
|
|
@@ -1156,7 +1168,7 @@ declare namespace Lambda {
|
|
|
1156
1168
|
}
|
|
1157
1169
|
export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
1158
1170
|
/**
|
|
1159
|
-
* The name of the Lambda function. Name formats Function name
|
|
1171
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1160
1172
|
*/
|
|
1161
1173
|
FunctionName: FunctionName;
|
|
1162
1174
|
/**
|
|
@@ -1212,7 +1224,7 @@ declare namespace Lambda {
|
|
|
1212
1224
|
export type EnvironmentVariables = {[key: string]: EnvironmentVariableValue};
|
|
1213
1225
|
export interface EphemeralStorage {
|
|
1214
1226
|
/**
|
|
1215
|
-
* The size of the function
|
|
1227
|
+
* The size of the function's /tmp directory.
|
|
1216
1228
|
*/
|
|
1217
1229
|
Size: EphemeralStorageSize;
|
|
1218
1230
|
}
|
|
@@ -1247,7 +1259,7 @@ declare namespace Lambda {
|
|
|
1247
1259
|
*/
|
|
1248
1260
|
EventSourceArn?: Arn;
|
|
1249
1261
|
/**
|
|
1250
|
-
*
|
|
1262
|
+
* An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
|
|
1251
1263
|
*/
|
|
1252
1264
|
FilterCriteria?: FilterCriteria;
|
|
1253
1265
|
/**
|
|
@@ -1351,7 +1363,7 @@ declare namespace Lambda {
|
|
|
1351
1363
|
export type FunctionArnList = FunctionArn[];
|
|
1352
1364
|
export interface FunctionCode {
|
|
1353
1365
|
/**
|
|
1354
|
-
* The base64-encoded contents of the deployment package. Amazon Web Services SDK and
|
|
1366
|
+
* The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.
|
|
1355
1367
|
*/
|
|
1356
1368
|
ZipFile?: _Blob;
|
|
1357
1369
|
/**
|
|
@@ -1407,7 +1419,7 @@ declare namespace Lambda {
|
|
|
1407
1419
|
*/
|
|
1408
1420
|
Role?: RoleArn;
|
|
1409
1421
|
/**
|
|
1410
|
-
* The function that Lambda calls to begin
|
|
1422
|
+
* The function that Lambda calls to begin running your function.
|
|
1411
1423
|
*/
|
|
1412
1424
|
Handler?: Handler;
|
|
1413
1425
|
/**
|
|
@@ -1423,7 +1435,7 @@ declare namespace Lambda {
|
|
|
1423
1435
|
*/
|
|
1424
1436
|
Timeout?: Timeout;
|
|
1425
1437
|
/**
|
|
1426
|
-
* The amount of memory available to the function at runtime.
|
|
1438
|
+
* The amount of memory available to the function at runtime.
|
|
1427
1439
|
*/
|
|
1428
1440
|
MemorySize?: MemorySize;
|
|
1429
1441
|
/**
|
|
@@ -1451,7 +1463,7 @@ declare namespace Lambda {
|
|
|
1451
1463
|
*/
|
|
1452
1464
|
Environment?: EnvironmentResponse;
|
|
1453
1465
|
/**
|
|
1454
|
-
* The KMS key that's used to encrypt the function's environment variables. This key is only
|
|
1466
|
+
* The KMS key that's used to encrypt the function's environment variables. This key is returned only if you've configured a customer managed key.
|
|
1455
1467
|
*/
|
|
1456
1468
|
KMSKeyArn?: KMSKeyArn;
|
|
1457
1469
|
/**
|
|
@@ -1467,7 +1479,7 @@ declare namespace Lambda {
|
|
|
1467
1479
|
*/
|
|
1468
1480
|
RevisionId?: String;
|
|
1469
1481
|
/**
|
|
1470
|
-
* The function's
|
|
1482
|
+
* The function's layers.
|
|
1471
1483
|
*/
|
|
1472
1484
|
Layers?: LayersReferenceList;
|
|
1473
1485
|
/**
|
|
@@ -1519,9 +1531,13 @@ declare namespace Lambda {
|
|
|
1519
1531
|
*/
|
|
1520
1532
|
Architectures?: ArchitecturesList;
|
|
1521
1533
|
/**
|
|
1522
|
-
* The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and
|
|
1534
|
+
* The size of the function’s /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
|
|
1523
1535
|
*/
|
|
1524
1536
|
EphemeralStorage?: EphemeralStorage;
|
|
1537
|
+
/**
|
|
1538
|
+
* Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Reducing startup time with Lambda SnapStart.
|
|
1539
|
+
*/
|
|
1540
|
+
SnapStart?: SnapStartResponse;
|
|
1525
1541
|
}
|
|
1526
1542
|
export interface FunctionEventInvokeConfig {
|
|
1527
1543
|
/**
|
|
@@ -1574,7 +1590,7 @@ declare namespace Lambda {
|
|
|
1574
1590
|
*/
|
|
1575
1591
|
Cors?: Cors;
|
|
1576
1592
|
/**
|
|
1577
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
1593
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
1578
1594
|
*/
|
|
1579
1595
|
AuthType: FunctionUrlAuthType;
|
|
1580
1596
|
}
|
|
@@ -1639,7 +1655,7 @@ declare namespace Lambda {
|
|
|
1639
1655
|
}
|
|
1640
1656
|
export interface GetFunctionConcurrencyRequest {
|
|
1641
1657
|
/**
|
|
1642
|
-
* The name of the Lambda function. Name formats Function name
|
|
1658
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1643
1659
|
*/
|
|
1644
1660
|
FunctionName: FunctionName;
|
|
1645
1661
|
}
|
|
@@ -1651,7 +1667,7 @@ declare namespace Lambda {
|
|
|
1651
1667
|
}
|
|
1652
1668
|
export interface GetFunctionConfigurationRequest {
|
|
1653
1669
|
/**
|
|
1654
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
1670
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1655
1671
|
*/
|
|
1656
1672
|
FunctionName: NamespacedFunctionName;
|
|
1657
1673
|
/**
|
|
@@ -1671,7 +1687,7 @@ declare namespace Lambda {
|
|
|
1671
1687
|
}
|
|
1672
1688
|
export interface GetFunctionRequest {
|
|
1673
1689
|
/**
|
|
1674
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
1690
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1675
1691
|
*/
|
|
1676
1692
|
FunctionName: NamespacedFunctionName;
|
|
1677
1693
|
/**
|
|
@@ -1699,7 +1715,7 @@ declare namespace Lambda {
|
|
|
1699
1715
|
}
|
|
1700
1716
|
export interface GetFunctionUrlConfigRequest {
|
|
1701
1717
|
/**
|
|
1702
|
-
* The name of the Lambda function. Name formats Function name
|
|
1718
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1703
1719
|
*/
|
|
1704
1720
|
FunctionName: FunctionName;
|
|
1705
1721
|
/**
|
|
@@ -1717,7 +1733,7 @@ declare namespace Lambda {
|
|
|
1717
1733
|
*/
|
|
1718
1734
|
FunctionArn: FunctionArn;
|
|
1719
1735
|
/**
|
|
1720
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
1736
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
1721
1737
|
*/
|
|
1722
1738
|
AuthType: FunctionUrlAuthType;
|
|
1723
1739
|
/**
|
|
@@ -1809,7 +1825,7 @@ declare namespace Lambda {
|
|
|
1809
1825
|
}
|
|
1810
1826
|
export interface GetPolicyRequest {
|
|
1811
1827
|
/**
|
|
1812
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
1828
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1813
1829
|
*/
|
|
1814
1830
|
FunctionName: NamespacedFunctionName;
|
|
1815
1831
|
/**
|
|
@@ -1829,7 +1845,7 @@ declare namespace Lambda {
|
|
|
1829
1845
|
}
|
|
1830
1846
|
export interface GetProvisionedConcurrencyConfigRequest {
|
|
1831
1847
|
/**
|
|
1832
|
-
* The name of the Lambda function. Name formats Function name
|
|
1848
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1833
1849
|
*/
|
|
1834
1850
|
FunctionName: FunctionName;
|
|
1835
1851
|
/**
|
|
@@ -1873,7 +1889,7 @@ declare namespace Lambda {
|
|
|
1873
1889
|
*/
|
|
1874
1890
|
EntryPoint?: StringList;
|
|
1875
1891
|
/**
|
|
1876
|
-
* Specifies parameters that you want to pass in with ENTRYPOINT.
|
|
1892
|
+
* Specifies parameters that you want to pass in with ENTRYPOINT.
|
|
1877
1893
|
*/
|
|
1878
1894
|
Command?: StringList;
|
|
1879
1895
|
/**
|
|
@@ -1904,11 +1920,11 @@ declare namespace Lambda {
|
|
|
1904
1920
|
export type Integer = number;
|
|
1905
1921
|
export interface InvocationRequest {
|
|
1906
1922
|
/**
|
|
1907
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
1923
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1908
1924
|
*/
|
|
1909
1925
|
FunctionName: NamespacedFunctionName;
|
|
1910
1926
|
/**
|
|
1911
|
-
* Choose from the following options. RequestResponse (default)
|
|
1927
|
+
* Choose from the following options. RequestResponse (default) – Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. Event – Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if one is configured). The API response only includes a status code. DryRun – Validate parameter values and verify that the user or role has permission to invoke the function.
|
|
1912
1928
|
*/
|
|
1913
1929
|
InvocationType?: InvocationType;
|
|
1914
1930
|
/**
|
|
@@ -1916,11 +1932,11 @@ declare namespace Lambda {
|
|
|
1916
1932
|
*/
|
|
1917
1933
|
LogType?: LogType;
|
|
1918
1934
|
/**
|
|
1919
|
-
* Up to
|
|
1935
|
+
* Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.
|
|
1920
1936
|
*/
|
|
1921
1937
|
ClientContext?: String;
|
|
1922
1938
|
/**
|
|
1923
|
-
* The JSON that you want to provide to your Lambda function as input. You can enter the JSON directly. For example, --payload '{ "key": "value" }'. You can also specify a file path. For example, --payload file://payload.json.
|
|
1939
|
+
* The JSON that you want to provide to your Lambda function as input. You can enter the JSON directly. For example, --payload '{ "key": "value" }'. You can also specify a file path. For example, --payload file://payload.json.
|
|
1924
1940
|
*/
|
|
1925
1941
|
Payload?: _Blob;
|
|
1926
1942
|
/**
|
|
@@ -1938,7 +1954,7 @@ declare namespace Lambda {
|
|
|
1938
1954
|
*/
|
|
1939
1955
|
FunctionError?: String;
|
|
1940
1956
|
/**
|
|
1941
|
-
* The last 4 KB of the execution log, which is base64
|
|
1957
|
+
* The last 4 KB of the execution log, which is base64-encoded.
|
|
1942
1958
|
*/
|
|
1943
1959
|
LogResult?: String;
|
|
1944
1960
|
/**
|
|
@@ -1953,7 +1969,7 @@ declare namespace Lambda {
|
|
|
1953
1969
|
export type InvocationType = "Event"|"RequestResponse"|"DryRun"|string;
|
|
1954
1970
|
export interface InvokeAsyncRequest {
|
|
1955
1971
|
/**
|
|
1956
|
-
* The name of the Lambda function. Name formats Function name
|
|
1972
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
1957
1973
|
*/
|
|
1958
1974
|
FunctionName: NamespacedFunctionName;
|
|
1959
1975
|
/**
|
|
@@ -1970,7 +1986,7 @@ declare namespace Lambda {
|
|
|
1970
1986
|
export type KMSKeyArn = string;
|
|
1971
1987
|
export type LastUpdateStatus = "Successful"|"Failed"|"InProgress"|string;
|
|
1972
1988
|
export type LastUpdateStatusReason = string;
|
|
1973
|
-
export type LastUpdateStatusReasonCode = "EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|string;
|
|
1989
|
+
export type LastUpdateStatusReasonCode = "EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|"KMSKeyAccessDenied"|"KMSKeyNotFound"|"InvalidStateKMSKey"|"DisabledKMSKey"|"EFSIOError"|"EFSMountConnectivityError"|"EFSMountFailure"|"EFSMountTimeout"|"InvalidRuntime"|"InvalidZipFileException"|"FunctionError"|string;
|
|
1974
1990
|
export interface Layer {
|
|
1975
1991
|
/**
|
|
1976
1992
|
* The Amazon Resource Name (ARN) of the function layer.
|
|
@@ -2134,7 +2150,7 @@ declare namespace Lambda {
|
|
|
2134
2150
|
}
|
|
2135
2151
|
export interface ListEventSourceMappingsRequest {
|
|
2136
2152
|
/**
|
|
2137
|
-
* The Amazon Resource Name (ARN) of the event source. Amazon Kinesis - The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams - The ARN of the stream. Amazon Simple Queue Service - The ARN of the queue. Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
|
|
2153
|
+
* The Amazon Resource Name (ARN) of the event source. Amazon Kinesis - The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams - The ARN of the stream. Amazon Simple Queue Service - The ARN of the queue. Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. Amazon MQ - The ARN of the broker.
|
|
2138
2154
|
*/
|
|
2139
2155
|
EventSourceArn?: Arn;
|
|
2140
2156
|
/**
|
|
@@ -2186,7 +2202,7 @@ declare namespace Lambda {
|
|
|
2186
2202
|
}
|
|
2187
2203
|
export interface ListFunctionUrlConfigsRequest {
|
|
2188
2204
|
/**
|
|
2189
|
-
* The name of the Lambda function. Name formats Function name
|
|
2205
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2190
2206
|
*/
|
|
2191
2207
|
FunctionName: FunctionName;
|
|
2192
2208
|
/**
|
|
@@ -2234,7 +2250,7 @@ declare namespace Lambda {
|
|
|
2234
2250
|
}
|
|
2235
2251
|
export interface ListFunctionsRequest {
|
|
2236
2252
|
/**
|
|
2237
|
-
* For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only
|
|
2253
|
+
* For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.
|
|
2238
2254
|
*/
|
|
2239
2255
|
MasterRegion?: MasterRegion;
|
|
2240
2256
|
/**
|
|
@@ -2322,7 +2338,7 @@ declare namespace Lambda {
|
|
|
2322
2338
|
}
|
|
2323
2339
|
export interface ListProvisionedConcurrencyConfigsRequest {
|
|
2324
2340
|
/**
|
|
2325
|
-
* The name of the Lambda function. Name formats Function name
|
|
2341
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2326
2342
|
*/
|
|
2327
2343
|
FunctionName: FunctionName;
|
|
2328
2344
|
/**
|
|
@@ -2557,7 +2573,7 @@ declare namespace Lambda {
|
|
|
2557
2573
|
}
|
|
2558
2574
|
export interface PutFunctionConcurrencyRequest {
|
|
2559
2575
|
/**
|
|
2560
|
-
* The name of the Lambda function. Name formats Function name
|
|
2576
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2561
2577
|
*/
|
|
2562
2578
|
FunctionName: FunctionName;
|
|
2563
2579
|
/**
|
|
@@ -2589,7 +2605,7 @@ declare namespace Lambda {
|
|
|
2589
2605
|
}
|
|
2590
2606
|
export interface PutProvisionedConcurrencyConfigRequest {
|
|
2591
2607
|
/**
|
|
2592
|
-
* The name of the Lambda function. Name formats Function name
|
|
2608
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2593
2609
|
*/
|
|
2594
2610
|
FunctionName: FunctionName;
|
|
2595
2611
|
/**
|
|
@@ -2650,7 +2666,7 @@ declare namespace Lambda {
|
|
|
2650
2666
|
}
|
|
2651
2667
|
export interface RemovePermissionRequest {
|
|
2652
2668
|
/**
|
|
2653
|
-
* The name of the Lambda function, version, or alias. Name formats Function name
|
|
2669
|
+
* The name of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2654
2670
|
*/
|
|
2655
2671
|
FunctionName: FunctionName;
|
|
2656
2672
|
/**
|
|
@@ -2662,7 +2678,7 @@ declare namespace Lambda {
|
|
|
2662
2678
|
*/
|
|
2663
2679
|
Qualifier?: Qualifier;
|
|
2664
2680
|
/**
|
|
2665
|
-
*
|
|
2681
|
+
* Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.
|
|
2666
2682
|
*/
|
|
2667
2683
|
RevisionId?: String;
|
|
2668
2684
|
}
|
|
@@ -2689,6 +2705,24 @@ declare namespace Lambda {
|
|
|
2689
2705
|
}
|
|
2690
2706
|
export type SensitiveString = string;
|
|
2691
2707
|
export type SigningProfileVersionArns = Arn[];
|
|
2708
|
+
export interface SnapStart {
|
|
2709
|
+
/**
|
|
2710
|
+
* Set to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.
|
|
2711
|
+
*/
|
|
2712
|
+
ApplyOn?: SnapStartApplyOn;
|
|
2713
|
+
}
|
|
2714
|
+
export type SnapStartApplyOn = "PublishedVersions"|"None"|string;
|
|
2715
|
+
export type SnapStartOptimizationStatus = "On"|"Off"|string;
|
|
2716
|
+
export interface SnapStartResponse {
|
|
2717
|
+
/**
|
|
2718
|
+
* When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.
|
|
2719
|
+
*/
|
|
2720
|
+
ApplyOn?: SnapStartApplyOn;
|
|
2721
|
+
/**
|
|
2722
|
+
* When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
|
|
2723
|
+
*/
|
|
2724
|
+
OptimizationStatus?: SnapStartOptimizationStatus;
|
|
2725
|
+
}
|
|
2692
2726
|
export interface SourceAccessConfiguration {
|
|
2693
2727
|
/**
|
|
2694
2728
|
* The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH". BASIC_AUTH - (Amazon MQ) The Secrets Manager secret that stores your broker credentials. BASIC_AUTH - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers. VPC_SUBNET - (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster. VPC_SECURITY_GROUP - (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers. SASL_SCRAM_256_AUTH - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers. SASL_SCRAM_512_AUTH - (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers. VIRTUAL_HOST - (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call. CLIENT_CERTIFICATE_TLS_AUTH - (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers. SERVER_ROOT_CA_CERTIFICATE - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
|
|
@@ -2704,7 +2738,7 @@ declare namespace Lambda {
|
|
|
2704
2738
|
export type SourceOwner = string;
|
|
2705
2739
|
export type State = "Pending"|"Active"|"Inactive"|"Failed"|string;
|
|
2706
2740
|
export type StateReason = string;
|
|
2707
|
-
export type StateReasonCode = "Idle"|"Creating"|"Restoring"|"EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|string;
|
|
2741
|
+
export type StateReasonCode = "Idle"|"Creating"|"Restoring"|"EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|"KMSKeyAccessDenied"|"KMSKeyNotFound"|"InvalidStateKMSKey"|"DisabledKMSKey"|"EFSIOError"|"EFSMountConnectivityError"|"EFSMountFailure"|"EFSMountTimeout"|"InvalidRuntime"|"InvalidZipFileException"|"FunctionError"|string;
|
|
2708
2742
|
export type StatementId = string;
|
|
2709
2743
|
export type String = string;
|
|
2710
2744
|
export type StringList = String[];
|
|
@@ -2822,7 +2856,7 @@ declare namespace Lambda {
|
|
|
2822
2856
|
*/
|
|
2823
2857
|
BatchSize?: BatchSize;
|
|
2824
2858
|
/**
|
|
2825
|
-
*
|
|
2859
|
+
* An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
|
|
2826
2860
|
*/
|
|
2827
2861
|
FilterCriteria?: FilterCriteria;
|
|
2828
2862
|
/**
|
|
@@ -2864,11 +2898,11 @@ declare namespace Lambda {
|
|
|
2864
2898
|
}
|
|
2865
2899
|
export interface UpdateFunctionCodeRequest {
|
|
2866
2900
|
/**
|
|
2867
|
-
* The name of the Lambda function. Name formats Function name
|
|
2901
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2868
2902
|
*/
|
|
2869
2903
|
FunctionName: FunctionName;
|
|
2870
2904
|
/**
|
|
2871
|
-
* The base64-encoded contents of the deployment package. Amazon Web Services SDK and
|
|
2905
|
+
* The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.
|
|
2872
2906
|
*/
|
|
2873
2907
|
ZipFile?: _Blob;
|
|
2874
2908
|
/**
|
|
@@ -2896,7 +2930,7 @@ declare namespace Lambda {
|
|
|
2896
2930
|
*/
|
|
2897
2931
|
DryRun?: Boolean;
|
|
2898
2932
|
/**
|
|
2899
|
-
*
|
|
2933
|
+
* Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.
|
|
2900
2934
|
*/
|
|
2901
2935
|
RevisionId?: String;
|
|
2902
2936
|
/**
|
|
@@ -2906,7 +2940,7 @@ declare namespace Lambda {
|
|
|
2906
2940
|
}
|
|
2907
2941
|
export interface UpdateFunctionConfigurationRequest {
|
|
2908
2942
|
/**
|
|
2909
|
-
* The name of the Lambda function. Name formats Function name
|
|
2943
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
2910
2944
|
*/
|
|
2911
2945
|
FunctionName: FunctionName;
|
|
2912
2946
|
/**
|
|
@@ -2914,7 +2948,7 @@ declare namespace Lambda {
|
|
|
2914
2948
|
*/
|
|
2915
2949
|
Role?: RoleArn;
|
|
2916
2950
|
/**
|
|
2917
|
-
* The name of the method within your code that Lambda calls to
|
|
2951
|
+
* The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model.
|
|
2918
2952
|
*/
|
|
2919
2953
|
Handler?: Handler;
|
|
2920
2954
|
/**
|
|
@@ -2922,7 +2956,7 @@ declare namespace Lambda {
|
|
|
2922
2956
|
*/
|
|
2923
2957
|
Description?: Description;
|
|
2924
2958
|
/**
|
|
2925
|
-
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For
|
|
2959
|
+
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment.
|
|
2926
2960
|
*/
|
|
2927
2961
|
Timeout?: Timeout;
|
|
2928
2962
|
/**
|
|
@@ -2930,7 +2964,7 @@ declare namespace Lambda {
|
|
|
2930
2964
|
*/
|
|
2931
2965
|
MemorySize?: MemorySize;
|
|
2932
2966
|
/**
|
|
2933
|
-
* For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can
|
|
2967
|
+
* For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see Configuring a Lambda function to access resources in a VPC.
|
|
2934
2968
|
*/
|
|
2935
2969
|
VpcConfig?: VpcConfig;
|
|
2936
2970
|
/**
|
|
@@ -2942,11 +2976,11 @@ declare namespace Lambda {
|
|
|
2942
2976
|
*/
|
|
2943
2977
|
Runtime?: Runtime;
|
|
2944
2978
|
/**
|
|
2945
|
-
* A dead
|
|
2979
|
+
* A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues.
|
|
2946
2980
|
*/
|
|
2947
2981
|
DeadLetterConfig?: DeadLetterConfig;
|
|
2948
2982
|
/**
|
|
2949
|
-
* The ARN of the
|
|
2983
|
+
* The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.
|
|
2950
2984
|
*/
|
|
2951
2985
|
KMSKeyArn?: KMSKeyArn;
|
|
2952
2986
|
/**
|
|
@@ -2954,7 +2988,7 @@ declare namespace Lambda {
|
|
|
2954
2988
|
*/
|
|
2955
2989
|
TracingConfig?: TracingConfig;
|
|
2956
2990
|
/**
|
|
2957
|
-
*
|
|
2991
|
+
* Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.
|
|
2958
2992
|
*/
|
|
2959
2993
|
RevisionId?: String;
|
|
2960
2994
|
/**
|
|
@@ -2970,9 +3004,13 @@ declare namespace Lambda {
|
|
|
2970
3004
|
*/
|
|
2971
3005
|
ImageConfig?: ImageConfig;
|
|
2972
3006
|
/**
|
|
2973
|
-
* The size of the function
|
|
3007
|
+
* The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
|
|
2974
3008
|
*/
|
|
2975
3009
|
EphemeralStorage?: EphemeralStorage;
|
|
3010
|
+
/**
|
|
3011
|
+
* The function's SnapStart setting.
|
|
3012
|
+
*/
|
|
3013
|
+
SnapStart?: SnapStart;
|
|
2976
3014
|
}
|
|
2977
3015
|
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
2978
3016
|
/**
|
|
@@ -2998,7 +3036,7 @@ declare namespace Lambda {
|
|
|
2998
3036
|
}
|
|
2999
3037
|
export interface UpdateFunctionUrlConfigRequest {
|
|
3000
3038
|
/**
|
|
3001
|
-
* The name of the Lambda function. Name formats Function name
|
|
3039
|
+
* The name of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
3002
3040
|
*/
|
|
3003
3041
|
FunctionName: FunctionName;
|
|
3004
3042
|
/**
|
|
@@ -3006,7 +3044,7 @@ declare namespace Lambda {
|
|
|
3006
3044
|
*/
|
|
3007
3045
|
Qualifier?: FunctionUrlQualifier;
|
|
3008
3046
|
/**
|
|
3009
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
3047
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
3010
3048
|
*/
|
|
3011
3049
|
AuthType?: FunctionUrlAuthType;
|
|
3012
3050
|
/**
|
|
@@ -3024,7 +3062,7 @@ declare namespace Lambda {
|
|
|
3024
3062
|
*/
|
|
3025
3063
|
FunctionArn: FunctionArn;
|
|
3026
3064
|
/**
|
|
3027
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see
|
|
3065
|
+
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
|
|
3028
3066
|
*/
|
|
3029
3067
|
AuthType: FunctionUrlAuthType;
|
|
3030
3068
|
/**
|
|
@@ -3047,7 +3085,7 @@ declare namespace Lambda {
|
|
|
3047
3085
|
*/
|
|
3048
3086
|
SubnetIds?: SubnetIds;
|
|
3049
3087
|
/**
|
|
3050
|
-
* A list of VPC security
|
|
3088
|
+
* A list of VPC security group IDs.
|
|
3051
3089
|
*/
|
|
3052
3090
|
SecurityGroupIds?: SecurityGroupIds;
|
|
3053
3091
|
}
|
|
@@ -3057,7 +3095,7 @@ declare namespace Lambda {
|
|
|
3057
3095
|
*/
|
|
3058
3096
|
SubnetIds?: SubnetIds;
|
|
3059
3097
|
/**
|
|
3060
|
-
* A list of VPC security
|
|
3098
|
+
* A list of VPC security group IDs.
|
|
3061
3099
|
*/
|
|
3062
3100
|
SecurityGroupIds?: SecurityGroupIds;
|
|
3063
3101
|
/**
|