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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Budgets::ExecuteBudgetAction;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', required => 1);
5 has ActionId => (is => 'ro', isa => 'Str', required => 1);
6 has BudgetName => (is => 'ro', isa => 'Str', required => 1);
7 has ExecutionType => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ExecuteBudgetAction');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Budgets::ExecuteBudgetActionResponse');
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::ExecuteBudgetAction - Arguments for method ExecuteBudgetAction on L<Paws::Budgets>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ExecuteBudgetAction on the
25 L<AWS Budgets|Paws::Budgets> service. Use the attributes of this class
26 as arguments to method ExecuteBudgetAction.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExecuteBudgetAction.
29  
30 =head1 SYNOPSIS
31  
32 my $budgets = Paws->service('Budgets');
33 my $ExecuteBudgetActionResponse = $budgets->ExecuteBudgetAction(
34 AccountId => 'MyAccountId',
35 ActionId => 'MyActionId',
36 BudgetName => 'MyBudgetName',
37 ExecutionType => 'APPROVE_BUDGET_ACTION',
38  
39 );
40  
41 # Results:
42 my $AccountId = $ExecuteBudgetActionResponse->AccountId;
43 my $ActionId = $ExecuteBudgetActionResponse->ActionId;
44 my $BudgetName = $ExecuteBudgetActionResponse->BudgetName;
45 my $ExecutionType = $ExecuteBudgetActionResponse->ExecutionType;
46  
47 # Returns a L<Paws::Budgets::ExecuteBudgetActionResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/budgets/ExecuteBudgetAction>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> AccountId => Str
56  
57  
58  
59  
60  
61 =head2 B<REQUIRED> ActionId => Str
62  
63 A system-generated universally unique identifier (UUID) for the action.
64  
65  
66  
67 =head2 B<REQUIRED> BudgetName => Str
68  
69  
70  
71  
72  
73 =head2 B<REQUIRED> ExecutionType => Str
74  
75 The type of execution.
76  
77 Valid values are: C<"APPROVE_BUDGET_ACTION">, C<"RETRY_BUDGET_ACTION">, C<"REVERSE_BUDGET_ACTION">, C<"RESET_BUDGET_ACTION">
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method ExecuteBudgetAction in L<Paws::Budgets>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91