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

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