1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListLayers`](crate::operation::list_layers::builders::ListLayersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_layers::builders::ListLayersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`compatible_runtime(Runtime)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::compatible_runtime) / [`set_compatible_runtime(Option<Runtime>)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::set_compatible_runtime):<br>required: **false**<br><p>A runtime identifier. For example, <code>go1.x</code>.</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-support-policy">Runtime deprecation policy</a>.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::set_marker):<br>required: **false**<br><p>A pagination token returned by a previous call.</p><br>
    ///   - [`max_items(i32)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of layers to return.</p><br>
    ///   - [`compatible_architecture(Architecture)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::compatible_architecture) / [`set_compatible_architecture(Option<Architecture>)`](crate::operation::list_layers::builders::ListLayersFluentBuilder::set_compatible_architecture):<br>required: **false**<br><p>The compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p><br>
    /// - On success, responds with [`ListLayersOutput`](crate::operation::list_layers::ListLayersOutput) with field(s):
    ///   - [`next_marker(Option<String>)`](crate::operation::list_layers::ListLayersOutput::next_marker): <p>A pagination token returned when the response doesn't contain all layers.</p>
    ///   - [`layers(Option<Vec::<LayersListItem>>)`](crate::operation::list_layers::ListLayersOutput::layers): <p>A list of function layers.</p>
    /// - On failure, responds with [`SdkError<ListLayersError>`](crate::operation::list_layers::ListLayersError)
    pub fn list_layers(&self) -> crate::operation::list_layers::builders::ListLayersFluentBuilder {
        crate::operation::list_layers::builders::ListLayersFluentBuilder::new(self.handle.clone())
    }
}