The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

This class represents the parameters used for calling the method UpdateSubscriber on the AWS Budgets service. Use the attributes of this class as arguments to method UpdateSubscriber.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSubscriber.

SYNOPSIS

my $budgets = Paws->service('Budgets');
my $UpdateSubscriberResponse = $budgets->UpdateSubscriber(
  AccountId     => 'MyAccountId',
  BudgetName    => 'MyBudgetName',
  NewSubscriber => {
    Address          => 'MySubscriberAddress',    # min: 1, max: 2147483647
    SubscriptionType => 'SNS',                    # values: SNS, EMAIL

  },
  Notification => {
    ComparisonOperator =>
      'GREATER_THAN',    # values: GREATER_THAN, LESS_THAN, EQUAL_TO
    NotificationType  => 'ACTUAL',    # values: ACTUAL, FORECASTED
    Threshold         => 1,           # max: 40000000000
    NotificationState => 'OK',        # values: OK, ALARM; OPTIONAL
    ThresholdType     =>
      'PERCENTAGE',    # values: PERCENTAGE, ABSOLUTE_VALUE; OPTIONAL
  },
  OldSubscriber => {
    Address          => 'MySubscriberAddress',    # min: 1, max: 2147483647
    SubscriptionType => 'SNS',                    # values: SNS, EMAIL

  },

);

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/UpdateSubscriber

ATTRIBUTES

REQUIRED AccountId => Str

The accountId that is associated with the budget whose subscriber you want to update.

REQUIRED BudgetName => Str

The name of the budget whose subscriber you want to update.

REQUIRED NewSubscriber => Paws::Budgets::Subscriber

The updated subscriber that is associated with a budget notification.

REQUIRED Notification => Paws::Budgets::Notification

The notification whose subscriber you want to update.

REQUIRED OldSubscriber => Paws::Budgets::Subscriber

The previous subscriber that is associated with a budget notification.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateSubscriber 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