Synthetics / Client / stop_canary
Stops the canary to prevent all future runs. If the canary is currently running,the run that is in progress completes on its own, publishes metrics, and uploads artifacts, but it is not recorded in Synthetics as a completed run.
You can use
StartCanaryto start it running again with the canary’s current schedule at any point in the future.
See also: AWS API Documentation
response = client.stop_canary( Name='string' )
Name (string) –
The name of the canary that you want to stop. To find the names of your canaries, use ListCanaries.
- Return type: