Struct rusoto_lambda::PublishVersionRequest
[−]
[src]
pub struct PublishVersionRequest { pub code_sha_256: Option<String>, pub description: Option<String>, pub function_name: String, }
Fields
code_sha_256: Option<String>
The SHA256 hash of the deployment package you want to publish. This provides validation on the code you are publishing. If you provide this parameter value must match the SHA256 of the $LATEST version for the publication to succeed.
description: Option<String>
The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
function_name: String
The Lambda function name. You can specify a function name (for example, Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
Trait Implementations
impl Default for PublishVersionRequest
[src]
fn default() -> PublishVersionRequest
Returns the "default value" for a type. Read more
impl Debug for PublishVersionRequest
[src]
impl Clone for PublishVersionRequest
[src]
fn clone(&self) -> PublishVersionRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more