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 or ARN 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 or ARN 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 ==
.impl StructuralPartialEq for PutProvisionedConcurrencyConfigInput
Auto Trait Implementations§
impl Freeze for PutProvisionedConcurrencyConfigInput
impl RefUnwindSafe for PutProvisionedConcurrencyConfigInput
impl Send for PutProvisionedConcurrencyConfigInput
impl Sync for PutProvisionedConcurrencyConfigInput
impl Unpin for PutProvisionedConcurrencyConfigInput
impl UnwindSafe for PutProvisionedConcurrencyConfigInput
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> 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