get_data_set_import_task

get_data_set_import_task(**kwargs)

Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.

See also: AWS API Documentation

Request Syntax

response = client.get_data_set_import_task(
    applicationId='string',
    taskId='string'
)
Parameters
  • applicationId (string) --

    [REQUIRED]

    The application identifier.

  • taskId (string) --

    [REQUIRED]

    The task identifier returned by the CreateDataSetImportTask operation.

Return type

dict

Returns

Response Syntax

{
    'status': 'Creating'|'Running'|'Completed',
    'summary': {
        'failed': 123,
        'inProgress': 123,
        'pending': 123,
        'succeeded': 123,
        'total': 123
    },
    'taskId': 'string'
}

Response Structure

  • (dict) --

    • status (string) --

      The status of the task.

    • summary (dict) --

      A summary of the status of the task.

      • failed (integer) --

        The number of data set imports that have failed.

      • inProgress (integer) --

        The number of data set imports that are in progress.

      • pending (integer) --

        The number of data set imports that are pending.

      • succeeded (integer) --

        The number of data set imports that have succeeded.

      • total (integer) --

        The total number of data set imports.

    • taskId (string) --

      The task identifier.

Exceptions

  • MainframeModernization.Client.exceptions.ValidationException
  • MainframeModernization.Client.exceptions.InternalServerException
  • MainframeModernization.Client.exceptions.AccessDeniedException
  • MainframeModernization.Client.exceptions.ThrottlingException
  • MainframeModernization.Client.exceptions.ResourceNotFoundException