blib/lib/Paws/Organizations/Organization.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Organizations::Organization;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has AvailablePolicyTypes => (is => 'ro', isa => 'ArrayRef[Paws::Organizations::PolicyTypeSummary]');
6 has FeatureSet => (is => 'ro', isa => 'Str');
7 has Id => (is => 'ro', isa => 'Str');
8 has MasterAccountArn => (is => 'ro', isa => 'Str');
9 has MasterAccountEmail => (is => 'ro', isa => 'Str');
10 has MasterAccountId => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Organizations::Organization
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Organizations::Organization object:
30  
31 $service_obj->Method(Att1 => { Arn => $value, ..., MasterAccountId => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::Organization object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Arn
39  
40 =head1 DESCRIPTION
41  
42 Contains details about an organization. An organization is a collection
43 of accounts that are centrally managed together using consolidated
44 billing, organized hierarchically with organizational units (OUs), and
45 controlled with policies .
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 Arn => Str
51  
52 The Amazon Resource Name (ARN) of an organization.
53  
54 For more information about ARNs in Organizations, see ARN Formats
55 Supported by Organizations
56 (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies)
57 in the I<AWS Service Authorization Reference>.
58  
59  
60 =head2 AvailablePolicyTypes => ArrayRef[L<Paws::Organizations::PolicyTypeSummary>]
61  
62 Do not use. This field is deprecated and doesn't provide complete
63 information about the policies in your organization.
64  
65 To determine the policies that are enabled and available for use in
66 your organization, use the ListRoots operation instead.
67  
68  
69 =head2 FeatureSet => Str
70  
71 Specifies the functionality that currently is available to the
72 organization. If set to "ALL", then all features are enabled and
73 policies can be applied to accounts in the organization. If set to
74 "CONSOLIDATED_BILLING", then only consolidated billing functionality is
75 available. For more information, see Enabling All Features in Your
76 Organization
77 (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)
78 in the I<AWS Organizations User Guide>.
79  
80  
81 =head2 Id => Str
82  
83 The unique identifier (ID) of an organization.
84  
85 The regex pattern (http://wikipedia.org/wiki/regex) for an organization
86 ID string requires "o-" followed by from 10 to 32 lowercase letters or
87 digits.
88  
89  
90 =head2 MasterAccountArn => Str
91  
92 The Amazon Resource Name (ARN) of the account that is designated as the
93 management account for the organization.
94  
95 For more information about ARNs in Organizations, see ARN Formats
96 Supported by Organizations
97 (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies)
98 in the I<AWS Service Authorization Reference>.
99  
100  
101 =head2 MasterAccountEmail => Str
102  
103 The email address that is associated with the AWS account that is
104 designated as the management account for the organization.
105  
106  
107 =head2 MasterAccountId => Str
108  
109 The unique identifier (ID) of the management account of an
110 organization.
111  
112 The regex pattern (http://wikipedia.org/wiki/regex) for an account ID
113 string requires exactly 12 digits.
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128