Glue / Client / get_job_upgrade_analysis

get_job_upgrade_analysis

Glue.Client.get_job_upgrade_analysis(**kwargs)

Retrieves the current status and results of an upgrade analysis.

See also: AWS API Documentation

Request Syntax

response = client.get_job_upgrade_analysis(
    analysisId='string',
    jobName='string'
)
Parameters:
  • analysisId (string) –

    [REQUIRED]

    The unique identifier of the upgrade analysis to retrieve.

  • jobName (string) –

    [REQUIRED]

    The name of the job associated with the analysis.

Return type:

dict

Returns:

Response Syntax

{
    'jobName': 'string',
    'analysisId': 'string',
    'status': 'OBSERVING'|'WAITING_FOR_CONSENT'|'UPGRADING'|'SUCCEEDED'|'FAILED'|'TIMEOUT'|'STOPPED',
    'sourceVersion': 'string',
    'targetVersion': 'string',
    'analysisType': 'AUTO_UPGRADE',
    'autoUpgradeEvaluationSummary': 'string',
    'errorMessage': 'string',
    'autoUpgradeEligibilitySummary': 'string'
}

Response Structure

  • (dict) –

    • jobName (string) –

      The name of the job associated with this analysis.

    • analysisId (string) –

      The unique identifier of the upgrade analysis.

    • status (string) –

      The current status of the analysis.

    • sourceVersion (string) –

      The Glue version the job was running before the upgrade, for example 4.0.

    • targetVersion (string) –

      The Glue version the job will be upgraded to, for example 6.0.

    • analysisType (string) –

      The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.

    • autoUpgradeEvaluationSummary (string) –

      The Amazon S3 URI of the terminal-state evaluation summary, available once the analysis reaches a terminal status ( SUCCEEDED or FAILED).

    • errorMessage (string) –

      The reason the analysis did not complete.

    • autoUpgradeEligibilitySummary (string) –

      The Amazon S3 URI of the consent report summarizing upgrade assessment findings. Populated when the analysis reaches WAITING_FOR_CONSENT and remains available in all subsequent states.

Exceptions