Skip to main content

aws_sdk_glue/client/
get_job_upgrade_analysis.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 [`GetJobUpgradeAnalysis`](crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`analysis_id(impl Into<String>)`](crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder::analysis_id) / [`set_analysis_id(Option<String>)`](crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder::set_analysis_id):<br>required: **true**<br><p>The unique identifier of the upgrade analysis to retrieve.</p><br>
7    ///   - [`job_name(impl Into<String>)`](crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder::set_job_name):<br>required: **true**<br><p>The name of the job associated with the analysis.</p><br>
8    /// - On success, responds with [`GetJobUpgradeAnalysisOutput`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput) with field(s):
9    ///   - [`job_name(String)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::job_name): <p>The name of the job associated with this analysis.</p>
10    ///   - [`analysis_id(String)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::analysis_id): <p>The unique identifier of the upgrade analysis.</p>
11    ///   - [`status(Status)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::status): <p>The current status of the analysis.</p>
12    ///   - [`source_version(Option<String>)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::source_version): <p>The Glue version the job was running before the upgrade, for example <code>4.0</code>.</p>
13    ///   - [`target_version(String)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::target_version): <p>The Glue version the job will be upgraded to, for example <code>6.0</code>.</p>
14    ///   - [`analysis_type(Option<AnalysisType>)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::analysis_type): <p>The type of upgrade analysis. For auto-upgrade jobs, this value is <code>AUTO_UPGRADE</code>.</p>
15    ///   - [`auto_upgrade_evaluation_summary(Option<String>)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::auto_upgrade_evaluation_summary): <p>A presigned URL for downloading the auto upgrade evaluation summary for the analysis. Available once the analysis reaches a terminal status (<code>SUCCEEDED</code> or <code>FAILED</code>). The URL expires after 1 hour. Calling <code>GetJobUpgradeAnalysis</code> again returns a new URL.</p>
16    ///   - [`error_message(Option<String>)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::error_message): <p>The reason the analysis did not complete.</p>
17    ///   - [`auto_upgrade_eligibility_summary(Option<String>)`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisOutput::auto_upgrade_eligibility_summary): <p>A presigned URL for downloading the auto upgrade eligibility summary, which lists the compatibility results for the job. Available once the analysis reaches <code>WAITING_FOR_CONSENT</code> and in all subsequent states. The URL expires after 1 hour. Calling <code>GetJobUpgradeAnalysis</code> again returns a new URL.</p>
18    /// - On failure, responds with [`SdkError<GetJobUpgradeAnalysisError>`](crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError)
19    pub fn get_job_upgrade_analysis(&self) -> crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder {
20        crate::operation::get_job_upgrade_analysis::builders::GetJobUpgradeAnalysisFluentBuilder::new(self.handle.clone())
21    }
22}