_ApigatewayService(warning_threshold, critical_threshold, boto_connection_kwargs, quotas_client)¶
Describes an AWS service and its limits, and provides methods to query current utilization.
Constructors of _AwsService subclasses must not make any external connections; these must be made lazily as needed in other methods. _AwsService subclasses should be usable without any external network connections.
- warning_threshold (int) – the default warning threshold, as an integer percentage, for any limits without a specifically-set threshold.
- critical_threshold (int) – the default critical threshold, as an integer percentage, for any limits without a specifically-set threshold.
- boto_connection_kwargs (dict) – Dictionary of keyword arguments to pass to boto connection methods.
- quotas_client (
None) – Instance of ServiceQuotasClient
Find usage on API Keys. Update self.limits.
Find usage on APIs / RestAPIs, and resources that are limited per-API. Update self.limits.
Find usage on Client Certificates. Update self.limits.
Find usage on Usage Plans and plans per API Key. Update self.limits.
Find usage on VPC Links. Update self.limits.
Determine the current usage for each limit of this service, and update corresponding Limit via
Return all known limits for this service, as a dict of their names to
Returns: dict of limit names to
Return type: dict
Return a list of IAM Actions required for this Service to function properly. All Actions will be shown with an Effect of “Allow” and a Resource of “*”.
Returns: list of IAM Action strings Return type: list