/*
* 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.Collections.Generic;
using System.Net;
using Amazon.ServiceQuotas.Model;
using Amazon.ServiceQuotas.Model.Internal.MarshallTransformations;
using Amazon.ServiceQuotas.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ServiceQuotas
{
///
/// Implementation 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 class AmazonServiceQuotasClient : AmazonServiceClient, IAmazonServiceQuotas
{
private static IServiceMetadata serviceMetadata = new AmazonServiceQuotasMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IServiceQuotasPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IServiceQuotasPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new ServiceQuotasPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonServiceQuotasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonServiceQuotasClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonServiceQuotasConfig()) { }
///
/// Constructs AmazonServiceQuotasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonServiceQuotasClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonServiceQuotasConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonServiceQuotasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonServiceQuotasClient Configuration Object
public AmazonServiceQuotasClient(AmazonServiceQuotasConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonServiceQuotasClient with AWS Credentials
///
/// AWS Credentials
public AmazonServiceQuotasClient(AWSCredentials credentials)
: this(credentials, new AmazonServiceQuotasConfig())
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonServiceQuotasClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonServiceQuotasConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Credentials and an
/// AmazonServiceQuotasClient Configuration object.
///
/// AWS Credentials
/// The AmazonServiceQuotasClient Configuration Object
public AmazonServiceQuotasClient(AWSCredentials credentials, AmazonServiceQuotasConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonServiceQuotasConfig())
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonServiceQuotasConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonServiceQuotasClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonServiceQuotasClient Configuration Object
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonServiceQuotasConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonServiceQuotasConfig())
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonServiceQuotasConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonServiceQuotasClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonServiceQuotasClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonServiceQuotasClient Configuration Object
public AmazonServiceQuotasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonServiceQuotasConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonServiceQuotasEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#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.
///
/// 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
public virtual AssociateServiceQuotaTemplateResponse AssociateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateServiceQuotaTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateServiceQuotaTemplate operation.
///
///
/// Container for the necessary parameters to execute the AssociateServiceQuotaTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateServiceQuotaTemplate
/// operation.
/// REST API Reference for AssociateServiceQuotaTemplate Operation
public virtual IAsyncResult BeginAssociateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateServiceQuotaTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateServiceQuotaTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateServiceQuotaTemplate.
///
/// Returns a AssociateServiceQuotaTemplateResult from ServiceQuotas.
/// REST API Reference for AssociateServiceQuotaTemplate Operation
public virtual AssociateServiceQuotaTemplateResponse EndAssociateServiceQuotaTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual DeleteServiceQuotaIncreaseRequestFromTemplateResponse DeleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServiceQuotaIncreaseRequestFromTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServiceQuotaIncreaseRequestFromTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteServiceQuotaIncreaseRequestFromTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteServiceQuotaIncreaseRequestFromTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteServiceQuotaIncreaseRequestFromTemplate
/// operation.
/// REST API Reference for DeleteServiceQuotaIncreaseRequestFromTemplate Operation
public virtual IAsyncResult BeginDeleteServiceQuotaIncreaseRequestFromTemplate(DeleteServiceQuotaIncreaseRequestFromTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServiceQuotaIncreaseRequestFromTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServiceQuotaIncreaseRequestFromTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteServiceQuotaIncreaseRequestFromTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteServiceQuotaIncreaseRequestFromTemplate.
///
/// Returns a DeleteServiceQuotaIncreaseRequestFromTemplateResult from ServiceQuotas.
/// REST API Reference for DeleteServiceQuotaIncreaseRequestFromTemplate Operation
public virtual DeleteServiceQuotaIncreaseRequestFromTemplateResponse EndDeleteServiceQuotaIncreaseRequestFromTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual DisassociateServiceQuotaTemplateResponse DisassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateServiceQuotaTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateServiceQuotaTemplate operation.
///
///
/// Container for the necessary parameters to execute the DisassociateServiceQuotaTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateServiceQuotaTemplate
/// operation.
/// REST API Reference for DisassociateServiceQuotaTemplate Operation
public virtual IAsyncResult BeginDisassociateServiceQuotaTemplate(DisassociateServiceQuotaTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateServiceQuotaTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateServiceQuotaTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateServiceQuotaTemplate.
///
/// Returns a DisassociateServiceQuotaTemplateResult from ServiceQuotas.
/// REST API Reference for DisassociateServiceQuotaTemplate Operation
public virtual DisassociateServiceQuotaTemplateResponse EndDisassociateServiceQuotaTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual GetAssociationForServiceQuotaTemplateResponse GetAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociationForServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociationForServiceQuotaTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAssociationForServiceQuotaTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetAssociationForServiceQuotaTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAssociationForServiceQuotaTemplate
/// operation.
/// REST API Reference for GetAssociationForServiceQuotaTemplate Operation
public virtual IAsyncResult BeginGetAssociationForServiceQuotaTemplate(GetAssociationForServiceQuotaTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociationForServiceQuotaTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociationForServiceQuotaTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAssociationForServiceQuotaTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAssociationForServiceQuotaTemplate.
///
/// Returns a GetAssociationForServiceQuotaTemplateResult from ServiceQuotas.
/// REST API Reference for GetAssociationForServiceQuotaTemplate Operation
public virtual GetAssociationForServiceQuotaTemplateResponse EndGetAssociationForServiceQuotaTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual GetAWSDefaultServiceQuotaResponse GetAWSDefaultServiceQuota(GetAWSDefaultServiceQuotaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAWSDefaultServiceQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAWSDefaultServiceQuotaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAWSDefaultServiceQuota operation.
///
///
/// Container for the necessary parameters to execute the GetAWSDefaultServiceQuota operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAWSDefaultServiceQuota
/// operation.
/// REST API Reference for GetAWSDefaultServiceQuota Operation
public virtual IAsyncResult BeginGetAWSDefaultServiceQuota(GetAWSDefaultServiceQuotaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAWSDefaultServiceQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAWSDefaultServiceQuotaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAWSDefaultServiceQuota operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAWSDefaultServiceQuota.
///
/// Returns a GetAWSDefaultServiceQuotaResult from ServiceQuotas.
/// REST API Reference for GetAWSDefaultServiceQuota Operation
public virtual GetAWSDefaultServiceQuotaResponse EndGetAWSDefaultServiceQuota(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetRequestedServiceQuotaChange
///
/// Retrieves information about the specified quota increase request.
///
/// Container for the necessary parameters to execute the GetRequestedServiceQuotaChange service method.
///
/// 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
public virtual GetRequestedServiceQuotaChangeResponse GetRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestedServiceQuotaChangeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestedServiceQuotaChangeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetRequestedServiceQuotaChange operation.
///
///
/// Container for the necessary parameters to execute the GetRequestedServiceQuotaChange operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRequestedServiceQuotaChange
/// operation.
/// REST API Reference for GetRequestedServiceQuotaChange Operation
public virtual IAsyncResult BeginGetRequestedServiceQuotaChange(GetRequestedServiceQuotaChangeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestedServiceQuotaChangeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestedServiceQuotaChangeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetRequestedServiceQuotaChange operation.
///
///
/// The IAsyncResult returned by the call to BeginGetRequestedServiceQuotaChange.
///
/// Returns a GetRequestedServiceQuotaChangeResult from ServiceQuotas.
/// REST API Reference for GetRequestedServiceQuotaChange Operation
public virtual GetRequestedServiceQuotaChangeResponse EndGetRequestedServiceQuotaChange(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual GetServiceQuotaResponse GetServiceQuota(GetServiceQuotaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceQuotaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetServiceQuota operation.
///
///
/// Container for the necessary parameters to execute the GetServiceQuota operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetServiceQuota
/// operation.
/// REST API Reference for GetServiceQuota Operation
public virtual IAsyncResult BeginGetServiceQuota(GetServiceQuotaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceQuotaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetServiceQuota operation.
///
///
/// The IAsyncResult returned by the call to BeginGetServiceQuota.
///
/// Returns a GetServiceQuotaResult from ServiceQuotas.
/// REST API Reference for GetServiceQuota Operation
public virtual GetServiceQuotaResponse EndGetServiceQuota(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual GetServiceQuotaIncreaseRequestFromTemplateResponse GetServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceQuotaIncreaseRequestFromTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceQuotaIncreaseRequestFromTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetServiceQuotaIncreaseRequestFromTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetServiceQuotaIncreaseRequestFromTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetServiceQuotaIncreaseRequestFromTemplate
/// operation.
/// REST API Reference for GetServiceQuotaIncreaseRequestFromTemplate Operation
public virtual IAsyncResult BeginGetServiceQuotaIncreaseRequestFromTemplate(GetServiceQuotaIncreaseRequestFromTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceQuotaIncreaseRequestFromTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceQuotaIncreaseRequestFromTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetServiceQuotaIncreaseRequestFromTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginGetServiceQuotaIncreaseRequestFromTemplate.
///
/// Returns a GetServiceQuotaIncreaseRequestFromTemplateResult from ServiceQuotas.
/// REST API Reference for GetServiceQuotaIncreaseRequestFromTemplate Operation
public virtual GetServiceQuotaIncreaseRequestFromTemplateResponse EndGetServiceQuotaIncreaseRequestFromTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListAWSDefaultServiceQuotasResponse ListAWSDefaultServiceQuotas(ListAWSDefaultServiceQuotasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAWSDefaultServiceQuotasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAWSDefaultServiceQuotasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAWSDefaultServiceQuotas operation.
///
///
/// Container for the necessary parameters to execute the ListAWSDefaultServiceQuotas operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAWSDefaultServiceQuotas
/// operation.
/// REST API Reference for ListAWSDefaultServiceQuotas Operation
public virtual IAsyncResult BeginListAWSDefaultServiceQuotas(ListAWSDefaultServiceQuotasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAWSDefaultServiceQuotasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAWSDefaultServiceQuotasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAWSDefaultServiceQuotas operation.
///
///
/// The IAsyncResult returned by the call to BeginListAWSDefaultServiceQuotas.
///
/// Returns a ListAWSDefaultServiceQuotasResult from ServiceQuotas.
/// REST API Reference for ListAWSDefaultServiceQuotas Operation
public virtual ListAWSDefaultServiceQuotasResponse EndListAWSDefaultServiceQuotas(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRequestedServiceQuotaChangeHistory
///
/// Retrieves the quota increase requests for the specified service.
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistory service method.
///
/// 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
public virtual ListRequestedServiceQuotaChangeHistoryResponse ListRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRequestedServiceQuotaChangeHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRequestedServiceQuotaChangeHistoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRequestedServiceQuotaChangeHistory operation.
///
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistory operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRequestedServiceQuotaChangeHistory
/// operation.
/// REST API Reference for ListRequestedServiceQuotaChangeHistory Operation
public virtual IAsyncResult BeginListRequestedServiceQuotaChangeHistory(ListRequestedServiceQuotaChangeHistoryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRequestedServiceQuotaChangeHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRequestedServiceQuotaChangeHistoryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRequestedServiceQuotaChangeHistory operation.
///
///
/// The IAsyncResult returned by the call to BeginListRequestedServiceQuotaChangeHistory.
///
/// Returns a ListRequestedServiceQuotaChangeHistoryResult from ServiceQuotas.
/// REST API Reference for ListRequestedServiceQuotaChangeHistory Operation
public virtual ListRequestedServiceQuotaChangeHistoryResponse EndListRequestedServiceQuotaChangeHistory(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRequestedServiceQuotaChangeHistoryByQuota
///
/// Retrieves the quota increase requests for the specified quota.
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistoryByQuota service method.
///
/// 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
public virtual ListRequestedServiceQuotaChangeHistoryByQuotaResponse ListRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRequestedServiceQuotaChangeHistoryByQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRequestedServiceQuotaChangeHistoryByQuotaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRequestedServiceQuotaChangeHistoryByQuota operation.
///
///
/// Container for the necessary parameters to execute the ListRequestedServiceQuotaChangeHistoryByQuota operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRequestedServiceQuotaChangeHistoryByQuota
/// operation.
/// REST API Reference for ListRequestedServiceQuotaChangeHistoryByQuota Operation
public virtual IAsyncResult BeginListRequestedServiceQuotaChangeHistoryByQuota(ListRequestedServiceQuotaChangeHistoryByQuotaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRequestedServiceQuotaChangeHistoryByQuotaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRequestedServiceQuotaChangeHistoryByQuotaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRequestedServiceQuotaChangeHistoryByQuota operation.
///
///
/// The IAsyncResult returned by the call to BeginListRequestedServiceQuotaChangeHistoryByQuota.
///
/// Returns a ListRequestedServiceQuotaChangeHistoryByQuotaResult from ServiceQuotas.
/// REST API Reference for ListRequestedServiceQuotaChangeHistoryByQuota Operation
public virtual ListRequestedServiceQuotaChangeHistoryByQuotaResponse EndListRequestedServiceQuotaChangeHistoryByQuota(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListServiceQuotaIncreaseRequestsInTemplateResponse ListServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServiceQuotaIncreaseRequestsInTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServiceQuotaIncreaseRequestsInTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListServiceQuotaIncreaseRequestsInTemplate operation.
///
///
/// Container for the necessary parameters to execute the ListServiceQuotaIncreaseRequestsInTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListServiceQuotaIncreaseRequestsInTemplate
/// operation.
/// REST API Reference for ListServiceQuotaIncreaseRequestsInTemplate Operation
public virtual IAsyncResult BeginListServiceQuotaIncreaseRequestsInTemplate(ListServiceQuotaIncreaseRequestsInTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServiceQuotaIncreaseRequestsInTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServiceQuotaIncreaseRequestsInTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListServiceQuotaIncreaseRequestsInTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginListServiceQuotaIncreaseRequestsInTemplate.
///
/// Returns a ListServiceQuotaIncreaseRequestsInTemplateResult from ServiceQuotas.
/// REST API Reference for ListServiceQuotaIncreaseRequestsInTemplate Operation
public virtual ListServiceQuotaIncreaseRequestsInTemplateResponse EndListServiceQuotaIncreaseRequestsInTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListServiceQuotasResponse ListServiceQuotas(ListServiceQuotasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServiceQuotasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServiceQuotasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListServiceQuotas operation.
///
///
/// Container for the necessary parameters to execute the ListServiceQuotas operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListServiceQuotas
/// operation.
/// REST API Reference for ListServiceQuotas Operation
public virtual IAsyncResult BeginListServiceQuotas(ListServiceQuotasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServiceQuotasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServiceQuotasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListServiceQuotas operation.
///
///
/// The IAsyncResult returned by the call to BeginListServiceQuotas.
///
/// Returns a ListServiceQuotasResult from ServiceQuotas.
/// REST API Reference for ListServiceQuotas Operation
public virtual ListServiceQuotasResponse EndListServiceQuotas(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListServicesResponse ListServices(ListServicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListServices operation.
///
///
/// Container for the necessary parameters to execute the ListServices operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListServices
/// operation.
/// REST API Reference for ListServices Operation
public virtual IAsyncResult BeginListServices(ListServicesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServicesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListServices operation.
///
///
/// The IAsyncResult returned by the call to BeginListServices.
///
/// Returns a ListServicesResult from ServiceQuotas.
/// REST API Reference for ListServices Operation
public virtual ListServicesResponse EndListServices(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from ServiceQuotas.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutServiceQuotaIncreaseRequestIntoTemplate
///
/// Adds a quota increase request to your quota request template.
///
/// Container for the necessary parameters to execute the PutServiceQuotaIncreaseRequestIntoTemplate service method.
///
/// 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
public virtual PutServiceQuotaIncreaseRequestIntoTemplateResponse PutServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutServiceQuotaIncreaseRequestIntoTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutServiceQuotaIncreaseRequestIntoTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutServiceQuotaIncreaseRequestIntoTemplate operation.
///
///
/// Container for the necessary parameters to execute the PutServiceQuotaIncreaseRequestIntoTemplate operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutServiceQuotaIncreaseRequestIntoTemplate
/// operation.
/// REST API Reference for PutServiceQuotaIncreaseRequestIntoTemplate Operation
public virtual IAsyncResult BeginPutServiceQuotaIncreaseRequestIntoTemplate(PutServiceQuotaIncreaseRequestIntoTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutServiceQuotaIncreaseRequestIntoTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutServiceQuotaIncreaseRequestIntoTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutServiceQuotaIncreaseRequestIntoTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginPutServiceQuotaIncreaseRequestIntoTemplate.
///
/// Returns a PutServiceQuotaIncreaseRequestIntoTemplateResult from ServiceQuotas.
/// REST API Reference for PutServiceQuotaIncreaseRequestIntoTemplate Operation
public virtual PutServiceQuotaIncreaseRequestIntoTemplateResponse EndPutServiceQuotaIncreaseRequestIntoTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RequestServiceQuotaIncrease
///
/// Submits a quota increase request for the specified quota.
///
/// Container for the necessary parameters to execute the RequestServiceQuotaIncrease service method.
///
/// 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
public virtual RequestServiceQuotaIncreaseResponse RequestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RequestServiceQuotaIncreaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = RequestServiceQuotaIncreaseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RequestServiceQuotaIncrease operation.
///
///
/// Container for the necessary parameters to execute the RequestServiceQuotaIncrease operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRequestServiceQuotaIncrease
/// operation.
/// REST API Reference for RequestServiceQuotaIncrease Operation
public virtual IAsyncResult BeginRequestServiceQuotaIncrease(RequestServiceQuotaIncreaseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RequestServiceQuotaIncreaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = RequestServiceQuotaIncreaseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RequestServiceQuotaIncrease operation.
///
///
/// The IAsyncResult returned by the call to BeginRequestServiceQuotaIncrease.
///
/// Returns a RequestServiceQuotaIncreaseResult from ServiceQuotas.
/// REST API Reference for RequestServiceQuotaIncrease Operation
public virtual RequestServiceQuotaIncreaseResponse EndRequestServiceQuotaIncrease(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from ServiceQuotas.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonServiceQuotasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from ServiceQuotas.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}