FunctionConfiguration

Struct FunctionConfiguration 

Source
pub struct FunctionConfiguration {
Show 31 fields pub function_name: Option<NamespacedFunctionName>, pub function_arn: Option<NameSpacedFunctionArn>, pub runtime: Option<Runtime>, pub role: Option<RoleArn>, pub handler: Option<Handler>, pub code_size: Option<Long>, pub description: Option<Description>, pub timeout: Option<Timeout>, pub memory_size: Option<MemorySize>, pub last_modified: Option<Timestamp>, pub code_sha256: Option<String>, pub version: Option<Version>, pub vpc_config: Option<VpcConfigResponse>, pub dead_letter_config: Option<DeadLetterConfig>, pub environment: Option<EnvironmentResponse>, pub kms_key_arn: Option<KMSKeyArn>, pub tracing_config: Option<TracingConfigResponse>, pub master_arn: Option<FunctionArn>, pub revision_id: Option<String>, pub layers: Option<LayersReferenceList>, pub state: Option<State>, pub state_reason: Option<StateReason>, pub state_reason_code: Option<StateReasonCode>, pub last_update_status: Option<LastUpdateStatus>, pub last_update_status_reason: Option<LastUpdateStatusReason>, pub last_update_status_reason_code: Option<LastUpdateStatusReasonCode>, pub file_system_configs: Option<FileSystemConfigList>, pub package_type: Option<PackageType>, pub image_config_response: Option<ImageConfigResponse>, pub signing_profile_version_arn: Option<Arn>, pub signing_job_arn: Option<Arn>,
}

Fields§

§function_name: Option<NamespacedFunctionName>§function_arn: Option<NameSpacedFunctionArn>§runtime: Option<Runtime>§role: Option<RoleArn>§handler: Option<Handler>§code_size: Option<Long>§description: Option<Description>§timeout: Option<Timeout>§memory_size: Option<MemorySize>§last_modified: Option<Timestamp>§code_sha256: Option<String>§version: Option<Version>§vpc_config: Option<VpcConfigResponse>§dead_letter_config: Option<DeadLetterConfig>§environment: Option<EnvironmentResponse>§kms_key_arn: Option<KMSKeyArn>§tracing_config: Option<TracingConfigResponse>§master_arn: Option<FunctionArn>§revision_id: Option<String>§layers: Option<LayersReferenceList>§state: Option<State>§state_reason: Option<StateReason>§state_reason_code: Option<StateReasonCode>§last_update_status: Option<LastUpdateStatus>§last_update_status_reason: Option<LastUpdateStatusReason>§last_update_status_reason_code: Option<LastUpdateStatusReasonCode>§file_system_configs: Option<FileSystemConfigList>§package_type: Option<PackageType>§image_config_response: Option<ImageConfigResponse>§signing_profile_version_arn: Option<Arn>§signing_job_arn: Option<Arn>

Trait Implementations§

Source§

impl Debug for FunctionConfiguration

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FunctionConfiguration

Source§

fn default() -> FunctionConfiguration

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for FunctionConfiguration

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for FunctionConfiguration

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,