| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Synthetics.StartCanary
Description
Use this operation to run a canary that has already been created. The
frequency of the canary runs is determined by the value of the canary's
Schedule. To see a canary's schedule, use
GetCanary.
Synopsis
Creating a Request
data StartCanary Source #
See: newStartCanary smart constructor.
Constructors
| StartCanary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartCanary |
Create a value of StartCanary 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:
StartCanary, startCanary_name - The name of the canary that you want to run. To find canary names, use
DescribeCanaries.
Request Lenses
startCanary_name :: Lens' StartCanary Text Source #
The name of the canary that you want to run. To find canary names, use DescribeCanaries.
Destructuring the Response
data StartCanaryResponse Source #
See: newStartCanaryResponse smart constructor.
Constructors
| StartCanaryResponse' | |
Fields
| |
Instances
newStartCanaryResponse Source #
Arguments
| :: Int | |
| -> StartCanaryResponse |
Create a value of StartCanaryResponse 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:StartCanaryResponse', startCanaryResponse_httpStatus - The response's http status code.
Response Lenses
startCanaryResponse_httpStatus :: Lens' StartCanaryResponse Int Source #
The response's http status code.