aws_sdk_lambda/client/
get_layer_version_by_arn.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetLayerVersionByArn`](crate::operation::get_layer_version_by_arn::builders::GetLayerVersionByArnFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::get_layer_version_by_arn::builders::GetLayerVersionByArnFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_layer_version_by_arn::builders::GetLayerVersionByArnFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the layer version.</p><br>
7    /// - On success, responds with [`GetLayerVersionByArnOutput`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput) with field(s):
8    ///   - [`content(Option<LayerVersionContentOutput>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::content): <p>Details about the layer version.</p>
9    ///   - [`layer_arn(Option<String>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::layer_arn): <p>The ARN of the layer.</p>
10    ///   - [`layer_version_arn(Option<String>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::layer_version_arn): <p>The ARN of the layer version.</p>
11    ///   - [`description(Option<String>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::description): <p>The description of the version.</p>
12    ///   - [`created_date(Option<String>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::created_date): <p>The date that the layer version was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
13    ///   - [`version(i64)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::version): <p>The version number.</p>
14    ///   - [`compatible_runtimes(Option<Vec::<Runtime>>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::compatible_runtimes): <p>The layer's compatible runtimes.</p> <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels">Runtime use after deprecation</a>.</p> <p>For a list of all currently supported runtimes, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported">Supported runtimes</a>.</p>
15    ///   - [`license_info(Option<String>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::license_info): <p>The layer's software license.</p>
16    ///   - [`compatible_architectures(Option<Vec::<Architecture>>)`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnOutput::compatible_architectures): <p>A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
17    /// - On failure, responds with [`SdkError<GetLayerVersionByArnError>`](crate::operation::get_layer_version_by_arn::GetLayerVersionByArnError)
18    pub fn get_layer_version_by_arn(&self) -> crate::operation::get_layer_version_by_arn::builders::GetLayerVersionByArnFluentBuilder {
19        crate::operation::get_layer_version_by_arn::builders::GetLayerVersionByArnFluentBuilder::new(self.handle.clone())
20    }
21}