Skip to content

/AWS1/CL_SYN=>STOPCANARY()

About StopCanary

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 StartCanary to start it running again with the canary’s current schedule at any point in the future.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/SYNCANARYNAME /AWS1/SYNCANARYNAME

The name of the canary that you want to stop. To find the names of your canaries, use ListCanaries.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SYNSTOPCANARYRESPONSE /AWS1/CL_SYNSTOPCANARYRESPONSE