blib/lib/Paws/AmplifyBackend/ListBackendJobs.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AmplifyBackend::ListBackendJobs;
3 use Moose;
4 has AppId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'appId', required => 1);
5 has BackendEnvironmentName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'backendEnvironmentName', required => 1);
6 has JobId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobId');
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
9 has Operation => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'operation');
10 has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListBackendJobs');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/backend/{appId}/job/{backendEnvironmentName}');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AmplifyBackend::ListBackendJobsResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::AmplifyBackend::ListBackendJobs - Arguments for method ListBackendJobs on L<Paws::AmplifyBackend>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListBackendJobs on the
29 L<AmplifyBackend|Paws::AmplifyBackend> service. Use the attributes of this class
30 as arguments to method ListBackendJobs.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListBackendJobs.
33  
34 =head1 SYNOPSIS
35  
36 my $amplifybackend = Paws->service('AmplifyBackend');
37 my $ListBackendJobsResponse = $amplifybackend->ListBackendJobs(
38 AppId => 'My__string',
39 BackendEnvironmentName => 'My__string',
40 JobId => 'My__string', # OPTIONAL
41 MaxResults => 1, # OPTIONAL
42 NextToken => 'My__string', # OPTIONAL
43 Operation => 'My__string', # OPTIONAL
44 Status => 'My__string', # OPTIONAL
45 );
46  
47 # Results:
48 my $Jobs = $ListBackendJobsResponse->Jobs;
49 my $NextToken = $ListBackendJobsResponse->NextToken;
50  
51 # Returns a L<Paws::AmplifyBackend::ListBackendJobsResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/amplifybackend/ListBackendJobs>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> AppId => Str
60  
61 The app ID.
62  
63  
64  
65 =head2 B<REQUIRED> BackendEnvironmentName => Str
66  
67 The name of the backend environment.
68  
69  
70  
71 =head2 JobId => Str
72  
73 The ID for the job.
74  
75  
76  
77 =head2 MaxResults => Int
78  
79 The maximum number of results that you want in the response.
80  
81  
82  
83 =head2 NextToken => Str
84  
85 The token for the next set of results.
86  
87  
88  
89 =head2 Operation => Str
90  
91 Filters the list of response objects to include only those with the
92 specified operation name.
93  
94  
95  
96 =head2 Status => Str
97  
98 Filters the list of response objects to include only those with the
99 specified status.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method ListBackendJobs in L<Paws::AmplifyBackend>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115