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

Amazonka.APIGateway.Types.ThrottleSettings

Description

 
Synopsis

Documentation

data ThrottleSettings Source #

The API request rate limits.

See: newThrottleSettings smart constructor.

Constructors

ThrottleSettings' 

Fields

  • burstLimit :: Maybe Int

    The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

  • rateLimit :: Maybe Double

    The API request steady-state rate limit.

Instances

Instances details
Eq ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Read ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Show ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Generic ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Associated Types

type Rep ThrottleSettings :: Type -> Type #

NFData ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Methods

rnf :: ThrottleSettings -> () #

Hashable ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

ToJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

FromJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings = D1 ('MetaData "ThrottleSettings" "Amazonka.APIGateway.Types.ThrottleSettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ThrottleSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "burstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "rateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newThrottleSettings :: ThrottleSettings Source #

Create a value of ThrottleSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:burstLimit:ThrottleSettings', throttleSettings_burstLimit - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

$sel:rateLimit:ThrottleSettings', throttleSettings_rateLimit - The API request steady-state rate limit.

throttleSettings_burstLimit :: Lens' ThrottleSettings (Maybe Int) Source #

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

throttleSettings_rateLimit :: Lens' ThrottleSettings (Maybe Double) Source #

The API request steady-state rate limit.