MainframeModernizationApplicationTesting / Paginator / ListTestCases

ListTestCases#

class MainframeModernizationApplicationTesting.Paginator.ListTestCases#
paginator = client.get_paginator('list_test_cases')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

    The IDs of the test cases.

    • (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

{
    'testCases': [
        {
            'testCaseId': 'string',
            'testCaseArn': 'string',
            'name': 'string',
            'statusReason': 'string',
            'latestVersion': 123,
            'status': 'Active'|'Deleting',
            'creationTime': datetime(2015, 1, 1),
            'lastUpdateTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • testCases (list) –

      The test cases in an application.

      • (dict) –

        Specifies a test case summary.

        • testCaseId (string) –

          The test case ID of the test case summary.

        • testCaseArn (string) –

          The test case Amazon Resource Name (ARN) of the test case summary.

        • name (string) –

          The name of the test case summary.

        • statusReason (string) –

          The status reason of the test case summary.

        • latestVersion (integer) –

          The latest version of the test case summary.

        • status (string) –

          The status of the test case summary.

        • creationTime (datetime) –

          The creation time of the test case summary.

        • lastUpdateTime (datetime) –

          The last update time of the test case summary.

    • NextToken (string) –

      A token to resume pagination.