AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Overview
This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides additional information. For the service overview, go to What is AWS Lambda, and for information about how the service works, go to AWS LambdaL How it Works in the AWS Lambda Developer Guide.
Namespace: Amazon.Lambda
Assembly: AWSSDK.dll
Version: 0.0.3.0
public class AmazonLambdaClient : AmazonServiceClient IAmazonLambda, IDisposable
The AmazonLambdaClient type exposes the following members
| Name | Description | |
|---|---|---|
|
AmazonLambdaClient() |
Constructs AmazonLambdaClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonLambdaClient(RegionEndpoint) |
Constructs AmazonLambdaClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonLambdaClient(AmazonLambdaConfig) |
Constructs AmazonLambdaClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonLambdaClient(AWSCredentials) | Constructs AmazonLambdaClient with AWS Credentials |
|
AmazonLambdaClient(AWSCredentials, RegionEndpoint) | Constructs AmazonLambdaClient with AWS Credentials |
|
AmazonLambdaClient(AWSCredentials, AmazonLambdaConfig) | Constructs AmazonLambdaClient with AWS Credentials and an AmazonLambdaClient Configuration object. |
|
AmazonLambdaClient(string, string) | Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key |
|
AmazonLambdaClient(string, string, RegionEndpoint) | Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key |
|
AmazonLambdaClient(string, string, AmazonLambdaConfig) | Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an AmazonLambdaClient Configuration object. |
|
AmazonLambdaClient(string, string, string) | Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key |
|
AmazonLambdaClient(string, string, string, RegionEndpoint) | Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key |
|
AmazonLambdaClient(string, string, string, AmazonLambdaConfig) | Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an AmazonLambdaClient Configuration object. |
| Name | Description | |
|---|---|---|
|
AddEventSource(AddEventSourceRequest) |
Identifies an Amazon Kinesis stream as the event source for an AWS Lambda function.
AWS Lambda invokes the specified function when records are posted to the stream.
This is the pull model, where AWS Lambda invokes the function. For more information, go to AWS LambdaL How it Works in the AWS Lambda Developer Guide. This association between an Amazon Kinesis stream and an AWS Lambda function is called the event source mapping. You provide the configuration information (for example, which stream to read from and which AWS Lambda function to invoke) for the event source mapping in the request body. This operation requires permission for the iam:PassRoleaction for the IAM role. It also requires permission for the lambda:AddEventSourceaction. |
|
BeginAddEventSource(AddEventSourceRequest, AsyncCallback, object) | Initiates the asynchronous execution of the AddEventSource operation. |
|
BeginDeleteFunction(DeleteFunctionRequest, AsyncCallback, object) | Initiates the asynchronous execution of the DeleteFunction operation. |
|
BeginGetEventSource(GetEventSourceRequest, AsyncCallback, object) | Initiates the asynchronous execution of the GetEventSource operation. |
|
BeginGetFunction(GetFunctionRequest, AsyncCallback, object) | Initiates the asynchronous execution of the GetFunction operation. |
|
BeginGetFunctionConfiguration(GetFunctionConfigurationRequest, AsyncCallback, object) | Initiates the asynchronous execution of the GetFunctionConfiguration operation. |
|
BeginInvokeAsync(InvokeAsyncRequest, AsyncCallback, object) | Initiates the asynchronous execution of the InvokeAsync operation. |
|
BeginListEventSources(ListEventSourcesRequest, AsyncCallback, object) | Initiates the asynchronous execution of the ListEventSources operation. |
|
BeginListFunctions(ListFunctionsRequest, AsyncCallback, object) | Initiates the asynchronous execution of the ListFunctions operation. |
|
BeginRemoveEventSource(RemoveEventSourceRequest, AsyncCallback, object) | Initiates the asynchronous execution of the RemoveEventSource operation. |
|
BeginUpdateFunctionConfiguration(UpdateFunctionConfigurationRequest, AsyncCallback, object) | Initiates the asynchronous execution of the UpdateFunctionConfiguration operation. |
|
BeginUploadFunction(UploadFunctionRequest, AsyncCallback, object) | Initiates the asynchronous execution of the UploadFunction operation. |
|
DeleteFunction(string) |
Deletes the specified Lambda function code and configuration.
This operation requires permission for the lambda:DeleteFunctionaction. |
|
DeleteFunction(DeleteFunctionRequest) |
Deletes the specified Lambda function code and configuration.
This operation requires permission for the lambda:DeleteFunctionaction. |
|
Dispose() | |
|
EndAddEventSource(IAsyncResult) | Finishes the asynchronous execution of the AddEventSource operation. |
|
EndDeleteFunction(IAsyncResult) | Finishes the asynchronous execution of the DeleteFunction operation. |
|
EndGetEventSource(IAsyncResult) | Finishes the asynchronous execution of the GetEventSource operation. |
|
EndGetFunction(IAsyncResult) | Finishes the asynchronous execution of the GetFunction operation. |
|
EndGetFunctionConfiguration(IAsyncResult) | Finishes the asynchronous execution of the GetFunctionConfiguration operation. |
|
EndInvokeAsync(IAsyncResult) | Finishes the asynchronous execution of the InvokeAsync operation. |
|
EndListEventSources(IAsyncResult) | Finishes the asynchronous execution of the ListEventSources operation. |
|
EndListFunctions(IAsyncResult) | Finishes the asynchronous execution of the ListFunctions operation. |
|
EndRemoveEventSource(IAsyncResult) | Finishes the asynchronous execution of the RemoveEventSource operation. |
|
EndUpdateFunctionConfiguration(IAsyncResult) | Finishes the asynchronous execution of the UpdateFunctionConfiguration operation. |
|
EndUploadFunction(IAsyncResult) | Finishes the asynchronous execution of the UploadFunction operation. |
|
GetEventSource(string) |
Returns configuration information for the specified event source mapping (see AddEventSource).
This operation requires permission for the lambda:GetEventSourceaction. |
|
GetEventSource(GetEventSourceRequest) |
Returns configuration information for the specified event source mapping (see AddEventSource).
This operation requires permission for the lambda:GetEventSourceaction. |
|
GetFunction(string) |
Returns the configuration information of the Lambda function and a presigned URL link
to the .zip file you uploaded with UploadFunction so you can download the .zip
file. Note that the URL is valid for up to 10 minutes. The configuration information
is the same information you provided as parameters when uploading the function.
This operation requires permission for the lambda:GetFunctionaction. |
|
GetFunction(GetFunctionRequest) |
Returns the configuration information of the Lambda function and a presigned URL link
to the .zip file you uploaded with UploadFunction so you can download the .zip
file. Note that the URL is valid for up to 10 minutes. The configuration information
is the same information you provided as parameters when uploading the function.
This operation requires permission for the lambda:GetFunctionaction. |
|
GetFunctionConfiguration(string) |
Returns the configuration information of the Lambda function. This the same information
you provided as parameters when uploading the function by using UploadFunction.
This operation requires permission for the lambda:GetFunctionConfigurationoperation. |
|
GetFunctionConfiguration(GetFunctionConfigurationRequest) |
Returns the configuration information of the Lambda function. This the same information
you provided as parameters when uploading the function by using UploadFunction.
This operation requires permission for the lambda:GetFunctionConfigurationoperation. |
|
InvokeAsync(InvokeAsyncRequest) |
Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes
the specified function asynchronously. To see the logs generated by the Lambda function
execution, see the CloudWatch logs console.
This operation requires permission for the lambda:InvokeAsyncaction. |
|
InvokeAsync(string) |
Submits an invocation request to Lambda. Upon receiving the request, Lambda executes
the specified cloud function asynchronously. To see the logs generated by the cloud
function execution, see the CloudWatch logs console.
This operation requires permission for the lambda:InvokeAsyncaction. The InvokeArgs will be set to an empty json document. |
|
InvokeAsync(string, string) |
Submits an invocation request to Lambda. Upon receiving the request, Lambda executes
the specified cloud function asynchronously. To see the logs generated by the cloud
function execution, see the CloudWatch logs console.
This operation requires permission for the lambda:InvokeAsyncaction. |
|
ListEventSources(ListEventSourcesRequest) |
Returns a list of event source mappings. For each mapping, the API returns configuration
information (see AddEventSource). You can optionally specify filters to retrieve
specific event source mappings.
This operation requires permission for the lambda:ListEventSourcesaction. |
|
ListFunctions() |
Returns a list of your Lambda functions. For each function, the response includes
the function configuration information. You must use GetFunction to retrieve
the code for your function.
This operation requires permission for the lambda:ListFunctionsaction. |
|
ListFunctions(ListFunctionsRequest) |
Returns a list of your Lambda functions. For each function, the response includes
the function configuration information. You must use GetFunction to retrieve
the code for your function.
This operation requires permission for the lambda:ListFunctionsaction. |
|
RemoveEventSource(string) |
Removes an event source mapping. This means AWS Lambda will no longer invoke the function
for events in the associated source.
This operation requires permission for the lambda:RemoveEventSourceaction. |
|
RemoveEventSource(RemoveEventSourceRequest) |
Removes an event source mapping. This means AWS Lambda will no longer invoke the function
for events in the associated source.
This operation requires permission for the lambda:RemoveEventSourceaction. |
|
UpdateFunctionConfiguration(UpdateFunctionConfigurationRequest) |
Updates the configuration parameters for the specified Lambda function by using the
values provided in the request. You provide only the parameters you want to change.
This operation must only be used on an existing Lambda function and cannot be used
to update the function's code.
This operation requires permission for the lambda:UpdateFunctionConfigurationaction. |
|
UploadFunction(UploadFunctionRequest) |
Creates a new Lambda function or updates an existing function. The function metadata
is created from the request parameters, and the code for the function is provided
by a .zip file in the request body. If the function name already exists, the existing
Lambda function is updated with the new code and metadata.
This operation requires permission for the lambda:UploadFunctionaction. |
| Name | Description | |
|---|---|---|
|
AfterResponseEvent | Occurs after a response is received from the service. |
|
BeforeRequestEvent | Occurs before a request is issued against the service. |
|
ExceptionEvent | Occurs after an exception is encountered. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8