blib/lib/Paws/Rekognition/DescribeProjectVersions.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Rekognition::DescribeProjectVersions;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NextToken => (is => 'ro', isa => 'Str');
6 has ProjectArn => (is => 'ro', isa => 'Str', required => 1);
7 has VersionNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeProjectVersions');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::DescribeProjectVersionsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Rekognition::DescribeProjectVersions - Arguments for method DescribeProjectVersions on L<Paws::Rekognition>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeProjectVersions on the
25 L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class
26 as arguments to method DescribeProjectVersions.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeProjectVersions.
29  
30 =head1 SYNOPSIS
31  
32 my $rekognition = Paws->service('Rekognition');
33 my $DescribeProjectVersionsResponse = $rekognition->DescribeProjectVersions(
34 ProjectArn => 'MyProjectArn',
35 MaxResults => 1, # OPTIONAL
36 NextToken => 'MyExtendedPaginationToken', # OPTIONAL
37 VersionNames => [
38 'MyVersionName', ... # min: 1, max: 255
39 ], # OPTIONAL
40 );
41  
42 # Results:
43 my $NextToken = $DescribeProjectVersionsResponse->NextToken;
44 my $ProjectVersionDescriptions =
45 $DescribeProjectVersionsResponse->ProjectVersionDescriptions;
46  
47 # Returns a L<Paws::Rekognition::DescribeProjectVersionsResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rekognition/DescribeProjectVersions>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 MaxResults => Int
56  
57 The maximum number of results to return per paginated call. The largest
58 value you can specify is 100. If you specify a value greater than 100,
59 a ValidationException error occurs. The default value is 100.
60  
61  
62  
63 =head2 NextToken => Str
64  
65 If the previous response was incomplete (because there is more results
66 to retrieve), Amazon Rekognition Custom Labels returns a pagination
67 token in the response. You can use this pagination token to retrieve
68 the next set of results.
69  
70  
71  
72 =head2 B<REQUIRED> ProjectArn => Str
73  
74 The Amazon Resource Name (ARN) of the project that contains the models
75 you want to describe.
76  
77  
78  
79 =head2 VersionNames => ArrayRef[Str|Undef]
80  
81 A list of model version names that you want to describe. You can add up
82 to 10 model version names to the list. If you don't specify a value,
83 all model descriptions are returned. A version name is part of a model
84 (ProjectVersion) ARN. For example, C<my-model.2020-01-21T09.10.15> is
85 the version name in the following ARN.
86 C<arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/I<my-model.2020-01-21T09.10.15>/1234567890123>.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method DescribeProjectVersions in L<Paws::Rekognition>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102