#[non_exhaustive]pub struct DeleteFunctionInput {
pub function_name: Option<String>,
pub qualifier: Option<String>,
}
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 or version.
Name formats
-
Function name –
my-function
(name-only),my-function:1
(with version). -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. 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>
Specify a version to delete. You can't delete a version that an alias references.
Implementations§
source§impl DeleteFunctionInput
impl DeleteFunctionInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name or ARN of the Lambda function or version.
Name formats
-
Function name –
my-function
(name-only),my-function:1
(with version). -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
source§impl DeleteFunctionInput
impl DeleteFunctionInput
sourcepub fn builder() -> DeleteFunctionInputBuilder
pub fn builder() -> DeleteFunctionInputBuilder
Creates a new builder-style object to manufacture DeleteFunctionInput
.
Trait Implementations§
source§impl Clone for DeleteFunctionInput
impl Clone for DeleteFunctionInput
source§fn clone(&self) -> DeleteFunctionInput
fn clone(&self) -> DeleteFunctionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteFunctionInput
impl Debug for DeleteFunctionInput
source§impl PartialEq for DeleteFunctionInput
impl PartialEq for DeleteFunctionInput
source§fn eq(&self, other: &DeleteFunctionInput) -> bool
fn eq(&self, other: &DeleteFunctionInput) -> bool
self
and other
values to be equal, and is used
by ==
.