« blib/lib/Paws/AccessAnalyzer/UpdateArchiveRule.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/ValidatePolicy.pm »
| 1 | |||
| 2 | package Paws::AccessAnalyzer::UpdateFindings; | ||
| 3 | use Moose; | ||
| 4 | has AnalyzerArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'analyzerArn', required => 1); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 6 | has Ids => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ids'); | ||
| 7 | has ResourceArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceArn'); | ||
| 8 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFindings'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/finding'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AccessAnalyzer::UpdateFindings - Arguments for method UpdateFindings on L<Paws::AccessAnalyzer> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateFindings on the | ||
| 27 | L<Access Analyzer|Paws::AccessAnalyzer> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateFindings. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFindings. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $access-analyzer = Paws->service('AccessAnalyzer'); | ||
| 35 | $access -analyzer->UpdateFindings( | ||
| 36 | AnalyzerArn => 'MyAnalyzerArn', | ||
| 37 | Status => 'ACTIVE', | ||
| 38 | ClientToken => 'MyString', # OPTIONAL | ||
| 39 | Ids => [ 'MyFindingId', ... ], # OPTIONAL | ||
| 40 | ResourceArn => 'MyResourceArn', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/access-analyzer/UpdateFindings> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> AnalyzerArn => Str | ||
| 50 | |||
| 51 | The ARN of the analyzer | ||
| 52 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) | ||
| 53 | that generated the findings to update. | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | =head2 ClientToken => Str | ||
| 58 | |||
| 59 | A client token. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 Ids => ArrayRef[Str|Undef] | ||
| 64 | |||
| 65 | The IDs of the findings to update. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 ResourceArn => Str | ||
| 70 | |||
| 71 | The ARN of the resource identified in the finding. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> Status => Str | ||
| 76 | |||
| 77 | The state represents the action to take to update the finding Status. | ||
| 78 | Use C<ARCHIVE> to change an Active finding to an Archived finding. Use | ||
| 79 | C<ACTIVE> to change an Archived finding to an Active finding. | ||
| 80 | |||
| 81 | Valid values are: C<"ACTIVE">, C<"ARCHIVED"> | ||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, documenting arguments for method UpdateFindings in L<Paws::AccessAnalyzer> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |