« blib/lib/Paws/Macie2/UpdateClassificationJobResponse.pm
↑ Summary
blib/lib/Paws/Macie2/UpdateFindingsFilterResponse.pm »
| 1 | |||
| 2 | package Paws::Macie2::UpdateFindingsFilter; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'action'); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 7 | has FindingCriteria => (is => 'ro', isa => 'Paws::Macie2::FindingCriteria', traits => ['NameInRequest'], request_name => 'findingCriteria'); | ||
| 8 | has Id => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'id', required => 1); | ||
| 9 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name'); | ||
| 10 | has Position => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'position'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFindingsFilter'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/findingsfilters/{id}'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Macie2::UpdateFindingsFilterResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::Macie2::UpdateFindingsFilter - Arguments for method UpdateFindingsFilter on L<Paws::Macie2> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method UpdateFindingsFilter on the | ||
| 29 | L<Amazon Macie 2|Paws::Macie2> service. Use the attributes of this class | ||
| 30 | as arguments to method UpdateFindingsFilter. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFindingsFilter. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $macie2 = Paws->service('Macie2'); | ||
| 37 | my $UpdateFindingsFilterResponse = $macie2->UpdateFindingsFilter( | ||
| 38 | Id => 'My__string', | ||
| 39 | Action => 'ARCHIVE', # OPTIONAL | ||
| 40 | ClientToken => 'My__string', # OPTIONAL | ||
| 41 | Description => 'My__string', # OPTIONAL | ||
| 42 | FindingCriteria => { | ||
| 43 | Criterion => { | ||
| 44 | 'My__string' => { | ||
| 45 | Eq => [ 'My__string', ... ], # OPTIONAL | ||
| 46 | EqExactMatch => [ 'My__string', ... ], # OPTIONAL | ||
| 47 | Gt => 1, # OPTIONAL | ||
| 48 | Gte => 1, # OPTIONAL | ||
| 49 | Lt => 1, # OPTIONAL | ||
| 50 | Lte => 1, # OPTIONAL | ||
| 51 | Neq => [ 'My__string', ... ], # OPTIONAL | ||
| 52 | }, | ||
| 53 | }, # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | Name => 'My__string', # OPTIONAL | ||
| 56 | Position => 1, # OPTIONAL | ||
| 57 | ); | ||
| 58 | |||
| 59 | # Results: | ||
| 60 | my $Arn = $UpdateFindingsFilterResponse->Arn; | ||
| 61 | my $Id = $UpdateFindingsFilterResponse->Id; | ||
| 62 | |||
| 63 | # Returns a L<Paws::Macie2::UpdateFindingsFilterResponse> object. | ||
| 64 | |||
| 65 | 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. | ||
| 66 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/macie2/UpdateFindingsFilter> | ||
| 67 | |||
| 68 | =head1 ATTRIBUTES | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Action => Str | ||
| 72 | |||
| 73 | The action to perform on findings that meet the filter criteria | ||
| 74 | (findingCriteria). Valid values are: ARCHIVE, suppress (automatically | ||
| 75 | archive) the findings; and, NOOP, don't perform any action on the | ||
| 76 | findings. | ||
| 77 | |||
| 78 | Valid values are: C<"ARCHIVE">, C<"NOOP"> | ||
| 79 | |||
| 80 | =head2 ClientToken => Str | ||
| 81 | |||
| 82 | A unique, case-sensitive token that you provide to ensure the | ||
| 83 | idempotency of the request. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 Description => Str | ||
| 88 | |||
| 89 | A custom description of the filter. The description can contain as many | ||
| 90 | as 512 characters. | ||
| 91 | |||
| 92 | We strongly recommend that you avoid including any sensitive data in | ||
| 93 | the description of a filter. Other users might be able to see the | ||
| 94 | filter's description, depending on the actions that they're allowed to | ||
| 95 | perform in Amazon Macie. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 FindingCriteria => L<Paws::Macie2::FindingCriteria> | ||
| 100 | |||
| 101 | The criteria to use to filter findings. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 B<REQUIRED> Id => Str | ||
| 106 | |||
| 107 | The unique identifier for the Amazon Macie resource or account that the | ||
| 108 | request applies to. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 Name => Str | ||
| 113 | |||
| 114 | A custom name for the filter. The name must contain at least 3 | ||
| 115 | characters and can contain as many as 64 characters. | ||
| 116 | |||
| 117 | We strongly recommend that you avoid including any sensitive data in | ||
| 118 | the name of a filter. Other users might be able to see the filter's | ||
| 119 | name, depending on the actions that they're allowed to perform in | ||
| 120 | Amazon Macie. | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head2 Position => Int | ||
| 125 | |||
| 126 | The position of the filter in the list of saved filters on the Amazon | ||
| 127 | Macie console. This value also determines the order in which the filter | ||
| 128 | is applied to findings, relative to other filters that are also applied | ||
| 129 | to the findings. | ||
| 130 | |||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | =head1 SEE ALSO | ||
| 135 | |||
| 136 | This class forms part of L<Paws>, documenting arguments for method UpdateFindingsFilter in L<Paws::Macie2> | ||
| 137 | |||
| 138 | =head1 BUGS and CONTRIBUTIONS | ||
| 139 | |||
| 140 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 141 | |||
| 142 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 143 | |||
| 144 | =cut | ||
| 145 |