« blib/lib/Paws/AccessAnalyzer/FilterCriteriaMap.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/FindingSource.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::Finding; | ||
| 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::Finding | ||
| 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::Finding 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::Finding 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 was analyzed. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> Condition => L<Paws::AccessAnalyzer::ConditionKeyMap> | ||
| 66 | |||
| 67 | The condition in the analyzed policy statement that resulted in a | ||
| 68 | finding. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> CreatedAt => Str | ||
| 72 | |||
| 73 | The time at which the finding was generated. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 Error => Str | ||
| 77 | |||
| 78 | An error. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> Id => Str | ||
| 82 | |||
| 83 | The ID of the finding. | ||
| 84 | |||
| 85 | |||
| 86 | =head2 IsPublic => Bool | ||
| 87 | |||
| 88 | Indicates whether the policy that generated the finding allows public | ||
| 89 | access to the resource. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 Principal => L<Paws::AccessAnalyzer::PrincipalMap> | ||
| 93 | |||
| 94 | The external principal that access to a resource within the zone of | ||
| 95 | trust. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 Resource => Str | ||
| 99 | |||
| 100 | The resource that an external principal has access to. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 B<REQUIRED> ResourceOwnerAccount => Str | ||
| 104 | |||
| 105 | The AWS account ID that owns the resource. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 B<REQUIRED> ResourceType => Str | ||
| 109 | |||
| 110 | The type of the resource identified in the finding. | ||
| 111 | |||
| 112 | |||
| 113 | =head2 Sources => ArrayRef[L<Paws::AccessAnalyzer::FindingSource>] | ||
| 114 | |||
| 115 | The sources of the finding. This indicates how the access that | ||
| 116 | generated the finding is granted. It is populated for Amazon S3 bucket | ||
| 117 | findings. | ||
| 118 | |||
| 119 | |||
| 120 | =head2 B<REQUIRED> Status => Str | ||
| 121 | |||
| 122 | The current status of the finding. | ||
| 123 | |||
| 124 | |||
| 125 | =head2 B<REQUIRED> UpdatedAt => Str | ||
| 126 | |||
| 127 | The time at which the finding was updated. | ||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =head1 SEE ALSO | ||
| 132 | |||
| 133 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 134 | |||
| 135 | =head1 BUGS and CONTRIBUTIONS | ||
| 136 | |||
| 137 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 138 | |||
| 139 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 140 | |||
| 141 | =cut | ||
| 142 |