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.
If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:UpdateFunctionCode
action.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class UpdateFunctionCodeRequest : AmazonLambdaRequest IRequestEvents
The UpdateFunctionCodeRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateFunctionCodeRequest() |
Name | Type | Description | |
---|---|---|---|
FunctionName | System.String |
Gets and sets the property FunctionName.
The existing Lambda function name whose code you want to replace.
You can specify a function name (for example, |
|
Publish | System.Boolean |
Gets and sets the property Publish.
This boolean parameter can be used to request AWS Lambda to update the Lambda function and publish a version as an atomic operation. |
|
S3Bucket | System.String |
Gets and sets the property S3Bucket.
Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function. |
|
S3Key | System.String |
Gets and sets the property S3Key.
The Amazon S3 object (the deployment package) key name you want to upload. |
|
S3ObjectVersion | System.String |
Gets and sets the property S3ObjectVersion.
The Amazon S3 object (the deployment package) version you want to upload. |
|
ZipFile | System.IO.MemoryStream |
Gets and sets the property ZipFile.
Based64-encoded .zip file containing your packaged source code. |
.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