blib/lib/Paws/SageMakerA2IRuntime/ListHumanLoops.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMakerA2IRuntime::ListHumanLoops;
3 use Moose;
4 has CreationTimeAfter => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'CreationTimeAfter');
5 has CreationTimeBefore => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'CreationTimeBefore');
6 has FlowDefinitionArn => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'FlowDefinitionArn', required => 1);
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'MaxResults');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'NextToken');
9 has SortOrder => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'SortOrder');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListHumanLoops');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/human-loops');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMakerA2IRuntime::ListHumanLoopsResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::SageMakerA2IRuntime::ListHumanLoops - Arguments for method ListHumanLoops on L<Paws::SageMakerA2IRuntime>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method ListHumanLoops on the
28 L<Amazon Augmented AI Runtime|Paws::SageMakerA2IRuntime> service. Use the attributes of this class
29 as arguments to method ListHumanLoops.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListHumanLoops.
32  
33 =head1 SYNOPSIS
34  
35 my $a2i-runtime.sagemaker = Paws->service('SageMakerA2IRuntime');
36 my $ListHumanLoopsResponse = $a2i -runtime . sagemaker->ListHumanLoops(
37 FlowDefinitionArn => 'MyFlowDefinitionArn',
38 CreationTimeAfter => '1970-01-01T01:00:00', # OPTIONAL
39 CreationTimeBefore => '1970-01-01T01:00:00', # OPTIONAL
40 MaxResults => 1, # OPTIONAL
41 NextToken => 'MyNextToken', # OPTIONAL
42 SortOrder => 'Ascending', # OPTIONAL
43 );
44  
45 # Results:
46 my $HumanLoopSummaries = $ListHumanLoopsResponse->HumanLoopSummaries;
47 my $NextToken = $ListHumanLoopsResponse->NextToken;
48  
49 # Returns a L<Paws::SageMakerA2IRuntime::ListHumanLoopsResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a2i-runtime.sagemaker/ListHumanLoops>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 CreationTimeAfter => Str
58  
59 (Optional) The timestamp of the date when you want the human loops to
60 begin in ISO 8601 format. For example, C<2020-02-24>.
61  
62  
63  
64 =head2 CreationTimeBefore => Str
65  
66 (Optional) The timestamp of the date before which you want the human
67 loops to begin in ISO 8601 format. For example, C<2020-02-24>.
68  
69  
70  
71 =head2 B<REQUIRED> FlowDefinitionArn => Str
72  
73 The Amazon Resource Name (ARN) of a flow definition.
74  
75  
76  
77 =head2 MaxResults => Int
78  
79 The total number of items to return. If the total number of available
80 items is more than the value specified in C<MaxResults>, then a
81 C<NextToken> is returned in the output. You can use this token to
82 display the next page of results.
83  
84  
85  
86 =head2 NextToken => Str
87  
88 A token to display the next page of results.
89  
90  
91  
92 =head2 SortOrder => Str
93  
94 Optional. The order for displaying results. Valid values: C<Ascending>
95 and C<Descending>.
96  
97 Valid values are: C<"Ascending">, C<"Descending">
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method ListHumanLoops in L<Paws::SageMakerA2IRuntime>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111