« blib/lib/Paws/Inspector/DescribeExclusionsResponse.pm
↑ Summary
blib/lib/Paws/Inspector/DescribeFindingsResponse.pm »
| 1 | |||
| 2 | package Paws::Inspector::DescribeFindings; | ||
| 3 | use Moose; | ||
| 4 | has FindingArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'findingArns' , required => 1); | ||
| 5 | has Locale => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'locale' ); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeFindings'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Inspector::DescribeFindingsResponse'); | ||
| 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::DescribeFindings - Arguments for method DescribeFindings on L<Paws::Inspector> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method DescribeFindings on the | ||
| 23 | L<Amazon Inspector|Paws::Inspector> service. Use the attributes of this class | ||
| 24 | as arguments to method DescribeFindings. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeFindings. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $inspector = Paws->service('Inspector'); | ||
| 31 | # Describe findings | ||
| 32 | # Describes the findings that are specified by the ARNs of the findings. | ||
| 33 | my $DescribeFindingsResponse = $inspector->DescribeFindings( | ||
| 34 | 'FindingArns' => [ | ||
| 35 | 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4' | ||
| 36 | ] | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $failedItems = $DescribeFindingsResponse->failedItems; | ||
| 41 | my $findings = $DescribeFindingsResponse->findings; | ||
| 42 | |||
| 43 | # Returns a L<Paws::Inspector::DescribeFindingsResponse> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/inspector/DescribeFindings> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> FindingArns => ArrayRef[Str|Undef] | ||
| 52 | |||
| 53 | The ARN that specifies the finding that you want to describe. | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | =head2 Locale => Str | ||
| 58 | |||
| 59 | The locale into which you want to translate a finding description, | ||
| 60 | recommendation, and the short description that identifies the finding. | ||
| 61 | |||
| 62 | Valid values are: C<"EN_US"> | ||
| 63 | |||
| 64 | |||
| 65 | =head1 SEE ALSO | ||
| 66 | |||
| 67 | This class forms part of L<Paws>, documenting arguments for method DescribeFindings in L<Paws::Inspector> | ||
| 68 | |||
| 69 | =head1 BUGS and CONTRIBUTIONS | ||
| 70 | |||
| 71 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 72 | |||
| 73 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 74 | |||
| 75 | =cut | ||
| 76 |