blib/lib/Paws/CodePipeline/PollForJobs.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodePipeline::PollForJobs;
3 use Moose;
4 has ActionTypeId => (is => 'ro', isa => 'Paws::CodePipeline::ActionTypeId', traits => ['NameInRequest'], request_name => 'actionTypeId' , required => 1);
5 has MaxBatchSize => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxBatchSize' );
6 has QueryParam => (is => 'ro', isa => 'Paws::CodePipeline::QueryParamMap', traits => ['NameInRequest'], request_name => 'queryParam' );
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PollForJobs');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodePipeline::PollForJobsOutput');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CodePipeline::PollForJobs - Arguments for method PollForJobs on L<Paws::CodePipeline>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method PollForJobs on the
24 L<AWS CodePipeline|Paws::CodePipeline> service. Use the attributes of this class
25 as arguments to method PollForJobs.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PollForJobs.
28  
29 =head1 SYNOPSIS
30  
31 my $codepipeline = Paws->service('CodePipeline');
32 my $PollForJobsOutput = $codepipeline->PollForJobs(
33 ActionTypeId => {
34 Category =>
35 'Source', # values: Source, Build, Deploy, Test, Invoke, Approval
36 Owner => 'AWS', # values: AWS, ThirdParty, Custom
37 Provider => 'MyActionProvider', # min: 1, max: 35
38 Version => 'MyVersion', # min: 1, max: 9
39  
40 },
41 MaxBatchSize => 1, # OPTIONAL
42 QueryParam => {
43 'MyActionConfigurationKey' => 'MyActionConfigurationQueryableValue'
44 , # key: min: 1, max: 50, value: min: 1, max: 50
45 }, # OPTIONAL
46 );
47  
48 # Results:
49 my $Jobs = $PollForJobsOutput->Jobs;
50  
51 # Returns a L<Paws::CodePipeline::PollForJobsOutput> 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/codepipeline/PollForJobs>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> ActionTypeId => L<Paws::CodePipeline::ActionTypeId>
60  
61 Represents information about an action type.
62  
63  
64  
65 =head2 MaxBatchSize => Int
66  
67 The maximum number of jobs to return in a poll for jobs call.
68  
69  
70  
71 =head2 QueryParam => L<Paws::CodePipeline::QueryParamMap>
72  
73 A map of property names and values. For an action type with no
74 queryable properties, this value must be null or an empty map. For an
75 action type with a queryable property, you must supply that property as
76 a key in the map. Only jobs whose action configuration matches the
77 mapped value are returned.
78  
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, documenting arguments for method PollForJobs in L<Paws::CodePipeline>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93