stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.ApiGatewayUsagePlan

Description

The AWS::ApiGateway::UsagePlan resource specifies a usage plan for deployed Amazon API Gateway (API Gateway) APIs. A usage plan enforces throttling and quota limits on individual client API keys. For more information, see Creating and Using API Usage Plans in Amazon API Gateway in the API Gateway Developer Guide.

Synopsis

Documentation

data ApiGatewayUsagePlan Source #

Full data type definition for ApiGatewayUsagePlan. See apiGatewayUsagePlan for a more convenient constructor.

Instances

Show ApiGatewayUsagePlan Source # 
Generic ApiGatewayUsagePlan Source # 
ToJSON ApiGatewayUsagePlan Source # 
FromJSON ApiGatewayUsagePlan Source # 
type Rep ApiGatewayUsagePlan Source # 
type Rep ApiGatewayUsagePlan = D1 (MetaData "ApiGatewayUsagePlan" "Stratosphere.Resources.ApiGatewayUsagePlan" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "ApiGatewayUsagePlan" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanApiStages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ApiGatewayUsagePlanApiStage]))) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanQuota") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ApiGatewayUsagePlanQuotaSettings))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanThrottle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ApiGatewayUsagePlanThrottleSettings))) (S1 (MetaSel (Just Symbol "_apiGatewayUsagePlanUsagePlanName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))))

apiGatewayUsagePlan :: ApiGatewayUsagePlan Source #

Constructor for ApiGatewayUsagePlan containing required fields as arguments.

agupApiStages :: Lens' ApiGatewayUsagePlan (Maybe [ApiGatewayUsagePlanApiStage]) Source #

The APIs and API stages to associate with this usage plan.

agupDescription :: Lens' ApiGatewayUsagePlan (Maybe (Val Text)) Source #

The purpose of this usage plan.

agupQuota :: Lens' ApiGatewayUsagePlan (Maybe ApiGatewayUsagePlanQuotaSettings) Source #

Configures the number of requests that users can make within a given interval.

agupThrottle :: Lens' ApiGatewayUsagePlan (Maybe ApiGatewayUsagePlanThrottleSettings) Source #

Configures the overall request rate (average requests per second) and burst capacity.

agupUsagePlanName :: Lens' ApiGatewayUsagePlan (Maybe (Val Text)) Source #

A name for this usage plan.