A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_apigateway/QuotaSettings.html below:

Website Navigation


QuotaSettings — AWS Cloud Development Kit 1.204.0 documentation

QuotaSettings
class aws_cdk.aws_apigateway.QuotaSettings(*, limit=None, offset=None, period=None)

Bases: object

Specifies the maximum number of requests that clients can make to API Gateway APIs.

Parameters:
  • limit (Union[int, float, None]) – The maximum number of requests that users can make within the specified time period. Default: none

  • offset (Union[int, float, None]) – For the initial time period, the number of requests to subtract from the specified limit. Default: none

  • period (Optional[Period]) – The time period for which the maximum limit of requests applies. Default: none

ExampleMetadata:

infused

Example:

# api: apigateway.RestApi


key = apigateway.RateLimitedApiKey(self, "rate-limited-api-key",
    customer_id="hello-customer",
    resources=[api],
    quota=apigateway.QuotaSettings(
        limit=10000,
        period=apigateway.Period.MONTH
    )
)

Attributes

limit

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

Default:

none

offset

For the initial time period, the number of requests to subtract from the specified limit.

Default:

none

period

The time period for which the maximum limit of requests applies.

Default:

none


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4