« blib/lib/Paws/Budgets/UpdateBudgetResponse.pm
↑ Summary
blib/lib/Paws/Budgets/UpdateNotificationResponse.pm »
| 1 | |||
| 2 | package Paws::Budgets::UpdateNotification; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has BudgetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has NewNotification => (is => 'ro', isa => 'Paws::Budgets::Notification', required => 1); | ||
| 7 | has OldNotification => (is => 'ro', isa => 'Paws::Budgets::Notification', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateNotification'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Budgets::UpdateNotificationResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Budgets::UpdateNotification - Arguments for method UpdateNotification on L<Paws::Budgets> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateNotification on the | ||
| 25 | L<AWS Budgets|Paws::Budgets> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateNotification. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateNotification. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $budgets = Paws->service('Budgets'); | ||
| 33 | my $UpdateNotificationResponse = $budgets->UpdateNotification( | ||
| 34 | AccountId => 'MyAccountId', | ||
| 35 | BudgetName => 'MyBudgetName', | ||
| 36 | NewNotification => { | ||
| 37 | ComparisonOperator => | ||
| 38 | 'GREATER_THAN', # values: GREATER_THAN, LESS_THAN, EQUAL_TO | ||
| 39 | NotificationType => 'ACTUAL', # values: ACTUAL, FORECASTED | ||
| 40 | Threshold => 1, # max: 40000000000 | ||
| 41 | NotificationState => 'OK', # values: OK, ALARM; OPTIONAL | ||
| 42 | ThresholdType => | ||
| 43 | 'PERCENTAGE', # values: PERCENTAGE, ABSOLUTE_VALUE; OPTIONAL | ||
| 44 | }, | ||
| 45 | OldNotification => { | ||
| 46 | ComparisonOperator => | ||
| 47 | 'GREATER_THAN', # values: GREATER_THAN, LESS_THAN, EQUAL_TO | ||
| 48 | NotificationType => 'ACTUAL', # values: ACTUAL, FORECASTED | ||
| 49 | Threshold => 1, # max: 40000000000 | ||
| 50 | NotificationState => 'OK', # values: OK, ALARM; OPTIONAL | ||
| 51 | ThresholdType => | ||
| 52 | 'PERCENTAGE', # values: PERCENTAGE, ABSOLUTE_VALUE; OPTIONAL | ||
| 53 | }, | ||
| 54 | |||
| 55 | ); | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/budgets/UpdateNotification> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> AccountId => Str | ||
| 64 | |||
| 65 | The C<accountId> that is associated with the budget whose notification | ||
| 66 | you want to update. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> BudgetName => Str | ||
| 71 | |||
| 72 | The name of the budget whose notification you want to update. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> NewNotification => L<Paws::Budgets::Notification> | ||
| 77 | |||
| 78 | The updated notification to be associated with a budget. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> OldNotification => L<Paws::Budgets::Notification> | ||
| 83 | |||
| 84 | The previous notification that is associated with a budget. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, documenting arguments for method UpdateNotification in L<Paws::Budgets> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 |