« blib/lib/Paws/AccessAnalyzer/FindingSourceDetail.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/GeneratedPolicy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::FindingSummary; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'action', traits => ['NameInRequest']); | ||
| 5 | has AnalyzedAt => (is => 'ro', isa => 'Str', request_name => 'analyzedAt', traits => ['NameInRequest'], required => 1); | ||
| 6 | has Condition => (is => 'ro', isa => 'Paws::AccessAnalyzer::ConditionKeyMap', request_name => 'condition', traits => ['NameInRequest'], required => 1); | ||
| 7 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1); | ||
| 8 | has Error => (is => 'ro', isa => 'Str', request_name => 'error', traits => ['NameInRequest']); | ||
| 9 | has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1); | ||
| 10 | has IsPublic => (is => 'ro', isa => 'Bool', request_name => 'isPublic', traits => ['NameInRequest']); | ||
| 11 | has Principal => (is => 'ro', isa => 'Paws::AccessAnalyzer::PrincipalMap', request_name => 'principal', traits => ['NameInRequest']); | ||
| 12 | has Resource => (is => 'ro', isa => 'Str', request_name => 'resource', traits => ['NameInRequest']); | ||
| 13 | has ResourceOwnerAccount => (is => 'ro', isa => 'Str', request_name => 'resourceOwnerAccount', traits => ['NameInRequest'], required => 1); | ||
| 14 | has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest'], required => 1); | ||
| 15 | has Sources => (is => 'ro', isa => 'ArrayRef[Paws::AccessAnalyzer::FindingSource]', request_name => 'sources', traits => ['NameInRequest']); | ||
| 16 | has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1); | ||
| 17 | has UpdatedAt => (is => 'ro', isa => 'Str', request_name => 'updatedAt', traits => ['NameInRequest'], required => 1); | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::AccessAnalyzer::FindingSummary | ||
| 26 | |||
| 27 | =head1 USAGE | ||
| 28 | |||
| 29 | This class represents one of two things: | ||
| 30 | |||
| 31 | =head3 Arguments in a call to a service | ||
| 32 | |||
| 33 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 34 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 35 | |||
| 36 | As an example, if Att1 is expected to be a Paws::AccessAnalyzer::FindingSummary object: | ||
| 37 | |||
| 38 | $service_obj->Method(Att1 => { Action => $value, ..., UpdatedAt => $value }); | ||
| 39 | |||
| 40 | =head3 Results returned from an API call | ||
| 41 | |||
| 42 | Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::FindingSummary object: | ||
| 43 | |||
| 44 | $result = $service_obj->Method(...); | ||
| 45 | $result->Att1->Action | ||
| 46 | |||
| 47 | =head1 DESCRIPTION | ||
| 48 | |||
| 49 | Contains information about a finding. | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Action => ArrayRef[Str|Undef] | ||
| 55 | |||
| 56 | The action in the analyzed policy statement that an external principal | ||
| 57 | has permission to use. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> AnalyzedAt => Str | ||
| 61 | |||
| 62 | The time at which the resource-based policy that generated the finding | ||
| 63 | was analyzed. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Condition => L<Paws::AccessAnalyzer::ConditionKeyMap> | ||
| 67 | |||
| 68 | The condition in the analyzed policy statement that resulted in a | ||
| 69 | finding. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> CreatedAt => Str | ||
| 73 | |||
| 74 | The time at which the finding was created. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Error => Str | ||
| 78 | |||
| 79 | The error that resulted in an Error finding. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> Id => Str | ||
| 83 | |||
| 84 | The ID of the finding. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 IsPublic => Bool | ||
| 88 | |||
| 89 | Indicates whether the finding reports a resource that has a policy that | ||
| 90 | allows public access. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 Principal => L<Paws::AccessAnalyzer::PrincipalMap> | ||
| 94 | |||
| 95 | The external principal that has access to a resource within the zone of | ||
| 96 | trust. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 Resource => Str | ||
| 100 | |||
| 101 | The resource that the external principal has access to. | ||
| 102 | |||
| 103 | |||
| 104 | =head2 B<REQUIRED> ResourceOwnerAccount => Str | ||
| 105 | |||
| 106 | The AWS account ID that owns the resource. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 B<REQUIRED> ResourceType => Str | ||
| 110 | |||
| 111 | The type of the resource that the external principal has access to. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 Sources => ArrayRef[L<Paws::AccessAnalyzer::FindingSource>] | ||
| 115 | |||
| 116 | The sources of the finding. This indicates how the access that | ||
| 117 | generated the finding is granted. It is populated for Amazon S3 bucket | ||
| 118 | findings. | ||
| 119 | |||
| 120 | |||
| 121 | =head2 B<REQUIRED> Status => Str | ||
| 122 | |||
| 123 | The status of the finding. | ||
| 124 | |||
| 125 | |||
| 126 | =head2 B<REQUIRED> UpdatedAt => Str | ||
| 127 | |||
| 128 | The time at which the finding was most recently updated. | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head1 SEE ALSO | ||
| 133 | |||
| 134 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 135 | |||
| 136 | =head1 BUGS and CONTRIBUTIONS | ||
| 137 | |||
| 138 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 139 | |||
| 140 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 141 | |||
| 142 | =cut | ||
| 143 |