S3Tables / Client / get_table_maintenance_job_status

get_table_maintenance_job_status#

S3Tables.Client.get_table_maintenance_job_status(**kwargs)#

Gets the status of a maintenance job for a table.

See also: AWS API Documentation

Request Syntax

response = client.get_table_maintenance_job_status(
    tableBucketARN='string',
    namespace='string',
    name='string'
)
Parameters:
  • tableBucketARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the table bucket.

  • namespace (string) –

    [REQUIRED]

    The name of the namespace the table is associated with. </p>

  • name (string) –

    [REQUIRED]

    The name of the maintenance job.

Return type:

dict

Returns:

Response Syntax

{
    'tableARN': 'string',
    'status': {
        'string': {
            'status': 'Not_Yet_Run'|'Successful'|'Failed'|'Disabled',
            'lastRunTimestamp': datetime(2015, 1, 1),
            'failureMessage': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • tableARN (string) –

      The Amazon Resource Name (ARN) of the table.

    • status (dict) –

      The status of the maintenance job.

      • (string) –

        • (dict) –

          Details about the status of a maintenance job.

          • status (string) –

            The status of the job.

          • lastRunTimestamp (datetime) –

            The date and time that the maintenance job was last run.

          • failureMessage (string) –

            The failure message of a failed job.

Exceptions