ResilienceHubV2 / Client / stop_test_run
stop_test_run¶
- ResilienceHubV2.Client.stop_test_run(**kwargs)¶
Stops an in-progress test run.
See also: AWS API Documentation
Request Syntax
response = client.stop_test_run( testRunId='string', serviceArn='string' )
- Parameters:
testRunId (string) –
[REQUIRED]
The identifier of the test run to stop.
serviceArn (string) –
[REQUIRED]
The ARN of the service the test run belongs to.
- Return type:
dict
- Returns:
Response Syntax
{ 'testRunId': 'string', 'status': 'INITIALIZING'|'RUNNING'|'STOPPING'|'PASSED'|'FAILED'|'STOPPED'|'ERROR' }
Response Structure
(dict) –
testRunId (string) –
The identifier of the stopped test run.
status (string) –
The status of the test run.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.ConflictExceptionResilienceHubV2.Client.exceptions.AccessDeniedException