Struct aws_sdk_lambda::model::AccountLimit
source · [−]#[non_exhaustive]pub struct AccountLimit {
pub total_code_size: i64,
pub code_size_unzipped: i64,
pub code_size_zipped: i64,
pub concurrent_executions: i32,
pub unreserved_concurrent_executions: Option<i32>,
}
Expand description
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.total_code_size: i64
The amount of storage space that you can use for all deployment packages and layer archives.
code_size_unzipped: i64
The maximum size of a function's deployment package and layers when they're extracted.
code_size_zipped: i64
The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files.
concurrent_executions: i32
The maximum number of simultaneous function executions.
unreserved_concurrent_executions: Option<i32>
The maximum number of simultaneous function executions, minus the capacity that's reserved for individual functions with PutFunctionConcurrency
.
Implementations
sourceimpl AccountLimit
impl AccountLimit
sourcepub fn total_code_size(&self) -> i64
pub fn total_code_size(&self) -> i64
The amount of storage space that you can use for all deployment packages and layer archives.
sourcepub fn code_size_unzipped(&self) -> i64
pub fn code_size_unzipped(&self) -> i64
The maximum size of a function's deployment package and layers when they're extracted.
sourcepub fn code_size_zipped(&self) -> i64
pub fn code_size_zipped(&self) -> i64
The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files.
sourcepub fn concurrent_executions(&self) -> i32
pub fn concurrent_executions(&self) -> i32
The maximum number of simultaneous function executions.
sourcepub fn unreserved_concurrent_executions(&self) -> Option<i32>
pub fn unreserved_concurrent_executions(&self) -> Option<i32>
The maximum number of simultaneous function executions, minus the capacity that's reserved for individual functions with PutFunctionConcurrency
.
sourceimpl AccountLimit
impl AccountLimit
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccountLimit
.
Trait Implementations
sourceimpl Clone for AccountLimit
impl Clone for AccountLimit
sourcefn clone(&self) -> AccountLimit
fn clone(&self) -> AccountLimit
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccountLimit
impl Debug for AccountLimit
sourceimpl PartialEq<AccountLimit> for AccountLimit
impl PartialEq<AccountLimit> for AccountLimit
sourcefn eq(&self, other: &AccountLimit) -> bool
fn eq(&self, other: &AccountLimit) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccountLimit) -> bool
fn ne(&self, other: &AccountLimit) -> bool
This method tests for !=
.
impl StructuralPartialEq for AccountLimit
Auto Trait Implementations
impl RefUnwindSafe for AccountLimit
impl Send for AccountLimit
impl Sync for AccountLimit
impl Unpin for AccountLimit
impl UnwindSafe for AccountLimit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more