blib/lib/Paws/IoT/ListJobExecutionsForThing.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::ListJobExecutionsForThing;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
5 has NamespaceId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'namespaceId');
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
7 has Status => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'status');
8 has ThingName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'thingName', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListJobExecutionsForThing');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/things/{thingName}/jobs');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListJobExecutionsForThingResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::ListJobExecutionsForThing - Arguments for method ListJobExecutionsForThing on L<Paws::IoT>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListJobExecutionsForThing on the
27 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
28 as arguments to method ListJobExecutionsForThing.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListJobExecutionsForThing.
31  
32 =head1 SYNOPSIS
33  
34 my $iot = Paws->service('IoT');
35 my $ListJobExecutionsForThingResponse = $iot->ListJobExecutionsForThing(
36 ThingName => 'MyThingName',
37 MaxResults => 1, # OPTIONAL
38 NamespaceId => 'MyNamespaceId', # OPTIONAL
39 NextToken => 'MyNextToken', # OPTIONAL
40 Status => 'QUEUED', # OPTIONAL
41 );
42  
43 # Results:
44 my $ExecutionSummaries =
45 $ListJobExecutionsForThingResponse->ExecutionSummaries;
46 my $NextToken = $ListJobExecutionsForThingResponse->NextToken;
47  
48 # Returns a L<Paws::IoT::ListJobExecutionsForThingResponse> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListJobExecutionsForThing>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 MaxResults => Int
57  
58 The maximum number of results to be returned per request.
59  
60  
61  
62 =head2 NamespaceId => Str
63  
64 The namespace used to indicate that a job is a customer-managed job.
65  
66 When you specify a value for this parameter, AWS IoT Core sends jobs
67 notifications to MQTT topics that contain the value in the following
68 format.
69  
70 C<$aws/things/I<THING_NAME>/jobs/I<JOB_ID>/notify-namespace-I<NAMESPACE_ID>/>
71  
72 The C<namespaceId> feature is in public preview.
73  
74  
75  
76 =head2 NextToken => Str
77  
78 The token to retrieve the next set of results.
79  
80  
81  
82 =head2 Status => Str
83  
84 An optional filter that lets you search for jobs that have the
85 specified status.
86  
87 Valid values are: C<"QUEUED">, C<"IN_PROGRESS">, C<"SUCCEEDED">, C<"FAILED">, C<"TIMED_OUT">, C<"REJECTED">, C<"REMOVED">, C<"CANCELED">
88  
89 =head2 B<REQUIRED> ThingName => Str
90  
91 The thing name.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method ListJobExecutionsForThing in L<Paws::IoT>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107