Skip to main content

FunctionStatus

Struct FunctionStatus 

Source
pub struct FunctionStatus {
Show 18 fields pub ack_resource_metadata: Option<FunctionStatusAckResourceMetadata>, pub code_sha256: Option<String>, pub code_size: Option<i64>, pub conditions: Option<Vec<Condition>>, pub image_config_response: Option<FunctionStatusImageConfigResponse>, 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 layer_statuses: Option<Vec<FunctionStatusLayerStatuses>>, pub master_arn: Option<String>, pub revision_id: 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 version: Option<String>,
}
Expand description

FunctionStatus defines the observed state of Function

Fields§

§ack_resource_metadata: Option<FunctionStatusAckResourceMetadata>

All CRs managed by ACK have a common Status.ACKResourceMetadata member that is used to contain resource sync state, account ownership, constructed ARN for the resource

§code_sha256: 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.

§conditions: Option<Vec<Condition>>

All CRs managed by ACK have a common Status.Conditions member that contains a collection of ackv1alpha1.Condition objects that describe the various terminal states of the CR and its backend AWS service API resource

§image_config_response: Option<FunctionStatusImageConfigResponse>

The function’s image configuration values.

§last_modified: Option<String>

The date and time that the function was last updated, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) (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.

§layer_statuses: Option<Vec<FunctionStatusLayerStatuses>>§master_arn: Option<String>

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

Regex Pattern: ^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$

§revision_id: Option<String>

The latest updated revision of the function or alias.

§signing_job_arn: Option<String>

The ARN of the signing job.

Regex Pattern: ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)$

§signing_profile_version_arn: Option<String>

The ARN of the signing profile version.

Regex Pattern: ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)$

§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.

§version: Option<String>

The version of the Lambda function.

Regex Pattern: ^(\$LATEST|[0-9]+)$

Trait Implementations§

Source§

impl Clone for FunctionStatus

Source§

fn clone(&self) -> FunctionStatus

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for FunctionStatus

Source§

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

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

impl Default for FunctionStatus

Source§

fn default() -> FunctionStatus

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

impl<'de> Deserialize<'de> for FunctionStatus

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 FunctionStatus

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl Serialize for FunctionStatus

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
Source§

impl StructuralPartialEq for FunctionStatus

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

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

Source§

fn __clone_box(&self, _: Private) -> *mut ()

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> 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.