/*
* 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 billingconductor-2021-07-30.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.BillingConductor.Model;
using Amazon.BillingConductor.Model.Internal.MarshallTransformations;
using Amazon.BillingConductor.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.BillingConductor
{
///
/// Implementation for accessing BillingConductor
///
/// Amazon Web Services Billing Conductor is a fully managed service that you can use
/// to customize a pro
/// forma version of your billing data each month, to accurately show or chargeback
/// your end customers. Amazon Web Services Billing Conductor doesn't change the way you're
/// billed by Amazon Web Services each month by design. Instead, it provides you with
/// a mechanism to configure, generate, and display rates to certain customers over a
/// given billing period. You can also analyze the difference between the rates you apply
/// to your accounting groupings relative to your actual rates from Amazon Web Services.
/// As a result of your Amazon Web Services Billing Conductor configuration, the payer
/// account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console,
/// or configure a cost and usage report per billing group.
///
///
///
/// This documentation shows how you can configure Amazon Web Services Billing Conductor
/// using its API. For more information about using the Amazon
/// Web Services Billing Conductor user interface, see the
/// Amazon Web Services Billing Conductor User Guide.
///
///
public partial class AmazonBillingConductorClient : AmazonServiceClient, IAmazonBillingConductor
{
private static IServiceMetadata serviceMetadata = new AmazonBillingConductorMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IBillingConductorPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IBillingConductorPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new BillingConductorPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonBillingConductorClient 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 AmazonBillingConductorClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonBillingConductorConfig()) { }
///
/// Constructs AmazonBillingConductorClient 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 AmazonBillingConductorClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonBillingConductorConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonBillingConductorClient 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 AmazonBillingConductorClient Configuration Object
public AmazonBillingConductorClient(AmazonBillingConductorConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonBillingConductorClient with AWS Credentials
///
/// AWS Credentials
public AmazonBillingConductorClient(AWSCredentials credentials)
: this(credentials, new AmazonBillingConductorConfig())
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonBillingConductorClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonBillingConductorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Credentials and an
/// AmazonBillingConductorClient Configuration object.
///
/// AWS Credentials
/// The AmazonBillingConductorClient Configuration Object
public AmazonBillingConductorClient(AWSCredentials credentials, AmazonBillingConductorConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonBillingConductorConfig())
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonBillingConductorConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonBillingConductorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonBillingConductorClient Configuration Object
public AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonBillingConductorConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBillingConductorConfig())
{
}
///
/// Constructs AmazonBillingConductorClient 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 AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBillingConductorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonBillingConductorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonBillingConductorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonBillingConductorClient Configuration Object
public AmazonBillingConductorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonBillingConductorConfig 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 AmazonBillingConductorEndpointResolver());
}
///
/// 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 AssociateAccounts
///
/// Connects an array of account IDs in a consolidated billing family to a predefined
/// billing group. The account IDs must be a part of the consolidated billing family during
/// the current month, and not already associated with another billing group. The maximum
/// number of accounts that can be associated in one call is 30.
///
/// Container for the necessary parameters to execute the AssociateAccounts service method.
///
/// The response from the AssociateAccounts service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for AssociateAccounts Operation
public virtual AssociateAccountsResponse AssociateAccounts(AssociateAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateAccounts operation.
///
///
/// Container for the necessary parameters to execute the AssociateAccounts operation on AmazonBillingConductorClient.
/// 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 EndAssociateAccounts
/// operation.
/// REST API Reference for AssociateAccounts Operation
public virtual IAsyncResult BeginAssociateAccounts(AssociateAccountsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAccountsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateAccounts operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateAccounts.
///
/// Returns a AssociateAccountsResult from BillingConductor.
/// REST API Reference for AssociateAccounts Operation
public virtual AssociateAccountsResponse EndAssociateAccounts(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AssociatePricingRules
///
/// Connects an array of PricingRuleArns
to a defined PricingPlan
.
/// The maximum number PricingRuleArn
that can be associated in one call
/// is 30.
///
/// Container for the necessary parameters to execute the AssociatePricingRules service method.
///
/// The response from the AssociatePricingRules service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for AssociatePricingRules Operation
public virtual AssociatePricingRulesResponse AssociatePricingRules(AssociatePricingRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociatePricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociatePricingRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociatePricingRules operation.
///
///
/// Container for the necessary parameters to execute the AssociatePricingRules operation on AmazonBillingConductorClient.
/// 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 EndAssociatePricingRules
/// operation.
/// REST API Reference for AssociatePricingRules Operation
public virtual IAsyncResult BeginAssociatePricingRules(AssociatePricingRulesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociatePricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociatePricingRulesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociatePricingRules operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociatePricingRules.
///
/// Returns a AssociatePricingRulesResult from BillingConductor.
/// REST API Reference for AssociatePricingRules Operation
public virtual AssociatePricingRulesResponse EndAssociatePricingRules(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchAssociateResourcesToCustomLineItem
///
/// Associates a batch of resources to a percentage custom line item.
///
/// Container for the necessary parameters to execute the BatchAssociateResourcesToCustomLineItem service method.
///
/// The response from the BatchAssociateResourcesToCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for BatchAssociateResourcesToCustomLineItem Operation
public virtual BatchAssociateResourcesToCustomLineItemResponse BatchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateResourcesToCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateResourcesToCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchAssociateResourcesToCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the BatchAssociateResourcesToCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndBatchAssociateResourcesToCustomLineItem
/// operation.
/// REST API Reference for BatchAssociateResourcesToCustomLineItem Operation
public virtual IAsyncResult BeginBatchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateResourcesToCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateResourcesToCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchAssociateResourcesToCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchAssociateResourcesToCustomLineItem.
///
/// Returns a BatchAssociateResourcesToCustomLineItemResult from BillingConductor.
/// REST API Reference for BatchAssociateResourcesToCustomLineItem Operation
public virtual BatchAssociateResourcesToCustomLineItemResponse EndBatchAssociateResourcesToCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchDisassociateResourcesFromCustomLineItem
///
/// Disassociates a batch of resources from a percentage custom line item.
///
/// Container for the necessary parameters to execute the BatchDisassociateResourcesFromCustomLineItem service method.
///
/// The response from the BatchDisassociateResourcesFromCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for BatchDisassociateResourcesFromCustomLineItem Operation
public virtual BatchDisassociateResourcesFromCustomLineItemResponse BatchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateResourcesFromCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateResourcesFromCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchDisassociateResourcesFromCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the BatchDisassociateResourcesFromCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndBatchDisassociateResourcesFromCustomLineItem
/// operation.
/// REST API Reference for BatchDisassociateResourcesFromCustomLineItem Operation
public virtual IAsyncResult BeginBatchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateResourcesFromCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateResourcesFromCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchDisassociateResourcesFromCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchDisassociateResourcesFromCustomLineItem.
///
/// Returns a BatchDisassociateResourcesFromCustomLineItemResult from BillingConductor.
/// REST API Reference for BatchDisassociateResourcesFromCustomLineItem Operation
public virtual BatchDisassociateResourcesFromCustomLineItemResponse EndBatchDisassociateResourcesFromCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBillingGroup
///
/// Creates a billing group that resembles a consolidated billing family that Amazon
/// Web Services charges, based off of the predefined pricing plan computation.
///
/// Container for the necessary parameters to execute the CreateBillingGroup service method.
///
/// The response from the CreateBillingGroup service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for CreateBillingGroup Operation
public virtual CreateBillingGroupResponse CreateBillingGroup(CreateBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateBillingGroup operation on AmazonBillingConductorClient.
/// 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 EndCreateBillingGroup
/// operation.
/// REST API Reference for CreateBillingGroup Operation
public virtual IAsyncResult BeginCreateBillingGroup(CreateBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBillingGroup.
///
/// Returns a CreateBillingGroupResult from BillingConductor.
/// REST API Reference for CreateBillingGroup Operation
public virtual CreateBillingGroupResponse EndCreateBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCustomLineItem
///
/// Creates a custom line item that can be used to create a one-time fixed charge that
/// can be applied to a single billing group for the current or previous billing period.
/// The one-time fixed charge is either a fee or discount.
///
/// Container for the necessary parameters to execute the CreateCustomLineItem service method.
///
/// The response from the CreateCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for CreateCustomLineItem Operation
public virtual CreateCustomLineItemResponse CreateCustomLineItem(CreateCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the CreateCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndCreateCustomLineItem
/// operation.
/// REST API Reference for CreateCustomLineItem Operation
public virtual IAsyncResult BeginCreateCustomLineItem(CreateCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCustomLineItem.
///
/// Returns a CreateCustomLineItemResult from BillingConductor.
/// REST API Reference for CreateCustomLineItem Operation
public virtual CreateCustomLineItemResponse EndCreateCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePricingPlan
///
/// Creates a pricing plan that is used for computing Amazon Web Services charges for
/// billing groups.
///
/// Container for the necessary parameters to execute the CreatePricingPlan service method.
///
/// The response from the CreatePricingPlan service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for CreatePricingPlan Operation
public virtual CreatePricingPlanResponse CreatePricingPlan(CreatePricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePricingPlan operation.
///
///
/// Container for the necessary parameters to execute the CreatePricingPlan operation on AmazonBillingConductorClient.
/// 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 EndCreatePricingPlan
/// operation.
/// REST API Reference for CreatePricingPlan Operation
public virtual IAsyncResult BeginCreatePricingPlan(CreatePricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePricingPlan.
///
/// Returns a CreatePricingPlanResult from BillingConductor.
/// REST API Reference for CreatePricingPlan Operation
public virtual CreatePricingPlanResponse EndCreatePricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePricingRule
///
/// Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
///
/// Container for the necessary parameters to execute the CreatePricingRule service method.
///
/// The response from the CreatePricingRule service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request would cause a service limit to exceed.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for CreatePricingRule Operation
public virtual CreatePricingRuleResponse CreatePricingRule(CreatePricingRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePricingRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePricingRule operation.
///
///
/// Container for the necessary parameters to execute the CreatePricingRule operation on AmazonBillingConductorClient.
/// 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 EndCreatePricingRule
/// operation.
/// REST API Reference for CreatePricingRule Operation
public virtual IAsyncResult BeginCreatePricingRule(CreatePricingRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePricingRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePricingRule operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePricingRule.
///
/// Returns a CreatePricingRuleResult from BillingConductor.
/// REST API Reference for CreatePricingRule Operation
public virtual CreatePricingRuleResponse EndCreatePricingRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBillingGroup
///
/// Deletes a billing group.
///
/// Container for the necessary parameters to execute the DeleteBillingGroup service method.
///
/// The response from the DeleteBillingGroup service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DeleteBillingGroup Operation
public virtual DeleteBillingGroupResponse DeleteBillingGroup(DeleteBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteBillingGroup operation on AmazonBillingConductorClient.
/// 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 EndDeleteBillingGroup
/// operation.
/// REST API Reference for DeleteBillingGroup Operation
public virtual IAsyncResult BeginDeleteBillingGroup(DeleteBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBillingGroup.
///
/// Returns a DeleteBillingGroupResult from BillingConductor.
/// REST API Reference for DeleteBillingGroup Operation
public virtual DeleteBillingGroupResponse EndDeleteBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCustomLineItem
///
/// Deletes the custom line item identified by the given ARN in the current, or previous
/// billing period.
///
/// Container for the necessary parameters to execute the DeleteCustomLineItem service method.
///
/// The response from the DeleteCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DeleteCustomLineItem Operation
public virtual DeleteCustomLineItemResponse DeleteCustomLineItem(DeleteCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the DeleteCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndDeleteCustomLineItem
/// operation.
/// REST API Reference for DeleteCustomLineItem Operation
public virtual IAsyncResult BeginDeleteCustomLineItem(DeleteCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCustomLineItem.
///
/// Returns a DeleteCustomLineItemResult from BillingConductor.
/// REST API Reference for DeleteCustomLineItem Operation
public virtual DeleteCustomLineItemResponse EndDeleteCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePricingPlan
///
/// Deletes a pricing plan. The pricing plan must not be associated with any billing groups
/// to delete successfully.
///
/// Container for the necessary parameters to execute the DeletePricingPlan service method.
///
/// The response from the DeletePricingPlan service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DeletePricingPlan Operation
public virtual DeletePricingPlanResponse DeletePricingPlan(DeletePricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePricingPlan operation.
///
///
/// Container for the necessary parameters to execute the DeletePricingPlan operation on AmazonBillingConductorClient.
/// 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 EndDeletePricingPlan
/// operation.
/// REST API Reference for DeletePricingPlan Operation
public virtual IAsyncResult BeginDeletePricingPlan(DeletePricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePricingPlan.
///
/// Returns a DeletePricingPlanResult from BillingConductor.
/// REST API Reference for DeletePricingPlan Operation
public virtual DeletePricingPlanResponse EndDeletePricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePricingRule
///
/// Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
///
/// Container for the necessary parameters to execute the DeletePricingRule service method.
///
/// The response from the DeletePricingRule service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DeletePricingRule Operation
public virtual DeletePricingRuleResponse DeletePricingRule(DeletePricingRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePricingRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePricingRule operation.
///
///
/// Container for the necessary parameters to execute the DeletePricingRule operation on AmazonBillingConductorClient.
/// 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 EndDeletePricingRule
/// operation.
/// REST API Reference for DeletePricingRule Operation
public virtual IAsyncResult BeginDeletePricingRule(DeletePricingRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePricingRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePricingRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePricingRule.
///
/// Returns a DeletePricingRuleResult from BillingConductor.
/// REST API Reference for DeletePricingRule Operation
public virtual DeletePricingRuleResponse EndDeletePricingRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateAccounts
///
/// Removes the specified list of account IDs from the given billing group.
///
/// Container for the necessary parameters to execute the DisassociateAccounts service method.
///
/// The response from the DisassociateAccounts service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DisassociateAccounts Operation
public virtual DisassociateAccountsResponse DisassociateAccounts(DisassociateAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateAccounts operation.
///
///
/// Container for the necessary parameters to execute the DisassociateAccounts operation on AmazonBillingConductorClient.
/// 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 EndDisassociateAccounts
/// operation.
/// REST API Reference for DisassociateAccounts Operation
public virtual IAsyncResult BeginDisassociateAccounts(DisassociateAccountsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAccountsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateAccounts operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateAccounts.
///
/// Returns a DisassociateAccountsResult from BillingConductor.
/// REST API Reference for DisassociateAccounts Operation
public virtual DisassociateAccountsResponse EndDisassociateAccounts(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociatePricingRules
///
/// Disassociates a list of pricing rules from a pricing plan.
///
/// Container for the necessary parameters to execute the DisassociatePricingRules service method.
///
/// The response from the DisassociatePricingRules service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for DisassociatePricingRules Operation
public virtual DisassociatePricingRulesResponse DisassociatePricingRules(DisassociatePricingRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociatePricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociatePricingRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociatePricingRules operation.
///
///
/// Container for the necessary parameters to execute the DisassociatePricingRules operation on AmazonBillingConductorClient.
/// 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 EndDisassociatePricingRules
/// operation.
/// REST API Reference for DisassociatePricingRules Operation
public virtual IAsyncResult BeginDisassociatePricingRules(DisassociatePricingRulesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociatePricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociatePricingRulesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociatePricingRules operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociatePricingRules.
///
/// Returns a DisassociatePricingRulesResult from BillingConductor.
/// REST API Reference for DisassociatePricingRules Operation
public virtual DisassociatePricingRulesResponse EndDisassociatePricingRules(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAccountAssociations
///
/// This is a paginated call to list linked accounts that are linked to the payer account
/// for the specified time period. If no information is provided, the current billing
/// period is used. The response will optionally include the billing group that's associated
/// with the linked account.
///
/// Container for the necessary parameters to execute the ListAccountAssociations service method.
///
/// The response from the ListAccountAssociations service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListAccountAssociations Operation
public virtual ListAccountAssociationsResponse ListAccountAssociations(ListAccountAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAccountAssociations operation.
///
///
/// Container for the necessary parameters to execute the ListAccountAssociations operation on AmazonBillingConductorClient.
/// 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 EndListAccountAssociations
/// operation.
/// REST API Reference for ListAccountAssociations Operation
public virtual IAsyncResult BeginListAccountAssociations(ListAccountAssociationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssociationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAccountAssociations operation.
///
///
/// The IAsyncResult returned by the call to BeginListAccountAssociations.
///
/// Returns a ListAccountAssociationsResult from BillingConductor.
/// REST API Reference for ListAccountAssociations Operation
public virtual ListAccountAssociationsResponse EndListAccountAssociations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListBillingGroupCostReports
///
/// A paginated call to retrieve a summary report of actual Amazon Web Services charges
/// and the calculated Amazon Web Services charges based on the associated pricing plan
/// of a billing group.
///
/// Container for the necessary parameters to execute the ListBillingGroupCostReports service method.
///
/// The response from the ListBillingGroupCostReports service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListBillingGroupCostReports Operation
public virtual ListBillingGroupCostReportsResponse ListBillingGroupCostReports(ListBillingGroupCostReportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBillingGroupCostReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBillingGroupCostReportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListBillingGroupCostReports operation.
///
///
/// Container for the necessary parameters to execute the ListBillingGroupCostReports operation on AmazonBillingConductorClient.
/// 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 EndListBillingGroupCostReports
/// operation.
/// REST API Reference for ListBillingGroupCostReports Operation
public virtual IAsyncResult BeginListBillingGroupCostReports(ListBillingGroupCostReportsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBillingGroupCostReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBillingGroupCostReportsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListBillingGroupCostReports operation.
///
///
/// The IAsyncResult returned by the call to BeginListBillingGroupCostReports.
///
/// Returns a ListBillingGroupCostReportsResult from BillingConductor.
/// REST API Reference for ListBillingGroupCostReports Operation
public virtual ListBillingGroupCostReportsResponse EndListBillingGroupCostReports(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListBillingGroups
///
/// A paginated call to retrieve a list of billing groups for the given billing period.
/// If you don't provide a billing group, the current billing period is used.
///
/// Container for the necessary parameters to execute the ListBillingGroups service method.
///
/// The response from the ListBillingGroups service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListBillingGroups Operation
public virtual ListBillingGroupsResponse ListBillingGroups(ListBillingGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBillingGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBillingGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListBillingGroups operation.
///
///
/// Container for the necessary parameters to execute the ListBillingGroups operation on AmazonBillingConductorClient.
/// 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 EndListBillingGroups
/// operation.
/// REST API Reference for ListBillingGroups Operation
public virtual IAsyncResult BeginListBillingGroups(ListBillingGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBillingGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBillingGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListBillingGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListBillingGroups.
///
/// Returns a ListBillingGroupsResult from BillingConductor.
/// REST API Reference for ListBillingGroups Operation
public virtual ListBillingGroupsResponse EndListBillingGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCustomLineItems
///
/// A paginated call to get a list of all custom line items (FFLIs) for the given billing
/// period. If you don't provide a billing period, the current billing period is used.
///
/// Container for the necessary parameters to execute the ListCustomLineItems service method.
///
/// The response from the ListCustomLineItems service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListCustomLineItems Operation
public virtual ListCustomLineItemsResponse ListCustomLineItems(ListCustomLineItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomLineItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomLineItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCustomLineItems operation.
///
///
/// Container for the necessary parameters to execute the ListCustomLineItems operation on AmazonBillingConductorClient.
/// 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 EndListCustomLineItems
/// operation.
/// REST API Reference for ListCustomLineItems Operation
public virtual IAsyncResult BeginListCustomLineItems(ListCustomLineItemsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomLineItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomLineItemsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCustomLineItems operation.
///
///
/// The IAsyncResult returned by the call to BeginListCustomLineItems.
///
/// Returns a ListCustomLineItemsResult from BillingConductor.
/// REST API Reference for ListCustomLineItems Operation
public virtual ListCustomLineItemsResponse EndListCustomLineItems(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCustomLineItemVersions
///
/// A paginated call to get a list of all custom line item versions.
///
/// Container for the necessary parameters to execute the ListCustomLineItemVersions service method.
///
/// The response from the ListCustomLineItemVersions service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListCustomLineItemVersions Operation
public virtual ListCustomLineItemVersionsResponse ListCustomLineItemVersions(ListCustomLineItemVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomLineItemVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomLineItemVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCustomLineItemVersions operation.
///
///
/// Container for the necessary parameters to execute the ListCustomLineItemVersions operation on AmazonBillingConductorClient.
/// 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 EndListCustomLineItemVersions
/// operation.
/// REST API Reference for ListCustomLineItemVersions Operation
public virtual IAsyncResult BeginListCustomLineItemVersions(ListCustomLineItemVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomLineItemVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomLineItemVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCustomLineItemVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginListCustomLineItemVersions.
///
/// Returns a ListCustomLineItemVersionsResult from BillingConductor.
/// REST API Reference for ListCustomLineItemVersions Operation
public virtual ListCustomLineItemVersionsResponse EndListCustomLineItemVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPricingPlans
///
/// A paginated call to get pricing plans for the given billing period. If you don't provide
/// a billing period, the current billing period is used.
///
/// Container for the necessary parameters to execute the ListPricingPlans service method.
///
/// The response from the ListPricingPlans service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListPricingPlans Operation
public virtual ListPricingPlansResponse ListPricingPlans(ListPricingPlansRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingPlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingPlansResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPricingPlans operation.
///
///
/// Container for the necessary parameters to execute the ListPricingPlans operation on AmazonBillingConductorClient.
/// 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 EndListPricingPlans
/// operation.
/// REST API Reference for ListPricingPlans Operation
public virtual IAsyncResult BeginListPricingPlans(ListPricingPlansRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingPlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingPlansResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPricingPlans operation.
///
///
/// The IAsyncResult returned by the call to BeginListPricingPlans.
///
/// Returns a ListPricingPlansResult from BillingConductor.
/// REST API Reference for ListPricingPlans Operation
public virtual ListPricingPlansResponse EndListPricingPlans(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPricingPlansAssociatedWithPricingRule
///
/// A list of the pricing plans that are associated with a pricing rule.
///
/// Container for the necessary parameters to execute the ListPricingPlansAssociatedWithPricingRule service method.
///
/// The response from the ListPricingPlansAssociatedWithPricingRule service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListPricingPlansAssociatedWithPricingRule Operation
public virtual ListPricingPlansAssociatedWithPricingRuleResponse ListPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingPlansAssociatedWithPricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingPlansAssociatedWithPricingRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPricingPlansAssociatedWithPricingRule operation.
///
///
/// Container for the necessary parameters to execute the ListPricingPlansAssociatedWithPricingRule operation on AmazonBillingConductorClient.
/// 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 EndListPricingPlansAssociatedWithPricingRule
/// operation.
/// REST API Reference for ListPricingPlansAssociatedWithPricingRule Operation
public virtual IAsyncResult BeginListPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingPlansAssociatedWithPricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingPlansAssociatedWithPricingRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPricingPlansAssociatedWithPricingRule operation.
///
///
/// The IAsyncResult returned by the call to BeginListPricingPlansAssociatedWithPricingRule.
///
/// Returns a ListPricingPlansAssociatedWithPricingRuleResult from BillingConductor.
/// REST API Reference for ListPricingPlansAssociatedWithPricingRule Operation
public virtual ListPricingPlansAssociatedWithPricingRuleResponse EndListPricingPlansAssociatedWithPricingRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPricingRules
///
/// Describes a pricing rule that can be associated to a pricing plan, or set of pricing
/// plans.
///
/// Container for the necessary parameters to execute the ListPricingRules service method.
///
/// The response from the ListPricingRules service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListPricingRules Operation
public virtual ListPricingRulesResponse ListPricingRules(ListPricingRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPricingRules operation.
///
///
/// Container for the necessary parameters to execute the ListPricingRules operation on AmazonBillingConductorClient.
/// 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 EndListPricingRules
/// operation.
/// REST API Reference for ListPricingRules Operation
public virtual IAsyncResult BeginListPricingRules(ListPricingRulesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingRulesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPricingRules operation.
///
///
/// The IAsyncResult returned by the call to BeginListPricingRules.
///
/// Returns a ListPricingRulesResult from BillingConductor.
/// REST API Reference for ListPricingRules Operation
public virtual ListPricingRulesResponse EndListPricingRules(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPricingRulesAssociatedToPricingPlan
///
/// Lists the pricing rules that are associated with a pricing plan.
///
/// Container for the necessary parameters to execute the ListPricingRulesAssociatedToPricingPlan service method.
///
/// The response from the ListPricingRulesAssociatedToPricingPlan service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListPricingRulesAssociatedToPricingPlan Operation
public virtual ListPricingRulesAssociatedToPricingPlanResponse ListPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingRulesAssociatedToPricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingRulesAssociatedToPricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPricingRulesAssociatedToPricingPlan operation.
///
///
/// Container for the necessary parameters to execute the ListPricingRulesAssociatedToPricingPlan operation on AmazonBillingConductorClient.
/// 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 EndListPricingRulesAssociatedToPricingPlan
/// operation.
/// REST API Reference for ListPricingRulesAssociatedToPricingPlan Operation
public virtual IAsyncResult BeginListPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPricingRulesAssociatedToPricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPricingRulesAssociatedToPricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPricingRulesAssociatedToPricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginListPricingRulesAssociatedToPricingPlan.
///
/// Returns a ListPricingRulesAssociatedToPricingPlanResult from BillingConductor.
/// REST API Reference for ListPricingRulesAssociatedToPricingPlan Operation
public virtual ListPricingRulesAssociatedToPricingPlanResponse EndListPricingRulesAssociatedToPricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListResourcesAssociatedToCustomLineItem
///
/// List the resources that are associated to a custom line item.
///
/// Container for the necessary parameters to execute the ListResourcesAssociatedToCustomLineItem service method.
///
/// The response from the ListResourcesAssociatedToCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for ListResourcesAssociatedToCustomLineItem Operation
public virtual ListResourcesAssociatedToCustomLineItemResponse ListResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourcesAssociatedToCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourcesAssociatedToCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListResourcesAssociatedToCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the ListResourcesAssociatedToCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndListResourcesAssociatedToCustomLineItem
/// operation.
/// REST API Reference for ListResourcesAssociatedToCustomLineItem Operation
public virtual IAsyncResult BeginListResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourcesAssociatedToCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourcesAssociatedToCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListResourcesAssociatedToCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginListResourcesAssociatedToCustomLineItem.
///
/// Returns a ListResourcesAssociatedToCustomLineItemResult from BillingConductor.
/// REST API Reference for ListResourcesAssociatedToCustomLineItem Operation
public virtual ListResourcesAssociatedToCustomLineItemResponse EndListResourcesAssociatedToCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// A list the tags for a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// 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 AmazonBillingConductorClient.
/// 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 BillingConductor.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Associates the specified tags to a resource with the specified resourceArn
.
/// If existing tags on a resource are not specified in the request parameters, they are
/// not changed.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// 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 AmazonBillingConductorClient.
/// 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 BillingConductor.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Deletes specified tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// 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 AmazonBillingConductorClient.
/// 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 BillingConductor.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateBillingGroup
///
/// This updates an existing billing group.
///
/// Container for the necessary parameters to execute the UpdateBillingGroup service method.
///
/// The response from the UpdateBillingGroup service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for UpdateBillingGroup Operation
public virtual UpdateBillingGroupResponse UpdateBillingGroup(UpdateBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateBillingGroup operation on AmazonBillingConductorClient.
/// 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 EndUpdateBillingGroup
/// operation.
/// REST API Reference for UpdateBillingGroup Operation
public virtual IAsyncResult BeginUpdateBillingGroup(UpdateBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateBillingGroup.
///
/// Returns a UpdateBillingGroupResult from BillingConductor.
/// REST API Reference for UpdateBillingGroup Operation
public virtual UpdateBillingGroupResponse EndUpdateBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateCustomLineItem
///
/// Update an existing custom line item in the current or previous billing period.
///
/// Container for the necessary parameters to execute the UpdateCustomLineItem service method.
///
/// The response from the UpdateCustomLineItem service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for UpdateCustomLineItem Operation
public virtual UpdateCustomLineItemResponse UpdateCustomLineItem(UpdateCustomLineItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomLineItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateCustomLineItem operation.
///
///
/// Container for the necessary parameters to execute the UpdateCustomLineItem operation on AmazonBillingConductorClient.
/// 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 EndUpdateCustomLineItem
/// operation.
/// REST API Reference for UpdateCustomLineItem Operation
public virtual IAsyncResult BeginUpdateCustomLineItem(UpdateCustomLineItemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomLineItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomLineItemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateCustomLineItem operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCustomLineItem.
///
/// Returns a UpdateCustomLineItemResult from BillingConductor.
/// REST API Reference for UpdateCustomLineItem Operation
public virtual UpdateCustomLineItemResponse EndUpdateCustomLineItem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdatePricingPlan
///
/// This updates an existing pricing plan.
///
/// Container for the necessary parameters to execute the UpdatePricingPlan service method.
///
/// The response from the UpdatePricingPlan service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for UpdatePricingPlan Operation
public virtual UpdatePricingPlanResponse UpdatePricingPlan(UpdatePricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdatePricingPlan operation.
///
///
/// Container for the necessary parameters to execute the UpdatePricingPlan operation on AmazonBillingConductorClient.
/// 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 EndUpdatePricingPlan
/// operation.
/// REST API Reference for UpdatePricingPlan Operation
public virtual IAsyncResult BeginUpdatePricingPlan(UpdatePricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdatePricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePricingPlan.
///
/// Returns a UpdatePricingPlanResult from BillingConductor.
/// REST API Reference for UpdatePricingPlan Operation
public virtual UpdatePricingPlanResponse EndUpdatePricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdatePricingRule
///
/// Updates an existing pricing rule.
///
/// Container for the necessary parameters to execute the UpdatePricingRule service method.
///
/// The response from the UpdatePricingRule service method, as returned by BillingConductor.
///
/// You do not have sufficient access to perform this action.
///
///
/// You can cause an inconsistent state by updating or deleting a resource.
///
///
/// An unexpected error occurred while processing a request.
///
///
/// The request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input doesn't match with the constraints specified by Amazon Web Services.
///
/// REST API Reference for UpdatePricingRule Operation
public virtual UpdatePricingRuleResponse UpdatePricingRule(UpdatePricingRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdatePricingRule operation.
///
///
/// Container for the necessary parameters to execute the UpdatePricingRule operation on AmazonBillingConductorClient.
/// 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 EndUpdatePricingRule
/// operation.
/// REST API Reference for UpdatePricingRule Operation
public virtual IAsyncResult BeginUpdatePricingRule(UpdatePricingRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdatePricingRule operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePricingRule.
///
/// Returns a UpdatePricingRuleResult from BillingConductor.
/// REST API Reference for UpdatePricingRule Operation
public virtual UpdatePricingRuleResponse EndUpdatePricingRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}