LambdaManager.

PublishVersion(string, PublishVersionSettings, CancellationToken) Method

Summary

Publishes a version of your function from the current snapshot of $LATEST.
Assembly
Cake.AWS.Lambda.dll
Namespace
Cake.AWS.Lambda
Containing Type
LambdaManager

Syntax

public Task<string> PublishVersion(string functionName, PublishVersionSettings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
functionName string The name of an AWS Lambda function.
settings PublishVersionSettings 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<string>