mgn / Paginator / ListImportErrors

ListImportErrors#

class mgn.Paginator.ListImportErrors#
paginator = client.get_paginator('list_import_errors')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from mgn.Client.list_import_errors().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    importID='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • importID (string) –

    [REQUIRED]

    List import errors request import id.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'errorData': {
                'accountID': 'string',
                'applicationID': 'string',
                'ec2LaunchTemplateID': 'string',
                'rawError': 'string',
                'rowNumber': 123,
                'sourceServerID': 'string',
                'waveID': 'string'
            },
            'errorDateTime': 'string',
            'errorType': 'VALIDATION_ERROR'|'PROCESSING_ERROR'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    List imports errors response.

    • items (list) –

      List imports errors response items.

      • (dict) –

        Import task error.

        • errorData (dict) –

          Import task error data.

          • accountID (string) –

            Import error data source account ID.

          • applicationID (string) –

            Import error data application ID.

          • ec2LaunchTemplateID (string) –

            Import error data ec2 LaunchTemplate ID.

          • rawError (string) –

            Import error data raw error.

          • rowNumber (integer) –

            Import error data row number.

          • sourceServerID (string) –

            Import error data source server ID.

          • waveID (string) –

            Import error data wave id.

        • errorDateTime (string) –

          Import task error datetime.

        • errorType (string) –

          Import task error type.

    • NextToken (string) –

      A token to resume pagination.