Interface ServiceQuotasAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateServiceQuotaTemplate
(Consumer<AssociateServiceQuotaTemplateRequest.Builder> associateServiceQuotaTemplateRequest) Associates your quota request template with your organization.associateServiceQuotaTemplate
(AssociateServiceQuotaTemplateRequest associateServiceQuotaTemplateRequest) Associates your quota request template with your organization.builder()
Create a builder that can be used to configure and create aServiceQuotasAsyncClient
.static ServiceQuotasAsyncClient
create()
Create aServiceQuotasAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.deleteServiceQuotaIncreaseRequestFromTemplate
(Consumer<DeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builder> deleteServiceQuotaIncreaseRequestFromTemplateRequest) Deletes the quota increase request for the specified quota from your quota request template.deleteServiceQuotaIncreaseRequestFromTemplate
(DeleteServiceQuotaIncreaseRequestFromTemplateRequest deleteServiceQuotaIncreaseRequestFromTemplateRequest) Deletes the quota increase request for the specified quota from your quota request template.disassociateServiceQuotaTemplate
(Consumer<DisassociateServiceQuotaTemplateRequest.Builder> disassociateServiceQuotaTemplateRequest) Disables your quota request template.disassociateServiceQuotaTemplate
(DisassociateServiceQuotaTemplateRequest disassociateServiceQuotaTemplateRequest) Disables your quota request template.getAssociationForServiceQuotaTemplate
(Consumer<GetAssociationForServiceQuotaTemplateRequest.Builder> getAssociationForServiceQuotaTemplateRequest) Retrieves the status of the association for the quota request template.getAssociationForServiceQuotaTemplate
(GetAssociationForServiceQuotaTemplateRequest getAssociationForServiceQuotaTemplateRequest) Retrieves the status of the association for the quota request template.getAWSDefaultServiceQuota
(Consumer<GetAwsDefaultServiceQuotaRequest.Builder> getAwsDefaultServiceQuotaRequest) Retrieves the default value for the specified quota.getAWSDefaultServiceQuota
(GetAwsDefaultServiceQuotaRequest getAwsDefaultServiceQuotaRequest) Retrieves the default value for the specified quota.getRequestedServiceQuotaChange
(Consumer<GetRequestedServiceQuotaChangeRequest.Builder> getRequestedServiceQuotaChangeRequest) Retrieves information about the specified quota increase request.getRequestedServiceQuotaChange
(GetRequestedServiceQuotaChangeRequest getRequestedServiceQuotaChangeRequest) Retrieves information about the specified quota increase request.default CompletableFuture
<GetServiceQuotaResponse> getServiceQuota
(Consumer<GetServiceQuotaRequest.Builder> getServiceQuotaRequest) Retrieves the applied quota value for the specified quota.default CompletableFuture
<GetServiceQuotaResponse> getServiceQuota
(GetServiceQuotaRequest getServiceQuotaRequest) Retrieves the applied quota value for the specified quota.getServiceQuotaIncreaseRequestFromTemplate
(Consumer<GetServiceQuotaIncreaseRequestFromTemplateRequest.Builder> getServiceQuotaIncreaseRequestFromTemplateRequest) Retrieves information about the specified quota increase request in your quota request template.getServiceQuotaIncreaseRequestFromTemplate
(GetServiceQuotaIncreaseRequestFromTemplateRequest getServiceQuotaIncreaseRequestFromTemplateRequest) Retrieves information about the specified quota increase request in your quota request template.listAWSDefaultServiceQuotas
(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) Lists the default values for the quotas for the specified Amazon Web Service.listAWSDefaultServiceQuotas
(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) Lists the default values for the quotas for the specified Amazon Web Service.listAWSDefaultServiceQuotasPaginator
(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) This is a variant oflistAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)
operation.listAWSDefaultServiceQuotasPaginator
(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) This is a variant oflistAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)
operation.listRequestedServiceQuotaChangeHistory
(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) Retrieves the quota increase requests for the specified Amazon Web Service.listRequestedServiceQuotaChangeHistory
(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) Retrieves the quota increase requests for the specified Amazon Web Service.listRequestedServiceQuotaChangeHistoryByQuota
(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) Retrieves the quota increase requests for the specified quota.listRequestedServiceQuotaChangeHistoryByQuota
(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) Retrieves the quota increase requests for the specified quota.listRequestedServiceQuotaChangeHistoryByQuotaPaginator
(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) listRequestedServiceQuotaChangeHistoryByQuotaPaginator
(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) listRequestedServiceQuotaChangeHistoryPaginator
(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) listRequestedServiceQuotaChangeHistoryPaginator
(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) listServiceQuotaIncreaseRequestsInTemplate
(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) Lists the quota increase requests in the specified quota request template.listServiceQuotaIncreaseRequestsInTemplate
(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) Lists the quota increase requests in the specified quota request template.listServiceQuotaIncreaseRequestsInTemplatePaginator
(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) listServiceQuotaIncreaseRequestsInTemplatePaginator
(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) listServiceQuotas
(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) Lists the applied quota values for the specified Amazon Web Service.listServiceQuotas
(ListServiceQuotasRequest listServiceQuotasRequest) Lists the applied quota values for the specified Amazon Web Service.default ListServiceQuotasPublisher
listServiceQuotasPaginator
(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) This is a variant oflistServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)
operation.default ListServiceQuotasPublisher
listServiceQuotasPaginator
(ListServiceQuotasRequest listServiceQuotasRequest) This is a variant oflistServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)
operation.default CompletableFuture
<ListServicesResponse> listServices
(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default CompletableFuture
<ListServicesResponse> listServices
(ListServicesRequest listServicesRequest) Lists the names and codes for the Amazon Web Services integrated with Service Quotas.default ListServicesPublisher
listServicesPaginator
(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)
operation.default ListServicesPublisher
listServicesPaginator
(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags assigned to the specified applied quota.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags assigned to the specified applied quota.putServiceQuotaIncreaseRequestIntoTemplate
(Consumer<PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder> putServiceQuotaIncreaseRequestIntoTemplateRequest) Adds a quota increase request to your quota request template.putServiceQuotaIncreaseRequestIntoTemplate
(PutServiceQuotaIncreaseRequestIntoTemplateRequest putServiceQuotaIncreaseRequestIntoTemplateRequest) Adds a quota increase request to your quota request template.requestServiceQuotaIncrease
(Consumer<RequestServiceQuotaIncreaseRequest.Builder> requestServiceQuotaIncreaseRequest) Submits a quota increase request for the specified quota.requestServiceQuotaIncrease
(RequestServiceQuotaIncreaseRequest requestServiceQuotaIncreaseRequest) Submits a quota increase request for the specified quota.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to the specified applied quota.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds tags to the specified applied quota.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified applied quota.default CompletableFuture
<UntagResourceResponse> untagResource
(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 Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateServiceQuotaTemplate
default CompletableFuture<AssociateServiceQuotaTemplateResponse> associateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest associateServiceQuotaTemplateRequest) 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:
- A Java Future containing the result of the AssociateServiceQuotaTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
associateServiceQuotaTemplate
default CompletableFuture<AssociateServiceQuotaTemplateResponse> associateServiceQuotaTemplate(Consumer<AssociateServiceQuotaTemplateRequest.Builder> associateServiceQuotaTemplateRequest) 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.Builder
avoiding the need to create one manually viaAssociateServiceQuotaTemplateRequest.builder()
- Parameters:
associateServiceQuotaTemplateRequest
- AConsumer
that will call methods onAssociateServiceQuotaTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateServiceQuotaTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteServiceQuotaIncreaseRequestFromTemplate
default CompletableFuture<DeleteServiceQuotaIncreaseRequestFromTemplateResponse> deleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest deleteServiceQuotaIncreaseRequestFromTemplateRequest) Deletes the quota increase request for the specified quota from your quota request template.
- Parameters:
deleteServiceQuotaIncreaseRequestFromTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteServiceQuotaIncreaseRequestFromTemplate operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteServiceQuotaIncreaseRequestFromTemplate
default CompletableFuture<DeleteServiceQuotaIncreaseRequestFromTemplateResponse> deleteServiceQuotaIncreaseRequestFromTemplate(Consumer<DeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builder> deleteServiceQuotaIncreaseRequestFromTemplateRequest) 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.Builder
avoiding the need to create one manually viaDeleteServiceQuotaIncreaseRequestFromTemplateRequest.builder()
- Parameters:
deleteServiceQuotaIncreaseRequestFromTemplateRequest
- AConsumer
that will call methods onDeleteServiceQuotaIncreaseRequestFromTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteServiceQuotaIncreaseRequestFromTemplate operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
disassociateServiceQuotaTemplate
default CompletableFuture<DisassociateServiceQuotaTemplateResponse> disassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest disassociateServiceQuotaTemplateRequest) 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:
- A Java Future containing the result of the DisassociateServiceQuotaTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
disassociateServiceQuotaTemplate
default CompletableFuture<DisassociateServiceQuotaTemplateResponse> disassociateServiceQuotaTemplate(Consumer<DisassociateServiceQuotaTemplateRequest.Builder> disassociateServiceQuotaTemplateRequest) 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.Builder
avoiding the need to create one manually viaDisassociateServiceQuotaTemplateRequest.builder()
- Parameters:
disassociateServiceQuotaTemplateRequest
- AConsumer
that will call methods onDisassociateServiceQuotaTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateServiceQuotaTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getAWSDefaultServiceQuota
default CompletableFuture<GetAwsDefaultServiceQuotaResponse> getAWSDefaultServiceQuota(GetAwsDefaultServiceQuotaRequest getAwsDefaultServiceQuotaRequest) Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
- Parameters:
getAwsDefaultServiceQuotaRequest
-- Returns:
- A Java Future containing the result of the GetAWSDefaultServiceQuota operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getAWSDefaultServiceQuota
default CompletableFuture<GetAwsDefaultServiceQuotaResponse> getAWSDefaultServiceQuota(Consumer<GetAwsDefaultServiceQuotaRequest.Builder> getAwsDefaultServiceQuotaRequest) 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.Builder
avoiding the need to create one manually viaGetAwsDefaultServiceQuotaRequest.builder()
- Parameters:
getAwsDefaultServiceQuotaRequest
- AConsumer
that will call methods onGetAwsDefaultServiceQuotaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAWSDefaultServiceQuota operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getAssociationForServiceQuotaTemplate
default CompletableFuture<GetAssociationForServiceQuotaTemplateResponse> getAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest getAssociationForServiceQuotaTemplateRequest) Retrieves the status of the association for the quota request template.
- Parameters:
getAssociationForServiceQuotaTemplateRequest
-- Returns:
- A Java Future containing the result of the GetAssociationForServiceQuotaTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getAssociationForServiceQuotaTemplate
default CompletableFuture<GetAssociationForServiceQuotaTemplateResponse> getAssociationForServiceQuotaTemplate(Consumer<GetAssociationForServiceQuotaTemplateRequest.Builder> getAssociationForServiceQuotaTemplateRequest) Retrieves the status of the association for the quota request template.
This is a convenience which creates an instance of the
GetAssociationForServiceQuotaTemplateRequest.Builder
avoiding the need to create one manually viaGetAssociationForServiceQuotaTemplateRequest.builder()
- Parameters:
getAssociationForServiceQuotaTemplateRequest
- AConsumer
that will call methods onGetAssociationForServiceQuotaTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAssociationForServiceQuotaTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getRequestedServiceQuotaChange
default CompletableFuture<GetRequestedServiceQuotaChangeResponse> getRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest getRequestedServiceQuotaChangeRequest) Retrieves information about the specified quota increase request.
- Parameters:
getRequestedServiceQuotaChangeRequest
-- Returns:
- A Java Future containing the result of the GetRequestedServiceQuotaChange operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getRequestedServiceQuotaChange
default CompletableFuture<GetRequestedServiceQuotaChangeResponse> getRequestedServiceQuotaChange(Consumer<GetRequestedServiceQuotaChangeRequest.Builder> getRequestedServiceQuotaChangeRequest) Retrieves information about the specified quota increase request.
This is a convenience which creates an instance of the
GetRequestedServiceQuotaChangeRequest.Builder
avoiding the need to create one manually viaGetRequestedServiceQuotaChangeRequest.builder()
- Parameters:
getRequestedServiceQuotaChangeRequest
- AConsumer
that will call methods onGetRequestedServiceQuotaChangeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRequestedServiceQuotaChange operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getServiceQuota
default CompletableFuture<GetServiceQuotaResponse> getServiceQuota(GetServiceQuotaRequest getServiceQuotaRequest) 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:
- A Java Future containing the result of the GetServiceQuota operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getServiceQuota
default CompletableFuture<GetServiceQuotaResponse> getServiceQuota(Consumer<GetServiceQuotaRequest.Builder> getServiceQuotaRequest) 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.Builder
avoiding the need to create one manually viaGetServiceQuotaRequest.builder()
- Parameters:
getServiceQuotaRequest
- AConsumer
that will call methods onGetServiceQuotaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceQuota operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getServiceQuotaIncreaseRequestFromTemplate
default CompletableFuture<GetServiceQuotaIncreaseRequestFromTemplateResponse> getServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest getServiceQuotaIncreaseRequestFromTemplateRequest) Retrieves information about the specified quota increase request in your quota request template.
- Parameters:
getServiceQuotaIncreaseRequestFromTemplateRequest
-- Returns:
- A Java Future containing the result of the GetServiceQuotaIncreaseRequestFromTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getServiceQuotaIncreaseRequestFromTemplate
default CompletableFuture<GetServiceQuotaIncreaseRequestFromTemplateResponse> getServiceQuotaIncreaseRequestFromTemplate(Consumer<GetServiceQuotaIncreaseRequestFromTemplateRequest.Builder> getServiceQuotaIncreaseRequestFromTemplateRequest) Retrieves information about the specified quota increase request in your quota request template.
This is a convenience which creates an instance of the
GetServiceQuotaIncreaseRequestFromTemplateRequest.Builder
avoiding the need to create one manually viaGetServiceQuotaIncreaseRequestFromTemplateRequest.builder()
- Parameters:
getServiceQuotaIncreaseRequestFromTemplateRequest
- AConsumer
that will call methods onGetServiceQuotaIncreaseRequestFromTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceQuotaIncreaseRequestFromTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAWSDefaultServiceQuotas
default CompletableFuture<ListAwsDefaultServiceQuotasResponse> listAWSDefaultServiceQuotas(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) 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:
- A Java Future containing the result of the ListAWSDefaultServiceQuotas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAWSDefaultServiceQuotas
default CompletableFuture<ListAwsDefaultServiceQuotasResponse> listAWSDefaultServiceQuotas(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) 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.Builder
avoiding the need to create one manually viaListAwsDefaultServiceQuotasRequest.builder()
- Parameters:
listAwsDefaultServiceQuotasRequest
- AConsumer
that will call methods onListAwsDefaultServiceQuotasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAWSDefaultServiceQuotas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAWSDefaultServiceQuotasPaginator
default ListAWSDefaultServiceQuotasPublisher listAWSDefaultServiceQuotasPaginator(ListAwsDefaultServiceQuotasRequest listAwsDefaultServiceQuotasRequest) This is a variant of
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasPublisher publisher = client.listAWSDefaultServiceQuotasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasPublisher publisher = client.listAWSDefaultServiceQuotasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAWSDefaultServiceQuotasPaginator
default ListAWSDefaultServiceQuotasPublisher listAWSDefaultServiceQuotasPaginator(Consumer<ListAwsDefaultServiceQuotasRequest.Builder> listAwsDefaultServiceQuotasRequest) This is a variant of
listAWSDefaultServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasPublisher publisher = client.listAWSDefaultServiceQuotasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListAWSDefaultServiceQuotasPublisher publisher = client.listAWSDefaultServiceQuotasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListAwsDefaultServiceQuotasResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListAwsDefaultServiceQuotasRequest.builder()
- Parameters:
listAwsDefaultServiceQuotasRequest
- AConsumer
that will call methods onListAwsDefaultServiceQuotasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistory
default CompletableFuture<ListRequestedServiceQuotaChangeHistoryResponse> listRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) Retrieves the quota increase requests for the specified Amazon Web Service.
- Parameters:
listRequestedServiceQuotaChangeHistoryRequest
-- Returns:
- A Java Future containing the result of the ListRequestedServiceQuotaChangeHistory operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistory
default CompletableFuture<ListRequestedServiceQuotaChangeHistoryResponse> listRequestedServiceQuotaChangeHistory(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) Retrieves the quota increase requests for the specified Amazon Web Service.
This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryRequest.Builder
avoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryRequest.builder()
- Parameters:
listRequestedServiceQuotaChangeHistoryRequest
- AConsumer
that will call methods onListRequestedServiceQuotaChangeHistoryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRequestedServiceQuotaChangeHistory operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryByQuota
default CompletableFuture<ListRequestedServiceQuotaChangeHistoryByQuotaResponse> listRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) Retrieves the quota increase requests for the specified quota.
- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest
-- Returns:
- A Java Future containing the result of the ListRequestedServiceQuotaChangeHistoryByQuota operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryByQuota
default CompletableFuture<ListRequestedServiceQuotaChangeHistoryByQuotaResponse> listRequestedServiceQuotaChangeHistoryByQuota(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) Retrieves the quota increase requests for the specified quota.
This is a convenience which creates an instance of the
ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder
avoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryByQuotaRequest.builder()
- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest
- AConsumer
that will call methods onListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRequestedServiceQuotaChangeHistoryByQuota operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryByQuotaPaginator
default ListRequestedServiceQuotaChangeHistoryByQuotaPublisher listRequestedServiceQuotaChangeHistoryByQuotaPaginator(ListRequestedServiceQuotaChangeHistoryByQuotaRequest listRequestedServiceQuotaChangeHistoryByQuotaRequest) This is a variant of
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaPublisher publisher = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaPublisher publisher = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryByQuotaPaginator
default ListRequestedServiceQuotaChangeHistoryByQuotaPublisher listRequestedServiceQuotaChangeHistoryByQuotaPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder> listRequestedServiceQuotaChangeHistoryByQuotaRequest) This is a variant of
listRequestedServiceQuotaChangeHistoryByQuota(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaPublisher publisher = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryByQuotaPublisher publisher = client.listRequestedServiceQuotaChangeHistoryByQuotaPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryByQuotaResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryByQuotaRequest.builder()
- Parameters:
listRequestedServiceQuotaChangeHistoryByQuotaRequest
- AConsumer
that will call methods onListRequestedServiceQuotaChangeHistoryByQuotaRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryPaginator
default ListRequestedServiceQuotaChangeHistoryPublisher listRequestedServiceQuotaChangeHistoryPaginator(ListRequestedServiceQuotaChangeHistoryRequest listRequestedServiceQuotaChangeHistoryRequest) This is a variant of
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryPublisher publisher = client.listRequestedServiceQuotaChangeHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryPublisher publisher = client.listRequestedServiceQuotaChangeHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRequestedServiceQuotaChangeHistoryPaginator
default ListRequestedServiceQuotaChangeHistoryPublisher listRequestedServiceQuotaChangeHistoryPaginator(Consumer<ListRequestedServiceQuotaChangeHistoryRequest.Builder> listRequestedServiceQuotaChangeHistoryRequest) This is a variant of
listRequestedServiceQuotaChangeHistory(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryPublisher publisher = client.listRequestedServiceQuotaChangeHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListRequestedServiceQuotaChangeHistoryPublisher publisher = client.listRequestedServiceQuotaChangeHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListRequestedServiceQuotaChangeHistoryResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListRequestedServiceQuotaChangeHistoryRequest.builder()
- Parameters:
listRequestedServiceQuotaChangeHistoryRequest
- AConsumer
that will call methods onListRequestedServiceQuotaChangeHistoryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotaIncreaseRequestsInTemplate
default CompletableFuture<ListServiceQuotaIncreaseRequestsInTemplateResponse> listServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) Lists the quota increase requests in the specified quota request template.
- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest
-- Returns:
- A Java Future containing the result of the ListServiceQuotaIncreaseRequestsInTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotaIncreaseRequestsInTemplate
default CompletableFuture<ListServiceQuotaIncreaseRequestsInTemplateResponse> listServiceQuotaIncreaseRequestsInTemplate(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) Lists the quota increase requests in the specified quota request template.
This is a convenience which creates an instance of the
ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder
avoiding the need to create one manually viaListServiceQuotaIncreaseRequestsInTemplateRequest.builder()
- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest
- AConsumer
that will call methods onListServiceQuotaIncreaseRequestsInTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceQuotaIncreaseRequestsInTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotaIncreaseRequestsInTemplatePaginator
default ListServiceQuotaIncreaseRequestsInTemplatePublisher listServiceQuotaIncreaseRequestsInTemplatePaginator(ListServiceQuotaIncreaseRequestsInTemplateRequest listServiceQuotaIncreaseRequestsInTemplateRequest) This is a variant of
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplatePublisher publisher = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplatePublisher publisher = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotaIncreaseRequestsInTemplatePaginator
default ListServiceQuotaIncreaseRequestsInTemplatePublisher listServiceQuotaIncreaseRequestsInTemplatePaginator(Consumer<ListServiceQuotaIncreaseRequestsInTemplateRequest.Builder> listServiceQuotaIncreaseRequestsInTemplateRequest) This is a variant of
listServiceQuotaIncreaseRequestsInTemplate(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplatePublisher publisher = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotaIncreaseRequestsInTemplatePublisher publisher = client.listServiceQuotaIncreaseRequestsInTemplatePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotaIncreaseRequestsInTemplateResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListServiceQuotaIncreaseRequestsInTemplateRequest.builder()
- Parameters:
listServiceQuotaIncreaseRequestsInTemplateRequest
- AConsumer
that will call methods onListServiceQuotaIncreaseRequestsInTemplateRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotas
default CompletableFuture<ListServiceQuotasResponse> listServiceQuotas(ListServiceQuotasRequest listServiceQuotasRequest) 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:
- A Java Future containing the result of the ListServiceQuotas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotas
default CompletableFuture<ListServiceQuotasResponse> listServiceQuotas(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) 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.Builder
avoiding the need to create one manually viaListServiceQuotasRequest.builder()
- Parameters:
listServiceQuotasRequest
- AConsumer
that will call methods onListServiceQuotasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceQuotas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotasPaginator
default ListServiceQuotasPublisher listServiceQuotasPaginator(ListServiceQuotasRequest listServiceQuotasRequest) This is a variant of
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasPublisher publisher = client.listServiceQuotasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasPublisher publisher = client.listServiceQuotasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServiceQuotasPaginator
default ListServiceQuotasPublisher listServiceQuotasPaginator(Consumer<ListServiceQuotasRequest.Builder> listServiceQuotasRequest) This is a variant of
listServiceQuotas(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasPublisher publisher = client.listServiceQuotasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServiceQuotasPublisher publisher = client.listServiceQuotasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServiceQuotasResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListServiceQuotasRequest.builder()
- Parameters:
listServiceQuotasRequest
- AConsumer
that will call methods onListServiceQuotasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
- Parameters:
listServicesRequest
-- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) 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.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServicesPaginator
This is a variant of
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServicesResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listServicesPaginator
default ListServicesPublisher listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant of
listServices(software.amazon.awssdk.services.servicequotas.model.ListServicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicequotas.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicequotas.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicequotas.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicequotas.model.ListServicesResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags assigned to the specified applied quota.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags assigned to the specified applied quota.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
putServiceQuotaIncreaseRequestIntoTemplate
default CompletableFuture<PutServiceQuotaIncreaseRequestIntoTemplateResponse> putServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest putServiceQuotaIncreaseRequestIntoTemplateRequest) Adds a quota increase request to your quota request template.
- Parameters:
putServiceQuotaIncreaseRequestIntoTemplateRequest
-- Returns:
- A Java Future containing the result of the PutServiceQuotaIncreaseRequestIntoTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
putServiceQuotaIncreaseRequestIntoTemplate
default CompletableFuture<PutServiceQuotaIncreaseRequestIntoTemplateResponse> putServiceQuotaIncreaseRequestIntoTemplate(Consumer<PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder> putServiceQuotaIncreaseRequestIntoTemplateRequest) Adds a quota increase request to your quota request template.
This is a convenience which creates an instance of the
PutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder
avoiding the need to create one manually viaPutServiceQuotaIncreaseRequestIntoTemplateRequest.builder()
- Parameters:
putServiceQuotaIncreaseRequestIntoTemplateRequest
- AConsumer
that will call methods onPutServiceQuotaIncreaseRequestIntoTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutServiceQuotaIncreaseRequestIntoTemplate operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
requestServiceQuotaIncrease
default CompletableFuture<RequestServiceQuotaIncreaseResponse> requestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest requestServiceQuotaIncreaseRequest) Submits a quota increase request for the specified quota.
- Parameters:
requestServiceQuotaIncreaseRequest
-- Returns:
- A Java Future containing the result of the RequestServiceQuotaIncrease operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
requestServiceQuotaIncrease
default CompletableFuture<RequestServiceQuotaIncreaseResponse> requestServiceQuotaIncrease(Consumer<RequestServiceQuotaIncreaseRequest.Builder> requestServiceQuotaIncreaseRequest) Submits a quota increase request for the specified quota.
This is a convenience which creates an instance of the
RequestServiceQuotaIncreaseRequest.Builder
avoiding the need to create one manually viaRequestServiceQuotaIncreaseRequest.builder()
- Parameters:
requestServiceQuotaIncreaseRequest
- AConsumer
that will call methods onRequestServiceQuotaIncreaseRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RequestServiceQuotaIncrease operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from the specified applied quota. You can specify one or more tags to remove.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aServiceQuotasAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aServiceQuotasAsyncClient
.
-