ResilienceHubV2 / Client / start_test_run
start_test_run¶
- ResilienceHubV2.Client.start_test_run(**kwargs)¶
Starts a run of a test. Each run scopes to the current resources in the service and produces a pass or fail outcome.
See also: AWS API Documentation
Request Syntax
response = client.start_test_run( testId='string', serviceArn='string' )
- Parameters:
testId (string) –
[REQUIRED]
The identifier of the test to run.
serviceArn (string) –
[REQUIRED]
The ARN of the service the test belongs to.
- Return type:
dict
- Returns:
Response Syntax
{ 'testRunId': 'string', 'status': 'INITIALIZING'|'RUNNING'|'STOPPING'|'PASSED'|'FAILED'|'STOPPED'|'ERROR', 'experimentArns': [ 'string', ] }
Response Structure
(dict) –
testRunId (string) –
The identifier of the started test run.
status (string) –
The status of the started test run.
experimentArns (list) –
The ARNs of the AWS Fault Injection Service (AWS FIS) experiments started for the run.
(string) –
ARN identifier.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.ConflictExceptionResilienceHubV2.Client.exceptions.AccessDeniedException