aws_sdk_evidently/client/
list_features.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 [`ListFeatures`](crate::operation::list_features::builders::ListFeaturesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`project(impl Into<String>)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::set_project):<br>required: **true**<br><p>The name or ARN of the project to return the feature list from.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to include in the response.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_features::builders::ListFeaturesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use when requesting the next set of results. You received this token from a previous <code>ListFeatures</code> operation.</p><br>
10    /// - On success, responds with [`ListFeaturesOutput`](crate::operation::list_features::ListFeaturesOutput) with field(s):
11    ///   - [`features(Option<Vec::<FeatureSummary>>)`](crate::operation::list_features::ListFeaturesOutput::features): <p>An array of structures that contain the configuration details of the features in the specified project.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_features::ListFeaturesOutput::next_token): <p>The token to use in a subsequent <code>ListFeatures</code> operation to return the next set of results.</p>
13    /// - On failure, responds with [`SdkError<ListFeaturesError>`](crate::operation::list_features::ListFeaturesError)
14    pub fn list_features(&self) -> crate::operation::list_features::builders::ListFeaturesFluentBuilder {
15        crate::operation::list_features::builders::ListFeaturesFluentBuilder::new(self.handle.clone())
16    }
17}