Struct aws_sdk_personalize::client::fluent_builders::ListRecipes
source · pub struct ListRecipes { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRecipes
.
Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).
Implementations§
source§impl ListRecipes
impl ListRecipes
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListRecipes, AwsResponseRetryClassifier>, SdkError<ListRecipesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListRecipes, AwsResponseRetryClassifier>, SdkError<ListRecipesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<ListRecipesOutput, SdkError<ListRecipesError>>
pub async fn send(self) -> Result<ListRecipesOutput, SdkError<ListRecipesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListRecipesPaginator
pub fn into_paginator(self) -> ListRecipesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn recipe_provider(self, input: RecipeProvider) -> Self
pub fn recipe_provider(self, input: RecipeProvider) -> Self
The default is SERVICE
.
sourcepub fn set_recipe_provider(self, input: Option<RecipeProvider>) -> Self
pub fn set_recipe_provider(self, input: Option<RecipeProvider>) -> Self
The default is SERVICE
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from the previous call to ListRecipes
for getting the next set of recipes (if they exist).
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from the previous call to ListRecipes
for getting the next set of recipes (if they exist).
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of recipes to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of recipes to return.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
Trait Implementations§
source§impl Clone for ListRecipes
impl Clone for ListRecipes
source§fn clone(&self) -> ListRecipes
fn clone(&self) -> ListRecipes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more