blib/lib/Paws/SageMaker/ListImageVersions.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::ListImageVersions;
3 use Moose;
4 has CreationTimeAfter => (is => 'ro', isa => 'Str');
5 has CreationTimeBefore => (is => 'ro', isa => 'Str');
6 has ImageName => (is => 'ro', isa => 'Str', required => 1);
7 has LastModifiedTimeAfter => (is => 'ro', isa => 'Str');
8 has LastModifiedTimeBefore => (is => 'ro', isa => 'Str');
9 has MaxResults => (is => 'ro', isa => 'Int');
10 has NextToken => (is => 'ro', isa => 'Str');
11 has SortBy => (is => 'ro', isa => 'Str');
12 has SortOrder => (is => 'ro', isa => 'Str');
13  
14 use MooseX::ClassAttribute;
15  
16 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListImageVersions');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListImageVersionsResponse');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::SageMaker::ListImageVersions - Arguments for method ListImageVersions on L<Paws::SageMaker>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method ListImageVersions on the
30 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
31 as arguments to method ListImageVersions.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListImageVersions.
34  
35 =head1 SYNOPSIS
36  
37 my $api.sagemaker = Paws->service('SageMaker');
38 my $ListImageVersionsResponse = $api . sagemaker->ListImageVersions(
39 ImageName => 'MyImageName',
40 CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
41 CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
42 LastModifiedTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
43 LastModifiedTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NextToken => 'MyNextToken', # OPTIONAL
46 SortBy => 'CREATION_TIME', # OPTIONAL
47 SortOrder => 'ASCENDING', # OPTIONAL
48 );
49  
50 # Results:
51 my $ImageVersions = $ListImageVersionsResponse->ImageVersions;
52 my $NextToken = $ListImageVersionsResponse->NextToken;
53  
54 # Returns a L<Paws::SageMaker::ListImageVersionsResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/ListImageVersions>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CreationTimeAfter => Str
63  
64 A filter that returns only versions created on or after the specified
65 time.
66  
67  
68  
69 =head2 CreationTimeBefore => Str
70  
71 A filter that returns only versions created on or before the specified
72 time.
73  
74  
75  
76 =head2 B<REQUIRED> ImageName => Str
77  
78 The name of the image to list the versions of.
79  
80  
81  
82 =head2 LastModifiedTimeAfter => Str
83  
84 A filter that returns only versions modified on or after the specified
85 time.
86  
87  
88  
89 =head2 LastModifiedTimeBefore => Str
90  
91 A filter that returns only versions modified on or before the specified
92 time.
93  
94  
95  
96 =head2 MaxResults => Int
97  
98 The maximum number of versions to return in the response. The default
99 value is 10.
100  
101  
102  
103 =head2 NextToken => Str
104  
105 If the previous call to C<ListImageVersions> didn't return the full set
106 of versions, the call returns a token for getting the next set of
107 versions.
108  
109  
110  
111 =head2 SortBy => Str
112  
113 The property used to sort results. The default value is
114 C<CREATION_TIME>.
115  
116 Valid values are: C<"CREATION_TIME">, C<"LAST_MODIFIED_TIME">, C<"VERSION">
117  
118 =head2 SortOrder => Str
119  
120 The sort order. The default value is C<DESCENDING>.
121  
122 Valid values are: C<"ASCENDING">, C<"DESCENDING">
123  
124  
125 =head1 SEE ALSO
126  
127 This class forms part of L<Paws>, documenting arguments for method ListImageVersions in L<Paws::SageMaker>
128  
129 =head1 BUGS and CONTRIBUTIONS
130  
131 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136