amazonka-route53-1.6.0: Amazon Route 53 SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.GetHostedZoneLimit

Contents

Description

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 .

Synopsis

Creating a Request

getHostedZoneLimit #

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 #

A complex type that contains information about the request to create a hosted zone.

See: getHostedZoneLimit smart constructor.

Instances

Eq GetHostedZoneLimit # 
Data GetHostedZoneLimit # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetHostedZoneLimit -> c GetHostedZoneLimit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetHostedZoneLimit #

toConstr :: GetHostedZoneLimit -> Constr #

dataTypeOf :: GetHostedZoneLimit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetHostedZoneLimit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetHostedZoneLimit) #

gmapT :: (forall b. Data b => b -> b) -> GetHostedZoneLimit -> GetHostedZoneLimit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetHostedZoneLimit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetHostedZoneLimit -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetHostedZoneLimit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetHostedZoneLimit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetHostedZoneLimit -> m GetHostedZoneLimit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostedZoneLimit -> m GetHostedZoneLimit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostedZoneLimit -> m GetHostedZoneLimit #

Read GetHostedZoneLimit # 
Show GetHostedZoneLimit # 
Generic GetHostedZoneLimit # 
Hashable GetHostedZoneLimit # 
NFData GetHostedZoneLimit # 

Methods

rnf :: GetHostedZoneLimit -> () #

AWSRequest GetHostedZoneLimit # 
ToHeaders GetHostedZoneLimit # 
ToPath GetHostedZoneLimit # 
ToQuery GetHostedZoneLimit # 
type Rep GetHostedZoneLimit # 
type Rep GetHostedZoneLimit = D1 * (MetaData "GetHostedZoneLimit" "Network.AWS.Route53.GetHostedZoneLimit" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "GetHostedZoneLimit'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ghzlType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * HostedZoneLimitType)) (S1 * (MetaSel (Just Symbol "_ghzlHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ResourceId))))
type Rs GetHostedZoneLimit # 

Request Lenses

ghzlType :: Lens' GetHostedZoneLimit HostedZoneLimitType #

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 #

The ID of the hosted zone that you want to get a limit for.

Destructuring the Response

getHostedZoneLimitResponse #

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 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 - 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.

data GetHostedZoneLimitResponse #

A complex type that contains the requested limit.

See: getHostedZoneLimitResponse smart constructor.

Instances

Eq GetHostedZoneLimitResponse # 
Data GetHostedZoneLimitResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetHostedZoneLimitResponse -> c GetHostedZoneLimitResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetHostedZoneLimitResponse #

toConstr :: GetHostedZoneLimitResponse -> Constr #

dataTypeOf :: GetHostedZoneLimitResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetHostedZoneLimitResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetHostedZoneLimitResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetHostedZoneLimitResponse -> GetHostedZoneLimitResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetHostedZoneLimitResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetHostedZoneLimitResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetHostedZoneLimitResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetHostedZoneLimitResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetHostedZoneLimitResponse -> m GetHostedZoneLimitResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostedZoneLimitResponse -> m GetHostedZoneLimitResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostedZoneLimitResponse -> m GetHostedZoneLimitResponse #

Read GetHostedZoneLimitResponse # 
Show GetHostedZoneLimitResponse # 
Generic GetHostedZoneLimitResponse # 
NFData GetHostedZoneLimitResponse # 
type Rep GetHostedZoneLimitResponse # 
type Rep GetHostedZoneLimitResponse = D1 * (MetaData "GetHostedZoneLimitResponse" "Network.AWS.Route53.GetHostedZoneLimit" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "GetHostedZoneLimitResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ghzlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "_ghzlrsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * HostedZoneLimit)) (S1 * (MetaSel (Just Symbol "_ghzlrsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat)))))

Response Lenses

ghzlrsLimit :: Lens' GetHostedZoneLimitResponse HostedZoneLimit #

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 #

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.