GetServiceQuotaIncreaseRequestFromTemplateCommand

Retrieves information about the specified quota increase request in your quota request template.

Example Syntax

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

import { ServiceQuotasClient, GetServiceQuotaIncreaseRequestFromTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
// const { ServiceQuotasClient, GetServiceQuotaIncreaseRequestFromTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
const client = new ServiceQuotasClient(config);
const input = { // GetServiceQuotaIncreaseRequestFromTemplateRequest
  ServiceCode: "STRING_VALUE", // required
  QuotaCode: "STRING_VALUE", // required
  AwsRegion: "STRING_VALUE", // required
};
const command = new GetServiceQuotaIncreaseRequestFromTemplateCommand(input);
const response = await client.send(command);
// { // GetServiceQuotaIncreaseRequestFromTemplateResponse
//   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,
//   },
// };

GetServiceQuotaIncreaseRequestFromTemplateCommand Input

Parameter
Type
Description
AwsRegion
Required
string | undefined

Specifies the Amazon Web Services Region for which you made the request.

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.

GetServiceQuotaIncreaseRequestFromTemplateCommand 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.

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.