#[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.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
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.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
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 ==
.impl StructuralPartialEq for AwsLambdaLayerVersionDetails
Auto Trait Implementations§
impl Freeze for AwsLambdaLayerVersionDetails
impl RefUnwindSafe for AwsLambdaLayerVersionDetails
impl Send for AwsLambdaLayerVersionDetails
impl Sync for AwsLambdaLayerVersionDetails
impl Unpin for AwsLambdaLayerVersionDetails
impl UnwindSafe for AwsLambdaLayerVersionDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more