stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.ApiGatewayUsagePlanQuotaSettings

Description

QuotaSettings is a property of the AWS::ApiGateway::UsagePlan resource that specifies the maximum number of requests users can make to your Amazon API Gateway (API Gateway) APIs.

Synopsis

Documentation

data ApiGatewayUsagePlanQuotaSettings Source #

Full data type definition for ApiGatewayUsagePlanQuotaSettings. See apiGatewayUsagePlanQuotaSettings for a more convenient constructor.

Instances

Show ApiGatewayUsagePlanQuotaSettings Source # 
Generic ApiGatewayUsagePlanQuotaSettings Source # 
ToJSON ApiGatewayUsagePlanQuotaSettings Source # 
FromJSON ApiGatewayUsagePlanQuotaSettings Source # 
type Rep ApiGatewayUsagePlanQuotaSettings Source # 
type Rep ApiGatewayUsagePlanQuotaSettings = D1 (MetaData "ApiGatewayUsagePlanQuotaSettings" "Stratosphere.ResourceProperties.ApiGatewayUsagePlanQuotaSettings" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "ApiGatewayUsagePlanQuotaSettings" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanQuotaSettingsLimit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanQuotaSettingsOffset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanQuotaSettingsPeriod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Period))))))

agupqsLimit :: Lens' ApiGatewayUsagePlanQuotaSettings (Maybe (Val Integer')) Source #

The maximum number of requests that users can make within the specified time period.

agupqsOffset :: Lens' ApiGatewayUsagePlanQuotaSettings (Maybe (Val Integer')) Source #

For the initial time period, the number of requests to subtract from the specified limit. When you first implement a usage plan, the plan might start in the middle of the week or month. With this property, you can decrease the limit for this initial time period.

agupqsPeriod :: Lens' ApiGatewayUsagePlanQuotaSettings (Maybe Period) Source #

The time period for which the maximum limit of requests applies, such as DAY or WEEK. For valid values, see the period property for the UsagePlan resource in the Amazon API Gateway REST API Reference.