aws_sdk_computeoptimizer/client/
describe_recommendation_export_jobs.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 [`DescribeRecommendationExportJobs`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`job_ids(impl Into<String>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::job_ids) / [`set_job_ids(Option<Vec::<String>>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::set_job_ids):<br>required: **false**<br><p>The identification numbers of the export jobs to return.</p> <p>An export job ID is returned when you create an export using the <code>ExportAutoScalingGroupRecommendations</code> or <code>ExportEC2InstanceRecommendations</code> actions.</p> <p>All export jobs created in the last seven days are returned if this parameter is omitted.</p><br>
8    ///   - [`filters(JobFilter)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::filters) / [`set_filters(Option<Vec::<JobFilter>>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::set_filters):<br>required: **false**<br><p>An array of objects to specify a filter that returns a more specific list of export jobs.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to advance to the next page of export jobs.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of export jobs 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>
11    /// - On success, responds with [`DescribeRecommendationExportJobsOutput`](crate::operation::describe_recommendation_export_jobs::DescribeRecommendationExportJobsOutput) with field(s):
12    ///   - [`recommendation_export_jobs(Option<Vec::<RecommendationExportJob>>)`](crate::operation::describe_recommendation_export_jobs::DescribeRecommendationExportJobsOutput::recommendation_export_jobs): <p>An array of objects that describe recommendation export jobs.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::describe_recommendation_export_jobs::DescribeRecommendationExportJobsOutput::next_token): <p>The token to use to advance to the next page of export jobs.</p> <p>This value is null when there are no more pages of export jobs to return.</p>
14    /// - On failure, responds with [`SdkError<DescribeRecommendationExportJobsError>`](crate::operation::describe_recommendation_export_jobs::DescribeRecommendationExportJobsError)
15    pub fn describe_recommendation_export_jobs(
16        &self,
17    ) -> crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder {
18        crate::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsFluentBuilder::new(self.handle.clone())
19    }
20}