Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Retrieve a list of the health checks that are associated with the current AWS account.
This operation returns paginated results.
- listHealthChecks :: ListHealthChecks
- data ListHealthChecks
- lhcMarker :: Lens' ListHealthChecks (Maybe Text)
- lhcMaxItems :: Lens' ListHealthChecks (Maybe Text)
- listHealthChecksResponse :: Int -> Text -> Bool -> Text -> ListHealthChecksResponse
- data ListHealthChecksResponse
- lhcrsNextMarker :: Lens' ListHealthChecksResponse (Maybe Text)
- lhcrsResponseStatus :: Lens' ListHealthChecksResponse Int
- lhcrsHealthChecks :: Lens' ListHealthChecksResponse [HealthCheck]
- lhcrsMarker :: Lens' ListHealthChecksResponse Text
- lhcrsIsTruncated :: Lens' ListHealthChecksResponse Bool
- lhcrsMaxItems :: Lens' ListHealthChecksResponse Text
Creating a Request
listHealthChecks :: ListHealthChecks Source #
Creates a value of ListHealthChecks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhcMarker
- If the value ofIsTruncated
in the previous response wastrue
, you have more health checks. To get another group, submit anotherListHealthChecks
request. For the value ofmarker
, specify the value ofNextMarker
from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request. If the value ofIsTruncated
in the previous response wasfalse
, there are no more health checks to get.lhcMaxItems
- The maximum number of health checks that you wantListHealthChecks
to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you setMaxItems
to a value greater than 100, Amazon Route 53 returns only the first 100 health checks.
data ListHealthChecks Source #
A request to retrieve a list of the health checks that are associated with the current AWS account.
See: listHealthChecks
smart constructor.
Request Lenses
lhcMarker :: Lens' ListHealthChecks (Maybe Text) Source #
If the value of IsTruncated
in the previous response was true
, you have more health checks. To get another group, submit another ListHealthChecks
request. For the value of marker
, specify the value of NextMarker
from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request. If the value of IsTruncated
in the previous response was false
, there are no more health checks to get.
lhcMaxItems :: Lens' ListHealthChecks (Maybe Text) Source #
The maximum number of health checks that you want ListHealthChecks
to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems
to a value greater than 100, Amazon Route 53 returns only the first 100 health checks.
Destructuring the Response
listHealthChecksResponse Source #
:: Int | |
-> Text | |
-> Bool | |
-> Text | |
-> ListHealthChecksResponse |
Creates a value of ListHealthChecksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhcrsNextMarker
- IfIsTruncated
istrue
, the value ofNextMarker
identifies the first health check that Amazon Route 53 returns if you submit anotherListHealthChecks
request and specify the value ofNextMarker
in themarker
parameter.lhcrsResponseStatus
- -- | The response status code.lhcrsHealthChecks
- A complex type that contains oneHealthCheck
element for each health check that is associated with the current AWS account.lhcrsMarker
- For the second and subsequent calls toListHealthChecks
,Marker
is the value that you specified for themarker
parameter in the previous request.lhcrsIsTruncated
- A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting anotherListHealthChecks
request and specifying the value ofNextMarker
in themarker
parameter.lhcrsMaxItems
- The value that you specified for themaxitems
parameter in the call toListHealthChecks
that produced the current response.
data ListHealthChecksResponse Source #
A complex type that contains the response to a ListHealthChecks
request.
See: listHealthChecksResponse
smart constructor.
Response Lenses
lhcrsNextMarker :: Lens' ListHealthChecksResponse (Maybe Text) Source #
If IsTruncated
is true
, the value of NextMarker
identifies the first health check that Amazon Route 53 returns if you submit another ListHealthChecks
request and specify the value of NextMarker
in the marker
parameter.
lhcrsResponseStatus :: Lens' ListHealthChecksResponse Int Source #
- - | The response status code.
lhcrsHealthChecks :: Lens' ListHealthChecksResponse [HealthCheck] Source #
A complex type that contains one HealthCheck
element for each health check that is associated with the current AWS account.
lhcrsMarker :: Lens' ListHealthChecksResponse Text Source #
For the second and subsequent calls to ListHealthChecks
, Marker
is the value that you specified for the marker
parameter in the previous request.
lhcrsIsTruncated :: Lens' ListHealthChecksResponse Bool Source #
A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another ListHealthChecks
request and specifying the value of NextMarker
in the marker
parameter.
lhcrsMaxItems :: Lens' ListHealthChecksResponse Text Source #
The value that you specified for the maxitems
parameter in the call to ListHealthChecks
that produced the current response.