pub struct UpdateAliasRequest {
pub description: Option<String>,
pub function_name: String,
pub function_version: Option<String>,
pub name: String,
pub revision_id: Option<String>,
pub routing_config: Option<AliasRoutingConfiguration>,
}
Fields§
§description: Option<String>
A description of the alias.
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.
function_version: Option<String>
The function version that the alias invokes.
name: String
The name of the alias.
revision_id: Option<String>
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
routing_config: Option<AliasRoutingConfiguration>
The routing configuration of the alias.
Trait Implementations§
Source§impl Clone for UpdateAliasRequest
impl Clone for UpdateAliasRequest
Source§fn clone(&self) -> UpdateAliasRequest
fn clone(&self) -> UpdateAliasRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateAliasRequest
impl Debug for UpdateAliasRequest
Source§impl Default for UpdateAliasRequest
impl Default for UpdateAliasRequest
Source§fn default() -> UpdateAliasRequest
fn default() -> UpdateAliasRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateAliasRequest
impl PartialEq for UpdateAliasRequest
Source§impl Serialize for UpdateAliasRequest
impl Serialize for UpdateAliasRequest
impl StructuralPartialEq for UpdateAliasRequest
Auto Trait Implementations§
impl Freeze for UpdateAliasRequest
impl RefUnwindSafe for UpdateAliasRequest
impl Send for UpdateAliasRequest
impl Sync for UpdateAliasRequest
impl Unpin for UpdateAliasRequest
impl UnwindSafe for UpdateAliasRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more