MainframeModernizationApplicationTesting / Client / list_test_cases

list_test_cases#

MainframeModernizationApplicationTesting.Client.list_test_cases(**kwargs)#

Lists test cases.

See also: AWS API Documentation

Request Syntax

response = client.list_test_cases(
    testCaseIds=[
        'string',
    ],
    nextToken='string',
    maxResults=123
)
Parameters:
  • testCaseIds (list) –

    The IDs of the test cases.

    • (string) –

  • nextToken (string) – The next token of the test cases.

  • maxResults (integer) – The maximum results of the test case.

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

      The next token in test cases.

Exceptions

  • MainframeModernizationApplicationTesting.Client.exceptions.ThrottlingException

  • MainframeModernizationApplicationTesting.Client.exceptions.ResourceNotFoundException

  • MainframeModernizationApplicationTesting.Client.exceptions.AccessDeniedException

  • MainframeModernizationApplicationTesting.Client.exceptions.ValidationException

  • MainframeModernizationApplicationTesting.Client.exceptions.InternalServerException