Struct aws_sdk_greengrass::types::Function
source · #[non_exhaustive]pub struct Function {
pub function_arn: Option<String>,
pub function_configuration: Option<FunctionConfiguration>,
pub id: Option<String>,
}
Expand description
Information about a Lambda function.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_arn: Option<String>
The ARN of the Lambda function.
function_configuration: Option<FunctionConfiguration>
The configuration of the Lambda function.
id: Option<String>
A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ‘’[a-zA-Z0-9:_-]+‘’.
Implementations§
source§impl Function
impl Function
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The ARN of the Lambda function.
sourcepub fn function_configuration(&self) -> Option<&FunctionConfiguration>
pub fn function_configuration(&self) -> Option<&FunctionConfiguration>
The configuration of the Lambda function.
Trait Implementations§
source§impl PartialEq for Function
impl PartialEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.