« blib/lib/Paws/AccessAnalyzer/GeneratedPolicy.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/GeneratedPolicyResult.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::GeneratedPolicyProperties; | ||
| 3 | use Moose; | ||
| 4 | has CloudTrailProperties => (is => 'ro', isa => 'Paws::AccessAnalyzer::CloudTrailProperties', request_name => 'cloudTrailProperties', traits => ['NameInRequest']); | ||
| 5 | has IsComplete => (is => 'ro', isa => 'Bool', request_name => 'isComplete', traits => ['NameInRequest']); | ||
| 6 | has PrincipalArn => (is => 'ro', isa => 'Str', request_name => 'principalArn', traits => ['NameInRequest'], required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::AccessAnalyzer::GeneratedPolicyProperties | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::AccessAnalyzer::GeneratedPolicyProperties object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { CloudTrailProperties => $value, ..., PrincipalArn => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::GeneratedPolicyProperties object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->CloudTrailProperties | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Contains the generated policy details. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 CloudTrailProperties => L<Paws::AccessAnalyzer::CloudTrailProperties> | ||
| 44 | |||
| 45 | Lists details about the C<Trail> used to generated policy. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 IsComplete => Bool | ||
| 49 | |||
| 50 | This value is set to C<true> if the generated policy contains all | ||
| 51 | possible actions for a service that Access Analyzer identified from the | ||
| 52 | CloudTrail trail that you specified, and C<false> otherwise. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> PrincipalArn => Str | ||
| 56 | |||
| 57 | The ARN of the IAM entity (user or role) for which you are generating a | ||
| 58 | policy. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head1 SEE ALSO | ||
| 63 | |||
| 64 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 65 | |||
| 66 | =head1 BUGS and CONTRIBUTIONS | ||
| 67 | |||
| 68 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 69 | |||
| 70 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 71 | |||
| 72 | =cut | ||
| 73 |