MainframeModernization / Client / list_data_set_import_history

list_data_set_import_history#

MainframeModernization.Client.list_data_set_import_history(**kwargs)#

Lists the data set imports for the specified application.

See also: AWS API Documentation

Request Syntax

response = client.list_data_set_import_history(
    applicationId='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The unique identifier of the application.

  • maxResults (integer) – The maximum number of objects to return.

  • nextToken (string) – A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

Return type:

dict

Returns:

Response Syntax

{
    'dataSetImportTasks': [
        {
            'status': 'Creating'|'Running'|'Completed'|'Failed',
            'statusReason': 'string',
            'summary': {
                'failed': 123,
                'inProgress': 123,
                'pending': 123,
                'succeeded': 123,
                'total': 123
            },
            'taskId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • dataSetImportTasks (list) –

      The data set import tasks.

      • (dict) –

        Contains information about a data set import task.

        • status (string) –

          The status of the data set import task.

        • statusReason (string) –

          If dataset import failed, the failure reason will show here.

        • summary (dict) –

          A summary of the data set import 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 identifier of the data set import task.

    • nextToken (string) –

      If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

Exceptions