@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServiceQuotasClient extends AmazonWebServiceClient implements AWSServiceQuotas
With Service Quotas, you can view and manage your quotas easily as your Amazon Web Services workloads grow. Quotas, also referred to as limits, are the maximum number of resources that you can create in your Amazon Web Services account. For more information, see the Service Quotas User Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSServiceQuotasClientBuilder builder()
public AssociateServiceQuotaTemplateResult associateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest request)
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.
associateServiceQuotaTemplate
in interface AWSServiceQuotas
associateServiceQuotaTemplateRequest
- DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.OrganizationNotInAllFeaturesModeException
- The organization that your Amazon Web Services account belongs to is not in All Features mode.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public DeleteServiceQuotaIncreaseRequestFromTemplateResult deleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest request)
Deletes the quota increase request for the specified quota from your quota request template.
deleteServiceQuotaIncreaseRequestFromTemplate
in interface AWSServiceQuotas
deleteServiceQuotaIncreaseRequestFromTemplateRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public DisassociateServiceQuotaTemplateResult disassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest request)
Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new Amazon Web Services accounts in your organization. Disabling a quota request template does not apply its quota increase requests.
disassociateServiceQuotaTemplate
in interface AWSServiceQuotas
disassociateServiceQuotaTemplateRequest
- DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.ServiceQuotaTemplateNotInUseException
- The quota request template is not associated with your organization.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public GetAWSDefaultServiceQuotaResult getAWSDefaultServiceQuota(GetAWSDefaultServiceQuotaRequest request)
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
getAWSDefaultServiceQuota
in interface AWSServiceQuotas
getAWSDefaultServiceQuotaRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public GetAssociationForServiceQuotaTemplateResult getAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest request)
Retrieves the status of the association for the quota request template.
getAssociationForServiceQuotaTemplate
in interface AWSServiceQuotas
getAssociationForServiceQuotaTemplateRequest
- DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.ServiceQuotaTemplateNotInUseException
- The quota request template is not associated with your organization.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public GetRequestedServiceQuotaChangeResult getRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest request)
Retrieves information about the specified quota increase request.
getRequestedServiceQuotaChange
in interface AWSServiceQuotas
getRequestedServiceQuotaChangeRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public GetServiceQuotaResult getServiceQuota(GetServiceQuotaRequest request)
Retrieves the applied quota value for the specified quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
getServiceQuota
in interface AWSServiceQuotas
getServiceQuotaRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public GetServiceQuotaIncreaseRequestFromTemplateResult getServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest request)
Retrieves information about the specified quota increase request in your quota request template.
getServiceQuotaIncreaseRequestFromTemplate
in interface AWSServiceQuotas
getServiceQuotaIncreaseRequestFromTemplateRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public ListAWSDefaultServiceQuotasResult listAWSDefaultServiceQuotas(ListAWSDefaultServiceQuotasRequest request)
Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
listAWSDefaultServiceQuotas
in interface AWSServiceQuotas
listAWSDefaultServiceQuotasRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.InvalidPaginationTokenException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public ListRequestedServiceQuotaChangeHistoryResult listRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest request)
Retrieves the quota increase requests for the specified Amazon Web Service.
listRequestedServiceQuotaChangeHistory
in interface AWSServiceQuotas
listRequestedServiceQuotaChangeHistoryRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.InvalidPaginationTokenException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public ListRequestedServiceQuotaChangeHistoryByQuotaResult listRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest request)
Retrieves the quota increase requests for the specified quota.
listRequestedServiceQuotaChangeHistoryByQuota
in interface AWSServiceQuotas
listRequestedServiceQuotaChangeHistoryByQuotaRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.InvalidPaginationTokenException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public ListServiceQuotaIncreaseRequestsInTemplateResult listServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest request)
Lists the quota increase requests in the specified quota request template.
listServiceQuotaIncreaseRequestsInTemplate
in interface AWSServiceQuotas
listServiceQuotaIncreaseRequestsInTemplateRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.IllegalArgumentException
- Invalid input was provided.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public ListServiceQuotasResult listServiceQuotas(ListServiceQuotasRequest request)
Lists the applied quota values for the specified Amazon Web Service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
listServiceQuotas
in interface AWSServiceQuotas
listServiceQuotasRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.InvalidPaginationTokenException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public ListServicesResult listServices(ListServicesRequest request)
Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
listServices
in interface AWSServiceQuotas
listServicesRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.IllegalArgumentException
- Invalid input was provided.InvalidPaginationTokenException
- Invalid input was provided.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns a list of the tags assigned to the specified applied quota.
listTagsForResource
in interface AWSServiceQuotas
listTagsForResourceRequest
- TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.public PutServiceQuotaIncreaseRequestIntoTemplateResult putServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest request)
Adds a quota increase request to your quota request template.
putServiceQuotaIncreaseRequestIntoTemplate
in interface AWSServiceQuotas
putServiceQuotaIncreaseRequestIntoTemplateRequest
- AccessDeniedException
- You do not have sufficient permission to perform this action.DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.IllegalArgumentException
- Invalid input was provided.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.NoSuchResourceException
- The specified resource does not exist.AWSServiceAccessNotEnabledException
- The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
organization.TemplatesNotAvailableInRegionException
- The Service Quotas template is not available in this Amazon Web Services Region.NoAvailableOrganizationException
- The Amazon Web Services account making this call is not a member of an organization.public RequestServiceQuotaIncreaseResult requestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest request)
Submits a quota increase request for the specified quota.
requestServiceQuotaIncrease
in interface AWSServiceQuotas
requestServiceQuotaIncreaseRequest
- DependencyAccessDeniedException
- You can't perform this action because a dependency does not have access.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.ResourceAlreadyExistsException
- The specified resource already exists.AccessDeniedException
- You do not have sufficient permission to perform this action.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.InvalidResourceStateException
- The resource is in an invalid state.ServiceException
- Something went wrong.TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
tagResource
in interface AWSServiceQuotas
tagResourceRequest
- TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.NoSuchResourceException
- The specified resource does not exist.TooManyTagsException
- You've exceeded the number of tags allowed for a resource. For more information, see Tag
restrictions in the Service Quotas User Guide.TagPolicyViolationException
- The specified tag is a reserved word and cannot be used.IllegalArgumentException
- Invalid input was provided.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from the specified applied quota. You can specify one or more tags to remove.
untagResource
in interface AWSServiceQuotas
untagResourceRequest
- TooManyRequestsException
- Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
for this quota.NoSuchResourceException
- The specified resource does not exist.IllegalArgumentException
- Invalid input was provided.AccessDeniedException
- You do not have sufficient permission to perform this action.ServiceException
- Something went wrong.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSServiceQuotas
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSServiceQuotas
shutdown
in class AmazonWebServiceClient