#[non_exhaustive]pub struct AwsLambdaLayerVersionDetails {
pub version: i64,
pub compatible_runtimes: Option<Vec<String>>,
pub created_date: Option<String>,
}Expand description
Details about a Lambda layer version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: i64The version number.
compatible_runtimes: Option<Vec<String>>The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x | nodejs12.x | java8 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.1 | go1.x | ruby2.5 | provided
created_date: Option<String>Indicates when the version was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
Implementations§
source§impl AwsLambdaLayerVersionDetails
impl AwsLambdaLayerVersionDetails
sourcepub fn compatible_runtimes(&self) -> Option<&[String]>
pub fn compatible_runtimes(&self) -> Option<&[String]>
The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x | nodejs12.x | java8 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.1 | go1.x | ruby2.5 | provided
sourcepub fn created_date(&self) -> Option<&str>
pub fn created_date(&self) -> Option<&str>
Indicates when the version was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
source§impl AwsLambdaLayerVersionDetails
impl AwsLambdaLayerVersionDetails
sourcepub fn builder() -> AwsLambdaLayerVersionDetailsBuilder
pub fn builder() -> AwsLambdaLayerVersionDetailsBuilder
Creates a new builder-style object to manufacture AwsLambdaLayerVersionDetails.
Trait Implementations§
source§impl Clone for AwsLambdaLayerVersionDetails
impl Clone for AwsLambdaLayerVersionDetails
source§fn clone(&self) -> AwsLambdaLayerVersionDetails
fn clone(&self) -> AwsLambdaLayerVersionDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsLambdaLayerVersionDetails
impl Debug for AwsLambdaLayerVersionDetails
source§impl PartialEq for AwsLambdaLayerVersionDetails
impl PartialEq for AwsLambdaLayerVersionDetails
source§fn eq(&self, other: &AwsLambdaLayerVersionDetails) -> bool
fn eq(&self, other: &AwsLambdaLayerVersionDetails) -> bool
self and other values to be equal, and is used
by ==.