Struct aws_sdk_lambda::types::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§
source§impl 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
.
source§impl AccountLimit
impl AccountLimit
sourcepub fn builder() -> AccountLimitBuilder
pub fn builder() -> AccountLimitBuilder
Creates a new builder-style object to manufacture AccountLimit
.
Trait Implementations§
source§impl Clone for AccountLimit
impl Clone for AccountLimit
source§fn clone(&self) -> AccountLimit
fn clone(&self) -> AccountLimit
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountLimit
impl Debug for AccountLimit
source§impl PartialEq for AccountLimit
impl PartialEq for AccountLimit
source§fn eq(&self, other: &AccountLimit) -> bool
fn eq(&self, other: &AccountLimit) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountLimit
Auto Trait Implementations§
impl Freeze for AccountLimit
impl RefUnwindSafe for AccountLimit
impl Send for AccountLimit
impl Sync for AccountLimit
impl Unpin for AccountLimit
impl UnwindSafe for AccountLimit
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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