« blib/lib/Paws/Budgets/DescribeNotificationsForBudgetResponse.pm
↑ Summary
blib/lib/Paws/Budgets/DescribeSubscribersForNotificationResponse.pm »
| 1 | |||
| 2 | package Paws::Budgets::DescribeSubscribersForNotification; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has BudgetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | has Notification => (is => 'ro', isa => 'Paws::Budgets::Notification', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeSubscribersForNotification'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Budgets::DescribeSubscribersForNotificationResponse'); | ||
| 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::DescribeSubscribersForNotification - Arguments for method DescribeSubscribersForNotification on L<Paws::Budgets> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DescribeSubscribersForNotification on the | ||
| 26 | L<AWS Budgets|Paws::Budgets> service. Use the attributes of this class | ||
| 27 | as arguments to method DescribeSubscribersForNotification. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSubscribersForNotification. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $budgets = Paws->service('Budgets'); | ||
| 34 | my $DescribeSubscribersForNotificationResponse = | ||
| 35 | $budgets->DescribeSubscribersForNotification( | ||
| 36 | AccountId => 'MyAccountId', | ||
| 37 | BudgetName => 'MyBudgetName', | ||
| 38 | Notification => { | ||
| 39 | ComparisonOperator => | ||
| 40 | 'GREATER_THAN', # values: GREATER_THAN, LESS_THAN, EQUAL_TO | ||
| 41 | NotificationType => 'ACTUAL', # values: ACTUAL, FORECASTED | ||
| 42 | Threshold => 1, # max: 40000000000 | ||
| 43 | NotificationState => 'OK', # values: OK, ALARM; OPTIONAL | ||
| 44 | ThresholdType => | ||
| 45 | 'PERCENTAGE', # values: PERCENTAGE, ABSOLUTE_VALUE; OPTIONAL | ||
| 46 | }, | ||
| 47 | MaxResults => 1, # OPTIONAL | ||
| 48 | NextToken => 'MyGenericString', # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $NextToken = $DescribeSubscribersForNotificationResponse->NextToken; | ||
| 53 | my $Subscribers = $DescribeSubscribersForNotificationResponse->Subscribers; | ||
| 54 | |||
| 55 | # Returns a L<Paws::Budgets::DescribeSubscribersForNotificationResponse> object. | ||
| 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/DescribeSubscribersForNotification> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> AccountId => Str | ||
| 64 | |||
| 65 | The C<accountId> that is associated with the budget whose subscribers | ||
| 66 | you want descriptions of. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> BudgetName => Str | ||
| 71 | |||
| 72 | The name of the budget whose subscribers you want descriptions of. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 MaxResults => Int | ||
| 77 | |||
| 78 | An optional integer that represents how many entries a paginated | ||
| 79 | response contains. The maximum is 100. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 NextToken => Str | ||
| 84 | |||
| 85 | The pagination token that you include in your request to indicate the | ||
| 86 | next set of results that you want to retrieve. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> Notification => L<Paws::Budgets::Notification> | ||
| 91 | |||
| 92 | The notification whose subscribers you want to list. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method DescribeSubscribersForNotification 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 |