pub struct LambdaFunction {Show 18 fields
pub function_name: String,
pub function_arn: String,
pub runtime: String,
pub role: String,
pub handler: String,
pub description: String,
pub timeout: i64,
pub memory_size: i64,
pub code_sha256: String,
pub code_size: i64,
pub version: String,
pub last_modified: DateTime<Utc>,
pub tags: HashMap<String, String>,
pub environment: HashMap<String, String>,
pub architectures: Vec<String>,
pub package_type: String,
pub code_zip: Option<Vec<u8>>,
pub policy: Option<String>,
}Fields§
§function_name: String§function_arn: String§runtime: String§role: String§handler: String§description: String§timeout: i64§memory_size: i64§code_sha256: String§code_size: i64§version: String§last_modified: DateTime<Utc>§environment: HashMap<String, String>§architectures: Vec<String>§package_type: String§code_zip: Option<Vec<u8>>§policy: Option<String>Resource-based policy attached to this function via
AddPermission, serialized as a full JSON policy document
({"Version":"2012-10-17","Statement":[...]}). None means
the function has no resource policy attached, matching the
ResourceNotFoundException AWS returns from GetPolicy in
that state. AddPermission lazily initializes this; every
RemovePermission leaves at least {"Statement":[]} behind,
matching AWS behavior.
Trait Implementations§
Source§impl Clone for LambdaFunction
impl Clone for LambdaFunction
Source§fn clone(&self) -> LambdaFunction
fn clone(&self) -> LambdaFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LambdaFunction
impl Debug for LambdaFunction
Source§impl<'de> Deserialize<'de> for LambdaFunction
impl<'de> Deserialize<'de> for LambdaFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LambdaFunction
impl RefUnwindSafe for LambdaFunction
impl Send for LambdaFunction
impl Sync for LambdaFunction
impl Unpin for LambdaFunction
impl UnsafeUnpin for LambdaFunction
impl UnwindSafe for LambdaFunction
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