aws_sdk_route53recoveryreadiness/client/
get_architecture_recommendations.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 [`GetArchitectureRecommendations`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`max_results(i32)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of objects that you want to return with this call.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that identifies which batch of results you want to see.</p><br>
8    ///   - [`recovery_group_name(impl Into<String>)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::recovery_group_name) / [`set_recovery_group_name(Option<String>)`](crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::set_recovery_group_name):<br>required: **true**<br><p>The name of a recovery group.</p><br>
9    /// - On success, responds with [`GetArchitectureRecommendationsOutput`](crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsOutput) with field(s):
10    ///   - [`last_audit_timestamp(Option<DateTime>)`](crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsOutput::last_audit_timestamp): <p>The time that a recovery group was last assessed for recommendations, in UTC ISO-8601 format.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsOutput::next_token): <p>The token that identifies which batch of results you want to see.</p>
12    ///   - [`recommendations(Option<Vec::<Recommendation>>)`](crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsOutput::recommendations): <p>A list of the recommendations for the customer's application.</p>
13    /// - On failure, responds with [`SdkError<GetArchitectureRecommendationsError>`](crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsError)
14    pub fn get_architecture_recommendations(
15        &self,
16    ) -> crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder {
17        crate::operation::get_architecture_recommendations::builders::GetArchitectureRecommendationsFluentBuilder::new(self.handle.clone())
18    }
19}