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 ==
.