The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Budgets::CreateBudget - Arguments for method CreateBudget on Paws::Budgets

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

REQUIRED AccountId => Str

The accountId that is associated with the budget.

REQUIRED Budget => Paws::Budgets::Budget

The budget object that you want to create.

NotificationsWithSubscribers => ArrayRef[Paws::Budgets::NotificationWithSubscribers]

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateBudget in Paws::Budgets

BUGS and CONTRIBUTIONS

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