pub struct LambdaFunction {Show 20 fields
pub name: String,
pub arn: String,
pub runtime: Option<String>,
pub role: String,
pub handler: Option<String>,
pub description: String,
pub timeout: u32,
pub memory_size: u32,
pub code_sha256: String,
pub code_size: u64,
pub code_data: Option<Vec<u8>>,
pub environment: HashMap<String, String>,
pub version: String,
pub versions: Vec<FunctionVersion>,
pub aliases: HashMap<String, Alias>,
pub last_modified: String,
pub state: String,
pub invocations: Vec<InvocationRecord>,
pub policy_statements: HashMap<String, Value>,
pub tags: HashMap<String, String>,
}Fields§
§name: String§arn: String§runtime: Option<String>§role: String§handler: Option<String>§description: String§timeout: u32§memory_size: u32§code_sha256: String§code_size: u64§code_data: Option<Vec<u8>>§environment: HashMap<String, String>§version: StringAlways “$LATEST” for the live function.
versions: Vec<FunctionVersion>§aliases: HashMap<String, Alias>§last_modified: String§state: String“Active”, “Pending”, “Failed”, etc.
invocations: Vec<InvocationRecord>Invocation records for debugging / admin console.
policy_statements: HashMap<String, Value>Resource-based policy statements (for AddPermission / RemovePermission).
Tags attached to this function.
Trait Implementations§
Source§impl Clone for LambdaFunction
impl Clone for LambdaFunction
Source§fn clone(&self) -> LambdaFunction
fn clone(&self) -> LambdaFunction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LambdaFunction
impl RefUnwindSafe for LambdaFunction
impl Send for LambdaFunction
impl Sync for LambdaFunction
impl Unpin for LambdaFunction
impl UnsafeUnpin for LambdaFunction
impl UnwindSafe for LambdaFunction
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