File Coverage

blib/lib/Paws/Batch/JobDefinition.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Batch::JobDefinition;
2 1     1   575 use Moose;
  1         4  
  1         10  
3             has ContainerProperties => (is => 'ro', isa => 'Paws::Batch::ContainerProperties', request_name => 'containerProperties', traits => ['NameInRequest']);
4             has JobDefinitionArn => (is => 'ro', isa => 'Str', request_name => 'jobDefinitionArn', traits => ['NameInRequest'], required => 1);
5             has JobDefinitionName => (is => 'ro', isa => 'Str', request_name => 'jobDefinitionName', traits => ['NameInRequest'], required => 1);
6             has Parameters => (is => 'ro', isa => 'Paws::Batch::ParametersMap', request_name => 'parameters', traits => ['NameInRequest']);
7             has RetryStrategy => (is => 'ro', isa => 'Paws::Batch::RetryStrategy', request_name => 'retryStrategy', traits => ['NameInRequest']);
8             has Revision => (is => 'ro', isa => 'Int', request_name => 'revision', traits => ['NameInRequest'], required => 1);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::Batch::JobDefinition
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::Batch::JobDefinition object:
29              
30             $service_obj->Method(Att1 => { ContainerProperties => $value, ..., Type => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::JobDefinition object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->ContainerProperties
38              
39             =head1 DESCRIPTION
40              
41             An object representing an AWS Batch job definition.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 ContainerProperties => L<Paws::Batch::ContainerProperties>
47              
48             An object with various properties specific to container-based jobs.
49              
50              
51             =head2 B<REQUIRED> JobDefinitionArn => Str
52              
53             The Amazon Resource Name (ARN) for the job definition.
54              
55              
56             =head2 B<REQUIRED> JobDefinitionName => Str
57              
58             The name of the job definition.
59              
60              
61             =head2 Parameters => L<Paws::Batch::ParametersMap>
62              
63             Default parameters or parameter substitution placeholders that are set
64             in the job definition. Parameters are specified as a key-value pair
65             mapping. Parameters in a C<SubmitJob> request override any
66             corresponding parameter defaults from the job definition.
67              
68              
69             =head2 RetryStrategy => L<Paws::Batch::RetryStrategy>
70              
71             The retry strategy to use for failed jobs that are submitted with this
72             job definition.
73              
74              
75             =head2 B<REQUIRED> Revision => Int
76              
77             The revision of the job definition.
78              
79              
80             =head2 Status => Str
81              
82             The status of the job definition.
83              
84              
85             =head2 B<REQUIRED> Type => Str
86              
87             The type of job definition.
88              
89              
90              
91             =head1 SEE ALSO
92              
93             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
94              
95             =head1 BUGS and CONTRIBUTIONS
96              
97             The source code is located here: https://github.com/pplu/aws-sdk-perl
98              
99             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100              
101             =cut
102