mgn / Client / list_import_errors

list_import_errors#

mgn.Client.list_import_errors(**kwargs)#

List import errors.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    List import errors request import id.

  • maxResults (integer) – List import errors request max results.

  • nextToken (string) – List import errors request next token.

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) –

      List imports errors response next token.

Exceptions

  • mgn.Client.exceptions.UninitializedAccountException

  • mgn.Client.exceptions.ValidationException