- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
AssociateServiceQuotaTemplateCommand
Associates your quota request template with your organization. When a new Amazon Web Services account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ServiceQuotasClient, AssociateServiceQuotaTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
// const { ServiceQuotasClient, AssociateServiceQuotaTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
const client = new ServiceQuotasClient(config);
const input = {};
const command = new AssociateServiceQuotaTemplateCommand(input);
const response = await client.send(command);
// {};
AssociateServiceQuotaTemplateCommand Input
AssociateServiceQuotaTemplateCommandInput extends AssociateServiceQuotaTemplateRequest
AssociateServiceQuotaTemplateCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
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. |
NoAvailableOrganizationException | client | The Amazon Web Services account making this call is not a member of an organization. |
OrganizationNotInAllFeaturesModeException | client | The organization that your Amazon Web Services account belongs to is not in All Features mode. |
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. |