Lambda#
Client#
- class Lambda.Client#
A low-level client representing AWS Lambda
Overview
Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.
You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.
For a list of Region-specific endpoints that Lambda supports, see `Lambda endpoints and quotas <https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/>`__in the Amazon Web Services General Reference..
When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference..
CA certificates
Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer’s CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:
Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list.
Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list.
Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list.
Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:
Amazon Root CA 1
Starfield Services Root Certificate Authority - G2
Starfield Class 2 Certification Authority
Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.
import boto3 client = boto3.client('lambda')
These are the available methods:
- add_layer_version_permission
- add_permission
- can_paginate
- close
- create_alias
- create_code_signing_config
- create_event_source_mapping
- create_function
- create_function_url_config
- delete_alias
- delete_code_signing_config
- delete_event_source_mapping
- delete_function
- delete_function_code_signing_config
- delete_function_concurrency
- delete_function_event_invoke_config
- delete_function_url_config
- delete_layer_version
- delete_provisioned_concurrency_config
- get_account_settings
- get_alias
- get_code_signing_config
- get_event_source_mapping
- get_function
- get_function_code_signing_config
- get_function_concurrency
- get_function_configuration
- get_function_event_invoke_config
- get_function_url_config
- get_layer_version
- get_layer_version_by_arn
- get_layer_version_policy
- get_paginator
- get_policy
- get_provisioned_concurrency_config
- get_runtime_management_config
- get_waiter
- invoke
- invoke_async
- list_aliases
- list_code_signing_configs
- list_event_source_mappings
- list_function_event_invoke_configs
- list_function_url_configs
- list_functions
- list_functions_by_code_signing_config
- list_layer_versions
- list_layers
- list_provisioned_concurrency_configs
- list_tags
- list_versions_by_function
- publish_layer_version
- publish_version
- put_function_code_signing_config
- put_function_concurrency
- put_function_event_invoke_config
- put_provisioned_concurrency_config
- put_runtime_management_config
- remove_layer_version_permission
- remove_permission
- tag_resource
- untag_resource
- update_alias
- update_code_signing_config
- update_event_source_mapping
- update_function_code
- update_function_configuration
- update_function_event_invoke_config
- update_function_url_config
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: