Paws::Budgets::CreateBudget - Arguments for method CreateBudget on Paws::Budgets
This class represents the parameters used for calling the method CreateBudget on the AWS Budgets service. Use the attributes of this class as arguments to method CreateBudget.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBudget.
my $budgets = Paws->service('Budgets'); my $CreateBudgetResponse = $budgets->CreateBudget( AccountId => 'MyAccountId', Budget => { BudgetType => 'USAGE', # values: USAGE, COST, RI_UTILIZATION, RI_COVERAGE TimeUnit => 'DAILY', # values: DAILY, MONTHLY, QUARTERLY, ANNUALLY BudgetName => 'MyBudgetName', # max: 100 BudgetLimit => { Unit => 'MyUnitValue', # min: 1, Amount => 'MyNumericValue', }, CostFilters => { 'MyGenericString' => [ 'MyGenericString', ... ], } , # OPTIONAL CalculatedSpend => { ActualSpend => { Unit => 'MyUnitValue', # min: 1, Amount => 'MyNumericValue', }, ForecastedSpend => { Unit => 'MyUnitValue', # min: 1, Amount => 'MyNumericValue', }, }, # OPTIONAL CostTypes => { UseBlended => 1, # OPTIONAL IncludeRecurring => 1, # OPTIONAL IncludeRefund => 1, # OPTIONAL IncludeTax => 1, # OPTIONAL IncludeSupport => 1, # OPTIONAL IncludeSubscription => 1, # OPTIONAL IncludeUpfront => 1, # OPTIONAL IncludeDiscount => 1, # OPTIONAL IncludeOtherSubscription => 1, # OPTIONAL UseAmortized => 1, # OPTIONAL IncludeCredit => 1, # OPTIONAL }, # OPTIONAL TimePeriod => { Start => '1970-01-01T01:00:00', # OPTIONAL End => '1970-01-01T01:00:00', # OPTIONAL }, # OPTIONAL }, NotificationsWithSubscribers => [ { Notification => { Threshold => 1, # min: 0.1, max: 1000000000 ComparisonOperator => 'GREATER_THAN', # values: GREATER_THAN, LESS_THAN, EQUAL_TO NotificationType => 'ACTUAL', # values: ACTUAL, FORECASTED ThresholdType => 'PERCENTAGE', # values: PERCENTAGE, ABSOLUTE_VALUE; OPTIONAL }, Subscribers => [ { Address => 'MySubscriberAddress', # min: 1, SubscriptionType => 'SNS', # values: SNS, EMAIL }, ... ], # min: 1, max: 11 }, ... ], # OPTIONAL );
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/budgets/CreateBudget
The accountId that is associated with the budget.
accountId
The budget object that you want to create.
A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
CreateBudget
This class forms part of Paws, documenting arguments for method CreateBudget in Paws::Budgets
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.