blib/lib/Paws/WorkSpaces/WorkspaceRequest.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WorkSpaces::WorkspaceRequest;
3 use Moose;
4 has BundleId => (is => 'ro', isa => 'Str', required => 1);
5 has DirectoryId => (is => 'ro', isa => 'Str', required => 1);
6 has RootVolumeEncryptionEnabled => (is => 'ro', isa => 'Bool');
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::WorkSpaces::Tag]');
8 has UserName => (is => 'ro', isa => 'Str', required => 1);
9 has UserVolumeEncryptionEnabled => (is => 'ro', isa => 'Bool');
10 has VolumeEncryptionKey => (is => 'ro', isa => 'Str');
11 has WorkspaceProperties => (is => 'ro', isa => 'Paws::WorkSpaces::WorkspaceProperties');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::WorkSpaces::WorkspaceRequest
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::WorkSpaces::WorkspaceRequest object:
31  
32 $service_obj->Method(Att1 => { BundleId => $value, ..., WorkspaceProperties => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::WorkSpaces::WorkspaceRequest object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->BundleId
40  
41 =head1 DESCRIPTION
42  
43 Describes the information used to create a WorkSpace.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> BundleId => Str
49  
50 The identifier of the bundle for the WorkSpace. You can use
51 DescribeWorkspaceBundles to list the available bundles.
52  
53  
54 =head2 B<REQUIRED> DirectoryId => Str
55  
56 The identifier of the AWS Directory Service directory for the
57 WorkSpace. You can use DescribeWorkspaceDirectories to list the
58 available directories.
59  
60  
61 =head2 RootVolumeEncryptionEnabled => Bool
62  
63 Indicates whether the data stored on the root volume is encrypted.
64  
65  
66 =head2 Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]
67  
68 The tags for the WorkSpace.
69  
70  
71 =head2 B<REQUIRED> UserName => Str
72  
73 The user name of the user for the WorkSpace. This user name must exist
74 in the AWS Directory Service directory for the WorkSpace.
75  
76  
77 =head2 UserVolumeEncryptionEnabled => Bool
78  
79 Indicates whether the data stored on the user volume is encrypted.
80  
81  
82 =head2 VolumeEncryptionKey => Str
83  
84 The symmetric AWS KMS customer master key (CMK) used to encrypt data
85 stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric
86 CMKs.
87  
88  
89 =head2 WorkspaceProperties => L<Paws::WorkSpaces::WorkspaceProperties>
90  
91 The WorkSpace properties.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::WorkSpaces>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106