blib/lib/Paws/Budgets/Action.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Budgets::Action;
3 use Moose;
4 has ActionId => (is => 'ro', isa => 'Str', required => 1);
5 has ActionThreshold => (is => 'ro', isa => 'Paws::Budgets::ActionThreshold', required => 1);
6 has ActionType => (is => 'ro', isa => 'Str', required => 1);
7 has ApprovalModel => (is => 'ro', isa => 'Str', required => 1);
8 has BudgetName => (is => 'ro', isa => 'Str', required => 1);
9 has Definition => (is => 'ro', isa => 'Paws::Budgets::Definition', required => 1);
10 has ExecutionRoleArn => (is => 'ro', isa => 'Str', required => 1);
11 has NotificationType => (is => 'ro', isa => 'Str', required => 1);
12 has Status => (is => 'ro', isa => 'Str', required => 1);
13 has Subscribers => (is => 'ro', isa => 'ArrayRef[Paws::Budgets::Subscriber]', required => 1);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Budgets::Action
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::Budgets::Action object:
33  
34 $service_obj->Method(Att1 => { ActionId => $value, ..., Subscribers => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::Budgets::Action object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->ActionId
42  
43 =head1 DESCRIPTION
44  
45 A budget action resource.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 B<REQUIRED> ActionId => Str
51  
52 A system-generated universally unique identifier (UUID) for the action.
53  
54  
55 =head2 B<REQUIRED> ActionThreshold => L<Paws::Budgets::ActionThreshold>
56  
57 The trigger threshold of the action.
58  
59  
60 =head2 B<REQUIRED> ActionType => Str
61  
62 The type of action. This defines the type of tasks that can be carried
63 out by this action. This field also determines the format for
64 definition.
65  
66  
67 =head2 B<REQUIRED> ApprovalModel => Str
68  
69 This specifies if the action needs manual or automatic approval.
70  
71  
72 =head2 B<REQUIRED> BudgetName => Str
73  
74  
75  
76  
77 =head2 B<REQUIRED> Definition => L<Paws::Budgets::Definition>
78  
79 Where you specify all of the type-specific parameters.
80  
81  
82 =head2 B<REQUIRED> ExecutionRoleArn => Str
83  
84 The role passed for action execution and reversion. Roles and actions
85 must be in the same account.
86  
87  
88 =head2 B<REQUIRED> NotificationType => Str
89  
90  
91  
92  
93 =head2 B<REQUIRED> Status => Str
94  
95 The status of action.
96  
97  
98 =head2 B<REQUIRED> Subscribers => ArrayRef[L<Paws::Budgets::Subscriber>]
99  
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, describing an object used in L<Paws::Budgets>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115