Struct aws_sdk_lambda::operation::get_function::GetFunctionInput
source · #[non_exhaustive]pub struct GetFunctionInput {
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, version, or alias.
Name formats
-
Function name –
my-function
(name-only),my-function:v1
(with alias). -
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 or alias to get details about a published version of the function.
Implementations§
source§impl GetFunctionInput
impl GetFunctionInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name or ARN of the Lambda function, version, or alias.
Name formats
-
Function name –
my-function
(name-only),my-function:v1
(with alias). -
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 GetFunctionInput
impl GetFunctionInput
sourcepub fn builder() -> GetFunctionInputBuilder
pub fn builder() -> GetFunctionInputBuilder
Creates a new builder-style object to manufacture GetFunctionInput
.
Trait Implementations§
source§impl Clone for GetFunctionInput
impl Clone for GetFunctionInput
source§fn clone(&self) -> GetFunctionInput
fn clone(&self) -> GetFunctionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFunctionInput
impl Debug for GetFunctionInput
source§impl PartialEq for GetFunctionInput
impl PartialEq for GetFunctionInput
source§fn eq(&self, other: &GetFunctionInput) -> bool
fn eq(&self, other: &GetFunctionInput) -> bool
self
and other
values to be equal, and is used
by ==
.