blib/lib/Paws/ImageBuilder/Image.pm untested

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ImageBuilder::Image;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has ContainerRecipe => (is => 'ro', isa => 'Paws::ImageBuilder::ContainerRecipe', request_name => 'containerRecipe', traits => ['NameInRequest']);
6 has DateCreated => (is => 'ro', isa => 'Str', request_name => 'dateCreated', traits => ['NameInRequest']);
7 has DistributionConfiguration => (is => 'ro', isa => 'Paws::ImageBuilder::DistributionConfiguration', request_name => 'distributionConfiguration', traits => ['NameInRequest']);
8 has EnhancedImageMetadataEnabled => (is => 'ro', isa => 'Bool', request_name => 'enhancedImageMetadataEnabled', traits => ['NameInRequest']);
9 has ImageRecipe => (is => 'ro', isa => 'Paws::ImageBuilder::ImageRecipe', request_name => 'imageRecipe', traits => ['NameInRequest']);
10 has ImageTestsConfiguration => (is => 'ro', isa => 'Paws::ImageBuilder::ImageTestsConfiguration', request_name => 'imageTestsConfiguration', traits => ['NameInRequest']);
11 has InfrastructureConfiguration => (is => 'ro', isa => 'Paws::ImageBuilder::InfrastructureConfiguration', request_name => 'infrastructureConfiguration', traits => ['NameInRequest']);
12 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
13 has OsVersion => (is => 'ro', isa => 'Str', request_name => 'osVersion', traits => ['NameInRequest']);
14 has OutputResources => (is => 'ro', isa => 'Paws::ImageBuilder::OutputResources', request_name => 'outputResources', traits => ['NameInRequest']);
15 has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
16 has SourcePipelineArn => (is => 'ro', isa => 'Str', request_name => 'sourcePipelineArn', traits => ['NameInRequest']);
17 has SourcePipelineName => (is => 'ro', isa => 'Str', request_name => 'sourcePipelineName', traits => ['NameInRequest']);
18 has State => (is => 'ro', isa => 'Paws::ImageBuilder::ImageState', request_name => 'state', traits => ['NameInRequest']);
19 has Tags => (is => 'ro', isa => 'Paws::ImageBuilder::TagMap', request_name => 'tags', traits => ['NameInRequest']);
20 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
21 has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
22  
23 1;
24  
25 ### main pod documentation begin ###
26  
27 =head1 NAME
28  
29 Paws::ImageBuilder::Image
30  
31 =head1 USAGE
32  
33 This class represents one of two things:
34  
35 =head3 Arguments in a call to a service
36  
37 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
38 Each attribute should be used as a named argument in the calls that expect this type of object.
39  
40 As an example, if Att1 is expected to be a Paws::ImageBuilder::Image object:
41  
42 $service_obj->Method(Att1 => { Arn => $value, ..., Version => $value });
43  
44 =head3 Results returned from an API call
45  
46 Use accessors for each attribute. If Att1 is expected to be an Paws::ImageBuilder::Image object:
47  
48 $result = $service_obj->Method(...);
49 $result->Att1->Arn
50  
51 =head1 DESCRIPTION
52  
53 An image build version.
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Arn => Str
59  
60 The Amazon Resource Name (ARN) of the image.
61  
62  
63 =head2 ContainerRecipe => L<Paws::ImageBuilder::ContainerRecipe>
64  
65 The container recipe used to create the container image type.
66  
67  
68 =head2 DateCreated => Str
69  
70 The date on which this image was created.
71  
72  
73 =head2 DistributionConfiguration => L<Paws::ImageBuilder::DistributionConfiguration>
74  
75 The distribution configuration used when creating this image.
76  
77  
78 =head2 EnhancedImageMetadataEnabled => Bool
79  
80 Collects additional information about the image being created,
81 including the operating system (OS) version and package list. This
82 information is used to enhance the overall experience of using EC2
83 Image Builder. Enabled by default.
84  
85  
86 =head2 ImageRecipe => L<Paws::ImageBuilder::ImageRecipe>
87  
88 The image recipe used when creating the image.
89  
90  
91 =head2 ImageTestsConfiguration => L<Paws::ImageBuilder::ImageTestsConfiguration>
92  
93 The image tests configuration used when creating this image.
94  
95  
96 =head2 InfrastructureConfiguration => L<Paws::ImageBuilder::InfrastructureConfiguration>
97  
98 The infrastructure used when creating this image.
99  
100  
101 =head2 Name => Str
102  
103 The name of the image.
104  
105  
106 =head2 OsVersion => Str
107  
108 The operating system version of the instance. For example, Amazon Linux
109 2, Ubuntu 18, or Microsoft Windows Server 2019.
110  
111  
112 =head2 OutputResources => L<Paws::ImageBuilder::OutputResources>
113  
114 The output resources produced when creating this image.
115  
116  
117 =head2 Platform => Str
118  
119 The platform of the image.
120  
121  
122 =head2 SourcePipelineArn => Str
123  
124 The Amazon Resource Name (ARN) of the image pipeline that created this
125 image.
126  
127  
128 =head2 SourcePipelineName => Str
129  
130 The name of the image pipeline that created this image.
131  
132  
133 =head2 State => L<Paws::ImageBuilder::ImageState>
134  
135 The state of the image.
136  
137  
138 =head2 Tags => L<Paws::ImageBuilder::TagMap>
139  
140 The tags of the image.
141  
142  
143 =head2 Type => Str
144  
145 Specifies whether this is an AMI or container image.
146  
147  
148 =head2 Version => Str
149  
150 The semantic version of the image.
151  
152  
153  
154 =head1 SEE ALSO
155  
156 This class forms part of L<Paws>, describing an object used in L<Paws::ImageBuilder>
157  
158 =head1 BUGS and CONTRIBUTIONS
159  
160 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
161  
162 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
163  
164 =cut
165