stop_experiment
(**kwargs)¶Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.
See also: AWS API Documentation
Request Syntax
response = client.stop_experiment(
desiredState='COMPLETED'|'CANCELLED',
experiment='string',
project='string',
reason='string'
)
COMPLETED
or CANCELLED
after it stops.[REQUIRED]
The name of the experiment to stop.
[REQUIRED]
The name or ARN of the project that contains the experiment to stop.
dict
Response Syntax
{
'endedTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
endedTime (datetime) --
The date and time that the experiment stopped.
Exceptions
CloudWatchEvidently.Client.exceptions.ThrottlingException
CloudWatchEvidently.Client.exceptions.ValidationException
CloudWatchEvidently.Client.exceptions.ConflictException
CloudWatchEvidently.Client.exceptions.ServiceQuotaExceededException
CloudWatchEvidently.Client.exceptions.ResourceNotFoundException
CloudWatchEvidently.Client.exceptions.AccessDeniedException