Struct aws_sdk_lambda::operation::put_provisioned_concurrency_config::PutProvisionedConcurrencyConfigInput
source · #[non_exhaustive]pub struct PutProvisionedConcurrencyConfigInput {
pub function_name: Option<String>,
pub qualifier: Option<String>,
pub provisioned_concurrent_executions: Option<i32>,
}
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.function_name: Option<String>
The name of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
qualifier: Option<String>
The version number or alias name.
provisioned_concurrent_executions: Option<i32>
The amount of provisioned concurrency to allocate for the version or alias.
Implementations§
source§impl PutProvisionedConcurrencyConfigInput
impl PutProvisionedConcurrencyConfigInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn provisioned_concurrent_executions(&self) -> Option<i32>
pub fn provisioned_concurrent_executions(&self) -> Option<i32>
The amount of provisioned concurrency to allocate for the version or alias.
source§impl PutProvisionedConcurrencyConfigInput
impl PutProvisionedConcurrencyConfigInput
sourcepub fn builder() -> PutProvisionedConcurrencyConfigInputBuilder
pub fn builder() -> PutProvisionedConcurrencyConfigInputBuilder
Creates a new builder-style object to manufacture PutProvisionedConcurrencyConfigInput
.
Trait Implementations§
source§impl Clone for PutProvisionedConcurrencyConfigInput
impl Clone for PutProvisionedConcurrencyConfigInput
source§fn clone(&self) -> PutProvisionedConcurrencyConfigInput
fn clone(&self) -> PutProvisionedConcurrencyConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutProvisionedConcurrencyConfigInput
impl PartialEq for PutProvisionedConcurrencyConfigInput
source§fn eq(&self, other: &PutProvisionedConcurrencyConfigInput) -> bool
fn eq(&self, other: &PutProvisionedConcurrencyConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.