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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::ListEndpoints;
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 has StatusEquals => (is => 'ro', isa => 'Str');
14  
15 use MooseX::ClassAttribute;
16  
17 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEndpoints');
18 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListEndpointsOutput');
19 class_has _result_key => (isa => 'Str', is => 'ro');
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::SageMaker::ListEndpoints - Arguments for method ListEndpoints on L<Paws::SageMaker>
27  
28 =head1 DESCRIPTION
29  
30 This class represents the parameters used for calling the method ListEndpoints on the
31 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
32 as arguments to method ListEndpoints.
33  
34 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEndpoints.
35  
36 =head1 SYNOPSIS
37  
38 my $api.sagemaker = Paws->service('SageMaker');
39 my $ListEndpointsOutput = $api . sagemaker->ListEndpoints(
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 NameContains => 'MyEndpointNameContains', # OPTIONAL
46 NextToken => 'MyPaginationToken', # OPTIONAL
47 SortBy => 'Name', # OPTIONAL
48 SortOrder => 'Ascending', # OPTIONAL
49 StatusEquals => 'OutOfService', # OPTIONAL
50 );
51  
52 # Results:
53 my $Endpoints = $ListEndpointsOutput->Endpoints;
54 my $NextToken = $ListEndpointsOutput->NextToken;
55  
56 # Returns a L<Paws::SageMaker::ListEndpointsOutput> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/ListEndpoints>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 CreationTimeAfter => Str
65  
66 A filter that returns only endpoints with a creation time greater than
67 or equal to the specified time (timestamp).
68  
69  
70  
71 =head2 CreationTimeBefore => Str
72  
73 A filter that returns only endpoints that were created before the
74 specified time (timestamp).
75  
76  
77  
78 =head2 LastModifiedTimeAfter => Str
79  
80 A filter that returns only endpoints that were modified after the
81 specified timestamp.
82  
83  
84  
85 =head2 LastModifiedTimeBefore => Str
86  
87 A filter that returns only endpoints that were modified before the
88 specified timestamp.
89  
90  
91  
92 =head2 MaxResults => Int
93  
94 The maximum number of endpoints to return in the response. This value
95 defaults to 10.
96  
97  
98  
99 =head2 NameContains => Str
100  
101 A string in endpoint names. This filter returns only endpoints whose
102 name contains the specified string.
103  
104  
105  
106 =head2 NextToken => Str
107  
108 If the result of a C<ListEndpoints> request was truncated, the response
109 includes a C<NextToken>. To retrieve the next set of endpoints, use the
110 token in the next request.
111  
112  
113  
114 =head2 SortBy => Str
115  
116 Sorts the list of results. The default is C<CreationTime>.
117  
118 Valid values are: C<"Name">, C<"CreationTime">, C<"Status">
119  
120 =head2 SortOrder => Str
121  
122 The sort order for results. The default is C<Descending>.
123  
124 Valid values are: C<"Ascending">, C<"Descending">
125  
126 =head2 StatusEquals => Str
127  
128 A filter that returns only endpoints with the specified status.
129  
130 Valid values are: C<"OutOfService">, C<"Creating">, C<"Updating">, C<"SystemUpdating">, C<"RollingBack">, C<"InService">, C<"Deleting">, C<"Failed">
131  
132  
133 =head1 SEE ALSO
134  
135 This class forms part of L<Paws>, documenting arguments for method ListEndpoints in L<Paws::SageMaker>
136  
137 =head1 BUGS and CONTRIBUTIONS
138  
139 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
140  
141 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
142  
143 =cut
144