Paws
view release on metacpan or search on metacpan
lib/Paws/AccessAnalyzer/AccessPreviewFinding.pm view on Meta::CPAN
# Generated by default/object.tt
package Paws::AccessAnalyzer::AccessPreviewFinding;
use Moose;
has Action => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'action', traits => ['NameInRequest']);
has ChangeType => (is => 'ro', isa => 'Str', request_name => 'changeType', traits => ['NameInRequest'], required => 1);
has Condition => (is => 'ro', isa => 'Paws::AccessAnalyzer::ConditionKeyMap', request_name => 'condition', traits => ['NameInRequest']);
has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
has Error => (is => 'ro', isa => 'Str', request_name => 'error', traits => ['NameInRequest']);
has ExistingFindingId => (is => 'ro', isa => 'Str', request_name => 'existingFindingId', traits => ['NameInRequest']);
has ExistingFindingStatus => (is => 'ro', isa => 'Str', request_name => 'existingFindingStatus', traits => ['NameInRequest']);
has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
has IsPublic => (is => 'ro', isa => 'Bool', request_name => 'isPublic', traits => ['NameInRequest']);
has Principal => (is => 'ro', isa => 'Paws::AccessAnalyzer::PrincipalMap', request_name => 'principal', traits => ['NameInRequest']);
has Resource => (is => 'ro', isa => 'Str', request_name => 'resource', traits => ['NameInRequest']);
has ResourceOwnerAccount => (is => 'ro', isa => 'Str', request_name => 'resourceOwnerAccount', traits => ['NameInRequest'], required => 1);
has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest'], required => 1);
has Sources => (is => 'ro', isa => 'ArrayRef[Paws::AccessAnalyzer::FindingSource]', request_name => 'sources', traits => ['NameInRequest']);
has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::AccessAnalyzer::AccessPreviewFinding
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::AccessAnalyzer::AccessPreviewFinding object:
$service_obj->Method(Att1 => { Action => $value, ..., Status => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::AccessPreviewFinding object:
$result = $service_obj->Method(...);
$result->Att1->Action
=head1 DESCRIPTION
An access preview finding generated by the access preview.
=head1 ATTRIBUTES
=head2 Action => ArrayRef[Str|Undef]
The action in the analyzed policy statement that an external principal
has permission to perform.
=head2 B<REQUIRED> ChangeType => Str
Provides context on how the access preview finding compares to existing
access identified in Access Analyzer.
=over
=item *
C<New> - The finding is for newly-introduced access.
=item *
C<Unchanged> - The preview finding is an existing finding that would
remain unchanged.
=item *
( run in 0.661 second using v1.01-cache-2.11-cpan-39bf76dae61 )