Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Stops the canary to prevent all future runs. If the canary is currently running, Synthetics stops waiting for the current run of the specified canary to complete. 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.
Synopsis
Creating a Request
data StopCanary Source #
See: newStopCanary
smart constructor.
StopCanary' | |
|
Instances
Create a value of StopCanary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:StopCanary'
, stopCanary_name
- The name of the canary that you want to stop. To find the names of your
canaries, use
DescribeCanaries.
Request Lenses
stopCanary_name :: Lens' StopCanary Text Source #
The name of the canary that you want to stop. To find the names of your canaries, use DescribeCanaries.
Destructuring the Response
data StopCanaryResponse Source #
See: newStopCanaryResponse
smart constructor.
StopCanaryResponse' | |
|
Instances
newStopCanaryResponse Source #
Create a value of StopCanaryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StopCanaryResponse'
, stopCanaryResponse_httpStatus
- The response's http status code.
Response Lenses
stopCanaryResponse_httpStatus :: Lens' StopCanaryResponse Int Source #
The response's http status code.