blib/lib/Paws/Batch/LaunchTemplateSpecification.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Batch::LaunchTemplateSpecification;
3 use Moose;
4 has LaunchTemplateId => (is => 'ro', isa => 'Str', request_name => 'launchTemplateId', traits => ['NameInRequest']);
5 has LaunchTemplateName => (is => 'ro', isa => 'Str', request_name => 'launchTemplateName', traits => ['NameInRequest']);
6 has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Batch::LaunchTemplateSpecification
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::Batch::LaunchTemplateSpecification object:
26  
27 $service_obj->Method(Att1 => { LaunchTemplateId => $value, ..., Version => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::LaunchTemplateSpecification object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->LaunchTemplateId
35  
36 =head1 DESCRIPTION
37  
38 An object representing a launch template associated with a compute
39 resource. You must specify either the launch template ID or launch
40 template name in the request, but not both.
41  
42 If security groups are specified using both the C<securityGroupIds>
43 parameter of C<CreateComputeEnvironment> and the launch template, the
44 values in the C<securityGroupIds> parameter of
45 C<CreateComputeEnvironment> will be used.
46  
47 This object isn't applicable to jobs running on Fargate resources.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 LaunchTemplateId => Str
53  
54 The ID of the launch template.
55  
56  
57 =head2 LaunchTemplateName => Str
58  
59 The name of the launch template.
60  
61  
62 =head2 Version => Str
63  
64 The version number of the launch template, C<$Latest>, or C<$Default>.
65  
66 If the value is C<$Latest>, the latest version of the launch template
67 is used. If the value is C<$Default>, the default version of the launch
68 template is used.
69  
70 After the compute environment is created, the launch template version
71 used will not be changed, even if the C<$Default> or C<$Latest> version
72 for the launch template is updated. To use a new launch template
73 version, create a new compute environment, add the new compute
74 environment to the existing job queue, remove the old compute
75 environment from the job queue, and delete the old compute environment.
76  
77 Default: C<$Default>.
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92