Package-level declarations
Inherited functions
Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.
Grants a principal 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.
Saves the progress of a durable function execution during runtime. This API is used by the Lambda durable functions SDK to checkpoint completed steps and schedule asynchronous operations. You typically don't need to call this API directly as the SDK handles checkpointing automatically.
Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.
Creates a capacity provider that manages compute resources for Lambda functions
Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.
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 services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.
Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.
Deletes a Lambda function alias.
Deletes a capacity provider. You cannot delete a capacity provider that is currently being used by Lambda functions.
Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.
Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for DeleteAlias.
Removes the code signing configuration from the function.
Removes a concurrent execution limit from a function.
Deletes the configuration for asynchronous invocation for a function, version, or alias.
Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.
Deletes the provisioned concurrency configuration for a function.
Retrieves details about your account's limits and usage in an Amazon Web Services Region.
Returns details about a Lambda function alias.
Retrieves information about a specific capacity provider, including its configuration, state, and associated resources.
Returns information about the specified code signing configuration.
Retrieves detailed information about a specific durable execution, including its current status, input payload, result or error information, and execution metadata such as start time and usage statistics.
Retrieves the execution history for a durable execution, showing all the steps, callbacks, and events that occurred during the execution. This provides a detailed audit trail of the execution's progress over time.
Retrieves the current execution state required for the replay process during durable function execution. This API is used by the Lambda durable functions SDK to get state information needed for replay. You typically don't need to call this API directly as the SDK handles state management automatically.
Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.
Returns the code signing configuration for the specified function.
Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.
Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration.
Retrieves the configuration for asynchronous invocation for a function, version, or alias.
Returns your function's recursive loop detection configuration.
Retrieves the scaling configuration for a Lambda Managed Instances function.
Returns details about a Lambda function URL.
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
Returns the resource-based IAM policy for a function, version, or alias.
Retrieves the provisioned concurrency configuration for a function's alias or version.
Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.
Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only.
For asynchronous function invocation, use Invoke.
Returns a list of aliases for a Lambda function.
Returns a list of capacity providers in your account.
Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.
Returns a list of durable executions for a specified Lambda function. You can filter the results by execution name, status, and start time range. This API supports pagination for large result sets.
Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.
Retrieves a list of configurations for asynchronous invocation for a function.
Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.
List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.
Returns a list of Lambda function URLs for the specified function.
Returns a list of function versions that are configured to use a specific capacity provider.
Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
Retrieves a list of provisioned concurrency configurations for a function.
Returns a function, event source mapping, or code signing configuration's tags. You can also view function tags with GetFunction.
Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.
Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.
Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.
Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.
Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.
Sets your function's recursive loop detection configuration.
Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.
Adds a provisioned concurrency configuration to a function's alias or version.
Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.
Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.
Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.
Stops a running durable execution. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.
Adds tags to a function, event source mapping, or code signing configuration.
Removes tags from a function, event source mapping, or code signing configuration.
Updates the configuration of a Lambda function alias.
Updates the configuration of an existing capacity provider.
Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.
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.
Modify the version-specific settings of a Lambda function.
Updates the configuration for asynchronous invocation for a function, version, or alias.
Updates the configuration for a Lambda function URL.
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.