aws_sdk_datasync/client/
generate_recommendations.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GenerateRecommendations`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`discovery_job_arn(impl Into<String>)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::discovery_job_arn) / [`set_discovery_job_arn(Option<String>)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::set_discovery_job_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the discovery job that collects information about your on-premises storage system.</p><br>
    ///   - [`resource_ids(impl Into<String>)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::resource_ids) / [`set_resource_ids(Option<Vec::<String>>)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::set_resource_ids):<br>required: **true**<br><p>Specifies the universally unique identifiers (UUIDs) of the resources in your storage system that you want recommendations on.</p><br>
    ///   - [`resource_type(DiscoveryResourceType)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::resource_type) / [`set_resource_type(Option<DiscoveryResourceType>)`](crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::set_resource_type):<br>required: **true**<br><p>Specifies the type of resource in your storage system that you want recommendations on.</p><br>
    /// - On success, responds with [`GenerateRecommendationsOutput`](crate::operation::generate_recommendations::GenerateRecommendationsOutput)
    /// - On failure, responds with [`SdkError<GenerateRecommendationsError>`](crate::operation::generate_recommendations::GenerateRecommendationsError)
    pub fn generate_recommendations(&self) -> crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder {
        crate::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder::new(self.handle.clone())
    }
}