MainframeModernizationApplicationTesting / Paginator / ListTestRuns

ListTestRuns#

class MainframeModernizationApplicationTesting.Paginator.ListTestRuns#
paginator = client.get_paginator('list_test_runs')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MainframeModernizationApplicationTesting.Client.list_test_runs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    testSuiteId='string',
    testRunIds=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • testSuiteId (string) – The test suite ID of the test runs.

  • testRunIds (list) –

    The test run IDs of the test runs.

    • (string) –

  • 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

{
    'testRuns': [
        {
            'testRunId': 'string',
            'testRunArn': 'string',
            'testSuiteId': 'string',
            'testSuiteVersion': 123,
            'testConfigurationId': 'string',
            'testConfigurationVersion': 123,
            'status': 'Success'|'Running'|'Failed'|'Deleting',
            'statusReason': 'string',
            'runStartTime': datetime(2015, 1, 1),
            'runEndTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • testRuns (list) –

      The test runs of the response query.

      • (dict) –

        Specifies a test run summary.

        • testRunId (string) –

          The test run ID of the test run summary.

        • testRunArn (string) –

          The test run ARN of the test run summary.

        • testSuiteId (string) –

          The test suite ID of the test run summary.

        • testSuiteVersion (integer) –

          The test suite version of the test run summary.

        • testConfigurationId (string) –

          The test configuration ID of the test run summary.

        • testConfigurationVersion (integer) –

          The test configuration version of the test run summary.

        • status (string) –

          The status of the test run summary.

        • statusReason (string) –

          The status reason of the test run summary.

        • runStartTime (datetime) –

          The run start time of the test run summary.

        • runEndTime (datetime) –

          The run end time of the test run summary.

    • NextToken (string) –

      A token to resume pagination.