Package-level declarations
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 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.
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 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, 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 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.
Returns information about the specified code signing configuration.
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 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 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.
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.
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's tags. You can also view 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.
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 Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
Adds tags to a function.
Removes tags from a function.
Updates the configuration of a Lambda function alias.
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.