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 #

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 #

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

See: getAccountLimit smart constructor.

Instances

Eq GetAccountLimit # 
Data GetAccountLimit # 

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 # 
Show GetAccountLimit # 
Generic GetAccountLimit # 
Hashable GetAccountLimit # 
NFData GetAccountLimit # 

Methods

rnf :: GetAccountLimit -> () #

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

Request Lenses

galType :: Lens' GetAccountLimit AccountLimitType #

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 #

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 #

A complex type that contains the requested limit.

See: getAccountLimitResponse smart constructor.

Instances

Eq GetAccountLimitResponse # 
Data GetAccountLimitResponse # 

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 # 
Show GetAccountLimitResponse # 
Generic GetAccountLimitResponse # 
NFData GetAccountLimitResponse # 

Methods

rnf :: GetAccountLimitResponse -> () #

type Rep GetAccountLimitResponse # 
type Rep GetAccountLimitResponse = D1 * (MetaData "GetAccountLimitResponse" "Network.AWS.Route53.GetAccountLimit" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" 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

galrsResponseStatus :: Lens' GetAccountLimitResponse Int #

  • - | The response status code.

galrsLimit :: Lens' GetAccountLimitResponse AccountLimit #

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 #

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.