File Coverage

blib/lib/Paws/AppStream/Image.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::AppStream::Image;
2 1     1   671 use Moose;
  1         3  
  1         14  
3             has Applications => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::Application]');
4             has Arn => (is => 'ro', isa => 'Str');
5             has BaseImageArn => (is => 'ro', isa => 'Str');
6             has CreatedTime => (is => 'ro', isa => 'Str');
7             has Description => (is => 'ro', isa => 'Str');
8             has DisplayName => (is => 'ro', isa => 'Str');
9             has ImageBuilderSupported => (is => 'ro', isa => 'Bool');
10             has Name => (is => 'ro', isa => 'Str', required => 1);
11             has Platform => (is => 'ro', isa => 'Str');
12             has PublicBaseImageReleasedDate => (is => 'ro', isa => 'Str');
13             has State => (is => 'ro', isa => 'Str');
14             has StateChangeReason => (is => 'ro', isa => 'Paws::AppStream::ImageStateChangeReason');
15             has Visibility => (is => 'ro', isa => 'Str');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::AppStream::Image
23              
24             =head1 USAGE
25              
26             This class represents one of two things:
27              
28             =head3 Arguments in a call to a service
29              
30             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31             Each attribute should be used as a named argument in the calls that expect this type of object.
32              
33             As an example, if Att1 is expected to be a Paws::AppStream::Image object:
34              
35             $service_obj->Method(Att1 => { Applications => $value, ..., Visibility => $value });
36              
37             =head3 Results returned from an API call
38              
39             Use accessors for each attribute. If Att1 is expected to be an Paws::AppStream::Image object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->Applications
43              
44             =head1 DESCRIPTION
45              
46             Describes an image.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 Applications => ArrayRef[L<Paws::AppStream::Application>]
52              
53             The applications associated with the image.
54              
55              
56             =head2 Arn => Str
57              
58             The ARN of the image.
59              
60              
61             =head2 BaseImageArn => Str
62              
63             The ARN of the image from which this image was created.
64              
65              
66             =head2 CreatedTime => Str
67              
68             The time the image was created.
69              
70              
71             =head2 Description => Str
72              
73             The description displayed to end users.
74              
75              
76             =head2 DisplayName => Str
77              
78             The image name displayed to end users.
79              
80              
81             =head2 ImageBuilderSupported => Bool
82              
83             Indicates whether an image builder can be launched from this image.
84              
85              
86             =head2 B<REQUIRED> Name => Str
87              
88             The name of the image.
89              
90              
91             =head2 Platform => Str
92              
93             The operating system platform of the image.
94              
95              
96             =head2 PublicBaseImageReleasedDate => Str
97              
98             The release date of the public base image. For private images, this
99             date is the release date of the base image from which the image was
100             created.
101              
102              
103             =head2 State => Str
104              
105             The image starts in the C<PENDING> state. If image creation succeeds,
106             the state is C<AVAILABLE>. If image creation fails, the state is
107             C<FAILED>.
108              
109              
110             =head2 StateChangeReason => L<Paws::AppStream::ImageStateChangeReason>
111              
112             The reason why the last state change occurred.
113              
114              
115             =head2 Visibility => Str
116              
117             Indicates whether the image is public or private.
118              
119              
120              
121             =head1 SEE ALSO
122              
123             This class forms part of L<Paws>, describing an object used in L<Paws::AppStream>
124              
125             =head1 BUGS and CONTRIBUTIONS
126              
127             The source code is located here: https://github.com/pplu/aws-sdk-perl
128              
129             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
130              
131             =cut
132