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 [`GetRecommendationSummaries`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_ids(impl Into<String>)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::set_account_ids):<br>required: **false**<br><p>The ID of the Amazon Web Services account for which to return recommendation summaries.</p> <p>If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries.</p> <p>Only one account ID can be specified per request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to advance to the next page of recommendation summaries.</p><br>
    ///   - [`max_results(i32)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of recommendation summaries to return with a single request.</p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p><br>
    /// - On success, responds with [`GetRecommendationSummariesOutput`](crate::operation::get_recommendation_summaries::GetRecommendationSummariesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::get_recommendation_summaries::GetRecommendationSummariesOutput::next_token): <p>The token to use to advance to the next page of recommendation summaries.</p> <p>This value is null when there are no more pages of recommendation summaries to return.</p>
    ///   - [`recommendation_summaries(Option<Vec::<RecommendationSummary>>)`](crate::operation::get_recommendation_summaries::GetRecommendationSummariesOutput::recommendation_summaries): <p>An array of objects that summarize a recommendation.</p>
    /// - On failure, responds with [`SdkError<GetRecommendationSummariesError>`](crate::operation::get_recommendation_summaries::GetRecommendationSummariesError)
    pub fn get_recommendation_summaries(&self) -> crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder {
        crate::operation::get_recommendation_summaries::builders::GetRecommendationSummariesFluentBuilder::new(self.handle.clone())
    }
}