pub struct CreateAliasRequest {
pub description: Option<String>,
pub function_name: String,
pub function_version: String,
pub name: 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: String
The function version that the alias invokes.
name: String
The name of the alias.
routing_config: Option<AliasRoutingConfiguration>
The routing configuration of the alias.
Trait Implementations§
Source§impl Clone for CreateAliasRequest
impl Clone for CreateAliasRequest
Source§fn clone(&self) -> CreateAliasRequest
fn clone(&self) -> CreateAliasRequest
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 CreateAliasRequest
impl Debug for CreateAliasRequest
Source§impl Default for CreateAliasRequest
impl Default for CreateAliasRequest
Source§fn default() -> CreateAliasRequest
fn default() -> CreateAliasRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateAliasRequest
impl PartialEq for CreateAliasRequest
Source§impl Serialize for CreateAliasRequest
impl Serialize for CreateAliasRequest
impl StructuralPartialEq for CreateAliasRequest
Auto Trait Implementations§
impl Freeze for CreateAliasRequest
impl RefUnwindSafe for CreateAliasRequest
impl Send for CreateAliasRequest
impl Sync for CreateAliasRequest
impl Unpin for CreateAliasRequest
impl UnwindSafe for CreateAliasRequest
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