1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListRecipeVersions`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::set_max_results): <p>The maximum number of results to return in this request. </p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::set_next_token): <p>The token returned by a previous call to retrieve the next set of results.</p>
    ///   - [`name(impl Into<String>)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::set_name): <p>The name of the recipe for which to return version information.</p>
    /// - On success, responds with [`ListRecipeVersionsOutput`](crate::operation::list_recipe_versions::ListRecipeVersionsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_recipe_versions::ListRecipeVersionsOutput::next_token): <p>A token that you can use in a subsequent call to retrieve the next set of results.</p>
    ///   - [`recipes(Option<Vec<Recipe>>)`](crate::operation::list_recipe_versions::ListRecipeVersionsOutput::recipes): <p>A list of versions for the specified recipe.</p>
    /// - On failure, responds with [`SdkError<ListRecipeVersionsError>`](crate::operation::list_recipe_versions::ListRecipeVersionsError)
    pub fn list_recipe_versions(
        &self,
    ) -> crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder {
        crate::operation::list_recipe_versions::builders::ListRecipeVersionsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}