Connect / Client / list_test_cases

list_test_cases

Connect.Client.list_test_cases(**kwargs)

Lists the test cases present in the specific Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.list_test_cases(
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page.

Return type:

dict

Returns:

Response Syntax

{
    'TestCaseSummaryList': [
        {
            'Id': 'string',
            'Arn': 'string',
            'Name': 'string',
            'Status': 'PUBLISHED'|'SAVED',
            'LastModifiedTime': datetime(2015, 1, 1),
            'LastModifiedRegion': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • TestCaseSummaryList (list) –

      Information about the tests.

      • (dict) –

        Contains summary information about a test case.

        • Id (string) –

          The identifier of the test case.

        • Arn (string) –

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

        • Name (string) –

          The name of the test case.

        • Status (string) –

          The status of the test case.

        • LastModifiedTime (datetime) –

          The time at which the test case was last modified.

        • LastModifiedRegion (string) –

          The region in which the test case was last modified.

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

Exceptions