/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the service-quotas-2019-06-24.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ServiceQuotas.Model;
namespace Amazon.ServiceQuotas
{
///
/// Interface for accessing ServiceQuotas
///
/// With Service Quotas, you can view and manage your quotas easily as your AWS workloads
/// grow. Quotas, also referred to as limits, are the maximum number of resources that
/// you can create in your AWS account. For more information, see the Service
/// Quotas User Guide.
///
public partial interface IAmazonServiceQuotas : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IServiceQuotasPaginatorFactory Paginators { get; }
#endif
#region AssociateServiceQuotaTemplate
///
/// Associates your quota request template with your organization. When a new 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.
///
/// Container for the necessary parameters to execute the AssociateServiceQuotaTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateServiceQuotaTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// The account making this call is not a member of an organization.
///
///
/// The organization that your account belongs to is not in All Features mode.
///
///
/// Something went wrong.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for AssociateServiceQuotaTemplate Operation
Task AssociateServiceQuotaTemplateAsync(AssociateServiceQuotaTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteServiceQuotaIncreaseRequestFromTemplate
///
/// Deletes the quota increase request for the specified quota from your quota request
/// template.
///
/// Container for the necessary parameters to execute the DeleteServiceQuotaIncreaseRequestFromTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteServiceQuotaIncreaseRequestFromTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// Invalid input was provided.
///
///
/// The account making this call is not a member of an organization.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for DeleteServiceQuotaIncreaseRequestFromTemplate Operation
Task DeleteServiceQuotaIncreaseRequestFromTemplateAsync(DeleteServiceQuotaIncreaseRequestFromTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateServiceQuotaTemplate
///
/// Disables your quota request template. After a template is disabled, the quota increase
/// requests in the template are not applied to new accounts in your organization. Disabling
/// a quota request template does not apply its quota increase requests.
///
/// Container for the necessary parameters to execute the DisassociateServiceQuotaTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateServiceQuotaTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// The account making this call is not a member of an organization.
///
///
/// Something went wrong.
///
///
/// The quota request template is not associated with your organization.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for DisassociateServiceQuotaTemplate Operation
Task DisassociateServiceQuotaTemplateAsync(DisassociateServiceQuotaTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssociationForServiceQuotaTemplate
///
/// Retrieves the status of the association for the quota request template.
///
/// Container for the necessary parameters to execute the GetAssociationForServiceQuotaTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAssociationForServiceQuotaTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// The account making this call is not a member of an organization.
///
///
/// Something went wrong.
///
///
/// The quota request template is not associated with your organization.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for GetAssociationForServiceQuotaTemplate Operation
Task GetAssociationForServiceQuotaTemplateAsync(GetAssociationForServiceQuotaTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAWSDefaultServiceQuota
///
/// Retrieves the default value for the specified quota. The default value does not reflect
/// any quota increases.
///
/// Container for the necessary parameters to execute the GetAWSDefaultServiceQuota service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAWSDefaultServiceQuota service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for GetAWSDefaultServiceQuota Operation
Task GetAWSDefaultServiceQuotaAsync(GetAWSDefaultServiceQuotaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRequestedServiceQuotaChange
///
/// Retrieves information about the specified quota increase request.
///
/// Container for the necessary parameters to execute the GetRequestedServiceQuotaChange service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRequestedServiceQuotaChange service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for GetRequestedServiceQuotaChange Operation
Task GetRequestedServiceQuotaChangeAsync(GetRequestedServiceQuotaChangeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServiceQuota
///
/// 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.
///
/// Container for the necessary parameters to execute the GetServiceQuota service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceQuota service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for GetServiceQuota Operation
Task GetServiceQuotaAsync(GetServiceQuotaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServiceQuotaIncreaseRequestFromTemplate
///
/// Retrieves information about the specified quota increase request in your quota request
/// template.
///
/// Container for the necessary parameters to execute the GetServiceQuotaIncreaseRequestFromTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceQuotaIncreaseRequestFromTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// Invalid input was provided.
///
///
/// The account making this call is not a member of an organization.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for GetServiceQuotaIncreaseRequestFromTemplate Operation
Task GetServiceQuotaIncreaseRequestFromTemplateAsync(GetServiceQuotaIncreaseRequestFromTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAWSDefaultServiceQuotas
///
/// Lists the default values for the quotas for the specified AWS service. A default value
/// does not reflect any quota increases.
///
/// Container for the necessary parameters to execute the ListAWSDefaultServiceQuotas service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAWSDefaultServiceQuotas service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListAWSDefaultServiceQuotas Operation
Task ListAWSDefaultServiceQuotasAsync(ListAWSDefaultServiceQuotasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRequestedServiceQuotaChangeHistory
///
/// Retrieves the quota increase requests for the specified service.
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRequestedServiceQuotaChangeHistory service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListRequestedServiceQuotaChangeHistory Operation
Task ListRequestedServiceQuotaChangeHistoryAsync(ListRequestedServiceQuotaChangeHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRequestedServiceQuotaChangeHistoryByQuota
///
/// Retrieves the quota increase requests for the specified quota.
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistoryByQuota service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRequestedServiceQuotaChangeHistoryByQuota service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListRequestedServiceQuotaChangeHistoryByQuota Operation
Task ListRequestedServiceQuotaChangeHistoryByQuotaAsync(ListRequestedServiceQuotaChangeHistoryByQuotaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServiceQuotaIncreaseRequestsInTemplate
///
/// Lists the quota increase requests in the specified quota request template.
///
/// Container for the necessary parameters to execute the ListServiceQuotaIncreaseRequestsInTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServiceQuotaIncreaseRequestsInTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// Invalid input was provided.
///
///
/// The account making this call is not a member of an organization.
///
///
/// Something went wrong.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListServiceQuotaIncreaseRequestsInTemplate Operation
Task ListServiceQuotaIncreaseRequestsInTemplateAsync(ListServiceQuotaIncreaseRequestsInTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServiceQuotas
///
/// Lists the applied quota values for the specified AWS 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.
///
/// Container for the necessary parameters to execute the ListServiceQuotas service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServiceQuotas service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListServiceQuotas Operation
Task ListServiceQuotasAsync(ListServiceQuotasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServices
///
/// Lists the names and codes for the services integrated with Service Quotas.
///
/// Container for the necessary parameters to execute the ListServices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServices service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// Invalid input was provided.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListServices Operation
Task ListServicesAsync(ListServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Returns a list of the tags assigned to the specified applied quota.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutServiceQuotaIncreaseRequestIntoTemplate
///
/// Adds a quota increase request to your quota request template.
///
/// Container for the necessary parameters to execute the PutServiceQuotaIncreaseRequestIntoTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutServiceQuotaIncreaseRequestIntoTemplate service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// The action you attempted is not allowed unless Service Access with Service Quotas
/// is enabled in your organization.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// Invalid input was provided.
///
///
/// The account making this call is not a member of an organization.
///
///
/// The specified resource does not exist.
///
///
/// 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.
///
///
/// Something went wrong.
///
///
/// The Service Quotas template is not available in this AWS Region.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for PutServiceQuotaIncreaseRequestIntoTemplate Operation
Task PutServiceQuotaIncreaseRequestIntoTemplateAsync(PutServiceQuotaIncreaseRequestIntoTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RequestServiceQuotaIncrease
///
/// Submits a quota increase request for the specified quota.
///
/// Container for the necessary parameters to execute the RequestServiceQuotaIncrease service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RequestServiceQuotaIncrease service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// You can't perform this action because a dependency does not have access.
///
///
/// Invalid input was provided.
///
///
/// The resource is in an invalid state.
///
///
/// The specified resource does not exist.
///
///
/// 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.
///
///
/// The specified resource already exists.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for RequestServiceQuotaIncrease Operation
Task RequestServiceQuotaIncreaseAsync(RequestServiceQuotaIncreaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds tags to the specified applied quota. You can include one or more tags to add
/// to the quota.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// The specified tag is a reserved word and cannot be used.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
///
/// You've exceeded the number of tags allowed for a resource. For more information, see
/// Tag
/// restrictions in the Service Quotas User Guide.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes tags from the specified applied quota. You can specify one or more tags to
/// remove.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by ServiceQuotas.
///
/// You do not have sufficient permission to perform this action.
///
///
/// Invalid input was provided.
///
///
/// The specified resource does not exist.
///
///
/// Something went wrong.
///
///
/// Due to throttling, the request was denied. Slow down the rate of request calls, or
/// request an increase for this quota.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}