pub struct Alias {
pub name: String,
pub arn: String,
pub function_version: String,
pub description: String,
pub routing_config: HashMap<String, f64>,
}Fields§
§name: String§arn: String§function_version: String§description: String§routing_config: HashMap<String, f64>Traffic-shifting weights: version → fraction in [0, 1]. When set,
invocations through the alias split between function_version and
the listed versions per their weights. Must total ≤ 1; the
implicit remainder is routed to function_version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnsafeUnpin for Alias
impl UnwindSafe for Alias
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