blib/lib/Paws/SageMaker/ListImages.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::ListImages;
3 use Moose;
4 has CreationTimeAfter => (is => 'ro', isa => 'Str');
5 has CreationTimeBefore => (is => 'ro', isa => 'Str');
6 has LastModifiedTimeAfter => (is => 'ro', isa => 'Str');
7 has LastModifiedTimeBefore => (is => 'ro', isa => 'Str');
8 has MaxResults => (is => 'ro', isa => 'Int');
9 has NameContains => (is => 'ro', isa => 'Str');
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 => 'ListImages');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListImagesResponse');
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::ListImages - Arguments for method ListImages on L<Paws::SageMaker>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method ListImages on the
30 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
31 as arguments to method ListImages.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListImages.
34  
35 =head1 SYNOPSIS
36  
37 my $api.sagemaker = Paws->service('SageMaker');
38 my $ListImagesResponse = $api . sagemaker->ListImages(
39 CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
40 CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
41 LastModifiedTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
42 LastModifiedTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
43 MaxResults => 1, # OPTIONAL
44 NameContains => 'MyImageNameContains', # OPTIONAL
45 NextToken => 'MyNextToken', # OPTIONAL
46 SortBy => 'CREATION_TIME', # OPTIONAL
47 SortOrder => 'ASCENDING', # OPTIONAL
48 );
49  
50 # Results:
51 my $Images = $ListImagesResponse->Images;
52 my $NextToken = $ListImagesResponse->NextToken;
53  
54 # Returns a L<Paws::SageMaker::ListImagesResponse> 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/ListImages>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CreationTimeAfter => Str
63  
64 A filter that returns only images created on or after the specified
65 time.
66  
67  
68  
69 =head2 CreationTimeBefore => Str
70  
71 A filter that returns only images created on or before the specified
72 time.
73  
74  
75  
76 =head2 LastModifiedTimeAfter => Str
77  
78 A filter that returns only images modified on or after the specified
79 time.
80  
81  
82  
83 =head2 LastModifiedTimeBefore => Str
84  
85 A filter that returns only images modified on or before the specified
86 time.
87  
88  
89  
90 =head2 MaxResults => Int
91  
92 The maximum number of images to return in the response. The default
93 value is 10.
94  
95  
96  
97 =head2 NameContains => Str
98  
99 A filter that returns only images whose name contains the specified
100 string.
101  
102  
103  
104 =head2 NextToken => Str
105  
106 If the previous call to C<ListImages> didn't return the full set of
107 images, the call returns a token for getting the next set of images.
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<"IMAGE_NAME">
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 ListImages 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