Amazon.Budgets.AmazonBudgetsClient.CreateBudget C# (CSharp) Method

CreateBudget() public method

Create a new budget
/// The exception is thrown when customer tries to create a record (e.g. budget), but /// the number this record already exceeds the limitation. /// /// The exception is thrown when customer tries to create a record (e.g. budget) that /// already exists. /// /// This exception is thrown on an unknown internal failure. /// /// This exception is thrown if any request is given an invalid parameter. E.g., if a /// required Date field is null. ///
public CreateBudget ( CreateBudgetRequest request ) : CreateBudgetResponse
request Amazon.Budgets.Model.CreateBudgetRequest Container for the necessary parameters to execute the CreateBudget service method.
return CreateBudgetResponse
        public CreateBudgetResponse CreateBudget(CreateBudgetRequest request)
        {
            var marshaller = new CreateBudgetRequestMarshaller();
            var unmarshaller = CreateBudgetResponseUnmarshaller.Instance;

            return Invoke<CreateBudgetRequest,CreateBudgetResponse>(request, marshaller, unmarshaller);
        }