aws_sdk_databrew/client/
list_recipes.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListRecipes`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in this request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned by a previous call to retrieve the next set of results.</p><br>
    ///   - [`recipe_version(impl Into<String>)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::recipe_version) / [`set_recipe_version(Option<String>)`](crate::operation::list_recipes::builders::ListRecipesFluentBuilder::set_recipe_version):<br>required: **false**<br><p>Return only those recipes with a version identifier of <code>LATEST_WORKING</code> or <code>LATEST_PUBLISHED</code>. If <code>RecipeVersion</code> is omitted, <code>ListRecipes</code> returns all of the <code>LATEST_PUBLISHED</code> recipe versions.</p> <p>Valid values: <code>LATEST_WORKING</code> | <code>LATEST_PUBLISHED</code></p><br>
    /// - On success, responds with [`ListRecipesOutput`](crate::operation::list_recipes::ListRecipesOutput) with field(s):
    ///   - [`recipes(Vec::<Recipe>)`](crate::operation::list_recipes::ListRecipesOutput::recipes): <p>A list of recipes that are defined.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_recipes::ListRecipesOutput::next_token): <p>A token that you can use in a subsequent call to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListRecipesError>`](crate::operation::list_recipes::ListRecipesError)
    pub fn list_recipes(&self) -> crate::operation::list_recipes::builders::ListRecipesFluentBuilder {
        crate::operation::list_recipes::builders::ListRecipesFluentBuilder::new(self.handle.clone())
    }
}