File Coverage

blib/lib/Paws/Organizations/PolicySummary.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Organizations::PolicySummary;
2 1     1   547 use Moose;
  1         4  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str');
4             has AwsManaged => (is => 'ro', isa => 'Bool');
5             has Description => (is => 'ro', isa => 'Str');
6             has Id => (is => 'ro', isa => 'Str');
7             has Name => (is => 'ro', isa => 'Str');
8             has Type => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Organizations::PolicySummary
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Organizations::PolicySummary object:
27              
28             $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::PolicySummary object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Arn
36              
37             =head1 DESCRIPTION
38              
39             Contains information about a policy, but does not include the content.
40             To see the content of a policy, see DescribePolicy.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Arn => Str
46              
47             The Amazon Resource Name (ARN) of the policy.
48              
49             For more information about ARNs in Organizations, see ARN Formats
50             Supported by Organizations in the I<AWS Organizations User Guide>.
51              
52              
53             =head2 AwsManaged => Bool
54              
55             A boolean value that indicates whether the specified policy is an AWS
56             managed policy. If true, then you can attach the policy to roots, OUs,
57             or accounts, but you cannot edit it.
58              
59              
60             =head2 Description => Str
61              
62             The description of the policy.
63              
64              
65             =head2 Id => Str
66              
67             The unique identifier (ID) of the policy.
68              
69             The regex pattern for a policy ID string requires "p-" followed by from
70             8 to 128 lower-case letters or digits.
71              
72              
73             =head2 Name => Str
74              
75             The friendly name of the policy.
76              
77             The regex pattern that is used to validate this parameter is a string
78             of any of the characters in the ASCII character range.
79              
80              
81             =head2 Type => Str
82              
83             The type of policy.
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98