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

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