ListServiceQuotaIncreaseRequestsInTemplateCommand

Lists the quota increase requests in the specified quota request template.

Example Syntax

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

import { ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
// const { ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
const client = new ServiceQuotasClient(config);
const input = { // ListServiceQuotaIncreaseRequestsInTemplateRequest
  ServiceCode: "STRING_VALUE",
  AwsRegion: "STRING_VALUE",
  NextToken: "STRING_VALUE",
  MaxResults: Number("int"),
};
const command = new ListServiceQuotaIncreaseRequestsInTemplateCommand(input);
const response = await client.send(command);
// { // ListServiceQuotaIncreaseRequestsInTemplateResponse
//   ServiceQuotaIncreaseRequestInTemplateList: [ // ServiceQuotaIncreaseRequestInTemplateList
//     { // 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,
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

ListServiceQuotaIncreaseRequestsInTemplateCommand Input

Parameter
Type
Description
AwsRegion
string | undefined

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

MaxResults
number | undefined

Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

NextToken
string | undefined

Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

ServiceCode
string | undefined

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

ListServiceQuotaIncreaseRequestsInTemplateCommand Output

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

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

ServiceQuotaIncreaseRequestInTemplateList
ServiceQuotaIncreaseRequestInTemplate[] | undefined

Information about the quota increase requests.

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.

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.