Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

@aws-sdk/client-lambda

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 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.

Index

Namespaces

Enumerations

Classes

$Command AddLayerVersionPermissionCommand AddPermissionCommand CodeSigningConfigNotFoundException CodeStorageExceededException CodeVerificationFailedException CreateAliasCommand CreateCodeSigningConfigCommand CreateEventSourceMappingCommand CreateFunctionCommand CreateFunctionUrlConfigCommand DeleteAliasCommand DeleteCodeSigningConfigCommand DeleteEventSourceMappingCommand DeleteFunctionCodeSigningConfigCommand DeleteFunctionCommand DeleteFunctionConcurrencyCommand DeleteFunctionEventInvokeConfigCommand DeleteFunctionUrlConfigCommand DeleteLayerVersionCommand DeleteProvisionedConcurrencyConfigCommand EC2AccessDeniedException EC2ThrottledException EC2UnexpectedException EFSIOException EFSMountConnectivityException EFSMountFailureException EFSMountTimeoutException ENILimitReachedException GetAccountSettingsCommand GetAliasCommand GetCodeSigningConfigCommand GetEventSourceMappingCommand GetFunctionCodeSigningConfigCommand GetFunctionCommand GetFunctionConcurrencyCommand GetFunctionConfigurationCommand GetFunctionEventInvokeConfigCommand GetFunctionUrlConfigCommand GetLayerVersionByArnCommand GetLayerVersionCommand GetLayerVersionPolicyCommand GetPolicyCommand GetProvisionedConcurrencyConfigCommand GetRuntimeManagementConfigCommand InvalidCodeSignatureException InvalidParameterValueException InvalidRequestContentException InvalidRuntimeException InvalidSecurityGroupIDException InvalidSubnetIDException InvalidZipFileException InvokeAsyncCommand InvokeCommand InvokeWithResponseStreamCommand KMSAccessDeniedException KMSDisabledException KMSInvalidStateException KMSNotFoundException Lambda LambdaClient LambdaServiceException ListAliasesCommand ListCodeSigningConfigsCommand ListEventSourceMappingsCommand ListFunctionEventInvokeConfigsCommand ListFunctionUrlConfigsCommand ListFunctionsByCodeSigningConfigCommand ListFunctionsCommand ListLayerVersionsCommand ListLayersCommand ListProvisionedConcurrencyConfigsCommand ListTagsCommand ListVersionsByFunctionCommand PolicyLengthExceededException PreconditionFailedException ProvisionedConcurrencyConfigNotFoundException PublishLayerVersionCommand PublishVersionCommand PutFunctionCodeSigningConfigCommand PutFunctionConcurrencyCommand PutFunctionEventInvokeConfigCommand PutProvisionedConcurrencyConfigCommand PutRuntimeManagementConfigCommand RemoveLayerVersionPermissionCommand RemovePermissionCommand RequestTooLargeException ResourceConflictException ResourceInUseException ResourceNotFoundException ResourceNotReadyException ServiceException SnapStartException SnapStartNotReadyException SnapStartTimeoutException SubnetIPAddressLimitReachedException TagResourceCommand TooManyRequestsException UnsupportedMediaTypeException UntagResourceCommand UpdateAliasCommand UpdateCodeSigningConfigCommand UpdateEventSourceMappingCommand UpdateFunctionCodeCommand UpdateFunctionConfigurationCommand UpdateFunctionEventInvokeConfigCommand UpdateFunctionUrlConfigCommand __Client

Interfaces

AccountLimit AccountUsage AddLayerVersionPermissionCommandInput AddLayerVersionPermissionCommandOutput AddLayerVersionPermissionRequest AddLayerVersionPermissionResponse AddPermissionCommandInput AddPermissionCommandOutput AddPermissionRequest AddPermissionResponse AliasConfiguration AliasRoutingConfiguration AllowedPublishers AmazonManagedKafkaEventSourceConfig ClientDefaults CodeSigningConfig CodeSigningPolicies Concurrency Cors CreateAliasCommandInput CreateAliasCommandOutput CreateAliasRequest CreateCodeSigningConfigCommandInput CreateCodeSigningConfigCommandOutput CreateCodeSigningConfigRequest CreateCodeSigningConfigResponse CreateEventSourceMappingCommandInput CreateEventSourceMappingCommandOutput CreateEventSourceMappingRequest CreateFunctionCommandInput CreateFunctionCommandOutput CreateFunctionRequest CreateFunctionUrlConfigCommandInput CreateFunctionUrlConfigCommandOutput CreateFunctionUrlConfigRequest CreateFunctionUrlConfigResponse DeadLetterConfig DeleteAliasCommandInput DeleteAliasCommandOutput DeleteAliasRequest DeleteCodeSigningConfigCommandInput DeleteCodeSigningConfigCommandOutput DeleteCodeSigningConfigRequest DeleteCodeSigningConfigResponse DeleteEventSourceMappingCommandInput DeleteEventSourceMappingCommandOutput DeleteEventSourceMappingRequest DeleteFunctionCodeSigningConfigCommandInput DeleteFunctionCodeSigningConfigCommandOutput DeleteFunctionCodeSigningConfigRequest DeleteFunctionCommandInput DeleteFunctionCommandOutput DeleteFunctionConcurrencyCommandInput DeleteFunctionConcurrencyCommandOutput DeleteFunctionConcurrencyRequest DeleteFunctionEventInvokeConfigCommandInput DeleteFunctionEventInvokeConfigCommandOutput DeleteFunctionEventInvokeConfigRequest DeleteFunctionRequest DeleteFunctionUrlConfigCommandInput DeleteFunctionUrlConfigCommandOutput DeleteFunctionUrlConfigRequest DeleteLayerVersionCommandInput DeleteLayerVersionCommandOutput DeleteLayerVersionRequest DeleteProvisionedConcurrencyConfigCommandInput DeleteProvisionedConcurrencyConfigCommandOutput DeleteProvisionedConcurrencyConfigRequest DestinationConfig DocumentDBEventSourceConfig Environment EnvironmentError EnvironmentResponse EphemeralStorage EventSourceMappingConfiguration FileSystemConfig Filter FilterCriteria FunctionCode FunctionCodeLocation FunctionConfiguration FunctionEventInvokeConfig FunctionUrlConfig GetAccountSettingsCommandInput GetAccountSettingsCommandOutput GetAccountSettingsRequest GetAccountSettingsResponse GetAliasCommandInput GetAliasCommandOutput GetAliasRequest GetCodeSigningConfigCommandInput GetCodeSigningConfigCommandOutput GetCodeSigningConfigRequest GetCodeSigningConfigResponse GetEventSourceMappingCommandInput GetEventSourceMappingCommandOutput GetEventSourceMappingRequest GetFunctionCodeSigningConfigCommandInput GetFunctionCodeSigningConfigCommandOutput GetFunctionCodeSigningConfigRequest GetFunctionCodeSigningConfigResponse GetFunctionCommandInput GetFunctionCommandOutput GetFunctionConcurrencyCommandInput GetFunctionConcurrencyCommandOutput GetFunctionConcurrencyRequest GetFunctionConcurrencyResponse GetFunctionConfigurationCommandInput GetFunctionConfigurationCommandOutput GetFunctionConfigurationRequest GetFunctionEventInvokeConfigCommandInput GetFunctionEventInvokeConfigCommandOutput GetFunctionEventInvokeConfigRequest GetFunctionRequest GetFunctionResponse GetFunctionUrlConfigCommandInput GetFunctionUrlConfigCommandOutput GetFunctionUrlConfigRequest GetFunctionUrlConfigResponse GetLayerVersionByArnCommandInput GetLayerVersionByArnCommandOutput GetLayerVersionByArnRequest GetLayerVersionCommandInput GetLayerVersionCommandOutput GetLayerVersionPolicyCommandInput GetLayerVersionPolicyCommandOutput GetLayerVersionPolicyRequest GetLayerVersionPolicyResponse GetLayerVersionRequest GetLayerVersionResponse GetPolicyCommandInput GetPolicyCommandOutput GetPolicyRequest GetPolicyResponse GetProvisionedConcurrencyConfigCommandInput GetProvisionedConcurrencyConfigCommandOutput GetProvisionedConcurrencyConfigRequest GetProvisionedConcurrencyConfigResponse GetRuntimeManagementConfigCommandInput GetRuntimeManagementConfigCommandOutput GetRuntimeManagementConfigRequest GetRuntimeManagementConfigResponse ImageConfig ImageConfigError ImageConfigResponse InvocationRequest InvocationResponse InvokeAsyncCommandInput InvokeAsyncCommandOutput InvokeAsyncRequest InvokeAsyncResponse InvokeCommandInput InvokeCommandOutput InvokeResponseStreamUpdate InvokeWithResponseStreamCommandInput InvokeWithResponseStreamCommandOutput InvokeWithResponseStreamCompleteEvent InvokeWithResponseStreamRequest InvokeWithResponseStreamResponse LambdaClientConfig LambdaClientResolvedConfig LambdaPaginationConfiguration Layer LayerVersionContentInput LayerVersionContentOutput LayerVersionsListItem LayersListItem ListAliasesCommandInput ListAliasesCommandOutput ListAliasesRequest ListAliasesResponse ListCodeSigningConfigsCommandInput ListCodeSigningConfigsCommandOutput ListCodeSigningConfigsRequest ListCodeSigningConfigsResponse ListEventSourceMappingsCommandInput ListEventSourceMappingsCommandOutput ListEventSourceMappingsRequest ListEventSourceMappingsResponse ListFunctionEventInvokeConfigsCommandInput ListFunctionEventInvokeConfigsCommandOutput ListFunctionEventInvokeConfigsRequest ListFunctionEventInvokeConfigsResponse ListFunctionUrlConfigsCommandInput ListFunctionUrlConfigsCommandOutput ListFunctionUrlConfigsRequest ListFunctionUrlConfigsResponse ListFunctionsByCodeSigningConfigCommandInput ListFunctionsByCodeSigningConfigCommandOutput ListFunctionsByCodeSigningConfigRequest ListFunctionsByCodeSigningConfigResponse ListFunctionsCommandInput ListFunctionsCommandOutput ListFunctionsRequest ListFunctionsResponse ListLayerVersionsCommandInput ListLayerVersionsCommandOutput ListLayerVersionsRequest ListLayerVersionsResponse ListLayersCommandInput ListLayersCommandOutput ListLayersRequest ListLayersResponse ListProvisionedConcurrencyConfigsCommandInput ListProvisionedConcurrencyConfigsCommandOutput ListProvisionedConcurrencyConfigsRequest ListProvisionedConcurrencyConfigsResponse ListTagsCommandInput ListTagsCommandOutput ListTagsRequest ListTagsResponse ListVersionsByFunctionCommandInput ListVersionsByFunctionCommandOutput ListVersionsByFunctionRequest ListVersionsByFunctionResponse OnFailure OnSuccess ProvisionedConcurrencyConfigListItem PublishLayerVersionCommandInput PublishLayerVersionCommandOutput PublishLayerVersionRequest PublishLayerVersionResponse PublishVersionCommandInput PublishVersionCommandOutput PublishVersionRequest PutFunctionCodeSigningConfigCommandInput PutFunctionCodeSigningConfigCommandOutput PutFunctionCodeSigningConfigRequest PutFunctionCodeSigningConfigResponse PutFunctionConcurrencyCommandInput PutFunctionConcurrencyCommandOutput PutFunctionConcurrencyRequest PutFunctionEventInvokeConfigCommandInput PutFunctionEventInvokeConfigCommandOutput PutFunctionEventInvokeConfigRequest PutProvisionedConcurrencyConfigCommandInput PutProvisionedConcurrencyConfigCommandOutput PutProvisionedConcurrencyConfigRequest PutProvisionedConcurrencyConfigResponse PutRuntimeManagementConfigCommandInput PutRuntimeManagementConfigCommandOutput PutRuntimeManagementConfigRequest PutRuntimeManagementConfigResponse RemoveLayerVersionPermissionCommandInput RemoveLayerVersionPermissionCommandOutput RemoveLayerVersionPermissionRequest RemovePermissionCommandInput RemovePermissionCommandOutput RemovePermissionRequest RuntimeVersionConfig RuntimeVersionError ScalingConfig SelfManagedEventSource SelfManagedKafkaEventSourceConfig SnapStart SnapStartResponse SourceAccessConfiguration TagResourceCommandInput TagResourceCommandOutput TagResourceRequest TracingConfig TracingConfigResponse UntagResourceCommandInput UntagResourceCommandOutput UntagResourceRequest UpdateAliasCommandInput UpdateAliasCommandOutput UpdateAliasRequest UpdateCodeSigningConfigCommandInput UpdateCodeSigningConfigCommandOutput UpdateCodeSigningConfigRequest UpdateCodeSigningConfigResponse UpdateEventSourceMappingCommandInput UpdateEventSourceMappingCommandOutput UpdateEventSourceMappingRequest UpdateFunctionCodeCommandInput UpdateFunctionCodeCommandOutput UpdateFunctionCodeRequest UpdateFunctionConfigurationCommandInput UpdateFunctionConfigurationCommandOutput UpdateFunctionConfigurationRequest UpdateFunctionEventInvokeConfigCommandInput UpdateFunctionEventInvokeConfigCommandOutput UpdateFunctionEventInvokeConfigRequest UpdateFunctionUrlConfigCommandInput UpdateFunctionUrlConfigCommandOutput UpdateFunctionUrlConfigRequest UpdateFunctionUrlConfigResponse VpcConfig VpcConfigResponse __MetadataBearer

Type Aliases

Functions

SDK - Clients

SDK - Commands

AddLayerVersionPermissionCommand AddLayerVersionPermissionCommandInput AddLayerVersionPermissionCommandOutput AddPermissionCommand AddPermissionCommandInput AddPermissionCommandOutput CreateAliasCommand CreateAliasCommandInput CreateAliasCommandOutput CreateCodeSigningConfigCommand CreateCodeSigningConfigCommandInput CreateCodeSigningConfigCommandOutput CreateEventSourceMappingCommand CreateEventSourceMappingCommandInput CreateEventSourceMappingCommandOutput CreateFunctionCommand CreateFunctionCommandInput CreateFunctionCommandOutput CreateFunctionUrlConfigCommand CreateFunctionUrlConfigCommandInput CreateFunctionUrlConfigCommandOutput DeleteAliasCommand DeleteAliasCommandInput DeleteAliasCommandOutput DeleteCodeSigningConfigCommand DeleteCodeSigningConfigCommandInput DeleteCodeSigningConfigCommandOutput DeleteEventSourceMappingCommand DeleteEventSourceMappingCommandInput DeleteEventSourceMappingCommandOutput DeleteFunctionCodeSigningConfigCommand DeleteFunctionCodeSigningConfigCommandInput DeleteFunctionCodeSigningConfigCommandOutput DeleteFunctionCommand DeleteFunctionCommandInput DeleteFunctionCommandOutput DeleteFunctionConcurrencyCommand DeleteFunctionConcurrencyCommandInput DeleteFunctionConcurrencyCommandOutput DeleteFunctionEventInvokeConfigCommand DeleteFunctionEventInvokeConfigCommandInput DeleteFunctionEventInvokeConfigCommandOutput DeleteFunctionUrlConfigCommand DeleteFunctionUrlConfigCommandInput DeleteFunctionUrlConfigCommandOutput DeleteLayerVersionCommand DeleteLayerVersionCommandInput DeleteLayerVersionCommandOutput DeleteProvisionedConcurrencyConfigCommand DeleteProvisionedConcurrencyConfigCommandInput DeleteProvisionedConcurrencyConfigCommandOutput GetAccountSettingsCommand GetAccountSettingsCommandInput GetAccountSettingsCommandOutput GetAliasCommand GetAliasCommandInput GetAliasCommandOutput GetCodeSigningConfigCommand GetCodeSigningConfigCommandInput GetCodeSigningConfigCommandOutput GetEventSourceMappingCommand GetEventSourceMappingCommandInput GetEventSourceMappingCommandOutput GetFunctionCodeSigningConfigCommand GetFunctionCodeSigningConfigCommandInput GetFunctionCodeSigningConfigCommandOutput GetFunctionCommand GetFunctionCommandInput GetFunctionCommandOutput GetFunctionConcurrencyCommand GetFunctionConcurrencyCommandInput GetFunctionConcurrencyCommandOutput GetFunctionConfigurationCommand GetFunctionConfigurationCommandInput GetFunctionConfigurationCommandOutput GetFunctionEventInvokeConfigCommand GetFunctionEventInvokeConfigCommandInput GetFunctionEventInvokeConfigCommandOutput GetFunctionUrlConfigCommand GetFunctionUrlConfigCommandInput GetFunctionUrlConfigCommandOutput GetLayerVersionByArnCommand GetLayerVersionByArnCommandInput GetLayerVersionByArnCommandOutput GetLayerVersionCommand GetLayerVersionCommandInput GetLayerVersionCommandOutput GetLayerVersionPolicyCommand GetLayerVersionPolicyCommandInput GetLayerVersionPolicyCommandOutput GetPolicyCommand GetPolicyCommandInput GetPolicyCommandOutput GetProvisionedConcurrencyConfigCommand GetProvisionedConcurrencyConfigCommandInput GetProvisionedConcurrencyConfigCommandOutput GetRuntimeManagementConfigCommand GetRuntimeManagementConfigCommandInput GetRuntimeManagementConfigCommandOutput InvokeAsyncCommand InvokeAsyncCommandInput InvokeAsyncCommandOutput InvokeCommand InvokeCommandInput InvokeCommandOutput InvokeWithResponseStreamCommand InvokeWithResponseStreamCommandInput InvokeWithResponseStreamCommandOutput ListAliasesCommand ListAliasesCommandInput ListAliasesCommandOutput ListCodeSigningConfigsCommand ListCodeSigningConfigsCommandInput ListCodeSigningConfigsCommandOutput ListEventSourceMappingsCommand ListEventSourceMappingsCommandInput ListEventSourceMappingsCommandOutput ListFunctionEventInvokeConfigsCommand ListFunctionEventInvokeConfigsCommandInput ListFunctionEventInvokeConfigsCommandOutput ListFunctionsByCodeSigningConfigCommand ListFunctionsByCodeSigningConfigCommandInput ListFunctionsByCodeSigningConfigCommandOutput ListFunctionsCommand ListFunctionsCommandInput ListFunctionsCommandOutput ListFunctionUrlConfigsCommand ListFunctionUrlConfigsCommandInput ListFunctionUrlConfigsCommandOutput ListLayersCommand ListLayersCommandInput ListLayersCommandOutput ListLayerVersionsCommand ListLayerVersionsCommandInput ListLayerVersionsCommandOutput ListProvisionedConcurrencyConfigsCommand ListProvisionedConcurrencyConfigsCommandInput ListProvisionedConcurrencyConfigsCommandOutput ListTagsCommand ListTagsCommandInput ListTagsCommandOutput ListVersionsByFunctionCommand ListVersionsByFunctionCommandInput ListVersionsByFunctionCommandOutput PublishLayerVersionCommand PublishLayerVersionCommandInput PublishLayerVersionCommandOutput PublishVersionCommand PublishVersionCommandInput PublishVersionCommandOutput PutFunctionCodeSigningConfigCommand PutFunctionCodeSigningConfigCommandInput PutFunctionCodeSigningConfigCommandOutput PutFunctionConcurrencyCommand PutFunctionConcurrencyCommandInput PutFunctionConcurrencyCommandOutput PutFunctionEventInvokeConfigCommand PutFunctionEventInvokeConfigCommandInput PutFunctionEventInvokeConfigCommandOutput PutProvisionedConcurrencyConfigCommand PutProvisionedConcurrencyConfigCommandInput PutProvisionedConcurrencyConfigCommandOutput PutRuntimeManagementConfigCommand PutRuntimeManagementConfigCommandInput PutRuntimeManagementConfigCommandOutput RemoveLayerVersionPermissionCommand RemoveLayerVersionPermissionCommandInput RemoveLayerVersionPermissionCommandOutput RemovePermissionCommand RemovePermissionCommandInput RemovePermissionCommandOutput TagResourceCommand TagResourceCommandInput TagResourceCommandOutput UntagResourceCommand UntagResourceCommandInput UntagResourceCommandOutput UpdateAliasCommand UpdateAliasCommandInput UpdateAliasCommandOutput UpdateCodeSigningConfigCommand UpdateCodeSigningConfigCommandInput UpdateCodeSigningConfigCommandOutput UpdateEventSourceMappingCommand UpdateEventSourceMappingCommandInput UpdateEventSourceMappingCommandOutput UpdateFunctionCodeCommand UpdateFunctionCodeCommandInput UpdateFunctionCodeCommandOutput UpdateFunctionConfigurationCommand UpdateFunctionConfigurationCommandInput UpdateFunctionConfigurationCommandOutput UpdateFunctionEventInvokeConfigCommand UpdateFunctionEventInvokeConfigCommandInput UpdateFunctionEventInvokeConfigCommandOutput UpdateFunctionUrlConfigCommand UpdateFunctionUrlConfigCommandInput UpdateFunctionUrlConfigCommandOutput

SDK - Paginators

SDK - Waiters