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 |
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.
StartCanary' | |
|
Instances
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:
$sel:name: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.
StartCanaryResponse' | |
|
Instances
newStartCanaryResponse Source #
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.