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

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppStream::Image;
3 use Moose;
4 has Applications => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::Application]');
5 has AppstreamAgentVersion => (is => 'ro', isa => 'Str');
6 has Arn => (is => 'ro', isa => 'Str');
7 has BaseImageArn => (is => 'ro', isa => 'Str');
8 has CreatedTime => (is => 'ro', isa => 'Str');
9 has Description => (is => 'ro', isa => 'Str');
10 has DisplayName => (is => 'ro', isa => 'Str');
11 has ImageBuilderName => (is => 'ro', isa => 'Str');
12 has ImageBuilderSupported => (is => 'ro', isa => 'Bool');
13 has ImageErrors => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::ResourceError]');
14 has ImagePermissions => (is => 'ro', isa => 'Paws::AppStream::ImagePermissions');
15 has Name => (is => 'ro', isa => 'Str', required => 1);
16 has Platform => (is => 'ro', isa => 'Str');
17 has PublicBaseImageReleasedDate => (is => 'ro', isa => 'Str');
18 has State => (is => 'ro', isa => 'Str');
19 has StateChangeReason => (is => 'ro', isa => 'Paws::AppStream::ImageStateChangeReason');
20 has Visibility => (is => 'ro', isa => 'Str');
21  
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::AppStream::Image
29  
30 =head1 USAGE
31  
32 This class represents one of two things:
33  
34 =head3 Arguments in a call to a service
35  
36 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37 Each attribute should be used as a named argument in the calls that expect this type of object.
38  
39 As an example, if Att1 is expected to be a Paws::AppStream::Image object:
40  
41 $service_obj->Method(Att1 => { Applications => $value, ..., Visibility => $value });
42  
43 =head3 Results returned from an API call
44  
45 Use accessors for each attribute. If Att1 is expected to be an Paws::AppStream::Image object:
46  
47 $result = $service_obj->Method(...);
48 $result->Att1->Applications
49  
50 =head1 DESCRIPTION
51  
52 Describes an image.
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 Applications => ArrayRef[L<Paws::AppStream::Application>]
58  
59 The applications associated with the image.
60  
61  
62 =head2 AppstreamAgentVersion => Str
63  
64 The version of the AppStream 2.0 agent to use for instances that are
65 launched from this image.
66  
67  
68 =head2 Arn => Str
69  
70 The ARN of the image.
71  
72  
73 =head2 BaseImageArn => Str
74  
75 The ARN of the image from which this image was created.
76  
77  
78 =head2 CreatedTime => Str
79  
80 The time the image was created.
81  
82  
83 =head2 Description => Str
84  
85 The description to display.
86  
87  
88 =head2 DisplayName => Str
89  
90 The image name to display.
91  
92  
93 =head2 ImageBuilderName => Str
94  
95 The name of the image builder that was used to create the private
96 image. If the image is shared, this value is null.
97  
98  
99 =head2 ImageBuilderSupported => Bool
100  
101 Indicates whether an image builder can be launched from this image.
102  
103  
104 =head2 ImageErrors => ArrayRef[L<Paws::AppStream::ResourceError>]
105  
106 Describes the errors that are returned when a new image can't be
107 created.
108  
109  
110 =head2 ImagePermissions => L<Paws::AppStream::ImagePermissions>
111  
112 The permissions to provide to the destination AWS account for the
113 specified image.
114  
115  
116 =head2 B<REQUIRED> Name => Str
117  
118 The name of the image.
119  
120  
121 =head2 Platform => Str
122  
123 The operating system platform of the image.
124  
125  
126 =head2 PublicBaseImageReleasedDate => Str
127  
128 The release date of the public base image. For private images, this
129 date is the release date of the base image from which the image was
130 created.
131  
132  
133 =head2 State => Str
134  
135 The image starts in the C<PENDING> state. If image creation succeeds,
136 the state is C<AVAILABLE>. If image creation fails, the state is
137 C<FAILED>.
138  
139  
140 =head2 StateChangeReason => L<Paws::AppStream::ImageStateChangeReason>
141  
142 The reason why the last state change occurred.
143  
144  
145 =head2 Visibility => Str
146  
147 Indicates whether the image is public or private.
148  
149  
150  
151 =head1 SEE ALSO
152  
153 This class forms part of L<Paws>, describing an object used in L<Paws::AppStream>
154  
155 =head1 BUGS and CONTRIBUTIONS
156  
157 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
158  
159 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
160  
161 =cut
162