get_function {aws.lambda}R Documentation

Function Management

Description

List functions, function versions, and function policies

Usage

get_function(name, qualifier, ...)

list_functions(marker, n, ...)

list_function_versions(name, marker, n, ...)

delete_function(name, qualifier, ...)

get_function_policy(name, qualifier, ...)

Arguments

name

A character string specifying the function name (either a full ARN or a max 64-character string). For functions other than create_function this can also be an object of class “aws_lambda_function”.

qualifier

Optionally, either a function version or alias. If omitted, information about the latest version is returned.

...

Additional arguments passed to lambdaHTTP.

marker

A pagination marker from a previous request.

n

An integer specifying the number of results to return.

Details

list_functions lists all functions. get_function retrieves a specific function and list_function_versions retrieves all versions of that function. get_function_policy returns the resource-based IAM policy for a function. delete_function deletes a function, if you have permission to do so.

Value

An object of class “aws_lambda_function”.

References

API Reference: GetFunction API Reference: ListVersionsByFunction API Reference: ListFunctions API Reference: GetPolicy

See Also

create_function, update_function_code, update_function_config


[Package aws.lambda version 0.2.0 Index]