lambda: AWS Lambda

Description Usage Arguments Value Service syntax Operations Examples

View source: R/paws.R

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

1
lambda(config = list())

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Service syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
svc <- lambda(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

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_code_signing_config Creates a code signing configuration
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_code_signing_config Deletes the code signing configuration
delete_event_source_mapping Deletes an event source mapping
delete_function Deletes a Lambda function
delete_function_code_signing_config Removes the code signing configuration from the function
delete_function_concurrency Removes a concurrent execution limit from a function
delete_function_event_invoke_config Deletes the configuration for asynchronous invocation for a function, version, or alias
delete_layer_version Deletes a version of an AWS Lambda layer
delete_provisioned_concurrency_config Deletes the provisioned concurrency configuration for a function
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_code_signing_config Returns information about the specified code signing configuration
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_code_signing_config Returns the code signing configuration for the specified function
get_function_concurrency Returns details about the reserved concurrency configuration for a function
get_function_configuration Returns the version-specific settings of a Lambda function or version
get_function_event_invoke_config Retrieves the configuration for asynchronous invocation for a function, version, or alias
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_by_arn 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
get_provisioned_concurrency_config Retrieves the provisioned concurrency configuration for a function's alias or version
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_code_signing_configs Returns a list of code signing configurations
list_event_source_mappings Lists event source mappings
list_function_event_invoke_configs Retrieves a list of configurations for asynchronous invocation for a function
list_functions Returns a list of Lambda functions, with the version-specific configuration of each
list_functions_by_code_signing_config List the functions that use the specified code signing configuration
list_layers Lists AWS Lambda layers and shows information about the latest version of each
list_layer_versions Lists the versions of an AWS Lambda layer
list_provisioned_concurrency_configs Retrieves a list of provisioned concurrency configurations for a function
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_code_signing_config Update the code signing configuration for the function
put_function_concurrency Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level
put_function_event_invoke_config Configures options for asynchronous invocation on a function, version, or alias
put_provisioned_concurrency_config Adds a provisioned concurrency configuration to a function's alias or version
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_code_signing_config Update the code signing configuration
update_event_source_mapping Updates an event source mapping
update_function_code Updates a Lambda function's code
update_function_configuration Modify the version-specific settings of a Lambda function
update_function_event_invoke_config Updates the configuration for asynchronous invocation for a function, version, or alias

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
svc <- lambda()
# The following example grants permission for the account 223456789012 to
# use version 1 of a layer named my-layer.
svc$add_layer_version_permission(
  Action = "lambda:GetLayerVersion",
  LayerName = "my-layer",
  Principal = "223456789012",
  StatementId = "xaccount",
  VersionNumber = 1L
)

## End(Not run)

paws documentation built on Sept. 5, 2021, 5:19 p.m.

Related to lambda in paws...