Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://aws-api.deno.dev/v0.4/services/lambda.ts?docs=full";

§Classes

Lambda

§Interfaces

AccountLimit

Limits that are related to concurrency and storage. All file and storage sizes are in bytes.

AccountUsage

The number of functions and amount of storage in use.

AddLayerVersionPermissionRequest
AddLayerVersionPermissionResponse
AddPermissionRequest
AddPermissionResponse
AliasConfiguration

Provides configuration information about a Lambda function alias.

AliasRoutingConfiguration

The traffic-shifting configuration of a Lambda function alias.

AllowedPublishers

List of signing profiles that can sign a code package.

AmazonManagedKafkaEventSourceConfig

Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.

CodeSigningConfig

Details about a Code signing configuration.

CodeSigningPolicies

Code signing configuration policies specify the validation failure action for signature mismatch or expiry.

Concurrency
Cors

The cross-origin resource sharing (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.

CreateAliasRequest
CreateCodeSigningConfigRequest
CreateCodeSigningConfigResponse
CreateEventSourceMappingRequest
CreateFunctionRequest
CreateFunctionUrlConfigRequest
CreateFunctionUrlConfigResponse
DeadLetterConfig

The dead-letter queue for failed asynchronous invocations.

DeleteAliasRequest
DeleteCodeSigningConfigRequest
DeleteEventSourceMappingRequest
DeleteFunctionCodeSigningConfigRequest
DeleteFunctionConcurrencyRequest
DeleteFunctionEventInvokeConfigRequest
DeleteFunctionRequest
DeleteFunctionUrlConfigRequest
DeleteLayerVersionRequest
DeleteProvisionedConcurrencyConfigRequest
DestinationConfig

A configuration object that specifies the destination of an event after Lambda processes it.

Environment

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

EnvironmentError

Error messages for environment variables that couldn't be applied.

EnvironmentResponse

The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.

EphemeralStorage

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.

EventSourceMappingConfiguration

A mapping between an Amazon Web Services resource and a Lambda function. For details, see "CreateEventSourceMapping".

FileSystemConfig

Details about the connection between a Lambda function and an Amazon EFS file system.

Filter

A structure within a FilterCriteria object that defines an event filtering pattern.

FilterCriteria

An object that contains the filters for an event source.

FunctionCode

The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

FunctionCodeLocation

Details about a function's deployment package.

FunctionConfiguration

Details about a function's configuration.

FunctionEventInvokeConfig
FunctionUrlConfig

Details about a Lambda function URL.

GetAccountSettingsResponse
GetAliasRequest
GetCodeSigningConfigRequest
GetCodeSigningConfigResponse
GetEventSourceMappingRequest
GetFunctionCodeSigningConfigRequest
GetFunctionCodeSigningConfigResponse
GetFunctionConcurrencyRequest
GetFunctionConcurrencyResponse
GetFunctionConfigurationRequest
GetFunctionEventInvokeConfigRequest
GetFunctionRequest
GetFunctionResponse
GetFunctionUrlConfigRequest
GetFunctionUrlConfigResponse
GetLayerVersionByArnRequest
GetLayerVersionPolicyRequest
GetLayerVersionPolicyResponse
GetLayerVersionRequest
GetLayerVersionResponse
GetPolicyRequest
GetPolicyResponse
GetProvisionedConcurrencyConfigRequest
GetProvisionedConcurrencyConfigResponse
GetRuntimeManagementConfigRequest
GetRuntimeManagementConfigResponse
ImageConfig

Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.

ImageConfigError

Error response to GetFunctionConfiguration.

ImageConfigResponse

Response to a GetFunctionConfiguration request.

InvocationRequest
InvocationResponse
InvokeAsyncRequest
InvokeAsyncResponse

A success response (202 Accepted) indicates that the request is queued for invocation.

Layer

An Lambda layer.

LayersListItem

Details about an Lambda layer.

LayerVersionContentInput

A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.

LayerVersionContentOutput

Details about a version of an Lambda layer.

LayerVersionsListItem

Details about a version of an Lambda layer.

ListAliasesRequest
ListAliasesResponse
ListCodeSigningConfigsRequest
ListCodeSigningConfigsResponse
ListEventSourceMappingsRequest
ListEventSourceMappingsResponse
ListFunctionEventInvokeConfigsRequest
ListFunctionEventInvokeConfigsResponse
ListFunctionsByCodeSigningConfigRequest
ListFunctionsByCodeSigningConfigResponse
ListFunctionsRequest
ListFunctionsResponse

A list of Lambda functions.

ListFunctionUrlConfigsRequest
ListFunctionUrlConfigsResponse
ListLayersRequest
ListLayersResponse
ListLayerVersionsRequest
ListLayerVersionsResponse
ListProvisionedConcurrencyConfigsRequest
ListProvisionedConcurrencyConfigsResponse
ListTagsRequest
ListTagsResponse
ListVersionsByFunctionRequest
ListVersionsByFunctionResponse
OnFailure

A destination for events that failed processing.

OnSuccess

A destination for events that were processed successfully.

ProvisionedConcurrencyConfigListItem

Details about the provisioned concurrency configuration for a function alias or version.

PublishLayerVersionRequest
PublishLayerVersionResponse
PublishVersionRequest
PutFunctionCodeSigningConfigRequest
PutFunctionCodeSigningConfigResponse
PutFunctionConcurrencyRequest
PutFunctionEventInvokeConfigRequest
PutProvisionedConcurrencyConfigRequest
PutProvisionedConcurrencyConfigResponse
PutRuntimeManagementConfigRequest
PutRuntimeManagementConfigResponse
RemoveLayerVersionPermissionRequest
RemovePermissionRequest
RuntimeVersionConfig

The ARN of the runtime and any errors that occured.

RuntimeVersionError

Any error returned when the runtime version information for the function could not be retrieved.

ScalingConfig

(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.

SelfManagedEventSource

The self-managed Apache Kafka cluster for your event source.

SelfManagedKafkaEventSourceConfig

Specific configuration settings for a self-managed Apache Kafka event source.

SnapStart

The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

SnapStartResponse

The function's SnapStart setting.

SourceAccessConfiguration

To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.

TagResourceRequest
TracingConfig

The function's X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.

TracingConfigResponse

The function's X-Ray tracing configuration.

UntagResourceRequest
UpdateAliasRequest
UpdateCodeSigningConfigRequest
UpdateCodeSigningConfigResponse
UpdateEventSourceMappingRequest
UpdateFunctionCodeRequest
UpdateFunctionConfigurationRequest
UpdateFunctionEventInvokeConfigRequest
UpdateFunctionUrlConfigRequest
UpdateFunctionUrlConfigResponse
VpcConfig

The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.

VpcConfigResponse

The VPC security groups and subnets that are attached to a Lambda function.

§Type Aliases

Architecture
CodeSigningPolicy
EndPointType
EventSourcePosition
FunctionResponseType
FunctionUrlAuthType
FunctionVersion
InvocationType
LastUpdateStatus
LastUpdateStatusReasonCode
LogType
PackageType
ProvisionedConcurrencyStatusEnum
Runtime
SnapStartApplyOn
SnapStartOptimizationStatus
SourceAccessType
State
StateReasonCode
TracingMode
UpdateRuntimeOn