Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

DescribeJobLogItems

class drs.Paginator.DescribeJobLogItems
paginator = client.get_paginator('describe_job_log_items')
paginate(**kwargs)

Creates an iterator that will paginate through responses from drs.Client.describe_job_log_items().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the Job for which Job log items will be retrieved.

  • 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': [
        {
            'event': 'JOB_START'|'SERVER_SKIPPED'|'CLEANUP_START'|'CLEANUP_END'|'CLEANUP_FAIL'|'SNAPSHOT_START'|'SNAPSHOT_END'|'SNAPSHOT_FAIL'|'USING_PREVIOUS_SNAPSHOT'|'USING_PREVIOUS_SNAPSHOT_FAILED'|'CONVERSION_START'|'CONVERSION_END'|'CONVERSION_FAIL'|'LAUNCH_START'|'LAUNCH_FAILED'|'JOB_CANCEL'|'JOB_END',
            'eventData': {
                'conversionProperties': {
                    'dataTimestamp': 'string',
                    'forceUefi': True|False,
                    'rootVolumeName': 'string',
                    'volumeToConversionMap': {
                        'string': {
                            'string': 'string'
                        }
                    },
                    'volumeToVolumeSize': {
                        'string': 123
                    }
                },
                'conversionServerID': 'string',
                'rawError': 'string',
                'sourceServerID': 'string',
                'targetInstanceID': 'string'
            },
            'logDateTime': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      An array of Job log items.

      • (dict) --

        A log outputted by a Job.

        • event (string) --

          The event represents the type of a log.

        • eventData (dict) --

          Metadata associated with a Job log.

          • conversionProperties (dict) --

            Properties of a conversion job

            • dataTimestamp (string) --

              The timestamp of when the snapshot being converted was taken

            • forceUefi (boolean) --

              Whether the volume being converted uses UEFI or not

            • rootVolumeName (string) --

              The root volume name of a conversion job

            • volumeToConversionMap (dict) --

              A mapping between the volumes being converted and the converted snapshot ids

              • (string) --
                • (dict) --
                  • (string) --
                    • (string) --
            • volumeToVolumeSize (dict) --

              A mapping between the volumes and their sizes

              • (string) --
                • (integer) --
          • conversionServerID (string) --

            The ID of a conversion server.

          • rawError (string) --

            A string representing a job error.

          • sourceServerID (string) --

            The ID of a Source Server.

          • targetInstanceID (string) --

            The ID of a Recovery Instance.

        • logDateTime (string) --

          The date and time the log was taken.

    • NextToken (string) --

      A token to resume pagination.