File Coverage

blib/lib/Paws/Glue/CreateJob.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Glue::CreateJob;
3 1     1   327 use Moose;
  1         4  
  1         6  
4             has AllocatedCapacity => (is => 'ro', isa => 'Int');
5             has Command => (is => 'ro', isa => 'Paws::Glue::JobCommand', required => 1);
6             has Connections => (is => 'ro', isa => 'Paws::Glue::ConnectionsList');
7             has DefaultArguments => (is => 'ro', isa => 'Paws::Glue::GenericMap');
8             has Description => (is => 'ro', isa => 'Str');
9             has ExecutionProperty => (is => 'ro', isa => 'Paws::Glue::ExecutionProperty');
10             has LogUri => (is => 'ro', isa => 'Str');
11             has MaxRetries => (is => 'ro', isa => 'Int');
12             has Name => (is => 'ro', isa => 'Str', required => 1);
13             has Role => (is => 'ro', isa => 'Str', required => 1);
14              
15 1     1   5595 use MooseX::ClassAttribute;
  1         2  
  1         7  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateJob');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glue::CreateJobResponse');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::Glue::CreateJob - Arguments for method CreateJob on Paws::Glue
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method CreateJob on the
31             AWS Glue service. Use the attributes of this class
32             as arguments to method CreateJob.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateJob.
35              
36             As an example:
37              
38             $service_obj->CreateJob(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AllocatedCapacity => Int
46              
47             The number of capacity units allocated to this job.
48              
49              
50              
51             =head2 B<REQUIRED> Command => L<Paws::Glue::JobCommand>
52              
53             The JobCommand that executes this job.
54              
55              
56              
57             =head2 Connections => L<Paws::Glue::ConnectionsList>
58              
59             The connections used for this job.
60              
61              
62              
63             =head2 DefaultArguments => L<Paws::Glue::GenericMap>
64              
65             The default parameters for this job.
66              
67              
68              
69             =head2 Description => Str
70              
71             Description of the job.
72              
73              
74              
75             =head2 ExecutionProperty => L<Paws::Glue::ExecutionProperty>
76              
77             An ExecutionProperty specifying the maximum number of concurrent runs
78             allowed for this job.
79              
80              
81              
82             =head2 LogUri => Str
83              
84             Location of the logs for this job.
85              
86              
87              
88             =head2 MaxRetries => Int
89              
90             The maximum number of times to retry this job if it fails.
91              
92              
93              
94             =head2 B<REQUIRED> Name => Str
95              
96             The name you assign to this job.
97              
98              
99              
100             =head2 B<REQUIRED> Role => Str
101              
102             The role associated with this job.
103              
104              
105              
106              
107             =head1 SEE ALSO
108              
109             This class forms part of L<Paws>, documenting arguments for method CreateJob in L<Paws::Glue>
110              
111             =head1 BUGS and CONTRIBUTIONS
112              
113             The source code is located here: https://github.com/pplu/aws-sdk-perl
114              
115             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
116              
117             =cut
118