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

Contents

Description

Gets the specified limit for the current account, for example, the maximum number of health checks that you can create using the account.

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

getAccountLimit Source #

Creates a value of GetAccountLimit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • galType - The limit that you want to get. Valid values include the following: * MAX_HEALTH_CHECKS_BY_OWNER : The maximum number of health checks that you can create using the current account. * MAX_HOSTED_ZONES_BY_OWNER : The maximum number of hosted zones that you can create using the current account. * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER : The maximum number of reusable delegation sets that you can create using the current account. * MAX_TRAFFIC_POLICIES_BY_OWNER : The maximum number of traffic policies that you can create using the current account. * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER : The maximum number of traffic policy instances that you can create using the current account. (Traffic policy instances are referred to as traffic flow policy records in the Amazon Route 53 console.)

data GetAccountLimit Source #

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

See: getAccountLimit smart constructor.

Instances

Eq GetAccountLimit Source # 
Data GetAccountLimit Source # 

Methods

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

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

toConstr :: GetAccountLimit -> Constr #

dataTypeOf :: GetAccountLimit -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAccountLimit Source # 
Show GetAccountLimit Source # 
Generic GetAccountLimit Source # 
Hashable GetAccountLimit Source # 
NFData GetAccountLimit Source # 

Methods

rnf :: GetAccountLimit -> () #

AWSRequest GetAccountLimit Source # 
ToHeaders GetAccountLimit Source # 
ToPath GetAccountLimit Source # 
ToQuery GetAccountLimit Source # 
type Rep GetAccountLimit Source # 
type Rep GetAccountLimit = D1 * (MetaData "GetAccountLimit" "Network.AWS.Route53.GetAccountLimit" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" True) (C1 * (MetaCons "GetAccountLimit'" PrefixI True) (S1 * (MetaSel (Just Symbol "_galType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * AccountLimitType)))
type Rs GetAccountLimit Source # 

Request Lenses

galType :: Lens' GetAccountLimit AccountLimitType Source #

The limit that you want to get. Valid values include the following: * MAX_HEALTH_CHECKS_BY_OWNER : The maximum number of health checks that you can create using the current account. * MAX_HOSTED_ZONES_BY_OWNER : The maximum number of hosted zones that you can create using the current account. * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER : The maximum number of reusable delegation sets that you can create using the current account. * MAX_TRAFFIC_POLICIES_BY_OWNER : The maximum number of traffic policies that you can create using the current account. * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER : The maximum number of traffic policy instances that you can create using the current account. (Traffic policy instances are referred to as traffic flow policy records in the Amazon Route 53 console.)

Destructuring the Response

getAccountLimitResponse Source #

Creates a value of GetAccountLimitResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • galrsResponseStatus - -- | The response status code.
  • galrsLimit - The current setting for the specified limit. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Limit is the maximum number of health checks that you can create using the current account.
  • galrsCount - The current number of entities that you have created of the specified type. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Count is the current number of health checks that you have created using the current account.

data GetAccountLimitResponse Source #

A complex type that contains the requested limit.

See: getAccountLimitResponse smart constructor.

Instances

Eq GetAccountLimitResponse Source # 
Data GetAccountLimitResponse Source # 

Methods

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

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

toConstr :: GetAccountLimitResponse -> Constr #

dataTypeOf :: GetAccountLimitResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAccountLimitResponse Source # 
Show GetAccountLimitResponse Source # 
Generic GetAccountLimitResponse Source # 
NFData GetAccountLimitResponse Source # 

Methods

rnf :: GetAccountLimitResponse -> () #

type Rep GetAccountLimitResponse Source # 
type Rep GetAccountLimitResponse = D1 * (MetaData "GetAccountLimitResponse" "Network.AWS.Route53.GetAccountLimit" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "GetAccountLimitResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_galrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "_galrsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * AccountLimit)) (S1 * (MetaSel (Just Symbol "_galrsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat)))))

Response Lenses

galrsLimit :: Lens' GetAccountLimitResponse AccountLimit Source #

The current setting for the specified limit. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Limit is the maximum number of health checks that you can create using the current account.

galrsCount :: Lens' GetAccountLimitResponse Natural Source #

The current number of entities that you have created of the specified type. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Count is the current number of health checks that you have created using the current account.