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

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AppStream::CreateUpdatedImage;
3 use Moose;
4 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5 has ExistingImageName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'existingImageName' , required => 1);
6 has NewImageDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'newImageDescription' );
7 has NewImageDisplayName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'newImageDisplayName' );
8 has NewImageName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'newImageName' , required => 1);
9 has NewImageTags => (is => 'ro', isa => 'Paws::AppStream::Tags', traits => ['NameInRequest'], request_name => 'newImageTags' );
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateUpdatedImage');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::CreateUpdatedImageResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AppStream::CreateUpdatedImage - Arguments for method CreateUpdatedImage on L<Paws::AppStream>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateUpdatedImage on the
27 L<Amazon AppStream|Paws::AppStream> service. Use the attributes of this class
28 as arguments to method CreateUpdatedImage.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUpdatedImage.
31  
32 =head1 SYNOPSIS
33  
34 my $appstream2 = Paws->service('AppStream');
35 my $CreateUpdatedImageResult = $appstream2->CreateUpdatedImage(
36 ExistingImageName => 'MyName',
37 NewImageName => 'MyName',
38 DryRun => 1, # OPTIONAL
39 NewImageDescription => 'MyDescription', # OPTIONAL
40 NewImageDisplayName => 'MyDisplayName', # OPTIONAL
41 NewImageTags => {
42 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
43 }, # OPTIONAL
44 );
45  
46 # Results:
47 my $CanUpdateImage = $CreateUpdatedImageResult->CanUpdateImage;
48 my $Image = $CreateUpdatedImageResult->Image;
49  
50 # Returns a L<Paws::AppStream::CreateUpdatedImageResult> object.
51  
52 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appstream2/CreateUpdatedImage>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 DryRun => Bool
59  
60 Indicates whether to display the status of image update availability
61 before AppStream 2.0 initiates the process of creating a new updated
62 image. If this value is set to C<true>, AppStream 2.0 displays whether
63 image updates are available. If this value is set to C<false>,
64 AppStream 2.0 initiates the process of creating a new updated image
65 without displaying whether image updates are available.
66  
67  
68  
69 =head2 B<REQUIRED> ExistingImageName => Str
70  
71 The name of the image to update.
72  
73  
74  
75 =head2 NewImageDescription => Str
76  
77 The description to display for the new image.
78  
79  
80  
81 =head2 NewImageDisplayName => Str
82  
83 The name to display for the new image.
84  
85  
86  
87 =head2 B<REQUIRED> NewImageName => Str
88  
89 The name of the new image. The name must be unique within the AWS
90 account and Region.
91  
92  
93  
94 =head2 NewImageTags => L<Paws::AppStream::Tags>
95  
96 The tags to associate with the new image. A tag is a key-value pair,
97 and the value is optional. For example, Environment=Test. If you do not
98 specify a value, Environment=.
99  
100 Generally allowed characters are: letters, numbers, and spaces
101 representable in UTF-8, and the following special characters:
102  
103 _ . : / = + \ - @
104  
105 If you do not specify a value, the value is set to an empty string.
106  
107 For more information about tags, see Tagging Your Resources
108 (https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html)
109 in the I<Amazon AppStream 2.0 Administration Guide>.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method CreateUpdatedImage in L<Paws::AppStream>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125