Struct FunctionConfiguration

Source
pub struct FunctionConfiguration {
Show 31 fields pub code_sha_256: Option<String>, pub code_size: Option<i64>, pub dead_letter_config: Option<DeadLetterConfig>, pub description: Option<String>, pub environment: Option<EnvironmentResponse>, pub file_system_configs: Option<Vec<FileSystemConfig>>, pub function_arn: Option<String>, pub function_name: Option<String>, pub handler: Option<String>, pub image_config_response: Option<ImageConfigResponse>, pub kms_key_arn: Option<String>, pub last_modified: Option<String>, pub last_update_status: Option<String>, pub last_update_status_reason: Option<String>, pub last_update_status_reason_code: Option<String>, pub layers: Option<Vec<Layer>>, pub master_arn: Option<String>, pub memory_size: Option<i64>, pub package_type: Option<String>, pub revision_id: Option<String>, pub role: Option<String>, pub runtime: Option<String>, pub signing_job_arn: Option<String>, pub signing_profile_version_arn: Option<String>, pub state: Option<String>, pub state_reason: Option<String>, pub state_reason_code: Option<String>, pub timeout: Option<i64>, pub tracing_config: Option<TracingConfigResponse>, pub version: Option<String>, pub vpc_config: Option<VpcConfigResponse>,
}
Expand description

Details about a function's configuration.

Fields§

§code_sha_256: Option<String>

The SHA256 hash of the function's deployment package.

§code_size: Option<i64>

The size of the function's deployment package, in bytes.

§dead_letter_config: Option<DeadLetterConfig>

The function's dead letter queue.

§description: Option<String>

The function's description.

§environment: Option<EnvironmentResponse>

The function's environment variables.

§file_system_configs: Option<Vec<FileSystemConfig>>

Connection settings for an Amazon EFS file system.

§function_arn: Option<String>

The function's Amazon Resource Name (ARN).

§function_name: Option<String>

The name of the function.

§handler: Option<String>

The function that Lambda calls to begin executing your function.

§image_config_response: Option<ImageConfigResponse>

The function's image configuration values.

§kms_key_arn: Option<String>

The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.

§last_modified: Option<String>

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

§last_update_status: Option<String>

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

§last_update_status_reason: Option<String>

The reason for the last update that was performed on the function.

§last_update_status_reason_code: Option<String>

The reason code for the last update that was performed on the function.

§layers: Option<Vec<Layer>>

The function's layers.

§master_arn: Option<String>

For Lambda@Edge functions, the ARN of the master function.

§memory_size: Option<i64>

The amount of memory available to the function at runtime.

§package_type: Option<String>

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

§revision_id: Option<String>

The latest updated revision of the function or alias.

§role: Option<String>

The function's execution role.

§runtime: Option<String>

The runtime environment for the Lambda function.

§signing_job_arn: Option<String>

The ARN of the signing job.

§signing_profile_version_arn: Option<String>

The ARN of the signing profile version.

§state: Option<String>

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

§state_reason: Option<String>

The reason for the function's current state.

§state_reason_code: Option<String>

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

§timeout: Option<i64>

The amount of time in seconds that Lambda allows a function to run before stopping it.

§tracing_config: Option<TracingConfigResponse>

The function's AWS X-Ray tracing configuration.

§version: Option<String>

The version of the Lambda function.

§vpc_config: Option<VpcConfigResponse>

The function's networking configuration.

Trait Implementations§

Source§

impl Clone for FunctionConfiguration

Source§

fn clone(&self) -> FunctionConfiguration

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
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 PartialEq for FunctionConfiguration

Source§

fn eq(&self, other: &FunctionConfiguration) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for FunctionConfiguration

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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