Service Quotas
API Reference (API Version 2019-06-24)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


Retrieves the default service quotas values. The Value returned for each quota is the AWS default value, even if the quotas have been increased.

Request Syntax

{ "QuotaCode": "string", "ServiceCode": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


Identifies the service quota you want to select.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,128}

Required: Yes


Specifies the service that you want to use.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]{1,63}

Required: Yes

Response Syntax

{ "Quota": { "Adjustable": boolean, "ErrorReason": { "ErrorCode": "string", "ErrorMessage": "string" }, "GlobalQuota": boolean, "Period": { "PeriodUnit": "string", "PeriodValue": number }, "QuotaArn": "string", "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string", "UsageMetric": { "MetricDimensions": { "string" : "string" }, "MetricName": "string", "MetricNamespace": "string", "MetricStatisticRecommendation": "string" }, "Value": number } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Returns the ServiceQuota object that contains all values for a quota.

Type: ServiceQuota object


For information about the errors that are common to all actions, see Common Errors.


You do not have sufficient access to perform this action.

HTTP Status Code: 400


Invalid input was provided.

HTTP Status Code: 400


The specified resource does not exist.

HTTP Status Code: 400


Something went wrong.

HTTP Status Code: 500


Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: