Struct rusoto_lambda::PublishVersionRequest
source · [−]pub struct PublishVersionRequest {
pub code_sha_256: Option<String>,
pub description: Option<String>,
pub function_name: String,
pub revision_id: Option<String>,
}
Fields
code_sha_256: Option<String>
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: Option<String>
A description for the version to override the description in the function configuration.
function_name: String
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.
revision_id: Option<String>
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.
Trait Implementations
sourceimpl Clone for PublishVersionRequest
impl Clone for PublishVersionRequest
sourcefn clone(&self) -> PublishVersionRequest
fn clone(&self) -> PublishVersionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PublishVersionRequest
impl Debug for PublishVersionRequest
sourceimpl Default for PublishVersionRequest
impl Default for PublishVersionRequest
sourcefn default() -> PublishVersionRequest
fn default() -> PublishVersionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PublishVersionRequest> for PublishVersionRequest
impl PartialEq<PublishVersionRequest> for PublishVersionRequest
sourcefn eq(&self, other: &PublishVersionRequest) -> bool
fn eq(&self, other: &PublishVersionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PublishVersionRequest) -> bool
fn ne(&self, other: &PublishVersionRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for PublishVersionRequest
impl Serialize for PublishVersionRequest
impl StructuralPartialEq for PublishVersionRequest
Auto Trait Implementations
impl RefUnwindSafe for PublishVersionRequest
impl Send for PublishVersionRequest
impl Sync for PublishVersionRequest
impl Unpin for PublishVersionRequest
impl UnwindSafe for PublishVersionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more