#[non_exhaustive]pub struct GetJobUpgradeAnalysisOutput {
pub job_name: String,
pub analysis_id: String,
pub status: Status,
pub source_version: Option<String>,
pub target_version: String,
pub analysis_type: Option<AnalysisType>,
pub auto_upgrade_evaluation_summary: Option<String>,
pub error_message: Option<String>,
pub auto_upgrade_eligibility_summary: Option<String>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.job_name: StringThe name of the job associated with this analysis.
analysis_id: StringThe unique identifier of the upgrade analysis.
status: StatusThe current status of the analysis.
source_version: Option<String>The Glue version the job was running before the upgrade, for example 4.0.
target_version: StringThe Glue version the job will be upgraded to, for example 6.0.
analysis_type: Option<AnalysisType>The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
auto_upgrade_evaluation_summary: Option<String>A presigned URL for downloading the auto upgrade evaluation summary for the analysis. Available once the analysis reaches a terminal status (SUCCEEDED or FAILED). The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
error_message: Option<String>The reason the analysis did not complete.
auto_upgrade_eligibility_summary: Option<String>A presigned URL for downloading the auto upgrade eligibility summary, which lists the compatibility results for the job. Available once the analysis reaches WAITING_FOR_CONSENT and in all subsequent states. The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
Implementations§
Source§impl GetJobUpgradeAnalysisOutput
impl GetJobUpgradeAnalysisOutput
Sourcepub fn analysis_id(&self) -> &str
pub fn analysis_id(&self) -> &str
The unique identifier of the upgrade analysis.
Sourcepub fn source_version(&self) -> Option<&str>
pub fn source_version(&self) -> Option<&str>
The Glue version the job was running before the upgrade, for example 4.0.
Sourcepub fn target_version(&self) -> &str
pub fn target_version(&self) -> &str
The Glue version the job will be upgraded to, for example 6.0.
Sourcepub fn analysis_type(&self) -> Option<&AnalysisType>
pub fn analysis_type(&self) -> Option<&AnalysisType>
The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
Sourcepub fn auto_upgrade_evaluation_summary(&self) -> Option<&str>
pub fn auto_upgrade_evaluation_summary(&self) -> Option<&str>
A presigned URL for downloading the auto upgrade evaluation summary for the analysis. Available once the analysis reaches a terminal status (SUCCEEDED or FAILED). The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The reason the analysis did not complete.
Sourcepub fn auto_upgrade_eligibility_summary(&self) -> Option<&str>
pub fn auto_upgrade_eligibility_summary(&self) -> Option<&str>
A presigned URL for downloading the auto upgrade eligibility summary, which lists the compatibility results for the job. Available once the analysis reaches WAITING_FOR_CONSENT and in all subsequent states. The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
Source§impl GetJobUpgradeAnalysisOutput
impl GetJobUpgradeAnalysisOutput
Sourcepub fn builder() -> GetJobUpgradeAnalysisOutputBuilder
pub fn builder() -> GetJobUpgradeAnalysisOutputBuilder
Creates a new builder-style object to manufacture GetJobUpgradeAnalysisOutput.
Source§impl GetJobUpgradeAnalysisOutput
impl GetJobUpgradeAnalysisOutput
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for GetJobUpgradeAnalysisOutput
impl Clone for GetJobUpgradeAnalysisOutput
Source§fn clone(&self) -> GetJobUpgradeAnalysisOutput
fn clone(&self) -> GetJobUpgradeAnalysisOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetJobUpgradeAnalysisOutput
impl Debug for GetJobUpgradeAnalysisOutput
Source§impl RequestId for GetJobUpgradeAnalysisOutput
impl RequestId for GetJobUpgradeAnalysisOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.Source§impl SerializableStruct for GetJobUpgradeAnalysisOutput
impl SerializableStruct for GetJobUpgradeAnalysisOutput
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for GetJobUpgradeAnalysisOutput
Auto Trait Implementations§
impl Freeze for GetJobUpgradeAnalysisOutput
impl RefUnwindSafe for GetJobUpgradeAnalysisOutput
impl Send for GetJobUpgradeAnalysisOutput
impl Sync for GetJobUpgradeAnalysisOutput
impl Unpin for GetJobUpgradeAnalysisOutput
impl UnsafeUnpin for GetJobUpgradeAnalysisOutput
impl UnwindSafe for GetJobUpgradeAnalysisOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more