« blib/lib/Paws/Organizations/Policy.pm
↑ Summary
blib/lib/Paws/Organizations/PolicyTargetSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Organizations::PolicySummary; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str'); | ||
| 5 | has AwsManaged => (is => 'ro', isa => 'Bool'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has Id => (is => 'ro', isa => 'Str'); | ||
| 8 | has Name => (is => 'ro', isa => 'Str'); | ||
| 9 | has Type => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::Organizations::PolicySummary | ||
| 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::Organizations::PolicySummary object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Arn => $value, ..., Type => $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::Organizations::PolicySummary object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Arn | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Contains information about a policy, but does not include the content. | ||
| 42 | To see the content of a policy, see DescribePolicy. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Arn => Str | ||
| 48 | |||
| 49 | The Amazon Resource Name (ARN) of the policy. | ||
| 50 | |||
| 51 | For more information about ARNs in Organizations, see ARN Formats | ||
| 52 | Supported by Organizations | ||
| 53 | (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies) | ||
| 54 | in the I<AWS Service Authorization Reference>. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 AwsManaged => Bool | ||
| 58 | |||
| 59 | A boolean value that indicates whether the specified policy is an AWS | ||
| 60 | managed policy. If true, then you can attach the policy to roots, OUs, | ||
| 61 | or accounts, but you cannot edit it. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Description => Str | ||
| 65 | |||
| 66 | The description of the policy. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Id => Str | ||
| 70 | |||
| 71 | The unique identifier (ID) of the policy. | ||
| 72 | |||
| 73 | The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID | ||
| 74 | string requires "p-" followed by from 8 to 128 lowercase or uppercase | ||
| 75 | letters, digits, or the underscore character (_). | ||
| 76 | |||
| 77 | |||
| 78 | =head2 Name => Str | ||
| 79 | |||
| 80 | The friendly name of the policy. | ||
| 81 | |||
| 82 | The regex pattern (http://wikipedia.org/wiki/regex) that is used to | ||
| 83 | validate this parameter is a string of any of the characters in the | ||
| 84 | ASCII character range. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 Type => Str | ||
| 88 | |||
| 89 | The type of policy. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, describing an object used in L<Paws::Organizations> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |