#[non_exhaustive]pub struct AwsLambdaLayerVersionDetails {
pub version: Option<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: Option<i64>
The version number.
compatible_runtimes: Option<Vec<String>>
The layer's compatible function runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy in the Lambda Developer Guide.
Array Members: Maximum number of 5 items.
Valid Values: nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | nodejs16.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | python3.9 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | dotnet6 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2 | nodejs18.x | python3.10 | java17 | ruby3.2 | python3.11 | nodejs20.x | provided.al2023 | python3.12 | java21
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) -> &[String]
pub fn compatible_runtimes(&self) -> &[String]
The layer's compatible function runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy in the Lambda Developer Guide.
Array Members: Maximum number of 5 items.
Valid Values: nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | nodejs16.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | python3.9 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | dotnet6 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2 | nodejs18.x | python3.10 | java17 | ruby3.2 | python3.11 | nodejs20.x | provided.al2023 | python3.12 | java21
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .compatible_runtimes.is_none()
.
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 ==
.