PutServiceQuotaIncreaseRequestIntoTemplateCommand

Adds a quota increase request to your quota request template.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { ServiceQuotasClient, PutServiceQuotaIncreaseRequestIntoTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
// const { ServiceQuotasClient, PutServiceQuotaIncreaseRequestIntoTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
const client = new ServiceQuotasClient(config);
const input = { // PutServiceQuotaIncreaseRequestIntoTemplateRequest
  QuotaCode: "STRING_VALUE", // required
  ServiceCode: "STRING_VALUE", // required
  AwsRegion: "STRING_VALUE", // required
  DesiredValue: Number("double"), // required
};
const command = new PutServiceQuotaIncreaseRequestIntoTemplateCommand(input);
const response = await client.send(command);
// { // PutServiceQuotaIncreaseRequestIntoTemplateResponse
//   ServiceQuotaIncreaseRequestInTemplate: { // ServiceQuotaIncreaseRequestInTemplate
//     ServiceCode: "STRING_VALUE",
//     ServiceName: "STRING_VALUE",
//     QuotaCode: "STRING_VALUE",
//     QuotaName: "STRING_VALUE",
//     DesiredValue: Number("double"),
//     AwsRegion: "STRING_VALUE",
//     Unit: "STRING_VALUE",
//     GlobalQuota: true || false,
//   },
// };

PutServiceQuotaIncreaseRequestIntoTemplateCommand Input

Parameter
Type
Description
AwsRegion
Required
string | undefined

Specifies the Amazon Web Services Region to which the template applies.

DesiredValue
Required
number | undefined

Specifies the new, increased value for the quota.

QuotaCode
Required
string | undefined

Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want.

ServiceCode
Required
string | undefined

Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.

PutServiceQuotaIncreaseRequestIntoTemplateCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
ServiceQuotaIncreaseRequestInTemplate
ServiceQuotaIncreaseRequestInTemplate | undefined

Information about the quota increase request.

Throws

Name
Fault
Details
AccessDeniedException
client

You do not have sufficient permission to perform this action.

AWSServiceAccessNotEnabledException
client

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

DependencyAccessDeniedException
client

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

IllegalArgumentException
client

Invalid input was provided.

NoAvailableOrganizationException
client

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

NoSuchResourceException
client

The specified resource does not exist.

QuotaExceededException
client

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.

ServiceException
server

Something went wrong.

TemplatesNotAvailableInRegionException
client

The Service Quotas template is not available in this Amazon Web Services Region.

TooManyRequestsException
client

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

ServiceQuotasServiceException
Base exception class for all service exceptions from ServiceQuotas service.