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 see information from the most recent run of each canary that you have created.
Synopsis
- data DescribeCanariesLastRun = DescribeCanariesLastRun' {}
- newDescribeCanariesLastRun :: DescribeCanariesLastRun
- describeCanariesLastRun_nextToken :: Lens' DescribeCanariesLastRun (Maybe Text)
- describeCanariesLastRun_maxResults :: Lens' DescribeCanariesLastRun (Maybe Natural)
- data DescribeCanariesLastRunResponse = DescribeCanariesLastRunResponse' {
- nextToken :: Maybe Text
- canariesLastRun :: Maybe [CanaryLastRun]
- httpStatus :: Int
- newDescribeCanariesLastRunResponse :: Int -> DescribeCanariesLastRunResponse
- describeCanariesLastRunResponse_nextToken :: Lens' DescribeCanariesLastRunResponse (Maybe Text)
- describeCanariesLastRunResponse_canariesLastRun :: Lens' DescribeCanariesLastRunResponse (Maybe [CanaryLastRun])
- describeCanariesLastRunResponse_httpStatus :: Lens' DescribeCanariesLastRunResponse Int
Creating a Request
data DescribeCanariesLastRun Source #
See: newDescribeCanariesLastRun
smart constructor.
DescribeCanariesLastRun' | |
|
Instances
newDescribeCanariesLastRun :: DescribeCanariesLastRun Source #
Create a value of DescribeCanariesLastRun
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:nextToken:DescribeCanariesLastRun'
, describeCanariesLastRun_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanaries
operation to retrieve the
next set of results.
$sel:maxResults:DescribeCanariesLastRun'
, describeCanariesLastRun_maxResults
- Specify this parameter to limit how many runs are returned each time you
use the DescribeLastRun
operation. If you omit this parameter, the
default of 100 is used.
Request Lenses
describeCanariesLastRun_nextToken :: Lens' DescribeCanariesLastRun (Maybe Text) Source #
A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanaries
operation to retrieve the
next set of results.
describeCanariesLastRun_maxResults :: Lens' DescribeCanariesLastRun (Maybe Natural) Source #
Specify this parameter to limit how many runs are returned each time you
use the DescribeLastRun
operation. If you omit this parameter, the
default of 100 is used.
Destructuring the Response
data DescribeCanariesLastRunResponse Source #
See: newDescribeCanariesLastRunResponse
smart constructor.
DescribeCanariesLastRunResponse' | |
|
Instances
newDescribeCanariesLastRunResponse Source #
Create a value of DescribeCanariesLastRunResponse
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:nextToken:DescribeCanariesLastRun'
, describeCanariesLastRunResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanariesLastRun
operation to
retrieve the next set of results.
$sel:canariesLastRun:DescribeCanariesLastRunResponse'
, describeCanariesLastRunResponse_canariesLastRun
- An array that contains the information from the most recent run of each
canary.
$sel:httpStatus:DescribeCanariesLastRunResponse'
, describeCanariesLastRunResponse_httpStatus
- The response's http status code.
Response Lenses
describeCanariesLastRunResponse_nextToken :: Lens' DescribeCanariesLastRunResponse (Maybe Text) Source #
A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanariesLastRun
operation to
retrieve the next set of results.
describeCanariesLastRunResponse_canariesLastRun :: Lens' DescribeCanariesLastRunResponse (Maybe [CanaryLastRun]) Source #
An array that contains the information from the most recent run of each canary.
describeCanariesLastRunResponse_httpStatus :: Lens' DescribeCanariesLastRunResponse Int Source #
The response's http status code.