PublishVersionRequest
import type { PublishVersionRequest } from "https://aws-api.deno.dev/v0.4/services/lambda.ts?docs=full";
interface PublishVersionRequest {
CodeSha256?: string | null;
Description?: string | null;
FunctionName: string;
RevisionId?: string | null;
}§Properties
§
CodeSha256?: string | null
[src]Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of "UpdateFunctionCode".
§
Description?: string | null
[src]A description for the version to override the description in the function configuration.
§
FunctionName: string
[src]The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.