stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.ApiGatewayStageMethodSetting

Description

MethodSetting is a property of the AWS::ApiGateway::Stage resource that configures settings for all methods in an Amazon API Gateway (API Gateway) stage.

Synopsis

Documentation

data ApiGatewayStageMethodSetting Source #

Full data type definition for ApiGatewayStageMethodSetting. See apiGatewayStageMethodSetting for a more convenient constructor.

Instances

Show ApiGatewayStageMethodSetting Source # 
Generic ApiGatewayStageMethodSetting Source # 
ToJSON ApiGatewayStageMethodSetting Source # 
FromJSON ApiGatewayStageMethodSetting Source # 
type Rep ApiGatewayStageMethodSetting Source # 
type Rep ApiGatewayStageMethodSetting = D1 (MetaData "ApiGatewayStageMethodSetting" "Stratosphere.ResourceProperties.ApiGatewayStageMethodSetting" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "ApiGatewayStageMethodSetting" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingCacheDataEncrypted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingCacheTtlInSeconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingCachingEnabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingDataTraceEnabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingHttpMethod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingLoggingLevel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingMetricsEnabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool'))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingResourcePath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingThrottlingBurstLimit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_apiGatewayStageMethodSettingThrottlingRateLimit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double'))))))))

agsmsCacheDataEncrypted :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Bool')) Source #

Indicates whether the cached responses are encrypted.

agsmsCacheTtlInSeconds :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Integer')) Source #

The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.

agsmsCachingEnabled :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Bool')) Source #

Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses.

agsmsDataTraceEnabled :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Bool')) Source #

Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.

agsmsLoggingLevel :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Text)) Source #

The logging level for this method. For valid values, see the loggingLevel property of the Stage resource in the Amazon API Gateway API Reference.

agsmsMetricsEnabled :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Bool')) Source #

Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.

agsmsResourcePath :: Lens' ApiGatewayStageMethodSetting (Val Text) Source #

The resource path for this method. Forward slashes (/) are encoded as ~1 and the initial slash must include a forward slash. For example, the path value resourcesubresource must be encoded as /~1resource~1subresource. To specify the root path, use only a slash (/).

agsmsThrottlingBurstLimit :: Lens' ApiGatewayStageMethodSetting (Maybe (Val Integer')) Source #

The number of burst requests per second that API Gateway permits across all APIs, stages, and methods in your AWS account. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.

agsmsThrottlingRateLimit :: Lens' ApiGatewayStageMethodSetting (Maybe Double') Source #

The number of steady-state requests per second that API Gateway permits across all APIs, stages, and methods in your AWS account. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.