blib/lib/Paws/Config/MemberAccountStatus.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Config::MemberAccountStatus;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', required => 1);
5 has ConfigRuleName => (is => 'ro', isa => 'Str', required => 1);
6 has ErrorCode => (is => 'ro', isa => 'Str');
7 has ErrorMessage => (is => 'ro', isa => 'Str');
8 has LastUpdateTime => (is => 'ro', isa => 'Str');
9 has MemberAccountRuleStatus => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Config::MemberAccountStatus
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::Config::MemberAccountStatus object:
29  
30 $service_obj->Method(Att1 => { AccountId => $value, ..., MemberAccountRuleStatus => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::Config::MemberAccountStatus object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->AccountId
38  
39 =head1 DESCRIPTION
40  
41 Organization config rule creation or deletion status in each member
42 account. This includes the name of the rule, the status, error code and
43 error message when the rule creation or deletion failed.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> AccountId => Str
49  
50 The 12-digit account ID of a member account.
51  
52  
53 =head2 B<REQUIRED> ConfigRuleName => Str
54  
55 The name of config rule deployed in the member account.
56  
57  
58 =head2 ErrorCode => Str
59  
60 An error code that is returned when config rule creation or deletion
61 failed in the member account.
62  
63  
64 =head2 ErrorMessage => Str
65  
66 An error message indicating that config rule account creation or
67 deletion has failed due to an error in the member account.
68  
69  
70 =head2 LastUpdateTime => Str
71  
72 The timestamp of the last status update.
73  
74  
75 =head2 B<REQUIRED> MemberAccountRuleStatus => Str
76  
77 Indicates deployment status for config rule in the member account. When
78 master account calls C<PutOrganizationConfigRule> action for the first
79 time, config rule status is created in the member account. When master
80 account calls C<PutOrganizationConfigRule> action for the second time,
81 config rule status is updated in the member account. Config rule status
82 is deleted when the master account deletes C<OrganizationConfigRule>
83 and disables service access for
84 C<config-multiaccountsetup.amazonaws.com>.
85  
86 AWS Config sets the state of the rule to:
87  
88 =over
89  
90 =item *
91  
92 C<CREATE_SUCCESSFUL> when config rule has been created in the member
93 account.
94  
95 =item *
96  
97 C<CREATE_IN_PROGRESS> when config rule is being created in the member
98 account.
99  
100 =item *
101  
102 C<CREATE_FAILED> when config rule creation has failed in the member
103 account.
104  
105 =item *
106  
107 C<DELETE_FAILED> when config rule deletion has failed in the member
108 account.
109  
110 =item *
111  
112 C<DELETE_IN_PROGRESS> when config rule is being deleted in the member
113 account.
114  
115 =item *
116  
117 C<DELETE_SUCCESSFUL> when config rule has been deleted in the member
118 account.
119  
120 =item *
121  
122 C<UPDATE_SUCCESSFUL> when config rule has been updated in the member
123 account.
124  
125 =item *
126  
127 C<UPDATE_IN_PROGRESS> when config rule is being updated in the member
128 account.
129  
130 =item *
131  
132 C<UPDATE_FAILED> when config rule deletion has failed in the member
133 account.
134  
135 =back
136  
137  
138  
139  
140 =head1 SEE ALSO
141  
142 This class forms part of L<Paws>, describing an object used in L<Paws::Config>
143  
144 =head1 BUGS and CONTRIBUTIONS
145  
146 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
147  
148 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
149  
150 =cut
151