This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AWS.Lambda.
Summary
Publishes a version of your function from the current snapshot of $LATEST.
- Assembly
- Cake
.AWS .Lambda .dll - Namespace
- Cake
.AWS .Lambda - Containing Type
- ILambdaManager
Syntax
Task<string> PublishVersion(string functionName, PublishVersionSettings settings, CancellationToken cancellationToken = null)
Parameters
Name | Type | Description |
---|---|---|
functionName | string | The name of an AWS Lambda function. |
settings | Publish |
The PublishVersionSettings used during the request to AWS. |
cancellationToken | CancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Return Value
Type | Description |
---|---|
Task |