| 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.Route53.GetHostedZoneCount
Description
Retrieves the number of hosted zones that are associated with the current Amazon Web Services account.
Synopsis
- data GetHostedZoneCount = GetHostedZoneCount' {
- newGetHostedZoneCount :: GetHostedZoneCount
- data GetHostedZoneCountResponse = GetHostedZoneCountResponse' {}
- newGetHostedZoneCountResponse :: Int -> Integer -> GetHostedZoneCountResponse
- getHostedZoneCountResponse_httpStatus :: Lens' GetHostedZoneCountResponse Int
- getHostedZoneCountResponse_hostedZoneCount :: Lens' GetHostedZoneCountResponse Integer
Creating a Request
data GetHostedZoneCount Source #
A request to retrieve a count of all the hosted zones that are associated with the current Amazon Web Services account.
See: newGetHostedZoneCount smart constructor.
Constructors
| GetHostedZoneCount' | |
Instances
newGetHostedZoneCount :: GetHostedZoneCount Source #
Create a value of GetHostedZoneCount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetHostedZoneCountResponse Source #
A complex type that contains the response to a GetHostedZoneCount
request.
See: newGetHostedZoneCountResponse smart constructor.
Constructors
| GetHostedZoneCountResponse' | |
Fields
| |
Instances
newGetHostedZoneCountResponse Source #
Arguments
| :: Int | |
| -> Integer | |
| -> GetHostedZoneCountResponse |
Create a value of GetHostedZoneCountResponse 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:GetHostedZoneCountResponse', getHostedZoneCountResponse_httpStatus - The response's http status code.
$sel:hostedZoneCount:GetHostedZoneCountResponse', getHostedZoneCountResponse_hostedZoneCount - The total number of public and private hosted zones that are associated
with the current Amazon Web Services account.
Response Lenses
getHostedZoneCountResponse_httpStatus :: Lens' GetHostedZoneCountResponse Int Source #
The response's http status code.
getHostedZoneCountResponse_hostedZoneCount :: Lens' GetHostedZoneCountResponse Integer Source #
The total number of public and private hosted zones that are associated with the current Amazon Web Services account.