Copyright | (c) 2013-2018 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 |
Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.
For the default limit, see Limits in the Amazon Route 53 Developer Guide . To request a higher limit, open a case .
- getHostedZoneLimit :: HostedZoneLimitType -> ResourceId -> GetHostedZoneLimit
- data GetHostedZoneLimit
- ghzlType :: Lens' GetHostedZoneLimit HostedZoneLimitType
- ghzlHostedZoneId :: Lens' GetHostedZoneLimit ResourceId
- getHostedZoneLimitResponse :: Int -> HostedZoneLimit -> Natural -> GetHostedZoneLimitResponse
- data GetHostedZoneLimitResponse
- ghzlrsResponseStatus :: Lens' GetHostedZoneLimitResponse Int
- ghzlrsLimit :: Lens' GetHostedZoneLimitResponse HostedZoneLimit
- ghzlrsCount :: Lens' GetHostedZoneLimitResponse Natural
Creating a Request
Creates a value of GetHostedZoneLimit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ghzlType
- The limit that you want to get. Valid values include the following: * MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone. * MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.ghzlHostedZoneId
- The ID of the hosted zone that you want to get a limit for.
data GetHostedZoneLimit Source #
A complex type that contains information about the request to create a hosted zone.
See: getHostedZoneLimit
smart constructor.
Request Lenses
ghzlType :: Lens' GetHostedZoneLimit HostedZoneLimitType Source #
The limit that you want to get. Valid values include the following: * MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone. * MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
ghzlHostedZoneId :: Lens' GetHostedZoneLimit ResourceId Source #
The ID of the hosted zone that you want to get a limit for.
Destructuring the Response
getHostedZoneLimitResponse Source #
Creates a value of GetHostedZoneLimitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ghzlrsResponseStatus
- -- | The response status code.ghzlrsLimit
- The current setting for the specified limit. For example, if you specifiedMAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofLimit
is the maximum number of records that you can create in the specified hosted zone.ghzlrsCount
- The current number of entities that you have created of the specified type. For example, if you specifiedMAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofCount
is the current number of records that you have created in the specified hosted zone.
data GetHostedZoneLimitResponse Source #
A complex type that contains the requested limit.
See: getHostedZoneLimitResponse
smart constructor.
Response Lenses
ghzlrsResponseStatus :: Lens' GetHostedZoneLimitResponse Int Source #
- - | The response status code.
ghzlrsLimit :: Lens' GetHostedZoneLimitResponse HostedZoneLimit Source #
The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE
for the value of Type
in the request, the value of Limit
is the maximum number of records that you can create in the specified hosted zone.
ghzlrsCount :: Lens' GetHostedZoneLimitResponse Natural Source #
The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE
for the value of Type
in the request, the value of Count
is the current number of records that you have created in the specified hosted zone.