/* * 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 budgets-2016-10-20.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Budgets.Model; using Amazon.Budgets.Model.Internal.MarshallTransformations; using Amazon.Budgets.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Budgets { /// /// Implementation for accessing Budgets /// /// Use the Amazon Web Services Budgets API to plan your service usage, service costs, /// and instance reservations. This API reference provides descriptions, syntax, and usage /// examples for each of the actions and data types for the Amazon Web Services Budgets /// feature. /// /// /// /// Budgets provide you with a way to see the following information: /// /// /// /// Amazon Web Services updates your budget status several times a day. Budgets track /// your unblended costs, subscriptions, refunds, and RIs. You can create the following /// types of budgets: /// /// /// /// Service Endpoint /// /// /// /// The Amazon Web Services Budgets API provides the following endpoint: /// /// /// /// For information about costs that are associated with the Amazon Web Services Budgets /// API, see Amazon Web /// Services Cost Management Pricing. /// /// public partial class AmazonBudgetsClient : AmazonServiceClient, IAmazonBudgets { private static IServiceMetadata serviceMetadata = new AmazonBudgetsMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IBudgetsPaginatorFactory _paginators; /// /// Paginators for the service /// public IBudgetsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new BudgetsPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonBudgetsConfig()) { } /// /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonBudgetsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient Configuration Object public AmazonBudgetsClient(AmazonBudgetsConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonBudgetsClient with AWS Credentials /// /// AWS Credentials public AmazonBudgetsClient(AWSCredentials credentials) : this(credentials, new AmazonBudgetsConfig()) { } /// /// Constructs AmazonBudgetsClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonBudgetsClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonBudgetsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBudgetsClient with AWS Credentials and an /// AmazonBudgetsClient Configuration object. /// /// AWS Credentials /// The AmazonBudgetsClient Configuration Object public AmazonBudgetsClient(AWSCredentials credentials, AmazonBudgetsConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonBudgetsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonBudgetsConfig()) { } /// /// Constructs AmazonBudgetsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonBudgetsConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonBudgetsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonBudgetsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonBudgetsClient Configuration Object public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonBudgetsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonBudgetsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBudgetsConfig()) { } /// /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBudgetsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBudgetsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonBudgetsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonBudgetsClient Configuration Object public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonBudgetsConfig 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 AmazonBudgetsEndpointResolver()); } /// /// 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 CreateBudget /// /// Creates a budget and, if included, notifications and subscribers. /// /// /// /// Only one of BudgetLimit or PlannedBudgetLimits can be present /// in the syntax at one time. Use the syntax that matches your case. The Request Syntax /// section shows the BudgetLimit syntax. For PlannedBudgetLimits, /// see the Examples /// section. /// /// /// /// Container for the necessary parameters to execute the CreateBudget service method. /// /// The response from the CreateBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// You've exceeded the notification or subscriber limit. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for CreateBudget Operation public virtual CreateBudgetResponse CreateBudget(CreateBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBudget operation. /// /// /// Container for the necessary parameters to execute the CreateBudget operation on AmazonBudgetsClient. /// 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 EndCreateBudget /// operation. /// REST API Reference for CreateBudget Operation public virtual IAsyncResult BeginCreateBudget(CreateBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBudget operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBudget. /// /// Returns a CreateBudgetResult from Budgets. /// REST API Reference for CreateBudget Operation public virtual CreateBudgetResponse EndCreateBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateBudgetAction /// /// Creates a budget action. /// /// Container for the necessary parameters to execute the CreateBudgetAction service method. /// /// The response from the CreateBudgetAction service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// You've exceeded the notification or subscriber limit. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for CreateBudgetAction Operation public virtual CreateBudgetActionResponse CreateBudgetAction(CreateBudgetActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBudgetActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBudgetAction operation. /// /// /// Container for the necessary parameters to execute the CreateBudgetAction operation on AmazonBudgetsClient. /// 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 EndCreateBudgetAction /// operation. /// REST API Reference for CreateBudgetAction Operation public virtual IAsyncResult BeginCreateBudgetAction(CreateBudgetActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBudgetActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBudgetAction operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBudgetAction. /// /// Returns a CreateBudgetActionResult from Budgets. /// REST API Reference for CreateBudgetAction Operation public virtual CreateBudgetActionResponse EndCreateBudgetAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateNotification /// /// Creates a notification. You must create the budget before you create the associated /// notification. /// /// Container for the necessary parameters to execute the CreateNotification service method. /// /// The response from the CreateNotification service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// You've exceeded the notification or subscriber limit. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for CreateNotification Operation public virtual CreateNotificationResponse CreateNotification(CreateNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateNotification operation. /// /// /// Container for the necessary parameters to execute the CreateNotification operation on AmazonBudgetsClient. /// 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 EndCreateNotification /// operation. /// REST API Reference for CreateNotification Operation public virtual IAsyncResult BeginCreateNotification(CreateNotificationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNotificationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateNotification operation. /// /// /// The IAsyncResult returned by the call to BeginCreateNotification. /// /// Returns a CreateNotificationResult from Budgets. /// REST API Reference for CreateNotification Operation public virtual CreateNotificationResponse EndCreateNotification(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSubscriber /// /// Creates a subscriber. You must create the associated budget and notification before /// you create the subscriber. /// /// Container for the necessary parameters to execute the CreateSubscriber service method. /// /// The response from the CreateSubscriber service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// You've exceeded the notification or subscriber limit. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for CreateSubscriber Operation public virtual CreateSubscriberResponse CreateSubscriber(CreateSubscriberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSubscriber operation. /// /// /// Container for the necessary parameters to execute the CreateSubscriber operation on AmazonBudgetsClient. /// 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 EndCreateSubscriber /// operation. /// REST API Reference for CreateSubscriber Operation public virtual IAsyncResult BeginCreateSubscriber(CreateSubscriberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSubscriber operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSubscriber. /// /// Returns a CreateSubscriberResult from Budgets. /// REST API Reference for CreateSubscriber Operation public virtual CreateSubscriberResponse EndCreateSubscriber(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteBudget /// /// Deletes a budget. You can delete your budget at any time. /// /// /// /// Deleting a budget also deletes the notifications and subscribers that are associated /// with that budget. /// /// /// /// Container for the necessary parameters to execute the DeleteBudget service method. /// /// The response from the DeleteBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DeleteBudget Operation public virtual DeleteBudgetResponse DeleteBudget(DeleteBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteBudget operation. /// /// /// Container for the necessary parameters to execute the DeleteBudget operation on AmazonBudgetsClient. /// 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 EndDeleteBudget /// operation. /// REST API Reference for DeleteBudget Operation public virtual IAsyncResult BeginDeleteBudget(DeleteBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBudget operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBudget. /// /// Returns a DeleteBudgetResult from Budgets. /// REST API Reference for DeleteBudget Operation public virtual DeleteBudgetResponse EndDeleteBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteBudgetAction /// /// Deletes a budget action. /// /// Container for the necessary parameters to execute the DeleteBudgetAction service method. /// /// The response from the DeleteBudgetAction service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The request was received and recognized by the server, but the server rejected that /// particular method for the requested resource. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DeleteBudgetAction Operation public virtual DeleteBudgetActionResponse DeleteBudgetAction(DeleteBudgetActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBudgetActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteBudgetAction operation. /// /// /// Container for the necessary parameters to execute the DeleteBudgetAction operation on AmazonBudgetsClient. /// 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 EndDeleteBudgetAction /// operation. /// REST API Reference for DeleteBudgetAction Operation public virtual IAsyncResult BeginDeleteBudgetAction(DeleteBudgetActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBudgetActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBudgetAction operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBudgetAction. /// /// Returns a DeleteBudgetActionResult from Budgets. /// REST API Reference for DeleteBudgetAction Operation public virtual DeleteBudgetActionResponse EndDeleteBudgetAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteNotification /// /// Deletes a notification. /// /// /// /// Deleting a notification also deletes the subscribers that are associated with the /// notification. /// /// /// /// Container for the necessary parameters to execute the DeleteNotification service method. /// /// The response from the DeleteNotification service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DeleteNotification Operation public virtual DeleteNotificationResponse DeleteNotification(DeleteNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteNotification operation. /// /// /// Container for the necessary parameters to execute the DeleteNotification operation on AmazonBudgetsClient. /// 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 EndDeleteNotification /// operation. /// REST API Reference for DeleteNotification Operation public virtual IAsyncResult BeginDeleteNotification(DeleteNotificationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotificationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteNotification operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNotification. /// /// Returns a DeleteNotificationResult from Budgets. /// REST API Reference for DeleteNotification Operation public virtual DeleteNotificationResponse EndDeleteNotification(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSubscriber /// /// Deletes a subscriber. /// /// /// /// Deleting the last subscriber to a notification also deletes the notification. /// /// /// /// Container for the necessary parameters to execute the DeleteSubscriber service method. /// /// The response from the DeleteSubscriber service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DeleteSubscriber Operation public virtual DeleteSubscriberResponse DeleteSubscriber(DeleteSubscriberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubscriberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSubscriber operation. /// /// /// Container for the necessary parameters to execute the DeleteSubscriber operation on AmazonBudgetsClient. /// 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 EndDeleteSubscriber /// operation. /// REST API Reference for DeleteSubscriber Operation public virtual IAsyncResult BeginDeleteSubscriber(DeleteSubscriberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubscriberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSubscriber operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSubscriber. /// /// Returns a DeleteSubscriberResult from Budgets. /// REST API Reference for DeleteSubscriber Operation public virtual DeleteSubscriberResponse EndDeleteSubscriber(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudget /// /// Describes a budget. /// /// /// /// The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, /// see the Examples /// section. /// /// /// /// Container for the necessary parameters to execute the DescribeBudget service method. /// /// The response from the DescribeBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudget Operation public virtual DescribeBudgetResponse DescribeBudget(DescribeBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudget operation. /// /// /// Container for the necessary parameters to execute the DescribeBudget operation on AmazonBudgetsClient. /// 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 EndDescribeBudget /// operation. /// REST API Reference for DescribeBudget Operation public virtual IAsyncResult BeginDescribeBudget(DescribeBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudget operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudget. /// /// Returns a DescribeBudgetResult from Budgets. /// REST API Reference for DescribeBudget Operation public virtual DescribeBudgetResponse EndDescribeBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetAction /// /// Describes a budget action detail. /// /// Container for the necessary parameters to execute the DescribeBudgetAction service method. /// /// The response from the DescribeBudgetAction service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetAction Operation public virtual DescribeBudgetActionResponse DescribeBudgetAction(DescribeBudgetActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetAction operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetAction operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetAction /// operation. /// REST API Reference for DescribeBudgetAction Operation public virtual IAsyncResult BeginDescribeBudgetAction(DescribeBudgetActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetAction operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetAction. /// /// Returns a DescribeBudgetActionResult from Budgets. /// REST API Reference for DescribeBudgetAction Operation public virtual DescribeBudgetActionResponse EndDescribeBudgetAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetActionHistories /// /// Describes a budget action history detail. /// /// Container for the necessary parameters to execute the DescribeBudgetActionHistories service method. /// /// The response from the DescribeBudgetActionHistories service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetActionHistories Operation public virtual DescribeBudgetActionHistoriesResponse DescribeBudgetActionHistories(DescribeBudgetActionHistoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionHistoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionHistoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetActionHistories operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetActionHistories operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetActionHistories /// operation. /// REST API Reference for DescribeBudgetActionHistories Operation public virtual IAsyncResult BeginDescribeBudgetActionHistories(DescribeBudgetActionHistoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionHistoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionHistoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetActionHistories operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetActionHistories. /// /// Returns a DescribeBudgetActionHistoriesResult from Budgets. /// REST API Reference for DescribeBudgetActionHistories Operation public virtual DescribeBudgetActionHistoriesResponse EndDescribeBudgetActionHistories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetActionsForAccount /// /// Describes all of the budget actions for an account. /// /// Container for the necessary parameters to execute the DescribeBudgetActionsForAccount service method. /// /// The response from the DescribeBudgetActionsForAccount service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetActionsForAccount Operation public virtual DescribeBudgetActionsForAccountResponse DescribeBudgetActionsForAccount(DescribeBudgetActionsForAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionsForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionsForAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetActionsForAccount operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetActionsForAccount operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetActionsForAccount /// operation. /// REST API Reference for DescribeBudgetActionsForAccount Operation public virtual IAsyncResult BeginDescribeBudgetActionsForAccount(DescribeBudgetActionsForAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionsForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionsForAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetActionsForAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetActionsForAccount. /// /// Returns a DescribeBudgetActionsForAccountResult from Budgets. /// REST API Reference for DescribeBudgetActionsForAccount Operation public virtual DescribeBudgetActionsForAccountResponse EndDescribeBudgetActionsForAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetActionsForBudget /// /// Describes all of the budget actions for a budget. /// /// Container for the necessary parameters to execute the DescribeBudgetActionsForBudget service method. /// /// The response from the DescribeBudgetActionsForBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetActionsForBudget Operation public virtual DescribeBudgetActionsForBudgetResponse DescribeBudgetActionsForBudget(DescribeBudgetActionsForBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionsForBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionsForBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetActionsForBudget operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetActionsForBudget operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetActionsForBudget /// operation. /// REST API Reference for DescribeBudgetActionsForBudget Operation public virtual IAsyncResult BeginDescribeBudgetActionsForBudget(DescribeBudgetActionsForBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetActionsForBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetActionsForBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetActionsForBudget operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetActionsForBudget. /// /// Returns a DescribeBudgetActionsForBudgetResult from Budgets. /// REST API Reference for DescribeBudgetActionsForBudget Operation public virtual DescribeBudgetActionsForBudgetResponse EndDescribeBudgetActionsForBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetNotificationsForAccount /// /// Lists the budget names and notifications that are associated with an account. /// /// Container for the necessary parameters to execute the DescribeBudgetNotificationsForAccount service method. /// /// The response from the DescribeBudgetNotificationsForAccount service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The pagination token expired. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetNotificationsForAccount Operation public virtual DescribeBudgetNotificationsForAccountResponse DescribeBudgetNotificationsForAccount(DescribeBudgetNotificationsForAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetNotificationsForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetNotificationsForAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetNotificationsForAccount operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetNotificationsForAccount operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetNotificationsForAccount /// operation. /// REST API Reference for DescribeBudgetNotificationsForAccount Operation public virtual IAsyncResult BeginDescribeBudgetNotificationsForAccount(DescribeBudgetNotificationsForAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetNotificationsForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetNotificationsForAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetNotificationsForAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetNotificationsForAccount. /// /// Returns a DescribeBudgetNotificationsForAccountResult from Budgets. /// REST API Reference for DescribeBudgetNotificationsForAccount Operation public virtual DescribeBudgetNotificationsForAccountResponse EndDescribeBudgetNotificationsForAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgetPerformanceHistory /// /// Describes the history for DAILY, MONTHLY, and QUARTERLY /// budgets. Budget history isn't available for ANNUAL budgets. /// /// Container for the necessary parameters to execute the DescribeBudgetPerformanceHistory service method. /// /// The response from the DescribeBudgetPerformanceHistory service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The pagination token expired. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgetPerformanceHistory Operation public virtual DescribeBudgetPerformanceHistoryResponse DescribeBudgetPerformanceHistory(DescribeBudgetPerformanceHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetPerformanceHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetPerformanceHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgetPerformanceHistory operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgetPerformanceHistory operation on AmazonBudgetsClient. /// 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 EndDescribeBudgetPerformanceHistory /// operation. /// REST API Reference for DescribeBudgetPerformanceHistory Operation public virtual IAsyncResult BeginDescribeBudgetPerformanceHistory(DescribeBudgetPerformanceHistoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetPerformanceHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetPerformanceHistoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgetPerformanceHistory operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgetPerformanceHistory. /// /// Returns a DescribeBudgetPerformanceHistoryResult from Budgets. /// REST API Reference for DescribeBudgetPerformanceHistory Operation public virtual DescribeBudgetPerformanceHistoryResponse EndDescribeBudgetPerformanceHistory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBudgets /// /// Lists the budgets that are associated with an account. /// /// /// /// The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, /// see the Examples /// section. /// /// /// /// Container for the necessary parameters to execute the DescribeBudgets service method. /// /// The response from the DescribeBudgets service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The pagination token expired. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeBudgets Operation public virtual DescribeBudgetsResponse DescribeBudgets(DescribeBudgetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBudgets operation. /// /// /// Container for the necessary parameters to execute the DescribeBudgets operation on AmazonBudgetsClient. /// 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 EndDescribeBudgets /// operation. /// REST API Reference for DescribeBudgets Operation public virtual IAsyncResult BeginDescribeBudgets(DescribeBudgetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBudgetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBudgetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBudgets operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBudgets. /// /// Returns a DescribeBudgetsResult from Budgets. /// REST API Reference for DescribeBudgets Operation public virtual DescribeBudgetsResponse EndDescribeBudgets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeNotificationsForBudget /// /// Lists the notifications that are associated with a budget. /// /// Container for the necessary parameters to execute the DescribeNotificationsForBudget service method. /// /// The response from the DescribeNotificationsForBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The pagination token expired. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeNotificationsForBudget Operation public virtual DescribeNotificationsForBudgetResponse DescribeNotificationsForBudget(DescribeNotificationsForBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNotificationsForBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNotificationsForBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeNotificationsForBudget operation. /// /// /// Container for the necessary parameters to execute the DescribeNotificationsForBudget operation on AmazonBudgetsClient. /// 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 EndDescribeNotificationsForBudget /// operation. /// REST API Reference for DescribeNotificationsForBudget Operation public virtual IAsyncResult BeginDescribeNotificationsForBudget(DescribeNotificationsForBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNotificationsForBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNotificationsForBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeNotificationsForBudget operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeNotificationsForBudget. /// /// Returns a DescribeNotificationsForBudgetResult from Budgets. /// REST API Reference for DescribeNotificationsForBudget Operation public virtual DescribeNotificationsForBudgetResponse EndDescribeNotificationsForBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSubscribersForNotification /// /// Lists the subscribers that are associated with a notification. /// /// Container for the necessary parameters to execute the DescribeSubscribersForNotification service method. /// /// The response from the DescribeSubscribersForNotification service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The pagination token expired. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// The pagination token is invalid. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for DescribeSubscribersForNotification Operation public virtual DescribeSubscribersForNotificationResponse DescribeSubscribersForNotification(DescribeSubscribersForNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSubscribersForNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSubscribersForNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSubscribersForNotification operation. /// /// /// Container for the necessary parameters to execute the DescribeSubscribersForNotification operation on AmazonBudgetsClient. /// 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 EndDescribeSubscribersForNotification /// operation. /// REST API Reference for DescribeSubscribersForNotification Operation public virtual IAsyncResult BeginDescribeSubscribersForNotification(DescribeSubscribersForNotificationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSubscribersForNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSubscribersForNotificationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSubscribersForNotification operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSubscribersForNotification. /// /// Returns a DescribeSubscribersForNotificationResult from Budgets. /// REST API Reference for DescribeSubscribersForNotification Operation public virtual DescribeSubscribersForNotificationResponse EndDescribeSubscribersForNotification(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExecuteBudgetAction /// /// Executes a budget action. /// /// Container for the necessary parameters to execute the ExecuteBudgetAction service method. /// /// The response from the ExecuteBudgetAction service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The request was received and recognized by the server, but the server rejected that /// particular method for the requested resource. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for ExecuteBudgetAction Operation public virtual ExecuteBudgetActionResponse ExecuteBudgetAction(ExecuteBudgetActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteBudgetActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExecuteBudgetAction operation. /// /// /// Container for the necessary parameters to execute the ExecuteBudgetAction operation on AmazonBudgetsClient. /// 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 EndExecuteBudgetAction /// operation. /// REST API Reference for ExecuteBudgetAction Operation public virtual IAsyncResult BeginExecuteBudgetAction(ExecuteBudgetActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteBudgetActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExecuteBudgetAction operation. /// /// /// The IAsyncResult returned by the call to BeginExecuteBudgetAction. /// /// Returns a ExecuteBudgetActionResult from Budgets. /// REST API Reference for ExecuteBudgetAction Operation public virtual ExecuteBudgetActionResponse EndExecuteBudgetAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateBudget /// /// Updates a budget. You can change every part of a budget except for the budgetName /// and the calculatedSpend. When you modify a budget, the calculatedSpend /// drops to zero until Amazon Web Services has new usage data to use for forecasting. /// /// /// /// Only one of BudgetLimit or PlannedBudgetLimits can be present /// in the syntax at one time. Use the syntax that matches your case. The Request Syntax /// section shows the BudgetLimit syntax. For PlannedBudgetLimits, /// see the Examples /// section. /// /// /// /// Container for the necessary parameters to execute the UpdateBudget service method. /// /// The response from the UpdateBudget service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for UpdateBudget Operation public virtual UpdateBudgetResponse UpdateBudget(UpdateBudgetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBudgetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateBudget operation. /// /// /// Container for the necessary parameters to execute the UpdateBudget operation on AmazonBudgetsClient. /// 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 EndUpdateBudget /// operation. /// REST API Reference for UpdateBudget Operation public virtual IAsyncResult BeginUpdateBudget(UpdateBudgetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBudgetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBudgetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBudget operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBudget. /// /// Returns a UpdateBudgetResult from Budgets. /// REST API Reference for UpdateBudget Operation public virtual UpdateBudgetResponse EndUpdateBudget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateBudgetAction /// /// Updates a budget action. /// /// Container for the necessary parameters to execute the UpdateBudgetAction service method. /// /// The response from the UpdateBudgetAction service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The request was received and recognized by the server, but the server rejected that /// particular method for the requested resource. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for UpdateBudgetAction Operation public virtual UpdateBudgetActionResponse UpdateBudgetAction(UpdateBudgetActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBudgetActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateBudgetAction operation. /// /// /// Container for the necessary parameters to execute the UpdateBudgetAction operation on AmazonBudgetsClient. /// 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 EndUpdateBudgetAction /// operation. /// REST API Reference for UpdateBudgetAction Operation public virtual IAsyncResult BeginUpdateBudgetAction(UpdateBudgetActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBudgetActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBudgetActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBudgetAction operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBudgetAction. /// /// Returns a UpdateBudgetActionResult from Budgets. /// REST API Reference for UpdateBudgetAction Operation public virtual UpdateBudgetActionResponse EndUpdateBudgetAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateNotification /// /// Updates a notification. /// /// Container for the necessary parameters to execute the UpdateNotification service method. /// /// The response from the UpdateNotification service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for UpdateNotification Operation public virtual UpdateNotificationResponse UpdateNotification(UpdateNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateNotification operation. /// /// /// Container for the necessary parameters to execute the UpdateNotification operation on AmazonBudgetsClient. /// 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 EndUpdateNotification /// operation. /// REST API Reference for UpdateNotification Operation public virtual IAsyncResult BeginUpdateNotification(UpdateNotificationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotificationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateNotification operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateNotification. /// /// Returns a UpdateNotificationResult from Budgets. /// REST API Reference for UpdateNotification Operation public virtual UpdateNotificationResponse EndUpdateNotification(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSubscriber /// /// Updates a subscriber. /// /// Container for the necessary parameters to execute the UpdateSubscriber service method. /// /// The response from the UpdateSubscriber service method, as returned by Budgets. /// /// You are not authorized to use this operation with the given parameters. /// /// /// The budget name already exists. Budget names must be unique within an account. /// /// /// An error on the server occurred during the processing of your request. Try again later. /// /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// /// We can’t locate the resource that you specified. /// /// /// The number of API requests has exceeded the maximum allowed API request throttling /// limit for the account. /// /// REST API Reference for UpdateSubscriber Operation public virtual UpdateSubscriberResponse UpdateSubscriber(UpdateSubscriberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSubscriber operation. /// /// /// Container for the necessary parameters to execute the UpdateSubscriber operation on AmazonBudgetsClient. /// 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 EndUpdateSubscriber /// operation. /// REST API Reference for UpdateSubscriber Operation public virtual IAsyncResult BeginUpdateSubscriber(UpdateSubscriberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriberRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSubscriber operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSubscriber. /// /// Returns a UpdateSubscriberResult from Budgets. /// REST API Reference for UpdateSubscriber Operation public virtual UpdateSubscriberResponse EndUpdateSubscriber(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }