pub struct LambdaState {Show 22 fields
pub account_id: String,
pub region: String,
pub functions: BTreeMap<String, LambdaFunction>,
pub event_source_mappings: BTreeMap<String, EventSourceMapping>,
pub invocations: Vec<LambdaInvocation>,
pub aliases: BTreeMap<String, FunctionAlias>,
pub function_versions: BTreeMap<String, Vec<String>>,
pub function_version_snapshots: BTreeMap<String, BTreeMap<String, LambdaFunction>>,
pub layers: BTreeMap<String, Layer>,
pub function_url_configs: BTreeMap<String, FunctionUrlConfig>,
pub function_concurrency: BTreeMap<String, i64>,
pub provisioned_concurrency: BTreeMap<String, ProvisionedConcurrencyConfig>,
pub code_signing_configs: BTreeMap<String, CodeSigningConfig>,
pub function_code_signing: BTreeMap<String, String>,
pub event_invoke_configs: BTreeMap<String, EventInvokeConfig>,
pub runtime_management: BTreeMap<String, RuntimeManagementConfig>,
pub scaling_configs: BTreeMap<String, FunctionScalingConfig>,
pub recursion_configs: BTreeMap<String, String>,
pub account_settings: Option<AccountSettings>,
pub capacity_providers: BTreeMap<String, CapacityProvider>,
pub durable_executions: BTreeMap<String, DurableExecution>,
pub durable_execution_callbacks: BTreeMap<String, DurableExecutionCallback>,
}Fields§
§account_id: String§region: String§functions: BTreeMap<String, LambdaFunction>§event_source_mappings: BTreeMap<String, EventSourceMapping>§invocations: Vec<LambdaInvocation>Recorded invocations from cross-service integrations — not persisted.
aliases: BTreeMap<String, FunctionAlias>Per-function aliases keyed by {function}:{alias}.
function_versions: BTreeMap<String, Vec<String>>Published versions per function (function_name -> Vec
function_version_snapshots: BTreeMap<String, BTreeMap<String, LambdaFunction>>Immutable per-version snapshot of the function (code + config),
keyed by function_name -> version -> LambdaFunction. AWS makes
each numbered version a frozen copy of $LATEST at publish time.
layers: BTreeMap<String, Layer>Layers keyed by name.
function_url_configs: BTreeMap<String, FunctionUrlConfig>Function URL configs keyed by function name.
function_concurrency: BTreeMap<String, i64>Reserved concurrency configs keyed by function name.
provisioned_concurrency: BTreeMap<String, ProvisionedConcurrencyConfig>Provisioned concurrency configs keyed by {function}:{qualifier}.
code_signing_configs: BTreeMap<String, CodeSigningConfig>Code signing configs keyed by id.
function_code_signing: BTreeMap<String, String>Function-to-code-signing-config association keyed by function name.
event_invoke_configs: BTreeMap<String, EventInvokeConfig>Event invoke configs keyed by {function}:{qualifier}.
runtime_management: BTreeMap<String, RuntimeManagementConfig>Runtime management configs keyed by {function}:{qualifier}.
scaling_configs: BTreeMap<String, FunctionScalingConfig>Scaling configs keyed by event source mapping uuid.
recursion_configs: BTreeMap<String, String>Recursion configs keyed by function name.
account_settings: Option<AccountSettings>Account settings (single per-account record).
capacity_providers: BTreeMap<String, CapacityProvider>Capacity providers (Lambda Workflows, 2025-11-30 API) keyed by name.
durable_executions: BTreeMap<String, DurableExecution>Durable executions (Lambda Workflows, 2025-12-01 API) keyed by ARN.
durable_execution_callbacks: BTreeMap<String, DurableExecutionCallback>Durable execution callbacks keyed by callback id. Each callback belongs to one execution and records its outcome on SendCallback.
Implementations§
Trait Implementations§
Source§impl AccountState for LambdaState
impl AccountState for LambdaState
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for LambdaState
impl Clone for LambdaState
Source§fn clone(&self) -> LambdaState
fn clone(&self) -> LambdaState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LambdaState
impl Debug for LambdaState
Source§impl<'de> Deserialize<'de> for LambdaState
impl<'de> Deserialize<'de> for LambdaState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for LambdaState
impl RefUnwindSafe for LambdaState
impl Send for LambdaState
impl Sync for LambdaState
impl Unpin for LambdaState
impl UnsafeUnpin for LambdaState
impl UnwindSafe for LambdaState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more