Interface ServiceQuotasClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ServiceQuotasClient extends AwsClient
Service client for accessing Service Quotas. This can be created using the staticbuilder()method.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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AssociateServiceQuotaTemplateResponseassociateServiceQuotaTemplate(Consumer<AssociateServiceQuotaTemplateRequest.Builder> associateServiceQuotaTemplateRequest)Associates your quota request template with your organization.default AssociateServiceQuotaTemplateResponseassociateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest associateServiceQuotaTemplateRequest)Associates your quota request template with your organization.static ServiceQuotasClientBuilderbuilder()Create a builder that can be used to configure and create aServiceQuotasClient.static ServiceQuotasClientcreate()Create aServiceQuotasClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DeleteServiceQuotaIncreaseRequestFromTemplateResponsedeleteServiceQuotaIncreaseRequestFromTemplate(Consumer<DeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builder> deleteServiceQuotaIncreaseRequestFromTemplateRequest)Deletes the quota increase request for the specified quota from your quota request template.default DeleteServiceQuotaIncreaseRequestFromTemplateResponsedeleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest deleteServiceQuotaIncreaseRequestFromTemplateRequest)Deletes the quota increase request for the specified quota from your quota request template.default DisassociateServiceQuotaTemplateResponsedisassociateServiceQuotaTemplate(Consumer<DisassociateServiceQuotaTemplateRequest.Builder> disassociateServiceQuotaTemplateRequest)Disables your quota request template.default DisassociateServiceQuotaTemplateResponsedisassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest disassociateServiceQuotaTemplateRequest)Disables your quota request template.default GetAssociationForServiceQuotaTemplateResponsegetAssociationForServiceQuotaTemplate(Consumer<GetAssociationForServiceQuotaTemplateRequest.Builder> getAssociationForServiceQuotaTemplateRequest)Retrieves the status of the association for the quota request template.default GetAssociationForServiceQuotaTemplateResponsegetAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest getAssociationForServiceQuotaTemplateRequest)Retrieves the status of the association for the quota request template.default GetAwsDefaultServiceQuotaResponsegetAWSDefaultServiceQuota(Consumer<GetAwsDefaultServiceQuotaRequest.Builder> getAwsDefaultServiceQuotaRequest)Retrieves the default value for the specified quota.default GetAwsDefaultServiceQuotaResponsegetAWSDefaultServiceQuota(GetAwsDefaultServiceQuotaRequest getAwsDefaultServiceQuotaRequest)Retrieves the default value for the specified quota.default GetRequestedServiceQuotaChangeResponsegetRequestedServiceQuotaChange(Consumer<GetRequestedServiceQuotaChangeRequest.Builder> getRequestedServiceQuotaChangeRequest)Retrieves information about the specified quota increase request.default GetRequestedServiceQuotaChangeResponsegetRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest getRequestedServiceQuotaChangeRequest)Retrieves information about the specified quota increase request.default GetServiceQuotaResponsegetServiceQuota(Consumer<GetServiceQuotaRequest.Builder> getServiceQuotaRequest)Retrieves the applied quota value for the specified quota.default GetServiceQuotaResponsegetServiceQuota(GetServiceQuotaRequest getServiceQuotaRequest)Retrieves the applied quota value for the specified quota.default GetServiceQuotaIncreaseRequestFromTemplateResponsegetServiceQuotaIncreaseRequestFromTemplate(Consumer<GetServiceQuotaIncreaseRequestFromTemplateRequest.Builder> getServiceQuotaIncreaseRequestFromTemplateRequest)Retrieves information about the specified quota increase request in your quota request template.default GetServiceQuotaIncreaseRequestFromTemplateResponsegetServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest getServiceQuotaIncreaseRequestFromTemplateRequest)Retrieves information about the specified quota increase request in your quota request template.default ListAwsDefaultServiceQuotasResponselistAWSDefaultServiceQuotas(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest)Lists the default values for the quotas for the specified Amazon Web Service.default ListAwsDefaultServiceQuotasResponselistAWSDefaultServiceQuotas(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest)Lists the default values for the quotas for the specified Amazon Web Service.default ListAWSDefaultServiceQuotasIterablelistAWSDefaultServiceQuotasPaginator(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest)Lists the default values for the quotas for the specified Amazon Web Service.default ListAWSDefaultServiceQuotasIterablelistAWSDefaultServiceQuotasPaginator(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest)Lists the default values for the quotas for the specified Amazon Web Service.default ListRequestedServiceQuotaChangeHistoryResponselistRequestedServiceQuotaChangeHistory(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest)Retrieves the quota increase requests for the specified Amazon Web Service.default ListRequestedServiceQuotaChangeHistoryResponselistRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest)Retrieves the quota increase requests for the specified Amazon Web Service.default ListRequestedServiceQuotaChangeHistoryByQuotaResponselistRequestedServiceQuotaChangeHistoryByQuota(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest)Retrieves the quota increase requests for the specified quota.default ListRequestedServiceQuotaChangeHistoryByQuotaResponselistRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest)Retrieves the quota increase requests for the specified quota.default ListRequestedServiceQuotaChangeHistoryByQuotaIterablelistRequestedServiceQuotaChangeHistoryByQuotaPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest)Retrieves the quota increase requests for the specified quota.default ListRequestedServiceQuotaChangeHistoryByQuotaIterablelistRequestedServiceQuotaChangeHistoryByQuotaPaginator(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest)Retrieves the quota increase requests for the specified quota.default ListRequestedServiceQuotaChangeHistoryIterablelistRequestedServiceQuotaChangeHistoryPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest)Retrieves the quota increase requests for the specified Amazon Web Service.default ListRequestedServiceQuotaChangeHistoryIterablelistRequestedServiceQuotaChangeHistoryPaginator(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest)Retrieves the quota increase requests for the specified Amazon Web Service.default ListServiceQuotaIncreaseRequestsInTemplateResponselistServiceQuotaIncreaseRequestsInTemplate(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest)Lists the quota increase requests in the specified quota request template.default ListServiceQuotaIncreaseRequestsInTemplateResponselistServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest)Lists the quota increase requests in the specified quota request template.default ListServiceQuotaIncreaseRequestsInTemplateIterablelistServiceQuotaIncreaseRequestsInTemplatePaginator(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest)Lists the quota increase requests in the specified quota request template.default ListServiceQuotaIncreaseRequestsInTemplateIterablelistServiceQuotaIncreaseRequestsInTemplatePaginator(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest)Lists the quota increase requests in the specified quota request template.default ListServiceQuotasResponselistServiceQuotas(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest)Lists the applied quota values for the specified Amazon Web Service.default ListServiceQuotasResponselistServiceQuotas(ListServiceQuotasRequest listServiceQuotasRequest)Lists the applied quota values for the specified Amazon Web Service.default ListServiceQuotasIterablelistServiceQuotasPaginator(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest)Lists the applied quota values for the specified Amazon Web Service.default ListServiceQuotasIterablelistServiceQuotasPaginator(ListServiceQuotasRequest listServiceQuotasRequest)Lists the applied quota values for the specified Amazon Web Service.default ListServicesResponselistServices(Consumer<ListServicesRequest.Builder> listServicesRequest)Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default ListServicesResponselistServices(ListServicesRequest listServicesRequest)Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default ListServicesIterablelistServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest)Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default ListServicesIterablelistServicesPaginator(ListServicesRequest listServicesRequest)Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Returns a list of the tags assigned to the specified applied quota.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Returns a list of the tags assigned to the specified applied quota.default PutServiceQuotaIncreaseRequestIntoTemplateResponseputServiceQuotaIncreaseRequestIntoTemplate(Consumer<PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder> putServiceQuotaIncreaseRequestIntoTemplateRequest)Adds a quota increase request to your quota request template.default PutServiceQuotaIncreaseRequestIntoTemplateResponseputServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest putServiceQuotaIncreaseRequestIntoTemplateRequest)Adds a quota increase request to your quota request template.default RequestServiceQuotaIncreaseResponserequestServiceQuotaIncrease(Consumer<RequestServiceQuotaIncreaseRequest.Builder> requestServiceQuotaIncreaseRequest)Submits a quota increase request for the specified quota.default RequestServiceQuotaIncreaseResponserequestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest requestServiceQuotaIncreaseRequest)Submits a quota increase request for the specified quota.default ServiceQuotasServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds tags to the specified applied quota.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Adds tags to the specified applied quota.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes tags from the specified applied quota.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes tags from the specified applied quota.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateServiceQuotaTemplate
default AssociateServiceQuotaTemplateResponse associateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest associateServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, OrganizationNotInAllFeaturesModeException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
- Parameters:
associateServiceQuotaTemplateRequest-- Returns:
- Result of the AssociateServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateServiceQuotaTemplate
default AssociateServiceQuotaTemplateResponse associateServiceQuotaTemplate(Consumer<AssociateServiceQuotaTemplateRequest.Builder> associateServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, OrganizationNotInAllFeaturesModeException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a convenience which creates an instance of the
AssociateServiceQuotaTemplateRequest.Builderavoiding the need to create one manually viaAssociateServiceQuotaTemplateRequest.builder()- Parameters:
associateServiceQuotaTemplateRequest- AConsumerthat will call methods onAssociateServiceQuotaTemplateRequest.Builderto create a request.- Returns:
- Result of the AssociateServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteServiceQuotaIncreaseRequestFromTemplate
default DeleteServiceQuotaIncreaseRequestFromTemplateResponse deleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest deleteServiceQuotaIncreaseRequestFromTemplateRequest) throws AccessDeniedException, ServiceException, DependencyAccessDeniedException, TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Deletes the quota increase request for the specified quota from your quota request template.
- Parameters:
deleteServiceQuotaIncreaseRequestFromTemplateRequest-- Returns:
- Result of the DeleteServiceQuotaIncreaseRequestFromTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteServiceQuotaIncreaseRequestFromTemplate
default DeleteServiceQuotaIncreaseRequestFromTemplateResponse deleteServiceQuotaIncreaseRequestFromTemplate(Consumer<DeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builder> deleteServiceQuotaIncreaseRequestFromTemplateRequest) throws AccessDeniedException, ServiceException, DependencyAccessDeniedException, TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Deletes the quota increase request for the specified quota from your quota request template.
This is a convenience which creates an instance of the
DeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builderavoiding the need to create one manually viaDeleteServiceQuotaIncreaseRequestFromTemplateRequest.builder()- Parameters:
deleteServiceQuotaIncreaseRequestFromTemplateRequest- AConsumerthat will call methods onDeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteServiceQuotaIncreaseRequestFromTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateServiceQuotaTemplate
default DisassociateServiceQuotaTemplateResponse disassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest disassociateServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, ServiceQuotaTemplateNotInUseException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
- Parameters:
disassociateServiceQuotaTemplateRequest-- Returns:
- Result of the DisassociateServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateServiceQuotaTemplate
default DisassociateServiceQuotaTemplateResponse disassociateServiceQuotaTemplate(Consumer<DisassociateServiceQuotaTemplateRequest.Builder> disassociateServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, ServiceQuotaTemplateNotInUseException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a convenience which creates an instance of the
DisassociateServiceQuotaTemplateRequest.Builderavoiding the need to create one manually viaDisassociateServiceQuotaTemplateRequest.builder()- Parameters:
disassociateServiceQuotaTemplateRequest- AConsumerthat will call methods onDisassociateServiceQuotaTemplateRequest.Builderto create a request.- Returns:
- Result of the DisassociateServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAWSDefaultServiceQuota
default GetAwsDefaultServiceQuotaResponse getAWSDefaultServiceQuota(GetAwsDefaultServiceQuotaRequest getAwsDefaultServiceQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
- Parameters:
getAwsDefaultServiceQuotaRequest-- Returns:
- Result of the GetAWSDefaultServiceQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAWSDefaultServiceQuota
default GetAwsDefaultServiceQuotaResponse getAWSDefaultServiceQuota(Consumer<GetAwsDefaultServiceQuotaRequest.Builder> getAwsDefaultServiceQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
This is a convenience which creates an instance of the
GetAwsDefaultServiceQuotaRequest.Builderavoiding the need to create one manually viaGetAwsDefaultServiceQuotaRequest.builder()- Parameters:
getAwsDefaultServiceQuotaRequest- AConsumerthat will call methods onGetAwsDefaultServiceQuotaRequest.Builderto create a request.- Returns:
- Result of the GetAWSDefaultServiceQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAssociationForServiceQuotaTemplate
default GetAssociationForServiceQuotaTemplateResponse getAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest getAssociationForServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, ServiceQuotaTemplateNotInUseException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the status of the association for the quota request template.
- Parameters:
getAssociationForServiceQuotaTemplateRequest-- Returns:
- Result of the GetAssociationForServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAssociationForServiceQuotaTemplate
default GetAssociationForServiceQuotaTemplateResponse getAssociationForServiceQuotaTemplate(Consumer<GetAssociationForServiceQuotaTemplateRequest.Builder> getAssociationForServiceQuotaTemplateRequest) throws DependencyAccessDeniedException, ServiceQuotaTemplateNotInUseException, AccessDeniedException, ServiceException, TooManyRequestsException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the status of the association for the quota request template.
This is a convenience which creates an instance of the
GetAssociationForServiceQuotaTemplateRequest.Builderavoiding the need to create one manually viaGetAssociationForServiceQuotaTemplateRequest.builder()- Parameters:
getAssociationForServiceQuotaTemplateRequest- AConsumerthat will call methods onGetAssociationForServiceQuotaTemplateRequest.Builderto create a request.- Returns:
- Result of the GetAssociationForServiceQuotaTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRequestedServiceQuotaChange
default GetRequestedServiceQuotaChangeResponse getRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest getRequestedServiceQuotaChangeRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves information about the specified quota increase request.
- Parameters:
getRequestedServiceQuotaChangeRequest-- Returns:
- Result of the GetRequestedServiceQuotaChange operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRequestedServiceQuotaChange
default GetRequestedServiceQuotaChangeResponse getRequestedServiceQuotaChange(Consumer<GetRequestedServiceQuotaChangeRequest.Builder> getRequestedServiceQuotaChangeRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves information about the specified quota increase request.
This is a convenience which creates an instance of the
GetRequestedServiceQuotaChangeRequest.Builderavoiding the need to create one manually viaGetRequestedServiceQuotaChangeRequest.builder()- Parameters:
getRequestedServiceQuotaChangeRequest- AConsumerthat will call methods onGetRequestedServiceQuotaChangeRequest.Builderto create a request.- Returns:
- Result of the GetRequestedServiceQuotaChange operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceQuota
default GetServiceQuotaResponse getServiceQuota(GetServiceQuotaRequest getServiceQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
- Parameters:
getServiceQuotaRequest-- Returns:
- Result of the GetServiceQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceQuota
default GetServiceQuotaResponse getServiceQuota(Consumer<GetServiceQuotaRequest.Builder> getServiceQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a convenience which creates an instance of the
GetServiceQuotaRequest.Builderavoiding the need to create one manually viaGetServiceQuotaRequest.builder()- Parameters:
getServiceQuotaRequest- AConsumerthat will call methods onGetServiceQuotaRequest.Builderto create a request.- Returns:
- Result of the GetServiceQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceQuotaIncreaseRequestFromTemplate
default GetServiceQuotaIncreaseRequestFromTemplateResponse getServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest getServiceQuotaIncreaseRequestFromTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves information about the specified quota increase request in your quota request template.
- Parameters:
getServiceQuotaIncreaseRequestFromTemplateRequest-- Returns:
- Result of the GetServiceQuotaIncreaseRequestFromTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceQuotaIncreaseRequestFromTemplate
default GetServiceQuotaIncreaseRequestFromTemplateResponse getServiceQuotaIncreaseRequestFromTemplate(Consumer<GetServiceQuotaIncreaseRequestFromTemplateRequest.Builder> getServiceQuotaIncreaseRequestFromTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves information about the specified quota increase request in your quota request template.
This is a convenience which creates an instance of the
GetServiceQuotaIncreaseRequestFromTemplateRequest.Builderavoiding the need to create one manually viaGetServiceQuotaIncreaseRequestFromTemplateRequest.builder()- Parameters:
getServiceQuotaIncreaseRequestFromTemplateRequest- AConsumerthat will call methods onGetServiceQuotaIncreaseRequestFromTemplateRequest.Builderto create a request.- Returns:
- Result of the GetServiceQuotaIncreaseRequestFromTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAWSDefaultServiceQuotas
default ListAwsDefaultServiceQuotasResponse listAWSDefaultServiceQuotas(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
- Parameters:
listAwsDefaultServiceQuotasRequest-- Returns:
- Result of the ListAWSDefaultServiceQuotas operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAWSDefaultServiceQuotas
default ListAwsDefaultServiceQuotasResponse listAWSDefaultServiceQuotas(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
This is a convenience which creates an instance of the
ListAwsDefaultServiceQuotasRequest.Builderavoiding the need to create one manually viaListAwsDefaultServiceQuotasRequest.builder()- Parameters:
listAwsDefaultServiceQuotasRequest- AConsumerthat will call methods onListAwsDefaultServiceQuotasRequest.Builderto create a request.- Returns:
- Result of the ListAWSDefaultServiceQuotas operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAWSDefaultServiceQuotasPaginator
default ListAWSDefaultServiceQuotasIterable listAWSDefaultServiceQuotasPaginator(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
This is a variant of
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client.listAWSDefaultServiceQuotasPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client .listAWSDefaultServiceQuotasPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client.listAWSDefaultServiceQuotasPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)operation.- Parameters:
listAwsDefaultServiceQuotasRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAWSDefaultServiceQuotasPaginator
default ListAWSDefaultServiceQuotasIterable listAWSDefaultServiceQuotasPaginator(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
This is a variant of
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client.listAWSDefaultServiceQuotasPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client .listAWSDefaultServiceQuotasPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasIterable responses = client.listAWSDefaultServiceQuotasPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)operation.This is a convenience which creates an instance of the
ListAwsDefaultServiceQuotasRequest.Builderavoiding the need to create one manually viaListAwsDefaultServiceQuotasRequest.builder()- Parameters:
listAwsDefaultServiceQuotasRequest- AConsumerthat will call methods onListAwsDefaultServiceQuotasRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistory
default ListRequestedServiceQuotaChangeHistoryResponse listRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified Amazon Web Service.
- Parameters:
listRequestedServiceQuotaChangeHistoryRequest-- Returns:
- Result of the ListRequestedServiceQuotaChangeHistory operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistory
default ListRequestedServiceQuotaChangeHistoryResponse listRequestedServiceQuotaChangeHistory(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified Amazon Web Service.
This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryRequest.Builderavoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryRequest.builder()- Parameters:
listRequestedServiceQuotaChangeHistoryRequest- AConsumerthat will call methods onListRequestedServiceQuotaChangeHistoryRequest.Builderto create a request.- Returns:
- Result of the ListRequestedServiceQuotaChangeHistory operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryPaginator
default ListRequestedServiceQuotaChangeHistoryIterable listRequestedServiceQuotaChangeHistoryPaginator(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified Amazon Web Service.
This is a variant of
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client.listRequestedServiceQuotaChangeHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client .listRequestedServiceQuotaChangeHistoryPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client.listRequestedServiceQuotaChangeHistoryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)operation.- Parameters:
listRequestedServiceQuotaChangeHistoryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryPaginator
default ListRequestedServiceQuotaChangeHistoryIterable listRequestedServiceQuotaChangeHistoryPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified Amazon Web Service.
This is a variant of
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client.listRequestedServiceQuotaChangeHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client .listRequestedServiceQuotaChangeHistoryPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryIterable responses = client.listRequestedServiceQuotaChangeHistoryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)operation.This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryRequest.Builderavoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryRequest.builder()- Parameters:
listRequestedServiceQuotaChangeHistoryRequest- AConsumerthat will call methods onListRequestedServiceQuotaChangeHistoryRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryByQuota
default ListRequestedServiceQuotaChangeHistoryByQuotaResponse listRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified quota.
- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest-- Returns:
- Result of the ListRequestedServiceQuotaChangeHistoryByQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryByQuota
default ListRequestedServiceQuotaChangeHistoryByQuotaResponse listRequestedServiceQuotaChangeHistoryByQuota(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified quota.
This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builderavoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryByQuotaRequest.builder()- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest- AConsumerthat will call methods onListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builderto create a request.- Returns:
- Result of the ListRequestedServiceQuotaChangeHistoryByQuota operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryByQuotaPaginator
default ListRequestedServiceQuotaChangeHistoryByQuotaIterable listRequestedServiceQuotaChangeHistoryByQuotaPaginator(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified quota.
This is a variant of
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client .listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)operation.- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRequestedServiceQuotaChangeHistoryByQuotaPaginator
default ListRequestedServiceQuotaChangeHistoryByQuotaIterable listRequestedServiceQuotaChangeHistoryByQuotaPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Retrieves the quota increase requests for the specified quota.
This is a variant of
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client .listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaIterable responses = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)operation.This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builderavoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryByQuotaRequest.builder()- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest- AConsumerthat will call methods onListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotaIncreaseRequestsInTemplate
default ListServiceQuotaIncreaseRequestsInTemplateResponse listServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the quota increase requests in the specified quota request template.
- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest-- Returns:
- Result of the ListServiceQuotaIncreaseRequestsInTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotaIncreaseRequestsInTemplate
default ListServiceQuotaIncreaseRequestsInTemplateResponse listServiceQuotaIncreaseRequestsInTemplate(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the quota increase requests in the specified quota request template.
This is a convenience which creates an instance of the
ListServiceQuotaIncreaseRequestsInTemplateRequest.Builderavoiding the need to create one manually viaListServiceQuotaIncreaseRequestsInTemplateRequest.builder()- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest- AConsumerthat will call methods onListServiceQuotaIncreaseRequestsInTemplateRequest.Builderto create a request.- Returns:
- Result of the ListServiceQuotaIncreaseRequestsInTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotaIncreaseRequestsInTemplatePaginator
default ListServiceQuotaIncreaseRequestsInTemplateIterable listServiceQuotaIncreaseRequestsInTemplatePaginator(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the quota increase requests in the specified quota request template.
This is a variant of
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client .listServiceQuotaIncreaseRequestsInTemplatePaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)operation.- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotaIncreaseRequestsInTemplatePaginator
default ListServiceQuotaIncreaseRequestsInTemplateIterable listServiceQuotaIncreaseRequestsInTemplatePaginator(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the quota increase requests in the specified quota request template.
This is a variant of
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client .listServiceQuotaIncreaseRequestsInTemplatePaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplateIterable responses = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)operation.This is a convenience which creates an instance of the
ListServiceQuotaIncreaseRequestsInTemplateRequest.Builderavoiding the need to create one manually viaListServiceQuotaIncreaseRequestsInTemplateRequest.builder()- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest- AConsumerthat will call methods onListServiceQuotaIncreaseRequestsInTemplateRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotas
default ListServiceQuotasResponse listServiceQuotas(ListServiceQuotasRequest listServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
- Parameters:
listServiceQuotasRequest-- Returns:
- Result of the ListServiceQuotas operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotas
default ListServiceQuotasResponse listServiceQuotas(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a convenience which creates an instance of the
ListServiceQuotasRequest.Builderavoiding the need to create one manually viaListServiceQuotasRequest.builder()- Parameters:
listServiceQuotasRequest- AConsumerthat will call methods onListServiceQuotasRequest.Builderto create a request.- Returns:
- Result of the ListServiceQuotas operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotasPaginator
default ListServiceQuotasIterable listServiceQuotasPaginator(ListServiceQuotasRequest listServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a variant of
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client.listServiceQuotasPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client .listServiceQuotasPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client.listServiceQuotasPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)operation.- Parameters:
listServiceQuotasRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServiceQuotasPaginator
default ListServiceQuotasIterable listServiceQuotasPaginator(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) throws AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
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.
This is a variant of
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client.listServiceQuotasPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client .listServiceQuotasPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasIterable responses = client.listServiceQuotasPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)operation.This is a convenience which creates an instance of the
ListServiceQuotasRequest.Builderavoiding the need to create one manually viaListServiceQuotasRequest.builder()- Parameters:
listServiceQuotasRequest- AConsumerthat will call methods onListServiceQuotasRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServices
default ListServicesResponse listServices(ListServicesRequest listServicesRequest) throws AccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
- Parameters:
listServicesRequest-- Returns:
- Result of the ListServices operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServices
default ListServicesResponse listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) throws AccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request.- Returns:
- Result of the ListServices operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(ListServicesRequest listServicesRequest) throws AccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
This is a variant of
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)operation.- Parameters:
listServicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) throws AccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
This is a variant of
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.servicequotas.model.ListServicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)operation.This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Returns a list of the tags assigned to the specified applied quota.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Returns a list of the tags assigned to the specified applied quota.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putServiceQuotaIncreaseRequestIntoTemplate
default PutServiceQuotaIncreaseRequestIntoTemplateResponse putServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest putServiceQuotaIncreaseRequestIntoTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, QuotaExceededException, NoSuchResourceException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Adds a quota increase request to your quota request template.
- Parameters:
putServiceQuotaIncreaseRequestIntoTemplateRequest-- Returns:
- Result of the PutServiceQuotaIncreaseRequestIntoTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putServiceQuotaIncreaseRequestIntoTemplate
default PutServiceQuotaIncreaseRequestIntoTemplateResponse putServiceQuotaIncreaseRequestIntoTemplate(Consumer<PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder> putServiceQuotaIncreaseRequestIntoTemplateRequest) throws AccessDeniedException, DependencyAccessDeniedException, ServiceException, TooManyRequestsException, IllegalArgumentException, QuotaExceededException, NoSuchResourceException, AwsServiceAccessNotEnabledException, TemplatesNotAvailableInRegionException, NoAvailableOrganizationException, AwsServiceException, SdkClientException, ServiceQuotasException
Adds a quota increase request to your quota request template.
This is a convenience which creates an instance of the
PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builderavoiding the need to create one manually viaPutServiceQuotaIncreaseRequestIntoTemplateRequest.builder()- Parameters:
putServiceQuotaIncreaseRequestIntoTemplateRequest- AConsumerthat will call methods onPutServiceQuotaIncreaseRequestIntoTemplateRequest.Builderto create a request.- Returns:
- Result of the PutServiceQuotaIncreaseRequestIntoTemplate operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
requestServiceQuotaIncrease
default RequestServiceQuotaIncreaseResponse requestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest requestServiceQuotaIncreaseRequest) throws DependencyAccessDeniedException, QuotaExceededException, ResourceAlreadyExistsException, AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidResourceStateException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Submits a quota increase request for the specified quota.
- Parameters:
requestServiceQuotaIncreaseRequest-- Returns:
- Result of the RequestServiceQuotaIncrease operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
requestServiceQuotaIncrease
default RequestServiceQuotaIncreaseResponse requestServiceQuotaIncrease(Consumer<RequestServiceQuotaIncreaseRequest.Builder> requestServiceQuotaIncreaseRequest) throws DependencyAccessDeniedException, QuotaExceededException, ResourceAlreadyExistsException, AccessDeniedException, NoSuchResourceException, IllegalArgumentException, InvalidResourceStateException, ServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ServiceQuotasException
Submits a quota increase request for the specified quota.
This is a convenience which creates an instance of the
RequestServiceQuotaIncreaseRequest.Builderavoiding the need to create one manually viaRequestServiceQuotaIncreaseRequest.builder()- Parameters:
requestServiceQuotaIncreaseRequest- AConsumerthat will call methods onRequestServiceQuotaIncreaseRequest.Builderto create a request.- Returns:
- Result of the RequestServiceQuotaIncrease operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws TooManyRequestsException, NoSuchResourceException, TooManyTagsException, TagPolicyViolationException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws TooManyRequestsException, NoSuchResourceException, TooManyTagsException, TagPolicyViolationException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Removes tags from the specified applied quota. You can specify one or more tags to remove.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws TooManyRequestsException, NoSuchResourceException, IllegalArgumentException, AccessDeniedException, ServiceException, AwsServiceException, SdkClientException, ServiceQuotasException
Removes tags from the specified applied quota. You can specify one or more tags to remove.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServiceQuotasException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static ServiceQuotasClient create()
Create aServiceQuotasClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ServiceQuotasClientBuilder builder()
Create a builder that can be used to configure and create aServiceQuotasClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default ServiceQuotasServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-