ResilienceHubV2 / Paginator / ListTests
ListTests¶
- class ResilienceHubV2.Paginator.ListTests¶
paginator = client.get_paginator('list_tests')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ResilienceHubV2.Client.list_tests().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( serviceArn='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
serviceArn (string) –
[REQUIRED]
The ARN of the service to list tests for.
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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'tests': [ { 'testId': 'string', 'testTemplateArn': 'string', 'serviceArn': 'string', 'totalTestRuns': 123, 'successfulTestRuns': 123, 'creationTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
tests (list) –
The list of test summaries.
(dict) –
Contains summary information about a test.
testId (string) –
The unique identifier of the test.
testTemplateArn (string) –
The ARN of the test template the test was created from.
serviceArn (string) –
The ARN of the service the test belongs to.
totalTestRuns (integer) –
The total number of runs of the test.
successfulTestRuns (integer) –
The number of successful runs of the test.
creationTime (datetime) –
The timestamp when the test was created.
NextToken (string) –
A token to resume pagination.