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