get_service_quota
¶
get_service_quota(
service_code: ServiceCode,
quota_code: QuotaCode,
*,
config_overrides: Optional[ServiceQuotasClientConfig] = None,
context_id: Optional[QuotaContextId] = None,
) -> GetServiceQuotaResponse
Retrieves the applied quota value for the specified account-level or resource-level quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
Parameters:
-
service_code(ServiceCode) –Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
-
quota_code(QuotaCode) –Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the
QuotaCoderesponse in the output for the quota you want. -
context_id(Optional[QuotaContextId], default:None) –Specifies the resource with an Amazon Resource Name (ARN).
Raises:
-
AccessDeniedException–You do not have sufficient permission to perform this action.
-
IllegalArgumentException–Invalid input was provided.
-
NoSuchResourceException–The specified resource does not exist.
-
ServiceException–Something went wrong.
-
TooManyRequestsException–Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.
-
UnknownServiceError–The service returned an error code this client does not model.