Learn R Programming

paws.compute (version 0.1.0)

lambda: AWS Lambda

Description

Overview

This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides additional information. For the service overview, see What is AWS Lambda, and for information about how the service works, see AWS Lambda: How it Works in the AWS Lambda Developer Guide.

Usage

lambda()

Arguments

Operations

add_layer_version_permission Adds permissions to the resource-based policy of a version of an AWS Lambda layer
add_permission Grants an AWS service or another account permission to use a function
create_alias Creates an alias for a Lambda function version
create_event_source_mapping Creates a mapping between an event source and an AWS Lambda function
create_function Creates a Lambda function
delete_alias Deletes a Lambda function alias
delete_event_source_mapping Deletes an event source mapping
delete_function Deletes a Lambda function
delete_function_concurrency Removes a concurrent execution limit from a function
delete_layer_version Deletes a version of an AWS Lambda layer
get_account_settings Retrieves details about your account's limits and usage in an AWS Region
get_alias Returns details about a Lambda function alias
get_event_source_mapping Returns details about an event source mapping
get_function Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes
get_function_configuration Returns the version-specific settings of a Lambda function or version
get_layer_version Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes
get_layer_version_policy Returns the permission policy for a version of an AWS Lambda layer
get_policy Returns the resource-based IAM policy for a function, version, or alias
invoke Invokes a Lambda function
invoke_async For asynchronous function invocation, use Invoke
list_aliases Returns a list of aliases for a Lambda function
list_event_source_mappings Lists event source mappings
list_functions Returns a list of Lambda functions, with the version-specific configuration of each
list_layer_versions Lists the versions of an AWS Lambda layer
list_layers Lists AWS Lambda layers and shows information about the latest version of each
list_tags Returns a function's tags
list_versions_by_function Returns a list of versions, with the version-specific configuration of each
publish_layer_version Creates an AWS Lambda layer from a ZIP archive
publish_version Creates a version from the current code and configuration of a function
put_function_concurrency Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level
remove_layer_version_permission Removes a statement from the permissions policy for a version of an AWS Lambda layer
remove_permission Revokes function-use permission from an AWS service or another account
tag_resource Adds tags to a function
untag_resource Removes tags from a function
update_alias Updates the configuration of a Lambda function alias
update_event_source_mapping Updates an event source mapping
update_function_code Updates a Lambda function's code

Examples

Run this code
# NOT RUN {
# This example adds a permission for an S3 bucket to invoke a Lambda
# function.
# }
# NOT RUN {
svc <- lambda()
svc$add_permission(
  Action = "lambda:InvokeFunction",
  FunctionName = "MyFunction",
  Principal = "s3.amazonaws.com",
  SourceAccount = "123456789012",
  SourceArn = "arn:aws:s3:::examplebucket/*",
  StatementId = "ID-1"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab