pub struct LambdaFunction {Show 22 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: Option<Body>,
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>,
pub reserved_concurrent_executions: Option<u32>,
pub provisioned_concurrency: HashMap<String, ProvisionedConcurrencyConfig>,
}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: Option<Body>§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.
reserved_concurrent_executions: Option<u32>Reserved concurrent executions ceiling per PutFunctionConcurrency.
None means unreserved — the function shares the account pool.
provisioned_concurrency: HashMap<String, ProvisionedConcurrencyConfig>Provisioned concurrency configurations keyed by qualifier (alias name or function version). Each entry tracks the requested capacity along with a simulated state machine that flips IN_PROGRESS -> READY.
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