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

PutServiceQuotaIncreaseRequestIntoTemplate

Defines and adds a quota to the service quota template. To add a quota to the template, you must provide the ServiceCode, QuotaCode, AwsRegion, and DesiredValue. Once you add a quota to the template, use ListServiceQuotaIncreaseRequestsInTemplate to see the list of quotas in the template.

Request Syntax

{ "AwsRegion": "string", "DesiredValue": number, "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.

AwsRegion

Specifies the AWS Region for the quota.

Type: String

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

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

Required: Yes

DesiredValue

Specifies the new, increased value for the quota.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 10000000000.

Required: Yes

QuotaCode

Specifies the service quota that you want to use.

Type: String

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

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

Required: Yes

ServiceCode

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

{ "ServiceQuotaIncreaseRequestInTemplate": { "AwsRegion": "string", "DesiredValue": number, "GlobalQuota": boolean, "QuotaCode": "string", "QuotaName": "string", "ServiceCode": "string", "ServiceName": "string", "Unit": "string" } }

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.

ServiceQuotaIncreaseRequestInTemplate

A structure that contains information about one service quota increase request.

Type: ServiceQuotaIncreaseRequestInTemplate object

Errors

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

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 400

AWSServiceAccessNotEnabledException

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

HTTP Status Code: 400

DependencyAccessDeniedException

You can't perform this action because a dependency does not have access.

HTTP Status Code: 400

IllegalArgumentException

Invalid input was provided.

HTTP Status Code: 400

NoAvailableOrganizationException

The account making this call is not a member of an organization.

HTTP Status Code: 400

NoSuchResourceException

The specified resource does not exist.

HTTP Status Code: 400

QuotaExceededException

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

HTTP Status Code: 400

ServiceException

Something went wrong.

HTTP Status Code: 500

TemplatesNotAvailableInRegionException

The Service Quotas template is not available in the Region where you are making the request. Please make the request in us-east-1.

HTTP Status Code: 400

TooManyRequestsException

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: