« blib/lib/Paws/Inspector/RegisterCrossAccountAccessRole.pm
↑ Summary
blib/lib/Paws/Inspector/RemoveAttributesFromFindingsResponse.pm »
| 1 | |||
| 2 | package Paws::Inspector::RemoveAttributesFromFindings; | ||
| 3 | use Moose; | ||
| 4 | has AttributeKeys => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'attributeKeys' , required => 1); | ||
| 5 | has FindingArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'findingArns' , required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveAttributesFromFindings'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Inspector::RemoveAttributesFromFindingsResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::Inspector::RemoveAttributesFromFindings - Arguments for method RemoveAttributesFromFindings on L<Paws::Inspector> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method RemoveAttributesFromFindings on the | ||
| 23 | L<Amazon Inspector|Paws::Inspector> service. Use the attributes of this class | ||
| 24 | as arguments to method RemoveAttributesFromFindings. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RemoveAttributesFromFindings. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $inspector = Paws->service('Inspector'); | ||
| 31 | # Remove attributes from findings | ||
| 32 | # Removes entire attributes (key and value pairs) from the findings that are | ||
| 33 | # specified by the ARNs of the findings where an attribute with the specified | ||
| 34 | # key exists. | ||
| 35 | my $RemoveAttributesFromFindingsResponse = | ||
| 36 | $inspector->RemoveAttributesFromFindings( | ||
| 37 | 'AttributeKeys' => ['key=Example,value=example'], | ||
| 38 | 'FindingArns' => [ | ||
| 39 | 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU' | ||
| 40 | ] | ||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $failedItems = $RemoveAttributesFromFindingsResponse->failedItems; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Inspector::RemoveAttributesFromFindingsResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/inspector/RemoveAttributesFromFindings> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> AttributeKeys => ArrayRef[Str|Undef] | ||
| 55 | |||
| 56 | The array of attribute keys that you want to remove from specified | ||
| 57 | findings. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> FindingArns => ArrayRef[Str|Undef] | ||
| 62 | |||
| 63 | The ARNs that specify the findings that you want to remove attributes | ||
| 64 | from. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | This class forms part of L<Paws>, documenting arguments for method RemoveAttributesFromFindings in L<Paws::Inspector> | ||
| 72 | |||
| 73 | =head1 BUGS and CONTRIBUTIONS | ||
| 74 | |||
| 75 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 76 | |||
| 77 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 78 | |||
| 79 | =cut | ||
| 80 |