amazonka-route53-1.6.1: 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 Source #

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.

Instances
Eq GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Data GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.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 Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Show GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Generic GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Associated Types

type Rep GetHostedZoneLimit :: Type -> Type #

Hashable GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

AWSRequest GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Associated Types

type Rs GetHostedZoneLimit :: Type #

ToHeaders GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

ToPath GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

ToQuery GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

NFData GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Methods

rnf :: GetHostedZoneLimit -> () #

type Rep GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimit = D1 (MetaData "GetHostedZoneLimit" "Network.AWS.Route53.GetHostedZoneLimit" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "GetHostedZoneLimit'" PrefixI True) (S1 (MetaSel (Just "_ghzlType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HostedZoneLimitType) :*: S1 (MetaSel (Just "_ghzlHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)))
type Rs GetHostedZoneLimit Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

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 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 Source #

A complex type that contains the requested limit.

See: getHostedZoneLimitResponse smart constructor.

Instances
Eq GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Data GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

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 Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Show GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Generic GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

Associated Types

type Rep GetHostedZoneLimitResponse :: Type -> Type #

NFData GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimitResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimitResponse = D1 (MetaData "GetHostedZoneLimitResponse" "Network.AWS.Route53.GetHostedZoneLimit" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "GetHostedZoneLimitResponse'" PrefixI True) (S1 (MetaSel (Just "_ghzlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_ghzlrsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HostedZoneLimit) :*: S1 (MetaSel (Just "_ghzlrsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))

Response Lenses

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.